/*----------  @media max-width 992px  ----------*/

@media (max-width: 992px) {

	.carouselContainer .owl-theme .owl-dots {
		display: none;
	}
	
	.carouselContainer .owl-carousel.owl-theme .owl-nav {
		top: 40%;
	}
	
	.carouselTipoHome.owl-carousel {
		padding-bottom: 35px;
	}

	.container.bandalogos {
		padding-left: 0;
		padding-right: 0px;
		margin-right: 0px;
		margin-left: 0;
		max-width: 100%;
	}
	
	.container.bandalogos > .row {
		margin-right: 0;
		margin-left: 0;
	}

	.carousel.t0 .capa1 {
		height: fit-content;
	}

	.cuerpo_n1.cuerpo_marcas.marcasynombresbanner .container .row {
	  margin-left: 0;
	}

	.cuerpoflex .cuerpo,  body.responsive .cuerpoflex > .row > .container{
		max-width: unset;
		/*margin: 0 40px 0 40px;*/
	}

	#bienvenida2 h3 {
		font-size: 2.25em;
	}

	#carouselbienvenida #carouselcarbienvenidaIndicators.carousel :is(.carousel-control-prev, .carousel .carousel-control-next) img {
	  filter: invert(35%) sepia(77%) saturate(495%) hue-rotate(175deg) brightness(95%) contrast(92%);
	}
	
	.cuerpoflex .carousel-indicators {
		z-index: 4;
	}

	/*-----  PESTAÑAS HOME  -----*/

	.tabshome .textoOscuroAcordeon {
		align-items: center;
	}

	.tabshome .textoOscuroAcordeon.collapsed img.ir{
		transform: rotate(0deg);
	}

	.tabshome .textoOscuroAcordeon img.ir{
		transform: rotate(180deg);
	}

	.tabshome .tab-content .textoOscuroAcordeon img.ir {
		transition: all 0.5s;
		filter: invert(35%) sepia(77%) saturate(495%) hue-rotate(175deg) brightness(95%) contrast(92%);
		width: 15px;
	}

	.tabshome .tab-content .acordeonbbdd .card-body {
		padding-right: 1.25rem;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .linea1 {
		/*padding-top: 10px;*/
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .capa1 {
		margin: 0;
		padding: 0;
		position: relative;
		height: 100%;
	}
/*
	#carouselcarbienvenidaIndicators.carousel.t0 .capa2 {
		padding-top: 20px;
	}
*/
	#carouselcarbienvenidaIndicators.carousel.t0 .carousel-inner {
		padding-top: 5px;
		padding-bottom: 5px;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .capa1 .row:nth-child(2) {
		height: auto;
		position: absolute;
		left: 0;
		right: 0;
		bottom: 10px;
	}

	#myTab li a {
		white-space: nowrap;
	}

	.cuerpoflex .cuerpoherramientas #herramienta > .container {
		max-width: 100%;
	}

	.cuerpoflex .cuerposobreoepm #vertodosobreoepm .vertodo {
		width: 205px;
		padding: 0;
	}

	.cuerpoflex .cuerposobreoepm #sobreoepm .sobreoepm {
		position: relative;
	}

	.cuerpoflex .cuerposobreoepm #sobreoepm > div {
		margin-bottom: 24px;
	}

	.cuerpoflex .cuerpopreguntasfrecuentes #preguntasfrecuentes .pfrecuente {
		flex-wrap: unset;
	}

	.cuerpoflex .cuerpopreguntasfrecuentes #preguntasfrecuentes .pfrecuente .faqinicio{
		margin-top: 25px;
		margin-right: 0px;
	}

	.cuerpoflex .cuerpopreguntasfrecuentes #preguntasfrecuentes .pfrecuente .faqinicio > img{
		width: 85%;
	}

	.cuerpoflex .cuerpomisc1 #misc1 > div {
		margin-bottom: 25px;
	}

	.cuerpoflex .cuerpomisc1 #misc1 #bannerfoto1 {
		position: relative;
	}

	.cuerpoflex .cuerpomisc1 #misc1 #bannerfoto1 .centradoabajo .vertodo{
		width: 205px;
		padding: 0;
	}
	
	.cuerpoflex .cuerpomisc1 #misc1 #bannerfoto1 .centradoabajo .vertodo a {
		vertical-align: middle;
	}

	.cuerpoflex .cuerpomisc2 #misc2 .misc2 {
		height: 420px;
		position: relative;
	}

	.cuerpoflex .cuerpomisc2 #misc2 > div {
		margin-bottom: 25px;
	}

	.cuerpoflex .cuerpomisc2 #misc2 .misc2 .header {
		flex-direction: column;
  		align-items: center;
	}

	.cuerpoflex .cuerpomisc2 #misc2 .misc2 .cuerpo > div {
		padding-left: 0;
		padding-right: 0;
		padding-top: 10px;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.cuerpoflex .cuerpomisc2 #misc2 .misc2 .cuerpo > div:nth-child(1) {
		display: none;
	}

	.cuerpoflex .cuerpomisc2 #misc2 .misc2 .vermas {
		position: absolute;
	}

	/* INICIO CARRUSEL NOTICIAS DESTACADAS */
	
	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-item .diapositiva {
		position: relative;
		/*padding-top: 20px;*/
	}

	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-item .texto {
		position: initial;
	}

	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-item .texto h3 {
		width: auto;
		padding-right: 15px;
		display: -webkit-box;
		-webkit-line-clamp: 4;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}

	.carousel .elem {
		justify-content: center;
	}
	
	.carousel .cpagc, .carousel .cpagc2 {
		padding-left: 0px;
		padding-right: 0px;
	}

	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-inner {
		height: 100%;
	}
	
	#carouselbienvenida #carouselcarbienvenidaIndicators.carousel .carousel-control-prev,
	#carouselbienvenida #carouselcarbienvenidaIndicators.carousel .carousel-control-next,
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-prev,
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-next {
		position: absolute;
		top: unset;
		bottom: unset;
		z-index: 1;
	}
	
	#carouselbienvenida #carouselcarbienvenidaIndicators.carousel .carousel-control-prev {
		left: 15px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-prev {
		left: 20px;
	}
	
	#carouselbienvenida #carouselcarbienvenidaIndicators.carousel .carousel-control-next {
		right: 15px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-next {
		right: 20px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 {
		height: 320px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .diapositiva .texto {
  		padding: 30px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel :is(.carousel-control-prev, .carousel-control-next) {
		background-color: var(--c-blanco);
	}
	
	#carouselnoticiasdestacadasIndicators.carousel :is(.carousel-control-prev, .carousel-control-next) img{
	  filter: invert(35%) sepia(77%) saturate(495%) hue-rotate(175deg) brightness(95%) contrast(92%);
	}
	
	/* FIN CARRUSEL NOTICIAS DESTACADAS */
	
	:is(#eventoshome #eventCalendarHome, #agendadhome #agendaCalendarHome)  {
		flex-direction: column;
		align-items: center;
	}
	
	:is(#eventoshome #eventCalendarHome, #agendadhome #agendaCalendarHome) .eventCalendar-slider {
		padding-right: 0;
		padding-left: 0;
	}
	
	:is(#eventoshome #eventCalendarHome, #agendadhome #agendaCalendarHome) .eventCalendar-list-wrap .eventCalendar-list-content .eventCalendar-list .eventCalendar-noEvents {
		margin-top: 0;
	}
	
	:is(#eventoshome, #agendadhome) .vertodo {
		width: 235px;
		padding: 0;
	}
	
	:is(#eventoshome, #agendadhome) .vertodo a {
		vertical-align: middle;
	}
	
	#avisos #avisoshome .ultimos_avisos .bannerfoto1 {
		padding-top: 25px;
		position: relative;
	}
	
	/*----- INICIO CUSTOM OWL-CAROUSEL -----*/
	:is(#avisoshome, #notashome) .owl-theme .owl-dots .owl-dot span {
		width: 8px;
		height: 8px;
		background-color: var(--c-ac-300);
		opacity: .5;
	}
	
	:is(#avisoshome, #notashome) .owl-theme .owl-dots .owl-dot.active span,
	:is(#avisoshome, #notashome) .owl-theme .owl-dots .owl-dot:hover span {
		background-color: var(--c-azul-claro);
		opacity: 1;
	}	
	/*----- FIN CUSTOM OWL-CAROUSEL -----*/
	
	.tabshome ul#myTab.owl-carousel .owl-stage {
		display: flex;
		width: 100% !important;
		/*justify-content: center;*/
	}
	
	#notasprensa #notashome .notas_prensa .bannerfoto1 {
		height: 230px;
	}
	
	#notasprensa #notashome .notas_prensa .bannerfoto1 > h3 {
		height: 130px;
		display: -webkit-box;
		-webkit-line-clamp: 5;
		-webkit-box-orient: vertical;
		white-space: normal;
		overflow: hidden;
		font-weight: 600;
	}
	
	.cuerpovigilancia #vigilancia .bannerfoto1 {
		position: relative;
	}
	
	.cuerpovigilancia #vigilancia .vermas {
		padding-top: 0;
		position: absolute;
		bottom: 10px;
		right: 0;
	}
	
	.rsociales .subfoot .colpie {
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	.infopie .pinferior .alinamento-listado {
		justify-content: space-between;
		margin-top: 15px;
		padding: 0 15px;
	}
	
	.cuerpomisc2 .misc2 .img.col-3 {
		display: flex;
		justify-content: center;
	}
	
	.tabshome ul#myTab.owl-carousel .owl-stage {
		margin-left: 0px;
	}
	
	.tabshome ul#myTab.owl-carousel .owl-item.active {
		padding-right: 0;
		width: 100% !important;
	}
	
	.bandalogos .logoci {
		padding-bottom: 8px;
	}
	
	body.responsive .accordion .card {
		margin-top: 24px;
	}
	
	body.responsive :is(#notashome, #avisoshome) {
		padding-bottom: 40px;
	}
}

/*----------  @media max-width: 992px and min-width: 768px  ----------*/

@media only screen and (max-width: 992px) and (min-width: 768px) {

	#carouselcarbienvenidaIndicators.carousel.t0 .col.diapositiva{
		height: unset;
	}
}

@media (max-width: 991.98px) {
	/*body.responsive .carouselContainer .carouselTipoHome.owl-carousel {
		padding-left: 65px;
		padding-right: 0;
	}
	
	body.responsive .carouselContainer .carouselTipoHome.owl-carousel .owl-next {
		left: 0;
		transform: scaleX(-1);
	}
	
	body.responsive .carouselContainer .carouselTipoHome.owl-carousel .owl-prev {
		display: none;
	}*/
	
	body.responsive #noticiashome .ultimas_noticias.owl-carousel .owl-stage-outer {
		margin-right: -14px;
	}
}

/*----------  @media max-width 767px  ----------*/

@media (max-width: 767px) {

	#carouselcarbienvenidaIndicators.carousel.t0 .col.diapositiva{
		height: unset;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .capa1 {
		height: 100%;
	}
	
	.tabshome ul#myTab.owl-carousel .owl-item.active {
		padding-right: 0;
	}
	
	.container.cuerpo.noticias-eventos .row .tabshome ul#myTab.owl-carousel .owl-stage .owl-item {
		width: 100% !important;
	}
}

/*----------  @media max-width 620px  ----------*/

@media (max-width: 620px) {
	#avisos #avisoshome .ultimos_avisos .bannerfoto1 {
		height: 210px;
		width: 270px;
	}
	
	#avisos #avisoshome .ultimos_avisos .bannerfoto1 .vermas {
		right: 0;
	}
}

/*----------  @media max-width 576px  ----------*/

@media (max-width: 576px) {

	.bandalogos .logoci {
		padding-top: 0;
		/*padding-bottom: 0;*/
	}
	
	.container-migas {
		margin-top: -20px;
	}
	
	.sede-barra ul li a {
		width: 100%;
	}

	.container.bandalogos .logoci .pull-left {
		/*float: none;*/
		display: flex;
		padding-left: 0;
	}

	.container.bandalogos .logoci .pull-left > a {
		height: 100%;
		/*width: fit-content;*/
		display: block;
		/*margin: 0 auto;*/
	}
	
	.logoci img.img-responsive {
		height: 50px;
		width: 100%;
		object-fit: contain;
		position: relative;
		box-sizing: border-box;
	}

	

	#bienvenida2 h3 {
		font-size: 2em;
	}

	.cuerpo1 .container {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.cuerpo1 .container .row .container-carousel {
		height: 100%;
	}

	.carousel-inner {
		margin: 0 auto;
	}

	.cuerpo1, #carouselbienvenida, #carouselcarbienvenidaIndicators {
		height: 100%;
	}

	#carouselcarbienvenidaIndicators.carousel {
		margin-top: 0;
	}

	#carouselcarbienvenidaIndicators.carousel .linea1{
		padding-top: 15px;
		padding-bottom: 0px;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .col.diapositiva{
		height: unset;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .capa1 {
		margin: 0;
		padding: 0;
		height: 100%;
	}

	#carouselcarbienvenidaIndicators.carousel.t0 .capa2 > div:nth-child(2){
		padding-left: 35px;
		margin-top: -10px;
	}

	#carouselcarbienvenidaIndicators .carousel-inner {
		height: 313.5px;
	}
	
	#carouselcarbienvenidaIndicators .carousel-inner .carousel-item {
		margin-right: -80%;
	}

	#carouselcarbienvenidaIndicators .carousel-item {
		height: 100%;
	}

	#carouselcarbienvenidaIndicators.carousel .cpagc, #carouselcarbienvenidaIndicators.carousel .cpagc2  {
		display: none;
	}

	#carouselcarbienvenidaIndicators .carousel-item .diapositiva {
		padding-left: 0px;
		padding-right: 0px;
	}

	.cuerpoflex .cuerposobreoepm #vertodosobreoepm .vertodo {
		width: 100%;
	}

	.cuerpoflex .cuerpopreguntasfrecuentes #preguntasfrecuentes .pfrecuente > div:nth-child(1) {
		display: flex;
		flex-direction: column;
		padding-left: 0px;
 		padding-right: 0px;
	}

	.cuerpoflex .cuerpopreguntasfrecuentes #preguntasfrecuentes .pfrecuente .vermas {
		width: 100%;
	}
	
	/* INICIO CARRUSEL NOTICIAS DESTACADAS */

	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 {
		height: 510px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .col.diapositiva {
		height: 100%;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .diapositiva > .row {
		flex-direction: column-reverse;
		align-items: center;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .diapositiva > .row :is(.texto, .foto){
		padding: 0 15px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .diapositiva > .row .texto {
		padding: 3.5%;
		max-width: 100%;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .diapositiva > .row .foto {
		padding-top: 20px;
		max-width: 100%;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .row.linea1 .diapositiva > .row .texto h3{
		font-size: 1.563em;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-next {
  		right: 5px;
	}
	
	#carouselnoticiasdestacadasIndicators.carousel .carousel-control-prev {
		left: 5px;
	}
	
	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-item .texto .vermas {
  		bottom: 0;
	}
	
	/* FIN CARRUSEL NOTICIAS DESTACADAS */
	
	:is(#eventoshome, #agendadhome) .vertodo {
		width: 100%;
	}
	
	#avisos #avisoshome .ultimos_avisos .bannerfoto1 .vermas{
		padding-bottom: 0;
	}
	
	#avisos #avisoshome .ultimos_avisos .bannerfoto1 .vermas a {
		font-size: 14px;
	}
	
	#avisos #avisoshome .ultimos_avisos .aviso_item {
		height: 210px;
		width: 270px;
	}
	
	#notasprensa #notashome .notas_prensa  .prensa_item {
		width: 270px;
		height: 254px;
	}
	
	#notasprensa #notashome .notas_prensa  .prensa_item .bannerfoto1 .vermas {
		right: 10px;
		bottom: 0;
	}
	
	:is(#avisos #avisoshome .ultimos_avisos, #notasprensa #notashome .notas_prensa).owl-carousel {
		width: inherit;
		padding-top: 0;
		padding-bottom: 25px;
	}
	
	:is(#avisos #avisoshome .ultimos_avisos, #notasprensa #notashome .notas_prensa) .owl-stage {
		display: flex;
	}
	
	.cuerpoinf2 .infopie .pie-links {
		flex-direction: column;
	}
	
	.cuerpoinf2 .infopie .pie-links .colpie {
		margin-top: 15px;
	}
	
	.row.cuerpoinf2.plinks {
		padding-top: 25px;
	}
	
	.infopie .alinamento-listado .colpie:not(:nth-child(1)) {
		padding-top: 15px;
	}
	
	#vigilancia > div {
		margin-bottom: 25px;
	}
	
	body.responsive .accordion .card {
		margin-top: 16px;
	}
}

@media (max-width: 575.98px) {
	.cuerpoflex > .cuerpo #carouselnoticiasdestacadasIndicators .carousel-item .texto .vermas {
		left: 0;
		bottom: 10px;
	}
}


/*----------  @media max-width 385px  ----------*/

@media (max-width: 385px) {
	.container.megamenu {
		margin-left: 16px;
	}
	.home-link {
		margin-left: 16px;
	}
	.logoci img.img-responsive {
		height: 45px;
		width: 100%;
		object-fit: contain;
		position: relative;
	}
}