/**
 * @file
 * Subtheme specific CSS.
 */
@font-face { font-family: Roboto; src: url(../fonts/Roboto-Regular.ttf); }
@font-face { font-family: Roboto-Medium; src: url(../fonts/Roboto-Medium.ttf); }
@font-face { font-family: Roboto-Bold; src: url(../fonts/Roboto-Bold.ttf); }
@font-face { font-family: Roboto-Black; src: url(../fonts/Roboto-Black.ttf); }
@font-face { font-family: Neue; src: url(../fonts/neuehanskendrick-regular.woff); }
@font-face { font-family: Neue-Medium; src: url(../fonts/neuehanskendrick-medium.woff); }
@font-face { font-family: Neue-Semibold; src: url(../fonts/neuehanskendrick-semibold.woff); }
@font-face { font-family: Neue-Bold; src: url(../fonts/neuehanskendrick-bold.woff); }

body{
	font-family: Roboto;
}
.z-index-1{ z-index: 1; }
.position-relative{ position: relative; }
.bg-gray{ background-color: #DBDFE0 !important; }
.bg-blue{ background-color: #0F74B6 !important; }
.bg-blue-agenda{ background-color: rgb(180,198,231); }
.bg-green-agenda{ background-color: rgb(251,212,180); }
.bg-orange-agenda{ background-color: rgb(255,192,0); }


.region > .block > h2, 
h1.title,
.block.block-block-content > h2,
.block.block-views > h2{
    font-family: 'Roboto-Bold';
    font-size: 32px;
    color: #0F74B6;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}
.region > .block > h2::after, 
h1.title::after,
.block.block-block-content > h2::after,
.block.block-views > h2::after{
    content: '';
    display: block;
    width: 150px;
    border: solid 3px #0F74B6;
    margin: auto;
    background-color: #0F74B6;
}
#main{
    padding-top: 40px;
    padding-bottom: 40px;
}
.theme-section > .container{ width: 70%; }

 /*** Section Top ***/
}
.section-top{
	background-color: #dcdcdc;
	color: #223263;
	padding-top: 5px;
	padding-bottom: 5px;
}

/*** Section Menu ***/
.section-menu{
	background-color: transparent;
	padding-top: 20px;	
}
#navbar-main{ background-color: transparent; }
#navbar-main > .container-fluid{ align-items: start; }
.navbar-brand img{ width: 150px; }

.navbar-nav > li > a{
	color: black;
    font-family: 'Roboto-Bold';
    border-bottom: solid 3px transparent;
}
.navbar-nav > li > a.is-active,
.navbar-nav > li > a:hover{
    border-bottom-color: #51B94B;
}

/*** Footer ***/
.site-footer{ padding: 0; font-family: 'Roboto'; }
.site-footer .block{ 
	margin: 0;
	border: none;
    border-color: transparent; 
}
.site-footer .content { color: white; }
.region-footer-info img{ width: 200px; }
.region-footer-menu > nav > ul > li > a{ color: white; text-align: center; }

/* Redes Sociales */
.section-redes-sociales{
	background-color: white !important;
	padding-top: 60px;
	padding-bottom: 60px;
	text-align: center;
}
.section-redes-sociales h2{ color: #223263; }
.section-redes-sociales .menu-rs{ font-size: 48px; }
.section-redes-sociales .menu-rs > li { margin: 0 20px; }

/* Copyright */
.section-copyright{
	background-color: #dcdcdc;	
}
.region-footer-copyright{ text-align: right; }
.region-footer-copyright p { color: #223263; margin: 0; }

/*******************************************/
/******************* HOME ******************/
/*******************************************/

/*** Section Contactanos ***/
.section-home-contactanos{
    padding: 30px 15px 20px 15px;
    background-color: #3055a2;
    color: white;
    font-size: 20px;
}
.region-home-contactanos a{ color: white; text-decoration: none; }
.region-home-contactanos a:hover{ text-decoration: underline;  }

/*** Section Logos ***/
.section-home-logos{
	padding-top: 30px;
	padding-bottom: 30px;
	background-color: #F6F6F6;				
}

.section-banner-top{ overflow-x: hidden; }
.region-banner-top img{ width: 100%; height: auto; }
.region-banner-top p{ margin: 0; }

.section-contacto{
    padding-top: 40px;
    padding-bottom: 40px;
    font-family: Neue-Semibold;
}

/**** CEIAL ******/
.path-frontpage header{
    background-image: url(/sites/default/files/congreso/fondoPRINCIPAL02.jpg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: left top;
    background-color: #dfe3e4;
}
.region-intro-first .content p{
    font-size: 48px;
    font-family: Roboto-Bold;
    line-height: 48px;
    color: #51B94B;
}
.region-intro-second .content p a{
    display: inline-block;
    color: white;
    background-color: #51B94B;
    padding: 8px 30px;
    border-radius: 15px;
    text-decoration: none;
    font-family: Roboto-Bold;
}
.region-intro-third .content img{
    width: 250px;
}
.region-intro-second .content, .region-intro-third .content{ text-align: center; }
.region-intro-third{ margin-top: 30px; }
.region-intro-fourth .content p {
    font-size: 24px;
    font-family: Roboto-Bold;    
    color: #0F74B6;
}

/* Contador */
.countSecs,.countDiv3{ display: none; }
#block-countdowntimer{ margin: 80px 0; }
.countWeeks,.countDays,.countHrs,.countMins { position: relative; }
span.countWeeks::before {
    content: 'SEMANAS';
    display: block;
    width: 60px;
    font-size: 12px;
    position: absolute;    
    bottom: 150%;
    left: 0;
    width: 60px;
    text-align: center;
    color: #0F74B6;
    font-family: Roboto-Bold;
}
span.countDays::before {
    content: 'DIAS';
    display: block;
    width: 60px;
    font-size: 12px;
    position: absolute;    
    bottom: 150%;
    left: 0;
    width: 60px;
    text-align: center;
    color: #0F74B6;
    font-family: Roboto-Bold;
}
span.countHrs::before {
    content: 'HORAS';
    display: block;
    width: 60px;
    font-size: 12px;
    position: absolute;    
    bottom: 150%;
    left: 0;
    width: 60px;
    text-align: center;
    color: #0F74B6;
    font-family: Roboto-Bold;
}
span.countMins::before {
    content: 'MINUTOS';
    display: block;
    width: 60px;
    font-size: 12px;
    position: absolute;    
    bottom: 150%;
    left: 0;
    width: 60px;
    text-align: center;
    color: #0F74B6;
    font-family: Roboto-Bold;
}
#jquery-countdown-timer-note{ display: none; }
.digit.static{ background-image: none; }
.digit{ background-color: white; color: #0F74B6; font-family: Roboto-Bold; }
.countDiv:before, .countDiv:after { background-color: #0F74B6; }

/*** Tablas ****/
table{ font-size: 1rem; }
table > thead{
    background: #243363 !important;
    color: white !important;
}
table tr.table-active{ background: #F5F5F5; }
table tr td a{ 
    color: #575756;
    text-decoration: none;
}
table tr td a:hover{ color: #243363;  }

.section-descripcion{
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url(/sites/default/files/congreso/arrow_verde_der.svg), url(/sites/default/files/congreso/arroz_azul_izq_01.png);
    background-repeat: no-repeat, no-repeat;
    background-position: right, left bottom;    
}
.section-objetivos{
    background-color: #DBDFE0;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url(/sites/default/files/congreso/arroz_azul_izq_02.png);
    background-repeat: no-repeat;
    background-position: left top;    
}
.section-fechas{
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url(/sites/default/files/congreso/arrow_flower_der_01.png), url(/sites/default/files/congreso/arrow_gris_der.svg), url(/sites/default/files/congreso/arrow_verde_izq.svg);
    background-repeat: no-repeat, no-repeat, no-repeat;
    background-position: right bottom, right top, left top;
}
.tabla-fechas{
   font-size: 18px;
}
.tabla-fechas tr td{
    padding: 4px 15px;
    width: 33%;
}
.tabla-fechas tr td p{
    margin-bottom: 0;
    background-color: #DBDFE0;
}

.tabla-fechas tr td p strong{
    color: #0F74B6;
}

.section-auspiciantes{
    background-color: #DBDFE0;
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url(/sites/default/files/congreso/arrow_flower_der_02.png);
    background-repeat: no-repeat;
    background-position: right top;    
}
/*** Envio de Articulos ***/
.section-convocatoria{
    padding-top: 60px;
    padding-bottom: 60px;
    background-image: url(/sites/default/files/congreso/arrow_verde_der.svg);
    background-repeat: no-repeat;
    background-position: right;
}
.section-fechas-convocatoria{
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #DBDFE0;
}
.section-fechas-convocatoria .tabla-fechas tr td p{ background-color: white; }
.btn-convocatoria{
    display: inline-block;
    background-color: #51B94B;
    color: white;
    text-decoration: none;
    padding: 10px 30px;
    text-align: center;
    border-radius: 25px;
}
.btn-convocatoria:hover{
    color: white;
    text-decoration: underline;
}

/*** INSCRIPCIONES ***/
.list-inscripciones{
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.list-inscripciones > li{ width: 40%; margin: 15px 5%; }
.list-inscripciones > li > a{
    display: block;
    background-color: #51B94B;
    color: white;
    text-decoration: none;
    padding: 15px 0;
    text-align: center;
    border-radius: 10px;
}
.list-inscripciones > li > a:hover{ background-color: #0F74B6; }

/*** CONFERENCISTAS ***/
.view-conferencistas .views-field{ text-align: center; }
.view-conferencistas .views-field-field-conferencista-foto img{
    width: 200px;
    height: 200px;
    max-width: inherit;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: auto;
}
.view-conferencistas .views-field-title{ color: #0F74B6; font-family: Roboto-Bold; }
.view-conferencistas .views-field-body p{ margin-bottom: 0; }

.tabla-compacta td p{ margin-bottom: 0; }

/* Formularios */
form label.form-required::before,
form legend span.form-required::before {
    content: '*';
    color: red;
    margin-right: 5px;
}
form legend span{ font-size: 1rem; }
form .webform-document-file .form-submit{
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    max-width: 200px;
    margin-left: 15px;
}

/**** Agenda *****/
.tb-agenda{
    border-spacing: 5px;
    border-collapse: separate;
}
.tb-agenda tr td{
    border: solid 2px #0F74B6;
}

.ckeditor-accordion-container > dl{ border: 0; }
.ckeditor-accordion-container > dl dt > a { 
    color: #3b3b3b;
    background-color: white;
    text-decoration: none;    
}
.ckeditor-accordion-container > dl dt.active > a{
    background-color: white;
    border-bottom: 0;
}
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:before, 
.ckeditor-accordion-container > dl dt > a > .ckeditor-accordion-toggle:after{
    background: #0F74B6;
}

/*** Login ***/
.user-login-form{ max-width: 50%; margin: auto; }
.cas-login-link{
    position: relative;
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 8px 10px;
    border: solid 2px #243361;
    color: white;
    background-color: #243361;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 120px;
}
.page-user-login .cas-login-link::before {
    content: "\00F3";
    display: block;
    width: 100%;
    position: absolute;
    color: #243361;    
    left: 0;
    top: 100%;
    padding-top: 30px;    
}
.page-user-login .cas-login-link::after {
    content: "Iniciar sesi\00F3n con Drupal";
    display: block;
    width: 100%;
    position: absolute;
    color: #243361;
    border-bottom: solid 1px;
    left: 0;
    top: 100%;
    padding-top: 90px;    
}
form label.form-required::before {
    content: '*';
    color: red;
    margin-right: 5px;
}

/* Media Querys */
@media (max-width: 767px) {
    .theme-section > .container{ width: 100%; }
        
    .btn-bienvenida{ padding: 8px 20px; white-space: nowrap; }
    
    .region-block-agenda-second{ margin-left: 10px; margin-right: 10px; }   
    

    /* Agenda */
    .item-evento{ margin-top: 20px; margin-bottom: 20px; }

    /* Header */
    .navbar-brand img { width: 200px; }
    .navbar-toggler:focus{ box-shadow: none; }
    /*.navbar-toggler-icon{ background-image: url(/sites/default/files/barras.svg); }*/
    .section-redes-sociales .menu-rs > li { margin: 0 10px; }

    /* Footer */
    .region-footer-info{ text-align: center; }
    .region-footer-copyright{ text-align: center; }
    .region-footer-menu > nav > ul{ flex-direction: column; }

    /* Intro */
    .section-intro{ overflow-x: inherit; margin-bottom: 150px; }

}

@media (min-width: 1400px) and (max-width: 1799px){ /* XXL */
    
}
@media (min-width: 1800px) and (max-width: 2199px){ /* FULL LARGE */
    
}
@media (min-width: 2200px) { /* FULL FULL LARGE */
    
}