*{
    --color-orange: /*rgb(247,147,30)*/rgb(34,60,112);
    --color-gray: rgb(77,77,77)
}

body{
    background-color: white;
    overflow-x: hidden;
}

p{
    margin-bottom: 0;
}

.main{
    width: 100%;    
    height: auto;
    overflow-x: scroll;
}

section{
    width: 100%;
    height: auto;
    background-color: white;    
}

#portada > img{
    margin: 0 !important;
    padding: 0 !important;
    height: auto;
    /*border-bottom: 0.5em solid var(--color-orange);*/
}

#icon{
    font-size: 2vh;
}

#portada-bloques{
    display: flex;
    /*border: 1px blue solid;*/
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 80vh;
}

.texto-bloque{
    height: auto;
    /*border: 1px green solid;*/
    margin: 2% 1% !important;
    text-align: justify;
    position: relative;
    font-size: 1.5em;
    --animate-duration: 2s;

    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow:clip;
}

.label-bloque{
    background-color: var(--color-orange);
    position: absolute;
    top: 1.5%;
    left: 3.5%;
    /* top: 0;
    left: 0; */
    width: auto;
    padding: 0.5% 0.5em !important;
    z-index: 3;
    color: white;
    font-family: "Nimbus-Sans-light";
    text-align: center;
    font-size: 2.25vh;
    border-radius: var(--border-radius);
    /* border-radius: 0 0 var(--border-radius) 0; */
}

.imagen-bloque{
    /*height: 42vh;*/
    height: auto;
    max-height: 45vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: var(--color-gris-nosotros); */
}

.imagen-bloque img{
    width: auto;
    max-width: 100%;
    max-height: 45vh;
    height: auto;
}

.parrafo-bloque{
    color: var(--color-gray);
    font-size: 2.75vh;
    padding-left: 5% !important;
    padding-right: 5% !important;
    padding-top: 5% !important;
    padding-bottom: 1.5% !important;
    height: 43vh;
    /*overflow-y: auto;*/
    /* background-color: var(--color-gris-nosotros); */
    margin-top: 0% !important;
    /*block-size: 46.9% !important;*/
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
   /* justify-content: space-between; */
}

.parrafo-bloque>.interlineado1-2{
    overflow-y: auto;
    overflow-wrap: anywhere;
    /*height: 30vh;*/
    /*border: 1px red solid;*/
}

.titulo-bloque{
    font-weight: 700;
    font-size: 3vh;
}

#principal{
    overflow-x: hidden;
}

.banner-bloque img{
    width: auto;
    max-height: 12vh;
    height: auto;
}

.banner-bloque{
    display: flex;
    justify-content: center;
    align-items: center;
}


#ver-mas-noticias{
    background-color: var(--color-gris-nosotros);
    display: flex;
    width: fit-content;
    gap: 0.25rem;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    font-family: "PTSans-bold";
    font-size: 2.5vh;
    color: var(--color-gray);
    padding-left: 1.75%!important;
    padding-right: 1%!important;
    padding-top: 1.25%!important;
    padding-bottom: 1.25%!important;
    margin-top: 1vh!important;
    margin-bottom: 1vh!important;
    border: 1px solid rgb(164,164,164);
    /*border: 1px solid blue;*/
    border-radius: var(--border-radius);
}

#ver-mas-noticias > i {
    display: flex;
    align-items: baseline;
}

.button-container {
    margin-top: auto;
  }
  
#ver-mas-noticias:is(:hover, :focus){
    border: 1px solid var(--color-gray);
    background-color: var(--color-gris-nosotros-600);
}

#ver-mas-noticas:disabled,
#ver-mas-noticias[disabled]{
    border: 1px solid rgb(164,164,164);
    background-color: var(--color-gray);
    color: rgb(164,164,164);
}

.boton{
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

#portada-img{
    object-fit: cover;
    max-height: 38.5vw;/*probar con 70vh si lo quieren más alto en móvil que en pc*/
}

.interlineado1-1{
    line-height: 1.1;
}

.interlineado1-2{
    line-height: 1.2;
}

.max-h-3ch{
    max-height: 2.5ch;
    overflow: clip !important;
}

@media screen and (max-width: 1176px){
    #noticias #ncontrols{
        bottom: 8%;
        left: 67vw;
        width: 20vw;
        height: auto;
        padding: 1% !important;
        z-index: 1;
    }
}

/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*---------------------------CSS MOBILE PORTRAIT------------------------------*/
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/



@media screen and (max-width: 991px) and (orientation:portrait){
      
    #portada > img{
        width: 167vw !important;
        left: -44%;
    }
    
    #portada #iconbar{
        height: auto;
        padding: 2% 0 !important;
        padding-top: 13% !important;
    }
    
   #iconbar .icon {
        padding: 0 2vw !important;
        height: 23vw;
        margin-left: 6.5% !important;
    }
    
    #iconbar .icon .icon-img {
        height: 55%;
    }
    
    #iconbar .icon .icon-text{
        height: 45%;
        padding: 5% 0 !important;
        font-size: 110% !important;
    }

    
    #iconbar #iconbar-title{
        padding: 1.5% 0 !important;
        left: 4%;
        top: 0.65%;
        font-size: 97%;
        transform: scale(1.15);
    }  
    
    #noticias{
        height: auto;
        overflow:visible;
        padding-bottom: 12% !important;
    }
    
    
    #noticias #ncontrols{
        bottom: 0%;
        left: 20vw;
        width: 60vw;
        height: auto;
        padding: 1% !important;
    }

    
    #noticias .ncontainer #news-info{
        padding: 0 6% !important;
        height: auto;
    }
    
    #noticias #news-info,
    #como-inscribirte #signup-info{
        display: initial;
        height: auto;
        padding: 5% 6% !important;
    }
    
    #registrate > div{
       padding: 0 8% !important;
       padding-top: 35% !important;
    }
    
    #registrate img{
        width: 185vw !important;
        left: -46%;
    }
    
    #registrate > div > div,
    #registrate > div > span{
       width: 100%;
       padding: 0 7% !important;
    }
    
    #sedes-umg{
        padding: 5% 0 !important;
    }
    
    #sedes-umg h3{
        padding: 4% 21% !important;
        font-size: 150%;
    }
    
    #sedes-umg div{
        display: initial;
        
    }
    
   #sedes-umg div a {
        width: 59vw;
        margin-left: 20% !important;
        margin-bottom: 0.4em !important;
        font-size: 130%;
    }
    
    .label-bloque{
        top: 1.5%;
        left: 3.5%;
        /* top: 0;
        left: 0; */
    }
}

/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*---------------------------CSS MOBILE LANDSCAPE-----------------------------*/
/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/



@media screen and (max-width: 991px) and (orientation:landscape){
    
    #portada #iconbar{
        height: auto;
        padding: 2% 0 !important;
        padding-top: 8% !important;
    }
    
    #iconbar .icon{
        width: 12vw;
        height: 15vw;
        margin-left: 4vw !important;
    }
    
    #iconbar .icon .icon-img {
        height: 55%;
    }
    
    #iconbar .icon .icon-text{
        height: 25%;
        margin-top: 0.2em !important;
        padding: 5% 0 !important;
    }

    
    #iconbar #iconbar-title{
        
        width: 50%;
        padding: 1% 0 !important;
        left: 0%;
        top: 0.75%;
        font-size: 100%;
        transform: scale(1.15);
    }  
    
    
    #noticias{
        height: auto;
        overflow:visible;
        padding-bottom: 10% !important;
    }
    
    #news-title {
        padding: 2% 6vw !important;
        font-size: 300%;
    }
    
    
    #noticias #ncontrols{
        bottom: -3%;
        left: 30vw;
        width: 40vw;
        height: auto;
        padding: 1% !important;
    }  
    
    #noticias #news-info,
    #como-inscribirte #signup-info{
        display: initial;
        height: auto;
        padding: 5% 4% !important;
    }
    
    #signup-info h1 {
        font-size: 250%;
    }
    
    #registrate > div{
       padding: 0 8% !important;
    }
    
    #registrate > div > div,
    #registrate > div > span{
       width: 100%;
    }
    
    #sedes-umg{
        padding: 5% 0 !important;
    }
    
    #sedes-umg h3{
        padding: 4% 8% !important;
        font-size: 150%;
    }
    
    #sedes-umg div{
        display: initial;
        
    }
    
    #sedes-umg div a{
        width: 30vw;
        margin-left: 2% !important;
        font-size: 130%;
        
    }
    
    .label-bloque{
        /* top: 0;
        left: 0; */
        top: 0.5%;
        left: 0.5%;
    }
}
