/*
 Theme Name: Divi child v1.12
 Theme URI: https://www.global-mente.com
 Description: Tema base hijo de Divi para esta web, para Divi 3.14 y superior.
 Author: Global Mente
 Author URI: https://www.global-mente.com
 Template: Divi
 Version: 1.12
*/


/* estilos personalizados */

h1, h2, h3, h4, h5, h6, h7{word-break:keep-all; word-wrap:normal}

body.single-post h2, body.single-post h3, body.single-post h4, body.single-post h5{ font-family:'Roboto';}


body{font-weight:300;}


body.home #main-header, body.page-id-584 #main-header{background-color:rgba(255,255,255,0) !important}
body.home #main-header.et-fixed-header, body.page-id-584 #main-header.et-fixed-header{background-color:#fff !important}
body.home #page-container, body.page-id-584 #page-container{padding-top:0px !important; box-shadow:none !important}
body.home #main-header, body.page-id-584 #main-header{box-shadow:none !important}


/*body.home #logo{content: url(/wp-content/uploads/2019/01/logo-riojainstyle-blanco.png);}*/
.et-fixed-header #logo{content: url(/wp-content/uploads/2018/12/logo-rioja-in-style-ppal.png);}

.wp-pagenavi span.current{color:#333333 !important}



/* INICIO efecto zoom portada */
@keyframes breath {
	0% { transform: scale(1); }
	50% { transform: scale(1.2); }
	100% { transform: scale(1); }

}


#deslizador-portada .et_parallax_bg{
	-webkit-animation: breath 40s forwards;
    animation: breath 40s forwards;
    left: auto;
    right: 0;
}

/* FIN efecto zoom portada */


/* CF7 simulando campos de medio tamaño en CF7  */
.wpcf7 p.medio{max-width:48% !important; width:48%;}
.wpcf7 p.izq{float:left !important}
.wpcf7 p.dcha{float:right !important}
.wpcf7 button:hover{border-color:#fff !important}
.dsm_contact_form_7 .wpcf7-form-control.wpcf7-textarea{height:auto !important}
.wpcf7 .ajax-loader{display:block !important}
.wpcf7 .wpcf7-list-item, .wpcf7 .wpcf7-list-item input[type='checkbox']{margin-left:0}


.wpcf7 ::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fff;
  opacity: 1; /* Firefox */
}
.wpcf7 :-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #fff;
}
.wpcf7 ::-ms-input-placeholder { /* Microsoft Edge */
  color: #fff;
}
/* CF7*/


/* blog styles */

.blog-ris article.et_pb_post{margin-left:-20px !important; margin-right:-20px !important}
.blog-ris article.et_pb_post .et_pb_image_container{margin-left:0 !important; margin-right:0 !important}


body.single-post article{font-size:18px}
/*body.single-post article h1{font-size:2em; line-height:1.4em}
body.single-post article h2{margin-top:1em; font-size:1.5em; line-height:1.4em}
body.single-post article h3{font-size:1.3em; margin-top:1em}
body.single-post article h4{font-size:1.1em; margin-top:1em}*/

.et_pb_widget_area h4.widgettitle, #sidebar h4.widgettitle {
	margin-bottom: 0em;
	display: inline-block;
	font-family:'Roboto';
}
.et_pb_widget_area ul li span.post-date, #sidebar ul li span.post-date {
	font-size: .75em;
	display: block;
	color: #aaa;
}
/* blog styles END */


article.et_pb_post .entry-content a, article.et_pb_post .entry-content a.visited,
.et_pb_text p>a, .et_pb_text p>a:visited{color:#a73a64 !important; font-weight:bold !important}
article.et_pb_post a:hover{text-decoration:underline}


/* cambio de color de barra de acreditaciones según convenga */
/*body.page-id-611 .barra-acreditaciones{background-color:#fff !important}*/
body.page-id-697 .barra-acreditaciones{background-color:#fff !important}
body.page-id-613 .barra-acreditaciones{background-color:#fff !important}


.footer-widget .widget_media_image{margin-bottom:1em !important}
.footer-widget h4.title{margin-bottom:1em}
.footer-widget ul.limpio li{padding-left:0 !important}
.footer-widget ul.limpio li:before{display:none}

#main-header .container, #et-footer-nav .container, #footer-bottom .container{max-width:none !important}
#top-header .container{max-width:none !important}
.et-fixed-header#top-header a{color:#fff !important}

#creado-por{float:right; font-size:.75em; color:#d9bc86}
#creado-por a, #creado-por a:visited{color:#d9bc86}
#creado-por a:hover{color:#d9bc86; text-decoration:underline}


/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
	.listado-blog{margin-top:-2em !important} /* igualar con sidebar */
	/*.listado-blog article h2.entry-title{padding-top:.5em}*/
	.listado-blog article img { float:left; max-width:40%; margin-right:1em;}   
	.listado-blog article .post-content{padding-top:0.5em;} 
	.listado-blog .et_pb_post{ padding-right:1em;}
	
}

 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
	.listado-blog{margin-top:-2em !important} /* igualar con sidebar */
	.listado-blog article img { float: left; max-width: 40%; margin-right: 1em;}   
	.listado-blog article .post-content{padding-top:0.5em;} 
	.listado-blog .et_pb_post{ padding-right:1em;} 

}


/*** intervalo 'conflictivo' de Divi ***/
@media all and (min-width: 981px) and (max-width: 1099px) {


}

 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {

	
	#creado-por{float:none !important; text-align: center;}
 
}

 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
	#logo{content: url(/wp-content/uploads/2018/12/logo-rioja-in-style-ppal.png);}
}

 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
	#logo{content: url(/wp-content/uploads/2018/12/logo-rioja-in-style-ppal.png);}
	.listado-blog article .post-content{}
	.listado-blog article h2.entry-title{font-size:1.4em; line-height:1.3em}

	/* CF7  */
	.wpcf7 p.medio{max-width:100% !important; width:100%}
	.wpcf7 p.izq, .wpcf7 p.dcha{float:left !important}
	/* CF7  */
	
	
 
}

 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
 
}

