/* fonts */

@font-face {
    font-family: "ClearSans";
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ClearSansRegular/ClearSansRegular.ttf') format('truetype'),
    url('../fonts/ClearSansRegular/ClearSansRegular.woff') format('woff'),
    url('../fonts/ClearSansRegular/ClearSansRegular.eot') format('embedded-opentype');
}

@font-face {
    font-family: "ClearSans";
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ClearSansBold/ClearSansBold.ttf') format('truetype'),
    url('../fonts/ClearSansBold/ClearSansBold.woff') format('woff'),
    url('../fonts/ClearSansBold/ClearSansBold.eot') format('embedded-opentype');
}

@font-face {
    font-family: "ClearSans";
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/ClearSansItalic/ClearSansItalic.ttf') format('truetype'),
    url('../fonts/ClearSansItalic/ClearSansItalic.woff') format('woff'),
    url('../fonts/ClearSansItalic/ClearSansItalic.eot') format('embedded-opentype');
}

/* common */

html {
    overflow: auto;
}

body {
    position: relative;
    font-family: 'ClearSans', sans-serif;
}

.load {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url(../images/load.png) no-repeat center center #000000;
    color: #FFFFFF;
    z-index: 1031;
}

.load.load_shown {
    display: block;
}

a {
    transition: color 0.3s ease-in-out;
}

a:hover {
    text-decoration: none;
}

.slider .container-fluid {
    position: absolute;
    display: block;
    overflow: hidden;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: auto;
    max-height: unset;
}

.no-margin {
    padding-left: 0;
    padding-right: 0;
}

.scroll-container {
    position: absolute;
    bottom: 24px;
    left: 50%;
    margin: 0 0 0 -8px;
    z-index: 2;
    transition: opacity 0.3s ease-in-out;
}

.scroll-container:hover {
    opacity: 0.8;
}

.navbar-toggle {
    position: absolute;
    top: 6px;
    right: 15px;
    float: none;
    background: #FBB02C;
    padding: 5px 6px;
    margin-top: 15px;
    transition: background-color 0.3s ease-in-out;
}

.navbar-toggle .icon-bar {
    background: #FFFFFF;
}

.navbar-toggle:hover {
    background: #E19B2A;
}

.navbar-brand {
    height: auto;
}

.nav > li > a:hover,
.nav > li > a:focus {
    background-color: transparent;
}

/* nav bar */

.menu {
    display: flex;
    justify-content: space-between;
}

.navbar .row {
    margin: 0;
}

/* new header */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    background-color: #000000;
}

.header-container {
    position: relative;
    height: 75px;
    width: 100%;
    max-width: 1170px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    margin: 0 auto;
}

.header__logo {
    margin-top: 10px;
}

.header__menu {
    list-style: none;
}

.header__menu li {
    display: inline-block;
    padding: 7px 15px;
    border-radius: 4px;
}

.header__menu li a {
    color: #FFFFFF;
    transition: color 0.3s ease-in-out;
}

.header__menu li a:hover {
    color: #FBB02C;
}

.header__menu li a:focus {
    color: #FBB02C;
    outline: none;
    text-decoration: none;
}

.header__menu li.active a {
    color: #FFFFFF;
    text-decoration: none;
}

.header__menu li.active a:hover {
    color: #000000;
}

.header__menu li.active {
    background: #FBB02C;
    border-radius: 3px;
}

.header__button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 26px;
    height: 26px;
    box-sizing: border-box;
    background-color: #FBB02C;
    border: none;
    border-radius: 4px;
    padding: 5px;
    transition: background-color 0.3s ease-in-out;
    outline: none;
}

.header__button:hover {
    background-color: #E19B2A;
}

.header__button svg {
    flex-grow: 1;
    fill: #FFFFFF;
    width: 16px;
    height: 2px;
    vertical-align: middle;
}

/* social */

.social a {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 0 20px 0 0;
    border-radius: 15px;
    background-color: #EEEEEE;
    line-height: 30px;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
}

.social a:last-child {
    margin: 0;
}

.social a:hover {
    background-color: #D6D6D6;
}

.social a svg {
    width: 12px;
    height: 12px;
    fill: #6B6C6C;
    vertical-align: middle;
    margin-bottom: 3px;
}

/* svg container */

.svg-container {
    position: absolute;
    top: -100000px;
}

/* proposal */

.proposal-field {
    width: 100%;
    margin: 5px 0;
    border: none;
    border-bottom: 1px solid #FFFFFF;
    background: transparent;
    font-size: 1.28em;
    color: #FFFFFF;
    outline: none;
    -webkit-border-radius: 0;
}

.proposal-field:invalid {
    box-shadow: none;
}

.proposal-button {
    display: block;
    width: 100%;
    margin: 5px 0;
    padding: 8px 30px;
    border: none;
    border-radius: 3px;
    background: #FBB02C;
    text-align: center;
    font-weight: 700;
    color: #000000;
    transition: background-color 0.3s ease-in-out;
}

.proposal-button:hover {
    background-color: #E19B2A;
    color: #000000;
}

.result-message {
    color: #FFFFFF;
    text-align: center;
}

/* headlines */

h1.title {
    position: relative;
    margin: 80px 0 55px 0;
    padding: 0 0 30px 0;
    text-align: center;
}

h1.title + p {
    margin: 0 0 50px 0;
    text-align: center;
    font-size: 18px;
}

.dark {
    color: #2C2E30;
}

.light {
    color: #FFFFFF;
}

h1.dark + p {
    color: #767676;
}

h1.light + p {
    color: #FFFFFF;
}

h2.dark + p {
    color: #6B6C6C;
}

h1.title:before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    display: block;
    width: 30px;
    height: 3px;
    margin: 0 0 0 -15px;
    background: #FBB02C;
}

/* sections  */

.services,
.benefits,
.portfolio {
    padding: 0 0 100px 0;
}

.benefits,
.portfolio,
.stages {
    background-color: #F3F3F3;
}

.statistics {
    background: url(../images/statistics_bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 100px 0;
}

.proposal {
    background: url(../images/proposal_bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0 0 50px 0;
}

.contacts {
    background: url(../images/contacts_bg.jpg) no-repeat center center;
    background-size: cover;
    padding: 0 0 50px 0;
}

.map {
    height: 475px;
}

/* first block */

.first-screen-container {
    position: relative;
}

.slider {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.carousel {
    position: static;
}

/* carousel */

.carousel-1 .carousel-indicators {
    position: absolute;
    bottom: 95px;
    left: 50%;
    z-index: 1;
}

.carousel-1 .carousel-indicators li {
    width: 14px;
    height: 14px;
    margin: 0;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid #FFFFFF;
    transition: opacity 0.3s ease-in-out;
}

.carousel-1 .carousel-indicators li:hover {
    opacity: 0.7;
}

.carousel-1.carousel .item {
    width: 100%;
    height: 100%;
}

.carousel-1 .carousel-inner {
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* slider */

.slider .item:nth-child(1) {
    background: url(../images/slides/slide1.jpg) no-repeat center center;
    background-size: cover;
}

.slider .item:nth-child(2) {
    background: url(../images/slides/slide2.jpg) no-repeat center center;
    background-size: cover;
}

.slider .item:nth-child(3) {
    background: url(../images/slides/slide3.jpg) no-repeat center center;
    background-size: cover;
}

.slider .item:nth-child(4) {
    background: url(../images/slides/slide4.jpg) no-repeat center center;
    background-size: cover;
}

.slider .carousel-indicators li {
    border: 2px solid #DADADA;
}

/* greeting */

.greeting {
    position: relative;
    width: 100%;
    color: #FFFFFF;
    min-height: 100vh;
    padding: 120px 20px 160px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.greeting h1 {
    width: 100%;
    margin: 0;
    text-align: center;
    font-weight: 700;
    font-size: 4em;
    line-height: 1.11;
}

.greeting small {
    width: 100%;
    display: block;
    margin: 0 0 3.5em 0;
    text-align: center;
    font-size: 1.71em;
}

.greeting__button {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

/* services */

.service {
    margin: 0 0 30px 0;
    padding: 40px;
    border: 1px solid #E7E7E7;
    text-align: center;
}

.service h2 {
    min-height: 60px;
    font-weight: 700;
}

/* benefits */

.benefits-container {
    display: flex;
    flex-wrap: wrap;
}

.benefits-container > div {
    width: 50%;
}

.benefit {
    padding: 0 15px 60px 15px;
}

.benefit img {
    margin: 0 30px 0 0;
}

.benefit h2 {
    font-weight: 700;
    margin-top: 0px;
    margin-left: 100px;
}

.benefit p {
    margin: 0 0 0 100px;
}

/* statistics */

.stats {
    text-align: center;
    color: #FFFFFF;
}

.stats img {
    height: 60px;
}

.stats h2 {
    margin: 0;
    font-weight: 700;
    font-size: 2.5em;
}

.stats p {
    font-size: 1.1em;
    margin: 0
}

.statistics .stats {
    margin-bottom: 15px;
}

/* portfolio section */

.category_hide {
    display: none;
}

.filter {
    margin: 0 0 30px 0;
    text-align: center;
}

.filter li {
    display: inline-block;
}

.filter li a {
    display: block;
    font-weight: 700;
    font-size: 1.1em;
    color: #757575;
    transition: color 0.3s ease-in-out;
}

.filter li a:hover {
    color: #212121;
}

.filter li a.active {
    border: 1px solid #FBB02C;
    border-radius: 4px;
    color: #212121;
}

.project {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.project > div {
    cursor: pointer;
}

.lg-sub-html a,
.project > div a {
    color: #FFFFFF;
    text-decoration: underline;
    transition: opacity 0.3s ease-in-out;
}

.lg-sub-html a:hover,
.project > div a:hover {
    opacity: 0.7;
}

.project img {
    width: 100%;
    height: auto;
}

.project > div,
.project > a {
    position: absolute;
    top: 0;
    left: 0;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 40px;
    background: #000000;
    text-align: center;
    color: #FFFFFF;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.project > div strong,
.project > a strong {
    display: block;
    font-size: 2.14em;
}

.project > div span,
.project > a span {
    display: block;
    font-size: 1.28em;
}

.project:hover > div,
.project:hover > a {
    opacity: 0.88;
}

/* team */

.member {
    text-align: center;
    margin: 0 0 60px 0;
    overflow: hidden;
}

.member h2 {
    margin-bottom: 0;
    font-weight: 700;
}

.member img {
    width: 100%;
    padding: 10%;
    box-sizing: border-box;
}

.member small {
    display: block;
    margin: 0 0 30px 0;
    font-style: italic;
    font-size: 1em;
    color: #6B6C6C;
}

/* prices */

.product {
    margin: 0 0 60px 0;
    padding: 0 30px;
    border: 1px solid #F0F0F0;
    border-radius: 5px;
    text-align: center;
}

.product h2 {
    margin: 0 -30px;
    padding: 20px 0;
    background: #F6F6F6;
    font-weight: 700;
    color: #212121;
}

.product p {
    padding: 20px 0;
    border-bottom: 1px solid #DDDDDD;
    color: #2C2E30;
}

.product p:last-child {
    border-bottom: none;
}

.product span {
    display: block;
    font-weight: 700;
}

.product a {
    margin: 30px 0;
}

/* reviews section */
.reviews .item > div {
    background: url(../images/quote.png) no-repeat 15px 0;
}

.reviews .client {
    margin: 20px 0 60px 0;
    overflow: hidden;
}

.reviews p {
    margin: 0;
    color: #0D0D0E;
    font-size: 1.14em;
}

.reviews .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #F1F1F1;
    margin: 0 15px 0 0;
}

.reviews h3 {
    margin-top: 0;
    font-size: 1.28em;
    font-weight: 700;
    color: #0D0D0E;
}

.reviews h3 span {
    display: block;
    font-style: italic;
    font-size: 0.7em;
    color: #6B6C6C;
}

.reviews-list {
    margin-bottom: 50px;
    overflow: hidden;
    white-space: nowrap;
}

.reviews-list > div {
    display: inline-block;
    width: 50%;
    padding: 0 20px;
    vertical-align: top;
    white-space: normal;
}

.reviews-list .owl-stage-outer {
    display: block;
}

.reviews-list .owl-item {
    padding: 0 20px;
    vertical-align: top;
}

.reviews-list .owl-nav {
    display: none;
}

.reviews-list .owl-dots {
    width: 100%;
}

.reviews-list a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #FBB02C;
    transition: text-decoration-color 0.3s ease-in-out;
}

.reviews-list a:hover {
    text-decoration-color: #D69229;
}

/* stage */

.circle {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 0 20px 0;
    border-radius: 50%;
    background: #FFFFFF;
    text-align: center;
    line-height: 100px;
}

.circle .bage {
    position: absolute;
    top: 5px;
    right: -5px;
    width: 30px;
    height: 30px;
    border: 2px solid #FBB02C;
    border-radius: 50%;
    background: #FFFFFF;
    text-align: center;
    line-height: 25px;
    color: #9B9B9B;
}

.circle + p {
    margin: 0 0 70px 0;
    font-size: 1.14em;
    color: #0D0D0E;
}

.finish {
    background: #FBB02C;
}

.finish .bage {
    background: #FBB02C;
    color: #FFFFFF;
}

/* partners */

.partners-container {
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.partners-carousel-wrap {
    position: relative;
    margin-bottom: 70px;
    padding-left: 60px;
    padding-right: 60px;
}

.partners-carousel {
    white-space: nowrap;
    overflow: hidden;
}

.partner {
    display: inline-block;
    padding-left: 15px;
    padding-right: 15px;
}

.partner {
    vertical-align: middle;
}

.partner svg {
    vertical-align: middle;
}

/* owl carousel */

.owl-item {
    display: inline-block;
    vertical-align: middle;
}

.owl-prev,
.owl-next {
    position: absolute;
    top: -7px;
    font-size: 360%;
    line-height: 70px;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.3s ease-in-out;
}

.owl-prev {
    left: 0;
}

.owl-next {
    right: 0;
}

.owl-next:hover,
.owl-prev:hover {
    color: #FBB02C;
}

.owl-dots {
    margin-bottom: 10px;
    text-align: center;
}

.owl-dot {
    display: inline-block;
    width: 13px;
    height: 13px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 50%;
    background-color: #F1F1F1;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.owl-dot.active {
    background-color: #D8D8D8;
}

.owl-dot:hover {
    -webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.1);
}

/* contacts */

.contacts p {
    margin: 0;
    text-align: center;
    color: #FFFFFF;
}

.contacts p:last-child {
    margin: 0 0 50px 0;
}

.contacts img {
    margin: 0 0 20px 0;
}

.contacts a {
    text-decoration: none;
    color: #FFFFFF;
    transition: opacity 0.3s ease-in-out;
}

.contacts a:hover {
    opacity: 0.8;
}

.contacts textarea {
    resize: vertical;
}

/* footer */

footer {
    height: 100px;
    line-height: 100px;
}

footer p {
    margin: 0;
}

footer .social {
    text-align: right;
}

.container_footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.container_footer:before,
.container_footer:after {
    display: none;
}

/* members */

.member {
    position: relative;
    text-align: left;
}

.member__info {
    display: flex;
    align-items: center;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 10px 20px;
    color: #FFFFFF;
    background-color: rgba(0, 0, 0, 0.40);
    overflow-y: auto;
}

.member__inner {
    position: absolute;
    top: 0;
    display: inline-block;
    vertical-align: middle;
    /* Хром не хочет вертикально центрировать часть строк. Это ему помогает */
    width: 90%;
    margin: 0 auto;
}

.member__vertical-center {
    display: block;
}

.member__info h2 {
    margin: 0;
    transition: opacity 0.3s ease-in-out;
}

.member__info h2:hover {
    opacity: 0.8;
}

.member__info ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 16px;
}

.member__info li {
    margin-bottom: 3px;
}

.member__info li:before {
    content: "";
    width: 5px;
    height: 5px;
    display: inline-block;
    background-color: #FFFFFF;
    margin-right: 5px;
    top: -2px;
    position: relative;
}

.member.with-js {
    cursor: pointer;
}

.member.with-js.opened {
    cursor: default;
}

.member.with-js .member__info {
    text-align: center;
}

.member.with-js.opened .member__info {
    display: block;
    text-align: left;
}

.member.with-js.opened .member__info:after {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    content: "";
}

.member .ps__rail-y {
    display: none;
}

.member.opened .ps__rail-y {
    display: block;
}

.member.with-js .member__info ul {
    display: none;
}

.member.with-js.opened .member__info ul {
    display: block;
}

.member.with-js .member__info h2 {
    display: inline;
    text-align: center;
    border-bottom: 1px dashed #FFFFFF;
}

.member.with-js.opened .member__info h2 {
    display: none;
}

.ps__rail-y {
    width: 9px;
    background-color: transparent;
}

.ps__rail-y:hover,
.ps__rail-y:focus {
    background-color: transparent;
}

.ps__rail-y:hover > .ps__thumb-y,
.ps__rail-y:focus > .ps__thumb-y {
    width: 6px;
}

/* help */

.help[title],
.help.with-tooltip {
    border-bottom: 1px dashed;
    cursor: help;
}

.help.with-tooltip {
    position: relative;
    transition: opacity 0.3s ease-in-out;
}

.help.with-tooltip:hover {
    opacity: 0.8;
}

.help-tooltip {
    display: none;
    position: absolute;
    bottom: 1.8em;
    left: 0;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10;
}

.help-tooltip:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 10px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 10px 10px 0;
    border-color: transparent rgba(0, 0, 0, 0.8) transparent
}

.help-tooltip.visible {
    display: block;
}

/* media */

@media (max-height: 460px) {
    .greeting {
        padding-bottom: 30px;
    }

    .scroll-container {
        display: none;
    }

    .carousel-1 .carousel-indicators {
        display: none;
    }
}

@media (max-height: 500px) {
    .greeting small {
        margin-bottom: 30px;
    }
}

@media (max-width: 1200px) {
    .greeting h1 {
        font-size: 40px;
    }

    .greeting small {
        font-size: 19px;
        margin-bottom: 30px;
    }

    .navbar-phone {
        display: none!important;
    }
}

@media (min-width: 1200px) {
    .stages .row {
        background: url(../images/stages_bg.png) no-repeat 0 250px;
    }
}

@media (max-width: 1090px) {
    footer {
        line-height: 70px;
    }
}

@media (max-width: 991px) {
    .reviews-list > div {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 870px) {
    .header-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .header_turned-black.header-container {
        background-color: #000000;
    }

    .header__menu {
        height: 0;
    }

    .header_turned-black .header__button {
        position: relative;
    }

    .header_turned-black .header__button svg:nth-child(1) {
        position: absolute;
        top: 5px;
        left: 6.5px;
        width: 21px;
        transform: rotate(45deg);
        transform-origin: top left;
        transition: transform 0.2s ease-in-out, width 0.2s ease-in-out;
    }

    .header_turned-black .header__button svg:nth-child(2) {
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .header_turned-black .header__button svg:nth-child(3) {
        position: absolute;
        bottom: 5px;
        left: 6.5px;
        width: 21px;
        transform: rotate(-45deg);
        transform-origin: bottom left;
        transition: transform 0.2s ease-in-out, width 0.2s ease-in-out;
    }

    .header_turned-black .header__menu {
        position: absolute;
        width: calc(100% + 60px);
        height: 920px;
        max-height: 340%;
        overflow-y: hidden;
        top: 75px;
        left: 0;
        background-color: #000000;
        padding: 7.5px 0;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
        transition: height 1s linear;
    }

    .header_turned-black .header__menu:before {
        position: absolute;
        top: 0;
        left: 20px;
        right: 80px;
        content: "";
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .header__menu li {
        display: none;
        height: 0;
        margin-left: 10px;
    }

    .header_turned-black .header__menu li {
        display: block;
        height: auto;
        width: calc(100% - 80px);
        transition: height 1s linear;
    }

    .header__button {
        display: flex;
    }
}

@media (max-width: 767px) {
    footer, footer .social {
        text-align: center;
    }

    .stats {
        margin: 0 0 30px 0;
    }

    .statistics {
        padding: 50px 0;
    }

    .benefits-container {
        flex-direction: column;
    }

    .benefits-container > div {
        width: 100%;
    }
}

@media (max-width: 730px) {
    .greeting h1 {
        font-size: 34px;
    }

    .greeting small {
        font-size: 17px;
    }
}

@media (max-width: 640px) {
    .partners-carousel-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .owl-prev, .owl-next {
        display: none;
    }
}

@media (max-width: 480px) {
    .greeting h1 {
        font-size: 28px;
    }

    .greeting small {
        font-size: 15px;
    }

    .greeting__button {
        max-width: 100%;
    }

    .benefit img {
        width: 40px;
        height: auto;
        margin-right: 15px;
    }

    .benefit h2 {
        margin-left: 55px;
    }

    .benefit p {
        margin-left: 55px;
    }
}

@media (max-width: 440px) {
    .container_footer {
        flex-direction: column;
        justify-content: flex-start;
    }

    footer .social {
        height: 110px;
    }
}

/* IE justify-content bug */

@media screen and (min-width: 0 \0
) {.greeting {
    height: 1px;}
}