@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
	   only screen and (min--moz-device-pixel-ratio: 1.5),
	   only screen and (min-device-pixel-ratio: 1.5){
}





/* RESPONSIVE HORIZONTAL */




/* ----------------------------------------------------------------------*/

/* 1460
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 1460px){
	
	
	/* #root */ 
	:root {


		/* medidas */
		--h-header              : 100px;
		--col-header-left       : 220px;

	} 



}







/* ----------------------------------------------------------------------*/

/* 1370
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 1370px){


	:root {

		/* medidas */
		--container-md: 1280px;
		--w-sidebar   : 300px;

	}



	.sec--slide h1 {
		font-size  : var(--display-3) !Important;
	}

	.sec--contador .counter {
		font-size  : 4.6rem !important;
	}


}







/* ----------------------------------------------------------------------*/

/* 1280
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 1280px){


	/* #root */ 
	:root {



		/* size */
		--size           : .938rem; /* 15px */
		--display        : 1.25;

		/* medidas */
		--h-header       : 100px;
		--col-header-left: 180px;

	}


	/* #btn's */
	.btn--menu {
		display: block;
	}

	.btn--logout {
		margin-left: 0;
		transform  : translateY(2px);
	}


	/* #logo */

		/* Header */
		.logo--header img {
			max-width: var(--col-header-left-scroll);
		}

		/* Footer */
		.footer--top .col--widget-1 .widget_media_image img {
			max-height: 80px;
		}


	/* #menu */
	
		/* Header */
		.cont--header .cont--menu {
			display   : none;
			visibility: hidden;
		}

		/* Mobile */
		.cont--menu.mobile {
			top   : var(--h-header-scroll);
			height: calc(100% - var(--h-header-scroll));
		}

			/* sub menu */
			.cont--menu.mobile .sub-menu {
				position: relative;
			}

			.cont--menu.mobile ul li.menu-item-has-children:hover a + .sub-menu {
				display: none;
			}

		/* Idioma */
		.header--top .cont--menu.idioma {
			display: none;
		}


	/* #buscador */
	.visible--buscador .cont--buscador {
		top   : var(--h-header-scroll);
		height: calc(100vh - var(--h-header-scroll));
	}




	/* #HEADER */
	.cont--header {
		height: var(--h-header-scroll);
	}

		.cont--header > [class*=container--] > .d--grid {
			grid-template-columns: var(--col-header-left-scroll) 1fr;
		}	

			.cont--header .col--right {
				flex-direction: inherit;
			}

				.cont--header .col--right > div {
					width: auto;
				}

				.cont--header .col--right .header--bottom,
				.cont--header.login .col--right .header--bottom {
					grid-template-columns: 40px 40px 40px;
				}




	/* #MAIN */
	.cont--main {
		padding-top: 0;
	}



		/* slide */
		.n2-ss-slider .cont--tx .n2-ss-layer.n2-ow:nth-of-type(1) > .n2-ss-layer-col {
			transform: translateX(25px);
		}

		.n2-ss-slider h2 {
			font-size: 200% !important;
		}
		.n2-ss-slider p {
			font-size: var(--size) !important;
		}



		/* #CONTENT */

		.content--template .col--right .d--grid.grid-4 {
			grid-template-columns: repeat(2, 1fr);
		}




	/* #FOOTER */



}






/* ----------------------------------------------------------------------*/

/* 1024
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 1024px){



	/* #root */ 
	:root {


		/* medidas */
		--w-sidebar : 200px;

	}



	.d--grid.grid-1 {
		grid-template-columns: repeat(6, 1fr);
	}
	.d--grid.grid-2 {
		grid-template-columns: repeat(6, 1fr);
	}
	.d--grid.grid-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.d--grid.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}
	.d--grid.grid-5 {
		grid-template-columns: repeat(2, 1fr);
	}
	.d--grid.grid-6 {
		grid-template-columns: repeat(2, 1fr);
	}



	/* #slide smart 3 */
	.n2-ss-slider .n2-ss-slide {
		height      : auto !important;
		aspect-ratio: 16 / 7 !important;
	}



	.sec--slide h1 {
		font-size  : var(--display-3) !Important;
	}

	.sec--contador .counter {
		font-size  : 4rem !important;
	}



	.search .content--template .col--full .d--grid.grid-4 {
		grid-template-columns: repeat(2, 1fr);
	}

	
	
	/* #cabezal */
	.cont--cabezal img, .cont--cabezal figure {
		background-attachment: inherit
	}


}






/* ----------------------------------------------------------------------*/

/* 960
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 960px){




	/* #MAIN */


		/* #slide smart 3 */
		.cont--slide.inicio.desktop {
			display: none;
		}
		.cont--slide.inicio.mobile {
			display: block;
		}
		.n2-ss-slider .n2-ss-slide {
			height      : auto !important;
			aspect-ratio: 4 / 3 !important;
		}

			.n2-ss-slider .n2-ss-layer-row-inner {
				display: block !important
			}

			.n2-ss-slider .n2-ss-layer-row-inner > div {
				width    : 100% !important;
				max-width: inherit;
			}




		/* #content */
		[data-template="content"] > .container--md > .d--flex {
			flex-wrap     : wrap;
			flex-direction: column;
		}

			[data-template="content"] .col--right {
				width        : 100%;
				margin-bottom: var(--espacio-40);
			}



	/* #FOOTER */
	.footer--top > .container--md > .d--grid {
		grid-template-columns: 1fr;
	}

		.footer--top > .container--md > .d--grid > div {
			margin-bottom: 30px;
		}	






	.sec--webs .col {
		margin-bottom: 30px;
	}




}





/* ----------------------------------------------------------------------*/

/* 768
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 768px){


	/* #root */
	:root {

		--padding-container: 30px;
		--w-sidebar        : 100%;

	}

	.d--grid.grid-1 {
		grid-template-columns: repeat(3, 1fr);
	}
	.d--grid.grid-2 {
		grid-template-columns: 1f;
	}
	.d--grid.grid-3 {
		grid-template-columns: 1fr;
	}
	.d--grid.grid-4 {
		grid-template-columns:1fr;
	}
	.d--grid.grid-5 {
		grid-template-columns: 1fr;
	}
	.d--grid.grid-6 {
		grid-template-columns: repeat(2, 1fr);
	}


	/* #table */
	table {
		width: 100% !important;
	}


	/* #breadcrumbs */
	.cont--breadcrumbs > .container--md {
		align-items: baseline;
	}


	/* #content's */
	.content--template .d--flex {
		flex-direction: column;
	}

		.content--template .col--left {
			width: 100%;
		}
		.content--template .col--right {
			width        : 100%;
			padding-left : 0;
			padding-right: 0;
			margin-bottom: 60px;
		}


		body.sidebar .content--template [class*=container--] .col--right {
			width: 100%;
		}
		body.sidebar .content--template [class*=container--] .col--left {
			width: 100%;
		}




	/* #FOOTER */
	.footer--top > [class*=container--] .d--flex {
		flex-direction: column;
	}

		.footer--top > [class*=container--] .d--flex .col {
			width        : 100%;
			margin-bottom: calc(var(--gap) / 2);
		}

		.footer--top > [class*=container--] .d--flex .col .widget_media_image {
			margin-bottom: 30px;
		}







	/* -------------------------------------------

	#CUSTOM

	------------------------------------------- */


	/* #INICIO */

	/* Intro */


	/* Blog */
	.sec--noticias .blog .d--grid {
		grid-template-columns: 1fr;
	}





}






/* ----------------------------------------------------------------------*/

/* 640
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 640px){



	:root {

		/* #size */
		--size : .95rem;


		/*#btn */
		--h-btn: 40px;
	}




	.sec--destacado p {
		font-size: var(--size-5);
	}

}





/* ----------------------------------------------------------------------*/

/* 500
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 500px){



	/* #cabezal */
	.cont--cabezal h1 {
		font-size: var(--display-2);
	}


	/* #slide smart 3 */
	.n2-ss-slider .n2-ss-slide {
		aspect-ratio: 1 / 1 !important;
	}

		.n2-ss-slider .cont--tx .n2-ss-layer.n2-ow:nth-of-type(1) > .n2-ss-layer-col {
			transform: translateX(0);
		}

		.n2-ss-slider h2 {
			font-size  : 160% !important;
			line-height: 1.25 !Important;
		}


	/* #idioma */
	.cont--idioma * {
		font-size: .9rem;
	}

	/* #address */
	.cont--redes i, 
	.cont--redes .dashicons {
		font-size: 36px;
	}



	/* #MAIN */

		/* #content */
		.content--template .col--right .d--grid.grid-4 {
			grid-template-columns: 1fr;
		}


	/* #FOOTER */

	.footer--top #media_image-2 img {
		height: 50px;
	}


}






/* ----------------------------------------------------------------------*/

/* 420
 
-------------------------------------------------------------------------*/
@media screen and (max-width: 420px){



	/* #slide smart */
	.n2-ss-slider .n2-ss-slide {
		aspect-ratio: 1 / 1.35 !important;
	}

		.sec--slide h1 {
			font-size: var(--display-4) !Important;
		}



	/* #breadcrumbs */
	.cont--breadcrumbs *,
	.cont--breadcrumbs a {
		font-size: .8rem;
	}




	/* #tit */
	.cont--tit, 
	.vc_custom_heading {
		grid-template-columns: 1fr;
	}
		.cont--tit:before, 
		.vc_custom_heading:before {
			display: none;
		}


	h2.cont--tit,
	h2.vc_custom_heading {
		display: grid !important;
		grid-template-columns: 1fr;
	}

		h2.cont--tit:before, 
		h2.vc_custom_heading:before {
			display      : block !important;
			margin-bottom: 3px;
		}



	/* slide entradas */
	.cont--slide.noticias .flex-caption {
		padding-bottom: 40px;
	}



	/* #menu */

		/* Mobile */
		.cont--menu.mobile ul li a {
			padding        : 10px 0 10px 20px;
		}





}









/* RESPONSIVE VERTICAL (si es necesario) */


/* # 700 */
@media screen and (max-device-height: 700px) {  


}
