/*
 Theme Name:   MICE - Extra child theme
 Theme URI:    http://www.elegantthemes.com/gallery/divi/
 Description:  MICE-Madrid Theme created by Cheno and Ohmware
 Author:       JYO
 Template:     Extra
 Version:      1.0.0 
*/

/* I do not use @import to import the css stylesheet from parent. I use the method wp_enqueue_style() on funcions.php placed in child theme

/* Here I can start with the personalization of the theme
-------------------------------------------------------------- */ 
/* Tipografías */
@import url(https://fonts.googleapis.com/css?family=Raleway:700,400);

/* ========== MODO MANTENIMIENTO ======== */
/* el css que usa esta en el directorio del plugin wp-content/plugins/wp-maintenance-mode */

/* ========== COLORES BASE ======== */
/* color: #27c7bd; /* azul principal -> rgba(10,62,129,95); */
/* color: #27c7bd; /* rosa principal -> rgba(170,28,85); */


/* ============ GENERAL ================== */
::-moz-selection { 
	background: rgba(10, 65, 129, 0.9);
	color: #fff;
}
::selection { 
	background: rgba(10, 65, 129, 0.9);
	color: #fff;
}
strong { color: rgba(10, 65, 129, 0.9); }
body {
    font-family: "Open Sans",Helvetica,Arial,Lucida,sans-serif !important;
}

/*Titulares de páginas y titulares de quienes somos */
.et_pb_pagebuilder_layout .page .post-wrap h1 {
    color: rgba(10, 65, 129, 0.9);
    padding: 20px 5%;
}
.page article {
    border-color: rgba(9, 57, 112, .85) !important;
}
.et_pb_section {
    padding: 3% 0px;
}

.related-posts {
    margin: 0;
}
.module-head .module-filter { /* ocultar lates de modulo noticias*/
    display: none;
}
ul {
    list-style-type: circle;
}
/*widgets*/
.et_pb_widget.widget_et_recent_tweets .widget_footer {
    background: #27c7bd none repeat scroll 0% 0%;
    border-top: 1px #27c7bd;
    margin-right: -10px;
    margin-left: -5px;
    padding: 4px 0 4px 28px !important;
}
#et-recent-videos-2 ul.widget_list {
    background: #ffffff;
}

#et-recent-videos-2 ul.widget_list li a {
    color: #1e73be;
}
.et_pb_widget.widget_et_recent_videos .widget_list li {
    padding-top: 10px;
    padding-bottom: 10px;
}
/* Diferentes imagenes de la web */
/* imagenes quienesomos */
.quienes img {
    -moz-box-shadow: 0 10px 6px -6px #777;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}
/* correccion de logo en esta resolucion (se alinea al centro de la página) */
@media (max-width: 1210px) and (min-width: 1025px) {
	#main-header .logo {
		margin: 1.2em auto !important;  
	}
}
#et-trending-container {
    display: inline-flex;
    margin-top: 1px;
}
@media only screen and (max-width: 768px) {
    .with_sidebar .posts-blog-feed-module .paginated_content .paginated_page[data-columns]::before {
        display: none;
    }
}
/* =========== HEADER ==================== */
/* Top header */
/* Tipo de letra para top-header y tamaño de fuente para "trending */
#top-header { font-family: "Open Sans Condensed",Helvetica,Arial,Lucida,sans-serif; }
.et-trending #et-trending h4 { font-size: 1.0em; }
/*  Área de contacto en top-header */
i.fa {
    color: #fff;
    font-family: "Open Sans Condensed",Helvetica,Arial,Lucida,sans-serif;
    font-size: 16px !important; 
    margin: 0 7px;
    line-height: 1.7;
    text-transform: capitalize;
}
.fa:before {     
    font-family: 'FontAwesome' ,sans-serif;
    font-size: 18px !important;        
}
.fa-2x  { font-size: 1.5em !important; }
.et-top-search input[type="search"] { font-size: 12px; }
/* =========== NAVIGATION ================ */
#et-navigation > ul {
	font-family: "Open Sans Condensed",Helvetica,Arial,Lucida,sans-serif !important;
}
#et-navigation > ul > li { margin: 0 10px !important;   }
/* Botón de menú en móvil */
.show-menu-button       { background: #27c7bd;  }
.show-menu-button span  { background: #fff;     }
#et-menu > li > ul, #et-menu li > ul { border-color: #27c7bd !important;  }

/* menu mega featured */
#et-menu li.mega-menu-featured > ul li .title {
    margin-bottom: 10px;
    padding: 0;
    color: #ffffff;
    font-size: 14px;
    font-family: "Open Sans Condensed", Helvetica, Arial, Lucida, sans-serif;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
}
/*#et-navigation .mega-menu-featured .recent-post .post-meta {
    display: none;
}
#et-navigation .mega-menu-featured .recent-post .post-meta h3:first-of-type {
    display: block !important;
}*/
/* ======================================= */
/* =========== PÁGINAS =================== */
/* ======================================= */

/* =========== INICIO ==================== */
/* Spot Publicitario */
#spot-2016, 
.wrapSpot {	
	width: 100%;
}
.wrapSpot {
	height: 600px;
	position: relative;
	/*padding-bottom: 56.25%; /* 16:9 */
	/*padding-top: 25px;*/
}
.wrapSpot iframe {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
}
.wrapSpot iframe .ytp-title-playlist-icon {
    display: none !important;
}
/* Tab post */
.tabbed-post-module .tabs {
	font-family: "Open Sans Condensed",Helvetica,Arial,Lucida,sans-serif !important;
}
/* Noticia */
.posts-carousel-module .module-head h1 {
    text-transform: uppercase !important;
}
/* Noticias (category layout) formato blog masonry */
.posts-blog-feed-module.masonry .post-content {
    width: 100%;
    padding: 0 20px 20px;
    -moz-box-shadow: 0 10px 6px -6px #777;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
    box-sizing: border-box;
    overflow: hidden;
}
/* =============== SIDEBAR ===================== */
.et_pb_widget .widgettitle {
	background: #27c7bd;
	font-family: "Open Sans Condensed",Helvetica,Arial,Lucida,sans-serif !important;
}
#et_recent_tweets-2 .widget_content {
	padding-right: 10px !important;
	padding-left: 5px;
}
.et_pb_widget.widget_et_recent_tweets .widget_footer {
	background: #27c7bd none repeat scroll 0% 0%;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
	margin-right: -10px;
	margin-left: -5px;
	padding: 4px 0 4px 20px !important;
}
.post-tweet {
	font-family: "lucida grande",tahoma,verdana,arial,sans-serif;
	color: #000;
	font-size: 0.85em;
}
/* facebook */
.cameronjonesweb_facebook_page_plugin {
    text-align: center;
}
@media (max-width: 1024px) and (min-width: 640px) {
    
    #simple-facebook-widget .fb-page.fb_iframe_widget span, 
    #simple-facebook-widget  iframe,
    iframe html#facebook.highContrastSetting.svg body.plugin.gecko.win.x1.Locale_es_ES div._li div div#u_0_0 div._2p3a {
        /*width: 555px !important;*/   
    }
    /*.fb_iframe_widget, .fb_iframe_widget span, .fb_iframe_widget span iframe[style] {
        width: 100% !important;
    }*/
}
/* =============== FOOTER ======================== */
footer {
    background: #ffffff !important;
}
#footer-info {
    font-size: 14px !important;
}
#footer-info a {
    font-size: 15px !important;
}
#footer-nav {
    font-size: 12px !important;
    text-align: left;
    padding: 15px 0;
    display: inline-block;
    color: rgba(255, 255, 255, 0.6);
}
#footer-nav p {
    line-height: 0;
}
#footer-nav a {
    font-size: 15px !important;
}
#footer-nav a, #footer-nav span.phone {
    font-weight: 700;
    color: #ffffff;
    font-size: 13px;
}
#footer .et_pb_widget.widget_et_ads .widget_content {
    text-align: left;
}
#footer .et_pb_widget .widgettitle {
    color: #1F528B;
    text-align: center;
    margin-bottom: 15px;
}
#footer .et_pb_widget.widget_et_ads .etad {
    margin: 10px 2px 0 0 !important;
}
@media (max-width: 1024px) {
    #footer .et_pb_widget {
        margin: 0 auto;
    }    
    #footer .et_pb_widget:first-of-type {
        padding-top: 1em !important;
    }
    #footer .et_pb_widget.widget_et_ads .widget_content,
    #footer .et_pb_widget .widgettitle {
        text-align: left;
    }    
}
@media (max-width: 480px) {
    .linkBlock {
        display: block;
        margin-top: 1.2rem;
    }
}
/* =============== SOMOS y CONTACTO======================== */
.box-white {
	border-radius: 2px;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	overflow: hidden;
}
.et_pb_toggle {
    border: none;
    border-radius: 2px;
    /*box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);*/
    -moz-box-shadow: 0 10px 6px -6px #777;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
    box-sizing: border-box;
    overflow: hidden;
}
.et_pb_toggle_open {
    background: rgba(9, 57, 112, .35);
}
.et_pb_toggle_title {    
    font-size: 1.5em;
}
.et_pb_toggle_open .et_pb_toggle_title::before {
    color: rgba(10,65,129,0.9);
}
.et_pb_toggle_close {
    background: rgba(10,65,129,0.9);       
}
.et_pb_toggle_close h5.et_pb_toggle_title {    
    color: #fff;
}
.entidades h3, 
.contacto h3,
.somos h3,
.mice h3 {
    background: #aa1c55;    
    color: #fff;
    font-family: 'Raleway', sans-serif !important; 
    font-size: 1.5em;
    font-weight: 400;
    padding: 5px 25px; /* medidas estandard para  todo el site */
    text-transform: none !important;
}
.mice {
    margin-bottom: 20px;
}
.entidades h5 {
	color: #404040;
	font-family: 'Raleway', sans-serif; 
    font-size: 1.2em;
    font-weight: 700;
    text-transform: none;
}
.entidades ol, .entidades ul {
    margin-top: -10px !important;
    padding-top: 0;
}
.entidades li {
    margin-top: -1px;
}
.entidades.et_pb_row {
    padding: 1% 0 !important;
}
.entidades .et_pb_column_1_2 {
    width: 48.25%;
}
.entidades .et_pb_column {
    margin-right: 3.5% !important;
}
.et_pb_section.contacto {
    padding: .5% 0px;
}
.et_pb_module.map {
    margin-bottom: 1% !important;
}
.et_pb_map, .formulario {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    overflow: hidden;
}
.formulario .et_pb_contact_right {
    display: inline-flex;
    margin: 20px 0;
    text-align: right;
}
.formulario .et_pb_contact_submit {
    margin-left: 10px;
    margin-right: 20px;
    text-align: right;
}
.formulario .et_pb_button:hover {
    border: 2px solid transparent;
    padding: 0.55em 2em 0.55em 1em;
}
.formulario .et_pb_button::after {
    top: 2.5px;
}
.contacto .formulario {
    padding: .5em;
}
p.et_pb_contact_field {
    padding: 10px 20px 0 30px;
}

/* =============== SECCIONES ==================== */
/* Oculta h1 con la palabra "category"  */
.category-seleccion_cortos .et_pb_extra_column_main > h1:first-child,
.category-seccion_competitiva .et_pb_extra_column_main > h1:first-child,
.category-pases_especiales .et_pb_extra_column_main > h1:first-child,  
.category-talleres-familiares .et_pb_extra_column_main > h1:first-child,  
.category-mesas-redondas .et_pb_extra_column_main > h1:first-child {  
  display: none;
}
.page-id-993.et_pb_pagebuilder_layout .page .post-wrap h1 {
    color: rgba(10, 65, 129, 0.9);
    padding: 20px 5% 0px 5%;
}

/* Cintillos estilos generales para página secciones */
.subtitulo_cortos h2,
.subtitulo_cine h2,
.subtitulo_pases h2 {
	color: #fff;
	font-family: 'Raleway', sans-serif; 
    font-weight: normal;
    font-size: 1.5em;
	padding-left: 45px;
	text-transform: capitalize;
}
/* Colores de cintillos para página secciones */
.et_pb_fullwidth_section.subtitulo_cortos {
    background: #1caa24;
    padding: 8px 0 0 0;
}
.et_pb_fullwidth_section.subtitulo_cine {
	background: #b7aa30;
	padding: 8px 0 0 0;
}
.et_pb_fullwidth_section.subtitulo_pases {
	background: #dd320e;
	padding: 8px 0 0 0;
}
/* links en secciones */
/*.et_pb_pagebuilder_layout .post-content a {
     color: #aa1c55;
}*/
/* =============== SELECCION-CORTOS ==================== */
.cortosHeader.et_pb_posts_blog_feed_standard_0.paginated.et_pb_extra_module {
    border-color: #1caa24 !important;
}
.category-seleccion_cortos h1 {
    color: #1caa24;
}
.category-seleccion_cortos a.read-more-button {
    background: #1caa24;    
    color: #fff !important;
}
.category-seleccion_cortos a.read-more-button:hover {
    background: #fff;
    color: #1caa24 !important; 
}
/* =============== SECCION-COMPETITIVA ==================== */
.competitivaHeader.et_pb_posts_blog_feed_standard_0.paginated.et_pb_extra_module {
    border-color: #b7aa30 !important;
}
.category-seccion_competitiva h1 {
	color: #b7aa30;
}
.category-seccion_competitiva a.read-more-button {
	background: #b7aa30;
	color: #fff !important;
}
.category-seccion_competitiva a.read-more-button:hover {
	background: #fff;
	color: #b7aa30 !important;	
}
/* =============== PASES-ESPECIALES ==================== */
.pasesHeader.et_pb_posts_blog_feed_standard_0.paginated.et_pb_extra_module {
    border-color: #dd320e !important;
}
.et_extra_layout .et_pb_column .module-head h1
.category-pases_especiales h1 {
    color: #dd320e;
}
.category-pases_especiales a.read-more-button{
	background: #dd320e;
	color: #fff !important;
}
.category-pases_especiales a.read-more-button:hover{
	background: #fff;
	color: #dd320e !important;
}
h2.hentry {
    color: #DD320E;
    font-weight: normal;
}
/* =============== POSTS-FEED ==================== */
.posts-blog-feed-module .hentry {
	padding: 30px 20px;
}
/* =============== SINGLE POST ==================== */
h2.titulo {
	font-family: 'Raleway', sans-serif !important; 	
	text-transform: capitalize;
}
span.descripcion {
	color: #404040;
	font-weight: 700;
	margin-right: .25em;
}
span.descripcion, 
span.pais, 
span.duracion, 
span.sinopsis, 
span.direccion,
span.guion,
span.fotografia,
span.musica,
span.interpretacion {
	font-size: 14px;
}
/* evita que las imagenes horizontales sean muy altas */ 
.post-thumbnail img {
	margin: 0 auto;
	width: auto;
}
/* navegacion de posts */
.post-nav {
	width: 100%;
}
.post-nav .nav-links .button {
	background: #fff;
}
.post-nav div.nav-links.clearfix div.nav-link.nav-link-prev a span.title,
.post-nav div.nav-links.clearfix div.nav-link.nav-link-next a span.title {
    border-bottom: 1px solid gray;
    padding-bottom: 2px;
}
/* ============== ACTIVIDADES PARALELAS ============= */
.subtitulo_talleres h2, 
.subtitulo_mesas h2,
.subtitulo_actividades h3, 
.subtitulo_actividadesmesas h3 {    
    font-family: 'Raleway', sans-serif; 
    font-weight: normal;
    font-size: 1.2em;
    padding-left: 5px;
    text-transform: capitalize !important;
}
.subtitulo_talleres h2, 
.subtitulo_mesas h2 {
    color: #fff;
    font-size: 1.5em;
    line-height: 0.7 !important;
    padding: 1px 0 8px 45px;    
}
.subtitulo_actividades a:link,
.subtitulo_actividades a:visited {
    color: #aa1c55;
}
/* talleres-familiares */
.category-talleres-familiares h1,
.subtitulo_actividades h3 {
    color: #b8567d;
}
.subtitulo_actividades a:hover h3 {
    color: #7d3a55;
    text-decoration: underline;
}
.category-talleres-familiares a.read-more-button {
    background: #b8567d;
    color: #fff !important;
}
.category-talleres-familiares a.read-more-button:hover{
    background: #fff;
    color: #b8567d !important;
}
.et_pb_fullwidth_section.subtitulo_talleres {
    background: #b8567d;
    padding: 15px 0 10px 0;
}
/* mesas-redondas */
.category-mesas-redondas h1,
.subtitulo_actividadesmesas h3 {
    color: #f6297b;
}
.subtitulo_actividadesmesas a:hover h3 {
    color: #6e1237;
    text-decoration: underline;
}
.category-mesas-redondas a.read-more-button{
    background: #f6297b;
    color: #fff !important;
}
.category-mesas-redondas a.read-more-button:hover{
    background: #fff;
    color: #f6297b !important;
}
.et_pb_fullwidth_section.subtitulo_mesas {
    background: #f6297b;
    padding: 15px 0 10px 0;
}
/**/
.et_pb_team_member_description h4 {
    background: #eee;
    color: #f6297b;
    font-family: 'Raleway', sans-serif; 
    font-weight: normal;
    font-size: 1.2em;
    margin-bottom: 15px;
    padding: 5px;
    text-align: center;
    text-transform: capitalize !important;
}
.et_pb_team_member_image {
    border: 2px solid #7F7F7F;
    padding: 5px;
}
/* ============== NOTICIAS ========== */
/* eliminamos el titulo que muestra categoria:noticias */
/* generamos uno desde el constructor */
.archive h1 {
    display: none;
}
/* cambiamos tb. el titulo de imagenes mice */
.title_news, .page-title {
    
    font-family: 'Dosis', Helvetica, Arial, Lucida, sans-serif; 
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0 0 20px 0;
    text-transform: uppercase;
}
.title_news {
    color: #086477;
}
.page-title {
    color: rgba(10, 65, 129, 0.9);
}
.category-noticias a.read-more-button {
    background: #086477;    
    color: #fff !important;
}
.category-noticias a.read-more-button:hover {
    background: #fff;
    color: #086477 !important; 
}
.single-post-module a:link, .single-post-module a:visited {
    color: #aa1c55;
}
/* ============== PORTFOLIO ========== */
/* USAMOS GALERIA EN VEZ DE PORTFOLIO */
#portfolio_filter {
    display: none !important;
}
.post-thumbnail.post-gallery .gallery.et-slider.et_pb_bg_layout_dark {
    max-height: auto !important; /* solucionar problemas con el crop de la imagenes en la galeria */
}
.et_filterable_portfolio {
    margin-bottom: 30px;
}
.et_pb_portfolio_item h2 {
    font-size: 15px !important;
    margin: 5px 0 0 !important;
    text-align: center;
}
.single-project-module .post-thumbnail .gallery_image img, .single-project-module .post-gallery .gallery_image img {
    /*width: 100%;
    max-width: 100%;
    height: auto;*/
    /* para que la imagen mantenga sus proporciones */
    margin: 0 auto;
    width: auto;
}
/* para galeria */
.single-project-module .post-thumbnail {
    display: none;
}
.et_pb_gallery_items {
    margin-top: 25px;
}
.mice_porfolio {
    margin-top: -85px;
}
.fotos {
    font-style: normal;
    font-size: 0.8em;
}
/* pop up */
.mfp-title {
    display: none;
}
.mfp-counter {
    top: 40px !important;
}
.mfp-close {
    top: -50px !important;
}
img.mfp-img {
    border: 2px solid #fff !important;
    padding: 0 !important;
}
/* Project Footer. Share social icons on projects */
.project-footer {
  margin-bottom: -10px;
  width: 100%;
  padding: 15px 60px 0;
  box-sizing: border-box;
  text-align: center;
}
.project-footer .social-icons {
  display: inline-block;
  margin: 0 15px 10px;
}
.project-footer .social-icons .share-title {
  display: inline-block;
  margin: 0 10px 0 0;
  color: rgba(0, 0, 0, 0.6);
  font-size: 14px;
  font-weight: 600;
  line-height: 30px;
  text-transform: uppercase;
  vertical-align: middle;
}
.project-footer .social-icons a {
  display: inline-block;
}
.project-footer .social-icons .et-extra-icon {
  background: rgba(0, 0, 0, 0.2);
  width: 30px;
  height: 30px;
  margin: 5px 5px 5px;
  border-radius: 3px;
  line-height: 30px;
  box-sizing: border-box;
  vertical-align: middle;
}
/* ============== AGENDA ============= */
/* link rosa para agenda y secciones */
#linkPink {
    color: #aa1c55 !important;
}
/*Espaciado de titular "agenda"*/
.page-id-751.et_pb_pagebuilder_layout .page .post-wrap h1 {
    padding: 20px 5% 0 5%;
}
/*espaciado de area entre titular y "horario-mañana"*/
.page-id-751 .et_pb_section {
    padding-top: 2%;
}
table {
    font-size: 13px;
    border-collapse: collapse;
    width: 100%;
}
h3.subtitulo {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1.5em;
    text-transform: capitalize;
}
h3.sub2{
    margin-top: 2em;
}
h6.nota{
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 1em;
    font-style: italic;
    text-transform: lowercase;
}
tr.dia {
    background: #eee;
}
tr.tarde {
    background: #eee;
}
tr.dias-1 > th {
    background: #1caa24;
}
tr.dias-2 > th {
    background: #dd320e;
}
th {
    color: #eee;
    font-size: 1em;
}
td, th {
    padding: 0.3em;
    border: 1px solid #ccc;
    text-align: left;
}
@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px)  {
    /* Force table to not be like tables anymore */
    table, thead, tbody, th, td, tr { display: block; }
    /* Hide table headers (but not display: none;, for accessibility) */
    thead tr {
        left: -9999px;
        position: absolute;
        top: -9999px;
    }
    tr { border: 1px solid #ccc; }
    td {
    /* Behave  like a "row" */
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
    }
    td:before {
    /* Now like a table header */
        position: absolute;
    /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    /*tr.dia {*/
    tr.dia {
        background: #eee;
    }
    tr.dia > td:before{
        background: #b8567d;
        color: #eee;
        text-align: center;
    }
    tr.tarde {
        background: #eee;
    }
    tr.tarde > td:before{
        background: #f6297b;
        color: #eee;
        text-align: center;
    }
    /* Label the data */
    td:nth-of-type(1):before { content: "Sábado 20"; }
    td:nth-of-type(2):before { content: "Domingo 21"; }
    td:nth-of-type(3):before { content: "Lunes 22"; }
    td:nth-of-type(4):before { content: "Martes 23"; }
    td:nth-of-type(5):before { content: "Miércoles 24"; }
    td:nth-of-type(6):before { content: "Jueves 25"; }
}
ul.sedes li span {
    font-weight: bold;
    color: #404040;
}