
/* 
https://placeimg.com/640/700/tech 
https://placeimg.com/640/480/tech 
https://placeimg.com/640/360/tech

- Ciencia y tecnología
- Premios y Certámenes
- Cultura
- Deportes
- Anuncios destacados del Centro (Escuela, Facultad)
- Otros
*/

/* --- SECTIONS ---  */


.alt {background: #F1F1F1;/*#424a50;*/}
.inverse.alt{background:#111;}

.inverse {background: #3F4444;/*#424a50;*/}
.inverse h1, .inverse h2, .inverse h3, .inverse h4 {color:#fff;}


.upv-section {padding:80px 0!important;margin:0;}
.upv-section .wp-block-columns{margin:0 auto 2em auto;gap:16px;}

.upv-section.no-padding-top{padding-top:15px!important;}
.upv-section.no-padding-bottom{padding-bottom:15px!important}
.upv-section.no-padding{padding:15px!important;}


#editor .upv-section {border:1px dashed #ccc;margin-left:4px;margin-right:4px;}
@media (max-width: 1024px){

    .upv-section.inverse,
    .upv-section.alt {
        padding-left:10px!important;padding-right:10px!important;
        margin-left:-10px!important;margin-right:-10px!important;
        max-width:150%!important;
        }
}

h1.section-title {padding-top:20px;padding-bottom:15px;margin:0 auto;font-size:48px;}
h2.section-title {padding-top:15px;padding-bottom:15px;margin:0 auto;font-size:28px;}
h3.section-title {padding-top:10px;padding-bottom:10px;margin:0 auto;font-size:20px;}
.section-lead {margin:0 auto 50px auto!important;font-size:20px!important;}


.inverse .section-title, .inverse .section-lead {color:#fff;}


/* --   TEXTS ----*/


.wp-block-quote {padding:24px 0 24px  24px;border-color:#E5554F;} 
.wp-block-quote p {font-size:28px;line-height:1.2em;font-family:Poppins;font-weight:bold;} 
.wp-block-quote cite {text-transform:uppercase;} 
.inverse .wp-block-quote {border-color:#FFD100;}                     

.wp-block-quote  .wp-block-quote__citation {font-size:16px;}

.upv-text img {padding:0 30px 30px 30px;}

.upv-text.inverse {color:#fff;} 

.upv-text ul{padding-left:0}
.upv-text .upv-feature ul{padding-left:40px}

.upv-text.circular h2{font-size:42px}
.upv-text.circular p {font-size:20px;line-height:26px;}
.upv-text.circular .is-style-rounded img{padding:25px;}

.justificado,.justify {text-align:justify;}

/* ---- features ---*/

.upv-feature .wp-block-column,.upv-feature.join-columns .wp-block-columns{
    padding: 32px 24px;
    background:#f1f1f1;
    border-radius:24px;
    
}

.inverse .upv-feature .wp-block-group{
    background:#5b5b5b;   
}

.upv-feature.inverse .wp-block-column,.upv-feature.join-columns.inverse .wp-block-columns, .upv-feature.inverse .wp-block-group{
    background:#5b5b5b;
}

.upv-feature .wp-block-group{
    padding: 24px;
    background:#f1f1f1;
     border-radius:24px; 
    margin-bottom:16px;
}
.upv-feature  h2,
.upv-feature  h3,
.upv-feature  h4{
    margin-top:0;
}

.upv-feature.inverse{color:#fff;}
.upv-texts.inverse{color:#fff;}





/* --- HERO ---  */

.upv-hero {min-height:auto;}
.upv-hero .wp-block-cover__inner-container{margin:60px 20px;}
.upv-hero.wp-block-cover .section-title {margin:0 auto 10px auto;font-size:2.5em;}
.upv-hero.wp-block-cover .section-lead {margin:0 auto;font-size:1.3em;}

#editor .editor-styles-wrapper .upv-hero.dark.wp-block-cover .section-title, 
#editor .editor-styles-wrapper .upv-hero.dark.wp-block-cover .section-lead,
.upv-hero.dark.wp-block-cover .section-title,
.upv-hero.dark.wp-block-cover .section-lead {color:#F3F3F3;}

#editor .editor-styles-wrapper .upv-hero.wp-block-cover .section-title, 
#editor .editor-styles-wrapper .upv-hero.wp-block-cover .section-lead,
.upv-hero.wp-block-cover .section-title,
.upv-hero.wp-block-cover .section-lead {color:#333;}

.upv-hero.transparent-header .wp-block-cover__inner-container{margin:250px 20px 0 20px;}
.upv-hero.transparent-header-small .wp-block-cover__inner-container{display:none;}



/* --- BOXES ---  */

.with-readmore,.upv-box {margin:0 auto ;/*padding-bottom:90px!important*/;position:relative;}
.with-readmore {padding-bottom:90px!important;}

.upv-box {background:#F1F1F1;}
.inverse .upv-box {background:#fff;color:#111;}

.inverse .upv-box h1,.inverse .upv-box h2,
.inverse .upv-box h3,.inverse .upv-box h4{
    color:#5B6770;
}





.upv-box li {margin-left:0;}
.upv-box ul {padding-left:1.5em;}

.upv-boxes .upv-box{padding:24px;}
.upv-boxes .wp-block-image{margin:-24px -24px 0 -24px; }

.one .upv-box .wp-block-image{margin:0; }
.one .upv-box  {padding:0px!important;}

.upv-texts .read-more,
.upv-block .read-more,
.upv-box .read-more {    
    background:#D73333;    
    padding:10px 18px;
    margin:20px 0 24px 0;   
    text-transform: uppercase; 
    display:inline-block;    
    position:absolute;
    bottom:0;
    clear:both;
}

.upv-texts .read-more a,
.upv-block .read-more a,
.upv-box .read-more a { 
    color:#fff;
    text-decoration:none;
}

.upv-texts .read-more:hover,
.upv-block .read-more:hover,
.upv-box .read-more:hover { 
    text-decoration:none;
    background:#a40e0e;
}

.alt .wp-block-media-text{
    background:#fff;
}


.upv-box h2,.upv-box h3,.upv-box h4,
.wp-block-media-text h2,.wp-block-media-text h3,.wp-block-media-text h4{
    color:#424A50;
}

.wp-block-media-text .read-more{
    position:relative;
}

.big-number{
    font-size:64px!important;
    color:#D73333;  
    line-height:1em;
    font-weight:700;
    margin:0;
    font-family:Poppins;
}

.inverse .big-number{
    color:#fff;
}
/* ----- BLOCKS --------------------------------------- */

.upv-block {margin:0 auto ;padding-bottom:90px!important;position:relative;border:1px solid #E5554F;}
.inverse .upv-block{color:#111;background:#fff;border-color:#fff;}
.inverse .upv-block h2,.inverse .upv-block h3 {color:#5B6770!important;}

.upv-block li {margin-left:0;}
.upv-block ul {padding-left:1.5em;}

.upv-blocks .upv-block{padding:24px;}
.upv-blocks .wp-block-image{margin:-24px -24px 0 -24px!important; }

.one .upv-block .wp-block-image{margin:0; }
.one .upv-block  {padding:0px!important;}

/* ----- MEDIA y VIDEO ------------------------------ */

.upv-media .wp-block-button__link {padding:6px 20px!important}

#primary .upv-videos .wp-block-gallery .blocks-gallery-item figcaption{
    z-index: 1;
    
}

#primary .wp-block-gallery .blocks-gallery-item__caption{
    text-align:left;    
}

#primary .upv-videos .wp-block-gallery .blocks-gallery-item figure::after{
    background:rgba(0,0,0,0.4) url(../assets/play-video.png) center center no-repeat;    
    height:100%;
    width:100%;
    padding:0;
    content:"";
    position:absolute;    
}

#primary .upv-videos .wp-block-gallery .blocks-gallery-item figure .block-editor-media-placeholder{
    position:absolute;
    z-index:2;
}

.upv-media figcaption {display:none}

.upv-media .consubtitulos figcaption {display:block} 



/* --- icon blocks ---  */



.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    background:rgba(0,0,0,0.6);
    padding: 8px 20px;
}


/*----- entities --------*/

