:root {
    --blue: #609BFF;
    --yellow: #FFC107;
    --grey-stroke: #ced4da;
}

.obj-fit-cover{
    object-fit: cover;
}

/* Completed Tag */
.complete_tag {
    height: 5%;
    font-size: 0.688rem;
    background-color: var(--blue);
    border-radius: 3px;
}

a:hover {
    text-decoration: none;
}

.property-title {
    font-weight: 400;
    font-size: 2.25rem;
    line-height: 2.74rem;
}

.property-section-title {
    padding-top: 30px;
    font-weight: 500;
    font-size: 1.625rem;
    line-height: 1.98rem;
}

.content,.property-nav td a {
    font-weight: 500;
}

.details-blue-title, .details-content {
    padding-top: 3px;
    font-size: 1rem;
    line-height: 1.22rem;
    font-weight: bold;
}

.details-blue-title {
    color: var(--blue);
}

.details-content {
    font-weight: 500;
}

img.building-icon {
    width: 13%;
    height: 75%;
}

img.facility-building-icon {
    width: 30px;
    height: 70%;
}

.slick-slider-img{
    height: 25rem;
}

/* Swiper */
.swiper {
    width: 100%;
    height: 25rem;
}

.swiper-slide {
    text-align: center;
    font-size: 1.125rem;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide img {
    display: flex;
    /*width: 100%;*/
    height: 100%;
    object-fit: scale-down;
}

/* Container */
.content-container {
    background-color: #f6f6f6;
    width: 100%;
    margin: 0;
    padding: 70px 100px;
}

/* Tab Bar */
.nav-bar td, .floor-plan-bar td, .rental-nav-bar td {
    margin: 0;
}

.nav-bar td:first-child, rental-nav-bar td:first-child {
    border-right: 2px solid var(--blue);
}

.nav-bar td:last-child {
    border-left: 2px solid var(--blue);
}

.nav-bar td a, .rental-nav-bar td a {
    font-size: 0.875rem;
    font-weight: 500;
    color: black;
    text-decoration: none;
}

.tab-type {
    cursor: pointer;
}

.floor-plan-bar td span {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.22rem;
}

.floor-plan-bar td.col-md-2:nth-child(3) {
    flex: 0 0 13.667% !important;
    max-width: 13.667% !important;
}

.floor-plan-bar td.col-md-2:last-child {
    flex: 0 0 19.667% !important;
    max-width: 19.667% !important;
}

.floor-plan-bar td {
    padding-right: 0;
}

.floor-plan-bar td:last-child {
    padding-top: 3px;
}

tr.nav-row {
    border: 2px solid var(--blue);
}

tr.row {
    margin-right: -14px;
}

.nav-bar td.active, .rental-nav-bar td.active {
    background-color: var(--blue);
}

.nav-bar td.active a, .rental-nav-bar td.active a {
    color: white;
}

.view-analysis {
    background-color: var(--blue);
    color: white;
    border: none;
    font-size: 0.8125rem;
    line-height: 0.95rem;
    font-weight: 900;
    padding: 2% 10%;
}

img.floorPlan-img {
    height: 800px;
    max-height: 800px;
    object-fit: cover;
}

a.download-link {
    color: #000;
    text-decoration: underline!important;
    cursor: pointer;
    float: right;
    line-height: 1.22rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
}

/* #analysis label {
    line-height: 1.22rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
} */

/* Disable increment or decrement spinner on number input*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.layout-desc p{
    margin-bottom: 0.5rem;
    line-height: 1.22rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 4px;
}

.tooltip {
    position: relative;
    display: inline-flex;
    opacity: 1;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 200px;
    background-color: #fff;
    color: #000;
    text-align: center;
    border-radius: 2px;
    padding: 10px;
    border: 1px solid #000;
    font-size: 0.8rem;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
    top: -90px;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.details {
    color: var(--blue);
    font-weight: 700;
    line-height: 1.56rem;
    font-size: 1rem;
    letter-spacing: 4px;
}

.area-analysis-container{
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    width: 100%;
    border: 1px solid var(--grey-stroke);
    border-radius: 20px;
    padding: 1rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.area-analysis-icon{
    position: absolute;
    top: 1rem;
    right: 0;
}

b-grey bg-white br-10
.whole-unit-rental-summary-container div div div{
    border: 0;

}

iframe{
    border: 1px solid var(--grey-stroke);
    background: grey;
}

@media screen and (min-width: 768px) {
    .main-page.quickstart {
        flex: 0 0 83.333333% !important;
        max-width: 83.333333% !important;
    }
}

@media screen and (min-width: 992px) {
    .area-analysis-container{
        flex-direction: row;
        border: 0;
        border-radius: 0;
        padding: 0;
        margin-bottom: 0;
    }

    .area-analysis-container span{
        color: black !important;
    }

    .area-analysis-icon{
        display: none;
    }

    .whole-unit-rental-summary-container{
        border-radius: 20px;
        border: 1px solid var(--grey-stroke);
    }

    .whole-unit-rental-summary-container div div div{
        border: 1px solid var(--grey-stroke);
        background: white;
        border-radius: 10px;
    }

    .airbnb-summary-container > div > div {
        border: 1px solid var(--grey-stroke);
        border-radius: 10px;
        align-items: center;
    }
}

@media screen and (min-width: 1400px) {
    .content-container {
        padding: 70px 200px;
    }
}

@media screen and (min-width: 1600px) {
    .content-container {
        padding: 70px 300px;
    }
}

@media screen and (min-width: 1800px) {
    .content-container {
        padding: 70px 400px;
    }
}

@media screen and (min-width: 2000px) {
    .content-container {
        padding: 70px 500px;
    }
}

@media screen and (max-width: 1080px) {
    img.building-icon {
        width: 16%;
        height: 68%;
    }
}

@media screen and (max-width: 1024px) {
    .floor-plan-bar td span {
        font-size: 0.875rem;
        line-height: 1rem;
    }

    .floor-plan-bar td:last-child {
        padding-top: 6px;
    }

    img.floorPlan-img {
        height: 600px;
        max-height: 600px;
    }
}

@media screen and (max-width: 990px) {
    .content-container {
        padding: 70px 50px !important;
    }

    .tooltip .tooltiptext-2 {
        left: -100px;
        top: -75px
    }

    .details-blue-title, .details-content {
        padding-top: 3px;
        font-size: 0.813rem;
        line-height: 1rem;
        font-weight: bold;
    }

    img.building-icon {
        width: 14%;
        height: 65%;
    }

    /*.floor-plan-bar tr.row {margin-right: 0}*/
    .floor-plan-bar td span {
        font-size: 0.8rem !important;
    }

    .floor-plan-bar td.col-md-6 {
        flex: 0 0 47% !important;
    }

    .floor-plan-bar td.col-md-2:first-child {
        flex: 0 0 18.667% !important;
        max-width: 18.667% !important;
    }

    .floor-plan-bar td.col-3:nth-child(2) {
        flex: 0 0 14.667% !important;
        max-width: 14.667% !important;
    }

    .floor-plan-bar td.col-md-2:last-child {
        flex: 0 0 19.667% !important;
        max-width: 19.667% !important;
    }
}

@media screen and (max-width: 900px) {
    img.building-icon {
        width: 18%;
        height: 70%;
    }

}

@media screen and (max-width: 768px) {
    img.building-icon {
        width: 20%;
        height: 73%;
    }

    .layout-column {
        padding-right: 0;
    }

    .percentage, .developer-data {
        padding-bottom: 20px;
    }

    .tooltip .tooltiptext {
        left: -120px;
    }

    .tooltip .tooltiptext-2 {
        left: -100px;
        top: -75px
    }

    .nav-bar td:first-child {
        padding-top: 1%;
    }

    .floor-plan-bar td.col-md-6 {
        flex: 0 0 40% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(2) {
        flex: 0 0 21.667% !important;
        max-width: 21.667% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(3) {
        flex: 0 0 17.667% !important;
        max-width: 17.667% !important;
    }

    .floor-plan-bar td.col-md-2:last-child {
        flex: 0 0 20.667% !important;
        max-width: 20.667% !important;
    }

    img.floorPlan-img {
        height: 400px;
        max-height: 400px;
    }
}

@media screen and (max-width: 735px) {
    img.building-icon {
        width: 20%;
        height: 70%;
        max-height: 70%;
    }

    img.floorPlan-img {
        height: 500px;
        max-height: 500px;
    }
}

@media screen and (max-width: 655px) {
    img.building-icon {
        width: 20%;
        height: 55%;
        max-height: 55%;
    }


    .tooltip .tooltiptext {
        left: 30px;
    }
}

@media screen and (max-width: 592px) {
    img.building-icon {
        padding-top: 4px;
        width: 14%;
        height: 65%;
    }

    .nav-bar td:first-child {
        padding-top: 1%;
    }

    .details {
        font-size: 1.1rem;
    }

    .floor-plan-bar td.col-md-6 {
        flex: 0 0 37% !important;
        max-width: 37% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(2) {
        flex: 0 0 21.667% !important;
        max-width: 21.667% !important;
    }


    .floor-plan-bar td.col-md-2:nth-child(3) {
        flex: 0 0 19.667% !important;
        max-width: 19.667% !important;
    }

    .floor-plan-bar td.col-md-2:last-child {
        flex: 0 0 21.667% !important;
        max-width: 21.667% !important;
        padding-left: 5px;
    }

    .floor-plan-bar td:last-child span {
        padding-top: 1.2%;
    }

    img.floorPlan-img {
        height: 400px;
        max-height: 400px;
    }
}

@media screen and (max-width: 550px) {
    h1.analysis-section-title {
        font-size: 1.8rem;
        text-align: center;
    }

    a.download-link {
        font-size: 0.7rem;
        float: none;
        text-align: center;
    }

    .tooltip .tooltiptext {
        left: -5px;
    }

    .tooltip .tooltiptext-2 {
        left: -150px;
    }

    .rental-nav-bar td:first-child {
        padding-top: 1.5%;
        padding-bottom: 1.5%;
    }


    .floor-plan-bar td.col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(2), .floor-plan-bar td.col-md-2:nth-child(3),
    .floor-plan-bar td.col-md-2:last-child {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }
}

@media screen and (max-width: 500px) {
    .content-container {
        padding: 40px 40px 20px !important;
    }

    .details-blue-title, .details-content {
        padding-top: 3px;
        font-size: 0.625rem;
        line-height: 0.625rem;
        font-weight: bold;
    }

    .rental-nav-bar td:last-child{
        line-height: 2.8rem;
    }

    img.building-icon {
        padding-top: 3%;
        width: 12%;
        height: 78%;
    }

    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-top: 1.5%;
        padding-bottom: 1.5%;
    }

    .nav-bar td:first-child a, .nav-bar td:last-child a {
        vertical-align: sub;
    }

    #selected_layout_type, .installment-row {
        display: block;
    }

    img.floorPlan-img {
        height: 300px;
        max-height: 300px;
    }

    .floor-plan-bar td {
        padding: 0 8px;
    }

    .floor-plan-bar td span {
        font-size: 0.875rem !important;
    }

    .floor-plan-bar td:first-child span {
        font-size: 0.875rem !important;
        line-height: 1rem;
    }

    .floor-plan-bar td:last-child {
        padding-top: 6px;
    }

    .floor-plan-bar td.col-12 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .floor-plan-bar td.col-5 {
        flex: 0 0 33% !important;
        max-width: 33% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(2), .floor-plan-bar td.col-md-2:nth-child(3),
    .floor-plan-bar td.col-md-2:last-child {
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }

    .floor-plan-bar td.col-4 {
        flex: 0 0 35% !important;
        max-width: 35% !important;
    }

    .content {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 450px) {
    .floor-plan-bar td:first-child span {
        font-size: 0.6875rem !important;
    }

    .floor-plan-bar td span {
        font-size: 0.63rem !important;
    }

    .floor-plan-bar td.col-md-2:last-child {
        padding-right: 0;
    }
}

@media screen and (max-width: 400px) {
    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-top: 4% !important;
    }

    .nav-bar td a, .rental-nav-bar td a {
        font-size: 0.75rem;
    }

    .nav-bar td:first-child a, .nav-bar td:last-child a {
        vertical-align: sub;
    }

    .details {
        font-size: 0.8rem;
        line-height: 1rem   ;
    }

    /* p, span {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    } */

    .tooltip .tooltiptext {
        left: 0;
    }

    .tooltip .tooltiptext-2 {
        left: -100px;
    }

    .property-title {
        font-weight: 400;
        font-size: 2rem;
        line-height: 2.533rem;
    }

    .property-section-title {
        padding-top: 30px;
        font-weight: 500;
        font-size: 1.25rem;
        line-height: 1.563rem;
    }

    img.building-icon {
        padding-top: 4%;
        width: 17%;
        height: 58%;
    }


    .col-5 {
        flex: 0 0 55%!important;
        max-width: 55%!important;
    }

    .view-analysis {
        padding: 3% 30%;
    }

    /*.developer p.details, .supply p.details {*/
    /*    margin-bottom: 0;*/
    /*}*/
}

@media screen and (max-width: 380px) {
    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-top: 10px !important;
    }

    img.building-icon {
        width: 15%;
        height: 55%;
    }
}


@media screen and (max-width: 360px) {
    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-top: 3% !important;
        padding-left: 12px;
    }

    .tooltip .tooltiptext {
        left: -25px;
    }

    .tooltip .tooltiptext-2 {
        left: -120px;
    }
}

@media screen and (max-width: 320px) {
    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-left: 8px
    }

    .content-container {
        padding: 40px 30px 20px !important;
    }

    img.building-icon {
        width: 18%;
        max-height: 58%;
    }

    .rental-nav-bar td:last-child{
        line-height: 1.2rem;
    }

    .floor-plan-bar td:first-child span {
        font-size: 0.62rem !important;
    }

    .floor-plan-bar td span {
        font-size: 0.57rem !important;
    }

    img.floorPlan-img {
        height: 250px;
        max-height: 250px;
    }

}

@media screen and (max-width: 290px) {
    .nav-bar td a {
        font-size: 0.5625rem;
    }

    .rental-nav-bar td a {
        font-size: 0.7rem;
    }

    p {font-size: 0.8rem}

    .rental-nav-bar td:last-child{
        line-height: 2.5rem;
    }

    h1.analysis-section-title {
        font-size: 1.4rem;
        text-align: center;
    }

    a.download-link {
        font-size: 0.5rem;
    }

    .details {
        font-size: 0.7rem;
        line-height: 1rem;
        letter-spacing: 2px;
    }

    .tooltip .tooltiptext {
        left: -60px;
    }

    .tooltip .tooltiptext-2 {
        left: -130px;
    }

    .developer-data {
        padding-bottom: 8px;
    }

    .nav-bar td:first-child, .nav-bar td:last-child {
        padding-top: 4.5% !important;
    }

    .floor-plan-bar td.col-md-2:last-child {
        padding-top: 2% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(3),
    .floor-plan-bar td.col-md-2:last-child {
        padding: 0;
        flex: 0 0 31% !important;
        max-width: 31% !important;
    }

    .floor-plan-bar td.col-md-2:nth-child(2) {
        padding-right: 0;
        flex: 0 0 38% !important;
        max-width: 38% !important;
    }

    .floor-plan-bar td:first-child span,  .floor-plan-bar td span {
        font-size: 0.5rem !important;
    }

    .property-nav td.col-4:nth-child(2) {
        padding-left: 15px !important;
    }

    .property-nav td.col-4:first-child, .property-nav td.col-4:last-child {
        padding-left: 9px !important;
    }

    img.building-icon {
        width: 20%;
        max-height: 48%;
    }
}

/* Fix image and table of CKEDITOR to 100% width */
#cash_flow_description img, #supply_analysis_description img, #additional_information img {
    width: 100% !important;
    height: 100% !important;
}

#cash_flow_description, #supply_analysis_description, #additional_information {
    width: 100%!important;
}

#cash_flow_description table, #supply_analysis_description table, #additional_information table {
    width: 100%!important;
}

canvas {
    height: 650px;
    width: 70%;
    margin-bottom: 1rem;
}

footer {
    display: none
}

.vh-40{
    height: 40vh;
}

.red {
    color: red;
}

.green {
    color: #048502;
}

.fs-inherit {
    font-size: inherit !important;
}

#i {
    width: 30%;
}

@media screen and (max-width: 1024px) {
    #i {
        width: 30%;
        padding: 0 !important;
    }

    canvas {
        height: 400px;
        width: 80%;
    }
}

@media screen and (max-width: 550px) {
    #i {
        padding-top: 2%;
        width: 25%;
    }

    canvas {
        height: 350px;
        width: 120%;
        /*transform: translateX(-8%);*/
    }
}

@media screen and (max-width: 500px) {

    canvas {
        height: 350px;
        width: 110%;
        /*transform: translateX(-5%);*/
    }
}

@media screen and (max-width: 380px) {
    canvas {
        height: 350px;
        width: 120%;
        /*transform: translateX(-8%);*/
    }
}

@media screen and (max-width: 280px) {
    canvas {
        height: 350px;
        width: 130%;
        /*transform: translateX(-12%);*/
    }

    #cash_flow_description table td, #supply_analysis_description table td, #additional_information table td{
        font-size: 0.7rem;
    }
}


