﻿@import url(//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css);
@import 'https://fonts.googleapis.com/css?family=Open+Sans|Josefin+Slab|Arvo|Lato|Abril+Fatface|Alegreya|Alegreya+Sans|Archivo+Narrow|Bitter|Cardo|Chivo|Crimson+Text|Domine|Droid+Sans|Fira+Sans|Inconsolata|Josefin+Slab|Karla|Lato|Libre+Baskerville|Lora|Merriweather|Montserrat|Neuton|Old+Standard+TT|PT+Sans|PT+Serif|Playfair+Display|Poppins|Roboto|Source+Sans+Pro|Source+Serif+Pro|Ubuntu|Varela+Round|Vollkorn|Work+Sans';
em { font-style:italic; }

.x-column {
    background-clip:content-box;
}
.x-left-block {
}
.x-center-block {
text-align: center;
margin: 0 auto;
}
.x-right-block {
margin-left: auto;
margin-right:0;
}
.x-justify-block {
width:100%;
}
.parallax-box {
position: relative;
}

.parallax-content {
position: relative;
z-index: 2;
}

.parallax-bg {
position: absolute;
overflow: hidden;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

.parallax-bg-inner {
position: relative;
background-repeat: no-repeat;
background-size: cover;
background-position: center;
max-width: none;
}

.parallax-box {
margin-bottom: 38px;
}

.parallax-box .parallax-content {
    padding: 291px 0 326px;
    color: #fff;
    text-align: center;
}

    .parallax-box .parallax-content h2 {
        color: #fff;
        letter-spacing: -1px;
        margin: 0 !important;
    }


.parallax-box .parallax-bg:after {
position:absolute;
left:0;
right:0;
top:0;
background:url(../gabarit/images/angle-2.png) 0 0 no-repeat;
-webkit-background-size:100% 100% !important;
-moz-background-size:100% 100% !important;
-o-background-size:100% 100% !important;
background-size:100% 100% !important;
content:'';
display:block;
height:90px;
-webkit-transform:rotateX(180deg);
-ms-transform:rotateX(180deg);
-o-transform:rotateX(180deg);
transform:rotateX(180deg);
}

.parallax-box .parallax-bg:before {
position:absolute;
left:0;
right:0;
bottom:0;
background:url(../gabarit/images/angle-2.png) 0 0 no-repeat;
-webkit-background-size:100% 100% !important;
-moz-background-size:100% 100% !important;
-o-background-size:100% 100% !important;
background-size:100% 100% !important;
content:'';
display:block;
height:90px;
z-index:10;
}

/*==================     ToTop     ======================*/
.toTop {
  width: 50px;
  height: 50px;
  background: #808080;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  -moz-transition: 0.3s;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  -moz-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.4);
  color: #fff;
  position: fixed;
  right: 40px;
  bottom: 40px;
  display: none;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 99999;
}
.toTop:focus {
  color: #fff;
  background: #000000;
}
.toTop:before {
  line-height: 47px;
  font-size: 22px;
  font-weight: 700;
}
.toTop:hover {
  color: #fff;
  background: #000000;
  text-decoration: none;
}
.mobile .toTop,
.tablet .toTop {
  display: none!important;
}


/*==================     Swiper     ======================*/
.swiper-container {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: inline-flex;
}

.swiper-pagination-bullet-active {
    background: #0077ab;
}


.swiper-button-next, .swiper-container-rtl, .swiper-button-prev {
    fill: #000000;
}

.slider-pagination-1, .slider-pagination-active-1 {
    width: 48px;
    height: 12px;
    display: inline-block;
    border-radius: 0;
    background: rgba(0, 0, 0, .4);
    margin: 0 4px;
}

.slider-pagination-active-1 {
    background: rgba(0, 119, 171, 0.7);
}

.slider-pagination-2, .slider-pagination-active-2 {
    width: 3.5vw;
    height: 3.5vw;
    display: inline-block;
    border: solid 0.2vw #ffffff;
    border-radius: 0;
    background: rgba(0, 0, 0, .4);
    margin: 0 0.5vw;
}

.slider-pagination-active-2 {
    background: rgba(0, 119, 171, 0.7);
}

.swiper-slide-descr-box {
    position: absolute;
    background: transparent;
    width: 100%;
    height: 100%;
}

.animated {
    -webkit-animation: slideInRight 1s forwards;
    -webkit-animation-delay: 0s;
    animation: slideInRight 1s forwards;
    animation-delay: 0s;
}

.swiper-slide-descr-container {
    margin: 5vw 20px 0;
}

.swiper-slide-title {
    margin: 0 0 0 -30px;
    padding-left: 30px;
    color: #fff;
    font-size: 3.0vw;
}

.swiper-slide-descr {
    margin: 3vw 0;
    color: #fff;
    font-size: 2.0vw;
}

.swiper-slide-button {
    margin: 0 2vw 0 0;
    padding: 10px;
    color: #fff;
    background: rgba(0, 119, 171, 0.6);
    font-size: 2.0vw;
}

/*==================     Masonry pure CSS     ======================*/

.flexbox {
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    height: auto;
    background: #131212;
}

    .flexbox:hover img {
        opacity: 0.3;
    }

    .flexbox .item {
        position: relative;
        width: 33.33%;
    }

        .flexbox .item img {
            width: 100%;
            display: block;
            /*max-height: 367px;
            transition: .8s opacity;
            object-position: center;
            object-fit: cover;*/
        }

        .flexbox .item .title {
            position: absolute;
            top: 48%;
            left: 0;
            width: 100%;
            padding: 0 3%;
            font-size: 20px;
            text-shadow: 0 0 8px rgba(0, 0, 0, 0.42);
            color: #fff;
            display: none;
        }

        .flexbox .item:hover .title {
            display: block;
            /*border: solid 1px #767676;*/
        }

        .flexbox .item:hover img {
            opacity: 1;
            /*border: solid 1px #767676;*/
        }


@media (max-width: 992px) {
    .flexbox {
    }

        .flexbox .item {
            width: 50%;
        }
}

@media (max-width: 768px) {
    .flexbox {
        height: auto;
        background: transparent;
    }

        .flexbox .item {
            width: 100%;
        }

        .flexbox img {
            opacity: 1 !important;
        }

        .flexbox .item .title {
            display: block;
        }

    .lightbox:target {
        display: none !important;
    }

    .picture {
        pointer-events: none;
        cursor: default;
    }
}

.lightbox {
    /** Default lightbox to hidden */
    display: none;
    /** Position and style */
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    text-align: center;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.6);
}

    .lightbox > a.close {
        position: absolute;
        display: block;
        top: 10px;
        right: 10px;
        padding: 2px 7px;
        border: 1px solid #c0c0c0;
        color: #ffffff;
        opacity: 0.9;
        text-decoration: none;
        text-shadow: none;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        border-radius: 4px;
        -webkit-background-clip: padding-box;
        -moz-background-clip: padding-box;
        background-clip: padding-box;
    }

        .lightbox > a.close:hover {
            color: #0077AB;
            border-color: #0077AB;
            box-shadow: 0px 0px 2px #0077AB;
        }

    .lightbox img {
        /** Pad the lightbox image */
        width: auto !important;
        max-width: 90%;
        max-height: 80%;
        margin: 50vh auto 0;
        transform: translateY(-50%);
    }

    .lightbox:target {
        height: 100%;
        opacity: 1;
    }

    .lightbox:not(:target) {
        -webkit-animation-name: disappearing;
        -webkit-animation-duration: 1s;
        -moz-animation-name: disappearing;
        -moz-animation-duration: 1s;
    }

    .lightbox:target {
        /** Remove default browser outline */
        outline: none;
        /** Unhide lightbox **/
        display: block;
        -webkit-animation-name: appearing;
        -webkit-animation-duration: 1s;
        -moz-animation-name: appearing;
        -moz-animation-duration: 1s;
    }

@-webkit-keyframes disappearing {
    0% {
        height: 100%;
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0;
    }
}

@-moz-keyframes disappearing {
    0% {
        height: 100%;
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0;
    }
}

@-webkit-keyframes appearing {
    0% {
        height: 100%;
        opacity: 0;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

@-moz-keyframes appearing {
    0% {
        height: 100%;
        opacity: 0;
    }

    100% {
        height: 100%;
        opacity: 1;
    }
}

.global {
    overflow-x: hidden;
}

div.gal_holder {
    margin: 0 auto !important;
    width: 1200px;
}

/*==================     Animations CSS     ======================*/

@-webkit-keyframes slideInRight {
    100% {
        right: 0;
    }
}

@keyframes slideInRight {
    100% {
        right: 0;
    }
}

@-webkit-keyframes slideInLeft {
    100% {
        left: 0;
    }
}

@keyframes slideInLeft {
    100% {
        left: 0;
    }
}