/*!
Theme Name: CEINDE
Theme URI: http://underscores.me/
Author: Erika Ávila / Jorge Ortega
Author URI: http://funiber.org
Description: Tema para el sitio ceinde.org
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ceinde
*/

/* light-gray: #f5f5f5*/
:root {
  --color-primary: #334466;
  --primary: #334466;
}

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Base
# Accessibility
# Layout
# Content

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  color:#333333;
  /*background-color: #ffffff;*/
  line-height: 1.5;
}

h1, .h1 {
  font-size: 20px;
}

h2, .h2 {
  font-size: 18px;
}

h3, .h3 {
  font-size: 16px;

}

h4, .h4 {
  font-size: 14px;

}

h5, .h5 {
  font-size: 14px;

}

h6, .h6 {
  font-size: 14px;
}

a {
  color: #333333;
}

a:hover{
  color:#666666;
  text-decoration: none;
}

p {
  margin-bottom: .5rem;
}

footer p {
  margin-bottom: .25rem;
}

footer {
  font-size: 12px;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/
.sidebar-left .main-content-area {
  float: right;
}

.sidebar-right .main-content-area {
  float: left;
}

.no-sidebar #secondary, .full-width #secondary {
  display: none;
}

.no-sidebar .main-content-area {
  float: none;
  margin: 0 auto;
}

.full-width .main-content-area {
  width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*
:root {
  --jumbotron-padding-y: 3rem;
}
*/

/*Alignments*/
.alignleft {
  display: inline;
  float: left;
  margin-right: 1.5em;
}
.alignright {
  display: inline;
  float: right;
  margin-left: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Post Images */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}
.wp-caption-text {
  text-align: center;
}
.wp-post-image {
  width: 100%;
  height: auto;
}

.navbar {
  padding: 0;
}

.site-header {
  border-bottom: 4px solid #e5be01;
}

.banner__img {
  width: 100%;
  height: 270px;
  background-image: url("/wp-content/themes/ceinde/img/banner.jpg");
  background-repeat-x: no-repeat;
  background-repeat-y: no-repeat;
  background-position-y: center;
  background-size: cover;
  position: relative;
}

.banner__caption{
  position: absolute;
  top: 120px;
  padding: 15px 30px;
  max-width: 46%;
  background: rgba(28,28,27,0.5);
}

.main-content-area {
  padding-top: 30px;
  padding-bottom: 30px;
}

.entry-title {
  color: #334466;
  text-align: center;
  text-transform: uppercase;
}

.widget-area {
  padding-top: 30px;
  padding-bottom: 30px;
}

@media (min-width: 768px) {
  .jumbotron {
    padding-top: calc(var(--jumbotron-padding-y) * 1);
    padding-bottom: calc(var(--jumbotron-padding-y) * 1);
  }
}

@media (max-width: 768px) {
  .banner__caption {
    max-width: 90%;
    top: 95px;
  }
}

@media (max-width: 576px) {
  
  .banner__caption {
    max-width: 90%;
    top: 95px;
  }

}

.color-primary {
  color: var(--color-primary);
}
.color-white {
  color: #ffffff;
}

.color-secondary {
  color: #e5be01;
}


.site-branding {
  float: left;
  width: 300px;
  padding: 20px 0;
}
.site-branding img {
  width: 260px;
  height: inherit;
}

.site-branding-group {
  width: 100%;
}

.site-content {
  background-color: #f5f5f5;
}
.home .site-content {
  background-color: transparent;
}

@media (min-width: 768px){
  .site-branding-group {
      float: left;
  }
}

.sponsors{
  font-size: 12px;
  max-width: 460px;
  float: right;
  overflow: hidden;
  padding: 7px 0 0 0;
}
.sponsors__row {
  align-items: flex-end;
}
.sponsors__logo-unini {
	width: 166px;
	margin-bottom: 5px;
}

.senacyt-footer {
	background-color:#e8e8e8 !important;
}

.prefooter__logo {
	width: 340px;
}
.prefooter {
  padding: 1rem 0;
  background-color: #d9d9d9;
}

.footer {
  padding: 0.5rem 2rem 0.5rem 2rem;
  background-color: #6b6b6b;
}

.heading--border{
  border-bottom: 2px solid #e5be01;
  line-height: inherit;
  padding-bottom:5px;
  position:relative;
}

.box--border-bottom{
  border-bottom: 1px solid #d2d2d2;
}

.site-footer {
  margin-top: 15px;
}
.footer__brand {
  text-align: left;
  vertical-align: middle;
}

.footer__copyright {
  text-align: right;
  vertical-align: middle;
}






/*Nuevo css*/
.main-navigation .nav-item > a {
  position: relative;
  text-transform: uppercase;
}
.main-navigation .nav-item > a:after {
  content: '';
  border-bottom: 4px solid var(--color-primary);
  display: inline-block;
  position: absolute;
  z-index: 1;
  /*width: calc(100% - 16px);*/
  width: 100%;
  bottom: -4px;
  /*left: 8px;*/
  left: 0;
  transition: all .2s ease-in-out 0s;
  opacity: 0;
  transform: scaleX(0);
}
.main-navigation .nav-item > a:hover:after {
  opacity: .5;
  transform: scaleX(1);
}
.main-navigation .nav-item.active > a:after {
  opacity: 1;
  transform: scaleX(1);
}
.main-navigation .navbar-toggler {
  padding-top: 12px;
  padding-bottom: 10px;
}
@media (min-width: 992px) {
  .main-navigation .nav-link {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.section {
  padding: 30px 0;
}

.card--style-bordered {
  border: 2px solid #fff;
}

/*Utils*/
.bg-primary {
  background-color: #334466 !important;
}
.bg-gray-light {
  background-color: #f5f5f5;
}
.border-dashed {
  border-style: dashed;
}
.border-left-thick-solid {
  border-left: 4px solid #dadad9;
}

.fx-img-fade-in {
  overflow:hidden;
}

.fx-img-fade-in img {
  transition: all 0.3s linear;
}
.fx-img-fade-in:hover img {
  transform: scale(1.2);
}


@media all and (max-width: 992px) { 
  .site-branding {
    width: 100%;
    clear: both;
  }
  .sponsors {
    float: initial;
    padding: 6px 0 15px 0;
    margin: 4px auto;
    clear: both;
  }
}

@media all and (max-width: 768px) {
  .footer__brand {
    text-align: center;
  }

  .footer__copyright {
    text-align: center;
  }
}


@media (max-width: 991.98px) {
  .site-branding {
    text-align: center;
  }
  .nav-item {
    padding: 10px 0;
    border-bottom: 1px dotted #d2d2d2;
  }
  .nav-item:last-child {
    border-bottom-color: transparent;
  }
  .main-navigation .nav-item > a:after {
    bottom: -10px;
    /*left: 0;*/
    /*width: 100%;*/
  }
  .banner__img {
    background-position-x: calc(100% - 50%);
  }
}

