/*
 Theme Name:     Molins en Comu
 Theme URI:      http://howav.com
 Description:    Divi Child Theme
 Author:         How Audiovisual i Multimedia - Diego Gonzalez Zorrilla
 Author URI:     http://howav.com
 Template:       Divi
 Version:        1.0.0
*/


/* Theme customization starts here ------------------------------------------------------- */



/*.entry-featured-image-url > img {
	float: left;
	max-width: 250px!important;
	height: auto;
	border: 1px black solid;
	border-radius: 10px;
	margin: 0px 35px 20px 0px;
}

#main-content {
	background-color: #683061;
}

#main-content .container {
	background-color: #ffffff;
	padding: 25px 75px;
	max-width: 1500px;
}
*/
/*** Estilo slider Eixos de la campaña ***/

/*ul {
	list-style-image: url('https://molinsencomu.cat/wp-content/uploads/2019/05/gota.gif');
}*/

.eixos ul li {
	margin-bottom:1em;
}

/*** Quitar extracto de la cuadricula de posts ***/

.et_pb_posts .post-content {
	display: none;
}


/*** Sombra para las imagenes ***/

.wp-block-image img {
	box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2)!important;
}

/*** Usar la etiqueta sin-imagen-destacada en los post para evitar dicha imagen se muestre al inicio del post ***/

.tag-sin-imagen-destacada .et_pb_title_featured_container > .et_pb_image_wrap > img {
	display:none;
}

/*** Gradiente colores partido ***/

#main-header, #top-header, #main-footer, #footer-bottom, #et-footer-nav, .et_pb_button_1, .degradado {
	background-image:linear-gradient(90deg,#e63323 0%,#683061 60%) !important;
  	background-color:rgba(0,0,0,0);
}

/*** INICIO Estilo Header ***/

#main-header {
	box-shadow:none;
}

#main-header .menu-item {
	font-size:16px;
}

.wp-block-image img {
	box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.2)!important;
}

.et-social-rss {
	display:none!important;
}

#logo {
    max-height:100%;
    max-width:300px;
}

#socialjuntologo {
	margin: 43px 0 0 275px;
	position: absolute;
	transition: all .4s ease-in-out;
  	-webkit-transition: all .4s ease-in-out;
	-moz-transition: all .4s ease-in-out;
}

#socialjuntologo .et-social-icons li {
	float:none;
  	margin-left: 10px;
}

#socialjuntologo a {
  	color:#fff;
  	font-size:20px;
}

.et-fixed-header #socialjuntologo {
  	margin: 25px 0 0 25%;
}
/*Cambio logo Google+ por YouTube en redes sociales*/
.et-social-google-plus a.icon:before {
	content: "\f167";
	font-family: "Font Awesome 5 Brands"!important;
}

#et-secondary-menu{
	height:0px;
	display:none;
  	font-size:0.8em;
}

#main-content > div.container:before {
	display:none;
}

#top-header {
	height:14px;
}

span.mobile_menu_bar:before {
	color:#fff;
}

#et-top-navigation {
padding-left:40%!important;
}

/*** FIN Estilo Header ***/

/*** INICIO Estilo Footer ***/

#et-footer-nav a {
	color:#fff;
}

#et-footer-nav li.current-menu-item a {
	color:#999!important;
}

/*** FIN Estilo Footer ***/

.et_pb_widget_area_left {
	border-right: 0px;
}

/*** Color texto submenu ***/

#menu-item-575 > a {
	color:#000000!important;
}

/*** Responsive Styles Large Desktop And Above ***/

@media all and (min-width: 1400px) and (max-width: 1500px) {
  #et-top-navigation {
  	padding-left:330px!important;
}
  .et-fixed-header #socialjuntologo {
  	margin: 25px 0 0 12%;
}
#socialjuntologo {
  	font-size:1em;
}
}

/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 981px) and (max-width: 1250px) {
#socialjuntologo {
  	margin: 75px 0 0 300px;
  	font-size:1em;
}
}

/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
  #socialjuntologo {
	margin-left: 40%;
}

}

/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
  #socialjuntologo {
	margin-top: 19px;
}
  #socialjuntologo .et-social-icons li {
  	margin-left: 35px;
}
  #socialjuntologo a {
  	font-size:40px;
}
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
    #socialjuntologo {
	margin-top: 27px;
}
  #socialjuntologo .et-social-icons li {
  	margin-left: 20px;
}
  #socialjuntologo a {
  	font-size:30px;
}
}

/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) {
   #socialjuntologo a {
  	font-size:20px;
}
}

/*** Diseño del sidebar ***/

#sidebar {
	padding: 20px!important;
	border-radius: 10px;
	color:#ffffff!important;
}

#sidebar .et_pb_widget .widgettitle {
	color:#555555;
}

#sidebar .et_pb_widget a {
	color:#555555;
}

#sidebar .et_pb_widget ul li {
	margin-bottom:1rem;
	font-size:0.9rem;
}

#sidebar .et_pb_widget a:hover {
	color:#222222;
	text-decoration:underline 1px;
}

/*** Correccion a video duplicado en el post cuando el tipo es Video ***/

.single-post .et_main_video_container {
	display:none;
}

/*** Correccion a slider de noticias en sidebar ***/

.slider-ple-municipal .et_pb_more_button {
	margin-top: 2px!important;
}

.slider-ple-municipal .et_pb_slide_content {
	display:none!important;
} 