/* --------------------------------

/* --------------------------------

Hero Slider - by CodyHouse.co

-------------------------------- */
/* Main Header */
.cd-header {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #21272c;
}

.cd-hero__content h2 {
    font-size: 1.8em !important;
}

.cd-hero__content p {
    font-size: 1em !important;
}

.is-mobile {
    display: none;
}

.hayal-logo {
    width: 30%;
    height: 22%;
    background-image: url('https://hayallerinierteleme.emlakkonut.com.tr/assets-hayal/img/logo-red.png');
    z-index: 10001;
    position: absolute;
    top: 32%;
    left: 35%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.hayal-offers {
    position: absolute;
    left: 15%;
    top: 30%;
    width: 70%;
}

.hayal-offers img {
    width: 55%;
    margin: 1rem;
}

.m-hayal-offer {
    display: flex;
    justify-content: space-around;
    margin-top: 30px;
}

.mobile-slider-text>h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.m-hayal-offer>img {
    width: 300px;
}

.hayal-wrap>div {
    display: flex;
}

.h-logo {
    width: 40vw;
}

.hayal-wrap>div>div {
    flex: 1;
}

.hayal-wrap {
    margin-top: 3rem;
}

.hayal-wrap img {
    margin: 2rem;
}

.main-desktop .cd-hero__content--img::before {
    background-image: none;
}
.main-slider .cd-hero__content--img img {
    top: 45% !important;
}

.open-main-menu ul li a {
    color: white !important;
}

.open-lang-menu ul li a {
    color: white !important;
}

.header__logo {
    position: relative;
    z-index: 4;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -moz-box-flex: 0;
    -ms-flex: none;
    flex: none;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    overflow: hidden;
    width: 160px;
    height: 140px;
}

.header__logo img {
    position: relative;
    z-index: 2;
    display: block;
    width: 180px;
    fill: #fff;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    transform: translateZ(0);
}

.header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 4;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    padding-right: 48px;
    width: 100%;
    -webkit-transform: translateY(-140px);
    -moz-transform: translateY(-140px);
    -ms-transform: translateY(-140px);
    -o-transform: translateY(-140px);
    transform: translateY(-140px);
}

.is-shown {
    display: flex;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.header__contacts {
    position: relative;
    z-index: 3;
    margin-top: auto;
    margin-bottom: auto;
    margin-left: auto;
    margin-right: auto;
}

.open-main-menu ul {
    padding: 0;
}

.open-main-menu ul li {
    display: inline-block;
    padding: 15px;
    font: 600 16px/20px 'Muli', sans-serif;
}

.open-main-menu ul li a {
    color: #ffffff;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.open-lang-menu {
    border-left: 1px solid #ffffff;
    padding-left: 30px;
    margin-left: 70px;
}

.open-lang-menu ul li {
    display: inline-block;
    padding: 15px;
    font: 600 16px/20px 'Muli', sans-serif;
}

.open-lang-menu ul li a {
    color: #ffffff;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.cd-hero__content--img::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background-image: linear-gradient(269deg, #ffffff00 0%, #00000098 100%);
    left: 0;
    position: absolute;
    z-index: 9999999999999;
}

.hero__buttons {
    position: relative;
    cursor: pointer;
    display: inline-block;
    width: 80px;
    height: 80px;
    border-style: dashed;
    border-width: 1px;
    border-radius: 50%;
    border-color: white;
    background: transparent;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons:hover:before {
    background-color: #ef7f4585;
}

.hero__buttons-yesil::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(http://bizim.pushecommerce.com/assets/img/icons/yesil-alan.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

.hero__buttons-build::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(../img/icons/hotel.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

.hero__buttons-bicycle::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(../img/icons/bike.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

.hero__buttons-moneybox::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(../img/icons/donation.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

.hero__buttons-house::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(../img/icons/interior-design.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

.hero__buttons-advantage::before {
    content: '';
    position: absolute;
    display: block;
    width: 60px;
    height: 60px;
    left: 10px;
    top: 9px;
    border: white;
    border-width: 1px;
    border-style: solid;
    background: transparent url(../img/icons/360.svg) 0% 0% no-repeat padding-box;
    background-position: center;
    background-size: 50%;
    border-radius: 50%;
}

@media only screen and (min-width: 768px) {
    .cd-header {
        height: 70px;
        background-color: transparent;
    }
}

.cd-header__logo {
    float: left;
    margin: 15px 0 0 2%;
}

.cd-header__logo img {
    display: block;
}

@media only screen and (min-width: 768px) {
    .cd-header__logo {
        margin: 15px 0 0 2%;
    }
}

.cd-header__nav {
    /* mobile first - navigation hidden by default, triggered by tap/click on navigation icon */
    float: right;
    margin-right: 5%;
    width: 30px;
    height: 100%;
    background: url("../img/cd-icon-menu.svg") no-repeat center center;
}

.cd-header__nav ul {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.cd-header__nav ul.cd-is-visible {
    -webkit-box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    -webkit-transform: translateY(50px);
    -ms-transform: translateY(50px);
    transform: translateY(50px);
}

.cd-header__nav a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding-left: 5%;
    background: #21272c;
    border-top: 1px solid #333c44;
    color: #ffffff;
}

@media only screen and (min-width: 768px) {
    .cd-header__nav {
        /* reset navigation values */
        width: auto;
        height: auto;
        background: none;
    }
    .cd-header__nav ul {
        position: static;
        width: auto;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        line-height: 70px;
    }
    .cd-header__nav ul.cd-is-visible {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }
    .cd-header__nav li {
        display: inline-block;
        margin-left: 1em;
    }
    .cd-header__nav a {
        display: inline-block;
        height: auto;
        line-height: normal;
        background: transparent;
        padding: .6em 1em;
        border-top: none;
    }
}

/* Slider */
.cd-hero {
    position: relative;
}

.cd-hero__slider {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.cd-hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    will-change: transform;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.cd-hero__slide.cd-hero__slide--selected {
    /* this is the visible slide */
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.cd-hero__slide.cd-hero__slide--move-left {
    /* slide hidden on the left */
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
}

.cd-hero__slide.cd-hero__slide--is-moving,
.cd-hero__slide.cd-hero__slide--selected {
    /* the cd-hero__slide--is-moving class is assigned to the slide which is moving outside the viewport */
    -webkit-transition: -webkit-transform 0.5s;
    transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
    transition: transform 0.5s, -webkit-transform 0.5s;
}

/* Slide style */
.cd-hero__slide {
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cd-hero__slide:first-of-type {
    background-color: #2c343b;
}

.cd-hero__slide:nth-of-type(2) {
    background-color: #2c343b;
}

.cd-hero__slide:nth-of-type(3) {
    background-color: #2c343b;
}

.cd-hero__slide:nth-of-type(4) {
    background-color: #2c343b;
}

.cd-hero__slide:nth-of-type(5) {
    background-color: #2c343b;
}

.cd-hero__content.cd-hero__content--full-width,
.cd-hero__content.cd-hero__content--half-width {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    left: 0;
    top: 0;
    /* this padding is used to align the text */
    padding-top: 100px;
    text-align: center;
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}

.cd-hero__content h2, .cd-hero__content p, .cd-hero__btn, .cd-hero__content--img img {
    /* Force Hardware Acceleration */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: transform;
}


.cd-hero__content--img img {
    position: absolute;
    left: 50%;
    height: 100%;
    width: 100%;
    top: 50%;
    object-fit: cover;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.cd-hero__content.cd-hero__content--bg-video {
    /* hide video on mobile device */
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.cd-hero__content--bg-video video {
    /* you won't see this element in the html, but it will be injected using javascript */
    display: block;
    min-height: 100%;
    min-width: 100%;
    max-width: none;
    height: auto;
    width: auto;
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    right: auto;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
}

.cd-hero__content h2 {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.2;
    margin: 0 auto 14px;
    color: #ffffff;
    width: 90%;
    max-width: 100%!important;
}

.cd-hero__content h2 {
    font-size: 2.4rem;
}

.cd-hero__content p {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    color: #ffffff;
    width: 100%;
    max-width: 100% !important;
}

.cd-hero__btn {
    display: inline-block;
    padding: 0.5em 0.5em;
    margin-top: .8em;
    background-color: rgb(239, 127, 71);
    font-size: 1.3rem;
    font-weight: normal;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.cd-hero__btn.cd-hero__btn--secondary {
    background-color: rgb(239, 127, 71);
}

.cd-hero__btn:nth-of-type(2) {
    margin-left: 1em;
}

.cd-hero__btn:hover, .cd-hero__btn:focus {
    background-color: rgb(239, 127, 71);
    color: #ffffff;
}

.cd-hero__btn.cd-hero__btn--secondary:hover {
    background-color: rgb(239, 127, 71);
}

@media only screen and (min-width: 768px) {
    .cd-hero__slide:nth-of-type(2),
    .cd-hero__slide:nth-of-type(3),
    .cd-hero__slide:nth-of-type(4) {
        background-image: none;
    }
    .cd-hero__content.cd-hero__content--full-width,
    .cd-hero__content.cd-hero__content--half-width {
        padding-top: 20%;
    }
    .cd-hero__content.cd-hero__content--bg-video {
        display: block;
    }
    .cd-hero__content.cd-hero__content--half-width {
        width: 100%;
    }
    .cd-hero__content.cd-hero__content--half-width:first-of-type {
        text-align: center;
    }
    .cd-hero__content.cd-hero__content--half-width:nth-of-type(2) {
        right: 5%;
        left: auto;
    }
    .cd-hero__content.cd-hero__content--img {
        display: block;
    }
    .cd-hero__content h2, .cd-hero__content p {
        max-width: 520px;
    }
     {
        font-size: 2.4em;
        font-weight: 300;
    }
    .cd-hero__btn {
        font-size: 1.4rem;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-hero__content.cd-hero__content--full-width,
    .cd-hero__content.cd-hero__content--half-width {
        padding-top: 150px;
    }
    .cd-hero__content h2 {
        margin-bottom: 20px;
    }

    .cd-hero__content p {
        margin-bottom: 0;
    }
    .cd-hero__content h2 {
        font-size: 2rem !important;
        font-weight: 700;
    }

    .cd-hero__content p {
        font-size: 1.5rem!important;
    }
}

/* Single slide animation */
@media only screen and (min-width: 768px) {
    .cd-hero__content.cd-hero__content--half-width {
        opacity: 0;
        -webkit-transform: translateX(40px);
        -ms-transform: translateX(40px);
        transform: translateX(40px);
    }
    .cd-hero__slide--move-left .cd-hero__content.cd-hero__content--half-width {
        -webkit-transform: translateX(-40px);
        -ms-transform: translateX(-40px);
        transform: translateX(-40px);
    }
    .cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width {
        /* this is the visible slide */
        opacity: 1;
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .cd-hero__slide--is-moving .cd-hero__content.cd-hero__content--half-width {
        /* this is the slide moving outside the viewport
        wait for the end of the transition on the <li> parent before set opacity to 0 and translate to 40px/-40px */
        -webkit-transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
        transition: opacity 0s 0.5s, -webkit-transform 0s 0.5s;
        transition: opacity 0s 0.5s, transform 0s 0.5s;
        transition: opacity 0s 0.5s, transform 0s 0.5s, -webkit-transform 0s 0.5s;
    }
    .cd-hero__slide--from-left.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:nth-of-type(2),
    .cd-hero__slide--from-right.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:first-of-type {
        /* this is the selected slide - different animation if it's entering from left or right */
        -webkit-transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
        transition: opacity 0.4s 0.2s, -webkit-transform 0.5s 0.2s;
        transition: opacity 0.4s 0.2s, transform 0.5s 0.2s;
        transition: opacity 0.4s 0.2s, transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
    }
    .cd-hero__slide--from-left.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:first-of-type,
    .cd-hero__slide--from-right.cd-hero__slide--selected .cd-hero__content.cd-hero__content--half-width:nth-of-type(2) {
        /* this is the selected slide - different animation if it's entering from left or right */
        -webkit-transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
        transition: opacity 0.4s 0.4s, -webkit-transform 0.5s 0.4s;
        transition: opacity 0.4s 0.4s, transform 0.5s 0.4s;
        transition: opacity 0.4s 0.4s, transform 0.5s 0.4s, -webkit-transform 0.5s 0.4s;
    }
    .cd-hero__content--full-width h2,
    .cd-hero__content--full-width p,
    .cd-hero__content--full-width .cd-hero__btn {
        -webkit-transform: translateX(100px);
        -ms-transform: translateX(100px);
        transform: translateX(100px);
    }
    .cd-hero__slide--move-left .cd-hero__content--full-width h2,
    .cd-hero__slide--move-left .cd-hero__content--full-width p,
    .cd-hero__slide--move-left .cd-hero__content--full-width .cd-hero__btn {
        -webkit-transform: translateX(-100px);
        -ms-transform: translateX(-100px);
        transform: translateX(-100px);
    }
    .cd-hero__slide--selected .cd-hero__content--full-width h2,
    .cd-hero__slide--selected .cd-hero__content--full-width p,
    .cd-hero__slide--selected .cd-hero__content--full-width .cd-hero__btn {
        /* this is the visible slide */
        -webkit-transform: translateX(0);
        -ms-transform: translateX(0);
        transform: translateX(0);
    }
    .cd-hero__slide--is-moving .cd-hero__content--full-width h2,
    .cd-hero__slide--is-moving .cd-hero__content--full-width p,
    .cd-hero__slide--is-moving .cd-hero__content--full-width .cd-hero__btn {
        /* this is the slide moving outside the viewport
        wait for the end of the transition on the li parent before set translate to 100px/-100px */
        -webkit-transition: -webkit-transform 0s 0.5s;
        transition: -webkit-transform 0s 0.5s;
        transition: transform 0s 0.5s;
        transition: transform 0s 0.5s, -webkit-transform 0s 0.5s;
    }
    .cd-hero__slide--selected h2 {
        -webkit-transition: -webkit-transform 0.5s 0.2s;
        transition: -webkit-transform 0.5s 0.2s;
        transition: transform 0.5s 0.2s;
        transition: transform 0.5s 0.2s, -webkit-transform 0.5s 0.2s;
    }
    .cd-hero__slide--selected p {
        -webkit-transition: -webkit-transform 0.5s 0.3s;
        transition: -webkit-transform 0.5s 0.3s;
        transition: transform 0.5s 0.3s;
        transition: transform 0.5s 0.3s, -webkit-transform 0.5s 0.3s;
    }
    .cd-hero__slide--selected .cd-hero__btn {
        -webkit-transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
        transition: background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
        transition: transform 0.5s 0.4s, background-color 0.2s 0s;
        transition: transform 0.5s 0.4s, background-color 0.2s 0s, -webkit-transform 0.5s 0.4s;
    }
}

/* Slider navigation */
.cd-hero__nav {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 2;
    text-align: center;
    height: 55px;
    background-color: rgba(0, 1, 1, 0.5);
}

.cd-hero__buttons {
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 2;
    text-align: center;
    height: 140px;
    padding: 10px;
    background-color: rgba(0, 1, 1, 0.5);
    display: flex;
    justify-content: center;
}

.cd-hero__buttons nav {
    height: 100%;
}


.cd-hero__buttons li {
    display: inline-block;
    margin-right: 45px;
}

.cd-hero__buttons nav {
    display: inline-block;
    position: relative;
}

.cd-hero__nav nav, .cd-hero__nav ul, .cd-hero__nav li, .cd-hero__nav a {
    height: 100%;
}

.cd-hero__nav nav {
    display: inline-block;
    position: relative;
}

.cd-hero__marker {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 100%;
    color: #00000000;
    background-color: #00000000;
    -webkit-box-shadow: inset 0 2px 0 currentColor;
    box-shadow: inset 0 2px 0 currentColor;
    -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s;
    transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
}

.cd-hero__marker.cd-hero__marker--item-2 {
    -webkit-transform: translateX(100%);
    -ms-transform: translateX(100%);
    transform: translateX(100%);
}

.cd-hero__marker.cd-hero__marker--item-3 {
    -webkit-transform: translateX(200%);
    -ms-transform: translateX(200%);
    transform: translateX(200%);
}

.cd-hero__marker.cd-hero__marker--item-4 {
    -webkit-transform: translateX(300%);
    -ms-transform: translateX(300%);
    transform: translateX(300%);
}

.cd-hero__marker.cd-hero__marker--item-5 {
    -webkit-transform: translateX(400%);
    -ms-transform: translateX(400%);
    transform: translateX(400%);
}

.cd-hero__buttons ul::after {
    clear: both;
    content: "";
    display: table;
}

.cd-hero__nav ul::after {
    clear: both;
    content: "";
    display: table;
}

.cd-hero__nav li {
    display: inline-block;
    width: 60px;
    float: left;
}

.cd-hero__nav .cd-selected a {
    color: #2c343b;
}

.cd-hero__nav .cd-selected a:hover {
    background-color: transparent;
}

.cd-hero__nav a {
    display: block;
    position: relative;
    padding-top: 35px;
    font-size: 1rem;
    font-weight: 700;
    color: #a8b4be;
    -webkit-transition: background-color 0.2s;
    transition: background-color 0.2s;
}

.cd-hero__nav a::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    top: 8px;
    left: 50%;
    right: auto;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: url(../assets/cd-icon-navigation.svg) no-repeat 0 0;
}

.cd-hero__nav a:hover {
    background-color: rgba(0, 1, 1, 0.5);
}

.cd-hero__nav li:first-of-type a::before {
    background-position: 0 0;
}

.cd-hero__nav li.cd-selected:first-of-type a::before {
    background-position: 0 -24px;
}

.cd-hero__nav li:nth-of-type(2) a::before {
    background-position: -24px 0;
}

.cd-hero__nav li.cd-selected:nth-of-type(2) a::before {
    background-position: -24px -24px;
}

.cd-hero__nav li:nth-of-type(3) a::before {
    background-position: -48px 0;
}

.cd-hero__nav li.cd-selected:nth-of-type(3) a::before {
    background-position: -48px -24px;
}

.cd-hero__nav li:nth-of-type(4) a::before {
    background-position: -72px 0;
}

.cd-hero__nav li.cd-selected:nth-of-type(4) a::before {
    background-position: -72px -24px;
}

.cd-hero__nav li:nth-of-type(5) a::before {
    background-position: -96px 0;
}

.cd-hero__nav li.cd-selected:nth-of-type(5) a::before {
    background-position: -96px -24px;
}

.open-main-menu ul {
    margin-bottom: 0;
}

header.header.is-shown {
    padding-right: 0 !important;
}

.header__contacts.open-lang-menu {
    padding-left: 0;
    margin-left: 0;
}

.header__contacts.open-lang-menu>ul {
    margin-bottom: 0;
    padding-left: 0;
}

.header__contacts.open-main-menu {
    margin: 0;
    margin-left: auto;
}

header.header.is-shown {
    max-width: 1280px;
    margin: auto;
}

a.header__logo {
    background-color: white;
}

.open-main-menu ul li {
    font-size: 1.05rem;
}

@media only screen and (min-width: 768px) {
    .cd-hero__nav {
        height: 80px;
    }
    .cd-hero__marker,
    .cd-hero__nav li {
        width: 95px;
    }
    .cd-hero__nav a {
        padding-top: 48px;
        font-size: 1.1rem;
        text-transform: uppercase;
    }
    .cd-hero__nav a::before {
        top: 18px;
    }
}

/* Main Content */
.cd-main-content {
    width: 90%;
    max-width: 768px;
    margin: 0 auto;
    padding: 2em 0;
}

.cd-main-content p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #999999;
    margin: 2em 0;
}

@media only screen and (min-width: 1170px) {
    .cd-main-content {
        padding: 3em 0;
    }
    .cd-main-content p {
        font-size: 1.6rem;
    }
}

/* Javascript disabled */
.no-js .cd-hero__slide {
    display: none;
}

.no-js .cd-hero__slide.cd-hero__slide--selected {
    display: block;
}

.no-js .cd-hero__nav {
    display: none;
}


@media only screen and (max-width: 991px) {
    .is-mobile {
        display: block;
    }

    .is-shown {
        display: none;
    }

    .cd-hero__slider {
        height: 450px;
    }

    .cd-header {
        height: 75px;
    }

    .cd-header__logo {
        float: left;
        margin: 5px 0 0 2%;
    }
}
