@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic&subset=cyrillic,latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Lora:400,700&subset=latin,latin-ext,cyrillic);

body {
    font-family: 'PT Sans', sans-serif;
    font-size: 15px;
    color: #838383;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-height: 100%;
}

body#min-slider {
    background: none;
}

body.inner_page {
    padding-top: 0;
}

.wrapper {
    padding: 0 5px;
    margin: 0 auto;
    margin-bottom: 0;
    overflow: hidden;
    max-width: 1200px;
    /*max-width: 1100px;*/
}

h2 {
    font-family: 'Lora', serif;
    font-weight: bold;
    line-height: 30px;
    color: #3b3b3b;
    margin-bottom: 30px;
}
h3 {
    font-family: 'Lora', serif;
    font-weight: normal;
    color: #3b3b3b;
    margin-bottom: 15px;
    font-size: 18px;
}

#gallery-popup {
    margin: auto;
}
/* jssor slider arrow navigator skin 20 css */
/*
.jssora20l                  (normal)
.jssora20r                  (normal)
.jssora20l:hover            (normal mouseover)
.jssora20r:hover            (normal mouseover)
.jssora20l.jssora20ldn      (mousedown)
.jssora20r.jssora20rdn      (mousedown)
*/
.jssora20l, .jssora20r {
    display: block;
    position: absolute;
    /* size of arrow element */
    width: 40px;
    height: 41px;
    cursor: pointer;
    /*   background:url(/templates/frontend/images/new/a02.png) no-repeat;*/
    overflow: hidden;
}

.jssora20l.red {
    background: url(/templates/frontend/images/new/image-arrow-left.png) no-repeat;

}

.jssora20r.red{
    background: url(/templates/frontend/images/new/image-arrow-right.png) no-repeat;

}
.jssora20l {
    left: 50px;

}

.jssora20r {
    right: 50px;
}

.jssora20l:hover {
    /* background-position: -3px -33px;*/
    /* background-position: -123px -33px;*/
}

.jssora20r:hover {
    /** background-position: -63px -33px;*/
    /*  background-position: -183px -33px;*/
}
/*
            .jssora20l.jssora20ldn {
                background-position: -243px -33px;
            }

            .jssora20r.jssora20rdn {
                background-position: -303px -33px;
            }*/

/** current thumbnail */
.jssort07 .p.pav:before {
    content: " ";
    background: #b12c2c;
    height: 5px;
    width: 128px;
    display: block;
    position: relative;
    z-index: 666;
}

#slider1_container {
    position: relative;
    overflow: hidden;
/*    width: 1170px;*/
/*    height: 660px;
    margin-top: 10px;*/
}

/*
 * With LargeMode enabled
 */
#slider1_container.large {
    /*width: 1500px;*/
    height: 900px;
}



.inner-slides-min {
    overflow: hidden;
    display:none;
    box-sizing: content-box;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
.slider_inner_div {
    box-sizing: content-box;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    position: static;
}

.inner-slides-min img {
    display: block;
    margin: auto;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    max-width: 100%;
    max-height: 100%;
}

.slide-thumbs {
    width: 100%;
    height: 100px;
    left: 0;
    bottom: 0;
    background: #fff;
}

.slide-thumbs > div {
    
}

.header {
    overflow: hidden;
    margin-bottom: 28px;
}
.header .previous-project,
.header .next-project {
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 41px;
    font-size: 0.9em;
    font-family: 'PT Sans', sans-serif;
    font-size: 13px;
    color: #6d6d6d;
}

.header .previous-project {
    display: block;
    background: url(/templates/frontend/images/arrow-left.png) no-repeat;
    width: 178px;
    height: 41px;
    padding-left: 20px;
}

.header .next-project {
    display: block;
    background: url(/templates/frontend/images/arrow-right.png) no-repeat;
    width: 178px;
    height: 41px;
    float: right;
    padding-right: 20px;
}

.header .previous-project.disabled,
.header .next-project.disabled {
    color: #ccc;
    cursor: default;
}

.header .social-wrapper {

}

.header .social-wrapper div#social {
    position: static;
    line-height: normal;
    width: 152px;
    margin: 0 auto;
}

.wrapper .gallery {

}

.slider-container {
    height: 100%;
    background: rgb(51,51,51); /* Old browsers */
    background: -moz-linear-gradient(left,  rgba(51,51,51,1) 0%, rgba(64,64,64,1) 12%, rgba(64,64,64,1) 88%, rgba(51,51,51,1) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left,  rgba(51,51,51,1) 0%,rgba(64,64,64,1) 12%,rgba(64,64,64,1) 88%,rgba(51,51,51,1) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right,  rgba(51,51,51,1) 0%,rgba(64,64,64,1) 12%,rgba(64,64,64,1) 88%,rgba(51,51,51,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=1 ); /* IE6-9 */
}

.gallery h3 {
    font-size: 24px;
}

.slide-thumbs {

}

.header .social-wrapper {
    display: none;
}


.popup-top .social-wrapper {
    text-align: center;
}

.popup-top #social  {
    position: static;
}


.menu-toggle {
    display: block;
    width: 120px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background: #b12c2c;
    color: #fff;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'PT Sans', sans-serif;
    font-size: 14px;
    position: absolute;
    top: 35px;
    right: -35px;
}

.menu-toggle:hover,
.menu-toggle:focus
{
    color: #fff;
    text-decoration: none;
}

.rotate {
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  transform: rotate(-90deg);

  /* also accepts left, right, top, bottom coordinates; not required, but a good idea for styling */
  -webkit-transform-origin: 50% 50%;
  -moz-transform-origin: 50% 50%;
  -ms-transform-origin: 50% 50%;
  -o-transform-origin: 50% 50%;
  transform-origin: 50% 50%;

  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}

#gallery-popoup #min-close-popup, #gallery-popoup  #min-close-popup-news {
    z-index: 998;
}

.close-menu {
    position: absolute;
    width: 51px;
    height: 46px;
    top: 0;
    right: 0;
    cursor: pointer;
    z-index: 100000000000;
    display: none;
    background: url(/templates/frontend/images/new/close.png) no-repeat;
}

.gallery .close-menu {
    z-index: 100000000000;
}

.gallery {
    
}

.header .next-project span,
.header .previous-project span {
    display: none;
}

.slider-container.news {
    margin: auto;
}

@media all and (max-width: 400px) {
    
    .header .previous-project {
        background: url(/templates/frontend/images/arrow-left-xs.png) no-repeat;
        width: 120px;
        text-indent: -9999px;
    }

    .header .next-project {
        background: url(/templates/frontend/images/arrow-right-xs.png) no-repeat;
        width: 120px;
        text-indent: -9999px;
    }

    .header .next-project span,
    .header .previous-project span {
        display: block;
        position: relative;
        top: -41px;
        text-indent: 0;
    }
}
/** small phones */
@media all   and (max-width:420px){
    .inner-slides-min {
        /*width: 400px;*/
    }
    .jssora20l {
        left: 0;
    }
    
    .jssora20r {
        right: 0;
    }
    
    
}

/** phones */
@media all   and (max-width:767px){
    .inner-slides-min {
        width: 700px;
    }

    
}

/** tablet */

@media all   and (min-width:768px){
    .inner-slides-min {
        /*width: 700px;*/
    }
    .jssora20l {
        left: 10px;
    }
    
    .jssora20r {
        right: 10px;
    }
}

/** tablet and smaller*/
@media all   and (max-width: 991px) {
    .gallery.visible {
        display: block!important;
        position: absolute;
        background: #fff;
        width: 100%;
        top: 0;
        left: 0;
    }

    .gallery.visible .close-menu {
        display: block;
    }

    .inner-slides-min {
        /*width: 700px;*/
    }

    #social .title {
        text-align: center;
        padding-bottom: 5px;
        line-height: 1.2em;
    }
}

/** desktop */
@media all   and (min-width: 992px) {
    .header .previous-project,
    .header .next-project {
        margin-top: 15px;
    }
}

/** tablet and small desktop */
@media all   and (max-width: 1199px) {

}

/** large desktop */
@media all   and (min-width: 1200px) {

}