/*
Theme Name: Funiber Blogs
Theme URI: http://repositorios.ctdesarrollo.org/ctdesign/wordpress/funiber/theme-twig-funiber/
Author: Juan Nieto
Author URI: http://jnietos.com/
Description: Timber y Twitter Bootstrap combinados en un solo tema de WordPress.
Version: 1.3.2
Text Domain: funiber
*/

/*Colores*/

.color-primary {
    color: #006696;
}

.color-white {
    color: white;
}

.bg-primary {
    background-color: #006696
}

/*sedes.css*/

.icon--lang__es {
    background: url(img/sedes/ico-sede-es.png) left center no-repeat;
}

.icon--lang__it {
    background: url(img/sedes/ico-sede-it.png) left center no-repeat;
}

.icon--lang__pt {
    background: url(img/sedes/ico-sede-pt.png) left center no-repeat;
}

.icon--lang__ar {
    background: url(img/sedes/ico-sede-ar.png) left center no-repeat;
}

.icon--lang__bo {
    background: url(img/sedes/ico-sede-bo.png) left center no-repeat;
}

.icon--lang__br {
    background: url(img/sedes/ico-sede-br.png) left center no-repeat;
}

.icon--lang__cl {
    background: url(img/sedes/ico-sede-cl.png) left center no-repeat;
}

.icon--lang__co {
    background: url(img/sedes/ico-sede-co.png) left center no-repeat;
}

.icon--lang__ec {
    background: url(img/sedes/ico-sede-ec.png) left center no-repeat;
}

.icon--lang__cr {
    background: url(img/sedes/ico-sede-cr.png) left center no-repeat;
}

.icon--lang__sv {
    background: url(img/sedes/ico-sede-sv.png) left center no-repeat;
}

.icon--lang__gt {
    background: url(img/sedes/ico-sede-gt.png) left center no-repeat;
}

.icon--lang__hn {
    background: url(img/sedes/ico-sede-hn.png) left center no-repeat;
}

.icon--lang__mx {
    background: url(img/sedes/ico-sede-mx.png) left center no-repeat;
}

.icon--lang__ni {
    background: url(img/sedes/ico-sede-ni.png) left center no-repeat;
}

.icon--lang__pa {
    background: url(img/sedes/ico-sede-pa.png) left center no-repeat;
}

.icon--lang__py {
    background: url(img/sedes/ico-sede-py.png) left center no-repeat;
}

.icon--lang__pe {
    background: url(img/sedes/ico-sede-pe.png) left center no-repeat;
}

.icon--lang__pr {
    background: url(img/sedes/ico-sede-pr.png) left center no-repeat;
}

.icon--lang__do {
    background: url(img/sedes/ico-sede-do.png) left center no-repeat;
}

.icon--lang__uy {
    background: url(img/sedes/ico-sede-uy.png) left center no-repeat;
}

.icon--lang__ve {
    background: url(img/sedes/ico-sede-ve.png) left center no-repeat;
}

.icon--lang__us {
    background: url(img/sedes/ico-sede-us.png) left center no-repeat;
}

.icon--lang__cn {
    background: url(img/sedes/ico-sede-cn.png) left center no-repeat;
}

.icon--lang__ao {
    background: url(img/sedes/ico-sede-ao.png) left center no-repeat;
}

.icon--lang__mz {
    background: url(img/sedes/ico-sede-mz.png) left center no-repeat;
}

.icon--lang__sn {
    background: url(img/sedes/ico-sede-sn.png) left center no-repeat;
}

.icon--lang__cm {
    background: url(img/sedes/ico-sede-cm.png) left center no-repeat;
}

.icon--lang__ci {
    background: url(img/sedes/ico-sede-ci.png) left center no-repeat;
}

.icon--lang__gq {
    background: url(img/sedes/ico-sede-gq.png) left center no-repeat;
}

.icon--lang__ma {
    background: url(img/sedes/ico-sede-ma.png) left center no-repeat;
}

.icon--lang__ga {
    background: url(img/sedes/ico-sede-ga.png) left center no-repeat;
}

.icon--lang__ml {
    background: url(img/sedes/ico-sede-ml.png) left center no-repeat;
}

/*Estilos para la parte específica de WordPress y overrides*/

/*--------------------------------------------------------------
16.1 Galleries
--------------------------------------------------------------*/

.gallery-item {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    margin: 0 0 1.5em;
    padding: 1%;
    width: 50%;
}

.gallery-columns-1 .gallery-item {
    width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus,
.widget-area .gallery-item a,
.widget-area .gallery-item a:hover,
.widget-area .gallery-item a:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: none;
    display: inline-block;
    max-width: 100%;
}

.gallery-item a img {
    display: block;
    -webkit-transition: -webkit-filter 0.2s ease-in;
    transition: -webkit-filter 0.2s ease-in;
    transition: filter 0.2s ease-in;
    transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
    -webkit-filter: opacity(60%);
    filter: opacity(60%);
}

.gallery-caption {
    display: block;
    text-align: left;
    padding: 0 10px 0 0;
    margin-bottom: 0;
}

/*Sidebars*/

.widget-title, .error404 .widgettitle, .entry-content h3.widget-title {
    color: #000;
    font-size: 14px;
}

.widget a {
    text-decoration: none;
    line-height: 15px;
    color: inherit;
}

.widget ul.fa-ul {
    margin-left: var(--fa-li-margin,1.15em);
}

.widget ul li .fa-li {
    top: 0;
    color: #06aaeb;
    left: calc(var(--fa-li-width, 1.5em)*-1);
    width: var(--fa-li-width,1.5em);
}

.screen-reader-text {
    display: none;
}

select {
    display: block;
    width: 100%;
    padding: 6px;
    font-size: 12px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.element {
    margin: 4px 0;
}

input[type="submit"] {
    padding: 2px 10px;
    color: #fff;
    background-color: #06aaeb;
    border-color: #06aaeb;
    display: inline-block;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.element input, .element textarea, .element select {
    width: 100%;
    height: 30px;
}

/*Estilos contenido*/

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #0071ae;
}

.header-img {
    max-height: 140px;
    overflow: hidden;
    margin-bottom: 10px;
}

body.home .region-content {
    padding-top: 10px;
}

.box--border-radius, .box--offices, .path-user #block-funiber-content, .path-user .user-login-form, .path-user .user-pass {
    border-radius: 4px;
}

.box--border-radius-top {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.tease-post .entry-title, .entry-title a {
    padding: 0;
    margin-top: 0;
    margin-bottom: 10px;
}

.tease-post {
    border-bottom: 1px dotted #ccc;
    margin: 0 0 1.625em;
    padding: 5px 0;
    position: relative;
}

.entry-title-post, h1.entry-title, .entry-title, .entry-title a {
    font-size: 18px;
    font-weight: 300;
}

.region-content h4 {
    color: #000;
    text-transform: none;
}

.content-wrapper {
    padding-bottom: 15px;
}

.content-wrapper h2 {
    font-size: 14px;
    color: inherit;
    line-height: 1.3;
}

.entry-meta .entry-category {
    float: left;
}

article.tease-post .entry-category {
    margin-bottom: 10px;
}

.dest_caption {
    clear: both;
    font-style: italic;
    font-size: 11px;
    background: #efefef;
    margin: 0 0 10px 0;
    padding: 3px 0 3px 20px;
}

#etiquetas a {
    color: #666;
}

a.read-more {
    display: block;
    text-align: right;
    padding-top: 10px;
    padding-bottom: 5px;
}

a.read-more:after {
    content: '\f105';
    padding-left: 3px;
    margin-right: 3px;
    font: normal normal normal 11px/1 FontAwesome;
}

#post_image {
    margin-bottom: 15px;
}

.blog #post_image {

}

.entry-content__date {
    background-color: #06aaeb;
    float: left;
    padding: 1px 5px;
    border-radius: 4px;
    color: white;
    font-size: 12px;
    margin-bottom: 5px;
    margin-left: 15px;
}

#likes {
    text-align: right;
}

.heading--h2.modal-title {
    color: #FFF;
}

.btn-default {
    padding: 2px 10px;
    color: #fff;
    background-color: #06aaeb;
    display: inline-block;
    margin-top: -3px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.secondary #searchsubmit {
    margin-top: 5px;
}

#social ul > li:before,
#sharing ul > li:before,
ul#sharebar > li:before,
ul#sharebarx > li:before {
    content: none;
}

/* Image borders */
img[class*="align"],
img[class*="wp-image-"],
#content .gallery .gallery-icon img { /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
    border: 1px solid #bbb;
    padding: 6px;

}

p img,
.wp-caption img {
    border-color: #bbb;
}

a:focus img[class*="align"],
a:hover img[class*="align"],
a:active img[class*="align"],
a:focus img[class*="wp-image-"],
a:hover img[class*="wp-image-"],
a:active img[class*="wp-image-"],
#content .gallery .gallery-icon a:focus img,
#content .gallery .gallery-icon a:hover img,
#content .gallery .gallery-icon a:active img { /* Add some useful style to those fancy borders for linked images ... */
    background: #eee;
    border-color: #bbb;
}

p a:focus img, /*Línea agregada para estilos de imágenes. Wladimir Lerqué*/
p a:hover img,
p a:active img,
.wp-caption a:focus img,
.wp-caption a:active img,
.wp-caption a:hover img { /* ... including captioned images! */
    background: #eee;
    border-color: #ddd;
}

.wp-caption {
    margin-top: 0.4em;
    margin-right: 25px;
    margin-bottom: 25px;

}

.wp-caption img {
    display: block;
    margin: 0 auto;
    max-width: 98%;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    color: #666;
    font-size: 12px;
    line-height: 15px;
}

.wp-caption .wp-caption-text {
    margin-bottom: 0.6em;
    padding: 6px 0 5px 20px;
    position: relative;
}

.wp-caption .wp-caption-text:before {
    color: #666;
    /*content: '\2014';*/
    font-size: 12px;
    font-style: normal;
    font-weight: bold;
    margin-right: 5px;
    position: absolute;
    left: 10px;
    top: 7px;
}

#block-calidad img {
    width: 100%;
    padding-right: 0;
    margin-bottom: 5px;
}

#jp-relatedposts h3.jp-relatedposts-headline {
    font-size: 14px;
    border-bottom: 1px dotted #d3d3d5;
    line-height: inherit;
    padding-bottom: 5px;
    position: relative;
    color: #000;
}

#jp-relatedposts h3.jp-relatedposts-headline em {
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 14px;
}

#jp-relatedposts h3.jp-relatedposts-headline:before {
    border-bottom: 2px solid #06aaeb;
    bottom: -1px;
    content: '';
    display: inline-block;
    position: absolute;
    width: 50%;
}

#jp-relatedposts .jp-relatedposts-list p {
    font-size: 13px !important;
}

#jp-relatedposts .jp-relatedposts-list p span:before {
    color: #06aaeb;
    content: '\f105';
    font: normal normal normal 11px/1 FontAwesome;
    margin-right: 3px;
    display: inline-block;
}

#jp-relatedposts .jp-relatedposts-list p span a {
    color: #666;
}

.prefooter {
    padding-bottom: 1rem;
}

#sidebar_left ul.menu,
#sidebar_right ul.menu,
#block-footer ul.menu {
    margin-bottom: 10px;
}

#block-footer .box ul.menu {
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
}

.no-margin {
    margin: 0px !important;
}

.no-border {
    border: none !important;
}

.margin-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}

.slides-noticias .slides-noticias__date {
    background-color: #06aaeb;
    float: left;
    padding: 1px 5px;
    border-radius: 4px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 5px;
}

.slides-noticias .heading--bold {
    float: left;
}

/* Slider */
.home-banner__title-group > div {
    display: block;
}

.home-slider__blogs .home-banner__p {
    font-size: 20px;
    line-height: 1.5;
    margin-top: 15px;
    max-width: 600px;
}

@media screen and (max-width: 767px) {
    .home-banner__title-group > div {
        display: inline-block;
        font-size: 23px;
    }

    .home-slider__blogs .home-banner__p {
        font-size: 14px;
    }
    #block-calidad img {
        width: 35%;
        padding-right: 0;
    }
}


/* Estilos de Galería */
.container-masonry-gallery {
    max-height: 850px;
    overflow-x: hidden;
    margin-bottom: 2em;
}
.masonry-gallery {
    -webkit-column-count: 4;
    -moz-column-count:4;
    column-count: 4;
    -webkit-column-gap: 1em;
    -moz-column-gap: 1em;
    column-gap: 1em;
    margin: 2em 0 1.5em 0;
    padding: 0;
    -moz-column-gap: 1.5em;
    -webkit-column-gap: 1.5em;
    column-gap: 1.5em;
    font-size: .85em;
}
.masonry-gallery__item {
    display: inline-block;
    margin: 0 0 1.5em;
    width: 100%;
    -webkit-transition:1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.masonry-gallery__item img{max-width:100%;}


.region-pre-content {
    position: relative;
}

.featured-slider {
    width: 100%;
    padding: 5px;
    border: solid #ccc 1px;
    border-radius: 5px;
    margin-top: 15px;
    margin-bottom: 15px;
    background: #FFF;
}
.featured-slider.featured-slider-opiniones {
    padding: 0;
    border: 0;
}
.featured-slider__item img {
    width: 100%;
}
.featured-slider .slick-next:before,
.featured-slider .slick-prev:before {
    color: #0071ae;
}
.featured-slider__arrow {
    position: absolute;
    top: 36%;
    z-index: 3;
}
.featured-slider__arrow i {
    cursor: pointer;
    color: #666;
    font-size: 15px;
}
.featured-slider__arrow.featured-slider--prev {
    left: 18px;
}
.featured-slider__arrow.featured-slider--next {
    right: 18px;
}

.featured-slider-blogs ~ .featured-slider__arrow {
    top: 46%;
}
.featured-slider-blogs ~ .featured-slider__arrow.featured-slider--next {
    right: 27px;
}
.featured-slider-blogs ~ .featured-slider__arrow.featured-slider--prev {
    left: 27px;
}
.featured-slider-opiniones ~ .featured-slider__arrow.featured-slider--next {
    right: 8px;
}
.featured-slider-opiniones ~ .featured-slider__arrow.featured-slider--prev {
    left: 8px;
}
.featured-slider-opiniones ~ .featured-slider__arrow {
    top: 43%;
}

@media screen and (max-width: 767px) {
    .featured-slider__arrow {
        top: calc(36% - 12px);
    }
    .featured-slider-blogs ~ .featured-slider__arrow {
        top: calc(52% - 15px);
    }
    .featured-slider-opiniones ~ .featured-slider__arrow {
        top: calc(51% - 12px);
    }
}

@media screen and (max-width: 480px) {
    .featured-slider__arrow {
        top: calc(36% - 18px);
    }
    .featured-slider-blogs ~ .featured-slider__arrow {
        top: calc(58% - 20px);
    }
    .featured-slider-opiniones ~ .featured-slider__arrow {
        top: calc(66% - 12px);
    }
}


@media only screen and (max-width: 320px) {
    .masonry-gallery {
        -moz-column-count: 1;
        -webkit-column-count: 1;
        column-count: 1;
    }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
    .masonry-gallery {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}
@media only screen and (min-width: 769px) and (max-width: 1200px){
    .masonry-gallery {
        -moz-column-count: 3;
        -webkit-column-count: 3;
        column-count: 3;
    }
}
@media only screen and (min-width: 1201px) {
    .masonry-gallery {
        -moz-column-count: 4;
        -webkit-column-count: 4;
        column-count: 4;
    }
}

/* Utils */
.position-relative {
    position: relative !important;
}

.pr-0 {
    padding-right: 0px !important;
}

/*university*/
.mb-3 {
	margin-bottom: 1rem!important;
 }

.slider-university{
    display: flex;
    flex-wrap: wrap;
	padding: 1.5rem 0;
    justify-content: center;
    text-align: center;

}
.slider-university .img-sponsor {
    height: 50px;
    width: auto;
    /* margin: 0.5rem 0; */
}
.custom_height{
    height: 45px !important;
}
@media (max-width: 1199px) {
    .slider-university .img-sponsor {
      height: 40px;
    }
    .custom_height{
        height: 36px !important;
    }
    
}
@media (max-width: 991px) {
    .slider-university .img-sponsor {
        width: 85%;
        height: 60px !important;
        padding: 3px;
    }
    #block-calidad img {
        width: 35%;
        margin-left: 10px;
    }
}
@media (max-width: 767px) {
    .slider-university .img-sponsor {
        padding: 0;
    }
}
/**/

.box--gris_lighter2 {
    background-color: #f7f7f7;
}

/*Author card*/

.avatar {
    width: 50px;
    border-radius: 50%;
}

.d-flex {
    display: -ms-flexbox!important;
    display: flex!important;
}

.align-items-center {
    -ms-flex-align: center!important;
    align-items: center!important;
}

.mb-4, .my-4 {
    margin-bottom: 1.5rem!important;
}

.p-2 {
    padding: 0.5rem!important;
}

.fw-600 {
    font-weight: 600;
}

.author.vcard a {
    color: #333333;
}

/** Search and filter **/
form.searchandfilter {
    display: flex;
    float: none;
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 4px;
}

form.searchandfilter select {
    width: 100%;
}

form.searchandfilter input[type="submit"] {
    padding: 5px 15px;
    margin-bottom: 0;
}

.searchandfilter>div,
.searchandfilter div ul {
    width: 100%;
}

form.searchandfilter ul {
    padding-left: 10px;
    margin-bottom: 0;
}

form.searchandfilter ul li {
    display: inline-grid;
    width: 33.33%; /*width: 25%;*/
}

/* Quitar Área temática */
form.searchandfilter ul li:nth-child(3) {
    display: none;
}

form.searchandfilter .submit-container {
    padding-top: 10px;
    padding-right: 10px;
    margin-bottom: 0;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
    form.searchandfilter input[type=date].form-control,
    form.searchandfilter input[type=time].form-control,
    form.searchandfilter input[type=datetime-local].form-control,
    form.searchandfilter input[type=month].form-control {
        line-height: 20px;
    }
}

@media screen and (max-width: 1199px) {
    form.searchandfilter ul li {
        width:50%
    }
}

@media screen and (max-width: 480px) {
    form.searchandfilter ul li {
        width:100%
    }
    #block-calidad img {
        width: 65%;
        padding-right: 0;
    }
}

#block-enlacefuniber {
	float: right;
    margin-right: 5px;
    border-left: 1px solid #338dbe;
    border-right: 1px solid #338dbe;
    a {
        padding-bottom: 9px;
    }
    a:hover {
        color: #FFF;
    }
}
#enlacefuniber-responsive {
    border-bottom: 1px dotted #d3d3d5;
    margin-bottom: 8px;
    padding-top: 28px;
    a:hover {
        color: #FFF;
    }
}
@media screen and (min-width: 321px) and (max-width: 380px) {
    .navbar-header {
        left: 50%;
    }
}

@media screen and (min-width: 391px) and (max-width: 991px) {
    #enlacefuniber-responsive {
        display: none;
    }
}

#block-formulariodebusqueda.js-state--search {
    position: absolute;
    background-color: #0071AE;
    width: calc(100% - 60px);
    left: 10px;
}


@media screen and (max-width: 390px) {
    #block-enlacefuniber {
        display: none;
    }
    #block-menu-top {
        position: absolute;
        z-index: 0;
    }
    .Apple #search--form input[type=search]:focus {
        width: 154px;
    }
}

@media screen and (min-width: 391px) and (max-width: 519px) {
    #block-enlacefuniber {
        position: absolute;
        z-index: 0;
        right: 86px;
    }
    #block-menu-top {
        position: absolute;
        z-index: 0;
    }
    .Apple #block-enlacefuniber {
        position: relative;
        z-index: 1;
        right: 0px;
        background-color: #0071AE;
    }
    .Apple #block-formulariodebusqueda {
        position: relative;
        z-index: 1;
        background-color: #0071AE;
    }
    .Apple #block-menu-top {
        position: absolute;
        z-index: 0;
    }
    .Apple #search--form input[type=search]:focus {
        width: 154px;
    }
}

@media screen and (max-width: 1199px) {
    #block-formulariodebusqueda #search--form {
        position: relative;
        right: 0;
        z-index: 1;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    #block-enlacefuniber {
        position: relative;
        z-index: 1;
        background-color: #0071AE;
    }
    #block-menu-top ul#menu--menu-top li.menu-item:last-child {
        position: absolute;
        z-index: 0;
        width: 100%;
        margin-top: 0px;
    }

}

@media screen and (min-width: 520px) {
    #search--form input[type=search]:focus {
        width: 154px;
    }
}

#block-enlacefuniber a:focus {
    color: #fff;
}

#enlacefuniber-responsive a:focus {
    color: #fff;
}