#gallery_container, #gallery_list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#gallery_container {
    width: 100%;
    overflow: hidden;
}

#gallery_container li {
    display: inline-block;
    vertical-align: top;
}

#gallery_container li a {
    display: block;
    padding: 7px;
    background: #fff;
    border: 1px solid #eee;
    margin: 7px 7px 0 0;
}

#module-gallerique-gallery #fancybox-title-over h4 a {
    color: #fff;
    text-decoration: underline;
}

.gallerique_title_block {
    padding: 20px;
}

p.label-image {
    font-weight: bold;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}
.fancybox-opened .fancybox-title.fancybox-title-inside-wrap {
    position: initial;
}

.gallerique-buttons {
    position: absolute;
    top: 10px;
    left: 50%;
    background: rgba(255,255,255,0.5);
    padding: 3px 5px;
    border-radius: 4px;
    z-index: 8050;
}

.gallerique-buttons:hover {
    background: rgba(255,255,255,1);
}

.gallerique-gallery img {
    width: 100%;
}
#gallery_list .row {
    padding-top: 30px;
}

.gallerique-gallery-cover {
    position: relative;
}
.gallerique-gallery-desc {
    position: absolute;
    bottom: 10px;
    padding: 5px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 0 2px #000;
    font-weight: bold;
}

.fancybox-title-inside-wrap {
    padding-top: 0;
}

.growl_status_all {
    position: fixed;
    z-index: 9999;
    top: 5px;
    right: 10px;
}

.growl_status_gallerique {
    display: none;
    position: relative;
    margin: 5px 0;
    padding: 10px 25px 10px 20px;
    border-radius: 6px;
    color: #fff;
    background-color: rgba(67, 183, 84, 0.85);
    transition: none;
}

.growl_status_gallerique {
    background-color: rgba(226, 124, 121, 0.85);
}

.growl_status_gallerique .close_status_gallerique {
    position: absolute;
    cursor: pointer;
    right: 5px;
    top: 1px;
}

.growl_status_gallerique .close_status_gallerique:before {
    content: "\f00d";
    font-family: "FontAwesome";
    font-size: 12px;
    line-height: 12px;
}

.galleryBlock{
    clear: both;
    margin-bottom: 30px;
    padding: 10px 0px;
    border: 1px solid #eee;
}
.galleryBlock .gallery-cover{
    text-align: center;
}
.galleryBlock .gallery-cover img{
    max-width: 100%;
    width: 85%;
    display: inline-block;
}
.galleryBlock .gallery-title{
    font-size: 30px;
    line-height: 32px;
    margin-bottom: 15px;
    padding-top: 15px;
    color: #000;
}
.galleryBlock .gallery-text{

}
.galleryBlock.first-item-of-tablet-line{clear: both;}
.galleryBlock .gallery-link{text-align: right; padding-top: 15px;}
.galleryBlock .gallery-link .gallery-link_bt{
    display: inline-block;
    border: 1px solid #000;
    padding: 15px 50px;
    color: #000;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.galleryBlock .gallery-link .gallery-link_bt:hover{background-color:#bc4639; color: #fff; border: 1px solid #fff;}
#gallery_list h1,
#galleryWrapper h1.page-heading-ga{margin-bottom: 0px;}
#gallery_container li img{margin-bottom: 5px;}
.gallery-description{padding-top: 20px;}

.gallery-row-grid .gallery-cover{
    position: relative;
    margin-bottom: 30px;
    justify-content: center;
    align-items: center;
}
.gallery-row-grid .gallery-cover img{width: 100%;}
.gallery-row-grid .gallery-cover .gallery-name{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    -webkit-transition: background-color 500ms;
    -moz-transition: background-color 500ms;
    -o-transition: background-color 500ms;
    transition: background-color 500ms;
}

.gallery-row-grid .gallery-cover:hover .gallery-name{background-color: transparent;}

.gallery-row-grid .gallery-cover .gallery-name > span{
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    color: #fff;
    font-size: 1.3em;
    line-height: 1.5em;
    padding: 0px 20px;
}

@media (min-width: 768px) {
    #gallery_container li{width: 25%; float: left;}
    #gallery_container li img {max-width: 100%; width: 100%; height: auto;}
}