.ln-tc-grid-section {
   overflow: hidden;
}

.modal {
   display: none;
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100%;
   overflow: auto;
   background-color: rgb(0, 0, 0);
   background-color: rgba(0, 0, 0, 0.4);
   padding-top: 60px;
}

.modal-content {
   background-color: #fefefe;
   /* margin: 5% auto; */
   margin: 0% auto;
   padding: 20px;
   border: 1px solid #888;
   width: 80%;
}

#community-posts-modal .close {
   color: #aaa;
   float: right;
   font-size: 28px;
   font-weight: bold;
   position: sticky;
   top: 0px;
   left: 41px !important;
   transform: translate(28px, -28px);
}

#community-posts-modal .close:hover,
#community-posts-modal .close:focus {
   color: #fff;
   text-decoration: none;
   cursor: pointer;
}

.tc-grid-loader {
   border: 4px solid #f3f3f3;
   border-top: 4px solid #df6452;
   border-radius: 50%;
   width: 40px;
   height: 40px;
   animation: spin 2s linear infinite;
   margin: 20px auto;
}

/* Background blur effect */
#community-posts-modal {
   backdrop-filter: blur(2px);
}

@keyframes spin {
   0% {
      transform: rotate(0deg);
   }
   100% {
      transform: rotate(360deg);
   }
}

/* changing the z index of the footer */
.page-id-246194 footer {
   z-index: -1;
   position: relative;
}

@media screen and (max-width: 768px) {
   .modal-content {
      width: 90%;
   }

   #community-posts-modal .modal-content {
      padding: 18px !important;
   }

   #community-posts-modal .close {
      transform: translate(16px, -10px);
   }

   #community-posts-modal .modal-content #display-community-posts h4 {
      margin-bottom: 8px !important;
   }

   #community-posts-modal .modal-content #display-community-posts p {
      font-size: 16px !important;
   }
}

/* ******************************************************** */
/* ***************** grid stylings start ***************** */
/* ******************************************************** */

.town-center-grid .town-center-grid-inner {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
}

.town-center-grid .town-center-grid-item {
   color: #fff;
   padding: 32px 24px;
   min-height: 440px;
   display: flex;
   align-items: flex-end;
   justify-content: space-between;
   cursor: pointer;
}

/* .town-center-grid .town-center-grid-item-parent:nth-child(1) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(2) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), url(/wp-content/uploads/2024/06/78ac54b22b12709b3262419ae9b67d0f.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(3) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), url(/wp-content/uploads/2024/06/commercial-education-1.jpg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(4) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), url(/wp-content/uploads/2024/06/708bec86f18e71abbcdab937fdb5b20e.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(5) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), url(/wp-content/uploads/2024/06/cb3079dae64c92381ec865739ce313e6.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(6) {
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%), url(/wp-content/uploads/2024/06/997f425fc65ae5ef3fe70271bb51f934.jpeg) lightgray 50% / cover no-repeat;
}

.town-center-grid .town-center-grid-item-parent:nth-child(1):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/4ed9e468a78cb95463163e053aa60c01.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(2):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/78ac54b22b12709b3262419ae9b67d0f.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(3):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/commercial-education-1.jpg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(4):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/708bec86f18e71abbcdab937fdb5b20e.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(5):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/cb3079dae64c92381ec865739ce313e6.jpeg) lightgray 50% / cover no-repeat;
}
.town-center-grid .town-center-grid-item-parent:nth-child(6):hover {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/997f425fc65ae5ef3fe70271bb51f934.jpeg) lightgray 50% / cover no-repeat;
}


@media screen and (max-width: 780px) {
   .town-center-grid .town-center-grid-item-parent:nth-child(1).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(wp-content/uploads/2024/06/4ed9e468a78cb95463163e053aa60c01.jpeg) lightgray 50% / cover no-repeat;
   }
   .town-center-grid .town-center-grid-item-parent:nth-child(2).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/78ac54b22b12709b3262419ae9b67d0f.jpeg) lightgray 50% / cover no-repeat;
   }
   .town-center-grid .town-center-grid-item-parent:nth-child(3).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/commercial-education-1.jpg) lightgray 50% / cover no-repeat;
   }
   .town-center-grid .town-center-grid-item-parent:nth-child(4).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/708bec86f18e71abbcdab937fdb5b20e.jpeg) lightgray 50% / cover no-repeat;
   }
   .town-center-grid .town-center-grid-item-parent:nth-child(5).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/cb3079dae64c92381ec865739ce313e6.jpeg) lightgray 50% / cover no-repeat;
   }
   .town-center-grid .town-center-grid-item-parent:nth-child(6).active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/997f425fc65ae5ef3fe70271bb51f934.jpeg) lightgray 50% / cover no-repeat;
   }
} */

.town-center-grid .town-center-grid-item img {
   cursor: pointer;
   width: 48px;
   height: 48px;
}

.town-center-grid .town-center-grid-item h2 {
   color: inherit;
   font-size: 30px;
   font-style: normal;
   font-weight: 400;
   line-height: 150%; /* 45px */
   cursor: pointer;
   cursor: pointer;
}

.town-center-grid .town-center-grid-item img {
   cursor: pointer;
}

.town-center-grid .town-center-grid-item-parent:nth-child(1) {
   border-radius: 20px 0 0 0;
}

.town-center-grid .town-center-grid-item-parent:nth-child(3) {
   border-radius: 0 20px 0 0;
}

.town-center-grid .town-center-grid-item-parent:nth-child(4) {
   border-radius: 0 0 0 20px;
}

.town-center-grid .town-center-grid-item-parent:nth-child(6) {
   border-radius: 0 0 20px 0;
}

.town-center-grid .town-center-grid-item .category-link {
   cursor: pointer;
}

.town-center-grid-item:hover .category-link {
   transform: rotate(45deg);
}

img.category-link {
   transition: transform 0.3s ease;
}

/* living at lake nona section z index with the popup */
.ln-living-lake-nona-column {
   z-index: 1 !important;
}

/* ********************************************* */
/* ********************************************* */
.swiper.living-slider.swiper-slide {
   background-repeat: no-repeat;
   background-size: cover;
}

/* ******************************************************** */
/* ***************** grid modal stylings start ***************** */
/* ******************************************************** */
#community-posts-modal .modal-content {
   max-width: 1294px;
   border-radius: 20px;
   background-color: #015675;
   border: 1px solid #015675;
   color: #fff;
   padding: 32px;
   max-height: 90vh;
   min-height: 500px;
   overflow-y: auto;
}

#community-posts-modal .modal-content::-webkit-scrollbar {
   width: 10px;
   border-radius: 20px !important;
}

/* Track */
#community-posts-modal .modal-content::-webkit-scrollbar-track {
   background: #e2513b77;
   background: #e2513b77;
   margin-block: 5em;
   border-radius: 100vw;
}

/* Handle */
#community-posts-modal .modal-content::-webkit-scrollbar-thumb {
   background: #e2523b;
   background: #e2523b;
   border-radius: 100vw;
   margin-block: 5em;
}

#community-posts-modal .modal-content #display-community-posts {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
}

#community-posts-modal .modal-content #display-community-posts h4 {
   font-size: 30px;
   font-style: normal;
   font-weight: 400;
   line-height: 150%;
   margin-top: 24px;
   margin-bottom: 16px;
   color: #fff;
}

#community-posts-modal .modal-content #display-community-posts p {
   font-size: 18px;
   font-style: normal;
   font-weight: 400;
   line-height: 26px; /* 144.444% */
   color: #fff;
}

#community-posts-modal .modal-content #display-community-posts img {
   border-radius: 20px;
   display: block;
   max-height: 262px;
   min-height: 262px;
   min-width: 100%;
   object-fit: cover;
}

#community-posts-modal .modal-content .modal-header-container {
   display: flex;
   justify-content: space-between;
   align-items: flex-start;
   margin-bottom: 64px;
}

#community-posts-modal .modal-content .modal-header-container h2 {
   color: #fff;
   font-size: 50px;
   font-style: normal;
   font-weight: 400;
   line-height: 130%; /* 65px */
}

/* ******************************************************** */
/* ***************** grid mobile slider navigation ***************** */
/* ******************************************************** */
.tc-nav-buttons {
   display: none;
}

/* ******************************************************** */
/* ***************** hide header when popup opened ************/
/* ******************************************************** */
body.tc-modal-open {
   overflow: hidden;
}

.tc-modal-open header {
   z-index: -1;
   position: relative;
}

@media screen and (max-width: 780px) {
   .tc-nav-buttons {
      display: flex;
      align-items: center;
      justify-content: flex-end;
      margin-top: 32px;
      gap: 16px;
   }

   .tc-nav-buttons .tc-nav-button {
      width: 48px;
      height: 48px;
      display: flex;
      justify-content: center;
      align-items: center;
      border: 1.5px solid #e2523b;
      border-radius: 100%;
   }

   .town-center-grid .town-center-grid-item.swiper-slide-active {
      background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%), url(/wp-content/uploads/2024/06/78ac54b22b12709b3262419ae9b67d0f.jpeg) lightgray 50% / cover no-repeat;
   }
}

@media screen and (max-width: 1100px) {
   #community-posts-modal .modal-content #display-community-posts,
   .town-center-grid .town-center-grid-inner {
      grid-template-columns: 1fr 1fr;
   }

   .town-center-grid .town-center-grid-item h2 {
      font-size: 18px;
      font-style: normal;
      font-weight: 400;
      line-height: 26px; /* 144.444% */
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(1) {
      border-radius: 20px 0 0 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(2) {
      border-radius: 0 20px 0 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(3) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(4) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(5) {
      border-radius: 0 0 0 20px;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(6) {
      border-radius: 0 0 20px 0;
   }

   .town-center-grid .town-center-grid-item .category-link {
      cursor: pointer;
   }
}

@media screen and (max-width: 780px) {
   #community-posts-modal .modal-content #display-community-posts {
      grid-template-columns: 1fr;
   }

   .town-center-grid .town-center-grid-inner {
      display: flex;
      /* gap: 13px; */
      flex-wrap: nowrap;
   }

   .town-center-grid .town-center-grid-item {
      min-height: 272px;
      /* min-width: 268px; */
      /* width: auto !important; */
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(1) {
      border-radius: 20px 0 0 20px;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(2) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(3) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(4) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(5) {
      border-radius: 0;
   }

   .town-center-grid .town-center-grid-item-parent:nth-child(6) {
      border-radius: 0 20px 20px 0;
   }

   .town-center-grid .town-center-grid-item .category-link {
      width: 29px;
      height: 29px;
   }

   #community-posts-modal .modal-content .modal-header-container {
      margin-bottom: 32px;
   }

   #community-posts-modal .modal-content .modal-header-container h2 {
      font-size: 30px;
      font-style: normal;
      font-weight: 400;
      line-height: 130%; /* 39px */
   }

   #community-posts-modal .modal-content #display-community-posts h4 {
      font-size: 26px;
      font-style: normal;
      font-weight: 400;
      line-height: 40px; /* 39px */
   }
}

/* grid prev and nexy buttons animation */
.tc-nav-buttons .town-center-grid-button-prev::before {
   display: block;
   content: url(/wp-content/uploads/2024/06/grid-slider-left.svg);
   position: relative;
   top: -1px;
   right: 0px;
   font-family: swiper-icons;
   font-size: var(--swiper-navigation-size);
   text-transform: none !important;
   letter-spacing: 0;
   text-transform: none;
   font-variant: initial;
   line-height: 0;
}

.tc-nav-buttons .town-center-grid-button-next::before {
   display: block;
   content: url(/wp-content/uploads/2024/06/grid-slider-right.svg);
   position: relative;
   top: -1px;
   right: 0px;
   font-family: swiper-icons;
   font-size: var(--swiper-navigation-size);
   text-transform: none !important;
   letter-spacing: 0;
   text-transform: none;
   font-variant: initial;
   line-height: 0;
}

.tc-nav-buttons .town-center-grid-button-prev:hover::before {
   animation: MoveLeftInitial 0.25s forwards, MoveLeftEnd 0.25s forwards 0.25s;
}

.tc-nav-buttons .town-center-grid-button-next:hover::before {
   animation: MoveRightInitial 0.25s forwards, MoveRightEnd 0.25s forwards 0.25s;
}

.town-center-grid .swiper-slide {
   user-select: none !important;
}

@media screen and (min-width: 769px) {
   .town-center-grid .swiper-slide {
      width: auto !important;
      margin: 0 !important;
   }
}

.towncenter-living-at-ln-slider-sec .et_pb_row:last-child {
   display: flex;
}

.towncenter-living-at-ln-slider-sec .et_pb_row:last-child:after {
   display: none;
}

.towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column {
   margin: 0px !important;
}

.towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:last-child {
   width: auto;
   max-width: 64%;
}

.towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:first-child {
   padding: 0% 5%;
   width: 36% !important;
   min-width: 36% !important;
}

@media only screen and (min-width: 1600px) {
   .towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:first-child {
      padding: 0% 5% 0% 10%;
      width: 36% !important;
      min-width: 36% !important;
   }
}

@media only screen and (min-width: 1920px) {
   .towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:first-child {
      padding: 0% 5% 0% 12.5%;
      width: 36% !important;
      min-width: 36% !important;
   }
}

@media only screen and (max-width: 1024px) {
   .towncenter-living-at-ln-slider-sec .ln-living-slider-row {
      display: flex;
      flex-direction: column;
   }
   .towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:last-child {
      width: auto;
      max-width: 100%;
      padding: 0% 0% 0% 5%;
   }

   .towncenter-living-at-ln-slider-sec .ln-living-slider-row .et_pb_column:first-child {
      padding: 0% 5%;
      width: 100% !important;
      min-width: 100% !important;
   }
}

.page-id-246283 .et_pb_section_4,
.page-id-246283 .et_pb_section_5,
.page-id-246283 .et_pb_section_6,
.page-id-246283 .et_pb_section_7,
.page-id-246283 .et_pb_section_8,
.page-id-246283 .et_pb_section_9 {
   z-index: -3 !important;
}

.town-center-grid-item-parent {
   position: relative;
   background-size: cover;
   background-repeat: no-repeat;
}

/* .town-center-grid .town-center-grid-item-parent:nth-child(4) {
	background-position: -22em -18em !important;
    background-size: 1200px !important;
} */

.town-center-grid-item-parent::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: linear-gradient(0deg, rgba(1, 86, 118, 0.7) 0%, rgba(1, 86, 118, 0.7) 100%);
   z-index: initial;
   border-radius: inherit;
}

.town-center-grid-item-parent:hover::before {
   background: linear-gradient(0deg, rgba(226, 82, 59, 0.88) 0%, rgba(226, 82, 59, 0.88) 100%);
}

@media screen and (max-width: 780px) {
   .town-center-grid-item-parent::before {
      z-index: -1;
   }
}
