.residential_page.main img {
    height: auto;
    width: 100%
}

section.news-detail h1 {
    padding-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto
}

section.news-detail h1 span {
    display: block;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
    background-color: #fff
}

section.news-detail h1:after,
section.news-detail h1:before {
    border-radius: 100px/10px;
    bottom: 5px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, .7);
    content: "";
    left: 60px;
    position: absolute;
    right: 60px;
    top: 50%
}

section.news-detail .container {
    overflow: hidden;
    max-width: 700px
}

section.news-detail .container img {
    margin: 0 auto;
    display: block;
    max-width: 100%;
    height: auto
}

section.news-detail figure {
    margin-bottom: 20px
}

section.apartment-popup,
section.news-detail {
    position: relative;
    max-width: 1124px;
    padding-top: 40px;
    margin-top: 10px
}

section.apartment-popup .info-popup {
    font-size: 17px;
    text-align: center
}

section.apartment-popup .info-popup .button {
    margin-top: 20px;
    padding: 6px 28px;
    color: #fff;
    border-color: #4183b7;
    background-color: #4183b7;
    line-height: 1.25
}

section.apartment-popup .info-popup .button:hover {
    border-color: #58585a;
    background-color: #58585a
}

section.apartment-popup .info-popup .button.brochure {
    background-color: #84c2ea;
    border-color: #84c2ea
}

#page_container {
    padding-top: 92px;
    clear: both
}

.residential_page {
    padding: 0 10px
}

.residential_page.floor {
    margin-left: auto;
    margin-right: auto;
    max-width: 780px;
    text-align: center
}

.residential_page h3 {
    margin-bottom: 1em;
    color: #547b92;
    text-transform: uppercase
}

.residential_page.flat {
    margin-left: auto;
    margin-right: auto;
    max-width: 1114px
}

.residential_page a.button {
    background-color: #547b92;
    padding: 10px 30px;
    color: #fff;
    border: 0;
    float: none;
    margin-left: 0;
    margin-bottom: 20px
}

.residential_page a.button:hover {
    background-color: #58585a
}

.residential_page a.button span {
    padding-right: 10px
}

.project-inner-detail .content {
    margin: 0 auto;
    max-width: 1440px
}

.project-inner-detail .content>* {
    display: block;
    vertical-align: top
}

.project-inner-detail .content .sidebar {
    float: left;
    width: 250px;
    margin-right: 20px
}

.project-inner-detail .project-content {
    xpadding: 0 30px
}

.project-inner-detail .project-content>*+.gallery-wrapper {
    margin-top: 50px
}

.project-inner-detail .project-content .gallery-wrapper .owl-nav {
    left: -4%;
    right: -4%
}

.residental_image {
    position: relative;
    margin: 0 auto 20px
}

.residential_page.main .residental_image>.mobile {
    display: block
}

.residental_mobile_form_content {
    display: block;
    overflow: hidden;
    padding: 5px
}

.acc-content li>a,
.accordion .acc-title {
    padding: 1em;
    display: block
}

.residental_mobile_form_content .data,
.residental_mobile_form_content .hidden {
    display: block
}

.residental_mobile_form_content legend {
    font-family: pf_dindisplay_probold;
    font-size: 18px;
    color: #a8a8a8;
    text-transform: uppercase;
    margin-bottom: 8px
}

.residental_mobile_form_content .label-wrapper {
    margin-top: 0;
    margin-bottom: 20px
}

.residental_mobile_form_content .label-wrapper,
.residental_mobile_form_content .label-wrapper em,
.residental_mobile_form_content .label-wrapper small {
    color: #828080
}

.residental_mobile_form_content input:not([type=checkbox]),
.residental_mobile_form_content textarea {
    border: 1px solid #e9e9e9;
    width: 100%;
    margin-bottom: 20px
}

.residental_mobile_form_content input:not([type=checkbox]) {
    height: 45px
}

.residental_mobile_form_content .acc-content input {
    width: auto
}

.residental_mobile_form_content div {
    font-size: 0
}

.residental_mobile_form_content div>* {
    display: inline-block;
    vertical-align: top;
    height: 45px
}

.residental_mobile_form_content div>a,
.residental_mobile_form_content div>label {
    max-width: 50%
}

.residental_mobile_form_content div>a {
    background-color: #828080
}

.residental_mobile_form_content div a img {
    height: 45px
}

.residental_mobile_form_content div input:not([type=checkbox]) {
    width: 100%
}

.residental_mobile_form_content .button {
    margin-top: 20px;
    float: right;
    width: 100%;
    max-width: 100%
}

.residental_mobile_form_content span.checkbox,
.residental_mobile_form_content span.radio {
    border: 1px solid #e9e9e9
}

.residental_mobile_sections {
    overflow: hidden
}

.accordion .acc-title {
    width: 96%;
    margin: 0 2% 1px
}

.accordion .acc-content {
    width: 92%;
    margin: 0 4% 1px
}

.residental_mobile_form_content div>.custom-select-wrapper {
    display: inline-block;
    height: 45px;
    vertical-align: top;
    width: 49%
}

.residental_mobile_form_content div>.custom-select-wrapper ul.custom-selectbox-options {
    position: absolute;
    top: 45px;
    overflow: auto;
    width: 100%;
    height: 150px
}

.residental_mobile_form_content div>.custom-select-wrapper ul.custom-selectbox-options li {
    width: 100%
}

.acc-content {
    display: none;
    margin-bottom: 20px
}

.acc-content li {
    background-color: #84c2ea;
    color: #fff
}

.acc-content li+li {
    border-top: 1px solid #fff
}

.accordion .acc-title:after {
    content: ".";
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -7px;
    width: 16px;
    height: 13px;
    background: url(../images/arrow_acc.png) no-repeat;
    font-size: 0;
    text-indent: -9999px;
    -webkit-transition: all .1s linear;
    transition: all .1s linear
}

.accordion .acc-title {
    position: relative;
    color: #fff;
    background-color: #547b92;
    box-sizing: border-box;
    cursor: pointer
}

.accordion .acc-title.opened:after {
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg)
}

.opened .acc-content {
    display: block
}

.residential_page.main .residental_image>:not(.mobile),
.residential_page.main .residental_image>div {
    display: none
}

.residential_canvas_wrapper img,
.residential_page .residental_image img {
    position: static!important;
    display: block;
    width: 100%;
    height: auto
}

.residental_mobile_content caption {
    margin-bottom: 1em;
    color: #878788;
    font-size: 20px;
    text-transform: uppercase
}

.residental_mobile_content table.floor_detail {
    width: 100%;
    text-align: center
}

.residental_mobile_content table.floor_detail tr td {
    padding: 10px
}

.residental_mobile_content table.floor_detail thead {
    color: #fff;
    font-family: pf_dindisplay_promedium;
    text-transform: uppercase;
    background-color: #57585a
}

.datepicker-wrapper,
span.custom-selectbox,
ul.custom-selectbox-options {
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 700;
    text-align: center
}

.residental_mobile_content table.floor_detail tbody tr {
    background-color: #dbdcdc;
    border: 1px solid #fff;
    color: #666464
}

.residental_mobile_content table.floor_detail tbody tr td+td {
    border-left: 1px solid #fff
}


.custom-select-wrapper {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 49%
}

.custom-select-wrapper .custom-selectbox.opened+ul {
    z-index: 1
}

.residental_mobile_form_content .acc-content {
    margin-bottom: 20px
}

.datepicker-wrapper,
span.custom-selectbox {
    position: relative;
    display: inline-block;
    width: 49%;
    height: 45px;
    line-height: 45px;
    font-size: 14px;
    color: #fff;
    background-color: #828080;
    cursor: default
}

span.custom-selectbox {
    width: 100%
}

.datepicker-wrapper {
    margin-right: 2%
}

.datepicker-wrapper:after,
span.custom-selectbox:after {
    content: 'arrow';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 7px;
    height: 4px;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    background: url(../images/icon_arrow_dw.png) no-repeat;
    font-size: 0;
    text-indent: -9999px;
    -webkit-transition: all 250ms ease-in-out;
    transition: all 250ms ease-in-out;
    pointer-events: none
}

.datepicker-wrapper.opened:after,
span.custom-selectbox.opened:after {
    -webkit-transform: rotate(180deg) translateY(-50%);
    transform: rotate(180deg) translateY(-50%);
    margin-top: -4px
}

ul.custom-selectbox-options {
    position: absolute;
    top: 45px;
    left: 0;
    max-height: 150px;
    overflow: auto;
    font-size: 14px;
    width: 100%
}

ul.custom-selectbox-options li {
    float: left;
    clear: both;
    padding: 10px 0;
    width: 100%;
    color: #8f8f8f;
    background-color: #fff;
    cursor: pointer
}

ul.custom-selectbox-options li+li {
    border-top: 1px solid #f2f2f2
}

ul.custom-selectbox-options li:hover {
    color: #fff;
    background-color: #4183b7
}

ul.custom-selectbox-options li.disabled,
ul.custom-selectbox-options li.disabled:hover {
    color: #ccc;
    background-color: #e9e9e9;
    cursor: default;
    pointer-events: none
}

.datepicker-wrapper input,
.ui-datepicker-header {
    color: #fff;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 14px
}

.datepicker-wrapper input {
    background-color: transparent;
    cursor: default
}

.ui-datepicker.ui-widget {
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 0;
    width: 250px;
    border: 0;
    background: #f2f2f2
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next,
.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
    width: 15px;
    height: 8px;
    top: 50%;
    background: url(../images/icon_arrow_dw.png) no-repeat;
    -webkit-transform: rotate(90deg) translateY(-50%);
    transform: rotate(90deg) translateY(-50%)
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next {
    top: 8px;
    right: 8px;
    -webkit-transform: rotate(-90deg) translateY(-50%);
    transform: rotate(-90deg) translateY(-50%)
}

.ui-datepicker-header {
    padding: 0;
    background: #699bcd
}

.ui-datepicker.ui-widget table {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background-color: #f2f2f2
}

.ui-datepicker.ui-widget th {
    padding: 5px 0;
    font-size: 16px;
    color: #4183b7
}

.ui-datepicker.ui-widget td {
    padding: 0;
    font-size: 1em;
    color: #8b8b8b;
    border: 1px solid #f2f2f2;
    background-color: #fff
}

.ui-datepicker.ui-widget td a,
.ui-datepicker.ui-widget td span {
    text-align: center;
    padding: 5px;
    color: #8b8b8b
}

.ui-datepicker.ui-widget td:not(.ui-datepicker-unselectable):hover a,
.ui-datepicker.ui-widget td:not(.ui-datepicker-unselectable):hover span {
    background: #4183b7;
    color: #fff
}

.ui-datepicker.ui-widget td.ui-state-disabled,
.ui-datepicker.ui-widget td.ui-state-disabled span {
    color: #e8e8e8
}

.ui-datepicker.ui-widget td a.ui-state-active,
.ui-datepicker.ui-widget td.ui-state-highlight {
    color: #fff;
    background-color: #4183b7
}

.ui-datepicker.ui-widget td.ui-state-highlight a {
    color: #fff
}

.ui-datepicker.ui-widget td.ui-datepicker-other-month,
.ui-datepicker.ui-widget td.ui-datepicker-other-month span {
    color: #d2d2d2;
    background-color: #e9e9e9
}

.mobile-hidden {
    display: none
}



@media screen and (min-width:480px) {
    .news-list .list figure {
        float: left
    }
    .list li {
        margin: 0 10px;
        max-width: 290px
    }
    .gallery-wrapper a {
        width: 50%;
        box-sizing: border-box
    }
}

@media screen and (min-width:768px) {
    .hidden {
        display: none
    }
    header .language a.active,
    header .language>span,
    header a.logo {
        display: inline-block
    }
   
    
    .mag-logo {
        float: right;
        width: 25%
    }
    
   
    
    
    .icon-play {
        padding-top: 66px
    }
    .carousel .item h3 {
        font-size: 30px
    }
    .form-wrapper>* {
        margin-left: auto;
        margin-right: auto;
        max-width: 1124px
    }
    .form-wrapper fieldset {
        position: relative;
        width: 48%;
        margin: 0 1%
    }
    .label-wrapper {
        margin-top: 15px;
        margin-bottom: 50px
    }
    .form_ask .label-wrapper.claim-view+.acc-content {
        margin-bottom: 15px;
        margin-top: -10px
    }
    button.button {
        max-width: 215px
    }
    .list li {
        margin: 0 10px;
        max-width: 290px
    }
    section .rich-text {
        margin: 30px 0;
        -webkit-column-count: 2;
        -webkit-column-gap: 20px;
        -moz-column-count: 2;
        -moz-column-gap: 20px;
        column-count: 2;
        column-gap: 20px;
        vertical-align: top
    }
    section.news-detail .rich-text,
    section.news-list .rich-text {
        font-size: 1em;
        margin: 15px 0;
        -webkit-column-count: 1;
        -webkit-column-gap: 0;
        -moz-column-count: 1;
        -moz-column-gap: 0;
        column-count: 1;
        column-gap: 0;
        vertical-align: top
    }
    section.news-detail .rich-text {
        font-size: 1.214em
    }
    .success-msg {
        font-size: 14px
    }
    .residental_mobile_form_content .success-msg h3,
    .success-msg h3 {
        color: #fff;
        margin-bottom: 0
    }
    .residential_page.flat .residental_image {
        float: left;
        margin-right: 2%;
        width: 68%
    }
    .gallery-wrapper a:nth-child(5n),
    .gallery-wrapper a:nth-child(5n-1),
    .gallery-wrapper a:nth-child(5n-2) {
        width: 33.33%
    }
}

@media screen and (min-width:980px) {
    
    
    .sidebar-tools ul li span,
    .sidebar-tools ul li+li span,
    .sidebar-tools ul li+li+li span {
        background-position: top center;
        background-size: auto auto
    }
    .header-nav,
    .project-inner-detail .content.big-screen .project-content h3 {
        overflow: hidden
    }
    header>div {
        padding: 0
    }
    .header-nav {
        position: static;
        display: inline-block!important;
        border: 0
    }
    header>div>div {
        margin: 0 auto;
        max-width: 100%;
        text-align: center
    }
    header a.logo img {
        max-width: 134px
    }
    header a.logo-royal-city img {
        max-width: 70px
    }
    header a.logo {
        display: none
    }
    #menu li {
        display: inline-block;
        border-left: 0;
        border-bottom: 2px solid transparent
    }
    #menu li.current,
    #menu li:hover {
        border-left: 0;
        border-bottom: 2px solid #4183b7
    }
    #menu li+li {
        border: 0;
        border-left: 0;
        border-bottom: 2px solid transparent
    }
    header .language,
    header a.top-fb {
        margin-bottom: 10px
    }
    header a.top-fb {
        display: block;
        margin-top: 10px
    }
    header .language {
        position: static;
        margin-top: 20px
    }
    .sidebar-tools {
        position: fixed;
        right: 0;
        top: 30%;
        padding: 0;
        height: auto;
        z-index: 2;
        border-bottom: 0
    }
    .sidebar-tools ul {
        display: block;
        overflow: hidden;
        width: 100%
    }
    .sidebar-tools ul li {
        display: block;
        width: 100%;
        max-width: 120px;
        float: left;
        clear: both;
        margin-bottom: 2px
    }
    .sidebar-tools ul li+li {
        border: 0
    }
    .sidebar-tools ul li a {
        line-height: 70px;
        text-align: center
    }
    .sidebar-tools ul li span {
        padding: 33px 15px 0;
        text-align: center;
        font-size: 12px;
        line-height: 1;
        vertical-align: middle
    }
    .residential_page.floor .residental_side_content {
        float: left;
        margin-top: 150px;
        margin-left: -270px
    }
    .residential_page.floor .residental_side_content img {
        border: 1px solid #a4b8c4;
        display: block
    }
    .residential_page.floor .residental_side_content br+img {
        margin-top: 10px
    }
    .residential_page.main .residental_image {
        width: 100%;
        position: relative
    }
    .residential_page .residental_mobile_content {
        font-size: 1.214em;
        clear: left;
        float: left
    }
    .residental_mobile_content tr td+td {
        padding-left: 5px
    }
    .residental_mobile_content sup {
        font-size: 60%
    }
    .big-screen .residental_image a {
        position: relative;
        display: block;
        font-size: 19px;
        background-color: rgba(132, 194, 234, .8);
        transform-origin: 100%;
        opacity: 0
    }
    .big-screen .residental_image a:hover {
        opacity: 1
    }
    .big-screen .residental_image a+span {
        opacity: 0;
        position: absolute;
        left: 100%;
        margin-left: -1px;
        width: 160px;
        padding: 10px 5px;
        font-size: 1.118em;
        text-transform: uppercase;
        text-align: center;
        color: #fff;
        background-color: rgba(132, 194, 234, .9);
        box-shadow: 9px 0 10px rgba(0, 0, 0, .75)
    }
    .big-screen .residental_image #building_5 a+span {
        left: auto;
        right: 100%;
        margin-top: -10%;
        box-shadow: -9px 0 10px rgba(0, 0, 0, .75)
    }
    .big-screen .residental_image a:hover+span {
        opacity: 1
    }
    .big-screen .residental_image>div {
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0
    }
    .project-inner-detail .content.big-screen .project-content {
        padding: 0
    }
    .project-inner-detail .content .sidebar {
        float: left;
        margin-bottom: 20px
    }
    .project-inner-detail .content.big-screen>* {
        display: block
    }
    .project-inner-detail .content.big-screen .residental_map {
        clear: left
    }
    .residential_canvas_wrapper img,
    .residential_page .residental_image img,
    .residential_page.main .residental_image>:not(.mobile) {
        display: block;
        width: 100%;
        height: auto
    }
    .residential_page.main .residental_image>div {
        display: block;
        position: absolute!important
    }
    #menu-mobile,
    .hidden,
    .residental_mobile_content .accordion,
    .residential_page.main .residental_image>.mobile {
        display: none
    }
    .residential_page.flat .residental_image img {
        max-width: 100%;
        width: auto
    }
}

@media screen and (min-width:1024px) {
    header .language>span {
        display: none
    }
    header .language a,
    header .language a.active {
        display: inline-block
    }
    .footer .galaxy-footer-logo+div a+a {
        display: inline-block;
        vertical-align: top
    }
}

@media screen and (min-width:1200px) {
    header a.logo {
        display: inline-block;
        float: right
    }
    .list li {
        background-color: #fff;
        display: inline-block;
        width: 50%;
        max-width: none;
        margin-left: 0;
        margin-right: 0
    }
    .list li figure {
        float: left
    }
    .list li figure:after {
        left: auto;
        right: -2px;
        top: 35%;
        -webkit-transform: rotate(0);
        transform: rotate(0)
    }
}

@media screen and (min-width:1366px) {
    header>div {
        padding: 0 5%
    }
    header>div>div {
        padding: 0
    }
    header a.logo img,
    header a.logo-royal-city img {
        max-width: 100%
    }
    header .language {
        margin: 30px 0
    }
    header a.top-fb {
        margin-top: 20px
    }
    footer .copy {
        margin-top: -10px
    }
}

#landing_page_container .sidebar-tools {
    z-index: 2
}

#landing_page_container header a.top-fb {
    display: block;
    float: left
}

#landing_page_container header .language {
    top: 30px;
    bottom: auto
}

#section_info_container .rich-text {
    font-size: 17px
}

.gallery-title {
    padding: 30px 0;
    font-size: 42px;
    text-align: center;
    text-transform: uppercase
}

.landing-header-img {
    max-height: 400px;
    overflow: hidden
}

.table-wrapper {
    width: 100%;
    height: 100%;
    padding: 120px 0;
    background-image: url(../images/table_image.jpg);
    z-index: -1
}

.table-wrapper table {
    display: inline-block;
    width: auto;
    margin: 0 auto;
    color: #fff;
    overflow: auto;
    white-space: nowrap;
    height: 400px
}

.table-wrapper table thead td {
    background-color: rgba(56, 64, 70, .9)
}

.table-wrapper table td {
    padding: 10px;
    background: #384046;
    border: 1px solid #fff;
    font-size: 16px;
    text-align: center;
    z-index: -1;
    background-color: rgba(56, 64, 70, .7)
}

.table-wrapper table td a {
    text-decoration: underline
}

.success-msg {
    margin-bottom: 20px
}

.cheboxes-wrapper {
    min-height: 325px
}

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

#landing_page_container .slider {
    margin-bottom: 30px;
    font-size: 0;
    background: #f5f5f5
}

.slider .owl-next,
.slider .owl-prev {
    background-image: url(../images/arrow-blue-big.png)
}

.slider-img-left .slider-info-container {
    float: right
}

.slider .apartment-slider .owl-stage-outer {
    max-height: 280px
}

.apartment-slider.owl-carousel.owl-loaded,
.slider-info-container {
    display: inline-block;
    font-size: 14px;
    vertical-align: top
}

.slider-info p {
    font-size: 18px
}

.slider .owl-next,
.slider .owl-prev {
    margin: 5px;
    padding: 16px;
    display: inline-block;
    transition: all .3s
}

.slider .owl-next:hover,
.slider .owl-prev:hover {
    opacity: .6
}

.slider .owl-next {
    -ms-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg)
}

.rich-text.table_sales {
    text-align: center;
    overflow: auto
}

.mobile_hidden {
    display: none
}

@media (min-width:768px) {
    .landing-header-img {
        max-height: 100%;
        overflow: visible
    }
    .table-wrapper table {
        width: auto;
        display: inline-block;
        margin: 0 auto;
        height: 380px;
        overflow-y: scroll;
        overflow-x: hidden
    }
    .slider .apartment-slider .owl-stage-outer {
        max-height: 450px
    }
    .table-wrapper table td {
        padding: 15px;
        font-size: 18px
    }
    .mobile_hidden {
        display: table-cell
    }
}

@media (min-width:1280px) {
    .apartment-slider.owl-carousel.owl-loaded,
    .slider-info-container {
        width: 50%
    }
    .slider-info {
        padding-right: 80px
    }
    .slider-img-right .owl-controls {
        left: -60%
    }
    .slider-img-left .owl-controls {
        right: -60%;
        left: auto
    }
    .slider-img-left .slider-info {
        padding-left: 80px;
        padding-right: 0
    }
    .apartment-slider.owl-carousel.owl-loaded img {
        max-width: 700px
    }
    #menu li a {
        padding: 0 5px
    }
}

@media (min-width:1600px) {
    #menu li a {
        padding: 0 12px
    }
}