/**
* Theme Name: Rebuilto Child
* Description: This is a child theme of Rebuilto, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opalthemes</a>
* Template: rebuilto
* Version: 1.0.5
*/

.tags-links a{
	display:none;
}
.elementor-button-content-wrapper {
  justify-content: space-between !important;
  display: flex !important;
}




.rebuilto-swiper .swiper-wrapper{
    display: flex !important;
}
.tg{
	 padding: 0 !important;
    margin: 0 !important;
    gap: 0 !important;
	
}


.elementor-widget-rebuilto-timeline-slider .content-swiper {
  width: 100%;
  overflow: hidden !important;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .swiper-wrapper {
  display: flex !important;
  align-items: stretch;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .swiper-slide {
  width: 100% !important;
  min-width: 100% !important;
  flex: 0 0 100% !important;
  overflow: hidden;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .swiper-slide > .elementor {
  width: 100%;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .e-con {
  width: 100%;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .e-parent {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .e-parent > .e-child {
  width: 50% !important;
  flex: 0 0 50% !important;
}

.elementor-widget-rebuilto-timeline-slider .content-swiper .elementor-widget-text-editor {
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 767px) {
  .elementor-widget-rebuilto-timeline-slider .content-swiper .e-parent {
    flex-direction: column !important;
  }

  .elementor-widget-rebuilto-timeline-slider .content-swiper .e-parent > .e-child {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}
.main-navigation .sub-menu {
  background: #003349;
}
.main-navigation ul.menu li.menu-item .sub-menu .menu-item a
  {
  color:white !important; 
		
		font-weight:500 !important;
		font-size:12px !important;
}

.main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-parent > a span, .main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-item > a span, .main-navigation ul.menu li.menu-item .sub-menu .menu-item.current-menu-ancestor > a span {
    color: white !important;
}
.service-item.service-style-6.current_post .service-title a {
    background-color: rgba(243, 243, 243, 0.1);
}

.elementor-454 .elementor-element.elementor-element-0d55ae2 .hfe-post-content {
    padding: 20px 20px 20px 0px !important;
    background: white;
}
.elementor-widget-hfe-basic-posts .hfe-read-more {
    color: #BE31BA !important;
	font-weight:700;
}
 .elementor-widget-hfe-basic-posts .hfe-post-title a {
    color: black !important;
}
.comments-area{
	display:none;
}

h1.entry-title {
	
   font-size:35px!important;
}







/* ================================
   TEAM POPUP - PRO RESPONSIVE FIX
================================ */

/* Popup container */
.team-popup-main .mfp-content,
.team-popup .team-popup-inner {
    width: 1070px !important;
    max-width: calc(100vw - 90px) !important;
    margin: 0 auto !important;
}

.team-popup .team-popup-inner {
    position: relative !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Swiper fix */
.team-popup .rebuilto-swiper-wrap,
.team-popup .swiper-team-popup,
.team-popup .swiper {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

.team-popup .swiper-wrapper {
    display: flex !important;
}

.team-popup .swiper-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Slide desktop */
.team-popup .team-slide {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 1.05fr 0.95fr !important;
    align-items: center !important;
    gap: 55px !important;

    width: 100% !important;
    min-height: 500px !important;
    padding: 60px 80px !important;

    background: linear-gradient(90deg, #fff 72%, #f3f5fa 72%) !important;
    overflow: hidden !important;
}

/* Hide orange icon */
.team-popup .icon-slide {
    display: none !important;
}

/* Content */
.team-popup .team-slide .team-content {
    width: 100% !important;
    max-width: 480px !important;
    position: relative !important;
    z-index: 2 !important;
}

.team-popup .team-slide .team-job {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: #8b8f96 !important;
    margin-bottom: 10px !important;
}

.team-popup .team-slide .team-name {
    font-size: 46px !important;
    line-height: 1.05 !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin-bottom: 18px !important;
    word-break: normal !important;
}

.team-popup .team-infor-wrap {
    border-left: 2px solid var(--primary, #d600ff) !important;
    padding-left: 26px !important;
    margin-top: 15px !important;
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 15px !important;
}

.team-popup .team-infor span {
    font-size: 16px !important;
    line-height: 1.6 !important;
}

.team-popup .team-icon-socials {
    display: flex !important;
    gap: 8px !important;
}

.team-popup .team-icon-socials a {
    font-size: 12px !important;
    font-weight: 700 !important;
}

.team-popup .line {
    width: 100% !important;
    height: 1px !important;
    background: #dfe2e8 !important;
    margin: 24px 0 !important;
}

.team-popup .team-description {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
    color: #5c5f66 !important;
    max-height: 165px !important;
    overflow-y: auto !important;
    padding-right: 8px !important;
}

/* Image desktop */
.team-popup .team-slide .team-image {
    width: 100% !important;
    max-width: 390px !important;
    justify-self: center !important;
    position: relative !important;
    z-index: 2 !important;
}

.team-popup .team-slide .team-image-inner {
    padding-top: 0 !important;
    height: auto !important;
    overflow: visible !important;
}

.team-popup .team-slide .team-image img {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;

    width: 100% !important;
    height: auto !important;
    max-height: 390px !important;

    object-fit: contain !important;
    object-position: center bottom !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Cancel theme crop */
.team-popup .swiper-slide-active .team-slide .team-image img,
.team-popup .active .team-slide .team-image img {
    width: 100% !important;
    height: auto !important;
    top: auto !important;
}

/* Close button */
.team-popup .mfp-close.team-popup-close,
.team-popup .team-popup-close {
    position: absolute !important;
    right: 15px !important;
    top: 15px !important;
    z-index: 99999 !important;

    width: 48px !important;
    height: 48px !important;
    line-height: 48px !important;

    background: #fff !important;
    color: #000 !important;
    border: 1px solid #e2e4ea !important;
    border-radius: 50% !important;
    opacity: 1 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}

/* Pagination */
.team-popup .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 20px !important;
}


/* ================================
   TABLET
================================ */
@media (max-width: 1024px) {
    .team-popup-main .mfp-content,
    .team-popup .team-popup-inner {
        width: 92vw !important;
        max-width: 92vw !important;
    }

    .team-popup .team-popup-inner {
        max-height: 90vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .team-popup .team-slide {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        min-height: auto !important;
        padding: 65px 45px 45px !important;
        background: linear-gradient(180deg, #fff 70%, #f3f5fa 70%) !important;
    }

    .team-popup .team-slide .team-content {
        max-width: 100% !important;
        order: 1 !important;
    }

    .team-popup .team-slide .team-image {
        max-width: 360px !important;
        order: 2 !important;
    }

    .team-popup .team-slide .team-image img {
        max-height: 330px !important;
    }

    .team-popup .team-slide .team-name {
        font-size: 38px !important;
    }

    .team-popup .team-description {
        max-height: none !important;
        overflow: visible !important;
    }
}


/* ================================
   MOBILE
================================ */
@media (max-width: 767px) {
    .team-popup-main .mfp-content,
    .team-popup .team-popup-inner {
        width: calc(100vw - 24px) !important;
        max-width: calc(100vw - 24px) !important;
    }

    .team-popup .team-popup-inner {
        max-height: 88vh !important;
        overflow-y: auto !important;
        border-radius: 0 !important;
    }

    .team-popup .team-slide {
        padding: 62px 22px 30px !important;
        gap: 24px !important;
        background: #fff !important;
    }

    .team-popup .team-slide .team-job {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .team-popup .team-slide .team-name {
        font-size: 30px !important;
        line-height: 1.08 !important;
        margin-bottom: 15px !important;
    }

    .team-popup .team-infor-wrap {
        display: block !important;
        padding-left: 18px !important;
        margin-top: 12px !important;
    }

    .team-popup .team-infor span {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .team-popup .team-icon-socials {
        margin-top: 8px !important;
    }

    .team-popup .line {
        margin: 18px 0 !important;
    }

    .team-popup .team-description {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

    .team-popup .team-slide .team-image {
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .team-popup .team-slide .team-image img {
        max-height: 260px !important;
        max-width: 100% !important;
    }

    .team-popup .mfp-close.team-popup-close,
    .team-popup .team-popup-close {
        top: 10px !important;
        right: 10px !important;
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
    }
}


/* ================================
   SMALL MOBILE
================================ */
@media (max-width: 420px) {
    .team-popup .team-slide {
        padding: 58px 18px 26px !important;
    }

    .team-popup .team-slide .team-name {
        font-size: 26px !important;
    }

    .team-popup .team-slide .team-image {
        max-width: 240px !important;
    }

    .team-popup .team-slide .team-image img {
        max-height: 230px !important;
    }
}

/* Hide orange SVG/shape on team card hover */
.elementor-widget-rebuilto-team-box .layout-1 .team-image-inner:before,
.elementor-widget-rebuilto-team-box .layout-1 .elementor-teambox-item:hover .team-image-inner:before {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}



.elementor-widget-rebuilto-timeline-slider .main-swiper .swiper-slide-thumb-active .timeline-title {
    color: white !important;
}

.elementor-7246 .elementor-element.elementor-element-ced5675 .service-title a:hover

 {
    color: black !important;
}

.service-item.service-style-6 .service-title a i  {
    font-size: 15px;
    margin-left: 10px;
    color: #BE31BA !important;
}
