﻿.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.banner-upcoming {
    position: relative;
}

.banner-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}

.banner-text-overlay p {
    color: #fff !important;
    font-size: 6rem;
    font-family: 'GraphikTH-SemiBold';
    margin: 0;
}

@media screen and (max-width: 992px) {
    .banner-text-overlay p {
        font-size: 4rem;
        letter-spacing: 1px;
    }
}

#slider .slider-project img {
    clip-path: ellipse(70% 100% at 50% 100%);
    width: 100%;
    display: block;
}

@media screen and (max-width: 991px) {
    #slider .slider-project img {
        clip-path: ellipse(85% 100% at 50% 100%);
    }
}

@media screen and (max-width: 767px) {
    #slider .slider-project img {
        clip-path: ellipse(90% 100% at 50% 100%);
    }
}

p, ul, ol {
    font-family: "GraphikTH-regular";
}

.project-upcoming {
    padding: 60px 0 !important;
}

.upcoming-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.upcoming-tabs a.tab {
    background-color: #fff;
    color: #000;
    border: 2px solid #0053B5;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.5rem;
    font-family: "GraphikTH-SemiBold";
    transition: all 0.3s ease;
}

.upcoming-tabs a.tab:hover, .upcoming-tabs a.tab.active {
     background-color: #0053B5;
     color: #fff;
     transition: all 0.3s ease;
}

.upcoming-concept {
    background-image: url(../img/upcoming/sansiri-upcomming-newproject-highlight-bg.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    padding: 80px 0 240px 0;
}

.upcoming-concept .headline {
    position: relative;
}

.upcoming-concept p, .upcoming-concept li {
    font-family: "GraphikTH-regular";
}

    .upcoming-concept .headline p {
        font-size: 2rem;
        position: absolute;
        top: 45%;
        left: 38%;
    }

.upcoming-concept h2 {
    font-family: "GraphikTH-SemiBold";
    font-size: 3.6rem;
}

    .upcoming-concept h2 span.bigtxt {
        font-size: 6rem;
        display: block;
    }

.upcoming-concept h3 {
    font-family: "GraphikTH-SemiBold";
    font-size: 2rem;
}

.upcoming-concept p {
    font-family: "GraphikTH-regular";
    font-size: 1.6rem;
}

.upcoming-concept a {
    font-family: "GraphikTH-SemiBold";
    text-decoration: none !important;
}

.upcoming-concept ul.proptag {
    list-style: none;
}

    .upcoming-concept ul.proptag li {
        background-color: #000;
        display: inline-block;
        border-radius: 15px;
        padding: 5px 8px;
        font-family: 'GraphikTH-SemiBold';
        margin-right: 10px;
        margin-bottom: 10px;
    }

    .upcoming-concept ul.proptag li a{
        color: #fff;
    }

    .upcoming-concept ul.proptag li.disabled {
        cursor: not-allowed;
    }

    .upcoming-concept ul.proptag li.disabled span {
        color: #fff;
        cursor: not-allowed;
    }

@media screen and (max-width: 1199px) {
    .upcoming-concept h2 {
        font-size: 3rem;
    }

    .upcoming-concept .headline p {
        left: 45%;
    }
}

@media screen and (max-width: 991px) {
    .upcoming-concept {
        padding: 60px 0 240px 0;
    }

    .upcoming-concept .headline p {
        left: 22%;
    }
}

@media screen and (max-width: 767px) {
    .upcoming-concept .headline p {
        left: 30%;
    }
}

@media screen and (max-width: 500px) {
    .upcoming-concept .headline p {
        left: 45%;
    }
}

    #slider{
        margin-top: -220px;
    }

.location-section {
    background-color: #F3F6FE;
    padding: 60px 0;
}

.location-section-wrap {
    width: 100%;
    max-width: 1550px;
    margin: auto;
}

.location-section .location-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-img {
    width: calc((346 / 375) * 100vw);
    max-width: 100%;
    margin: 30px auto;
}

.location-section .location-list {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
}

.location-section .location-head {
    background-color: #0053B5;
    color: white;
    padding: 8px 16px;
}

.location-section .location-head p {
    font-family: "GraphikTH-SemiBold";
    color: white;
    margin-bottom: 0;
}

.location-section .location-content {
    padding: 16px;
}

.location-section .location-content p {
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: "GraphikTH-Regular";
    margin-bottom: 0;
}

.location-section .location-content ul {
    padding-left: 18px;
}

.location-section .head-group p {
    font-family: "GraphikTH-SemiBold";
}

.location-section .head-group.city p {
    color: #F94700;
}

.location-section .head-group.local p {
    color: #FCC3D2;
}

.location-slider-container {
    width: 100%;
    padding-left: 10px;
}

.location-slider > div {
    padding-right: 30px;
}

.location-slider .location-item {
    margin-right: 15px;
}

.location-slider .location-item a {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: black;
    display: block;
}

.location-slider .location-item .text {
    font-family: "GraphikTH-SemiBold";
    font-size: 1.5rem;
}

.location-slider .loc-img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.location-slider .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.location-slider .slick-prev, .slick-next {
    border: none;
}

.location-slider .slick-prev:before, .slick-next:before {
    background-size: 22px auto;
}



.section-register a:hover, .action-center a:hover, .seemore-btn:hover {
    text-decoration: none !important;
}

a.santh-button:after {
    background-size: 320px 179px;
    background-position: -134px -37px;
}

.santh-luxury .relate-content .see-more a.highlight-link {
    font-family: "GraphikTH-SemiBold" !important;
    text-decoration: underline;
    color: #0053B5;
}

.seemore-btn:after {
    top: 2px !important;
    transform: rotate(0deg) !important;
}

.section-register .box-inner {
    position: relative;
    background: #fff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem;
}

.section-register .or {
    text-align: center;
    margin-bottom: 60px;
    border-bottom: 1px solid #d7dbdf;
}

.section-register .or span {
    font-family: "GraphikTH-SemiBold";
    font-size: 2rem;
    color: #193148;
    background-color: #FFF;
    display: inline-block;
    padding: 0 15px;
    margin: 0 auto;
    position: relative;
    top: 11px;
}

.section-register .form-register .action-button {
    margin-top: 60px;
    text-align: center !important;
}

.card-container {
    overflow:hidden;
}

.card-project {
    width: 100%;
    display: block;
    padding: 0;
    background-color: #fff;
    border-radius: 10px !important;
    box-shadow: 0 0 8px rgba(193, 193, 193, .5);
    margin-bottom: 30px;
    overflow: hidden;
}

.card-project .card-image {
    position: relative;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    height: calc((113 / 320) * 100vw);
}

.card-project .card-image img {
    display: block;
    max-width: 100%;
    width: 100%;
}

.card-project .card-content {
    padding: 30px 20px 100px;
    position: relative;
}

.card-project .tag {
    position: absolute;
    top: -18px;
    left: 20px;
    padding:7px 20px;
    font-family: 'GraphikTH-semibold';
    color: #fff!important;
    border-radius: 30px;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    background: #1d4d9d;
}

.card-project .card-content .c-color {
    display: block;
    width: 52px;
    height: 5px;
    left: unset;
    bottom: 0;
}

.card-project .card-content .project-name h3 {
    margin: 0;
    color: #162e46;
    font-family: "GraphikTH-SemiBold";
    font-size: 2.2rem;
    line-height: 1.4;
}

.card-project .card-content .project-desc p {
    padding: 0;
    margin: 0 0 30px 0;
    font-size: 1.5rem;
    line-height: 1.6;
    font-family: "GraphikTH-Regular";
    color: #6e6e6e;
    margin-bottom: 0;
}

.card-project .card-bottom {
    display: flex;
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    justify-content: space-between;
    align-items: center;
}

.card-project .project-price {
    font-family: 'GraphikTH-SemiBold';
    font-size: 1.3rem;
    background-color: #F2F2F2;
    border-radius: 10px;
    display: block;
    text-align: center;
    padding: 10px 30px;
}

.card-project .project-price .price {
    font-family: "GraphikTH-SemiBold";
    font-size: 2.5rem;
}

.card-project .icon-next {
    background: url(https://sansiri-com-frontend.s3.ap-southeast-1.amazonaws.com/assets/img/ico/ico-more-b.svg) no-repeat;
    width: 47px;
    height: 47px;
    margin-left: auto;
    display: block;
    transition: all 0.2s;
}

.card-project .icon-next:hover {
    background: url(https://sansiri-com-frontend.s3.ap-southeast-1.amazonaws.com/assets/img/ico/ico-more-b-hover.svg) no-repeat;
    transition: all 0.2s;
}

.card-project.highlight .icon-next {
    margin-left: unset;
}

.card-project.highlight .card-image {
    height: auto;
    max-height: unset!important;
}

.btn-view-more-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-view-more-wrap .btn-view-more {
    font-family: "GraphikTH-SemiBold";
    color: #0053b5;
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 16px;
    border: 2px solid #0053b5;
}

.btn-view-more-wrap .btn-view-more:hover {
    color: #fff;
    background-color: #0053b5;
}

.btn-view-more-wrap .btn-view-more .icon-arrow-down {
    width: 11px;
    height: 7px;
    display: inline-block;
    background-image: url(../img/ico/ico-detail.svg);
    background-repeat: no-repeat;
    filter: brightness(0) saturate(100%) invert(19%) sepia(66%) saturate(3361%) hue-rotate(203deg) brightness(94%) contrast(101%);
}

.btn-view-more-wrap .btn-view-more:hover .icon-arrow-down {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(100deg) brightness(1000%) contrast(100%);
}

.section-register form .field span.error {
    font-family: "GraphikTH-Regular";
    font-size: 1.3rem;
    pointer-events: none;
    transition: all .3s ease;
    text-transform: uppercase;
    color: #ea5236;
}

.form-control.error, .form-control.valid {
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    border-bottom: 1px solid #d7dbdf !important;
}

.santh-content-privacy p {
    font-family: "GraphikTH-regular";
    color: #000000;
    font-size: 1.35rem;
    line-height: 1.5;
}

.section-register .title-register {
    color: #000000!important;
    font-size: 1.5rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.section-register span.soon {
    color: #F94700;
    display: inline-block;
    padding: 0;
    vertical-align: inherit;
    margin-left: 2px;
}

@media screen and (max-width: 992px) {
    .card-project.highlight .icon-next {
        margin-left: auto;
    }
}

@media screen and (min-width: 481px) {
    .location-slider-container {
        padding-left: 30px;
    }

    .card-project .card-image {
        height: calc((158 / 480) * 100vw);
    }
}

@media screen and (min-width: 641px) {
    .location-slider-container {
        padding-left: 15px;
    }
}

@media screen and (min-width: 768px) {
    .location-img {
        width: 640px;
        height: 356px;
    }

    .location-section .location-list {
        width: 50%;
    }

    .location-section .location-wrap {
        flex-direction: row;
    }
}

@media screen and (min-width: 992px) {
    .card-project .card-image {
        height: 240px;
    }
}

@media screen and (min-width: 1024px) {
    .card-project.highlight {
        display: flex;
        align-items: center;
    }

    .card-project.highlight .card-bottom {
        position: unset;
        flex-direction: column;
        align-items: start;
    }

    .card-project.highlight .card-image {
        width: 50%;
        border-radius: 10px 0 0 10px;
    }

    .card-project.highlight .card-content {
        width: 50%;
        padding: 0 40px;
    }

    .card-project.highlight .tag {
        position: unset;
        margin-bottom: 10px;
        display: inline-block;
    }

    .card-project.highlight .project-price {
        margin: 15px 0;
    }
}

@media screen and (min-width: 1200px) {

    .location-section-wrap {
        position: relative;
        display: flex;
        justify-content: flex-end;
    }

    .location-section .santh-container {
        max-width: unset;
    }

    .location-img {
        width: calc((560 / 1200) * 100vw);
        height: calc((311.67 / 1200) * 100vw);
        max-width: 800px;
        max-height: 445px;
        margin: 0;
        position: absolute;
        left: 0;
        bottom: 30px;
        z-index: 1;
    }

    .location-section .location-wrap {
        width: calc((780 / 1200) * 100vw);
        max-width: 925px;
        justify-content: end;
    }

    .location-section .location-list:nth-child(2) {
        width: 45%;
    }

    .location-slider > div {
        padding-right: 0;
    }

    .location-slider-container {
        margin: auto;
        padding: 0 40px;
        position: relative;
        max-width: 1420px;
    }

    .location-slider-container .slick-slider {
        position: unset;
    }

    .location-slider .location-item {
        margin: 0 10px;
    }

    .card-project .card-image {
        height: calc((295 / 1200) * 100vw);
        max-height: 334px;
    }

    .card-project.highlight .project-price {
        margin: 20px 0;
    }

    .card-project.highlight .card-content {
        padding: 20px 60px;
    }

    .card-project.highlight .tag {
        margin-bottom: 20px;
    }

    .card-project.highlight .card-image {
        height: 524px;
    }

    .card-project.highlight .card-image img {
        height: 100%;
        width: auto;
        max-width: unset;
        left: 50%;
        transform: translateX(-50%);
        position: relative;
    }
}

@media screen and (min-width: 1480px) {
    .location-img {
        bottom: 0;
    }

    .location-section .location-list:nth-child(2) {
        width: 50%;
    }
}

@media screen and (min-width: 1680px) {
    .location-section-wrap {
        margin-top: 30px;
    }
}

@media screen and (min-width: 1920px) {
   .location-img {
        width: 926px;
        height: 515px;
        max-width: unset;
        max-height: unset;
        bottom: -40px;
    }

    .location-section-wrap {
        max-width: 1640px;
        margin-top: 60px;
    }

    .location-section .location-wrap {
        width: calc((925 / 1920) * 100vw);
        gap: 30px;
    }
}

@media screen and (max-width: 600px) {
    .card-project .icon-next {
        width: 30px;
        height: 30px;
        display: block;
        transition: all 0.2s;
        background-size: contain;
    }

    .card-project .project-price .price, .card-project .card-content .project-name h3 {
        font-size: 1.5rem;
    }

    .card-project .card-content .project-desc p {
        font-size: 1.3rem;
    }

    .card-project .tag {
        font-size: 1.1rem;
        top: -15px;
        left: 15px;
        padding: 5px 10px;
    }

    .card-project .card-bottom {
        left: 15px;
        right: 15px;
    }

    .card-project .card-content {
        padding: 20px 15px 80px;
    }

    .card-project .project-price {
        padding: 8px 10px;
    }

    .card-project.highlight .card-content .project-name h3 {
        font-size: 20px;
    }

    .card-project.highlight .tag {
        font-size: 1.4rem;
        top: -18px;
        padding: 7px 15px;
    }

    .card-project.highlight .project-price {
        font-size: 1.5rem;
    }

    .card-project.highlight .project-price .price {
        font-size: 2rem;
    }

    .card-project.highlight .project-price {
        padding: 8px 20px;
    }

    .section-register .box-inner {
        padding: 15px;
    }

    .section-register .form-register .accordion-content {
        padding: 0 5px;
    }

    .section-register .form-register .accordion-content .row-project {
        padding: 15px 0;
    }

    .section-register .form-register .accordion {
        padding: 10px 20px;
    }

    .section-register form label .s-location {
        font-size: 13px;
    }
}

/** Upcoming read more detail **/
.upcoming-informational-text .santh-container {
        border-top: 1px solid #e6e6e6;
        border-bottom: 1px solid #e6e6e6;
    }

    .upcoming-informational-text h2, .upcoming-informational-text h3 {
        font-family: GraphikTH-semibold;
        line-height: 1.5;
    }

    .upcoming-informational-text h3 {
        font-size: 1.5rem;
    }

    .upcoming-informational-text ul li {
        padding: 0 0 10px 0;
    }

    .upcoming-informational-text ul {
        margin-left: -2rem !important
    }

    @media screen and (max-width: 768px) {
        .upcoming-informational-text .santh-container {
            width: 90%;
        }

        .santh-section {
            padding: 0;
        }
    }

    .upcoming-content-preview {
        max-height: 500px;
        overflow: hidden;
        position: relative;
    }

    @media screen and (max-width: 767px) {
        .upcoming-content-preview {
            max-height: 250px;
        }

        .upcoming-content-preview::after {
            height: 100px;
        }
    }

    .upcoming-content-preview::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 150px;
        pointer-events: none;
        z-index: 1;
    }

    .upcoming-content-preview.expanded {
        max-height: none;
        overflow: visible;
    }

    .upcoming-content-preview.expanded::after {
        display: none;
    }

    .read-more-content {
        display: none;
    }

    .read-more-content.active {
        display: block;
    }

    .upcoming-read-more-btn {
        display: block;
        color: #0053b5 !important;
        text-decoration: none;
        font-family: GraphikTH-semibold !important;
        font-size: 1.5rem;
        margin: 20px 0;
        cursor: pointer;
        border: 1px solid #0053b5;
        padding: 5px 15px;
        border-radius: 25px;
        text-align: center;
        width: fit-content;
    }

        .upcoming-read-more-btn:after {
            position: relative;
            content: "";
            display: inline-block;
            top: 7px;
            right: -7%;
            height: 15px;
            width: 20px;
            background-image: url('(../../../img/ico/ico-detail.svg');
            -webkit-transition: all 0.2s;
            -o-transition: all 0.2s;
            -moz-transition: all 0.2s;
            transition: all 0.2s;
            background-repeat: no-repeat;
            filter: brightness(0) saturate(100%) invert(23%) sepia(98%) saturate(1749%) hue-rotate(199deg) brightness(87%) contrast(106%);
        }

/*** SLICK ***/

#slider .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
    gap: 10px;
}

.slider-project .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

#slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: transparent;
    font-size: 0;
    line-height: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

    #slider .slick-dots li button:before {
        display: none;
    }

#slider .slick-dots li.slick-active button {
    background: #000;
    border-color: #000;
}

.slider-project .slick-prev,
.slider-project .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    z-index: 5;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.slider-project .slick-arrow:before {
    display: none !important;
}

.slider-project .slick-prev {
    left: -7%;
    background-image: url('https://www.sansiri.com/assets/img/product/custom-content/sansiri-aptakeover-arrow-left.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    border: 1px solid #000;
    border-radius: 20px;
}

.slider-project .slick-next {
    right: -7%;
    background-image: url('https://www.sansiri.com/assets/img/product/custom-content/sansiri-aptakeover-arrow-right.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30%;
    border: 1px solid #000;
    border-radius: 20px;
}

    .slider-project .slick-prev:hover,
    .slider-project .slick-next:hover {
        opacity: 0.8;
    }

@media (max-width: 767px) {
    .slider-project .slick-prev, .slider-project .slick-next {
        width: 32px;
        height: 32px;
    }
}

/****** table ******/
.upcoming-informational-text table {
    text-align: center;
}

.upcoming-informational-text a {
    color: #0053b5
}

.upcoming-informational-text .table-head {
    background-color: #C7D2DE;
    padding: 20px 25px;
    color: #000;
    font-family: GraphikTH-semibold !important;
    min-width: 217px;
}

.upcoming-informational-text .table-content {
    background-color: #f5f5f5;
    padding: 20px 25px;
    vertical-align: top;
}

.upcoming-informational-text th, td {
    border: 1px solid #fff;
}
