*{
    font-family: "Funnel Display", sans-serif;
}

/*==== COLORS =========================================*/
.bg-principal-blue {
    background-color: #00264c;
}

/*==== INPUTS AND BUTTONS =========================================*/
.btn-primary{
  background-color: #00264c;
  font-weight: bold;
}

.btn-primary:hover{
  background-color: #00264ce3;
}

.form-control {
    background-color: #f0f2f3;
    border-color: #f0f2f3;
    color: #00264c;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.form-control::placeholder {
  color: #00264c;
  opacity: 1; 
}

.form-control:focus {
    background-color: #f0f2f3;
}

input:disabled::placeholder {
    color: rgb(33, 37, 41); 
}

.btn:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
}

/*==== PADDINGS =========================================*/
.padding-left-0 {
    padding-left: 0;
}

.padding-top-1rem {
    padding-top: 1rem;
}

.padding-top-2rem {
    padding-top: 2rem;
}

.padding-7rem-0 {
  padding-top: 7rem;
  padding-bottom: 7rem;
}


/*==== MARGINS =========================================*/
.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-left-right-0 {
    margin-left: 0;
    margin-right: 0;
}

.margin-bottom-1 {
    margin-bottom:1rem !important;
}

/*==== GENERAL ===========================================*/
.logo-edirsa {
    margin-top: 2rem;
}

.pdf-icon {
    font-size: 29px;
    color: #00274d;
}

.div-address{
    color: #fff;
    font-size: 20px;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.my-link {
    color: #fff !important;
    text-decoration: none !important;
}

.my-link:hover {
    text-decoration: underline !important;
}

.frameMap {
    width: 100%;
    min-height: 250px;
}

.seccion-content {
    padding-top: 4rem;
}

.seccion-content .div-icon {
    background-color: #00264c;
    height: 90px;
    width: calc(24vh);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: right;
    align-content: center;
    margin-bottom: 2rem;
    padding-right: 15px;
}

.regular-text {
    color: #00264c;
    font-weight: lighter;
}

.bold-text {
    color: #00264c;
    font-weight: bold;
    margin-bottom: 2rem;
}

.regular-list {
    color: #00264c;
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

footer span {
  color: #00264c;
  font-size: 22px;
  line-height: 40px;
  padding-bottom: 2rem;
}

.seccion-indice{
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.seccion-indice .letra {
    text-transform: lowercase;
    font-size: 38px;
    line-height: 38px;
    text-decoration: none;
    color: #afafb0;
    font-weight: bold;
}

.seccion-indice .letra:hover {
    color: #00264c;
}

.search-wrapper {
    position: relative;
}

.search-wrapper .search-btn{
    content: "";
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: url('../img/icono-search.svg') no-repeat center center;
    background-size: 30px auto;
    cursor: pointer;
    border: none;
}

.search-wrapper .search-input {
    padding: 1.5rem;
    padding-left: 60px;
    margin-bottom: 2rem;
}

.letra-indice {
    font-family: "Funnel Display", sans-serif;
    text-transform: lowercase;
    font-size: 80px;
    font-weight: bold;
    color: #00264c;
    line-height: 100px;
}

.titulo-indice {
    font-family: "Funnel Display", sans-serif;
    text-transform: lowercase;
    color: #00264c;
    text-decoration: none;
    font-size: 30px;
    line-height: 32px;
}

.titulo-indice:hover {
    font-weight: bold;
} 
    

.letra-active {
    color: #00264c !important;
}

#btnScrollTop {
  position: fixed;
  bottom: 40px;
  right: 40px;
  display: none;
  z-index: 1000;
}

.blue-card {
    height: 200px; 
    background-color:#00264c;
    border-radius: 10px; 
    outline: 3px dashed #00264c;
    padding: 20px;
    height: auto;
    min-height: 200px;
}

.blue-card .col-img a,
.blue-card .carousel-item a {
    color: #fff;
    text-decoration: none;
    text-transform: lowercase;
    font-weight: lighter;
    font-size: 22px;
}

.blue-card .col-img a img,
.blue-card .carousel-item a img {
    margin-bottom: 13px;
    max-height: 200px;
    width: auto;
    border: none;
    outline: 2px solid #00264c;
    outline-offset: 4px;
    margin-top: 5px;
}

.blue-card .col-img a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.blue-card .col-img a:hover img{
    outline-color: #fff;  
}

.white-search-card {
    background-color: #fff;
    border-radius: 10px;
    height: auto;
    min-height: 200px;
    color: #00264c;
    border: 3px dashed #00264c;
    margin-bottom: 2rem;
}

.last-search-card {
    background-color: #00264c;
    border-radius: 10px;
    outline: 3px dashed #00264c;
    padding: 20px;
    height: auto;
    color: #fff;
}

.white-search-card .title {
    text-transform: lowercase;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 0;
    line-height: 28px;
    color: #00264c;
    text-decoration: none;
}

.last-search-card .title {
    text-transform: lowercase;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 0;
    line-height: 28px;
    color: #fff;
    text-decoration: none;
}

.white-search-card .title:hover,
.last-search-card .title:hover {
    text-decoration: underline;
}

.white-search-card .regular-search-text,
.last-search-card .regular-search-text {
    font-size: 20px !important;
    font-weight: lighter;
    margin-bottom: 0;
}

.white-search-card .regular-search-text .subtitle,
.last-search-card .regular-search-text .subtitle {
    font-weight: bold;
    text-transform: uppercase;
    font-size: 20px;
}

.white-search-card .regular-search-text.url {
    color: #00264c;
    text-decoration: none;
}

.last-search-card .regular-search-text.url {
    color: #fff;
    text-decoration: none;
}

.white-search-card .icon-hover i,
.last-search-card .icon-hover i {
    transition: transform 0.2s ease;
}

.white-search-card .icon-hover:hover i,
.last-search-card .icon-hover:hover i {
    transform: translateX(2px);
}

.white-search-card a img {
    border: none; 
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.last-search-card a img {
    border: none; 
    outline: 2px solid #00264c;
    outline-offset: 4px;
}

.white-search-card  a:hover img{
    outline-color: #00264c;  
}

.last-search-card  a:hover img{
    outline-color: #fff;  
}

.toggle-detalles .chevron-icon {
    display: inline-block;
    vertical-align: middle;
}

#resultados-container .resultado-bloque {
    /*margin-top: 2rem;*/
}

#resultados-container #divNoResults{
    margin-top: 2rem;
    margin-bottom: 0;
}

#resultados-container #divNoResults i {
    font-size: 30px; 
    width: 30px; 
    height: 30px;
}

.no-search-yet {
    background-color: #00264c;
    border-radius: 10px;
    outline: 3px dashed #00264c;
    padding: 20px;
    color: #fff;
    font-size: 22px;
}

#sliderUltimasActualizaciones .carousel-item {
    min-height: 320px;
    text-align: center;
}

#sliderUltimasActualizaciones .carousel-item > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

#sliderUltimasActualizaciones .carousel-item img {
    max-height: 200px;
    object-fit: contain;
    margin-bottom: 10px;
}

/*=== ACORDEON ========================================*/
.accordion-button:not(.collapsed) {
  color: #fff;
  background-color: #00264c;
  font-weight: bold;
  font-size: 18px;
}

.accordion-button:not(.collapsed)::after {
  transform: var(--bs-accordion-btn-icon-transform);
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2016%2016%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m2%205%206%206%206-6%22/%3E%3C/svg%3E");
}

#colSuscrip .publicacion-liga {
    color: #00264c;
}

#colSuscrip .publicacion-año {
    margin-bottom: 2rem;
}

#colSuscrip .publicacion-año-numero {
    font-size: 32px;
    font-weight: bold;
}

#colSuscrip .publicacion-archivo a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: lighter;
}

#colSuscrip .publicacion-archivo a:hover {
    font-weight: bold;
    text-decoration: underline;
}

.publicacion-liga-active {
    background-color: #f0f2f3;
    color: #00264c !important;
    font-weight: bold !important;
    text-decoration: underline !important;
}

#colPDF {
    padding: 0;
}

#colPDF #framePDF {
    width: 100%;
    min-height: 200vh;
}

/*=== REFERENCIA BIBLIOGRÁFICA ==============================================*/
.clickable-titulo {
    cursor: pointer;
}

.clickable-titulo:hover  {
    text-decoration: underline;
}

#referenciaModal .title {
    text-decoration: none !important;
}

/*=== BREADCRUMB ==============================================*/
.breadcrumb {
    margin-top: 1rem;
}

.breadcrumb .breadcrumb-item {
    font-size: 16px;
}

.breadcrumb .breadcrumb-item a {
    color: #afafb0;
}

.breadcrumb .breadcrumb-item a:hover {
    color: #00264c;
}

.breadcrumb .breadcrumb-item.active {
  color: #00264c;
  font-size: 16px;
}

/*==== SELECT2 =================================================*/
.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-results__group {
  color: #fff;
  background-color: #00264c;
  font-weight: bold;
  font-size: 18px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #f0f2f3 !important;
  color: #00264c !important;
  font-weight: bold !important;
  text-decoration: underline;
}

.select2-container--default .select2-results__option .select2-results__option {
  color: #00264c;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #00264c !important;
}

.font-size-text {
    font-size: 24px !important;
    margin-bottom: 1rem;
}

/*==== MEDIA QUERIES ===========================================*/
@media (max-width: 767px){
    .logo-edirsa {
        width: 220px;
        margin-bottom: 2rem;
    }

    .logo-cliente {
        margin-top: 0;
    }

    .icono-header{
        width: 45px;
    }

    .seccion-content .div-icon {
        width: calc(18vh);
    }

    .div-address {
        text-align: center;
    }

    .regular-text {
        font-size: 26px;
    }

    .bold-text {
        font-size: 30px;
        line-height: 28px;
    }

    .regular-list {
        font-size: 26px;
        line-height: 26px;
    }

    footer img {
        width: 50%;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .col-img {
        margin-bottom: 60px;
    }

    .col-img:last-of-type {
        margin-bottom: 0px;
    }

    .white-search-card,
    .last-search-card  {
        padding: 10px;
    }

    .white-search-card img,
    .last-search-card a img {
        max-height: 140px;
    }

    .collapse-sm {
        display: none;
    }

    #colSuscrip {
        border-top: none;
        background-color: #fff;
    }

    #colPDF {
        margin-top: 1rem;
    }

}

@media (min-width: 768px){
    .logo-edirsa {
        width: auto;
        max-width: 250px;
    }

    .logo-cliente {
        margin-top: 2rem;
    }

    .icono-header{
        width: 45px;
    }

    .seccion-content .div-icon {
        width: calc(24vh);
    }
    
    .div-address {
        text-align: left;
    }

    .regular-text {
        font-size: 30px;
    }

    .bold-text {
        font-size: 36px;
        line-height: 34px;
    }

    .regular-list {
        font-size: 30px;
        line-height: 32px;
    }

    footer img {
        width: 20%;
        margin-top: 4rem;
        margin-bottom: 2rem;
        max-width: 600px;
    }

    #rowUltimasActualizaciones .col-md-4 {
        width: 30%;
        margin-right: 3.33%;
    }

    .col-img {
        margin-bottom: 0px;
    }

    .white-search-card,
    .last-search-card {
        padding: 20px;
    }

    .white-search-card a img,
    .last-search-card a img {
        max-height: 200px;
    }

    .collapse-sm {
        display: block !important;
        margin-top: 2rem;
    }

    .altura-sincronizada {
        display: flex;
        align-items: stretch;
    }

    .altura-sincronizada > [class^="col-"] {
        display: flex;
        flex-direction: column;
    }

    #framePDF {
        flex: 1;
    }

    #colSuscrip {
        padding: 0;
        background-color: #404344;
        color: #fff;
        border-top: 1px solid #404344;
    }

    #colPDF {
        margin-top: 0;
    }


}


/*==== ANIMACIONES ===========================================*/
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes desplazamientoIntermitente {
  0% { transform: translateX(0); }
  25% { transform: translateX(3px); }
  50% { transform: translateX(0); }
  75% { transform: translateX(3px); }
  100% { transform: translateX(0); }
}

.animated-icon {
  animation: desplazamientoIntermitente 2s ease-in-out;
  animation-iteration-count: 1; /* 10s total if each cycle is 1s */
}
