*{
    --color-orange: /*rgb(247,147,30)*/rgb(34,60,112);
    --color-gray: rgb(77,77,77);
    --animate-duration: 2.5s;
}

body{
    background-color: white;
    overflow-x: hidden;
}

.main{
    width: 100%;    
    height: auto;
    overflow-x: scroll;
}

section{
    width: 100%;
    height: auto;
    background-color: white;    
}

.bloques{
    display: flex;
    /*border: 1px blue solid;*/
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    min-height: 80vh;
    margin-top: 2vh !important;
}

.texto-bloque{
    height: auto;
    /*border: 1px green solid;*/
    margin: 2% 1% !important;
    text-align: justify;
    position: relative;
    font-size: 1.5em;
    /*background-color: var(--color-gris-nosotros);*/
}

.imagen-bloque{
    /*height: 42vh;*/
    height: auto;
    /*max-height: 45vh;*/
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    --animate-duration: 2s;
}

.imagen-bloque img{
    width: auto;
    max-width: 100%;
    /*max-height: 45vh;*/
    height: auto;
    border-radius: var(--border-radius);
}

.parrafo-bloque{
    color: var(--color-gray);
    font-size: 3.0vh;
    padding-left: 3% !important;
    padding-right: 3% !important;
    /*padding-top: 2% !important;*/
    margin-top: -31vw/*vh*/ !important;
    padding-top: 32vw !important;
    /*--Para el fondo gris*/
    padding-bottom: 2% !important;
    height: auto;
    /*overflow-y: auto;*/
    /*min-height: 15vh;*/
    line-height: 1.2;
    /* background-color: var(--color-gris-nosotros); */
}

.parrafo-bloque2{
    color: var(--color-gray);
    font-size: 3.0vh;
    padding-left: 3% !important;
    padding-right: 3% !important;
    padding-top: 6vh !important;
    /*--Para el fondo gris*/
    margin-top: -5vh !important;
    padding-bottom: 2% !important;
    height: auto;
    line-height: 1.2;
    /* background-color: var(--color-gris-nosotros); */
}

.titulo-bloque{
    font-weight: 700;
    font-size: 4vh;
    font-family: "PTSans-bold";
}

#umg-footer img{
    width: 100%;
    height: auto;
    max-height: 100%;
}

#principal{
    overflow-x: hidden;
}

.banner-bloque img{
    width: auto;
    max-height: 12vh;
    height: auto;
}

.banner-bloque{
    display: flex;
    justify-content: center;
    align-items: center;
}

#SSh1{
    /*min-height: 20vh;*/
    display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
}

#ver-mas {
    cursor: pointer;
    font-family: "PTSans-bold";
    font-size: 3vh;
    color: var(--color-gray);
    padding-left: 1%!important;
    padding-right: 1%!important;
    border: 1px solid rgb(164,164,164);
}

#ver-mas:hover{
    border: 1px solid var(--color-gray);
}

#ver-mas:disabled,
#ver-mas[disabled]{
    border: 1px solid rgb(164,164,164);
    background-color: var(--color-gray);
    color: rgb(164,164,164);
}

#icon{
    font-size: 2vh;
}

#myf{
    --animate-duration: 1s;
}


/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*---------------------------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%;
    }
    
    
}

/*----------------------------------------------------------------------------*/
/*----------------------------------------------------------------------------*/
/*---------------------------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%;
        
    }
    
}
