.elementor-kit-7{--e-global-color-primary:#FFFFFF;--e-global-color-secondary:#0C0C0C;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-9e23b68:#B39656;--e-global-color-4db8111:#001F3C;--e-global-typography-primary-font-family:"CPN";--e-global-typography-primary-font-size:48px;--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"CPN";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"CPN";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;}.elementor-kit-7 e-page-transition{background-color:#FFBC7D;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){margin-block-end:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}.site-header{padding-right:0px;padding-left:0px;}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS *//*Cookie style*/
#cookie-law-info-bar {
	padding: 10px 20px;
    margin: 12px 20px;
    width: fit-content;
    border-radius: 5px;
}
.cli-bar-btn_container a {
	border-radius: 3px;
}

.cli-tab-footer .wt-cli-privacy-accept-btn {
    background-color: #B39656;
    border-radius: 3px;
}

.cli-switch input:checked + .cli-slider {
    background-color: #B39656;
}

/*custom modal*/
.custom-modal {
  display: none; /* Hidden by default */
  position: fixed;
    height: 100%;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 999;
  /*overflow: auto;*/
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
.modal-content {
  background-color: #FFFFFF;
  /*margin-left: auto;*/
  /*  margin-right: auto;*/
  margin: auto;
  transform: translateY(10%);
  padding: 4em 8em 2em;
  border: 1px solid #888;
  width: 80%; 
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.modal-content img{
    max-width: 282px;
    max-height: 418px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-content h3 {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    text-align: center;
    color: #0C0C0C;
    margin-top: 1.5em;
}
.highlightShortcode .elementor-shortcode{
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
}
.highlightShortcode .elementor-shortcode button{
    flex: 1 0 21%;
    padding: 0;
    background: transparent;
    border: transparent;
    max-width: 275px;
}
.highlightShortcode .elementor-shortcode button:nth-child(even) {
    margin-top: 6em;
}
@media (max-width: 767px) {
    .highlightShortcode .elementor-shortcode button {
        flex: 1 0 41%;
    }
    .modal-content {
        padding: 4em 2em 2em;
    }
    .highlightShortcode .elementor-shortcode{
        gap: 2%;
    }
    .highlightShortcode .elementor-shortcode button:nth-child(even) {
        margin-top: 0;
    }
    .modal-content h3 {

        font-size: 22px;
    }
}

/*Typical Floor plan*/
.typical-plan-container {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3em;
    flex-wrap: wrap;
}
.typical-plan-container > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.typical-plan-container img {
    max-width: 532px;
    object-fit: contain;
}
.typical-plan-container h4 {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #001F3C;
    margin-top: 2em;
}
.typical-plan-container h6 {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #002C34;
    margin-top: -0.75em;
}
.typical-plan-container button {
    flex: 1 0 41%;
    padding: 0;
    background: transparent;
    border: transparent;
    max-width: 532px;
}
.typical-modal {
    display: none;
    min-height: 80%;
}
.typical-modal img {
    max-width: 45%;
    object-fit: contain;
}
.typical-modal h4{
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 28px;
    line-height: 24px;
    color: #001F3C;
    text-align: center;
}
.typical-modal .plan-desc{
    font-family: 'CPN';
    font-style: normal;
}
.typical-modal .plan-desc p strong{
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #001F3C;
}
.typical-modal .plan-desc p{
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #0C0C0C;
}
.typical-modal div {
    width: 100%;
    display: flex;
    justify-content: space-between;
}
.typical-modal .plan-desc {
    display: flex;
    flex-direction: column;
    padding-left: 5em;
}
#typicalPlanModal .dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 7px;
  background-color: #DDDDDD;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
  z-index: 1000;
}
#typicalPlanModal .active, #typicalPlanModal .dot:hover {
  background-color: #0C0C0C;
}
@media (max-width: 767px) {
    .typical-plan-container button, .typical-plan-container button img {
        max-width: 100%;
        width: 100%;
    }
    .typical-plan-container {
        flex-direction: column;
    }
    #typicalPlanModal .modal-content {
        transform: translateY(3%);
        width: 95%;
    }
    #typicalPlanModal {
        overflow: auto;
    }
    .typical-modal div {
        flex-direction: column;
        align-items: baseline;
    }
    .typical-modal img {
        max-width: 100%;
        max-height: 260px;
    }
    .typical-modal .plan-desc {
        padding-left: 0;
    }
}


/*Qtplaces map on Homepage*/
.qtPlaces-container .qtPlaces-list .qtPlaces-entry {
    background-color: #F6F6F6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    padding: 0 0 0 8em;
    background-size: 100px 100px;
    background-repeat: no-repeat;
    background-position: 5% 50%;
    min-height: 118px;
}
.qtPlaces-container .qtPlaces-list .qtPlaces-entry::after {
    background: transparent;
}
.qtPlaces-container .qtPlaces-list .qtPlaces-entry h4 {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 18px;
    color: #0C0C0C !important;
    border-color: transparent !important;
    padding: 0 !important;
}
.qtPlaces-container .qtPlaces-list .qtPlaces-entry p.listdetail {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    color: #0C0C0C !important;
    margin-bottom: 0 !important;
}
.qtPlaces-mapmarker {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 406px !important;
}
.qtPlaces-container .qtPlaces-map .qtPlaces-mapcontainer .qtPlaces-mapmarker.active .qtPlaces-marker-img {
    width: 165px;
    height: 173px;
    left: -60px !important;
}
.markercontents {
    right: -60px !important;
    width: 240px !important;
    padding: 15px !important;
    color: #FFFFFF !important;
    background: rgba(26, 26, 26, 0.65) !important;
    font-family: 'CPN' !important;
    height: 100% !important;
}
.markercontents a {
    color: #fff !important;
}
.markercontents a:hover, .markercontents a:focus, .markercontents a:active {
    color: #B39656 !important;
}
.qtPlaces-container .qtPlaces-list .qtPlaces-entry .roundbtn i {
    display: none;
}
.qtPlaces-container .qtPlaces-list .qtPlaces-entry .roundbtn {
    width: 100%;
    height: 100%;
    background: #2196f3;
    color: #FFF;
    position: absolute;
    top: 0;
    left: 0;
    text-align: center;
    z-index: 3;
    border-radius: 0;
    margin: 0;
    background: transparent !important;
}
.qtPlaces-container .qtPlaces-entry .qtPlaces-tag.active, .qtPlaces-container .qtPlaces-entry a {
    background: transparent;
}
@media (max-width: 767px) {
    .qtPlaces-container {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        align-items: center !important;
        min-height: 696px !important;
    }
    .qtPlaces-list {
        height: 276px !important;
        width: 100% !important;
    }
    .qtPlaces-map {
        height: 410px !important;
        width: 100% !important;
    }
    .qtPlaces-map .qtPlaces-mapcontainer {
        left: 0 !important;
    }
    .qtPlaces-menuswitch {
        display: none !important;
    }
    .qtPlaces-container.qtPlaces-template-2 .qtPlaces-list {
        left: 0 !important;
    }
    /* marker*/
    .qtPlaces-mapmarker {
        top: 100px !important;
        width: 300px !important;
    }
    .qtPlaces-container .qtPlaces-map .qtPlaces-mapcontainer .qtPlaces-mapmarker.active .qtPlaces-marker-img {
        width: 115px !important;
        height: 173px !important;
        left: -50px !important;
    }
    .markercontents {
        width: 202px !important;
        font-size: 0.5rem !important;
    }
}
/*modal*/
.elementor-popup-modal .dialog-widget-content {
    max-width: 996px !important;
    width: 100% !important;
}
.elementor-popup-modal .dialog-message {
    width: 100% !important;
}
/*small modal*/
#elementor-popup-modal-972 .dialog-widget-content {
    max-width: 636px !important;
    width: 100% !important;
}
/*sub-building-nav*/
.sub-nav-menu li.active a span{
    color: #B39656;
    font-weight: 700;
    transition: .5s all ease-out;
}
.custom-logo-link .elementor-widget-container .mobile-chevron {
    display: none;
}
@media (max-width: 1024px) {
    .building-sub-content{
        display: none;
    }
    .building-sub-content .elementor-widget-wrap.elementor-element-populated {
        padding: 0;
        margin-top: -10px;
    }
    .custom-logo-link .elementor-widget-container .mobile-chevron {
        display: contents;
    }
    .custom-logo-link .elementor-widget-container {
        width: 100%;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }
}
.hide-virtual-tour-menu nav ul li:nth-child(5) {
    display: none;
}

/*Gallery page*/
.gallery-container .pages-list {
    display: flex;
    justify-content: flex-start;
}
.gallery-container .pages-list .child-item {
    list-style-type: none;
    background: #FFFFFF;
    filter: drop-shadow(0px 0px 8px rgba(0, 0, 0, 0.12));
    border: 1px solid #FEFEFE;
    box-sizing: border-box;
    border-radius: 5px;
    width: 220px;
    height: 80px;
    margin: 0 0.4em;
}
.gallery-container .current-item {
    border: 2px solid #0C0C0C !important;
}
.gallery-container .pages-list .child-item a {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-container .pages-list .child-item img {
    /*width: 220px;*/
    /*height: 80px;*/
    object-fit: contain;
}

/*tab*/
.project-info-custom-tab .elementor-tab-content {
    border-width: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.project-info-custom-tab .elementor-tab-title {
    background: #fff !important;
    margin: 0 0.5em !important;
    padding: 10px 15px !important;
}
.project-info-custom-tab .elementor-tab-title, .project-info-custom-tab .elementor-tabs-content-wrapper {
    border-width: 0 !important;
    border: none !important;
}
.project-info-custom-tab .elementor-tabs-wrapper {
    justify-content: flex-start !important;
    margin-left: 45% !important;
}
@media (max-width: 1024px) {
    .project-info-custom-tab .elementor-tabs-wrapper {
        justify-content: center !important;
        margin-left: 0 !important;
    }
}
.gallery-tab-system .elementor-tab-title.elementor-active {
    font-weight: 700 !important;
    border-bottom: 2px solid #B39656 !important;
}
.gallery-tab-system .elementor-tab-title {
    padding: 0.25em 0 !important;
    margin: 1.25em !important;
    font-family: 'CPN';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 18px;
    color: #0C0C0C;
    
}
.gallery-tab-system .elementor-tab-content[data-tab="1"] {
    padding: 0 0 2em !important;
}
.gallery-tab-system .elementor-tab-content[data-tab="2"] {
    padding: 1em 10em 2em !important;
}
@media (max-width: 767px) {
    .gallery-tab-system .elementor-tab-content[data-tab="2"] {
        padding: 1em 1em 2em !important;
    }
}
/*gallery photos column*/
.gallery-photos-container {
    display: flex;
    flex-wrap: wrap;
    padding: 4px;
    flex-direction: row;
}
.gallery-photos-container .gallery-row {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 500px;
    max-height: 100%;
}
.gallery-photos-container .gallery-row:nth-child(even) {
    flex-direction: row-reverse;
}
.gallery-photos-container .gallery-row .gallery-item-container {
    /*padding: 4px;*/
}
.gallery-photos-container .gallery-row .gallery-item-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}
.gallery-photos-container > .gallery-row > .gallery-item-container:first-child {
    flex: 50%;
    max-width: 50%;
    height: 100%;
    padding: 4px
}
.gallery-photos-container > .gallery-row > .gallery-item-container:nth-child(2), .gallery-photos-container .gallery-row .right-col {
    flex: 25%;
    max-width: 25%;
    height: 100%;
    padding: 4px;
}
.gallery-photos-container .gallery-row .right-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.gallery-photos-container > .gallery-row > .right-col .gallery-item-container {
    height: 100%;
    width: 100%;
    max-height: 242px;
}
.gallery-photos-container > .gallery-row > .right-col > div:first-child {
    /*margin-bottom: 8px;*/
}
.gallery-photos-container > .gallery-row > .right-col img{
    max-height: 242px;
}
@media (max-width: 767px) {
    .gallery-photos-container .gallery-row {
        flex-direction: column;
        height: 100%;
    }
    .gallery-photos-container > .gallery-row > .gallery-item-container:first-child {
        flex: 1;
        max-width: 100%;
    }
    .gallery-photos-container > .gallery-row > .gallery-item-container:nth-child(2), .gallery-photos-container .gallery-row .right-col {
        flex: 1;
        max-width: 100%;
    }
    .gallery-photos-container .gallery-row:nth-child(even) {
        flex-direction: column;
    }
}


/*custom tab header color*/
.dark-blue-tab .elementor-tab-title.elementor-active, .dark-blue-tab .elementor-tab-title:hover {
    background: #086297 !important;
}
.light-blue-tab .elementor-tab-title.elementor-active, .light-blue-tab .elementor-tab-title:hover {
    background: #0B8EAC !important;
}
.yellow-tab .elementor-tab-title.elementor-active, .yellow-tab .elementor-tab-title:hover {
    background: #F3CF81 !important;
}
.dark-green-tab .elementor-tab-title.elementor-active, .dark-green-tab .elementor-tab-title:hover {
    background: #424F35 !important;
}
.gray-tab .elementor-tab-title.elementor-active, .gray-tab .elementor-tab-title:hover {
    background: #696D6F !important;
}

/*project gallery style*/
.project-gallery-wrapper {
    display: flex;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform;
    gap: 0.25rem;
}
.project-gallery-wrapper .main-img, .project-gallery-wrapper .small-container {
    max-height: 420px;
}

.project-gallery-wrapper .main-img, .project-gallery-wrapper .small-container {
    flex: 1;
}
.project-gallery-wrapper .main-img img {
    min-height: 420px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.project-gallery-wrapper .small-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.25rem;
    width: 100%;
    height: 100%;
}
.project-gallery-wrapper .small-container img {
    min-height: 209px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media (max-width: 767px) {
    .mobile-image-carousel {
        width: 100%;
        max-height: 155px;
    }
    .mobile-image-carousel img {
        width: 100%;
        height: 100%;
        max-height: 100%;
        object-fit: cover;
    }
    .w3-button {
        top: 50%;
    }
}


/*iframe*/
.virtual-tour-iframe {
    width: 100%;
    height: 600px;
}

/*custom pagination*/
.custom-pagination nav {
    margin-top: 4em;
    display: flex;
    justify-content: center;
}
.custom-pagination nav span.prev, .custom-pagination nav span.next {
    display: none;
}
.custom-pagination nav .page-numbers {
    background: #EDEDED;
    /*padding: 0.5rem 1.4rem;*/
    padding: 1rem 1.45rem;
    text-decoration: none;
    float: left;
    border-radius: 100%;
}
.custom-pagination nav .page-numbers:hover {
    background: #B39656;
}
.custom-pagination nav .current {
    background: #B39656;
}

/*all shortcode custom class*/
.die-cut-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.die-cut-image-container img {
    max-height: 620px;
    width: 100%;
    object-fit: cover;
}

.right-building-detail-container .each-buidling-detail {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.right-building-detail-container .each-buidling-detail div {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.right-building-detail-container .each-buidling-detail h2 {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #001F3C;
    margin-left: 0.25em;
}
.right-building-detail-container .each-buidling-detail p, .right-building-detail-container .each-buidling-detail ul li {
    font-family: 'CPN';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #0C0C0C;
}
@media (max-width: 1024px) {
    .die-cut-image-container {
        width: 100% !important;
        max-width: 100%;
    }
    .die-cut-image-container img {
        max-height: 420px;
        width: 100%;
        object-fit: contain;
    }
}
@media (max-width: 767px) {
    .die-cut-image-container img {
        max-height: 400px;
    }
    .right-building-detail-container .each-buidling-detail div {
        align-items: center;
    }
    #greenBuildingTemplate #topHeading {
        padding: 0 !important;
    }
    #floorPlanSection h2 span, #projectGallerySection h2 span, #virtualTourSection h2 span, #locationSection h2 span {
        margin-right: 0 !important;
    }
    #floorPlanSection h2, #projectGallerySection h2, #virtualTourSection h2, #locationSection h2 {
        font-size: 28px;
        line-height: 28px;
        text-align: center;
    }
    #locationSection .elementor-column {
        width: 100%;
    }
    .virtual-tour-iframe {
        height: 400px;
    }
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'CPN';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('http://office.centralpattana.co.th/wp-content/uploads/2022/03/CPN-Regular.woff') format('woff');
}
@font-face {
	font-family: 'CPN';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('http://office.centralpattana.co.th/wp-content/uploads/2022/03/CPN-Bold.woff') format('woff');
}
/* End Custom Fonts CSS */