@import url(https://fonts.googleapis.com/css?family=Roboto:500,400,300&subset=latin,latin-ext);

.l_gallery {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #000;
    font-weight: 300;

    width: 100%;
    height: 100%;
    position: fixed;
    overflow: auto;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: rgba(21, 21, 21, 0.9);
    display: none;
}

.l_loader,
.l_loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
}
.l_loader {
    margin: 60px auto;
    font-size: 10px;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(0, 0, 0, 0.20);
    border-right: 1.1em solid rgba(0, 0, 0, 0.20);
    border-bottom: 1.1em solid rgba(0, 0, 0, 0.20);
    border-left: 1.1em solid #0a80a8;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 0.8s infinite linear;
    animation: load8 0.8s infinite linear;
}
@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


#l_slider {
    display: none;
}

.l_gallery b,
.l_gallery strong, {
    font-weight: 500;
}

.l_gallery * {
    box-sizing: border-box;
}

.l_background {
    position: fixed;
    top: 0;
    left: 0;
    background: #222;
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.l_content {
    background-color: #ffffff;
    max-width: 1150px;
    width: 90%;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    margin-top: 40px;
    margin-bottom: 40px;
    box-sizing: border-box;
    padding: 40px;
    padding-bottom: 80px;
    overflow: hidden;
}

.l_hide-scroll {
    overflow: hidden !important;
}

.l_ads-top {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 40px;
}

.l_left {
    float: left;
    width: calc(100% - 320px);
    width: -moz-calc(100% - 320px);
    width: -webkit-calc(100% - 320px);
    width: -o-calc(100% - 320px);
}

.l_right {
    float: left;
    width: 320px;
    padding-left: 20px;
}

.l_slide-img {
    position: relative;
    margin-bottom: 10px;
    text-align: center;
}

.l_slide-img img {
    max-width: 100%;
    display: block;
    margin: 0 auto;
    height: auto;
    padding-right: 15px;
}

.l_slide-cnt {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.l_img-author {
    position: absolute;
    bottom: 0;
    display: block;
    background-color: transparent;
    font-size: 12px;
    color: #999;
    padding-right: 3px;
    right: 11px;

    transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -o-transform: rotate(90deg);

    transform-origin: 100% 100%;
    -ms-transform-origin: 100% 100%;
    -moz-transform-origin: 100% 100%;
    -webkit-transform-origin: 100% 100%;
    -o-transform-origin: 100% 100%;
}

.l_slide-title {
    font-size: 18px;
}

.l_art-title {
    font-weight: 500;
    font-size: 18px;
}

.l_right_ads {
    text-align: center;
    margin: 0 auto;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f1f1;
}

.l_visible-m,
.l_visible-lg-ib,
.l_visible-sm-ib,
.l_visible-m-ib {
    display: none;
}

.l_close {
    position: fixed;
    top: 20px;
    z-index: 9999999;
    width: 95%;
    left: 0;
    right: 0;
    margin: auto;
    display: none;
}

.l_nav {
    position: fixed;
    top: 50%;
    z-index: 9999999;
    width: 95%;
    left: -16px;
    right: 0;
    margin: auto;
    display: none;
}

.l_nav #prev-slide,
.l_nav #next-slide {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #0a80a8;
    cursor: pointer;
    background-image: url("../img/arrow.png");
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.7;
}

.l_nav-prev,
.l_nav-next{
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: #0a80a8;
    cursor: pointer;
    background-image: url("../img/arrow.png");
    background-size: 30%;
    background-repeat: no-repeat;
    background-position: center center;
    opacity: 0.7;
    top: 50%;
    z-index: 2;
    margin-top: -25px;
}

.l_nav-prev {
    left:0;
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
}

.l_nav-next {
    right:0;
}

.l_nav-prev:hover,
.l_nav-next:hover {
    opacity: 1;
}

.l_nav #prev-slide:hover,
.l_nav #next-slide:hover {
    opacity: 1;
}

.l_nav #next-slide {
    right: 0;
}

.l_nav #prev-slide {
    -ms-transform: rotate(180deg); /* IE 9 */
    -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
    transform: rotate(180deg);
    left: 0;
}

.l_close .l_close-btn {
    background-image: url("../img/close.png");
    width: 50px;
    height: 50px;
    background-size: contain;
    background-position: center center;
    border: 0;
    outline: 0;
    position: absolute;
    right: 0;
    margin-right: -2%;
    top: 0;
    cursor: pointer;
    background-repeat: no-repeat;
}

.owl-thumbs {
    margin-top: 20px;
    display: none;
}

.owl-thumbs .owl-thumb-item {
    display: inline-block;
    width: 100px;
    height: 70px;
    margin-right: 10px;
    border: 1px solid #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

.owl-thumbs .owl-thumb-item.active {
    border: 2px solid #0a80a8;
}

.owl-thumbs .owl-thumb-item img {
    max-width: 100%;
    vertical-align: middle;
}

.show-gallery {
    width: 100%;
    max-width: 230px;
    height: 50px;
    padding: 10px;
    text-align: center;
    margin-top: 10px;
    border-radius: 0;
    border: 0;
    font-size: 14px;
    background: #077ea6;
    text-shadow: none;
    color: #fff;
    box-sizing: border-box;
    text-transform: uppercase;
    display: block;
    line-height: 30px;
    cursor: pointer;
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
}

.show-gallery:hover {
    background: #0792ba;
}

.show-gallery:active {
    background: #07739b;
}


#owl-thumbs-show {
    text-transform: uppercase;
    font-size: 10px;
    color: #b4b4b4;
    display: block;
    text-decoration: none;
    cursor: pointer;
    margin-top: 15px;
    text-align: right;
    width: 100%;
    /*width: calc(100% - 320px);*/
    /*-o-width: calc(100% - 320px);*/
    /*-webkit-width: calc(100% - 320px);*/
    /*-moz-width: calc(100% - 320px);*/
    /*-ms-width: calc(100% - 320px);*/
}

.owl-thumbs {
    width: 100%;
    /*width: calc(100% - 320px);*/
    /*-o-width: calc(100% - 320px);*/
    /*-webkit-width: calc(100% - 320px);*/
    /*-moz-width: calc(100% - 320px);*/
    /*-ms-width: calc(100% - 320px);*/
}

@media all and (max-width: 991px) {
    .l_left,
    #owl-thumbs-show {
        width: 100%;
    }

    .owl-thumbs {
        width: 100%;
    }

    .l_right {
        width: 100%;
        padding-left: 0;
    }

    .l_content {
        width: 95%;
    }

    .l_art-title {
        display: none;
    }

    .l_visible-m {
        display: block;
        margin-bottom: 10px;
    }

    .l_visible-m-ib {
        display: inline-block;
    }

}

@media all and (min-width: 1200px) {
    .l_visible-lg-ib {
        display: inline-block;
    }
}

@media all and (min-width: 991px) and (max-width: 1200px) {
    .l_visible-sm-ib {
        display: inline-block;
    }
}

@media all and (max-width: 480px) {
    .l_content {
        width: 100%;
        padding: 25px 0;
    }

    .l_left {
        padding: 0 10px;
    }

    .l_art-title,
    .l_slide-title {
        font-size: 16px;
    }

    .l_img-author {
        font-size: 10px;
    }
}

@media all and (max-width: 767px) {
    .l_nav-prev, .l_nav-next,
    .l_close .l_close-btn {
        width: 35px;
        height: 35px;
    }

    .l_nav-prev, .l_nav-next, {
        margin-top: -17px;
    }

    .l_close .l_close-btn {
        right: 10px;
    }

    .l_hide-scroll {
        overflow: auto!important;
    }

    .owl-thumbs,
    #owl-thumbs-show {
        display: none;
    }
}

.p_galleryteaser,
.p_galleryteaser * {
    box-sizing: border-box;
}

.p_galleryteaser {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.p_galleryteaser {
    border: 4px solid #07739b;
}

.p_fullwidth {
    border-bottom: 4px solid #07739b;
}

.p_fullwidth,
.p_half {
    display: block;
}

.p_half {
    float: left;
    width: 50%;
}

.p_gimg {
    max-width: 100%;
    width: 100%;
    display: block;
}

.p_half-one {
    border-right: 2px solid #07739b;
}

.p_half-two {
    border-left: 2px solid #07739b;
}

.p_galleryinfo {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #07739b;
    color: #fff;
    padding: 10px;
    font-size: 14px;
    display: block;
    text-decoration: none;
}

.p_photo {
    width: 16px;
    vertical-align: sub;
    margin-right: 3px;
}