/**
 * @file
 * Subtheme specific CSS.
 */

#navbar-top {
    background-color: #ffffff !important;
}

#navbar-top a {
    color: #4F5FE9 !important;
}

#navbar-main {
    background-color: #142070 !important;
    color: #ffffff !important;
}

.Navmain .nav-link {
    color: #ffffff !important;
}

.Navmain .dropdown-item a {
    color: #142070 !important;
}

.Navmain .dropdown-item:active {
    background-color: #0d5e4925 !important;
    color: #ffffff !important;
}

#logo img {
    width: 100%;
    height: auto;
}

#site-title {
    margin: 0px;
    font-size: 20px;
    line-height: 112%;
    display: table-cell;
    vertical-align: middle;
}

#site-title a {
    font-weight: bold;
    text-decoration: none;

}

#site-description {
    margin: 0;
    clear: both;
    color: #888;
    font-size: 13px;
    line-height: 120%;
    font-weight: normal;
}

.card {
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-10px);
}

.card-body {
    text-align: center;
}

.card-title {
    font-weight: bold;
    font-size: 1.25rem;
    color: #333;
}

.card-text {
    color: #555;
    font-size: 1rem;
}

.card-icon {
    font-size: 3rem;
    color: #142070;
    margin-bottom: 15px;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 300px;
    perspective: 1000px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    background-color: #fff;
}

.flip-card-back {
    transform: rotateY(180deg);
    background-color: #142070;
    color: white;
}

.flip-card img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
}

.card-content {
    padding: 20px;
}

.hero-section {
    position: relative;
    background-image: url('/sites/default/files/styles/slider/public/banner/crm_2024.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed;
    /* Enables the parallax scroll effect */
    height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dark overlay */
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
}

.carousel-item img {
    width: 100%;
    height: auto;
}

.carousel-caption {
    /*background: rgba(11,97,75,1) !important;*/
    background-color: #282828 !important;
      opacity: 0.90 !important;
      position: absolute !important;
      bottom: 0 !important;
      left: 50% !important;
      transform: translateX(-50%) !important;
      background-color: rgba(0, 0, 0, 0.7)  !important;/* Adjust background color and opacity */
      color: #ffffff !important; /* Caption text color */
      width: 100% !important;
      padding: 10px !important;
}

#block-crm-bootstrap-theme-logo {
    width: 50%;
}

.card-title {
    font-size: 1rem !important;
}

.views-bootstrap-grid .card {
    margin-bottom: 1rem; /* espacio abajo */
    margin-right: 1rem; /* espacio derecha */
  }

.card-img-top img {
    width: 100% !important;
    height: auto !important;
}

.title-style {
    border-bottom: 3px solid #142070;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.dropdown-item.active {
    background-color: #142070 !important;
}

.form-type-textfield {
    margin-right: 1rem;
}

.btn-primary {
    background-color: #142070 !important;
    border-color: #142070 !important;
    color: #ffffff !important;
}

.field--type-image img {
    width: 100% !important;
    height: auto !important;
}

.table thead {
    background-color: #142070 !important;
    color: #ffffff !important;

}

.view-recordatorios .table {
    table-layout: fixed;
}

.view-recordatorios .table th {
    background-color: #142070 !important;
    color: #ffffff !important;
}

.view-events .table {
    background-color: #fff !important;
}

.view-events .table tr {
    background-color: #fff !important;
    border-bottom: 2px solid #142070;
}

.view-events h5 a {
    color: #000000 !important;
}

.site-footer {
    background-color: #142070 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 0 !important;
}

.site-footer .content {
    color: #ffffff !important;
}

.site-footer .block {
    border: 0 !important;
}

.credits {
    padding: 6px 0;
    font-size: 11px;
    text-align: center;
    color: #333;
}


.title-home {
    text-align: center;
    margin-top: 3rem;
}

.field--type-entity-reference {
    margin: 0 !important;
}

.field__label {
    font-weight: bold !important;
}



.flip-card-custom {
    perspective: 1000px;
    height: 300px;
    margin: 1rem;
  }
  
  .flip-card-custom-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
  }
  
  .flip-card-custom:hover .flip-card-custom-inner {
    transform: rotateY(180deg);
  }
  
  .flip-card-custom-front,
  .flip-card-custom-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .flip-card-custom-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .flip-card-custom-front .overlay-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
  }
  
  .flip-card-custom-back {
    background-color: #142070;
    color: #333;
    padding: 20px;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .flip-card-custom-back a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  .flip-card-custom-back a:hover {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
  }

  