/*gallery*/
#gallery {
    list-style: none;
    position: relative;
    margin: 0px;
    margin-top: 10px;
    padding: 0px;
}

#gallery li {
    position: absolute;
    display: none;
}

#gallery img {
    width: 100%;
}

#gallery .wrapper-inner {
    display: none;
    /*background-color:rgba(0,0,0,0.3);*/
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

#gallery .wrapper-inner p {
    padding-top: 50%;
}

#gallery .text-inner {
    background-color: rgba(255, 255, 255, 0.7);
    color: #111;
    text-align: center;
    text-transform: uppercase;
    z-index: 1;
}

#gallery .gallery-zoom {
    display: none;
    position: absolute;
    z-index: 2;
    bottom: 20px;
    left: 20px;
    color: #fff;
    padding: 5px;
}

#gallery .gallery-zoom:hover {
    color: #000;
}

#gallery .gallery-zoom:after {
    font-family: "FontAwesome";

    font-size: 20px;
    line-height: 22px;
    content: "\f00e";
    font-weight: normal;
    margin: 0 0 0 4px;
}


#gallery-loader {
    height: 50px;
    margin-top: 20px;
    background-image: url('../img/loader.gif');
    background-size: 30px;
    background-position: top center;
    background-repeat: no-repeat;
    padding-top: 35px;
    text-align: center;
    color: #bbb;
}

a:focus {
    outline: 0;
}

/* gallery list */
#galleries {
    display: block;
    position: relative;
}

#galleries .gallery-single {
    text-align: center;
    border: 1px solid #1f315e;
    margin-bottom: 30px;
}



#galleries .gallery-single .img-wrapper {
    /*max-height: 200px;*/
    min-height: 260px;
    margin: 10px;
    height: auto;

}

#galleries .gallery-single a:hover .img-wrapper {
    opacity: 0.9;
}

#galleries .gallery-single img {
    max-width: 100%;
}

#galleries .gallery-single .title {
    text-align: center;
    background: #1f315e;
    color: #fff;
    padding: 15px 5px;
    font-weight: bold;
    font-size: 1.2em;
    min-height: 70px;
}

#galleries .gallery-single .title:hover {
    background: #7d92c5
}

#galleries .gallery-single .title::before {
    content: "\f083";
    font-family: FontAwesome;
    padding-right: 10px;
}

@media (min-width:992px) and (max-width:1199px) {
    #galleries .gallery-single .title {
        padding: 15px 3px;
        font-weight: bold;
        font-size: 1em;
    }

    #galleries .gallery-single .title::before {
        padding-right: 5px;
    }
}

@media (min-width:768px) and (max-width:991px) {
    #galleries .gallery-single .title {
        padding: 15px 5px;
        font-weight: bold;
        font-size: 1.1em;
    }
}

.titrepage {
    background: #7d92c5;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
    box-shadow: 6px 6px 6px #7d92c5;
}
