/* TMG News Home Page ------- START ---------*/
/* ===== Scrollbar CSS ===== */
/* Firefox */
* .community-grid-items .grid-item-content p,
.content-post-v1 p,
.tmgNews .post-name a {
  overflow: hidden;
  text-transform: normal;
  font-family: Montserrat;
}
::-webkit-scrollbar {
  width: 13px;
}
::-webkit-scrollbar-track {
  background: #fff;
}
::-webkit-scrollbar-thumb {
  background-color: #ce952e;
  border-radius: 8px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-thumb:active {
  background-color: #003462;
  border-radius: 8px;
  border: 3px solid #fff;
}
::-webkit-scrollbar-thumb:focus {
  background-color: #003462;
  border-radius: 8px;
  border: 3px solid #fff;
}
html {
  scroll-behavior: smooth;
}
.page-header .entry-title {
  visibility: hidden;
}
body {
  background-color: #00000003;
}
.tmgNews .post-grid-v1 {
  position: relative;
}
.tmgNews .post-grid-v1 a.back-image {
  display: block;
  width: 100%;
  overflow: hidden;
}
.building-slider .building-slide .content h2,
.facilities-slider .facilities-slide .content h2 {
  color: #fff;
  background-image: linear-gradient(#ce952e, #ce952e);
  width: fit-content;
  padding: 10px 0;
  background-size: 0 100%;
  background-repeat: no-repeat;
  transition: 0.4s;
}
.tmgNews .post-grid-v1 a.back-image .post-image {
  width: auto;
  height: 100%;
  background-color: #000;
  background-position: center;
  background-size: cover;
}
svg.arrow {
  margin-left: 7px;
  margin-top: 4px;
}
.content-post-v1 {
  background-color: #fff;
  padding: 15px;
  display: flex;
  flex-direction: column;
  align-content: center;
  align-items: flex-start;
  justify-content: center;
  border: 0 solid;
  height: auto;
  margin: 15px 0;
}
.tmgNews .post-grid-v1 .post-image:hover {
  transform: scale(1.2);
}
.tmgNews:hover .post-image:not(:hover) {
  filter: saturate(50%);
  opacity: 0.4;
}
.tmgNews .post-name a {
  color: #003462;
  text-overflow: ellipsis;
  font-size: 23px;
  font-style: normal;
  font-weight: 500;
}
.tmgNews .read-more {
  color: #003462;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  display: flex;
  align-items: center;
  margin-top: 15px;
  font-family: Montserrat;
}
.content-post-v1 p {
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.partners .elementor-image-carousel .swiper-slide-image {
  padding: 10px 20px;
  height: auto !important;
  width: 260px;
  object-fit: cover;
}
.partners .swiper-pagination {
  display: flex;
}
.partners .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 0;
  background: #e3e3e3;
}
.single-post .tmgNews:hover .post-image:not(:hover) {
  filter: saturate(100%);
  opacity: 1;
}
#elementor-popup-modal-940 .dialog-message {
  width: 1024px;
}
.community-grid-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4%;
  flex-direction: row;
  margin-bottom: 40px;
}
.community-grid-items .grid-item-content,
.community-grid-items .grid-item-image {
  width: 48%;
}
.community-grid-items:nth-child(odd) .grid-item-image {
  order: 2;
}
.community-grid-items:nth-child(odd) .grid-item-content {
  order: 1;
}
.community-grid-items .grid-item-content h2 a {
  color: #313131;
  font-family: Montserrat;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}
.community-grid-items .grid-item-content h4 {
  color: #ce952e;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
}
.community-grid-items .grid-item-content p {
  color: #000;
  font-size: 16px;
  font-weight: 400;
}
.community-grid-items .grid-item-image {
  transition: 0.4s;
}
.building-slider .building-slide:hover,
.community-grid-items .grid-item-image:hover,
.facilities-slider .facilities-slide:hover {
  transform: scale(0.99);
}
.community-grid-items .grid-item-image img {
  height: 400px;
  object-fit: cover;
  width: 100%;
}
.building-slider .building-slide,
.facilities-slider .facilities-slide {
  height: 400px;
  background-size: cover !important;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: 0.5s;
}
.building-slider .building-slide .content,
.facilities-slider .facilities-slide .content {
  color: #fff;
  padding: 20px;
  position: relative;
}
.facilities-slider .facilities-slide .content h2 {
  font-size: 24px;
}
.building-slider .building-slide .content h5,
.facilities-slider .facilities-slide .content h5 {
  color: #fff;
  font-size: 18px;
  font-weight: 300;
}
.building-slider .swiper-button-next,
.building-slider .swiper-button-prev,
.facilities-slider .swiper-button-next,
.facilities-slider .swiper-button-prev {
  top: 10%;
}
.building-slider .swiper-button-next::after,
.building-slider .swiper-button-prev::after,
.facilities-slider .swiper-button-next::after,
.facilities-slider .swiper-button-prev::after,
.sidebar-slider-tmg .swiper-button-next::after,
.sidebar-slider-tmg .swiper-button-prev::after {
  content: "" !important;
}
.building-slider .swiper-button-prev,
.building-slider .swiper-rtl .swiper-button-next,
.facilities-slider .swiper-button-prev,
.facilities-slider .swiper-rtl .swiper-button-next {
  left: unset;
  right: 4%;
}
.building-slider .building-slide .content h2:hover,
.facilities-slider .facilities-slide .content h2:hover {
  background-size: 100% 100%;
  padding: 10px;
}
.building-slider .building-slide .content h2 {
  font-size: 24px;
  cursor: pointer;
}
.explore-btn {
  border: none;
  color: #fff !important;
}
.explore-btn:hover,
.head-close .btn-close-tmg:focus,
.head-close .btn-close-tmg:hover {
  background: 0 0;
}
.explore-btn svg {
  background: #fff;
  padding: 10px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
}
.ekit-template-content-header {
  height: 90px;
}
.head-close .btn-close-tmg {
  border: none;
  color: #003462;
  font-family: Montserrat;
}
.head-close .btn-close-tmg img {
  width: 50px;
  margin-right: 10px;
}
.offcanvas-body.enSidebar,
.offcanvas-header {
  padding: 1rem 0 1rem 70px !important;
}
.main-tmg-sidebar {
  min-width: 100%;
}
.main-tmg-sidebar .offcanvas-body {
  display: flex;
  margin-top: -20px;
}
.main-tmg-sidebar .offcanvas-body .sidebar-tmg-menu {
  width: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5%;
}
.main-tmg-sidebar .interst-btn {
  background: #003462;
  color: #fff;
  padding: 10px 15px;
  font-family: Montserrat;
  transition: 0.5s;
}
.main-tmg-sidebar .interst-btn:hover {
  background: #fff;
  color: #003462;
  padding: 10px 15px;
  font-family: Montserrat;
  transition: 0.5s;
}
.last-post .elementor-post__text {
  gap: 1%;
}
.sidebar-slider-tmg {
  width: 80%;
}
.sidebar-slider-tmg .swiper-commiunity-sidebar,
.sidebar-slider-tmg .swiper-commiunity-sidebar .swiper-slide {
  height: 100vh;
  object-fit: cover;
}
.sidebar-slider-tmg .swiper-commiunity-sidebar .commiunity-image {
  display: flex;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
}
.sidebar-slider-tmg .swiper-commiunity-sidebar .swiper-slide .commiunity-title {
  color: #fff;
  font-family: Montserrat;
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
}
.sidebar-slider-tmg .swiper-commiunity-sidebar .swiper-slide a {
  color: #cecece;
  font-family: MONTSERRAT;
  font-size: 16px;
  font-weight: 500;
}
.offcanvas-body {
  padding-right: 0 !important;
}
.head-close {
  position: absolute;
  z-index: 999;
  width: 100%;
}
.sidebar-tmg-menu ul.menu-items,
.sidebar-tmg-menu ul.menu-items-second {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-tmg-menu ul.menu-items li a {
  color: #003462;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}
.sidebar-tmg-menu ul.menu-items-second li a {
  color: #383838;
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.sidebar-tmg-menu ul.menu-items li,
.sidebar-tmg-menu ul.menu-items-second li {
  padding: 3px 0;
  transition: 0.5s;
}
.sidebar-tmg-menu ul.menu-items li a svg {
  position: relative;
  right: 20px;
  opacity: 0;
}
.sidebar-tmg-menu ul.menu-items li a span {
  position: relative;
  right: 30px;
}
.sidebar-tmg-menu ul.menu-items li a:hover svg {
  position: relative;
  right: 0;
  opacity: 1;
}
.sidebar-tmg-menu ul.menu-items li a:hover span {
  position: relative;
  right: 0;
}
.sidebar-tmg-menu ul.menu-items-second li:hover a {
  padding-left: 10px;
}
.sidebar-tmg-menu .contact-us-menu h5 {
  color: #003462;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 600;
}
.sidebar-tmg-menu .contact-us-menu p {
  color: #475467;
  font-family: Montserrat;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}
.elementor-1218
  .elementor-element.elementor-element-8d7f11c
  .elementkit-tab-wraper:not(.vertical)
  .elementkit-tab-nav {
  display: none;
}
.grid-item-image-commercial img {
  height: 300px !important;
  min-width: -webkit-fill-available !important;
  object-fit: cover;
}
.grid-item-image-commercial::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 30%);
}
.mySwiperPopup img {
  height: 100%;
}
.btn-close:hover {
  background-color: transparent !important;
}
.btn-close:focus {
  box-shadow: none !important;
}
.page-id-1218 .sidebar-slider-tmg .swiper-commiunity-sidebar .commiunity-image {
  max-width: calc(100% / 3.5);
}
.elementor-element .swiper .elementor-swiper-button-next,
.elementor-element .swiper .elementor-swiper-button-prev {
  top: 75% !important;
}
.page-id-732 p.excerpt {
  font-size: 14px;
}
.modal-backdrop.show {
  opacity: 0.2;
  z-index: 0;
}
.building-modal {
  background: #00000085 !important;
}
.building-modal .modal-dialog {
  max-width: 800px;
}
.building-modal .modal-body .image img {
  width: 350px;
}
.building-modal .modal-body {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 3%;
}
.building-modal .modal-body .building-data-modal {
  width: 60%;
}
.building-modal .modal-body .building-data-modal .building-title {
  color: #003462;
  font-family: Montserrat;
  font-size: 34px;
  font-weight: 700;
  text-transform: uppercase;
}
.building-modal .modal-body .building-data-modal .building-delivery {
  color: #313131;
  font-family: Montserrat;
  font-size: 22px;
  font-weight: 500;
  text-transform: uppercase;
}
.building-modal .modal-body .building-data-modal .building-details-title {
  color: #313131;
  font-family: Montserrat;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 20px 0;
}
.building-modal .modal-body .building-data-modal .detalis-flex,
.building-modal .modal-body .building-data-modal .number-of {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.building-modal .modal-body .building-data-modal .detalis-flex h5 {
  color: #003462;
  font-family: Montserrat;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
}
.building-modal .modal-body .building-data-modal .detalis-flex h5 span {
  color: #313131;
  font-family: Montserrat;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  text-transform: uppercase;
}
.building-modal .modal-body .building-data-modal .number-of h4 {
  color: #313131;
  font-family: Montserrat;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  gap: 3%;
}
.building-modal .modal-body .building-data-modal .download-model svg,
.building-modal .modal-body .building-data-modal .number-of h4 svg {
  width: 20px;
}
.building-modal .modal-body .building-data-modal .download-model {
  color: #af7e3c;
  border: 1px solid #af7e3c;
  padding: 10px 20px;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  text-transform: normal;
  transition: 0.5s;
}
.building-modal .modal-body .building-data-modal .download-model:hover {
  background: #af7e3c;
  color: #fff;
}
.building-modal
  .modal-body
  .building-data-modal
  .download-model:hover
  svg
  path {
  stroke: #fff;
}
.building-modal .btn-close {
  position: absolute;
  right: 5px;
  top: 5px;
  z-index: 999;
}
.modal-backdrop {
  background-color: #0000 !important;
}
.page-id-1218 .mySwiper4 .swiper-slide {
  margin-bottom: -5px !important;
}
.message-text {
  padding-bottom: 80px !important;
  padding-top: 20px !important;
}
/* button.disabled {
  background-color: #eee !important;
  color: black !important;
  border: none !important;
} */
.tabs_southmed ul li a.active {
  font-weight: bold !important;
}
@media only screen and (max-width: 767px) {
  .custom-swiper-container .innerSlide {
    padding: 10px !important;
    width: 100% !important;
    bottom: 0;
    right: 0 !important;
  }

  .custom-swiper-container h2.slideHead {
    width: 100% !important;
  }

  .custom-swiper-container p.slideParagraph {
    padding-right: 38px !important;
    font-size: 14px;
  }

  .custom-swiper-container
    .swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    right: 0 !important;
    left: unset !important;
    bottom: 0 !important;
  }
  .custom-swiper-container h3.slideHeadTwo {
    font-size: 18px !important;
  }
  .custom-swiper-container h2.slideHead {
    font-size: 25px !important;
  }
}

/* Tablet Mode */

@media only screen and (max-width: 960px) and (min-width: 767px) {
  .last-post .elementor-post__title {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .elementor-element .swiper .elementor-swiper-button-prev {
    left: 45% !important;
    top: 80% !important;
  }
  .elementor-64
    .elementor-element.elementor-element-aee4026
    > .elementor-widget-container {
    padding: 0px !important;
  }
  .elementor-element .swiper .elementor-swiper-button-next {
    right: 45% !important;
    top: 80% !important;
  }
  #commercialSection
    .custom-swiper-container
    .swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 90px !important;
  }
  .sidebar-slider-tmg {
    width: 65%;
  }
  .main-tmg-sidebar .offcanvas-body .sidebar-tmg-menu {
    width: 35%;
  }
  .main-tmg-sidebar .offcanvas-body {
    padding-left: 20px !important;
  }
  .offcanvas-header {
    padding: 1rem 20px !important;
  }
  .swiper-container
    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 85.8% !important;
  }
  .custom-swiper-container .innerSlide,
  #commercialSection .innerSlide {
    width: 80% !important;
  }
  .elementor-64
    .elementor-element.elementor-element-9a6ddad
    .swiper-slide-contents {
    max-width: 100% !important;
  }
  .page-id-1218
    .sidebar-slider-tmg
    .swiper-commiunity-sidebar
    .commiunity-image {
    max-width: calc(100% / 2.5);
  }
  .community-grid-items .grid-item-image,
  .community-grid-items .grid-item-content {
    width: 100%;
  }
  .community-grid-items .grid-item-content h4 {
    font-size: 16px;
  }
  .community-grid-items .grid-item-content h2 a {
    font-size: 24px;
    margin-top: 18px;
  }
  .community-grid-items {
    flex-direction: column;
  }

  .single-post .news-item {
    width: 50%;
  }
  #ClubsTabsSection .swiper-button-next,
  #ClubsTabsSection .swiper-button-prev {
    display: none;
  }
  #swiperWithTabs .swiper-thumbs {
    width: 100% !important;
  }
  #swiperWithTabs .tabContent {
    padding-top: 60px !important;
  }
  .allCont .mySwiper2 .swiper-button-prev,
  .allCont .mySwiper2 .swiper-button-next {
    display: none;
  }

  .page-id-732 #swiperWithTabs .swiper-slide {
    flex-direction: row-reverse !important;
    align-items: center !important;
  }
  .page-id-732 p.publication-year {
    font-size: 18px;
  }
  .page-id-732 a.titleHover {
    font-size: 21px;
  }
  #swiperCentermode .swiper-button-next {
    right: 3% !important;
  }
  .community-grid-items:nth-child(odd) .grid-item-content {
    order: 5 !important;
  }
  .commercial-grid .commecial-grid-items {
    flex: 0 0 calc(50% - 10px) !important;
    width: 50%;
  }
  .commecial-grid-items a.read-more-btn {
    display: inline-block !important;
  }
  .page-id-1218
    .sidebar-slider-tmg
    .swiper-commiunity-sidebar
    .commiunity-image {
    max-width: calc(100% / 1.5) !important;
  }
}
/* Tablet Mode */
@media only screen and (max-width: 767px) {
  .custom-swiper-container
    .swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
    top: 20% !important;
  }
  .custom-swiper-container .swiper-slide {
    height: 50vh !important;
  }
  .building-modal .modal-body {
    flex-direction: column;
  }
  .building-modal .modal-body .building-data-modal {
    width: 100%;
    margin-top: 10px;
  }
  .building-modal .modal-body .building-data-modal .detalis-flex,
  .building-modal .modal-body .building-data-modal .number-of {
    flex-wrap: wrap;
  }
  .building-modal .modal-body .building-data-modal .number-of h4 {
    width: 50%;
  }
  .building-modal {
    padding-top: 45px;
  }
  .community-grid-items:nth-child(odd) .grid-item-content {
    order: 5 !important;
  }
  .community-grid-items .grid-item-image,
  .community-grid-items .grid-item-content {
    width: 100% !important;
  }
  .community-grid-items {
    flex-direction: column !important;
  }
  #wpcf7-f1126-p899-o1 .row {
    flex-direction: column;
    gap: 0;
  }
  h3.slideHeadTwo {
    width: 80%;
  }
  #commercialSection .innerSlide {
    backdrop-filter: blur(5px) !important;
  }
  #hotelsSwiper .slide-content {
    padding: 10px !important;
  }
  .page-id-1218
    .sidebar-slider-tmg
    .swiper-commiunity-sidebar
    .commiunity-image {
    max-width: calc(100% / 1.2);
  }
  .swiper-slide-contents {
    max-width: 100% !important;
  }
  .commecial-grid-items a.read-more-btn {
    display: inline-block;
  }
  .data-commercial-row .images-commercial {
    width: 100% !important;
  }

  .commercial-grid .commecial-grid-items {
    min-width: 100%;
  }
  .elementor-64
    .elementor-element.elementor-element-9a6ddad
    .elementor-slide-button {
    top: 90px !important;
  }
  .head-close {
    position: relative;
    padding: 10px !important;
  }
  .head-close .side-logo {
    display: none;
  }
  .main-tmg-sidebar .offcanvas-body {
    padding: 10px !important;
    flex-direction: column !important;
  }
  .main-tmg-sidebar .offcanvas-body .sidebar-tmg-menu {
    padding: 60px 0;
    width: 100%;
  }
  .sidebar-slider-tmg {
    width: 100%;
  }
  .sidebar-slider-tmg .swiper-commiunity-sidebar,
  .sidebar-slider-tmg .swiper-commiunity-sidebar .swiper-slide {
    height: 100%;
  }
  .facilities-slider .swiper-button-prev,
  .facilities-slider .swiper-rtl .swiper-button-next {
    left: unset;
    right: 15%;
  }
  .facilities-slider .facilities-slide .content,
  .building-slider .facilities-slide .content {
    padding: 10px;
  }
  .single-post .news-item {
    width: 100%;
  }
  .elementor-slide-description {
    line-height: 1.2em !important;
  }
  .tmgNews.post-grid-v1 a.back-image {
    display: block;
    width: 100%;
    overflow: hidden;
  }

  .tmgNews .post-grid-v1 a.back-image .post-image {
    height: 200px !important;
  }
  .community-grid-items .grid-item-content h2 a {
    color: #313131;
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
  }
  .remove-mob {
    display: none;
  }
  .btnRI.elementor-element.elementor-element-d4fcb4e.elementor-align-right.elementor-widget.elementor-widget-button {
    bottom: 0 !important;
  }
  .elementor-element-c94569c ul .elementkit-nav-item {
    min-width: fit-content;
  }
  .page-id-1218 .mySwiper4 .swiper-slide {
    margin-bottom: -10px !important;
  }
  .sidebar-tmg-menu ul.menu-items li a {
    color: #003462;
    font-family: "Montserrat";
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    transition: 0.5s;
  }
}
.tabs_southmed ul li a.active {
  font-weight: bold !important;
}
