@font-face {
    font-family: ProximaNovaRegular;
    src: url(../fonts/ProximaNova/proxima_nova_regular.woff);
}

@font-face {
    font-family: ProximaNovaLight;
    src: url(../fonts/ProximaNova/proxima_nova_light.woff);
}

@font-face {
    font-family: ProximaNovaSemibold;
    src: url(../fonts/ProximaNova/proxima_nova_semibold.woff);
}

@font-face {
    font-family: ProximaNovaBold;
    src: url(../fonts/ProximaNova/proxima_nova_bold.woff);
}

html {
    font-size: 14px;
}

@media screen and (max-width: 1600px) {
    html {
        font-size: 12px;
    }
}

@media screen and (max-width: 1366px) {
    html {
        font-size: 10px;
    }
}

body {
    margin: 0;
    font-family: 'ProximaNovaRegular'
}

a {
    color: #fff;
    font-family: 'ProximaNovaRegular';
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: none;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

button:hover, button:active, button:focus {
    outline: 0;
    cursor: pointer;
}

.fade-banner {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    cursor: pointer;
    z-index: 1000;
}

.fade-banner img {
    display: block;
    width: 30%;
    margin: auto;
}

.fade-banner img:first-child {
    margin-top: 10%;
}
.fade-banner .main-block{
    text-align: center;
    padding: 30vh 2rem 0 2rem;
    line-height: 4rem;
    
}
.fade-banner .main-block h1{
    color:#efefef;
    font-size: 4rem;
    line-height: 5rem;
    
}
.fade-banner .phone-number-res{
    font-size: 3rem;
    font-weight:700;
    color:#d4c08f;
}
.right-icons {
    position: fixed;
    right: 110px;
    bottom: 40px;
    display: flex;
    align-items: flex-end;
    z-index: 15;
}

.right-icons a {
    margin: 0 .75rem;
}

.right-icons img {
    display: block;
    width: 3rem;
    transition: .3s;
}

.banner-gp {
    width: 97px;
    z-index: 1;
}

.banner-gp img {
    margin-left: 80px;
}

.right-icons img:hover {
    transform: scale(1.1);
}

.left-icons {
    position: fixed;
    bottom: 40px;
    transform: scale(.8);
    z-index: 15;
}

.chat-icon {
    position: relative;
    width: 7rem;
}

.chat-icon img {
    display: block;
    width: 5rem;
    transition: .3s;
}

.chat-icon span {
    position: absolute;
    bottom: -1.5rem;
    left: 1.5rem;
    visibility: hidden;
    font-size: .9rem;
    color: #fff;
    transition: .3s;
}

.chat-icon img:hover ~ span {
    visibility: visible;
}

#bingc-phone-button {
    bottom: 40px !important;
    right: 9rem !important;
    transform: scale(.5);
    transform-origin: bottom center;
}

.center {
    text-align: center;
}

.rotate {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: #4589CE;
    height: 100%;
    text-align: center;
    display: none;
}

.rotate__inner {
    width: 250px;
    height: 250px;
    padding: 50px 0 0 0;
    background-color: #69A4D6;
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
}

.rotate__text {
    font-size: 13px;
    line-height: 16px;
    padding: 0 0 15px 0;
    color: #fff;
    font-weight: 600;
}

.rotate__inner img {
    width: 100px;
}

/* Block menu */

#menu_toggle {
    position: fixed;
    top: 40px;
    left: 60px;
    width: 260px;
    height: 58px;
    padding-left: 50px;
    color: #d4c08f;
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    transition: transform 1s cubic-bezier(0.16, 0.68, 0.43, 0.99),
                color .3s;
    z-index: 20;
}

#menu_toggle:active, #menu_toggle:focus {
    color: #d4c08f;
}

#menu_toggle:hover {
    color: #fff;
}

#menu_toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    bottom: 0;
    margin: auto;
    width: 40px;
    height: 36px;
    border: none;
    background-image: url(../img/menu_icons/menu-crombs.png);
    background-size: cover;
}

nav {    
    position: fixed;
    top: 0;
    left: 290px;
    width: 290px;
    height: 100%;
    padding-top: 40px;
    padding-left: 45px;
    background: rgba(0, 0, 0, .7);
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0) rotateY(180deg);
    transform: translate3d(-100%, 0, 0) rotateY(180deg);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: all 1s;
    z-index: 20;
}

nav.active {
    visibility: visible;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -webkit-transform: translate3d(-100%, 0, 0) rotateY(0deg);
    transform: translate3d(-100%, 0, 0) rotateY(0deg);
    overflow-y: auto;
}

nav .nav_logo {
    width: 200px;
}

nav a {
    font-size: 13px;
    text-transform: uppercase;
}

nav > ul {
    margin-top: 25px;
}

@media screen and (max-width: 1600px) {
    nav {
        padding-top: 10px;
    }

    nav > ul {
        margin-top: 10px;
    }
}

nav > ul li {
    padding: 4px 0;
}

nav ul img {
    width: 44px;
    height: 40px;
    margin-right: 10px;
    vertical-align: middle;
}

nav ul a {
    transition: all .3s;
}

nav ul a:hover {
    color: #d4c08f;
}

nav .submenu {
    padding: 6px 0 0 57px;
}

nav .submenu li {
    padding: 3px 0;
}

nav .submenu li a {
    color: #9ca6c4;
    font-size: 14px;
}

nav .submenu li a:hover {
    color: #fff;
    font-size: 14px;
    transition: all .3s;
}

.menu-slide {
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.16, 0.68, 0.43, 0.99),
                color .3s;
}

nav.active ~ .menu-slide {
    transform: translateX(290px);
}

nav .inactive:hover {
    cursor: default;
    color: #fff;
}

@media screen and (max-width: 1600px) {
    #fullpage .description {
        width: 400px;
    }

    #fullpage .description h5 {
        padding: 10px 24px;
        font-size: 20px;
    }

    #fullpage .description p {
        padding: 0 50px 0 24px;
        font-size: 14px;
    }

    #fullpage .description .close {
        right: 380px;
    }

    #fullpage .description .close:before, 
    #fullpage .description .close:after {
        height: 24px;
        top: 8px;
    }
}

/* Block menu mobile */

@media screen and (max-width: 768px) {
    #menu_toggle {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #1f2021;
        z-index: 1000;
    }

    nav {
        background-color: #1f2021;
        overflow: auto;
    }

    nav ul img {
        width: 30px;
        height: 30px;
    }

    #menu_toggle a:first-child img {
        width: 50%;
        margin-left: -40px;
    }

    #menu_toggle a:last-child {
        position: absolute;
        top: 10px;
        right: 30px;
        width: 35px;
        height: 35px;
        background: url(../img/icons/icon_phone.png);
        background-size: contain;
        background-repeat: no-repeat;
        color: transparent;
    }
    .request-form{
        padding-right: 0;
    }
}

/* Social icons */

.contacts .social-icons {
    display: flex;
    width: fit-content;
    width: -moz-fit-content;
    margin: 0 auto;
}

.social-icons a {
    display: block;
    width: 32px;
    height: 32px;
    margin: 0 15px;
    background-size: cover;
    opacity: .6;
    transition: .3s;
}

.social-icons a:hover {
    opacity: 1;
}

#fullpage .social-icons a img {
    position: static;
}

.icon-fb {
    background-image: url('../img/icons/icon_fb.png');
}

.icon-ins {
    background-image: url('../img/icons/icon_ins.png');
}

.icon-you {
    background-image: url('../img/icons/icon_you.png');
}

.icon-rupor {
    background-image: url('../img/icons/icon_rupor.png');
}

.icon-close {
    background-image: url('../img/icons/icon_close.png');
}

/* Block footer */

footer {
    padding: 20px 0;
    background: rgba(0, 0, 0, .7);
}

footer .social-icons {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

footer .social-icons li {
    display: inline-block;
    float: none;
}

/* Presentation page */

#presentation ~ .play {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 10%;
    margin: auto;
    z-index: 60;
}

#presentation ~ .social-icons {
    position: fixed;
    bottom: 2%;
    width: 100%;
    text-align: center;
    z-index: 100;
}

#presentation ~ .social-icons li {
    display: inline-block;
    float: none;
}

/* Index page */

#fullpage ~ .social-icons {
    position: fixed;
    right: 140px;
    bottom: 40px;
    z-index: 20;
}

.kan-logo {
    position: fixed;
    top: 32px;
    right: 55px;
    display: block;
    width: 60px;
    z-index: 20;
    text-align: center;
    overflow: hidden;
}

.kan-logo img {
    height: 80px;
}

.anchor-nav {
    position:fixed;
    top: 0;
    right: 0;
    bottom: 0;
    margin-right: 55px;
    display: flex;
    align-items: center;
    z-index: 10;
}

.anchor-nav li {
    padding: 5px 0;
}

.anchor-nav a {
    margin: 5px auto;
    float: right;
    color: #fff;
    font-size: 14px;
    visibility: hidden;
}

.anchor-nav a::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    margin-top: 2px;
    margin-left: 10px;
    border: 1px solid transparent;
    border-radius: 50%;
    background-color: #fff;
    visibility: visible;
}

.anchor-nav li.active a {
    visibility: visible;
}

.anchor-nav li.active a::after {
    border: 1px solid #000;
    box-shadow: 0 0 0 2px #fff;
}

#main_logo {
    position: fixed;
    top: 40px;
    right: 0;
    left: 0;
    margin: 0 auto;
    height: 180px;
    z-index: 10;
}

.section {
    overflow: hidden;
}

#fullpage video {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

#fullpage .headers {
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

#fullpage h2 {
    font-family: 'ProximaNovaBold';
    font-size: 24px;
}

#fullpage h3 {
    font-family: 'ProximaNovaLight';
    font-size: 60px;
}

#fullpage h4 {
    font-family: 'ProximaNovaRegular';
}

#fullpage button {
    font-family: GothaProLig,sans-serif;
    border: 0;
    font-size: 18px;
    color: #feffff;
    padding: 0 55px;
    height: 50px;
    background: #93a8c7;
    text-transform: uppercase;
    border-radius: 30px;
    margin-top: 50px;
    transition-delay: .5s;
}

#fullpage button::after {
    content: "";
    position: absolute;
    top: 39%;
    right: 30px;
    display: inline-block;
    margin-left: 20px;
    padding: 4px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

#fullpage img {
    position: absolute;
    right: 0;
    bottom: 40px;
    left: 0;
    margin: 0 auto;
    width: 40px;
}

#fullpage .section:nth-child(3) button,
#fullpage .slide:nth-child(2) button {
    background-color: #f7b000;
}

#fullpage .section:nth-child(4) button,
#fullpage .slide:nth-child(3) button {
    background-color: #529665;
}

#fullpage .section:nth-child(5) button,
#fullpage .slide:nth-child(4) button {
    background-color: #db4d4c;
}

#fullpage .section:nth-child(6) button,
#fullpage .slide:nth-child(5) button {
    background-color: #be9a60;
}

#fullpage .section:nth-child(7) button,
#fullpage .slide:nth-child(6) button {
    background-color: #435072;
}

#fullpage .description {
    position: absolute;
    width: 640px;
    top: 0;
    right: 0;
    bottom: 0;    
    background: linear-gradient(rgba(147,168,199, 1) 75%, rgba(147,168,199, 0));
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg);
    transform: translate3d(100%, 0, 0) rotateY(90deg);
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    transition: all 1s;
    z-index: 20;
}

#fullpage .section:nth-child(3) .description,
#fullpage .slide:nth-child(2) .description {
    background: linear-gradient(rgba(247, 176, 0, 1) 75%, rgba(247, 176, 0, 0));
}

#fullpage .section:nth-child(4) .description,
#fullpage .slide:nth-child(3) .description {
    background: linear-gradient(rgba(82, 150, 101, 1) 75%, rgba(82, 150, 101, 0));
}

#fullpage .section:nth-child(5) .description,
#fullpage .slide:nth-child(4) .description {
    background: linear-gradient(rgba(219, 77, 76, 1) 75%, rgba(219, 77, 76, 0));
}

#fullpage .section:nth-child(6) .description,
#fullpage .slide:nth-child(5) .description {
    background: linear-gradient(rgba(190, 154, 96, 1) 75%, rgba(190, 154, 96, 0));
}

#fullpage .section:nth-child(7) .description,
#fullpage .slide:nth-child(6) .description {
    background: linear-gradient(rgba(67, 80, 114, 1) 75%, rgba(67, 80, 114, 0));
}

#fullpage .active .description.active {
    visibility: visible;
    -webkit-transition-timing-function: ease-in-out;
    transition-timing-function: ease-in-out;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
    -webkit-transform: translate3d(-100%, 0, 0) rotateY(0deg);
    transform: translate3d(0, 0, 0) rotateY(0deg);
}

#fullpage .description img {
    position: static;
    width: 100%;
}

#fullpage .description h5 {
    padding: 18px 24px;
    font-size: 20px;
    font-family: 'ProximaNovaRegular';
    text-transform: uppercase;
    color: #fff;
}

#fullpage .description p {
    padding: 0 24px;
    font-size: 18px;
    font-family: 'ProximaNovaRegular';
    color: #fff;
}

#fullpage .description .close {
    position: absolute;
    right: 620px;
    top: 32px;
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    opacity: 1;
    cursor: pointer;
}
    
#fullpage .description .close:before,
#fullpage .description .close:after {
    position: absolute;
    top: 4px;
    left: 19px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #93a8c7;
    transition: .3s;
}

#fullpage .section:nth-child(3) .close:before,
#fullpage .section:nth-child(3) .close:after,
#fullpage .slide:nth-child(2) .close:before,
#fullpage .slide:nth-child(2) .close:after {
    background-color: #f7b000;
}

#fullpage .section:nth-child(4) .close:before,
#fullpage .section:nth-child(4) .close:after,
#fullpage .slide:nth-child(3) .close:before,
#fullpage .slide:nth-child(3) .close:after {
    background-color: #529665;
}

#fullpage .section:nth-child(5) .close:before,
#fullpage .section:nth-child(5) .close:after,
#fullpage .slide:nth-child(4) .close:before,
#fullpage .slide:nth-child(4) .close:after {
    background-color: #db4d4c;
}

#fullpage .section:nth-child(6) .close:before,
#fullpage .section:nth-child(6) .close:after,
#fullpage .slide:nth-child(5) .close:before,
#fullpage .slide:nth-child(5) .close:after {
    background-color: #be9a60;
}

#fullpage .section:nth-child(7) .close:before,
#fullpage .section:nth-child(7) .close:after,
#fullpage .slide:nth-child(6) .close:before,
#fullpage .slide:nth-child(6) .close:after {
    background-color: #435072;
}
    
#fullpage .description .close:before {
    transform: rotate(45deg);
}
    
#fullpage .description .close:after {
    transform: rotate(-45deg);
}

#fullpage .description .close:hover:before, 
#fullpage .description .close:hover:after {
    background-color: red;
}

#fullpage .contacts {
    position: absolute;
    bottom: 60px;
    width: 100%;
    text-align: center;
}

#fullpage .contacts a {
    display: block;
    padding-top: 4px;
    font-size: 20px;
    font-family: 'ProximaNovaBold';
}

/* Animations */

#fullpage h2, 
#fullpage h3, 
#fullpage h4, 
#fullpage button, 
#fullpage a {
	opacity: 0;
	transition: transform 1s cubic-bezier(0.16, 0.68, 0.43, 0.99),
				opacity .7s ease-in-out;
}
#fullpage h2 {
    transform: translateY(-1000px);
}

#fullpage button, 
#fullpage a {
    transform: translateY(1000px) scale(1);
}

#fullpage .section:first-child h3 {
    transform: translateY(1000px);
}

#fullpage .section:first-child.active h3 {
    transform: translateY(0);
    transition-delay: .5s;
}

#fullpage .active h3 {
    opacity: 1;
    transition-delay: 1.3s;
}

#fullpage .active h4 {
    opacity: 1;
    transition-delay: 1.7s;
}

#fullpage .active h2, 
#fullpage .active button, 
#fullpage .active a {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: initial;
}

#fullpage .active button:hover {
    transform: translateY(0) scale(1.2);
}

.banner-start{
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.banner-sales{
    margin-bottom: 2rem;
}
.banner {
    width: 15rem;
    z-index: 9;
}

.banner img {
    width: 100%;
}

.banner-kids {
    bottom: 500px;
}

#general_plan .banner-gp {
    left: 50px;
    top: 10rem;
    width: 8rem;
}

.banner-gp img {
    width: 100%;
}

#general_plan ~ .banner-gp {
    right: 40px;
    bottom: 180px;
}

.banners {
    position: fixed;
    left: 3rem;
    bottom: 3rem;
    z-index: 9;
}

.toggle-banners {
    position: relative;
}

.toggle-banners .menu-slide {
    display: none;
}

.toggle-banners .active,
.toggle-banners .visible {
    display: block;
}

.toggle-banners button {
    position: absolute;
    right: -5rem;
    bottom: 0;
    background: url('../img/icon_toggle_open.png') no-repeat;
    background-size: cover;
    width: 3.5rem;
    height: 3.5rem;
    border: 0;
    transition: .3s;
}

.toggle-banners .close {
    background: url('../img/icon_toggle_close.png');
    opacity: 1;
}

.new {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .4);
    z-index: 1000;
}

.new img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

/* Index page mobile */

@media screen and (orientation: landscape) {
    .rotate {
        display: block;
    }
}

.banner-easter{
    bottom: 60px;
    left: 30px;
    width: 220px;
    position: fixed;
}

@media screen and (max-width: 768px) {
    .banner-gp {
        position: absolute;
        top: 14%;
        left: 16px;
        width: 100px;
        z-index: 2;
    }

    .banner-gp img {
        width: 100%;
    }

    #fullpage .fp-tableCell {
        position: relative;
    }

    #fullpage h2 {
        font-size: 22px;
    }

    #fullpage h3 {
        font-size: 32px;
    }
    
    #fullpage button {
        font-size: 14px;
        padding: 0 38px 0 30px;
    }

    #fullpage button::after {
        right: 18px;
    }

    #fullpage .description {
        width: 100%;
        height: 100%;
        opacity: .9;
        overflow: auto;
    }

    #fullpage .description img {
        height: 40%;
    }

    #fullpage .description p {
        overflow: scroll;
        position: relative;
        height: 100%;
    }

    #fullpage .description .close {
        top: 37%;
        right: 0;
        left: 0;
        margin: 0 auto;
    }

    .kan-logo {
        top: 11%;
        right: 23px;
    }

    #fullpage .swipe {
        bottom: 10%;
        width: 30px;
    }

    /*
    #fullpage .fp-section.fp-table, .fp-slide.fp-table {
        margin-top: -50px;
    }
    */

    #fullpage .slide:nth-child(3) button {
        margin: 20px 40px;
    }

    .banner {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        text-align: center;
        z-index: 9;
    }

    .banner-easter{
        bottom: 110px;
        width: 180px;
    }

    .banner img {
        width: 150px;
    }
}

/* About page */

.header {
    height: 492px;
    text-align: center;
}

#about .header {
    background: url('../img/about/header.jpg');
    background-size: cover;
}

#bot .header {
    height: auto;
}

#living_quarter .header {
    background: url('../img/living_quarter/header.jpg');
    background-size: cover;
}

#project_participants .header {
    background: url('../img/project_participants/header.jpg');
    background-size: cover;
}

#application .header {
    background: url('../img/application/header.jpg'); background-size: cover; background-position: center;
}

#commercial .header {
    background: url('../img/commercial/header.jpg');
    background-size: cover;
}

#prop-management .header {
    background: url('../img/prop-managment/header.jpg');
    background-size: cover;
    background-position: center;
}
#prop-management{
    padding-bottom: 20px;
}



.prop-management__link{
    display: block;
    font-size: 18px;
    color: #d3aa76;
    transition: .3s;
}


.prop-management__link-sm{
    color: #d3aa76;
    transition: .3s;
    font-size: 14px;
}

#commercial .col-md-6 a {
    display: block;
    font-size: 24px;
    color: #000;
    transition: .3s;
}

#commercial .col-md-6 a:hover {
    color: #d3aa76;
}

.header .logo {
    margin-top: 40px;
    width: initial;
    height: 180px;
}

.header h1 {
    font-size: 70px;
    margin-top: 80px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'ProximaNovaRegular';
}

#commercial p,
#commercial li {
    font-size: 16px;
}

#application .links {
    display: flex;
    justify-content: center;
    margin-bottom: 5rem;
}

#application .links img {
    width: 20rem;
    margin: 0 2rem;
}

#prop-management p{
    max-width: 740px;
    margin-bottom: 20px;
}

#prop-management h2{
    font-size: 34px;
}

.prop-management__list{
    margin-bottom: 20px;
}

.prop-management__list li{
    position: relative;
    padding-left: 10px;
}

.prop-management__list li:after{
    position: absolute;
    content: '';
    top: 0.6em;
    left: 0;
    border-radius: 100%;
    width: 5px;
    height: 5px;
    background: #d3aa76;
}

.topic{
    font-family: 'ProximaNovaBold';
    font-size: 22px;
    margin-bottom: 20px;
}

.topic_yellow{
    color: #d3aa76;
}
@media screen and (max-width: 768px) {
    .header {
        height: 275px;
    }

    #about .header {
        background: url(../img/about/header_mob.jpg);
        background-size: cover;
    }

    #living_quarter .header {
        background: url(../img/living_quarter/header_mob.jpg);
        background-size: cover;
    }

    #project_participants .header {
        background: url(../img/project_participants/header_mob.jpg);
        background-size: cover;
    }

    .header h1 {
        margin: 0;
        padding: 80px 0;
        font-size: 50px;
    }
    
    .bot .container p,
    .about .container p {
        font-size: 14px;
    }

    #commercial p, 
    #commercial li {
        font-size: 12px;
    }

    #commercial .container a {
        display: block;
        margin-bottom: 10px;
        font-size: 16px;
        color: #000;
    }

    #application .links {
        display: block;
        margin: 1rem 15px;
        text-align: center;
    }

    #application .links img {
        margin: 1rem auto;
    }
}

.bot h2,
.about h2,
#construction_course h2 {
    margin-top: 40px;
    margin-bottom: 20px;
    font-family: 'ProximaNovaSemibold';
    color: #d3aa76; 
    font-size: 50px;           
    text-transform: uppercase;
}

#construction_course h2 {
    text-align: center;
}

.about .col-md-6 h2 {
    margin-top: 20px;
}

.footer-bot-img {
    width: 462px;
}

#commercial .col-md-6 h2 {
    font-size: 30px;
}

@media screen and (max-width: 768px) {
    .bot .carousel-control {
        background: none;
    }
    
    .bot .carousel-control .glyphicon-chevron-left, 
    .bot .carousel-control .glyphicon-chevron-right {
        display: none;
    }
    
    .bot h2,
    .about h2 {
        font-size: 30px;
    }

    #construction_course h2 {
        font-size: 30px;
    }

    .about h2:first-child {
        margin: 20px 0;
    }
    .bot .slider-bot {
        background-image: url('../img/bot/background-slider-mob.png');
        padding: 40px 40px 60px 40px;
        text-align: center;
    }
    .footer-bot {
        padding-bottom: 50px;
    }
    .footer-bot-img {
        width: 70%;
        margin: -20px 0;
    }
    .btn-bot img {
        width: 50%;
    }
    .carousel-inner>.item>a>img, .carousel-inner>.item>img, .img-responsive, .thumbnail a>img, .thumbnail>img {
        display: inline-block;
    }
    .carousel-indicators li {
        background-color: #d5ba85;
        border: none;
        margin: 3px;
    }
    .carousel-indicators .active {
        margin: 3px;
    }
    .carousel-indicators {
        bottom: -40px;
    }
    .carousel-control.left {
        left: -25px;
    }
    .carousel-control.right {
        right: -40px;
    }
}

.bot p,
.about p {
    margin-bottom: 30px;
    font-size: 16px;
}

.about img {
    width: 100%;
}

.bot .full-width-img {
    width: 100%;
}

.bot .col-md-3 {
    padding: 26px 0px;
}

.bot .slider {
    width: 100%;
    background-image: url('../img/bot/background-slider.png');
    background-size: cover;
}

.bot .row {
    margin: 50px auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bot ul li {
    font-size: 16px;
    display: flex;
    align-items: center;
}

.bot ul li::before {
    content: '•';
    margin: -5px 4px 0 0;
    font-size: 2.7em;
    color: #D3AA76;
}
.bold-p-bot {
    font-weight: bold;
}

.footer-bot {
    width: 100%;
    text-align: center;
    background-color: #D3AA76;
    padding-bottom: 70px;
}

.footer-bot h3 {
    font-size: 40px;
    font-weight: bold;
    color: #FFFFFF;
    margin-bottom: 25px;
}

.btn-bot img {
    width: auto;
}

@media screen and (max-width: 768px) {
    .footer-bot h3 {
        font-size: 25px;
        line-height: 32px;
        letter-spacing: -0.5px;
    }
    
    .footer-bot {
        padding: 0 10px 70px 10px;
    }
    
    .bot ul li {
        font-size: 14px;
    }
    
}

.about figure {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.about figure img {
    width: 5rem;
    margin-right: 10px;
}

.about .row {
    margin: 60px auto;
    display: flex;
    align-items: center;
}

.about .row .col-md-6:first-child {
    padding: 0 15px 0 0;
}

.about .row .col-md-6 .icon {
    width: 10rem;
    margin-top: 20px;
}

.about .row .col-md-6:last-child {
    padding: 0 0 0 15px;
}

.about .full-width-img {
    margin-bottom: 40px;
}

.about .dev-logo {
    display: flex;
    margin: 30px 0;
}

.about .dev-logo a {
    display: inline-block;
}

.about .dev-logo h2 {
    margin: auto;
    margin-left: 20px;
}

.about .dev-logo img {
    width: 70%;
}

.about .dev-logo img:first-child {
    margin: 0;
}

.about .projects-table {
    display: table;
    width: 100%;
    border-spacing: 0px 45px;
}

.about .projects-table:last-child {
    width: 80%;
    margin: auto;
}

.about .table-row {
    display: table-row;
    text-align: center;
}

.about .table-cell {
    display: table-cell;
    text-align: center;
}

.about .table-cell img {
    width: initial;
}

.about .centered {
    text-align: center;
}

#top-arrrow {
    bottom: 8%;
    right: 9%;
}

/* Contacts page */

#contacts {
    position: absolute;
    height: 100%;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.3)), url(../img/contacts/background.jpg);
    background-size: cover;
}

#contacts h1 {
    margin-top: 40px;
    color: #fff;
    text-align: center;
    font-size: 48px;
    font-family: 'ProximaNovaRegular';
    text-transform: uppercase;
}

#contacts h2 {
    color: #fff;
    text-transform: uppercase;
}

#contacts .contact-info {
    max-width: 260px;
    margin: 40px auto;
}

#contacts .contact-info a {
    position: relative;
    display: block;
    margin: 0;
    padding-left: 30px;
    font-size: 16px;
    transition: .3s;
}

#contacts .contact-info a:first-child, 
#contacts .contact-info a:nth-child(7),
#contacts .contact-info a:last-child {
    margin: 10px 0;
    font-size: 20px;
}

#contacts .contact-info a:first-child {
    font-size: 24px;
}

#contacts a:hover {
    color: #d4c08f;
}

#contacts .contact-info a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    bottom: 0;
    width: 25px;
    height: 25px;
    margin: auto;
}

#contacts .contact-info a:first-child::before {
    background-image: url(../img/contacts/icon-phone.png);
    background-size: cover;
}

#contacts .contact-info a:nth-child(7)::before {
    background-image: url('../img/contacts/icon-map.png');
    background-size: cover;
}

#contacts .contact-info a:last-child::before {
    background-image: url('../img/contacts/icon-mail.png');
    background-size: cover;
}

#contacts li, #contacts p {
    color: #fff;
    font-size: 16px;
    font-family: 'ProximaNovaRegular';
    line-height: 26px
}

#contacts li:first-child,
#contacts li:second-child{
    font-weight: bold;
}

#contacts li:first-child::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 3px;
    width: 20px;
    height: 20px;
    background-image: url(../img/contacts/icon-clock.png);
    background-size: cover;
}

#contacts ul:nth-of-type(2) li:first-child::before {
    background: none;
}

#contacts p {
    margin-top: 10px;
}

#contacts .col-md-6 img {
    max-width: 100%;
}

#contacts .show-on-map {
    display: block;
    height: 100px;
    width: 100px;
    margin: 24px auto;
    color: #fff;
    text-align: center;
    background-image: url(../img/contacts/icon-us-on-map.png);
    background-size: cover;
    transition: .3s;
}

#contacts .show-on-map:hover {
    background-image: url(../img/contacts/icon-us-on-map-active.png);
}

#contacts .show-on-map::after {
    content: 'Показати на карті';
    position: relative;
    bottom: -100px;
    font-size: 16px;
    font-family: 'ProximaNovaRegular';
    color: #fff;
}

/* Contacts mobile */

@media screen and (max-width: 768px) {
    #contacts {
        height: initial;
    }

    #contacts .col-md-6 {
        padding: 0 30px;
    }

    #contacts ul {
        margin: auto;
        max-width: 260px;
    }

    #contacts li {
        position: relative;
        margin-left: 30px;
    }

    #contacts .col-md-6 li:first-child::before {
        left: -40px;
    }

    #contacts .col-md-6 > a {
        margin: 40px auto;
    }

    #contacts .col-md-6 > img {
        margin: 40px auto;
    }

    #prop-management .header{
        background-image: url('../img/prop-managment/header_mob.jpg');
    }

    #prop-management .header img{
        display: none;
    }
    #prop-management .header h1{
        font-size: 42px;
    }

    #prop-management h2{
        font-size: 25px;
    }

    .prop-management__link-title{
        font-size: 20px;
    }

    .topic{
        font-size: 18px;
    }

}

/* Video page */

#video {
    position: absolute;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
}

#video section {
    position: relative;
}

#video .poster {
    position: absolute; 
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%; 
}

#video iframe, #video video{
    width: 100%;
    height: 100%;
    object-fit: fill;
}

#video .description {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: #fff;
    padding-top: 20%;
    background: rgba(0, 0, 0, .5);
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    transition: .5s;
}

#video section:hover > .description {
    opacity: 1;
}

#video .description h2 {
    font-family: 'ProximaNovaLight';
}

#video .description p {
    font-family: 'ProximaNovaSemibold';
}

#video .video-section > a {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

.video-section .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 70%;
    margin: auto;
}

.video-section .grid a {
    margin: .75rem;
    text-align: center;
    font-size: .8rem;
}

.video-section .grid a:hover {
    color: #fff;
}

.video-section .grid a:hover img {
    transform: scale(1.1);
}

.video-section .grid a img {
    display: block;
    width: 4rem;
    margin: 0 auto 1rem;
    transition: .3s;
}

@media screen and (orientation: portrait) {
    #video .rotate {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #video {
        display: block;
        overflow: initial;
    }

    #video section {
        width: 100%;
        height: 40%;
        margin: 1px 0;
    }

    #video .description {
        padding-top: 7%;
        opacity: 1;
        background: rgba(0, 0, 0, .3);
    }

    #video .video-section.course h2 {
        margin-top: 0;
    }

    .video-section .grid {
        width: 100%;
    }

    .video-section .grid a {
        margin: .5rem;
        font-size: 1rem;
        text-transform: none;
    }

    .video-section .grid a img {
        width: 30%;
    }
}

/* Location page */

#location #map {
    position: fixed !important;
    top: 0;
    right: 320px;
    bottom: 0;
    left: 0;
}

#location .right-menu {
    position: fixed;
    right: 0;
    height: 100%;
    width: 320px;
    background: rgba(0, 0, 0, .7);
}

#location .right-menu h2 {
    margin-top: 130px;
    margin-bottom: 20px;
    color: #fff;
    font-size: 28px;
    text-align: center;
}

#location .right-menu ul {
    padding-left: 30px;
}

#location .right-menu ul li {
    padding: 4px 0;
}

#location .right-menu ul li img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

#location .right-menu ul li a {
    font-size: 15px;
    font-family: 'ProximaNovaRegular';
    transition: .3s color;
}

#location .right-menu ul li a:hover,
#location .right-menu ul li a.active {
    color: #D2B584;
}

/* Layouts page */

#layouts .header {
    background: url('../img/layouts/background.jpg');
    background-size: cover;
}

#layouts h1 {
    margin-top: 20px;
}

#layouts .row {
    margin: 40px auto;
}

.links {
    display: flex;
    justify-content: center;
}

.links a {
    display: block;
    height: 100px;
    width: 160px;
    margin: 24px 0;
    color: #fff;
    transition: .3s;
    text-align: center;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.links a.pro-layouts {
    background-image: url('../img/layouts/pro_layouts.png');
}

.links a.pro-layouts:hover {
    background-image: url('../img/layouts/pro_layouts_active.png');
    text-decoration: none;
}

.links a.layouts-3d-anchor {
    background-image: url('../img/layouts/3d_layouts.png');
}

.links a.layouts-3d-anchor:hover {
    background-image: url('../img/layouts/3d_layouts_active.png');
}

.links a span {
    position: relative;
    color: #fff;
    bottom: -100px;
}

.layouts-3d {
    background: #ddd;
}

.layouts-3d h2 {
    padding: 3rem 0;
    font-size: 4rem;
    text-align: center;
    text-transform: uppercase;
    color: #666;
}

.layouts-3d .layouts {
    display: grid;
    grid-gap: 2rem;
    max-width: 90%;
    justify-content: space-between;
    margin: auto;
    padding-bottom: 3rem;
    grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1600px) {
    .layouts-3d .layouts {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 760px) {
    .layouts-3d .layouts {
        grid-template-columns: repeat(1, 1fr);
    }
}

.layouts-3d .layout {
    display: block;
}

.layouts-3d .layout img {
    width: 100%;
}

.nav.nav-tabs.nav-pills {
    border: none;
    margin-bottom: 30px;
}

.nav-tabs > li, .nav-pills > li {
    float:none;
    display:inline-block;
    padding: 10px;
    *display:inline; /* ie7 fix */
    zoom:1; /* hasLayout ie7 trigger */
}

.nav-pills>li>a {
    color: #aaa;
    font-size: 16px;
    transition: .3s;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {
    color: #E7C38A;
    background-color: #FFF;
    border-color: #E7C38A;
}

.nav-tabs, .nav-pills {
    text-align:center;
}

i.flat-icon {
    display: inline-block;
    width: 45px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: contain;
    margin-bottom: -12px;
}

i.one-room-flat {
    background-image: url('../img/layouts/one_bedroom.png');
}

i.two-room-flat {
    background-image: url('../img/layouts/two_bedroom.png');
}

i.three-room-flat {
    background-image: url('../img/layouts/three_bedroom.png');
}

.tab-content img {
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    #layouts .header {
        background: url(../img/layouts/background_mob.jpg);
        background-size: cover;
    }

    #layouts .header h1 {
        margin: 0;
        padding: 20px 0 0;
    }

    .pro-layouts {
        height: 80px;
        width: 100px;
        margin: 10px auto;
    }

    .pro-layouts span {
        bottom: -90px;
    }
}

/* News page */

/* News and news detail have the same header image */
#news .header,
#news_detail .header {
    background: url('../img/news/background.jpg');
    background-size: cover;
}

#news .row {
    margin: 30px -15px;
}

#news .col-md-6 {
    width: 46%;
    height: 340px;
    margin: 40px 2%;
}

/* News and construction course have same colors of columns */
#news .col-md-6:nth-child(6n+1),
#construction_course .col-md-4:nth-child(6n+1) .date {
    background: #71466F;
}

#news .col-md-6:nth-child(6n+2),
#construction_course .col-md-4:nth-child(6n+2) .date {
    background: #DB4D4C;
}


#news .col-md-6:nth-child(6n+3),
#construction_course .col-md-4:nth-child(6n+3) .date {
    background: #6DA471;
}

#news .col-md-6:nth-child(6n+4),
#construction_course .col-md-4:nth-child(6n+4) .date {
    background: #5AC0D4;
}

#news .col-md-6:nth-child(6n+5),
#construction_course .col-md-4:nth-child(6n+5) .date {
    background: #90A8C7;
}

#news .col-md-6:nth-child(6n+6),
#construction_course .col-md-4:nth-child(6n+6) .date {
    background: #DDC28D;
}

#news .poster {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 290px;
    height: 350px;
}

#news .date {
    margin-top: 10px;
}

#news .date span {
    margin-left: 5px;
    color: #fff;
    font-size: 16px;
    border-bottom: 1px solid #fff;
}

#news .col-md-6 p {
    margin-top: 25px;
    max-width: 43%;
    max-height: 41%;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    overflow: hidden;
}

#news .col-md-6 > a {
    position: relative;
    display: inline-block;
    margin-top: 25px;
    padding: 10px 30px 10px 10px;
    border: 1px solid #fff;
    font-size: 16px;
    transition: .3s;
}

#news .col-md-6 > a::after {
    content: "";
    position: absolute;
    top: 16px;;
    left: 120px;
    display: inline-block;
    padding: 4px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

#news .col-md-6 > a:hover {
    background: #fff;
}

#news .col-md-6:nth-child(6n+1) a:hover {
    color: #71466F;
}

#news .col-md-6:nth-child(6n+2) a:hover {
    color: #DB4D4C;
}

#news .col-md-6:nth-child(6n+3) a:hover {
    color: #6DA471;
}

#news .col-md-6:nth-child(6n+4) a:hover {
    color: #5AC0D4;
}

#news .col-md-6:nth-child(6n+5) a:hover {
    color: #90A8C7;
}

#news .col-md-6:nth-child(6n+6) a:hover {
    color: #DDC28D;
}

#news .col-md-6:nth-child(6n+1) a:hover::after {
    border-color: #71466F;
}

#news .col-md-6:nth-child(6n+2) a:hover::after {
    border-color: #DB4D4C;
}

#news .col-md-6:nth-child(6n+3) a:hover::after {
    border-color: #6DA471;
}

#news .col-md-6:nth-child(6n+4) a:hover::after {
    border-color: #5AC0D4;
}

#news .col-md-6:nth-child(6n+5) a:hover::after {
    border-color: #90A8C7;
}

#news .col-md-6:nth-child(6n+6) a:hover::after {
    border-color: #DDC28D;
}

#news .date img {
    width: 40px;
}

#news .col-md-6 .social-icons {
    position: absolute;
    bottom: 15px;
}

/* News page mobile styles */

@media (max-width: 768px) and (orientation: landscape) {
    #news .rotate {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    #news .header,
    #news_detail .header {
        background-image: url(../img/news/background_mob.jpg);
        background-size: cover;
    }

    #news .col-md-6 {
        width: initial;
        height: initial;
    }

    #news .col-md-6 .date {
        display: inline-block;
    }

    #news .col-md-6 > a {
        margin: 25px 0 60px;
    }

    #news .poster {
        width: 44%;
        height: initial;
    }
}

/* News detail page */

#news_detail .container img {
    width: 100%;
    margin: 0;
}

#news_detail img ~ .text-box {
    margin-top: 30px;
}

#news_detail .container h1 {
    margin: 30px 0;
    font-weight: bold;
}

#news_detail .container p {
    font-size: 16px;
}

#news_detail .row {
    margin: 40px 0;
}

#news_detail .col-sm-4 {
    text-align: center;
}

#news_detail .col-sm-4 a {
    display: inline-block;
    padding: 12px 20px;
    font-size: 18px;
    color: #000;
    border: 1px solid #71466F;
    transition: .3s;
}

#news_detail .col-sm-4 a:hover {
    color: #fff;
    background: #71466F;
}

#news_detail .col-sm-4 a.previous {
    padding-left: 30px;
    border: 1px solid #DDC28D;
}

#news_detail .col-sm-4 a.previous:hover {
    background: #DDC28D;
}

#news_detail .col-sm-4 a.previous::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 100px;
    display: inline-block;
    padding: 4px;
    border: solid #DDC28D;
    border-width: 0 3px 3px 0;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transition: .3s;
}

#news_detail .col-sm-4 a.previous:hover::before {
    border-color: #fff;
}

#news_detail .col-sm-4 a.next {
    border: 1px solid #90A8C7;
    padding-right: 30px;
}

#news_detail .col-sm-4 a.next:hover {
    background: #90A8C7;
}

#news_detail .col-sm-4 a.next::after {
    content: "";
    position: absolute;
    top: 20px;
    right: 108px;
    display: inline-block;
    padding: 4px;
    border: solid #90A8C7;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    transition: .3s;
}

#news_detail .col-sm-4 a.next:hover::after {
    border-color: #fff;
}

/* General plan page */

#general_plan {
    position: relative;
}

/*#general_plan .section-general {
    Magic! Don't touch! 
    padding-top: 69.5%;
}
*/
#general_plan .section-general .marker {
    display: block;
    position: absolute;
}

#general_plan .black-marker-description {
    display: none;
    position: absolute;
    padding: 0.3% 1% 0.3% 3%;
    border-radius: 20px;
    background-color: #BE995D;
    font-size: 14px;
    color: #fff;
}

#general_plan div[class$=order-active] {
    background: url('../img/genplan/icons/infrastructure-background.png');
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    position: pointer;
    z-index: 10;
}

#general_plan div[class$=order-active] img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    cursor: pointer;
}

#general_plan .infrastructure-active {
    display: none;
    position: fixed;
    top: 10rem;
    left: 140px;
    width: 480px;
    padding: 10px 15px;
    background: url('../img/genplan/icons/infrastructure-background.png');
    border-radius: 25px;
    z-index: 10;
}

#general_plan .infrastructure-active > img {
    position: absolute;
    right: -.7rem;
    top: -.7rem;
    width: 3rem;
    cursor: pointer;
}

#general_plan .infrastructure-active ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#general_plan .infrastructure-active ul li {
    display: block;
    width: 90px;
    height: 110px;
    text-align: center;
    line-height: .9;
    float: left;
}

#general_plan .infrastructure-active ul li a {
    color: #fff;
    font-size: 12px;
    line-height: 0.8;
}

#general_plan .infrastructure-active ul li a img {
    display: block;
    margin: 0 auto;
}

#general_plan .infrastructure-active ul li a.active img {
    background-image: url('../img/genplan/icons/icon-active.png');
    background-size: cover;
}

#general_plan .infrastructure {
    background-image: url('../img/genplan/infrastructure.png');
    background-size: contain;
    background-repeat: no-repeat;
    width: 8rem;
    height: 8rem;
    position: fixed;
    left: 50px;
    top: 19rem;
    cursor: pointer;
    transition: .3s;
    z-index: 11;
}


#general_plan .infrastructure:hover {
    background-image: url('../img/genplan/infrastructure-active.png');
    background-size: contain;
    background-repeat: no-repeat;
}

#general_plan .bottom-icons {
    position: fixed;
    left: 50px;
    bottom: 3rem;
    display: flex;
    z-index: 1;
}

#general_plan .bottom-icons .left-icons {
    position: relative;
    width: 6rem;
    height: 6rem;
    margin-right: 2rem;
}

#general_plan .six-order {
    background-image: url('../img/genplan/icon_6.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .six-order:hover {
    background-image: url('../img/genplan/icon_6_1.png');
    background-size: cover;
}

#general_plan .seven-order {
    background-image: url('../img/genplan/icon_7.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .seven-order:hover {
    background-image: url('../img/genplan/icon_7_1.png');
    background-size: cover;
}

#general_plan .eight-order {
    background-image: url('../img/genplan/icon_8.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .eight-order:hover {
    background-image: url('../img/genplan/icon_8_1.png');
    background-size: cover;
}

#general_plan .nine-order {
    background-image: url('../img/genplan/icon_9.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .nine-order:hover {
    background-image: url('../img/genplan/icon_9_1.png');
    background-size: cover;
}
#general_plan .ten-order {
    background-image: url(../img/genplan/icon_10.png);
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}
#general_plan .ten-order:hover {
    background-image: url('../img/genplan/icon_10_1.png');
    background-size: cover;
}

#general_plan .fifth-order {
    background-image: url('../img/genplan/fifth-order.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .fifth-order:hover {
    background-image: url('../img/genplan/fifth-order-active.png');
    background-size: cover;
}

#general_plan .fourth-order {
    background-image: url('../img/genplan/fourth-order.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .fourth-order:hover {
    background-image: url('../img/genplan/fourth-order-active.png');
    background-size: cover;
}

#general_plan .third-order {
    background-image: url('../img/genplan/third-order.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .third-order:hover {
    background-image: url('../img/genplan/third-order-active.png');
    background-size: cover;
}

#general_plan .second-order {
    background-image: url('../img/genplan/second-order.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .second-order:hover {
    background-image: url('../img/genplan/second-order-active.png');
    background-size: cover;
}

#general_plan .first-order {
    background-image: url('../img/genplan/first-order.png');
    background-size: cover;
    cursor: pointer;
    transition: .1s;
    z-index: 11;
}

#general_plan .first-order:hover {
    background-image: url('../img/genplan/first-order-active.png');    
    background-size: cover;
}

#general_plan .layer {
    display: none;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: .3s;
}

#general_plan .background {
    display: block;
}

/* General plan mobile */

@media all and (orientation: landscape) {
    #general_plan .rotate {
        display: block;
    }
}

@media all and (orientation: portrait) and (max-width: 768px) {
    #general_plan {
        line-height: .9;
        max-width: 100%;
        overflow: scroll;
    }

    #general_plan .bottom-icons {
        display: block;
        left: 10px;
        bottom: auto;
        top: 9rem;
    }

    #general_plan .bottom-icons .left-icons {
        margin-bottom: -2px;
    }

    #general_plan .section-general {
        position: relative;
        padding: 0;
        overflow: scroll;
    }

    #general_plan .rotate {
        display: none;
    }

    #general_plan .layer {
        height: 100%;
        width: auto;
    }

    #general_plan img {
        max-width: initial;
    }

    #general_plan .marker {
        width: auto;
    }

    #general_plan .black-marker-description {
        font-size: 12px;
    }

    #general_plan .left-icons {
        height: 50px;
        width: 50px;
        left: 10px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    #general_plan .infrastructure {
        width: 7rem;
        height: 7rem;
        top: auto;
        bottom: 3rem;
    }

    #general_plan div[class$=-order-active] {
        z-index: 11;
    }

    #general_plan div[class$=-order-active] img {
        max-width: 85%;
    }

    #general_plan .infrastructure-active {
        width: auto;
        left: auto;
        margin: 0 20px;
        z-index: 15;
    }

    #general_plan .infrastructure-active img {
        width: 30px;
        left: auto !important;
        bottom: auto !important;
    }

    #general_plan .infrastructure-active ul li {
        width: 80px;
        height: 70px;
    }
}

/* Construction course page */

#construction_course .header {
    background: url(../img/construction_course/background.jpg);
    background-size: cover;
}

/*#construction_course .header h1 {*/
    /*margin-top: 20px;*/
/*}*/

#construction_course .header .pro-layouts {
    display: inline-block;
    margin: 0 0 2rem;
    background-image: url(../img/construction_course/translation.png);
}

#construction_course .translation {
    display: flex;
    justify-content: space-evenly;
}

#construction_course .translation a {
    display: block;
    width: 20%;
    max-width: 20rem;
    margin: 0 2rem;
    text-align: center;
    color: #000;
}

#construction_course .translation a span:first-child {
    display: block;
    width: 10rem;
    height: 10rem;
    margin: 0 auto 2rem;
    background: url(../img/construction_course/camera1_1.png);
    background-size: contain;
    transition: .5s;
}

#construction_course .translation a:hover span:first-child {
    background: url(../img/construction_course/camera1_2.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(2) span:first-child {
    background: url(../img/construction_course/camera2_1.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(2):hover span:first-child {
    background: url(../img/construction_course/camera2_2.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(3) span:first-child {
    background: url(../img/construction_course/camera3_1.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(3):hover span:first-child {
    background: url(../img/construction_course/camera3_2.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(4) span:first-child {
    background: url(../img/construction_course/camera4_1.png);
    background-size: contain;
}

#construction_course .translation a:nth-child(4):hover span:first-child {
    background: url(../img/construction_course/camera4_2.png);
    background-size: contain;
}

#construction_course .translation a.drone span:first-child {
    background: url(../img/construction_course/camera5_1.png);
    background-size: contain;
}

#construction_course .translation a.drone:hover span:first-child {
    background: url(../img/construction_course/camera5_2.png);
    background-size: contain;
}

#construction_course .header .pro-layouts:hover {
    background-image: url(../img/construction_course/translation_active.png);
}

#construction_course .header .chronicle {
    background-image: url(../img/construction_course/chronicle.png);
}

#construction_course .header .chronicle:hover {
    background-image: url(../img/construction_course/chronicle_active.png);
}

#construction_course .row {
    margin: 40px -15px;
}

#construction_course .col-md-4 {
    width: 31%;
    height: 320px;
    margin: 20px 1%;
    background-size: cover;
}

#construction_course .col-md-4 a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#construction_course .date {
    color: #fff;
    position: absolute;
    top: 40px;
    left: 0;
    vertical-align: middle;
    padding: 0 20px 0 10px;
}

#construction_course .date img {
    height: 34px;
    vertical-align: middle;
    margin-bottom: 7px;
    margin-right: 15px;
}

#construction_course .date .month {
    font-size: 36px;
    vertical-align: middle;
}

#construction_course .date .year {
    font-size: 20px;
    vertical-align: middle;
}



@media screen and (max-width: 768px) {
    #construction_course .col-md-4 {
        width: initial;
    }

    #construction_course .translation {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    #construction_course .translation a {
        width: auto;
        margin: 0 2rem 2rem;
        font-size: 1rem;
    }

    #construction_course .translation a:last-child {
        width: auto;
        margin: 0 2rem 2rem;
        font-size: 1rem;
    }
    
}

/* Gallery page */

.slider-navigation {
    text-align: center;
    width: 100%;
}
    
#slider-thumbs { 
    margin-top: -200px; 
    text-align: center;
}

#slider-thumbs .list-inline {
    width: 65%;
    margin: auto
}
    
#slider-thumbs .list-inline li {
    width: 15%;
    width: 8%;
    margin: -1px -3px;
    padding: 0;
    cursor: pointer;
}

#slider-thumbs .list-inline li img {
    border: 3px solid transparent;
}
    
.slider-nav-arrow {
    text-align: center;
    margin-bottom: 0px;
    visibility: hidden;
}
    
.selected .slider-nav-arrow { visibility: visible; }
    
#slider-thumbs .list-inline .selected img { 
    border-color: #fff; 
}

a.left::after,
a.right::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 120px;
    display: inline-block;
    padding: 10px;
    border: solid #fff;
    border-width: 0 3px 3px 0;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

a.left::after {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

#gallery .counter {
    position: absolute;
    bottom: 32px;
    right: 55px;
    color: #fff;
}

#gallery .counter span {
    font-weight: bold;
}

#gallery .counter span:first-child {
    font-size: 80px;
}

#gallery .counter span:last-child {
    font-size: 32px;
}

@media screen and (max-width: 768px) {
    a.left::after,
    a.right::after {
        left: initial;
        right: 14px;
    }

    #gallery .counter {
        right: 0;
        left: 0;
        text-align: center;
    }

    #gallery .counter span:first-child {
        font-size: 40px;
    }

    #gallery .counter span:last-child {
        font-size: 16px;
    }
    .fade-banner img:first-child {
        margin-top: 0;
    }
    
    .fade-banner img {
        width: 58%;
        pointer-events: auto;
    }

    .fade-info-img{
        max-height: 90%;
    }
    .fade-banner .main-block{
        text-align: center;
        padding: 0 2rem 0 2rem;
        line-height: 4rem;
        
    }
    .fade-banner .main-block h1{
        color:#efefef;
        font-size: 2.2rem;
        line-height: 2.5rem;
        
    }
    .fade-banner .phone-number-res{
        font-size: 2rem;
        font-weight:700;
        line-height: 0;
        color:#d4c08f;
    }
    
    .fade-banner .banner-start {
        margin: 0;
    }
    
    .grid-block {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    
    .grid-block a {
        display: flex;
        justify-content: center;
        margin: 1.5rem 0;
        pointer-events: none;
    }

    .right-icons {
        position: fixed;
        right: 3rem;
        z-index: 15;
    }

    .right-icons img {
        display: block;
        width: 5rem;
        margin: 1rem auto;
        transition: .3s;
    }
}

.mega-gp {
    display: block;
    width: 100vw;
    height: 100vh;
}

@media screen and (max-height: 768px) {
    nav ul img {
        width: 36px;
        height: 32px;
    }

    nav a {
        font-size: 12px;
    }

    .mega-gp {
        height: calc(100vh - 58px);
    }

    .right-icons {
        position: fixed;
        right: 3rem;
        z-index: 15;
    }

    .right-icons img {
        display: block;
        width: 5rem;
        margin: 1rem auto;
        transition: .3s;
    }
}
.wrapper.cont-bg { 
    bottom: auto; 
}

.chats {
    color: #fff;
    text-align: left;
    font-size: 15px;
    padding-left: 17%;
    padding-bottom: 10px;
}

.chats h3 {
    font-size: 20px;
    margin: 7px 0px;
}

.icons{
    font-size: 10px;
    padding: 3px 0px;
}

.icons img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.icons a{
    display: inline-flex;
    align-items: center;
    align-content: center;
    align-self: center;
    margin-right: 15px;
}
.form-group {
    color: #fff;
} 

@media screen and (max-height: 768px) {
    .chats {
        color: #fff;
        text-align: left;
        font-size: 15px;
        padding: 0px;
    }

    .chats h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .icons {
        padding: 10px 0px;
    }
}
.b-popup{
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.3);
    overflow:hidden;
    position:fixed;
    top:0px;
    right: 0px;
    z-index: 99999;
}
.b-popup .b-popup-content{
    text-align: center;
    margin: 16rem auto 0 auto;
    width: 45%;
    height: auto;
    padding: 5px 5px 20px 5px;
    background-color: #fff;
    box-shadow: 0px 0px 4px #000;
    font-family: 'ProximaNovaSemibold';
    font-size: 1.5em;
}
.b-popup .b-popup-content p{
    text-align: center;
}
.close-sect{
    text-align: right;
    margin-bottom: 0.3em;
    line-height: initial;
}
.icon-close {
    display: inline-block;
    width: 0.8em;
    height: 0.8em;
    --weight: 1px;
    --aa: 1px; /* anti-aliasing */
    --color: grey;
    border-radius: 2px;
    margin: 0.5em;
    background:
    linear-gradient(45deg, transparent calc(50% - var(--weight) - var(--aa)), var(--color) calc(50% - var(--weight)), var(--color) calc(50% + var(--weight)), transparent calc(50% + var(--weight) + var(--aa))),
    linear-gradient(-45deg, transparent calc(50% - var(--weight) - var(--aa)), var(--color) calc(50% - var(--weight)), var(--color) calc(50% + var(--weight)), transparent calc(50% + var(--weight) + var(--aa)));
}
@media screen and (max-width: 768px) {
    .b-popup .b-popup-content{
        width: 70%!important;
    }
}
#form-request .modal-content{
    border-radius: 0;
    background-color: #92abca;
}
#form-request .modal-header{
    border-color: #bdc2c9;
}
#form-request .form-group{
    color: #333;
}
#form-request .btn-secondary{
    background-color: #5a83b7;
}
#form-request .btn:active{
    color: #fff;
    background-color: #406491;
}
#form-request .btn:hover {
    color: #fff;
    background-color: #406491db;
}
#form-request .btn{
    color: #fff;
}
#form-request .btn-primary{
    color: #333;
    background-color: #fff;
    border-color: #7190b5;
}
.btn-request{
    position: absolute;
    bottom: 5px;
    width: fit-content;
    margin: 0 1rem;
    background-color: #92abca;
}
.btn-request .btn{
    padding-top: 0;
    padding-bottom: 0;
    width: 100%;
}
.btn-request .btn-primary {
    color: #fff;
    background-color: #7398c7;
    border-color: #2e6da442;
}
.icon-dollar{
    width: 25px;
    margin: 4px;
}
.popup-bot {
    position: fixed;
    top: 29%;
    left: 100vw;
    z-index: 100;
    background-color: #ddc28e;
    padding: 2rem 2rem 1.2rem 1.5rem;
    border-radius: 1.5em 0 0 2em;
    width: 75%;
    transition: 0.5s;
    transition-delay: 0.1s;
    transform: translateX(0);
    box-shadow: 2px 2px 10px 3px rgba(0, 0, 0, .2);
}
.popup-bot.active {
    transform: translateX(-100%);
    transition-delay: 0.1s;
}
.popup-bot .btn-popup-bot {
    position: absolute;
    top: -1.1rem;
    left: -29%;
    height: 80px;
    transition: 0.3s;
    transform: translateX(0);
}
.popup-bot .btn-popup-bot.active {
    transform: translateX(26%);
}
.popup-bot .btn-popup-bot:hover {
    cursor: pointer;
    transform: scale(1.1);
}
.popup-bot .btn-popup-bot.active:active,
.popup-bot .btn-popup-bot.active:hover {
    cursor: default;
    transform: none;
}
.popup-bot .inner {
    margin-left: 1rem;
    text-align: center;
}
.popup-bot h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-top: 0;
}
.popup-bot .close-btn {
    width: 2.5rem;
}
.popup-bot .close-btn:hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.2s;
}
.popup-bot .inner p {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}
.popup-bot .inner .btn-detail img {
    width: 80%;
    transition: 0.3s;
}
.popup-bot .inner .btn-detail img:hover {
    transform: scale(1.05);
}
.inside-icon {
    position: fixed;
    top: 150px;
    right: 38px;
    z-index: 11;
}
.inside-icon:hover {
    cursor: pointer;
}
.inside-icon img {
    width: 90px;
}
.inside-icon .over {
    position: absolute;
    top:0;
    left:0;
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}
@media screen and (max-width: 768px) {
    .inside-icon {
        top: 73px;
        left: 20px;
    }
    .inside-icon img {
        width: 75px;
    }
}