body {color: var(--black-2); font-family: 'Lato', sans-serif;}

h1 {margin-bottom: 25px; color: var(--blue-4-ve);}
h3 {color: var(--blue-pg-5);}
.nombre-escuela.t-2, .top.escuela.t-1 {
    background: var(--azul2);
}
.entornos {text-align: right;}
.entornos.misc{text-align: left!important;}
 .entorno a {
    color: var(--azul6)!important;
    text-align: right;
}
a, a:link, a:active, .link:active {
    color: var(--black);
    -webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;
    -webkit-transition: border-color 500ms linear;
    -ms-transition: border-color 500ms linear;
    transition: border-color 500ms linear;
}

a:hover{
    -webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 550ms linear;
    -webkit-transition: border-color 500ms linear;
    -ms-transition: border-color 500ms linear;
    transition: border-color 500ms linear;
}

.content p a:link, .txt a{text-decoration: underline; color: #003366;}

tr td, tr th {border: none;}
th {background: #135980 !important;}
th p {margin-bottom: 0;}
tr {border-bottom: #008094 1px solid;}
tr td strong {color: #008094;}
tr:nth-child(odd) {
  background-color: #f2f2f2;
}

/*HELPERS*/
.breadcrumbs {display: block; padding-bottom: 25px; color: var(--black); font-size: 0.9em;}
.breadcrumbs a{color: var(--blue-pg-3);}

nav.tabs {margin-bottom: 0 !important;}
.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.col-12.videos{width: 70%; margin: 0 auto 30px auto; padding-bottom: 39.5%;}
.flexbox .col-12.videos {width: 100%; padding-bottom: 56.25%; margin-bottom: 40px;}

.btn-link {border-radius: 5% var(--gris3); color: var(--azul2) !important; display: inline-block;}
/*.btn-link:hover { text-decoration: none;}
.btn-link::before {content: ''; width: 35px; background:url(https://www.uned.ac.cr/sites/default/files/inline-images/icono_pdf_documentos.png) no-repeat; padding: 0 20px;}
*/



.double-column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 2;
}

.no-pt {padding-top: 0 !important;}
.no-pb {padding-bottom: 0 !important;}
.pv {line-height: 125%; min-height: 50px;}

.rounded-25 {
    border-radius: 25px;
}

.transition-3 {
    transition: .3s;
}

body {font-size: 1em;}

span.nombre-escuela a {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    padding: 15px 0;
    margin: 0;
    color: var(--white);
}

.wsmenu>.wsmenu-list>li>ul.sub-menu {
    background: #EDEDED !important;
    border: none !important;
}

.wsmenu>.wsmenu-list>li>ul.sub-menu>li>a {color: var(--blue-4) !important;}

.wsmenu>.wsmenu-list>li>ul.sub-menu>li>a:hover {color: var(--blue-4) !important; text-decoration: underline;}

.slider-block {
    background: url(../img/bg-slider.jpg) no-repeat center center; background-size: cover;
}

.conozca {
    min-height: 310px;
    background: url(../img/bg-conozca.png) no-repeat center center;
    background-size: cover;
}

.conozca a {
    background: #00519E;
    color: var(--white);
    padding: 10px;
    font-weight: bold;
    border-radius: 8px;
    width: 80%;
    display: block;
    text-align: center;
    text-decoration: none !important;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;
}

.conozca a:hover {
    background: var(--azul2);
}

.featured {
    background-color:#003366;
}

.featured .wrapper{
    position: relative;
}

.featured .wrapper .mask {
    position: absolute;
    width: 94%;
    height: 94%;
    margin: 3%;
    border: var(--yellow-ve) 1px solid;
    z-index: 10;
    left: 0;
}

.featured .wrapper a:hover .mask {
    border: #ed8726 1px solid;
}

.featured a span.title {
    min-height: 77px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px;
    text-align: center;
    width: 100%;
    text-decoration: none;
    display: block;
    position: absolute;
    bottom: 0;
    z-index: 10;
    font-size: 1.3em;
}

.bg-etgrd {
    background: #003366 url(../img/bg-slider.jpg) no-repeat top center; background-size: 100%;
}

.content-etgrd {
    background: var(--white);
    border-radius: 12px;
}


.page-node-1530 .item {
    column-count: 2;
}

.origen-natural, .origen-socionatural, .origen-antropico {
    border-radius: 12px;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.origen-natural {
    background: #2764AE;
}

.origen-natural .wrapper {
    background: #024D94;
    padding: 15px;
    margin-bottom: 10px;
    display: inline-block;
    width: 100%;
}

.origen-natural span, .origen-socionatural span, .origen-antropico span {
    font-weight: bold;
}

.origen-natural p {
    background: url(../img/arrow-1.svg) no-repeat 0 7px;
    background-size: 10px;
    padding-left: 20px;
}

.geo-interna .wrapper {min-height: 140px;}
.geo-interna span{
    background: url(../img/ico-geodinamica-interna.svg) no-repeat 0 0;
    background-size: 60px;
    min-height: 100px;
    padding-left: 70px;
    padding-top: 6px;
    display: block;
}

.hidrom .wrapper {min-height: 70px; padding-top: 5px; padding-bottom: 5px;}
.hidrom span{
    background: url(../img/ico-hidrometeorologicas.svg) no-repeat 0 0;
    background-size: 60px;
    min-height: 60px;
    padding-left: 70px;
    padding-top: 15px;
    display: block;
}
.hidrom p {margin-top: 15px;}

.geo-externa .wrapper {min-height: 108px;}
.geo-externa span{
    background: url(../img/ico-geodinamica-externa.svg) no-repeat 0 0;
    background-size: 60px;
    min-height: 60px;
    padding-left: 70px;
    padding-top: 10px;
    display: block;
}

.biologicas .wrapper {min-height: 70px; padding-top: 5px; padding-bottom: 5px;}
.biologicas span{
    background: url(../img/ico-biologicas.svg) no-repeat 0 0;
    background-size: 60px;
    min-height: 50px;
    padding-left: 60px;
    padding-top: 15px;
    display: block;
}
.biologicas p {margin-top: 15px;}

.origen-natural h3, .origen-natural p, .origen-natural span {
    color: var(--white);
}

.origen-socionatural {
    background: #FFE884;
}

.origen-socionatural .wrapper {
    background: #FCBF16;
    padding: 15px;
}

.origen-socionatural .wrapper p {
    background: url(../img/socio-natural.svg) no-repeat 0 3px;
    background-size: 22px;
    padding: 5px 0 5px 40px;
}

.origen-socionatural h3, .origen-socionatural p, .origen-socionatural span,
.origen-antropico h3, .origen-antropico p, .origen-antropico span {
    color: var(--black) !important;
    margin-bottom: 0;
    padding-bottom: 0;
}

.origen-natural h3, .origen-socionatural h3, .origen-antropico h3 {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 12px;
}

.origen-natural h3 {color: var(--white) !important;}

.origen-antropico {
    background: #F2972A;
}

.origen-antropico .wrapper{
    background: #F7B24D;
    padding: 15px;
}

.origen-antropico .wrapper p {
    background: url(../img/ico-antropico.svg) no-repeat 0 7px;
    background-size: 30px;
    padding: 5px 0 5px 40px;
}

.integrantes .wrapper {
    -webkit-box-shadow: 0px 6px 11px -1px rgba(0,0,0,0.4); 
    box-shadow: 0px 6px 11px -1px rgba(0,0,0,0.4);
    min-height: 375px;
}   

.integrantes .wrapper h3 {
    font-size: 1.2em;
    color:#003366;
    margin-bottom: 5px;
}

.integrantes a.btn-contact {
    background: var(--amarillo);
    text-align: center;
    display: block;
    font-weight: bold;
}

.integrantes a.btn-contact:hover, a.btn-more:hover{
    background: #ed8726;
}

.integrantes span.rol {
    font-size: 0.9em;
    font-style: italic;
    color: var(--gris);
}

.content-etgrd {padding: 3rem 4rem !important;}
.content-etgrd.agenda-etgrd .views-row {padding-bottom: 8rem !important;}

.content-etgrd .item-wrapper {
    min-height: 315px;
    border-radius: 8px;
    border: var(--grey-ve-1) 1px solid;
    -webkit-box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.29); 
    box-shadow: 0px 2px 2px 0px rgba(0,0,0,0.29);
}

.content-etgrd .img-footer {
    background: #efeeee;
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: block;
}

.content-etgrd .date {
    left: -10px;
    background: var(--blue-4);
    color: var(--white);
    top: 20px;
}

.content-etgrd h3 {
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
}

.content-etgrd h3 a {
    color:#003366 ;
}

.autor-etgrd {
    border-top: var(--yellow-ve) 1px solid;
    display: inline-block;
    padding-right:5rem;
}

.content-etgrd .wrapper.details {
    background: var(--gris1);
    padding: 20px;
    margin-left: -50px;
    margin-top: 20px;
    margin-bottom: 30px;
}

span.title a {
    color: var(--blue-4);
    font-size: 1.1em;
    font-weight: bold;
}

.date-full {
    display: block;
    padding: 8px 0;
}

a.btn-more {
    background: var(--amarillo);
    padding: 5px 10px;
    text-align: center;
    color: var(--negro1);
    display: block;
    font-weight: bold;
}

.agenda-etgrd .wrapper {
    width: 80%;
    background: #F2F2F2;
    padding: 20px;
    font-size: 0.9em;
    position: absolute;
    top: 120px;
    right: 0;
    line-height: 1.4em;
}

.agenda .hour, .agenda-in .hour {
    padding-top: 0;
    background-position: 0 4px;
}

span.section {font-size: 1.4em; margin-bottom: 25px; color: var(--blue-4-ve); font-weight: bold;}

.date-in, .news-gestion {font-style: italic;}

.relacionados p a {
    color: var(--blue-4-ve);
    font-weight: bold;
    text-decoration: none !important;
}

.relacionados .item-news.views-row {
    border-bottom: #ebf1f3 1px solid;
    width: 100%;
}

.footer-bottom.etgrd p {font-weight: bold; font-size: 1.2em; margin-bottom: 10px;}
.footer-bottom.etgrd ul {margin: 0; padding-left: 0; list-style: none;}
.footer-bottom.etgrd ul li {padding-left:20px; padding-bottom: 5px; min-height: 20px; margin-bottom: 10px; display: block; line-height: 115%;}
.footer-bottom.etgrd ul li a{color: var(--white); text-decoration: none;}

.footer-bottom.etgrd .links ul li {
    background: url(../img/arrow-li-ft.svg) no-repeat 0 3px;
    background-size: 7px;
    min-height: 10px;
    padding-left:16px;
}

.footer-bottom.etgrd ul li.location {
    background: url(../img/ico-location-y.svg) no-repeat 1px 1px;
    background-size: 12px;
}

.footer-bottom.etgrd ul li.tel {
    background: url(../img/ico-tel-y.svg) no-repeat 1px 1px;
    background-size: 15px;
}

.footer-bottom.etgrd ul li.email {
    background: url(../img/ico-mail-y.svg) no-repeat 1px 1px;
    background-size: 15px;
}

.footer-bottom .views-row {width: 100%;}

.copy {font-size: 0.9em; padding-top: 8px; padding-bottom: 8px; color: #666666;}
.copy ul{list-style: none; padding: 0; margin: 0;}
.copy ul li {float: left; display: inline-block; padding: 3px 0; text-align: center;}
.copy ul li:before {content: '|'; width: 15px; display: inline-block;}
.copy ul li:first-child:before {content: '';}

.breadcrumbs a {color: var(--blue-2); text-decoration: underline;}

.bloque .wrapper {
   border: #EDEDED 2px solid;
   border-radius: 12px;
}

.bloque .wrapper h3 {
    background: transparent !important;
    color: #043653;
    font-size: 1.1em;
    padding-bottom: 0;
}

.bloque .wrapper .sub-wrapper {
    border: none !important;
    padding: 15px;
    background: transparent;
}

.bloque .wrapper .sub-wrapper p {
    background: transparent !important;
}



@media (min-width: 992px) {
    .wsmenu>.wsmenu-list>li>ul.sub-menu {
        background: var(--grey-pg-3) url(../img/mark-menu.svg) no-repeat center top;
        background-size: 20px;
        border-top: var(--yellow-ve) 5px solid !important;
        -webkit-border-bottom-right-radius: 8px;
        -webkit-border-bottom-left-radius: 8px;
        -moz-border-radius-bottomright: 8px;
        -moz-border-radius-bottomleft: 8px;
        border-bottom-right-radius: 8px;
        border-bottom-left-radius: 8px;
        padding-top: 10px !important;
        max-width: 210px;
    }

    .wsmenu>.wsmenu-list>li>ul.sub-menu>li>a {
        background-image: none;
        color: var(--black);
        border-right: 0 none;
        display: block;
        line-height: 22px;
        padding: 5px 15px !important;
        margin: 0 15px !important;
        text-transform: none;
        font-size: 14px !important;
        letter-spacing: normal;
        border-right: 0px solid;
        border-bottom: var(--grey-pg-4) 1px solid;
        background: url(../img/bullet-m.svg) no-repeat 0 11px !important;
        background-size: 6px !important;
    }

    .wsmenu>.wsmenu-list>li>ul.sub-menu li:last-child a {
        border: none;
    }

    .wsmenu>.wsmenu-list>li>ul.sub-menu>li>a:hover {
        color: var(--blue-pg-3);
    }

    .wsmenu {width: 100%;}
    .wsmenu-list li ul li a{background: url(../img/arrow-right.svg) no-repeat 12px 14px !important; background-size: 5px !important; padding-left: 22px !important;}

}

footer{
    padding-bottom: 40px !important;
}

@media (max-width: 576px) {
    body {
        padding-top: 55px !important;
    }

    .container-fluid.top {
        padding: 0 5px;
    }

    span.nombre-escuela a {
        font-size: 1.3em;
        padding: 5px 0 5px 40px;
    }

    .banner-pg .line-1, .banner-pg .line-2 {padding: 8px 10px;}
    .banner-pg .line-1 {
        font-size: 1.3em;
        margin-top: 10px;
    }
    .banner-pg .line-2 {
        font-size: 2em;
    }

    .sep div.info {margin-top: 20px; margin-bottom: 20px;}

    .content-etgrd, .content-etgrd.agenda-etgrd {padding: 1rem 1.5rem !important;}
    .content-etgrd.agenda-etgrd .views-row {padding-bottom: 0;}

    .page-node-1530 .item {
        column-count: 1;
    }
    
    .conozca {
        min-height: auto;
        background: none;
        padding: 10px 0;
    }

    .agenda-etgrd .wrapper {
        width: 100%;
        position: relative;
        top:0;
    }
}