/** Contenidos **/

.content-photo-bg {
  position: relative;
  width: 100%;
  height: 192px;
  overflow: hidden;
}

.content-photo-bg-repeat {
  position: absolute;
  inset: 0;
  background-repeat: repeat;
  background-size: auto;
  opacity: 0.3;
  mix-blend-mode: multiply;
}

.content-photo-bg-main {
  position: relative;
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}

.content-section {
  padding-top: 2rem !important;
}

  .content-section p {
    text-align: center !important;
  }

.content-header {
  background-color: transparent;
  color: #000;
  margin-bottom: 2rem;
  margin-top: 1rem;
  text-align: center;
}

  .content-header h3 {
    align-items: center;
    color: #000;
    display: flex;
    flex-direction: column;
    font-size: 2rem;
    font-weight: bold;
  }

    .content-header h3::after {
      border-radius: 2px;
      background-color: var(--bs-primary) !important;
      content: '';
      display: block;
      height: 6px;
      margin-top: 10px;
      width: 80px;
    }

  .content-header h5 {
    color: var(--bs-primary);
    font-size: medium;
    margin-top: 0.5rem;
    text-transform: uppercase;
  }

  .content-header p {
    margin-top: 2rem !important;
    margin-bottom: 0px;
  }

.content-subheader {
  background-color: transparent;
  color: #000;
  margin-bottom: 2rem;
  margin-top: 1rem;
  text-align: center;
}

  .content-subheader > h3 {
    align-items: center;
    color: #000;
    display: flex;
    flex-direction: column;
    font-size: 1.25rem;
    font-weight: bold;
  }

    .content-subheader > h3::after {
      border-radius: 2px;
      background-color: var(--bs-secondary) !important;
      content: '';
      display: block;
      height: 4px;
      margin-top: 10px;
      width: 40px;
    }

.content-block {
  background-color: rgba(255, 255, 255, .9);
  border-radius: 10px;
  color: #fff;
  font-size: small;
  margin-bottom: 10px;
  margin-top: 10px;
}

  .content-block.filled {
    margin-bottom: 0px;
    margin-top: 0px;
  }

  .content-block .content-block-header {
    height: 180px;
    width: 100%;
  }

    .content-block .content-block-header img {
      height: 100%;
      width: 100%;
    }

  .content-block .content-block-body {
    padding: 10px;
  }

  .content-block h2 {
    color: #000;
    font-size: medium;
    font-weight: bold;
    white-space: normal;
  }

  .content-block h5 {
    border-bottom: 1px solid var(--bs-primary);
    color: var(--bs-primary);
    font-size: small;
    text-align: left;
    text-transform: uppercase;
  }

  .content-block .content-image {
    border: 1px solid #000;
    float: left;
    height: 100px;
    margin-bottom: 10px;
    margin-right: 10px;
    width: 100px;
  }

    .content-block .content-image img {
      height: 100%;
      padding: 2px;
      width: 100%;
    }

  .content-block .content-date {
    float: left;
    height: 100px;
    margin-right: 5px;
    text-align: center;
    width: 100px;
  }

    .content-block .content-date div.event-day {
      font-size: 1em;
      display: inline-block;
      position: relative;
      width: 7em;
      height: 7em;
      background-color: #fff;
      border-radius: 0.6em;
      box-shadow: 0 1px 0 #bdbdbd, 0 2px 0 #fff, 0 3px 0 #bdbdbd, 0 4px 0 #fff, 0 5px 0 #bdbdbd, 0 0 0 1px #bdbdbd;
      overflow: hidden;
      -webkit-backface-visibility: hidden;
      -webkit-transform: rotate(0deg) skewY(15deg);
      -webkit-transform-origin: 50% 10%;
      transform-origin: 50% 10%;
      -webkit-animation: swing 1.5s ease-out infinite;
      animation: swing 1.5s ease-out infinite;
    }

      .content-block .content-date div.event-day * {
        display: block;
        width: 100%;
        font-size: 1em;
        font-weight: bold;
        font-style: normal;
        text-align: center;
      }

      .content-block .content-date div.event-day strong {
        position: absolute;
        top: 0;
        padding: 0.4em 0;
        color: #fff;
        background-color: var(--bs-primary);
        border-bottom: 1px dotted #fff;
        box-shadow: 0 2px 0 var(--bs-primary);
      }

      .content-block .content-date div.event-day em {
        position: absolute;
        bottom: 0.3em;
        color: var(--bs-primary);
      }

      .content-block .content-date div.event-day span {
        color: #2f2f2f;
        font-size: 2.8em;
        padding-top: 0.8em;
        width: 100%;
      }

  .content-block .content-text {
    color: #000;
    float: none;
    width: 100%;
  }

    .content-block .content-text p {
      margin: 0px;
      text-align: left;
    }

  .content-block.content-link:hover {
    background-color: rgba(130, 210, 324, .7) !important;
  }

    .content-block.content-link:hover h5 {
      border-bottom: 1px solid #fff;
      color: #fff;
    }

  .content-block.highlight {
    background-color: rgba(101, 177, 151, .7) !important;
  }

    .content-block.highlight h5 {
      border-bottom: 1px solid #fff;
      color: #fff;
    }

  .content-block.separator {
    background-color: rgba(102, 102, 102, .7) !important;
    height: 6px;
    padding: 0px;
    border-radius: 2px;
  }

/** Bubbles **/

.speech-bubble {
  background-color: var(--bs-primary-bg-subtle);
  border-radius: var(--bs-border-radius);
  color: var(--bs-black);
  opacity: .7;
  padding: 20px;
  position: relative;
  margin: 10px;
  text-align: center;
}

  .speech-bubble:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: var(--bs-primary-bg-subtle);
    border-bottom: 0;
    border-right: 0;
    opacity: .7;
    margin-left: -10px;
    margin-bottom: -20px;
  }

  .speech-bubble h1 {
    color: #000;
    font-size: 1.5rem;
    text-shadow: 1px 1px 1px #000;
  }

  .speech-bubble h2 {
    color: #000;
    font-size: 1.25rem;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
  }

.speech-bubble-left {
  position: relative;
  margin: 10px;
  padding: 20px;
  background-color: rgba(102, 102, 102, .8);
  text-align: center;
  border-radius: .8em;
}

  .speech-bubble-left:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-top-color: rgba(102, 102, 102, .8);
    border-bottom: 0;
    border-left: 0;
    margin-left: -10px;
    margin-bottom: -20px;
  }

  .speech-bubble-left.top:after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-bottom-color: rgba(102, 102, 102, .8);
    border-top: 0;
    border-left: 0;
    margin-left: -10px;
    margin-top: -20px;
  }

  .speech-bubble-left h1 {
    color: #fff;
    font-size: 0.9rem;
    text-shadow: 1px 1px 1px #000;
  }

  .speech-bubble-left h2 {
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    text-shadow: 1px 1px 1px #000;
    line-height: 1.5em !important;
  }

/** Links **/

.cool-link {
  color: var(--bs-primary);
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
}

  .cool-link::after {
    content: '';
    background: currentColor;
    display: block;
    height: 2px;
    width: 0px;
    transition: width .3s;
  }

  .cool-link:hover::after {
    width: 100%;
  }

/** Maps **/

.map-content {
  border: 1px solid var(--bs-primary);
  border-radius: 5px;
  height: 312px !important;
  margin-top: 10px;
  min-width: 230px !important;
  padding: 2px !important;
}

  .map-content div {
    border-radius: 5px;
    height: 100%;
    width: 100%;
  }

div.olControlZoom {
  left: 0px !important;
  top: 0px !important;
  z-index: 1500 !important;
}

  div.olControlZoom a, div.olControlZoom a:hover {
    background-color: var(--bs-primary) !important;
  }

/** Progress **/

div.progress-wrapper {
  position: fixed;
  cursor: wait;
  height: 2em;
  width: 2em;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 6000;
}

  div.progress-wrapper:before {
    content: '';
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }

div.progress-wrapper-local {
  position: fixed;
  cursor: wait;
  height: 100%;
  width: 100%;
  overflow: visible;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 6000;
}

  div.progress-wrapper-local:before {
    content: '';
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
  }

div.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 150px;
  height: 150px;
  margin: -75px 0 0 -75px;
  border: 0.5rem solid #f2f2f2;
  border-radius: 50%;
  border-top: 10px solid var(--bs-primary);
  width: 150px;
  height: 150px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

/** Tablas  **/

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(233, 186, 188, .1);
}

.table {
  font-size: medium;
}

  .table thead {
    color: #000;
  }

    .table thead th {
      background-color: var(--bs-primary);
      border-bottom: 4px solid var(--bs-primary-bg-subtle) !important;
    }

  .table td, .table th {
    border-top-color: var(--bs-primary);
  }

  .table > tbody > tr {
    align-items: center;
    border-bottom: 1px solid var(--bs-primary);
    cursor: pointer;
  }

    .table, .table > tbody > tr > td {
      border: none;
      vertical-align: middle;
    }

      .table > tbody > tr > td > span {
        display: flex;
        flex-direction: row;
        gap: .5rem;
        vertical-align: middle;
      }

        .table > tbody > tr > td > span > a {
          color: #000;
          display: flex;
        }

      .table > tbody > tr > td.active, .table > tbody > tr > th.active, .table > tbody > tr.active, .table > tbody > tr.active > th {
        background-color: rgba(233, 186, 188, .9);
      }

/** Contenidos **/

.modal-content .content-scroll {
  font-size: small;
}

.content-dialog .content-scroll > div {
  height: 300px;
  margin: 5px;
  overflow-y: auto;
  padding-right: 10px;
}

  .content-dialog .content-scroll > div h1 {
    color: var(--bs-primary);
    font-size: medium;
    font-weight: bold;
  }

.content-dialog .content-scroll ::-webkit-scrollbar {
  width: 6px !important;
}

.content-dialog .content-scroll ::-webkit-scrollbar-track {
  background-color: var(--bs-light);
  border-radius: 2px;
}

.content-dialog .content-scroll ::-webkit-scrollbar-thumb {
  background: var(--bs-primary);
  border-radius: 2px;
}

  .content-dialog .content-scroll ::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary);
  }

.content-tab {
  /*text-align: left !important;*/
}

  .content-tab .content-scroll > div {
    height: 300px;
    margin: 5px;
    overflow-y: auto;
    padding-right: 20px;
  }

  .content-tab .content-scroll {
    text-align: justify !important;
  }

    .content-tab .content-scroll ::-webkit-scrollbar {
      width: 6px !important;
    }

    .content-tab .content-scroll ::-webkit-scrollbar-track {
      background-color: var(--bs-light);
      border-radius: 2px;
    }

    .content-tab .content-scroll ::-webkit-scrollbar-thumb {
      background: var(--bs-primary);
      border-radius: 2px;
    }

      .content-tab .content-scroll ::-webkit-scrollbar-thumb:hover {
        background: var(--bs-primary);
      }

/* Multimedia */

.multimedia-container {
  height: 480px !important;
  width: 100%;
  margin: 0 !important;
}

  .multimedia-container.multimedia-container-audio,
  .multimedia-container.multimedia-container-video {
    background-color: rgba(102, 102, 102, .3) !important;
  }

    .multimedia-container.multimedia-container-audio.logo::before {
      content: "";
      position: absolute;
      background-image: url('../Images/Ilustraciones/madre_canciones.svg');
      background-repeat: no-repeat;
      background-position: center;
      height: 100%;
      width: 100%;
    }

.multimedia-container-review {
  position: fixed;
  cursor: pointer;
  height: 100%;
  width: 100%;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 1000;
}

  .multimedia-container-review div {
    position: absolute;
    width: 100%;
    text-align: center;
  }

    .multimedia-container-review div span {
      display: block;
      text-transform: uppercase;
    }

      .multimedia-container-review div span i {
        font-size: 150px;
        color: var(--bs-primary);
        padding: 20px;
      }

.multimedia-audio-controls {
  width: 240px !important;
}

.multimedia-audio-controls-ex {
  position: relative;
  float: left;
  left: 60px !important;
  height: 100% !important;
  padding: 10px;
  width: calc(100% - 120px) !important;
}

.multimedia-video-controls-ex {
  position: relative;
  float: left;
  left: 60px !important;
  height: 100% !important;
  padding: 5px;
  width: calc(100% - 120px) !important;
}

/* Scroll */

.scroll-fade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #fff 15%, #fff 85%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #fff 15%, #fff 85%, transparent 100%);
}

.w-max-content {
  width: max-content;
}

.scroll-track {
  animation: scrollInfinito 60s linear infinite;
  animation-play-state: running;
  background-color: #fff;
  gap: 0.5rem;
}

  .scroll-track:hover {
    animation-play-state: paused;
  }

@keyframes scrollInfinito {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/** Solapas **/

.nav-tabs .nav-link {
  color: #000;
}

  .nav-tabs .nav-link.active {
    color: var(--bs-primary);
  }

.tab-pane {
  margin-right: 0px !important;
  margin-left: 0px !important;
}
