/*!
Theme Name: CheerUp Child
Theme URI: http://theme-sphere.com/
Description: A child theme of CheerUp
Author: ThemeSphere
Author URI: http://theme-sphere.com
Template: cheerup
Version: 1.1
*/
body {
  font-size: 17px;
  color: #8a9593; }
.main-head {
    padding: 10px 0;
}
.flex {display: flex;}
.flex-between {justify-content: space-between;}
.align-items-center {align-items: center;}
.flex-column {display: flex; flex-direction: column}
.bottom-60 {margin-bottom: 60px}

.navigation.simple .menu > li > a {
    padding: 0 18px;
    font-size: 18px;
    letter-spacing: 0;
    text-transform: uppercase;
    color: #8a9593;
}

.page .main {
  margin-top: 0; }

.social-strip {
  display: none; }

.home-icons {
  margin-bottom: 0px;
  text-align: center; }
  .home-icons .wpb_column:hover {
    box-shadow: 0px 1px 6px 0px #b5b1b1}
  .home-icons .wpb_column:hover h3 {
    color: #eb6924}
  .home-icons .wpb_text_column {padding: 5px 10px}

h1, h2, h3, h4, h5, h6 {
  color: #8a9593; }

.copyright-fullwidth {
  background-color: #7e042d;
  text-align: center;
  color: #FFF; }
  .copyright-fullwidth a {
    color: #FFF; }
  .copyright-fullwidth .wrap {
    text-align: center;
    padding: 15px 0 10px 0;
    font-size: 12px;
    letter-spacing: .5px; }

.main-footer.stylish {
  background: transparent;
  margin-top: 70px;
  overflow-x: hidden;
}

.copyright{
    background-color: #7e042d;
    text-align: center !important;
    color: #FFF !important;
    padding: 15px 0 15px 0 !important;
    font-size: 12px !important;
    letter-spacing: .5px;
    display: block !important;
}
.copyright a{
    color: #FFF !important;
}

.main-footer {
  position: relative; }
  .main-footer:before {
    content: url('img/before-footer.png');
    /*position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /*background: #eb6924;
    -webkit-transform-origin: top right;
    -ms-transform-origin: top right;
    transform-origin: top right;
    -ms-transform: skew(0deg, 2deg);
    -webkit-transform: skew(0deg, 2deg);
    transform: skew(0deg, 2deg); */}
.main-footer.stylish .upper-footer {padding-top: 0!important}
.main-footer .bg-wrap {
    background: #ec6925;
    margin-top: -10px;
}
.footer-logo {
  text-align: center;
  padding: 82px 0; 
display: inline-block;}
  .footer-logo .logo-footer {
    display: inline-block; }
  .footer-logo p {
    display: inline-block;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 18px;
    padding-left: 30px;
    padding-top: 40px; }

.main-footer.stylish .widget-title,
.widget-posts .posts.large time,
.widget-about .about-text p:last-child,
.footer-logo p {
  color: white; }

  .lower-footer p{
    display: inline-block;
    text-align: left;
    vertical-align: top;
    font-size: 13px;
    line-height: 18px;
    padding-left: 30px;
    padding-top: 20px;
    color: white;
  }
  .contenido-wp{
      margin-bottom: 50px;
  }
  .contenido-wp h3{
    margin-bottom: 20px;
}
.contenido-wp p{
    margin-bottom: 10px;
}

.sidebar .widget-title{
    margin-bottom: 20px;
}

.main-footer.stylish .footer-logo{
    padding: 0;
}

.upper-footer .widget-about .about-text {
    text-align: left;
}

.main-footer .bg-wrap:before {
  background-position: center bottom !important;
  background-size: auto !important; }

.upper-footer .widget .widget-title {
  font-size: 25px; font-weight: 600}

.texto-inferior-banner {
    background: url(img/bg-texto-banner.png) left top no-repeat;
    line-height: 200px!important;
    height: 200px;
    background-size: contain;}
  .texto-inferior-banner span {
    font-size: 1.3em!important}

.top-bloque {font-size: 1.2em}
.top-bloque h2 {
    font-size: 40px;
    margin-bottom: 10px;
}
.top-bloque p {font-size: 18px}
.top-bloque.color-morado h2 {color: #b30049;}
.top-bloque.color-morado a {color: #b30049!important; text-decoration: underline;}
.top-bloque.color-morado a:hover {text-decoration: none}
.top-bloque.color-verde h2 {color: #50934e;}
.top-bloque.color-verde a {color: #50934e!important;}

#abciencia-home .post-content p {font-weight: 600}
#abciencia-home h2.post-title-alt {text-transform: uppercase;}
#abciencia-home h2.post-title-alt a {color: #50934e}

div#banner-interna {
    align-items: center;
    padding: 0;
    position: relative;}
    div#banner-interna .texto-banner {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        top: 0;
        width: 100%;
    }
    div#banner-interna .texto-banner h1 {color: #fff; font-size: 50px; line-height: 1; margin-bottom: 40px; margin-top: 0; text-align: center;}
    div#banner-interna .texto-banner h1:after {
        content: '____';
        line-height: 1px;
        display: block;
        letter-spacing: -10px;
        margin-top: -15px;
    }
    div#banner-interna .texto-banner p {margin-bottom: 0}
    div#banner-interna .texto-banner p img {margin-top: -20px}

#primer-bloque-somos h2, #primer-bloque-somos h3, #primer-bloque-somos h4 {color: #7abbc4}
#primer-bloque-somos h2 {margin-bottom: 15px}
#primer-bloque-somos h3 {
    font-size: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 0;
}
#primer-bloque-somos h3:before {margin-right: 5px}
#primer-bloque-somos .wpb_wrapper h3.primer-subtitulo:before { content: url('img/investigacion.png'); }
#primer-bloque-somos .wpb_wrapper h3.segundo-subtitulo:before { content: url('img/investigacion-social.png'); }
#primer-bloque-somos p {margin-bottom: 15px}

#historia-somos h2 {font-weight: 700!important; margin-top: 0}
#historia-somos h2, #historia-somos h3, #historia-somos h4 {color: #86194f}
#historia-somos h3 {display: flex; align-items: center;}
#historia-somos h3:before { content: url('img/icono-historia.png'); }
#historia-somos .social-icons {
    display: inline-block;
    border-bottom: 1px solid #ccc;
    border-top: 1px solid #ccc;
    padding: 10px 70px;
}

#texto-contacto h2 {color: #ea6a24}
.sidebar .widget {
    border: none;
    padding-left: 5px;
    padding-right: 5px
}
.sidebar .widget-title, .sidebar .widget-title .title {
    background: #86194f;
    color: #fff;
    font-weight: 300!important;
    font-size: 20px!important;
    /* margin-bottom: 20px; */
    padding: 10px;
}

.sidebar .widget-title span {background: none !important}
.sidebar .widget_search {margin-bottom: 0}
.sidebar .widget-subscribe .widget-title {color: #86194f; background: none}
.sidebar .widget_text {padding: 0}
.sidebar .widget_text img {margin-top: 0}
.widget_search button{
    margin-top: 0;
}
.sidebar .widget-title, .sidebar .widget-title .title{
    padding: 6px;
}

#listado-noticias .post-title, #listado-noticias .post-title a, #listado-noticias .post-title-alt a, #listado-noticias .post-meta .post-cat > a,
.archive .post-title, .archive .post-title a, .archive .post-title-alt a, .archive .post-meta .post-cat > a {color: #50934e; text-transform: uppercase;}
.post-meta .post-cat > a{
  color: #b30049;
  font-size: 11px;
}
.post-meta .post-title-alt{
    margin-top: 0;
}
.post-meta .post-title-alt a{
    color: #8a9593;
    text-transform: uppercase;
    font-size: 17px;
    line-height: 1.35 !important;
    display: flex;
}
#listado-noticias .list-post-b .read-more-btn, .grid-b-slider .category,
.archive .list-post-b .read-more-btn, .archive .grid-b-slider .category {background: #50934e!important; color: #fff}
.beauty-slider .slick-dots .slick-active button {border-color: #50934e!important; background-color: #50934e!important }

#listado-noticias .list-post .post-footer {
    /*margin-top: 30px;*/
    /*justify-content: center;*/
    border: 0px solid #e6e0e0;
}
.page-id-1536 #listado-noticias .list-post .post-footer, .post-type-archive-abciencia #listado-noticias .list-post .post-footer {border-color: transparent;}

.boton_more{
  text-decoration: underline;
  position: relative;
  display: block;
  text-align: center;
  font-size: 17px;
  font-weight: normal;
}

div.banner-single {
    max-height: 120px;
    overflow: hidden;
}
.page-id-1536 #banner-interna {margin-bottom: 40px}
div#banner-interna {
    align-items: center;
    padding: 0;
    position: relative;
}
div#banner-interna .texto-banner p#breadcrumbs {color: #fff; text-transform: uppercase;}
div#banner-interna .texto-banner p#breadcrumbs a {color: #fff}

.archive-head {background: #86194f;}
.archive-head .background {display: none!important}
.archive-head .sub-title {
    font-family: "Titillium Web", Arial, sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #fff!important;
    letter-spacing: 0.05em;
}

.single .the-post .the-post-header {text-align: left;}
.single .the-post .the-post-header .post-title {color: #50934e; text-transform: uppercase;}
.single .post-content h2, .single .post-content h3, .single .post-content h4 {color: #86194f}

.single-abciencia .the-post .the-post-meta, .single-investigacion .the-post .the-post-meta {
    display: flex;
    flex-direction: column-reverse;
}
.archive .list-post {
    flex-direction: column;
}
.archive.tax-tema_repositorio .list-post {flex-direction: row;}
.archive .list-post .post-thumb {width: 100%; max-width: 100%; margin-bottom: 15px}
.archive .list-post .post-meta {justify-content: center; text-align: center;}
.archive.tax-tema_repositorio .list-post .post-meta {text-align: left;}
/*.tax-categoria_investigaciones .list-post .post-footer  {display: none}*/
.archive .list-post .image-link img {width: 100%}

/*Repositorios*/
.boton-descargar a {
    background: #50934e;
    color: #fff;
    display: inline-block;
    padding: 5px 20px;
}
#tags-fecha {margin: 15px 0}
#tags-fecha a {color: #50934e}
.boton-descargar a:hover, #tags-fecha a:hover {opacity: .8; transition: .3s all linear}

/*Slider*/
.beauty-slider .post-title {text-transform: uppercase;}
.common-slider .slick-arrow {border: none; font-size: 90px}
.common-slider .slick-arrow:hover {background: none; color: #fff}
.list-post .post-excerpt {
    line-height: 1.3;
    color: #8a9593;
}
.text, .post-content, .textwidget {color: #8a9593;}

.post-type-archive-abciencia .list-post .post-meta {text-align: left;}
.post-type-archive-abciencia .list-post {flex-direction: row;}
.post-type-archive-abciencia .list-post .post-thumb {width: 50%}
.post-type-archive-abciencia .list-post .post-thumb img {width: 100%}

.post-content ul.social-icons.cf, .post-content .post-footer .social-share, .post-content .post-footer .social-icons {
    display: flex;
    justify-content: center;
    padding: 10px;
    border-bottom: 1px solid #ececec;
    border-top: 1px solid #ececec;
    max-width: 250px;
    margin: 0 auto;
}
.post-content .post-footer .social-share, .post-content .post-footer .social-icons {max-width: 100%; margin-top: 15px; width: 100%; padding: 5px 10px}

.tax-categoria_investigaciones .list-post {border: none}
.tax-categoria_investigaciones .list-post .content {padding-left: 0}
.tax-categoria_investigaciones .list-post .post-excerpt {text-align: center;}

.wpb_content_element .wpb_accordion_header a, .wpb_content_element .wpb_tour_tabs_wrapper .wpb_tabs_nav a {
    text-transform: uppercase;
    color: #92a0a0;
    font-size: 14px
}
.wpb_content_element .wpb_tabs_nav li.ui-tabs-active a {
    background: #92a0a0;
    color: #fff;
    cursor: pointer;
    text-transform: uppercase;
}
.single .categoria_investigaciones-proyectos-sociales .post-content h2,
.single .categoria_investigaciones-proyectos-sociales .post-content h3,
.single .categoria_investigaciones-proyectos-sociales .post-content h4 {color: #50934e}
.single .categoria_investigaciones-proyectos-sociales .post-date {display: none}

.page-template-template-repositorio .post-footer .social-share, .post-footer .social-icons,
.tax-tema_repositorio .post-footer .social-share {border: none; margin: 0; padding: 0}

.page-template-template-repositorio .list-post .post-thumb, .page-template-template-articulos-cientificos .list-post .post-thumb{
    width: auto;
}

#carrusel-repositorios .overlay .heading {
    background: #008834;
    font-size: 18px;
    max-width: 170px;
    padding: 8px 10px;
    text-transform: uppercase;
    margin: 0 auto;
}
#carrusel-repositorios .overlay.cf {
    background: #50934e6b;
    opacity: 0;
    height: 100%;
    display: flex;
    align-items: center;
    width: 100%;
}
#carrusel-repositorios .item:hover .overlay.cf {opacity: 1; transition: .35s all linear}
#carrusel-repositorios .overlay {padding-bottom: 0}
#carrusel-repositorios .slick-slide a {display: flex; align-items: center; justify-content: center; height: 100%}
#carrusel-repositorios .slick-slide img {margin:0 auto}
#carrusel-repositorios.common-slider .slick-arrow {display: flex!important; opacity: 1!important; visibility: visible!important;}

.vc_images_carousel {
    position: relative;
    max-width: 100%!important;
}
.vc_images_carousel .vc_carousel-indicators li, .vc_images_carousel .vc_carousel-indicators li.vc_active {height: 15px!important;}


#menu-footer-links, #menu-footer-links-ingles-2 {text-transform: uppercase;}
#menu-footer-links li, #menu-footer-links-ingles-2 li {
    border-bottom: 1px solid #db4e12;
    border-top: 1px solid #db4e12;
    margin: 0;
    padding: 20px 0 20px 50px;
}

#menu-footer-links li:nth-child(1), #menu-footer-links-ingles-2 li:nth-child(1){background: url('img/repositorio.png') left center no-repeat transparent;}
#menu-footer-links li:nth-child(2), #menu-footer-links-ingles-2 li:nth-child(2) {background: url('img/investigadores.png') left center no-repeat transparent;}
#menu-footer-links li:nth-child(3), #menu-footer-links-ingles-2 li:nth-child(3) {background: url('img/laboratorios.png') left center no-repeat transparent;}
#menu-footer-links li:nth-child(4), #menu-footer-links-ingles-2 li:nth-child(4) {background: url('img/proyectos.png') left center no-repeat transparent;}
#menu-footer-links li:hover {
    background-color: #ff5500;
}
#menu-footer-links li a {color: #fff; display: block;}
#menu-footer-links li:hover a {color: #fff}

.home div#listado-noticias {
    float: left;
    clear: both;
}
.home #post-recientes {
    display: flex;
    float: left;
    margin-bottom: 40px;
}
.home #post-recientes .list-post {
    flex-direction: column;
    margin-bottom: 0;
    padding-bottom: 0;
    border: none;
}
.home #post-recientes .list-post .post-thumb {max-width: 100%; width: 100%}
.home #post-recientes .list-post .content {padding-left: 0; text-align: center;}
.home #post-recientes .tags-fecha, .home #post-recientes .post-footer {text-align: center; width: 100%}
.home #post-recientes #listado-noticias .post-title,.home #post-recientes #listado-noticias .post-title a {color: #8a9593}
.home #post-recientes #listado-noticias #tags-fecha {color: #8a9593; font-size: .8em}
.home #post-recientes #listado-noticias p.categoria {
    color: #b30049;
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 10px;
}

#nuestros-logros {
    background: url('img/bg-nuestros-logros.jpg');
    background-size: cover;
    color: #fff;
}
#nuestros-logros * {color: #fff}
#nuestros-logros .ts-row.blocks.cf.wpb_row.vc_inner {
    max-width: 1170px;
    margin: 0 auto;
}
#nuestros-logros .vc_column-inner {text-align: center; font-size: 22px; line-height: 1}
#nuestros-logros .vc_column-inner p {margin-bottom: 0; line-height: 1.5}
#nuestros-logros .vc_column-inner p.count {font-size: 60px; font-weight: 900; line-height: 1}
#nuestros-logros img {margin: 0 auto}

.the-carousel .post-title a{
  color: #8a9593;
  text-transform: uppercase;
}

table p{
    margin-bottom: 0;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
  }
  
  table caption {
    font-size: 1.5em;
    margin: .5em 0 .75em;
  }
  
  table tr {
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: .35em;
  }
  
  table th,
  table td {
    padding: .625em;
    text-align: center;
    vertical-align: middle;
    border: 0;
  }
  
  table th {
    font-size: 1em;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #86194f;
  }

  .titulo-alerta-investigador{
      margin-top: 30px;
  }

  .titulo-alerta-investigador i{
    background-color: #86194f;
    padding: 15px;
    border-radius: 50%;
    color: white;
    width: 28px;
    height: 28px;
  }
  
  @media screen and (max-width: 600px) {
    table {
      border: 0;
    }
  
    table caption {
      font-size: 1.3em;
    }
    
    table thead {
      border: none;
      clip: rect(0 0 0 0);
      height: 1px;
      margin: -1px;
      overflow: hidden;
      padding: 0;
      position: absolute;
      width: 1px;
    }
    
    table tr {
      border-bottom: 3px solid #ddd;
      display: block;
      margin-bottom: .625em;
    }
    
    table td {
      border-bottom: 1px solid #ddd;
      display: block;
      font-size: .8em;
      text-align: left;
    }
    
    table td::before {
      /*
      * aria-label has no advantage, it won't be read inside a table
      content: attr(aria-label);
      */
      content: attr(data-label);
      float: left;
      font-weight: bold;
      text-transform: uppercase;
    }
    
    table td:last-child {
      border-bottom: 0;
    }
  }
  

@media only screen and (min-width: 1360px) {
    #nuestros-logros {padding-bottom: 160px!important}
}

@media only screen and (min-width: 1024px) {
    #nuestros-logros {padding-top: 130px; padding-bottom: 130px}
    #banner-interna img {width: 100%}
}

@media only screen and (min-width: 768px) {
  #carrusel-repositorios.common-slider .slick-arrow {color: #008834}
  #carrusel-repositorios.common-slider .next-arrow {right: -50px}
  #carrusel-repositorios.common-slider .prev-arrow {left: -50px}
}

/*obs*/
.search-link i{
    background: #ea6a24;
    border-radius: 5px;
    color: #fff;
    padding: 5px;
}
.home-icons .wpb_column {
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}
.page-id-334 .main-footer.stylish {
    background: #f5f7f8;
    margin-top: 0;
    overflow: hidden;
    padding-top: 60px;
}
.page-id-334 .main {margin-bottom: 0}
.meta-above, #breadcrumb{
    display: none;
}

@media only screen and (max-width:  1280px) {
    .navigation.simple .menu > li > a {
        padding: 0 10px;
        font-size: 12px;
    }
}

@media only screen and (max-width:  1024px) {
    .navigation.simple .menu > li > a {
        font-size: 11px;
    }
    #nuestros-logros {
        background-image: none;
		background-color: #760030;
        color: #fff;
        background-repeat: no-repeat;
    }
    #nuestros-logros * {
        color: #fff;
    }
    div#banner-interna {overflow-x: hidden;}
    div#banner-interna .texto-banner h1 {
        font-size: 25px;
        margin-bottom: 15px;
    }
    div#banner-interna #imagen-banner {
        max-width: 130%;
        height: auto;
        margin-left: -15%;
    }
    div#banner-interna .texto-banner h1:after {margin-top: -10px}
    div#banner-interna .texto-banner p#breadcrumbs {font-size: 11px}

    .post-type-archive-abciencia #listado-noticias .list-post .post-footer {flex-direction: column;}
    .post-type-archive-abciencia #listado-noticias .list-post .post-footer .social-share {
        border-bottom: 1px solid #ccc; border-top: 1px solid #ccc;
        margin-top: 20px
    }
    .post-type-archive-abciencia .list-post .post-thumb {width: 100%}
    h2.tp-caption, p.tp-caption {
        min-width: 280px!important;
        max-width: 280px!important;
    }
    p.tp-caption {font-size: 11px!important; line-height: 11px!important}
    .rev-btn {
        min-width: 130px!important;
        max-width: 130px!important;
        font-size: 18px!important;
        padding: 5px!important;
        margin-top: 20px!important;
    }
    #rev_slider_1_1 .uranus.tparrows:before {font-size: 30px}
    .tp-leftarrow.tparrows.uranus.noSwipe {left: -30px!important}
    .tp-rightarrow.tparrows.uranus.noSwipe {right: -30px!important}

    .post-type-archive-abciencia .list-post {flex-direction: column;}
}

@media only screen and (max-width: 767px) {
    div#banner-interna .texto-banner {justify-content: flex-start; padding-top: 25px}
    div#banner-interna .texto-banner p img {max-width: 35px}
}
