/* Usa estilos de Bootstrap */

/* Header Home */
header {
    transition: top 1s ease !important;
}

/* Category Page */
.container-bg.with-bg {
  background-image: url(/wp-content/uploads/2025/05/banner-para-paginas.png);
  background-color: #F4F4F4;
}

/* Header Home Mobile */
.float-sidebar-toggle {
    display: none !important;
}
    
@media (max-width: 480px) {
    header .logo-link img {
        width: 140px !important;
    }
    
    header .col-md-12 {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
    
    .float-sidebar-toggle {
        display: inline-block !important;
    }
}

@media (max-width: 1200px) {
    header .header-center {
        display: none;
    }
}

@media (max-width: 767px) {
    header .header-right ul.header-nav {
        margin: 0 0 0 auto;
    }
}

@media (max-width: 1024px) {
    header .col-md-12 {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }
}

/* Top */
#top-link {
    display: none;
}

/* PDF JS */
.wp-block-pdfp-pdf-poster .pdfp_wrapper .cta_wrapper {
    display: none !important;
}

.wp-block-pdfp-pdf-poster .pdfp_wrapper p {
    display: none;
}

/* Sidebar */
.sidebar.main-sidebar .widgettitle {
    display: none !important;
}

.sidebar.main-sidebar .widget.widget_nav_menu .current-menu-item > a {
    color: white !important;
}

.sidebar.main-sidebar .sidebar-contact-button {
    color: white !important;
    background-color: #2a2f35 !important;
    text-decoration: none;
    margin-bottom: 0;
    transition: box-shadow 0.3s;
}

.sidebar.main-sidebar .sidebar-contact-button:hover {
    color: white !important;
    background-color: #2a2f35 !important;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 767px) {
    .main-sidebar .widget_search,
    .main-sidebar .widget_nav_menu {
        display: none;
    }
}

/* Service Section*/
html {
    scroll-behavior: smooth;
}

#top-link {
    color: white;
}

.navbar-inner a[title="home-services-section-link"] {
    color: black !important;
}

.navbar-inner a[title="home-services-section-link"]:hover {
    color: #C9A744 !important;
}

header.transparent-header a[title="home-services-section-link"] {
    color: #b8b8b8 !important;
}

header.transparent-header a[title="home-services-section-link"]:hover {
    color: #C9A744 !important;
}

/* Button colors */
a.btn.mgt-button.mgt-style-solid {
    color: white !important;
}

a.btn.mgt-button.mgt-style-solid-invert:hover {
    color: white !important;
}

.mgt-post-list .mgt-post-categories {
    color: white !important;
}

/* Post list */
.inicio-class .mgt-post-list .mgt-post-details .mgt-post-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.mgt-post-list {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}

.mgt-post-list .mgt-post {
    display: flex;
    flex-direction: column;
}

.mgt-post-list .mgt-post .mgt-post-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mgt-post-list .mgt-post-details .btn {
    width: min-content;
}

.mgt-post-list .mgt-post-details .mgt-post-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* MGT Call to action block */
@media (max-width: 480px) {
  .mgt-button-wrapper + *:not(.mgt-button-wrapper) {
      margin-right: 0px !important;
  }
}

@media (max-width: 480px) {
  .mgt-cta-block {
    display: flex;
    flex-direction: column;
  }

  .mgt-button-wrapper {
    order: 3;
  }

  .mgt-cta-block-header {
    order: 1;
  }

  .mgt-cta-block-content {
    order: 2;
  }
}

@media (max-width: 480px) {
    .mgt-cta-block .mgt-button {
        margin: 10px auto !important;
    }
}

/* Portfolio item */
.portfolio-item-block-inside .portfolio-item-bg {
    opacity: 0.5 !important;
}

.portfolio-item-block-inside .info {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-item-block-inside .info > :last-child {
    margin-top: auto;
}

.portfolio-item-block .btn {
  border-color: #C9A744 !important;
  background: #C9A744 !important;
  color: #ffffff !important;
  transition: color 0.6s ease, background 0.6s ease, border-color 0.6s ease;
}

.portfolio-item-block .btn:hover {
  border-color: #2a2f35 !important;
  background: #2a2f35 !important;
  color: #ffffff !important;
}


/* Promo item */
.mgt-promo-block-content-inside {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.mgt-promo-block-content-inside h3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.portfolio-item-block-inside .info .title {
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tabs */
.vc_tta-container .vc_active .vc_tta-title-text {
    color: white !important;
}

.vc_tta-container .vc_tta-panels-container .vc_tta-panels {
    background-color: white !important;
    border-color: white !important;
}

.vc_tta-container .vc_tta-panels-container .vc_tta-panel-body {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

/* Tables */
table thead th {
    background-color: #C9A744 !important;
}

/* Video Page */
.wpb_video_widget .wpb_video_heading {
    height: 53px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Team Members */
.wpsm_team_2_member_wrapper_inner {
    text-transform: uppercase;
}

/* Table Custom */
.table-custom-cap {
  overflow-x: auto; 
  max-height: 300px; 
  overflow-y: auto;
}

@media (min-width: 768px) {
  .table-custom-cap {
    max-height: 400px;
  }
  
}

@media (min-width: 992px) {
  .table-custom-cap {
    max-height: 550px;
  }
}