@font-face {
    font-family: 'AvantGarde';
    src: url('../fonts/itc-avant-garde-gothic-medium.otf') format('opentype');
    font-weight: 500; /* Medium weight */
    font-style: normal;
}

@font-face {
    font-family: 'AvantGarde';
    src: url('../fonts/itc-avant-garde-gothic-bold.otf') format('opentype');
    font-weight: 700; /* Bold weight */
    font-style: normal;
}

@font-face {
    font-family: 'AvantGarde';
    src: url('../fonts/itc-avant-garde-gothic-bold-oblique.otf') format('opentype');
    font-weight: 700; /* Bold weight */
    font-style: oblique;
}

@font-face {
    font-family: 'AvantGardeCondensed';
    src: url('../fonts/itc-avant-garde-gothic-book-condensed.otf') format('opentype');
    font-weight: 400; /* Normal weight */
    font-style: normal;
}

/* @font-face {
    font-family: 'AvantGardeCe';
    src: url('../fonts/itc-avant-garde-gothic-ce-book.otf') format('opentype');
    font-weight: 400; 
    font-style: normal;
} */


@font-face {
    font-family: 'AvantGardeCondensed';
    src: url('../fonts/itc-avant-garde-gothic-medium-condensed.otf') format('opentype');
    font-weight: 500; /* Medium weight */
    font-style: normal;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%; /* Garantiza que ocupen toda la altura del viewport */
}
html{
    overflow: hidden;
}

body{
    font-family: 'AvantGarde';
    font-weight: 500;
    height: 100vh;
    display: flex;
    flex-flow: row wrap;
    overflow: hidden;
}
#menu{
    width: 110px;
    position: absolute;
    top: 70px;
    left: 0;
    text-align: center;
    padding-left: 15px;
    overflow: visible;
    /* overflow-y: auto; */
    z-index: 115;    
}
#main{
    width: 100%;
    height: 100dvh;
    padding-left: 110px;
    padding-right: 110px;
    padding-bottom: 120px;
    padding-top: 70px;
}
footer{
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0;
    height: 120px;
    padding-left: 110px;
    padding-right: 110px;
    background-image: url('../img/fondofooter2.webp');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-top: 1px solid black;
    padding-top: 15px;
}

#menu .links{
    list-style: none;
    margin: 0;
    padding: 0;
}
#menu .links li img{
   width: 65px;
   margin-bottom: 15px;
   transition: transform .2s ease-out;
}
#menu .links li img:hover{
    transform: scale(1.1);
 }
.address a{
    margin: 0;
    color: #DFF1F8;
    font-family: "Inter", serif;
    font-weight: 400;
    text-decoration: none;
    font-size: 1em;
}
#social{
    list-style: none;
    margin: 0;
    padding: 0;
}
#social li{
    display: inline-block;
}
#social a img{
    width: 50px;
    margin-left: 10px;
    transition: transform .2s ease-out;
}
#social a img:hover{
    transform: scale(1.1);
}
.links li{
    position: relative;
}


.ulinter {
    list-style: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: -250px;  /* -250px */
    z-index: 100;
    transition: left .2s ease-in-out;
}
.showsubmenu{
    left: 85px !important;  /* -250px */
}

.ulinter li {
    background-color: #ffffff;
    margin-bottom: 7px;
    color: #0366A7;
    font-weight: 700;
    font-size: 0.9em;
    padding: 0px 8px;
    white-space: nowrap;
    border-radius: 53px;
    width: 190px;
}
.ulinter li a{
    color: #0366A7;
    display: block;
    text-decoration: none;
}
.headmnelist{
    background: #0266A7 !important;
    color: white !important;
}



/* 
#marquee {
    width: 100%;             
    overflow: hidden; 
    width: 100%;
    display: contents;      
}
  
#marquee p {
    display: inline-block;   
    white-space: nowrap;    
    animation: desplazamiento 30s linear infinite; 
    color: #0366A7;
    font-weight: 400;
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 0;
    overflow: hidden;
    
}
  
@keyframes desplazamiento {
    0% {
        transform: translateX(60%); 
        opacity: 1; 
    }
    100% {
        transform: translateX(-100%); 
        opacity: 1; 
    }
} */
#marquee {
    width: 100%;              /* Ancho completo */
    overflow: hidden;         /* Oculta el contenido que se desborda */
    position: relative;       /* Asegura que los elementos dentro se posicionen adecuadamente */
}

#marquee p {
    display: inline-block;    /* El contenido se muestra en línea */
    white-space: nowrap;      /* Evita que el texto se divida */
    animation: desplazamiento 30s linear infinite; /* Animación con velocidad constante */
    color: #0366A7;
    font-weight: 400;
    font-size: 1.1em;
    padding: 10px;
    margin-bottom: 0;
    overflow: hidden;
}

@keyframes desplazamiento {
    0% {
        transform: translateX(100%); /* Comienza fuera de la pantalla por la derecha */
    }
    100% {
        transform: translateX(-100%); /* El texto se desplaza fuera de la pantalla por la izquierda */
    }
}



#overmenu{
    display: none;
}
.container-fluid{
    padding: 0 !important;
}

#videoinicio{
    width: 100%;
    object-fit: cover;
    display: block;
    height: calc(100% - 50px);
}
#videoinicioMovil{
    width: 100%;
    object-fit: contain;
    height: calc(100% - 50px);
    display: none;
}
#widgetclima{
    width: 90%;
    margin-top: 60px !important;
    margin: auto;
}
#contentMenu{
    display: none;
}
.showmenumovil{
    left: 0px !important;
    z-index: 3;
}
.showovermovil{
    display: block !important;
    position: absolute;
    height: 100vh;
    width: 100%;
    z-index: 102;
    background-color: #3264897a;
}
#main{
    overflow-y: auto;
}


/* HTML: <div class="loader"></div> */
.loader {
    width: 39px;
    aspect-ratio: 1;
    display: grid;
    margin: auto;
  }
  .loader::before,
  .loader::after {    
    content:"";
    grid-area: 1/1;
    --c:no-repeat radial-gradient(farthest-side,#0166a8 92%,#0000);
    background: 
      var(--c) 50%  0, 
      var(--c) 50%  100%, 
      var(--c) 100% 50%, 
      var(--c) 0    50%;
    background-size: 12px 12px;
    animation: l12 1s infinite;
  }
  .loader::before {
    margin: 4px;
    filter: hue-rotate(45deg);
    background-size: 8px 8px;
    animation-timing-function: linear
  }
  
  @keyframes l12 { 
    100%{transform: rotate(.5turn)}
  }



@media only screen and (max-width: 1690px) {	
    #main {
        padding-left: 110px;
        padding-right: 110px;
        padding-bottom: 110px;
        padding-top: 40px;
    }
    #menu .links li img {
        margin-bottom: 12px;
    }
    #social a img {
        width: 40px;
    }
    #menu {
        width: 110px;
        top: 40px;
        padding-left: 10px;
    }
    footer {       
        height: 110px;
        padding-left: 110px;
        padding-right: 110px;      
    }
}
@media only screen and (max-width: 1600px) {	
    #widgetclima {
        margin-top: 10px !important;
    }

}
@media only screen and (max-width: 1445px) {
    .ulinter li {
        margin-bottom: 5px;
        font-size: 0.85em;
        width: 185px;
    }
    #marquee p {
        font-size: 1em;
    }
}
@media only screen and (max-width: 1400px) {
    #menu .links li img {
        width: 56px;
    }
}
@media only screen and (max-width: 1285px) {
    #menu .links li img {
        width: 43px;
    }
    #menu {
        top: 25px;
    }
    footer {
        height: 75px;
    }
    .address a {
        font-size: 0.7em;
        display: block;
    }
    #social a img {
        width: 35px;
    }
    #main {
        padding-bottom: 75px;
    }
}
@media only screen and (max-width: 1030px) {	
    #menu {
        width: 80px;
        top: 35px;
        padding-left: 5px;
    }
    #main {
        padding-left: 80px;
        padding-right: 80px;
        padding-bottom: 100px;
        padding-top: 35px;
    }
    footer {       
        height: 100px;
        padding-left: 80px;
        padding-right: 80px;      
    }
    .address a {
        font-size: 0.8em;
        display: block;
    }
    #social a img {
        width: 37px;
        margin-left: 5px;
    }
    #marquee p {
        font-size: 1em;
    }
}
@media only screen and (max-width: 801px) {	
    #menu .links li img {
        width: 34px;
        margin-bottom: 5px;
    }
    #social a img {
        width: 32px;
        margin-left: 5px;
    }
}

@media only screen and (max-width: 770px) {	
    #menu .links li img {
        width: 40px;
        margin-bottom: 7px;
    }
    #menu {
        width: 85px;
        top: 0;
        padding-left: 0;
        left: -100px;
        padding-top: 35px;
        background: #8CB7D6;
        padding-bottom: 16px;
        transition: left .2s ease-in-out;
    }
    #contentMenu {
        display: block;
        position: absolute;
        left: 17px;
        top: 17px;
        z-index: 1;
    }
    #main {
        padding-left: 35px;
        padding-right: 35px;
        padding-bottom: 80px;
        padding-top: 15px;
    }
    footer {
        padding-top: 0px;
        height: 80px;
        padding-left: 35px;
        padding-right: 35px;
        display: flex;
        align-items: center;
    }
    .address a br{
        display: none;
    }
    .address a {
        font-size: 0.7em;
        width: 70%;
    }
    footer .col{
        align-items: center;
        display: flex;
        justify-content: end;
    }
    .address{
        margin-bottom: 0;
    }
    #btnMenu img{
        width: 40px;
    }
    
}
@media only screen and (max-width: 600px) {
    .address a {
        font-size: 0.7em;
        width: 100%;
    }
    #videoinicio {
        display: none;
    }
    #videoinicioMovil {
        width: 100%;
        object-fit: scale-down;
        display: block;
        height: calc(100% - 50px);
    }
    footer .container-fluid{
        padding: 0!important;
    }
    #social a img {
        width: 24px;
        margin-left: 3px;
    }
    @keyframes desplazamiento {
        0% {
            transform: translateX(30%); /* Comienza fuera de la pantalla por la derecha */
            opacity: 1; /* El texto no es visible al inicio */
        }
        100% {
            transform: translateX(-100%); /* El texto se desplaza fuera de la pantalla por la izquierda */
            opacity: 1; /* El texto desaparece al salir */
        }
    }
}

@media only screen and (max-width: 365px) {
    #main {
        padding-left: 20px;
        padding-right: 20px;
    }
    footer {
        padding-left: 20px;
        padding-right: 20px;
    }

}
@media only screen and (max-width: 325px) {
    .address a {
        font-size: 0.64em;
    }
}