@import url('https://fonts.googleapis.com/css?family=Cairo:300,400,600,700&subset=arabic');
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700');

/* Globals */

html,
body {
    height: 100%;
    min-height: 100%;
    margin-top: 0 !important;
    margin: 0;
    padding: 0;
}

.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

* html .clearfix {
    zoom: 1;
}


/* IE6 */

*:first-child+html .clearfix {
    zoom: 1;
}


/* IE7 */

.clear {
    clear: both;
    display: block;
    content: "";
}

.hidden {
    display: none !important;
}

.wrapper {
    height: 100%;
}

.container {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}


/* Header */

.header {
    position: relative;
}

body.page.page-template-template-floorplans .header {
    height: 100%;
    min-height: 100%;
}

body.page.page-template-template-floorplans .header .header-banner {
    height: 100%;
    min-height: 100%;
}


/* Explore */

.explore .header,
.explore .header .header-banner {
    min-height: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
}

.explore .header .floor-image .item {
    width: 94%;
    margin: auto;
    display: table;
    right: 0;
    bottom: 0;
    height: auto;
}

.explore .header .floor-image .item>h3 {
    color: #FFF;
    text-transform: uppercase;
    font-family: 'Cairo';
    font-weight: 400;
    margin-top: 30px;
    text-align: center;
}

h2.explore-header-inner>div {
    display: inline-block;
    text-align: left;
    margin-top: 10px;
}

h2.explore-header-inner span {
    font-weight: 300;
    margin-right: 15px;
    font-style: italic;
    font-family: 'Cairo';
    text-transform: none;
    font-size: 20px;
    display: block;
    line-height: 4px;
    margin-top: 7px;
}

.explore-header .floor-image .item .image-container {
    overflow: hidden;
}

.explore .header .floor-image .item img {
    max-height: 400px;
    margin: 0 auto;
    display: table;
}

.explore .header .floor-image .carousel-control {
    z-index: 10000;
    color: #1c75bc;
}

.explore .header .floor-image .carousel-control>span {
    margin-top: -35px;
}

.explore .header .header-banner .explore-header {
    height: 100%;
    min-height: 100%;
    background: #243a52;
}

.explore .header .header-banner .explore-header .explore-building {
    height: 100%;
    min-height: 100%;
    width: 50%;
    float: left;
}

@media (max-width:768px) {
    .explore .header .header-banner .explore-header .explore-building {
        width: 100%;
        float: none;
    }
}

.explore .header .header-banner .explore-header .explore-building .building {
    display: table;
    position: absolute;
    bottom: 0;
    left: 0;
}

.explore .header .header-banner .explore-header .explore-building .building {
    background: url('../images/floor-building.png') no-repeat bottom center;
    background-size: 100%;
    width: 600px;
    height: 785px;
}

.explore .explore-content {
    height: 100%;
    min-height: 100%;
    display: table;
    padding: 0;
    /*width: 50%;*/
    width: 477px;
    direction: rtl;
}

@media (max-width:768px) {
    .explore .explore-content {
        width: 100%;
        float: none;
    }
}

.explore .explore-content .explore-inner {
    display: table-cell;
    vertical-align: middle;
}

.explore .explore-content .explore-inner h2 {
    color: #FFF;
    text-transform: uppercase;
    font-size: 2.5em;
}

.explore .explore-content .explore-inner p {
    font-family: 'Cairo';
    font-weight: 400;
    color: #FFF;
    font-size: 2.2em;
    line-height: 1.2;
}

.explore #floors {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin-bottom: -25px;
}

.explore #floors path {
    cursor: pointer;
}

.explore #floors path:hover,
.explore #floors path.active,
.explore #floors text.active,
.explore #floors rect.active {
    fill-opacity: 1 !important;
    opacity: 1 !important;
}

.explore #floors path:before {
    display: block;
    width: 20px;
    height: 20px;
}

.floors-active .explore-inner {
    display: none !important;
}

.floor-gallery.active:before {
    opacity: 1;
    transition: opacity ease 0.6s;
    z-index: 999;
}

.floor-gallery:before {
    transition: all ease 0.6s;
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
    content: "إنقر واسحب";
    background: url(../images/icon-gesture.png) no-repeat center center rgba(0, 0, 0, 0.77);
    z-index: -1;
    height: 100%;
    width: 100%;
    color: white;
    padding-top: 46%;
    font-weight: bold;
    background-size: 32px;
    font-size: 13px;
}


/*.floors-active .floors-gallery {
    display: inline-block;
}*/

.floors-gallery {
    background: rgba(0, 0, 0, 0.2);
    display: none;
    width: 100%;
    height: 100%;
}

.floors-gallery .floor-item {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    overflow: hidden;
}

.floors-gallery .title-bar {
    background: rgba(28, 117, 188, 0.4);
    display: table;
    width: 100%;
}

.floors-gallery h2 {
    font-family: 'Cairo';
    float: left;
    display: table;
    color: #FFF;
    text-align: left;
    margin: 0;
}

.floors-gallery h2 span {
    float: left;
    padding: 10px;
}

.floors-gallery h2 label {
    float: left;
    padding: 19px 7px 2px;
    position: relative;
}

.floors-gallery h2 label:after {
    display: block;
    content: "";
    border-bottom: 1px solid #FFF;
    width: 85%;
    height: 1px;
    position: absolute;
    bottom: -5px;
}

.floors-gallery .title-bar .seperator {
    border-right: 1px solid #000;
    margin-right: 10px;
}

.floors-gallery .floor-title {
    display: inline;
    color: #FFF;
    font-size: 18px;
}

.floors-gallery .floor-btns {
    float: right;
    display: inline;
}

.floors-gallery .floor-btns .back {
    display: table;
    font-size: 15px;
    background: rgba(0, 0, 0, 0.5);
    margin: 4px 20px 0 0;
    text-transform: uppercase;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 7px 21px;
}

.floors-gallery .floor-btns>a {
    color: #FFF;
    font-size: 23px;
    position: relative;
    padding: 13px 10px;
    cursor: pointer;
    font-weight: lighter;
    float: left;
}

.floors-gallery .floor-btns>a:hover {
    text-decoration: none;
    opacity: 0.4;
}

.floors-gallery .floor-btns>a.fa-search-plus {
    margin: 0 10px 0 0;
}

.floors-gallery .floor-btns>a.fa-search-plus:after {
    display: table;
    content: "";
    border-right: 1px solid #000;
    width: 1px;
    height: 55px;
    position: absolute;
    top: -2px;
    right: -8px;
}

.floors {
    display: block;
    width: 100%;
    height: 100%;
    margin: auto;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
}

.floors img {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    max-height: 550px;
    margin: 0 auto;
}

.floors .carousel-inner {
    display: table;
}

.floors .carousel-inner .item {
    -webkit-transition: all .1s ease-in-out;
    -moz-transition: all .1s ease-in-out;
    -ms-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    position: relative;
}

.floors-gallery .floor-item.active {
    display: block;
}

.floors-gallery .floor-item.visible {
    display: block;
}

.floors .gallery-image {
    position: relative;
    display: table;
    margin: 0 auto;
    overflow: hidden;
}

.floors .gallery-image .overlay {
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    bottom: -100%;
    left: 0;
    height: 100%;
    width: 100%;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-transition: all .8s ease-in-out;
    -moz-transition: all .8s ease-in-out;
    -ms-transition: all .8s ease-in-out;
    -o-transition: all .8s ease-in-out;
    transition: all .8s ease-in-out;
}

.floors .gallery-image .overlay .overlay-inner {
    position: absolute;
    display: table;
    top: 0;
    bottom: 0;
    margin: auto;
    color: #FFF;
    padding: 0 20px;
}

.floors .gallery-image:hover .overlay {
    bottom: 0;
}

.disclaimer {
    position: absolute;
    bottom: 0;
    width: 100%;
    color: #FFF;
    background: rgba(0, 0, 0, 0.3);
    font-size: 12px;
    line-height: 1.5;
    padding: 10px;
    margin: 0;
}

.units-btn {
    width: 90%;
    margin: 20% auto 0;
    position: absolute;
    left: 0;
    right: 0;
}

.unit-btn {
    font-family: 'Cairo';
    background: rgba(28, 117, 188, 0.4);
    color: #FFF !important;
    padding: 10px 12px;
    font-size: 24px;
    text-decoration: none;
    display: block;
    margin: 0 auto 20px;
    text-align: center;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.unit-btn:hover {
    text-decoration: none;
    color: #FFF;
    background: rgba(0, 0, 0, 0.3);
}

.floor-gallery-wrap {
    height: 100%;
    max-width: 100%;
}

.floor-gallery-wrap .floor-image {
    display: none;
    overflow: hidden;
    height: 85%;
}

.floor-gallery-wrap .floor-image.active {
    display: block;
}

.floor-gallery-wrap .floor-image>img {
    display: block;
    max-width: 90%;
    max-height: 600px;
    margin: 10% auto 0;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

#floors {
    cursor: pointer;
}

.floor-form {
    width: 100%;
    height: 100%;
    position: absolute;
    display: block;
    z-index: 999999;
    background: rgba(0, 0, 0, 0.7);
}

.floor-form>h2 {
    background: rgba(28, 117, 188, 0.4);
    color: #FFF;
    text-transform: uppercase;
    padding: 7px 10px;
    font-weight: 300;
}

.floor-form p {
    display: table;
    margin: 70px auto 0;
    color: #FFF;
    max-width: 500px;
    text-align: center;
}

.floor-form ul {
    width: 100%;
    max-width: 50%;
    margin: 20px auto 0;
}

.floor-form label {
    display: none !important;
}

.floor-form input[type='text'],
.floor-form input[type='email'],
.floor-form textarea {
    background: #FFF;
    width: 100% !important;
    max-width: 100% !important;
    color: #23527c;
    padding: 10px !important;
}

.floor-form textarea {
    height: 100px;
    resize: none;
}

.floor-form input[type='submit'] {
    background: rgba(28, 117, 188, 0.4);
    color: #FFF;
    border: none;
}

.floor-form input[type='submit']:hover {
    background: rgba(0, 0, 0, 0.4);
}

.floor-form ul li {
    margin: 0 0 15px 0;
    list-style: none;
}

.floor-form::-webkit-input-placeholder {
    color: #23527c;
}

.floor-form:-moz-placeholder {
    color: #23527c;
}

.floor-form::-moz-placeholder {
    color: #23527c;
}

.floor-form:-ms-input-placeholder {
    color: #23527c;
}


/********
Floor Plans Naji
***********/

#rp-box-content-top h1 {
    margin-bottom: 0;
    font-family: 'Cairo';
    font-size: 30px;
}

#rp-box-content-top {
    background: rgb(28, 75, 115);
    border-left: 10px solid rgba(255, 255, 255, 0.62);
    margin-left: -10px;
    color: #fff;
    padding: 10px;
}

.rp-box-description .gform_fields li {
    width: 50%;
    float: left;
    clear: none !important;
}

.rp-box-description .gform_fields li:last-child {
    width: 100% !important;
    clear: both !important;
}

.rp-box-description {
    position: absolute;
    color: #fff;
    top: 0;
    max-height: 100%;
    overflow: auto;
    width: 100%;
    padding: 0 15px;
}

.rp-box-description .gform_wrapper .top_label .gfield_label {
    margin: .625em 0 0em;
    font-weight: 400;
    display: -moz-inline-stack;
    display: inline-block;
    line-height: 1;
    clear: both;
    font-size: 13px;
}

.rp-box-description em {
    font-style: normal;
    display: block;
    text-align: left;
    margin: 20px 0 0px;
    font-size: 20px;
}

.rp-box-description {
    text-align: left;
}

.rp-box-description i {
    font-size: 13px;
    font-family: 'Cairo';
}

.rp-box-description .gform_wrapper .top_label input.medium,
.gform_wrapper .top_label select.medium,
.rp-box-description .gform_wrapper .top_label textarea {
    width: 98%;
    padding: 0;
    border-radius: 2px;
    background: #bfc9d2;
    font-size: 14px;
    transition: all ease 0.3s;
    color: #000;
    max-height: 100px;
}

.rp-box-description .gform_wrapper .top_label input:focus,
.rp-box-description .gform_wrapper .top_label textarea:focus {
    background-color: #fff !important;
    transition: all ease 0.3s;
}

.rp-box-description .gform_wrapper .top_label .gfield_error {
    width: 50%;
}

.rp-box-description .gform_wrapper li.gfield.gfield_error.gfield_contains_required {
    margin-top: 0 !important;
    margin-bottom: 0!important;
}

.rp-box-description .gform_wrapper li.gfield.gfield_error,
.rp-box-description .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent;
    margin-bottom: .375em!important;
    padding: 0;
    border-top: 1px solid #C89797;
    border-bottom: 1px solid #C89797;
}

.rp-box-description .gform_wrapper li.gfield.gfield_error.gfield_contains_required div.ginput_container,
.rp-box-description .gform_wrapper li.gfield.gfield_error.gfield_contains_required label.gfield_label {
    margin-top: 0 !important;
}

.rp-box-description .gform_wrapper .gfield_description.validation_message,
.rp-box-description .gform_wrapper .top_label .gfield_description.validation_message {
    padding: 0 !important;
    margin-top: 0 !important;
    font-size: 12px;
    color: #cc6a6a;
    border-bottom: 0 none;
}

.rp-box-description .gform_wrapper li.gfield.gfield_error,
.rp-box-description .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning {
    background-color: transparent;
    margin-bottom: 0 !important;
    padding: 0;
    border-top: 0;
    border-bottom: 0;
}

.rp-box-description .gform_wrapper .gfield_error .gfield_label {
    color: #cc6a6a;
}

.rp-box-description .gform_wrapper div.validation_error {
    color: #a25b5b;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 0;
    border-top: 0;
    border-bottom: 0;
    padding: 4px 0;
    clear: both;
    width: 97.5%;
    background: #e8c0c0;
    text-align: center;
    margin: 7px;
    box-sizing: border-box;
}

body .rp-box-description .gform_wrapper label.gfield_label+div.ginput_container {
    margin-top: 0;
}

html.no-js {
    margin-top: 0 !important;
}

#rp-box-content,
#rp-box-subcontent {
    width: 100%;
    text-align: center;
    cursor: grabbing !important;
    cursor: -webkit-grabbing !important;
    cursor: -moz-grabbing !important;
}

.disclaimer {
    width: 97%;
    border-top: 1px solid #666;
    padding: 10px;
    color: #999;
    font-size: 12px;
    line-height: 14px;
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
}

#rp-box {
    background: black;
    position: absolute;
    z-index: 9999;
    right: 2%;
    top: 2%;
    height: 96%;
    width: 50%;
    display: none;
    transform: translateY(100%);
    transition: translateY ease 0.5s;
}

.floor-gallery {
    margin-left: 12%;
    padding: 2%;
    position: absolute;
    top: 0;
    left: 0;
    max-height: 100%;
}

.tools li a {
    display: block;
    color: #fff;
    font-size: 22px;
    padding: 11px 22px;
    line-height: 33px;
    border-right: 1px solid #4b7598;
    background: rgb(28, 75, 115);
}

.tools {
    position: absolute;
    top: 0;
    right: 0;
    color: #fff;
    margin: 0;
    padding: 0;
}

.tools li:last-child a {
    border: 0 none;
}

.tools li {
    display: inline;
    margin-right: 0px;
    float: left;
}

#rp-box.active {
    transform: translateY(0%);
    transition: translateY ease 0.5s;
    display: block;
}

.page-template-template-floorplans .header .header-banner .explore-header .explore-building .building {
    background-image: none;
}

.rp-box-content .units-btn {
    width: 10%;
    position: absolute;
    left: 10px;
    right: auto;
    top: 5%;
    border-right: 5px solid #a9baca;
    min-height: 50%;
    margin-top: 0;
}

.rp-box-inner {
    max-height: 100%;
    overflow: hidden;
}

.rp-box-content {
    display: block;
    position: relative;
    padding-top: 70%;
}

.rp-box-content img {
    max-height: 100%;
    max-width: 100%;
}

#lang_sel {
    position: absolute;
    /* right: 284px; */
    top: 15px;
    z-index: 100000;
    left: 50%;
    margin-left: -75px;
    margin-bottom: -15px;
    width: 100px;
}

#lang_sel ul ul {
    width: 100%;
    position: relative;
    top: 1px;
    border: 0px !important;
}

#lang_sel ul .lang_sel_sel:after {
    content: "\25BC";
    position: relative;
    font-size: 10px;
    float: right;
}

#lang_sel ul a span {
    font-weight: 300 !important;
    font-family: 'Cairo';
}

#lang_sel ul a {
    font-weight: 300;
    font-size: 13px;
    text-transform: uppercase;
    background: #0174BD !important;
    background-image: linear-gradient(-180deg, #0A9FFE 0%, #0174BD 100%) !important;
    ;
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.050) !important;
    ;
    border: 0px;
    color: #fff !important;
    font-weight: 100;
    width: 111px;
    padding: 5px 10px;
    border-radius: 2px;
}

#lang_sel ul ul a {
    background-image: none !important;
    border-radius: 0px;
    padding: 10px;
    margin-top: -2px;
}

#lang_sel li {
    width: 111px;
}

#lang_sel.icl_rtl {
    left: 50% !important;
}

#lang_sel.icl_rtl ul .lang_sel_sel:after {
    float: left;
}

.rp-box-content .units-btn a.unit-btn {
    font-family: 'Cairo';
    background: rgba(28, 117, 188, 0.4);
    color: #FFF !important;
    padding: 5px 5px;
    font-size: 20px;
    text-decoration: none;
    display: block;
    margin: 0 auto 10px;
    text-align: center;
    border-radius: 5px 0 0 5px;
    -webkit-border-radius: 5px 0 0 5px;
    -moz-border-radius: 5px 0 0 5px;
    padding: 10px 0;
    line-height: 20px;
}

.floor-image {
    display: none;
}

.rp-box-content .units-btn a.unit-btn span {
    font-size: 12px;
    line-height: 12px;
    display: block;
}

.rp-box-content .units-btn a.unit-btn.active {
    background: rgb(169, 186, 202);
}

#floor_plan_parent,
#subfloor_plan_parent {
    position: relative;
    overflow: hidden;
}

#floor_plan_parent svg,
#subfloor_plan_parent svg {
    max-width: 100%;
    top: 0;
    left: 0;
}

.rp-plan-container {
    position: absolute;
    max-width: 100%;
    bottom: 0;
    left: 5%;
}

#floor_plan_image,
#subfloor_plan_image {
    min-height: 100%;
    max-height: 90vh;
    width: auto !important;
}

.rp-plan-inner {
    margin-left: -30px !important;
    margin-right: -30px !important;
    transition: all 0.3s linear;
}

#subfloor_plan_parent {
    display: none;
}

#tooltip img {
    max-width: 100%;
    margin-bottom: 5px;
}

#tooltip {
    position: absolute;
    visibility: hidden;
    left: 0px;
    padding: 5px 10px;
    top: 0px;
    z-index: 9999;
    color: #1a73ba;
    border-bottom: 0;
    font-weight: bold;
    border-radius: 2px;
    box-shadow: rgb(9, 9, 9) 0px 0px 2px;
    background: rgb(255, 255, 255);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    text-transform: none;
    max-width: 220px;
    overflow: hidden;
    opacity: 0;
    transition: visibility 0s linear 0.5s, opacity 0.5s linear;
}

#tooltip.tshow {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s linear 0.1s, opacity 0.1s linear;
}

.floor-popup-close {
    display: none;
}

.floor-popup-close a {
    color: #FFF !important;
}


/* Static Floorplans */

.floorstatic .explore-header-inner {
    color: #FFF;
    text-align: center;
    margin-top: 80px;
}

.floorstatic .static-content ul {
    margin-bottom: 20px;
}

.floorstatic .logged-in .explore-header-inner {
    margin-top: 100px;
}

.floorstatic .static-content {
    color: #FFF;
    padding-top: 80px;
}

.floorstatic .logged-in .static-content {
    padding-top: 100px;
}

.floorstatic .rp-box {
    display: none !important;
}

.floorstatic .static-content h2 {
    text-align: left
}

.floorstatic .static-content h5 {
    margin-bottom: 5px;
}