#mini-clndr .clndr .days-container .days {display: grid;grid-template-columns: repeat(7, 1fr);width: 100%;position: unset;height: auto;}
#mini-clndr .clndr .days-container .days .headers {display: flex; flex-direction: row;grid-column: 1 / span 7;}
#mini-clndr .clndr .days-container {height: 100%; width: 100%;}
#mini-clndr .clndr .days-container .days .headers .day-header{width: 100%}
#mini-clndr .clndr .days-container .events{top: 0;height: 100%;top: 0;}

@media screen and (min-width: 1201px){
  body.path-areasmunicipales #mini-clndr .clndr .days-container {width: 100%;}

  #mini-clndr .clndr .days-container .events {height: 100%; width: inherit;left: 100%;}

}
@media screen and (max-width: 1200px){
  body.path-areasmunicipales #mini-clndr {width: 100%;height: 273px;}
  
  #mini-clndr .clndr .days-container .days{ width: 294px;}
  #mini-clndr .clndr .days-container .events { width: calc( 100% - 310px); left: 310px;}
  .site-branding__logo-link img {
      max-width: 16%;
  }

  #navbar #block-menuprincipal #superfish-main-toggle::after {
    color: var(--color-principal);
  }
  .sf-depth-2, .sf-depth-3{
    color: black !important;
  }

}


@media screen and (min-width: 1024px){
  body.path-seccion .layout--twocol-bricks > .layout__region--first-above{flex:0 1 70%!important;}
  body.path-seccion .layout--twocol-bricks > .layout__region--second-above{flex:0 1 25%!important;}
}


@media only screen and (max-width: 1024px){
  .mapa-guardia #mapaFarmacias #map { min-height: 255px !important;  height: 100vh!important; }
  body.path-seccion .layout--twocol-bricks > .layout__region--first-above,
  body.path-seccion .layout--twocol-bricks > .layout__region--second-above{flex:0 1 100%!important;}
}

@media only screen and (max-width: 991px){
  .banners-hor-bg > div .inside > div.banner-app .cartel-app:before { background-size: 250px;  background-position: bottom right; }
  .banners-hor-bg > div .inside > div.banner-app .cartel-app > div{  margin: 1em; }
  body.path-seccion div#rid-content,
  body.path-seccion .layout--twocol-bricks > .layout__region--first-above{width: 100%;}
}

@media only screen and (max-width: 768px){
  #mini-clndr .clndr .days-container .days {position: unset;}
  #mini-clndr .clndr .days-container .days {width: 100%; height: 239px;}

  #mini-clndr .clndr .days-container .events { width: 100%; left: 310px;height: 100%;top: 0;left: 100%;}
  
  body.path-seccion #views-blockareas-mapa-lugar-areas .datos-mapa > .fieldset-wrapper {flex-direction: column!important;}
  body.path-seccion #views-blockareas-mapa-lugar-areas .datos-mapa > .fieldset-wrapper img.image-style-imagen-300 {width: 100%;}
  body.path-seccion #views-blockareas-mapa-lugar-areas .datos-entidad {margin: 0;}
  
  .banners-hor-bg > div .inside > div.banner-app .cartel-app:before {background-size: 250px;background-position: bottom center;bottom: 0;top: unset;height: inherit;}
  .banners-hor-bg > div .inside > div.banner-app {position: relative; padding: 1em; height: 600px;}
  .banners-hor-bg > div .inside > div.banner-app .cartel-app{position: unset;}
  .banners-hor-bg > div .inside > div.banner-app .cartel-app .iconos-tiendas{text-align: unset;position: unset;}
  .banners-hor-bg > div .inside > div.banner-app .cartel-app .iconos-tiendas > a {display: inline-block;}
  .carteles-portada.view.view-carteles .view-content .views-row,
  body.path-areasmunicipales div#rid-content .carteles-portada.view.view-carteles .view-content .views-row,
  #views-blockareas-carteles-area .view-rows .views-row,
  body.path-seccion #block-portales-content #views-blockareas-noticias-areas .views-row{width: 32%;margin: 0;}
  
  


.carrusel-actualidad .owl-buttons {
    display: none;
}
.carrusel-actualidad div[class^='background-imagen-'] {
    height: 600px;
    top: 0;
    width: 100%;
    background-position: center!important;
}
.carrusel-actualidad div[class^='background-imagen-'] {
    height: 600px;
    top: 0;
    width: 100%;
    background-position: center!important;
}

.carrusel-actualidad .owl-pagination {
    bottom: 0;
}
  
  .carrusel-actualidad {
    height: auto;
}

.owl-theme .owl-controls {
    margin-top: 0;
}
}

@media only screen and (max-width: 431px){
	  body.path-landing .block-region-bottom .home_btn > ul > li { width: 100%; list-style: none; }
	  div#rid-header-second img {
    	max-width: 90%;
		}
}

@media only screen and (max-width: 430px){
  .banners-hor-bg > div .inside > div.banner-app .cartel-app:before {  background-size: 250px; }
  .banners-hor-bg > div .inside > div.banner-app .cartel-app > div h1{font-size: 1.5em;}
  .banners-hor-bg > div .inside > div.banner-app .cartel-app > div h2{font-size: 1.75em;}
  .banners-hor-bg > div .inside > div.banner-app .cartel-app > div p{font-size: .8em;}
  .banners-hor-bg > div .inside > div.banner-app { padding: 1em;  height: 700px;  }
  
  .view-id-carteles .view-content{justify-content: center;}
  
  .carteles-portada.view.view-carteles .view-content .views-row,
  body.path-areasmunicipales div#rid-content .carteles-portada.view.view-carteles .view-content .views-row{width: 80%;}
  #views-blockareas-carteles-area .view-rows .views-row,
  body.path-seccion #block-portales-content #views-blockareas-noticias-areas .views-row{width: 100%;}
}


/*Carrusel avisos boton*/

@media (max-width:1200px){
  
  .carrusel-avisos .more-link.element-container-wrapper {float: unset;position: unset;padding: 10px;margin: auto;}
  .carrusel-avisos .more-link.element-container-wrapper a {border-radius: 4px;}
  
  /*Landing*/
  
  body.path-landing .app-promo .store-promo {display: flex;justify-content: center;align-items: center;flex-wrap: wrap;align-content: center;margin: 0;}
  body.path-landing .app-promo > div {display: flex;padding: 15px;flex-direction: column;flex-wrap: wrap;justify-content: center;align-items: center;}
  body.path-landing .app-promo {margin: 1em;}
  body.path-landing .app-promo .text-promo {max-width: 80%;margin: 15px auto;font-size: 12px;font-weight: bold;text-align: center;}
  body.path-landing .app-promo .store-promo img:first-child {margin-right: inherit;margin: 5px 0;}
  body.path-landing .app-promo .store-promo img {padding: 0 10px;}
  body.path-landing .block-region-bottom .home_btn .banner-grup-text p.subtitulo-landing {height: 30px;}¡
  body.path-landing .block-region-bottom .home_btn > ul > li {width: 50%!important;}
  
}

/*Títulos Secciones*/
@media(max-width:1024px){
	h2.block__title{
		text-align:center;
	}
}

/*Carrusel Principal*/
@media(max-width:768px){
	#views-blockcarrusel-block-1{
		height:unset!important;
		.carrusel-actualidad .grupo-info{
			position: unset!important;
		}
	}
}

/*Noticias*/
@media(max-width:768px){
	.trescolumn-actualidad .views-row {
		width:40%;
	}
}
@media(max-width:450px){
	.trescolumn-actualidad .views-row {
		width:75%;
	}
}

/*Destacados Portada*/
@media(max-width:1024px){
	.carteles-portada.destacados.view-id-carteles .view-content{
		grid-template-columns: 300px repeat(auto-fill, 33%);
    justify-content: center;
    width: unset;
    .views-row:nth-child(1){
    	grid-template-rows: 80% 60px;
    }
    .views-row{
    	width: 90% !important;
    	.views-field-title{
    		margin:0;
    	}
    }
	}
}

@media(max-width:768px){
	.carteles-portada.destacados.view-id-carteles .view-content{
		grid-template-columns: 250px repeat(auto-fill, 32%);
		gap:20px 0;
		grid-auto-rows: 80px;
    .views-row{
    	align-content:center;
    }
	}
}
@media(max-width:450px){
	.carteles-portada.destacados.view-id-carteles .view-content{
		display: flex;
    margin: auto;
    width: 90%;
	}
}
/*Farmacias*/
@media(max-width:1024px){
	#farmaciasdeguardia{
		#farmacias-list{
    	border-top-right-radius: 10px;
    	border-bottom-left-radius: 0!important;
		}
		.leaflet-container{
			height:300px!important;
    	border-top-right-radius: 0!important;
		} 
	}
}
@media(max-width:768px){
	#farmaciasdeguardia{
		height:unset!important;
	}
}

/*Banner APP*/
.banners-hor-bg > div .inside > div.banner-app .cartel-app {
	height:300px;
}
@media(max-width:377px){
	.banners-hor-bg > div .inside > div.banner-app .cartel-app {
		height:350px;
	}
}

/*Carrusel*/
@media(max-width:450px){
	.carrusel-actualidad div[class^='background-imagen-'] {
		height:400px;
	}	
}