/*
Theme Name: RDT Projects
Author: Kat Happens
Version: 1.0
Text Domain: leos
*/
@media screen and (width > 768px) {
  .desktop-posts{
    row-gap: 1rem;
  }
    :root {
        --width-1: 40%;
        --width-2: 32%;
        --width-3: 23%;
    }
    .review-layout .review-card {
        width: var(--width-3);
    }

    .review-layout .review-card:nth-child(24n + 1),
    .review-layout .review-card:nth-child(24n + 6),
    .review-layout .review-card:nth-child(24n + 8),
    .review-layout .review-card:nth-child(24n + 12),
    .review-layout .review-card:nth-child(24n + 13),
    .review-layout .review-card:nth-child(24n + 18),
    .review-layout .review-card:nth-child(24n + 20),
    .review-layout .review-card:nth-child(24n + 24) {
        width: var(--width-1);
    }

    .review-layout .review-card:nth-child(24n + 3),
    .review-layout .review-card:nth-child(24n + 5),
    .review-layout .review-card:nth-child(24n + 7),
    .review-layout .review-card:nth-child(24n + 11),
    .review-layout .review-card:nth-child(24n + 15),
    .review-layout .review-card:nth-child(24n + 17),
    .review-layout .review-card:nth-child(24n + 19),
    .review-layout .review-card:nth-child(24n + 23) {
        width: var(--width-2);
    }

    .review-layout .review-card:nth-child(24n + 2),
    .review-layout .review-card:nth-child(24n + 4),
    .review-layout .review-card:nth-child(24n + 9),
    .review-layout .review-card:nth-child(24n + 10),
    .review-layout .review-card:nth-child(24n + 14),
    .review-layout .review-card:nth-child(24n + 16),
    .review-layout .review-card:nth-child(24n + 21),
    .review-layout .review-card:nth-child(24n + 22) {
        width: var(--width-3);
    }
}

.gallery-layout .grid-col:nth-child(8n + 1) {
    grid-column: 1 / span 5;
}
.gallery-layout .grid-col:nth-child(8n + 2) {
    grid-column: 6 / span 12;
}
.gallery-layout .grid-col:nth-child(8n + 3) {
    grid-column: 18 / span 7;
}
.gallery-layout .grid-col:nth-child(8n + 4) {
    grid-column: 1 / span 10;
}
.gallery-layout .grid-col:nth-child(8n + 5) {
    grid-column: 11 / span 7;
}
.gallery-layout .grid-col:nth-child(8n + 6) {
    grid-column: 18 / span 7;
}
.gallery-layout .grid-col:nth-child(8n + 7) {
    grid-column: 1 / span 12;
}
.gallery-layout .grid-col:nth-child(8n + 8) {
    grid-column: 13 / span 12;
}
.gallery-layout .grid-col a.grid-item-gallery {
    height: 100%;
    width: 100%;
}
.gallery-layout .grid-col a.grid-item-gallery img {
    position: relative;
    object-fit: cover;
    width: 100%;
    height: 100%;
    overflow: hidden;
    min-width: unset;
    max-height: 43dvh;
    max-width: unset;
    min-height: unset;
    transition: transform ease-in-out 0.5s;
}

/* Toast Styles */
#message-toast {
    display: none;
    z-index: 9999;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 1px 7px 0 rgba(0, 0, 0, 0.7);
    max-width: 450px;
    text-align: center;
    color: #505050;
}

.toast-timer {
    height: 8px;
    width: 100%;
    margin: 0;
    border-radius: 4px;
}

.toast-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    font-size: clamp(18px, 1.5vw, 28px);
}

.toast-icon {
    margin-inline: 10px;
    font-size: clamp(20px, 1.5vw, 35px);
}

@media screen and (width < 768px) {
    #message-toast {
        max-width: 90%;
    }
      .video-home {
        height: 30vh;
    }
  .video-home video {
    width: 100%;
    height: 100%;
}
}

.socials-share {
    display: none;
}
/* End Toast Styles */

/*new fixes*/

.base-slider-block .slider-content-wrap {
 	padding: 110px 30px;
}
.base-slider-block .slider-content-wrap .base-output.slider-output p{
    line-height: 1.25rem;
  	text-align: justify;
}
.team-slide-ins {
   padding: 35px 30px 50px 40px;
}
.team-slide .team-item-text {
    font-size: 16px;
    line-height: 1.15rem;
}

.post-image-wrap:hover img {
    transform: scale(1.0, 1.0);
}

body.postid-125 .post-body .post-image-wrap img{
  top: -90px;
}
@media screen and (width < 768px) {
  body.postid-125 .post-body .post-image-wrap img{
    top: -45px;
  }
}
.base-output ul li
{
	margin-bottom: 0.3em;
}
.base-output.slider-output p
{
	margin-bottom: 0.5em;
}
.base-output img
{
	margin-bottom: -1em;
}
.base-output.about-content-output p
{
	margin-bottom: 0.5em;
}
.base-output h2 a
{
	font-size: 45px;
}
.video-overlay {
	scale: 1.2;
}

header{
	background-color: rgba(255, 255, 255, 0.8) !important;
}
#MainNav .menu-item-has-children .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #FFF;
    height: max-content;
}

.menu-item-has-children:hover ul {
    display: block !important;
}

#MainNav .menu-item-has-children .sub-menu li a {padding: 16px 0;}

.base-output:has(.fb-video) > div {
    gap: 10px !important;
}
@media screen and (width < 768px) {
    .base-output:has(.fb-video) > div {
          flex-direction: column;
  }
      .base-output:has(.fb-video) > div .fb-video {
          width: 100% !important;
  }
  .grecaptcha-badge {
    opacity: 0;
    pointer-events: none;
  }
  .ti-widget[data-layout-id='4'][data-set-id='light-background'], .ti-widget{
        overflow: hidden !important;
  }
}

@media screen and (min-width: 768px) {
.fixed-buttons {
  display: none !important;
  }
}
@media screen and (width < 768px) {
#FloatSocials2, #MobBtns, .joinchat, a.fix-link[href*="tel"], a.fix-link[href*="whatsapp"] {
  display: none !important;
  }
  }
.fixed-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 0;
  z-index: 1000;
}

.fixed-buttons a {
	display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    width: calc(100% / 2);
    height: 62px;
    border-left: 1px solid #ccc;
    box-sizing: border-box;
    margin: 0;
    justify-content: center;
      unicode-bidi: plaintext;
}

.fixed-buttons a:last-child {
  border-left: none; 
}

.fixed-buttons a span {
  white-space: nowrap;
}

.fixed-buttons a i {
  font-size: 24px;
  margin-bottom: 5px;
}
.cblue {background-color:#464646;}
.cgreen{background-color:#25D366;}

.repeat-form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 40px 20px;
}
.repeat-form-container .repeat-form-wrapper{
  	text-align: center;
    max-width: fit-content;
    width: 100%;
    background-color: #111111 !important;
    border-radius: 8px;
    padding: 20px 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.repeat-form-container .repeat-form-wrapper div.wpcf7 input[type=submit]{
   margin-top: 5px;
}

.repeat-form-container .repeat-form-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #ffffff;
}
@media screen and (width < 768px) {
  .video-home.hero-image {
      height: 65vh;
  }
}

.review-text {
    scrollbar-width: thin; 
    scrollbar-color: #a0a0a0 transparent;
}

.review-text::-webkit-scrollbar {
    width: 4px; 
}

.review-text::-webkit-scrollbar-thumb {
    background-color: #a0a0a0; 
    border-radius: 3px;
}

.review-text::-webkit-scrollbar-track {
    background: transparent;
}
.foogallery .fg-caption-desc
{
	font-weight: bold;
}