body.viewer {
    overflow: hidden;
    margin: 0;
}

.fr-fic {
    cursor: pointer;
}

@media (max-width: 1500px) {

    .gallery-content {
        width: 60% !important;
    }

    .gallery-content-large {
        width: 94% !important;
    }
}

.clearfix {
    clear: both;
}

article img {
    cursor: pointer;
}

div.loader i {
    color: #fafafa;
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    vertical-align: middle;
}

div.loader {
    height: 100%;
}

.close:hover, .close:focus {
    color: #fff;
    text-decoration: none;
    filter: alpha(opacity=90);
    outline: 0;
    opacity: .9;
}

#modal-galerie .close {
    right: 15px;
    font-size: 40px;
    font-weight: normal;
    top: -6px;
    height: 38px;
    line-height: 1;
}

#modal-galerie .modal-header .modal-header-content {
    width: 33.33%;
    min-width: 33.33%;
    min-height: 23px;
    float: left;
    margin-top: 5px;
}

#modal-galerie .modal-header h2 {
    margin: 0;
    padding: 0;
    color: #f0f0f0;
    font-size: 16px;
    font-weight: normal;
    text-shadow: 1px 1px #000000;
}

#modal-galerie {
    width: 100%;
    margin: 0;
    overflow: auto;
}

#modal-galerie .hidden {
    display: none;
}

#modal-galerie .modal-header {
    /*background-color: #292424;*/
    background: none;
    border-bottom: 1px solid hsla(0, 0%, 100%, .1);
    min-height: 25px;
    max-height: 100px;
    padding: 0;
}

#modal-galerie .modal-content {
    min-width: 1200px;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.9);
    border: none;
    animation: none;
}

#modal-galerie .modal-body {
    height: 95%;
    max-height: 95%;
    background: linear-gradient(180deg, transparent 0, rgba(0, 0, 0, .8));
    /*background-color: rgba(255, 255, 255, .05);*/
    overflow: auto;
    padding: 8px;
}

#modal-galerie .gallery-content {
    float: left;
    margin-left: 3%;
    width: 73%;
    height: 100%;
    position: relative;
}

#modal-galerie .gallery-content-details {
    float: right;
    width: 300px;
    color: #fafafa;
    position: absolute;
    right: 4%;
    top: 15%;
}

#modal-galerie .gallery-content-details div {
    height: 600px;
    width: 100%;
}

#modal-galerie .arrow {
    position: absolute;
    top: 50px;
    bottom: 0;
    cursor: pointer;
    width: 3%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
    background-color: rgba(0, 0, 0, 0);
    filter: alpha(opacity=50);
    opacity: .8;
}

#modal-galerie .arrow i {
    position: absolute;
    top: 50%;
}

#modal-galerie .arrow:hover,
#modal-galerie .arrow:focus {
    color: #fff;
    text-decoration: none;
    filter: alpha(opacity=90);
    outline: 0;
    opacity: .9;
}

#modal-galerie .arrow-left {
    left: 0;
    color: #fafafa;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .5)), to(rgba(0, 0, 0, .0001)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .0001) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
    background-repeat: repeat-x;
}

#modal-galerie .arrow-right {
    right: 0;
    color: #fafafa;
    background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    background-image: -o-linear-gradient(left, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, .0001)), to(rgba(0, 0, 0, .5)));
    background-image: linear-gradient(to right, rgba(0, 0, 0, .0001) 0, rgba(0, 0, 0, .5) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
    background-repeat: repeat-x;
    margin-right: 1%;
}

#modal-galerie .arrow-right i {
    right: 20px;
}

#modal-galerie .img-helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

#modal-galerie .img-container {
    position: relative;
    display: block;
}

#modal-galerie .img-container.hidden {
    position: relative;
    display: none;
}

#modal-galerie .viewer-picture {
    max-width: 100%;
    height: auto;
    box-sizing: border-box;
    vertical-align: middle;
    border: solid rgba(255, 255, 255, .15);
}

#modal-galerie .gallery-content-large {
    width: 94%;
    margin-right: 3%;
}

#modal-galerie .image-fullscreen {
    position: absolute;
    right: 3px;
    top: 3px;
    border: 1px solid #f8f9fa;
    color: #212529;
    background-color: #f8f9fa;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    opacity: 0.4;
    cursor: pointer;
}

#modal-galerie .image-fullscreen i {
    color: #212529;
}

#modal-galerie .image-fullscreen a {
    padding: .375rem .375rem;
}

#modal-galerie .image-fullscreen:hover {
    color: #212529;
    background-color: #e2e6ea;
    border-color: #dae0e5;
    text-decoration: none;
    opacity: 1;
}