/*MAIN*/
body {min-width: 320px;}
body.err404 {background-color: #3fb9c1;}

.page {padding-top: 140px;}

@media (max-width: 960px) {
    .page {
        padding-top: 90px;
    }
}

.bgr {
    background-position: center;
    background-size: cover;
    background-color: transparent;
    background-repeat: no-repeat;
}

*, *:hover, *:focus, *:active {outline: 0 !important;}

/*TYPO*/
h2 {
    margin-bottom: 60px;
    margin-top: 0;
}
h3 {
    margin-bottom: 25px;
    margin-top: 0;
}

@media (max-width: 991px) {
    h1, .h1 {font-size: 36px;}
    h2, .h2 {font-size: 30px; margin-bottom: 45px;}
    h3, .h3 {font-size: 20px; margin-bottom: 20px;}
}

/*FORMS*/
.form-group {margin-bottom: 20px;}
.form-control {
    color: #fff;
    border-color: #565656;
    font-size: 18px;
    font-weight: 300;
    padding: 12px 30px;
    height: 45px;
    background: none;

    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.form-control:hover, .form-control:focus {border-color: #fff;}
.form-control:focus {background: #fff; color: #383838;}

.form-control::-moz-placeholder {
    color:#fff;
}
.form-control:-ms-input-placeholder {
    color:#fff
}
.form-control::-webkit-input-placeholder {
    color:#fff
}
textarea.form-control {resize: vertical;}

.form-error {
    text-align: left;
    padding: 3px 1px 0;
    margin-bottom: 0;
}

.form-message-inline > p {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 0;
}

/*BUTTONS*/

.btn {
	text-transform: uppercase;
	font-size: 18px;
}

.btn-primary:focus, .btn-primary:active  {background-color: #3fb9c1;}

.btn-default, .btn-primary {
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.btn-default {}

.btn-primary {}

/*BOOTSTRAP FIX*/
.form-control:hover, .form-control:active, .form-control:focus,
.btn:hover, .btn:active, .btn:focus {
    outline: none;
    box-shadow: none;
    -webkit-box-shadow:none;
}

.affix-top {
  position: relative;
}
.affix-bottom {
  position: absolute;
}

/*.form-control::-moz-placeholder {
    color:#999;
    opacity:1
}
.form-control:-ms-input-placeholder {
    color:#999
}
.form-control::-webkit-input-placeholder {
    color:#999
}*/



/*BLOCK*/
.block {padding-top: 170px; padding-bottom: 170px}
.block h2 {
    text-align: center;
}

@media (min-width: 991px) and (max-width: 1200px) {
    .block {padding-top: 120px; padding-bottom: 120px}
}

@media (max-width: 991px) {
    .block {padding-top: 90px; padding-bottom: 90px}
}

/*HEADER*/
header {min-width: 320px;}
header, header.fixed .line {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
    min-width: 320px;
}
header .line {background-color: #fff;}
.homepage header .line {background-color: transparent;}




header .line {
    position: relative;
    text-align: center;
    padding: 0 20px;
    box-shadow: none;
}
header.animate .line {
    -webkit-transition: background 0.4s ease-out, box-shadow 0.2s ease-out;
    transition: background 0.4s ease-out, box-shadow 0.2s ease-out;
}
header.fixed .line, header .line:hover {background: #fff; box-shadow: 0px 2px 3px -1px rgba(0,0,0,.2);}

.btn-menu {
    display: none;
}


header .line .h-logo, header .line .h-contact {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
header .line .h-logo {left: 20px;}
header .line .h-logo img {float: left;}
header .line .h-logo span {
    float: left;
    text-align: left;
    text-transform: uppercase;
    margin-left: 20px;
}

header .line .h-menu {
    display: inline-block;
    padding: 0;
    margin: 0;
}
header .line .h-menu li {
    display: inline-block;
}
header .line .h-menu li a {
    padding: 5px;
    color: #333333;
    text-transform: uppercase;
}
header .line .h-menu li a.active, header .line .h-menu li:hover > a {text-decoration: none; color: #3fb9c1;} 

.h-menu > li {padding: 35px 15px;}
.h-menu > li.wth-sub > a:after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 4px;
    background: transparent url('../img/up-icon-menuarrow-vertical.png') no-repeat 0 -4px;
}
.h-menu > li.wth-sub:hover > a:after {background-position: 0 0;}
.h-menu .wth-sub {position: relative;}
.h-menu .wth-sub > ul {
    display: none;
    position: absolute;
    padding: 0;
    background: #fff;
}
.h-menu .wth-sub > ul > li {
    width: 200px;
    margin: 0;
}
.h-menu .wth-sub > ul > li > a {display: block; padding: 12px 5px;}
.h-menu .wth-sub:hover > ul {display: block;} 

.h-menu .lv-2 {
    top: 100%;
    transform: translateX(-50%);
    left: 50%;
}
.h-menu .lv-2 > li {
    border-top: 1px solid #e3e2e2;
    border-left: 1px solid #e3e2e2;
    border-right: 1px solid #e3e2e2;
}
.h-menu .lv-2 > li:last-child {border-bottom: 1px solid #e3e2e2;}

.h-menu .lv-2 > li:hover {border-right: 1px solid #fff;}
.h-menu .lv-2 > li:hover:after {
    content: "";
    width: 1px;
    height: 100%;
    position: absolute;
    z-index: 2;
    background-color: #fff;
    right: -1px;
    top: 0;
}
.h-menu .lv-2 > li > a {position: relative; padding-right: 26px;}
.h-menu .lv-2 > li.wth-sub > a:after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 7px;
    background: transparent url('../img/up-icon-menuarrow-right.png') no-repeat center;
}

.h-menu .lv-3 {
    z-index: 1;
    top: -1px;
    left: 100%;
    border:1px solid #e3e2e2;
    margin-left: 0px;
}
.h-menu .lv-3 > li {border-bottom: 1px solid #fff;}
.h-menu .lv-3 > li:last-child {border-bottom: none;}



header .h-contact {right: 20px; text-align: right; overflow: hidden; line-height: 1em;}
header .h-contact a {
    font-size: 1.55em;
    font-weight: 300;
    color: #383838;
    line-height: 1em;
}
header .h-contact a:hover {color: #383838; text-decoration: none;}
header .h-contact .btn-callback {
    position: relative;
    background: none;
    border: none;
    text-transform: uppercase;
    font-size: 11px;
    padding: 6px 16px 6px 0;
    margin-bottom: -5px;
    margin-right: -16px;

    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
header .h-contact .btn-callback:after {
    content: '';
    width: 8px;
    height: 11px;
    position: absolute;
    background: transparent url('../img/up-icon-phone-xs.png') no-repeat;
    top: 8px;
    right: 0;
}
header .h-contact .btn-callback:hover {margin-right: 0; color: #3fb9c1;}

@media (max-width: 1365px) {
    header .line .h-logo img {display: none;}
    header .line .h-logo:before {
        content: "";
        float: left;
        width: 42px;
        height: 42px;
        background: transparent url('../img/up-logo-minified.svg') no-repeat center;
        background-size: 42px;
    }
}
@media (min-width: 960px) {
    header .line .h-menu {display: block !important;}
}
@media (max-width: 960px) {
    header .line {padding-top: 15px; padding-bottom: 15px;}
    header.open .line {

    }

    header.open .line .btn-menu, header.open .line .h-logo, header.open .line .h-contact {z-index: 3;}
    header.open .line:before {
        content: "";
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        position: absolute;
        z-index: 2;
        border-bottom: 1px solid #e3e2e2;
    }
    header.open .line .h-menu {z-index: 1;}


    .btn-menu {
        display: block;
        background: transparent;
        padding: 10px 8px;
        position: relative;
        margin: 0;
        height: 42px;
        border: 1px solid #383838;
    }
    .btn-menu span, .btn-menu::before, .btn-menu::after {
        display: block;
        width: 30px;
        height: 2px;
        background-color: #383838;
    }
    .btn-menu span {margin: 5px 0;}
    .btn-menu::before, .btn-menu::after {
        content: "";
    }

    .btn-menu:hover, .btn-menu:active {background: #3fb9c1; border-color: #3fb9c1;}
    .btn-menu:hover span, .btn-menu:hover:before, .btn-menu:hover:after {background-color: #fff;}


    header .line .h-menu {
        display: none;
        position: fixed;
        background: #fff;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        padding-top: 72px;
        overflow-y: auto;
    }
    .h-menu > li > a {border-bottom: 1px solid #e3e2e2;}
    .h-menu .wth-sub > ul > li {width: 100%;}
    header .line .h-menu li {
        padding: 0;
        display: block;
    }
    header .line .h-menu li a {
        padding: 20px 0;
        display: block;
    }

    .h-menu .wth-sub > ul, .h-menu .lv-2, .h-menu .lv-3 {
        display: block;
        position: relative;
        padding: 0;
        background: #fff;
        width: auto;
        left: 0;
        top: 0;
        transform: none;
        border: none;
    }

    .h-menu .lv-2 > li > a {border-bottom: 1px solid #e3e2e2;}

    .h-menu .lv-2 > li, .h-menu .lv-3 > li {border:none;}

    .h-menu > li {}
    .h-menu .lv-2 {margin: 0 40px;}
    .h-menu .lv-3 {margin: 0 0 20px;}

    .h-menu .lv-2 > li.wth-sub > a:after, .h-menu > li.wth-sub > a:after {display: none;}


    header .line .h-logo {
        left: 90px;
    }
}

@media (max-width: 570px) {
    header .line .h-logo span {display: none;}
}

@media (max-width: 380px) {
    header .h-contact a {
        font-size: 1.25em;
    }
}

@media (max-height: 400px) {
    header, header .line {position: relative !important;}
}

/*CONTENT*/

/*CONTENT HOME ACTIONSCREEN*/
.action-screen {
	padding: 120px 0;
	background-image: url('../img/up-bgr-action-screen.jpg');
}
.action-screen h1 {
    text-align: center;
    color: #fff;
    font-size: 14em;
    font-weight: 400;
    text-transform: uppercase;
    margin: 80px 0 140px;
}
.action-screen h1 small {
    display: block;
    font-size: .18em;
    font-weight: 300;
    color: #fff;
    text-transform: none;
    margin-top: 30px;
    line-height: 1.4em;
}
.action-screen .offer {}
.action-screen .offer .text {
    font-size: 2.45em;
    color: #333;
    line-height: 1.4em;
    font-weight: 300;
}
.action-screen .offer .text small {
    display: block;
    color: #fff;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.2em;
    margin-bottom: 10px;
    font-size: 18px;
}
.action-screen .offer .action {text-align: right; padding-top: 10px;}
.action-screen .offer .action .btn {
    background: transparent;
    border: 14px solid #fff;
    text-align: center;
    width: 100%;
    max-width: 360px;
    padding: 12px 20px;
    color: #fff;
    margin-bottom: 10px;

    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.action-screen .offer .action .btn:hover, .action-screen .offer .action .btn:focus {color: #3fb9c1; background: #fff;}
.action-screen .offer .action span {
    display: block;
    font-size: 16px;
    color: #333;
}


@media (max-width: 1200px){
    .action-screen .offer .action .btn {border-width: 10px;}
}


@media (min-width: 991px) and (max-width: 1200px) {
    .action-screen {font-size: 12px;}
}

@media (max-width: 991px) {
    .action-screen {
        font-size: 10px;
        padding: 93px 0;
    }
    .action-screen h1 small {margin-top: 20px;}
    .action-screen h1 {margin: 60px 0 100px;}

    .action-screen .offer .text, .action-screen .offer .action {text-align: center;}
    .action-screen .offer .text {margin-bottom: 25px; font-size: 3em;}
}

@media (min-width: 570px) and (max-width: 768px) {
    .action-screen h1 {font-size: 11em; margin: 60px 0 80px;}
    .action-screen .offer .text {font-size: 2.5em;}
}

@media (max-width: 570px) {
	.action-screen h1 small, .action-screen .offer .text {font-size: 22px;}
	.action-screen .offer .action span {display: none;}
}

@media (min-width: 500px) and (max-width: 570px) {
    .action-screen h1 {
        font-size: 9em;
        margin: 40px 0 60px;
    }
    
}

@media (max-width: 500px) {
    .action-screen h1 {
        font-size: 6.3em;
        margin: 30px 0 40px;
    }
    .action-screen h1 small {
        margin-top: 10px;
    }
    .action-screen h1 small, .action-screen .offer .text {font-size: 18px;}
    .action-screen .offer .text {
        margin-bottom: 15px;
    }
    .action-screen .offer .text br {display: none;}
    .action-screen .offer .action .btn {font-size: 16px;}
}


/*CONTENT HOME WHYUS*/
.why-us {}
.why-us .row {}
.why-us .row > div {text-align: center;}
.why-us .row > div img {max-width: 100%;}
.why-us .row > div h3 {font-weight: 400; margin-top: 40px;}
.why-us .row > div p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.5em;
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .why-us .row > div {
        margin-bottom: 60px;
    }
}

/*CONTENT HOME FOLIOBLOCK*/
.folio-block h2 {text-align: center;}

.fw-action {
    background: #3fb9c1;
    text-align: center;
}
.fw-action a {
    display: inline-block;
    color: #fff;
    padding: 28px;
    max-width: 100%;
    text-transform: uppercase;
    font-size: 18px;
}
.fw-action a:hover {text-decoration: none; color: #383838;}

@media (max-width: 768px) {
    .fw-action a {
        display: block;
        padding: 20px;
    }
}


/*FOLIOLIST*/
.folio-list {}
.folio-list:after, .folio-list:before {
    content:" ";
    display:table
}
.folio-list:after {clear: both;}
.folio-list > div {
    position: relative;
    float: left;
    width: 25%;
    overflow: hidden;
}
.folio-list > div img {max-width: 100%;}

@media (min-width: 991px) and (max-width: 1200px) {
    .folio-list > div {width: 33.3333%;}
    .folio-list > div:nth-child(n+10) {display: none;}
}
@media (min-width: 501px) and (max-width: 991px) {
    .folio-list > div {width: 50%;}
    .folio-list > div:nth-child(n+7) {display: none;}
}
@media (max-width: 500px) {
    .folio-list > div {width: 100%;}
    .folio-list > div:nth-child(n+7) {display: none;}
}


.folio-list > div .bg-link, .folio-list > div .tag, .folio-list > div .extended {
    visibility: hidden;
    opacity: 0;

    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}
.folio-list > div:hover .bg-link, .folio-list > div:hover .tag, .folio-list > div:hover .extended {visibility: visible; opacity: 1;}

.folio-list > div .bg-link {
    position: absolute;
    left: -15px;
    right: 0;
    top: -15px;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(56,56,56,.85);
}
.folio-list > div:hover .bg-link {opacity: 1;left: 0;top: 0;}

.folio-list > div .tag-review {
    right: 0;
    top: 35px;
    color: #d1d1d1;
    border-color: #d1d1d1;
}
.folio-list > div:hover .tag-review {
    right: 20px;
    top: 20px;
}

.folio-list > div .extended {
    position: absolute;
    left: 15px;
    right: 0;
    width: 100%;
    bottom: -15px;
    padding: 5%;
    color: #fff;
    font-weight: 300;
    font-size: 16px;
}
.folio-list > div:hover .extended {
    left: 0;
    bottom: 0;
}
.folio-list > div .extended .title {display: block;}
.folio-list > div .extended a {text-transform: lowercase;}


/*CONTENT HOME CLIENTSBLOCK*/
.clients-block {padding:120px 0; text-align: center;}
.clients-block p {font-size: 16px; font-weight: 300;}

@media(max-width: 991px) {
    .clients-block {
        padding: 90px 0;
    }
}


/*CLIENTS CAROUSEL*/
.clients-carousel {margin: 60px 0;}
.clients-carousel-wrap {padding: 0 20px;}
@media(min-width: 1200px) {
    .clients-carousel-wrap {padding: 0 40px;}
}
.clients-carousel > div {position: relative;}
.clients-carousel > div img {max-width: 100%;}
.clients-carousel > div .inner {display: inline-block; position: relative; margin: 5px;}


.clients-carousel .tag-review {
    transform: translateY(-100%);
}




.slick-slider {padding: 0 50px;}
@media(min-width: 1200px) {
    .slick-slider {padding-left: 80px; padding-right: 80px;}
}
@media (max-width: 500px) {
    .slick-slider {padding-left: 33px; padding-right: 33px;}
}

.slick-slide {position: relative; padding-top: 20px; padding-bottom: 20px;}

.slick-arrow {
    text-indent: -9999px;
    overflow: hidden;
    background: none;
    border: none;
    position: absolute;
    height: 100%;
    width: 23px;
    padding: 0;
    top: 50%;
    transform: translateY(-50%);
}
.slick-arrow:before {
    position: absolute;
    top: 50%;
    content: "";
    width: 23px;
    height: 39px;
    transform: translateY(-50%);
    background: transparent url('../img/up-icon-arrows.png') no-repeat;
}
.slick-prev {
    left: 0;
}
.slick-prev:before {background-position: 0 0; left: 0;}
.slick-prev:hover:before {background-position: 0 -39px;}
.slick-next {
    right: 0;
}
.slick-next:before {background-position: -23px 0; right: 0;}
.slick-next:hover:before {background-position: -23px -39px;}


/*CONTENT HOME CALLTOACTION*/
.call-to-action {position: relative; height: 126px;}
.call-to-action .container {
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
    background-color: #383838;
    padding: 50px 80px 70px;
    color: #fff;
}
.call-to-action h2 {margin-bottom: 50px;}
.call-to-action form {}
.call-to-action form .btn {
    width: 100%;
    border-color: #fff;
    height: 45px;
}
.call-to-action form .btn.active, .call-to-action form .btn:hover, .call-to-action form .btn:focus {background: #3fb9c1; color: #fff; border-color: #3fb9c1;}

@media (max-width: 991px) {
    .call-to-action .container {padding: 40px 30px 50px;}
}

@media (max-width: 768px) {
    .call-to-action {height: auto;}
    .call-to-action .container {
        width: 100%;
        left: 0;
        position: relative;
        transform: none;
    }

    .call-to-action form > .row > div {margin-bottom: 30px;}
    .call-to-action form > .row > div:last-child {margin-bottom: 0;}
    .call-to-action form .form-control, .call-to-action form .btn, .call-to-action form .form-error {text-align: center;max-width: 400px; margin-right: auto; margin-left: auto;}
}

/*REVIEWS LIST*/
.reviews-list {}
.reviews-list .slick-slide {padding-left: 20px; padding-right: 20px;}
.reviews-list .slick-slide .inner {
    padding-left: 240px;
    position: relative;
    min-height: 255px;
}

.reviews-list h4 {
    margin-top: 0px;
    position: relative;
    top: -4px;
    margin-bottom: 15px;
}
.reviews-list .text {}
.reviews-list .author {margin-top: 20px;}

.reviews-list .image {
    position: absolute;
    left: 0;
    top: 0;
    cursor: pointer;
}
.reviews-list .image:before, .reviews-list .image:after {
    content: "";
    position: absolute;
    opacity: 0;

    -webkit-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
}
.reviews-list .image:before {
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    widows: 100%;
    height: 100%;
    background: rgba(56,56,56,.85);
}
.reviews-list .image:after {
    width: 70px;
    height: 70px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: url('../img/up-icon-plus.png') no-repeat center;
}
.reviews-list .image:hover:before, .reviews-list .image:hover:after {
    opacity: 1;
}

.reviews-list .image img {max-width: 100%;}

@media (max-width: 991px) {
    .reviews-list .slick-slide .inner {padding-left: 210px;}
}

@media (max-width: 768px) {
    .reviews-list .slick-slide .inner {padding-left: 0; text-align: center;}

    .reviews-list .author, .reviews-list .text {display: none;}

    .reviews-list .image {
        position: relative;
        left: auto;
        top: auto;
        margin-top: 20px;
    }
    .reviews-list .image img {
    	margin-right: auto;
        margin-left: auto;
    }
}

/*TAGS*/
.tag {
    position: absolute;
    right: 0;
    top: 0;
}
.tag-review {
    font-size: 10px;
    text-transform: uppercase;
    padding: 0px 4px;
    border: 1px solid #bababa;
    line-height: 1.5em;
    color: #bababa;
}
.tag-review:hover {color: #3fb9c1; border-color: #3fb9c1; text-decoration: none;}


/*MAP*/
.map-block {background: #f3f3f3;}
#up-map {height: 400px;}



/*CONTENT HOME CEO*/
.ceo-block {
    background: #383838;
    color: #fff;
}
.ceo-block .container {position:relative; padding-top: 125px; padding-bottom: 125px;}

.ceo-block .inner {width: 60%;}
.ceo-block .inner:before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background: url('../img/up-ceo.png') no-repeat right bottom;
}

.ceo-block .inner .inner-wrap {
    position: relative;
    z-index: 1;
}
.ceo-block .inner h2 {margin-bottom: 50px;}
.ceo-block .inner h4 {
    margin: 0 0 25px;
    font-size: 18px;
    line-height: 1.4em;
}
.ceo-block .inner p {margin-bottom: 20px; color: #7f7f7f;}

.ceo-block .btn-link {
    padding: 0;
    color: #fff;
    text-transform: lowercase;
}
.ceo-block .btn-link:hover {
    color: #3fb9c1;
    text-decoration: none;
}

@media (min-width: 991px) and (max-width: 1200px) {
    .ceo-block .inner {width: 55%;}
}

@media (max-width: 991px) {
    .ceo-block .container {padding-top: 90px; padding-bottom: 90px;}
    .ceo-block .inner {width: 100%;}
    .ceo-block .inner:before {
        display: none;
        background: none;
    }
}

/*PAGE 404*/
.error-wrap {
    padding-left: 100px;
    padding-right: 100px;
    transform: translateY(-50%);
    top: 57%;
    position: absolute;
    left: 0;
    right: 0;
    min-width: 320px;
}
.error-wrap .error-title {}
.error-wrap .error-title > div {
    width: 50%;
    float: left;
}
.error-wrap .error-title > div > img {
    max-width: 100%;
}

.error-wrap .error-title .error-oops {text-align: right; padding-right: 30px;}
.error-wrap .error-title .error-code {text-align: left; padding-left: 30px;}

.error-wrap .error-content {
    padding-left: 50%;
    padding-top: 80px;
}
.error-wrap .error-content p {
    padding-left: 30px;
    font-size: 34px;
    text-align: left;
    font-weight: 300;
    line-height: 1.4em;
}
.error-wrap .error-content p a {
    color: #fff;
    text-decoration: underline;
}
.error-wrap .error-content p a:hover {text-decoration: none;}

@media (max-width: 1600px) {

    .error-wrap .error-content {
        padding-top: 40px;
    }
}

@media (max-width: 1500px) {
    .error-wrap .error-content p {font-size: 28px;}
}

@media (max-width: 1200px) {
    .error-wrap .error-title > div {
        width: 100%;
        max-width: 500px;
    }

    .error-wrap .error-title .error-oops {text-align: left; padding-right: 0; margin-bottom: 30px;}
    .error-wrap .error-title .error-code {padding-left: 0;}

    .error-wrap .error-content {
        padding-left: 0;
        padding-top: 60px;
    }

    .error-wrap .error-content p {
        font-size: 30px;
        padding-left: 0;
    }
}

@media (max-height: 700px) {
    .error-wrap {
        padding-left: 100px;
        padding-right: 100px;
        transform: none;
        top: auto;
        position: relative;
        left: auto;
        right: auto;
        margin: 60px 0;
    }
}

@media (max-width: 768px) {
    .error-wrap {
        padding-left: 60px;
        padding-right: 60px;
    }
    .error-wrap .error-content p {font-size: 28px;}
    .error-wrap .error-content p br {display: none;}
}

@media (max-width: 500px) {
    .error-wrap {
        padding-left: 40px;
        padding-right: 40px;
    }
    .error-wrap .error-content p {font-size: 24px;}
}


/*FOOTER*/
footer {
    position: relative;
    background-color: #e9e9e9;
    padding: 50px 0;
    text-align: center;
}
footer a {color: #383838;}

.f-contacts {margin-bottom: 20px;}
.f-contacts a {}
.f-contacts a:hover {text-decoration: none;}

.f-socials {margin-bottom: 15px;}
.f-socials .social {margin: 6px;}

.f-menu {
    padding: 0;
    margin: 0;
    list-style: none;
}
.f-menu li {
    display: inline-block;
    margin: 3px 7px;
}
.f-menu li a {
    display: block;
    padding: 3px 5px;
    text-transform: uppercase;
}
.f-menu li a:hover {text-decoration: none;}


.f-presentation, .f-copyrights {
    position: absolute;
    bottom: 0;
    margin-bottom: 57px;
}

.f-copyrights {left: 20px; color: #898989;}
.f-copyrights a, .f-copyrights a:hover {color: #898989; text-decoration: none;}

.f-presentation {right: 20px;}
.f-presentation a {color: #383838;}
.f-presentation a:hover {color: #3fb9c1; text-decoration: none;}
.f-presentation a span {color: #898989;}
.f-presentation a:before {
    position: relative;
    top: 2px;
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 23px;
    height: 23px;
    background: transparent url(/html/img/up-icon-pdf.png) no-repeat;
    vertical-align: bottom;
}
.f-presentation a:hover:before {
    background-position: 0 -23px;

} 

@media (max-width: 1200px) {
    .f-menu {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 991px) {
    footer {padding-bottom: 30px;}
    .f-menu {
        margin-bottom: 20px;
    }
    .f-presentation, .f-copyrights {
        position: relative;
        bottom: 0;
        margin-bottom: 0;
        left: auto;
        right: auto;
        text-align: center;
    }
    .f-presentation {margin-bottom: 20px;}
}

@media (max-width: 400px) {
    .f-menu li {
        display: block;
        margin: 10px 7px;
    }
}

/*BTN SCROLLTOP*/
.btn-scrolltop {
    position: fixed;
    right: 20px;
    bottom: 60px;
    background: #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    z-index: 9;

    -webkit-transition: opacity 0.2s ease-out, background 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out, background 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out, background 0.2s ease-out;
    transition: opacity 0.2s ease-out, background 0.2s ease-out;

    opacity: 0;
}
.btn-scrolltop:before {
	content: "";
	width: 17px;
	height: 12px;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%,-50%);
	background:transparent url('../img/up-icon-arrow-top.png') no-repeat center;
}
.btn-scrolltop:hover {background: #3fb9c1;}

.btn-scrolltop.affix, .btn-scrolltop.affix-bottom {opacity: 1;}
.btn-scrolltop.affix-top {opacity: 0;}



/*POPUPS*/
.popup {
    position: relative;
    margin: 30px auto;
    background-color: transparent;
    padding: 60px 20px 20px;
    max-width: 100%;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}
.popup-callback {width: 540px;}
.popup-callback .mfp-close {right: 20px;}

.popup .popup-heading {margin-bottom: 45px;}
.popup .popup-heading p {}
.popup .popup-title {margin-bottom: 20px;}

.popup .popup-content {}

.popup-content form {}
.popup-content form .form-error {font-size: 16px;}
.popup .form-group {margin-bottom: 30px;}
.popup .form-control {
    height: 65px;
    font-size: 1.3em;
    padding: 15px 30px;
}
.popup textarea {min-height: 120px; height: 120px; max-height: 600px;}
.popup-content form .btn-submit {
    width: 100%;
    max-width: 250px;
    padding: 16px;
    height: 60px;
}

.popup-content form .btn-submit.active, .popup-content form .btn-submit:hover, .popup-content form .btn-submit:focus {
    background: #fff;
    border-color: #fff;
    color: #383838;
}


/*POPUP MESSAGE*/
.popup-message {width: 540px; text-align: center;}
.popup-message .message-title {
    font-size: 34px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .popup-content form {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .popup form .form-control {font-size: 18px;}
}

/*SOCIALS*/
.socials {}
.social {
    width: 23px;
    height: 23px;
    display: inline-block;
    background: transparent url('../img/up-icon-socials.png') no-repeat; 
}
.social.facebook {background-position: 0 0;}
.social.facebook:hover {background-position: 0 -23px;}

.social.vk {background-position: -23px 0;}
.social.vk:hover {background-position: -23px -23px;}

.social.revision {background-position: -46px 0;}
.social.revision:hover {background-position: -46px -23px;}

.social.behance {background-position: -69px 0;}
.social.behance:hover {background-position: -69px -23px;}

.social.logobaker {background-position: -92px 0;}
.social.logobaker:hover {background-position: -92px -23px;}


/*SLICK*/
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}


/*MFP*/
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  /*background: rgba(40,40,40,.98);*/
  background: #383838;
}

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }

.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto; }

.mfp-ajax-cur {
  cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {}

.mfp-zoom {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in; }

.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }

.mfp-loading.mfp-figure {
  display: none; }

.mfp-hide {
  display: none !important; }

.mfp-preloader {
  color: #CCC;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #CCC; }
    .mfp-preloader a:hover {
      color: #FFF; }

.mfp-s-ready .mfp-preloader {
  display: none; }

.mfp-s-error .mfp-content {
  display: none; }


button.mfp-arrow {background: transparent;}

button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  box-shadow: none;
  touch-action: manipulation; }

button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 30px;
  height: 30px;
  line-height: 30px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  color: #FFF;
  background: transparent url('../img/up-icon-popup-close.png') no-repeat;
  }
  .mfp-close:hover,
  .mfp-close:focus {
    background-position: 0 -30px;
     }
  .mfp-close:active {
     }

.mfp-close-btn-in .mfp-close {
  color: #333; }

.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
    top: 30px;
}

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #CCC;
  font-size: 12px;
  line-height: 18px;
  white-space: nowrap; }

.mfp-arrow {
  position: absolute;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  -webkit-tap-highlight-color: transparent; }
  .mfp-arrow:active {
    margin-top: -54px; }
  .mfp-arrow:hover,
  .mfp-arrow:focus {
    opacity: 1; }
  .mfp-arrow:before,
  .mfp-arrow:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 0;
    top: 0;
    margin-top: 35px;
    margin-left: 35px;
    border: medium inset transparent; }
  .mfp-arrow:after {
    border-top-width: 13px;
    border-bottom-width: 13px;
    top: 8px; }
  .mfp-arrow:before {
    border-top-width: 21px;
    border-bottom-width: 21px;
    opacity: 0.7; }

.mfp-arrow-left {
  left: 0; }
  .mfp-arrow-left:after {
    border-right: 17px solid #FFF;
    margin-left: 31px; }
  .mfp-arrow-left:before {
    margin-left: 25px;
    border-right: 27px solid #3F3F3F; }

.mfp-arrow-right {
  right: 0; }
  .mfp-arrow-right:after {
    border-left: 17px solid #FFF;
    margin-left: 39px; }
  .mfp-arrow-right:before {
    border-left: 27px solid #3F3F3F; }

.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px; }
  .mfp-iframe-holder .mfp-content {
    line-height: 0;
    width: 100%;
    max-width: 900px; }
  .mfp-iframe-holder .mfp-close {
    top: -40px; }

.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%; }
  .mfp-iframe-scaler iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  box-sizing: border-box;
  padding: 90px 0 90px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 90px;
    bottom: 90px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444; }
  .mfp-figure small {
    color: #BDBDBD;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }

.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #F3F3F3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }

@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0; }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }



   .mfp-wrap {
      -webkit-overflow-scrolling: touch;
      -webkit-transform: translateZ(0);
      transform: translateZ(0);
    }

    html.mfp-overflow body {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }



html.mfp-overflow {
  height: 100%;
  margin-right: 0 !important;
}
html.mfp-overflow body {
    overflow: hidden;
    height: 100%;
}

@media (max-width: 768px) {
    img.mfp-img {
        padding: 70px 0 30px;
    }

    .mfp-figure:after {
        left: 0;
        top: 70px;
        bottom: 30px;
    }
    .mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {top: 20px;}
}



/*QUIZZIE*/
.quizzie {
    
    margin: 20px 0 24px;
    background-color: transparent;
    padding: 30px 0 34px;
    color: #fff;
    font-size: 16px;
    font-weight: 300;
}

.quizzie .popup-heading, .quizzie .quizzie-contacts, .quizzie .quizzie-bottom {margin-left: auto; margin-right: auto; max-width: 1100px; padding-left: 20px; padding-right: 20px;}

.quizzie .popup-heading {
    position: relative;
    margin-bottom: 40px;
}
.quizzie .popup-heading .inner {max-width: 600px;}
.quizzie .popup-heading h1 {
    font-weight: 400;
    margin: 0 0 35px;
    padding-right: 50px;
    line-height: 1.2em;
}
.quizzie .popup-heading p {}

.quizzie .mfp-close {right: 30px;}

.quizzie-questions {padding: 0;}
.quizzie-questions .qq-block {
    padding: 30px 0;
}

.qq-title {margin-bottom: 45px;}
.qq-title h2 {margin: 0;line-height: 1.3em;}
.qq-title h2 small {
    display: block;
    margin-top: 10px;
    font-size: 22px;
}

.quizzie .quizzie-contacts .row:last-child .form-group {margin-bottom: 0;}

.qq-answers {font-size: 22px;}
.qq-answers ul {list-style: none; padding: 0;}
.qq-answers ul li {margin: 10px 0;}
.qq-answers .inliner {display: inline-block; cursor: pointer;}
.qq-answers ul li label {font-weight: 400; cursor: pointer; display: inline; line-height: 1.7em;}


.quizzie-contacts {
    padding: 30px 0;
}


.quizzie-bottom {position: relative; margin-top: 40px;}
.quizzie .quizzie-bottom .inner {position: relative;}
.quizzie-bottom .quizzie-counter, .quizzie-bottom .quizzie-attention {
    position: absolute;
    top: -3px;
    left: 0;
    line-height: 1em;
}
.quizzie-bottom .quizzie-discount {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: 22px;
    line-height: 1em;
    font-weight: 400;
}
.quizzie-bottom .quizzie-discount > span {color: #3fb9c1;}
.quizzie-bottom .quizzie-actions {text-align: right;}
.quizzie-bottom .quizzie-actions .btn {
    float: right;
    font-size: 22px;
    padding: 15px 50px;
    height: 60px;
}
.quizzie-bottom .quizzie-actions .btn-prev {
    color: #fff;
    background: none;
}
.quizzie-bottom .quizzie-actions .btn-prev:hover {color: #3fb9c1;}
.quizzie-bottom .quizzie-actions .btn-primary {background: #fff; border-color: #fff; color: #383838;}
.quizzie-bottom .quizzie-actions .btn-primary:hover {
    background: #3fb9c1;
    border-color: #3fb9c1;
    color: #fff;
}
.quizzie-bottom .quizzie-actions .btn-primary.disabled {background: #999; border-color: #999; color: #383838;}

.inliner label:hover, .inliner.checked label, .inliner:hover label {color: #3fb9c1;}

@media (max-width: 991px) {
    .quizzie {padding: 20px 0 40px;}
    .quizzie-questions .qq-block, .quizzie-contacts {
        padding-top: 0;
        padding-bottom: 0;
    }

    .quizzie-bottom .quizzie-discount, .quizzie-bottom .quizzie-actions .btn, .qq-answers, .qq-title h2 small {font-size: 20px;}
    .qq-title {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .quizzie-bottom .quizzie-counter, .quizzie-bottom .quizzie-attention, .quizzie-bottom .quizzie-discount {
        position: relative;
    }
    .quizzie-bottom .quizzie-discount, .quizzie-bottom .quizzie-actions {margin-top: 20px;}
    .quizzie-bottom .quizzie-discount, .quizzie-bottom .quizzie-actions .btn, .qq-answers, .qq-title h2 small {font-size: 18px;}
    .quizzie-bottom .quizzie-actions .btn {
        float: none;
        display: block;
        margin: 20px 0;
        width: 100%;
        max-width: 100%;
        padding-left: 10px; padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .qq-title h2 {font-size: 28px;}
}

/*RADIO/CHECKBOXES*/
.iradio, .icheckbox {
    display: inline-block;
    width: 19px;
    height: 19px;
    padding: 0;
    margin: 0 20px 0 0px;
    vertical-align: middle;
    cursor: pointer;
    background-color: transparent;
    border: 2px solid #fefefe;
    top: -2px;
    border-radius: 50%;
}
.iradio.checked, .icheckbox.checked,
.iradio.hover, .icheckbox.hover, .inliner:hover .icheckbox {
    border-color: #3fb9c1;
}
.iradio.checked:before, .icheckbox.checked:before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 11px;
    height: 11px;
    background-color: #3fb9c1;
    border-radius: 50%;
}