@media only screen and (max-width: 1023px) {
	/*body.node-type-article,
	body.page-noticias,
	body.page-taxonomy-term
	{
		background: hsl(0,75%,90%);
	}*/

	/*Layout general*/
	body.page-noticias #contenedor_header,
	body.node-type-article #contenedor_header,
	body.page-taxonomy-term #contenedor_header{
		width: 100%;
	}
	body.page-noticias #header,
	body.page-noticias #container,
	body.page-noticias #footer,
	body.page-noticias #footer_bajo,

	body.node-type-article #header,
	body.node-type-article #container,
	body.node-type-article #footer,
	body.node-type-article #footer_bajo,

	body.page-taxonomy-term #header,
	body.page-taxonomy-term #container,
	body.page-taxonomy-term #footer,
	body.page-taxonomy-term #footer_bajo
	{
		width: 740px;
	}
	body.page-noticias #sidebar-second,
	body.node-type-article #sidebar-second,
	body.page-taxonomy-term #ambitos-accion .panel-col-last
	{
		display: none;
	}
	body.page-taxonomy-term #main{width: 510px;}
	/*Header*/
	body.page-noticias #block-block-147 ul li a,
	body.node-type-article #block-block-147 ul li a,
	body.page-taxonomy-term #block-block-147 ul li a
	{
		padding: 6px 5px;
	}
	/*Arreglo mega menu*
	.tb-megamenu .nav-collapse{
		position: relative;
	}
	.tb-megamenu .nav-collapse.collapse{
		height: auto !important;
		overflow: visible !important;
	}
	.tb-megamenu .nav-collapse .nav > li{float: left;}
	.tb-megamenu .nav-collapse .nav{margin: 0 0 10px;}
	/*Fin Arreglo mega menu*/

	body.page-noticias .tb-megamenu .nav,
	body.node-type-article .tb-megamenu .nav,
	body.page-taxonomy-term .tb-megamenu .nav{padding-left: 0;}
	body.page-noticias .tb-megamenu .nav > li > a,
	body.node-type-article .tb-megamenu .nav > li > a,
	body.page-taxonomy-term .tb-megamenu .nav > li > a{padding: 3px; border-right: 1px solid #ccc;}

	body.page-noticias .tb-megamenu .nav > li:first-child a,
	body.node-type-article .tb-megamenu .nav > li:first-child a,
	body.page-taxonomy-term .tb-megamenu .nav > li:first-child a{border: 0;}
	
	body.page-noticias .tb-megamenu .dropdown-menu,
	body.node-type-article .tb-megamenu .dropdown-menu,
	body.page-taxonomy-term .tb-megamenu .dropdown-menu{top: 45px;}

	body.page-noticias .tb-megamenu .dropdown-submenu > .dropdown-menu
	body.node-type-article .tb-megamenu .dropdown-submenu > .dropdown-menu
	body.page-taxonomy-term .tb-megamenu .dropdown-submenu > .dropdown-menu{top: 6px;}

	body.page-noticias .tb-megamenu .level-1 > .mega-dropdown-menu,
	body.node-type-article .tb-megamenu .level-1 > .mega-dropdown-menu,
	body.page-taxonomy-term .tb-megamenu .level-1 > .mega-dropdown-menu{min-width: 740px;}

	body.page-noticias .mega-dropdown-inner,
	body.node-type-article .mega-dropdown-inner,
	body.page-taxonomy-term .mega-dropdown-inner{width: 235px;}

	body.page-noticias .tb-megamenu .dropdown-submenu > .dropdown-menu,
	body.node-type-article .tb-megamenu .dropdown-submenu > .dropdown-menu,
	body.page-taxonomy-term .tb-megamenu .dropdown-submenu > .dropdown-menu{left: 235px;}

	body.page-noticias .tb-megamenu .dropdown-submenu > .dropdown-menu .dropdown-menu > .mega-dropdown-inner,
	body.node-type-article .tb-megamenu .dropdown-submenu > .dropdown-menu .dropdown-menu > .mega-dropdown-inner,
	body.page-taxonomy-term .tb-megamenu .dropdown-submenu > .dropdown-menu .dropdown-menu > .mega-dropdown-inner{width: 267px;}
	
	/*Contenido*/
	.pane-block-9 ul li a{font-size: 10px;}
}

@media only screen and (max-width:767px) {
	/*body.node-type-article,
	body.page-noticias,
	body.page-taxonomy-term{
		background: hsl(60,75%,90%);
	}*/
	body.page-noticias #header,
	body.page-noticias #container,
	body.page-noticias #footer,
	body.page-noticias #footer_bajo,
	body.page-noticias.two-sidebars #main,

	body.node-type-article #header,
	body.node-type-article #container,
	body.node-type-article #footer,
	body.node-type-article #footer_bajo,
	body.node-type-article.two-sidebars #main,

	body.page-taxonomy-term #header,
	body.page-taxonomy-term #container,
	body.page-taxonomy-term #footer,
	body.page-taxonomy-term #footer_bajo,
	body.page-taxonomy-term.two-sidebars #main{
		width: 560px;
	}
	body.page-taxonomy-term #main{width: 330px;}
	body.two-sidebars #main{
		margin: 0 auto
	}
	body.two-sidebars #sidebar-first{display: none;}

	/*Header*/
	#contenedor_header{
		background-position: center 23px;
	}

	.front #contenedor_header,
	.node-type-contenido-general #contenedor_header,
	.page-guia-de-tramites #contenedor_header,
	.node-type-gu-a-de-tr-mites #contenedor_header,
	.page-sistemas-en-linea #contenedor_header,
	.page-galerias-imagenes #contenedor_header,
	.page-videos #contenedor_header,
	.node-type-video #contenedor_header,
	.node-type-album #contenedor_header,
	.page-centros-de-documentacion #contenedor_header,
	.node-type-eventos #contenedor_header,
	.page-agenda #contenedor_header{
		min-width: 990px;
		/*min-height: 335px;*/
		width: 100%;
	}

	#header{padding-top: 23px;}
	#header #logo img{width: 125px; height: auto;}
	#block-block-147{padding-left: 125px;}
	#block-block-148{top: 30px; right: 5px;}
	body.page-noticias #block-block-147 ul li a, 
	body.node-type-article #block-block-147 ul li a,
	body.page-taxonomy-term #block-block-147 ul li a{padding: 3px 4px;}
	#block-block-11 .box_fono .t_dos{display: none;}
	#block-block-11 .box_fono p,
	#block-block-11 .box_fono ul{padding: 5px 10px; background: none !important;}
	#block-block-11 .box_fono ul li{margin-bottom: 2px;}
	#block-block-136{margin-bottom: 50px;}

	#header h1#site-name{font-size: 30px;}

	/*apaga mega menu y prende responsivo*/
	body.node-type-article .block-tb-megamenu,
	body.page-noticias .block-tb-megamenu,
	body.page-taxonomy-term .block-tb-megamenu{display: none;}
	
	body.node-type-article #block-block-149,
	body.page-noticias #block-block-149 ,
	body.page-taxonomy-term #block-block-149 {display: block;}
	.slide-menu{
		background: #ededed url(images/menu-hamburger.png) no-repeat 10px center;
		cursor: pointer;
		padding: 10px 0 10px 42px;
		text-transform: uppercase;
	}
	.slide-menu p{margin: 0;}

	/*Contenido*/
	.print_mail, 
	.print_html{display: none;}

	.contenedor-noticias .views-field-field-fecha-noticias, 
	.contenedor-noticias .views-field-body, 
	.contenedor-noticias .views-field-title{
		width: auto !important;
		float: none;
	}
	body.page-taxonomy-term #ambitos-accion .panel-col-first{width: 330px;}
	body.page-taxonomy-term #ambitos-accion .panel-col-first .inside{margin: 0;}

	.pane-block-9 ul li{display: none; width: 50%;}
	.pane-block-9 ul li:first-child{display: block}

	body.node-type-article #ambitos-accion .panel-col-first img,
	body.page-noticias #ambitos-accion .panel-col-first img,
	body.page-taxonomy-term #ambitos-accion .panel-col-first img{width: 100% !important; height: auto !important;}
}

@media only screen and (max-width:560px) {
	/*body.node-type-article,
	body.page-noticias,
	body.page-taxonomy-term{
		background: hsl(210,75%,90%);
	}*/
	body.page-noticias #header,
	body.page-noticias #container,
	body.page-noticias #footer,
	body.page-noticias #footer_bajo,
	body.page-noticias.two-sidebars #main,

	body.node-type-article #header,
	body.node-type-article #container,
	body.node-type-article #footer,
	body.node-type-article #footer_bajo,
	body.node-type-article.two-sidebars #main,

	body.page-taxonomy-term #header,
	body.page-taxonomy-term #container,
	body.page-taxonomy-term #footer,
	body.page-taxonomy-term #footer_bajo,
	body.page-taxonomy-term.two-sidebars #main,
	body.page-taxonomy-term #main,
	body.page-taxonomy-term #ambitos-accion .panel-col-first{
		width: 320px;
	}
	body.node-type-article #inside-main,
	body.page-noticias.two-sidebars #inside-main,
	body.node-type-article.two-sidebars #inside-main{
		padding: 0 10px;
	}

	body.page-taxonomy-term #sidebar-first{display: none;}

	/*Header*/
	#contenedor_header{background-position: center 0;}
	#header h1#site-name{font-size: 19px;}
	#header .region-header{width: 195px; position: relative; top: -23px;}
	#block-block-147{display: none;}
	#block-block-136{margin-bottom: 10px; display: none;}
	#block-block-11{background: transparent;}
	#block-block-11 .content a{color: #5a5a5a}
	#block-block-11 .box_fono .t_uno,
	#block-block-11 .box_fono ul{display: none;}
	#block-block-11 .box_fono .t_tres{
		color: #5a5a5a;
		margin-bottom: 35px; 
		margin-top: -23px; 
		padding-bottom: 0;
		padding-top: 0;
		text-align: right;
		background: rgba(0,0,0,0.3);
	}
	#block-block-11 .box_fono .t_tres a{
		color: #fff;
	}

	/*Footer*/
	body.node-type-article #footer,
	body.page-taxonomy-term #footer,
	body.page-noticias #footer{padding-top: 15px;}
	body.node-type-article #footer .region-footer .block,
	body.page-taxonomy-term #footer .region-footer .block,
	body.page-noticias #footer .region-footer .block{
		width: 50%;
	}
	body.node-type-article #cont_footer .content,
body.page-taxonomy-term #cont_footer .content,
body.page-noticias #cont_footer .content{min-height: 165px;}
	body.node-type-article #cont_footer .content ul li,
body.page-taxonomy-term #cont_footer .content ul li,
body.page-noticias #cont_footer .content ul li{margin-bottom: 10px;}
	body.node-type-article #cont_footer .content ul li a,
body.page-taxonomy-term #cont_footer .content ul li a,
body.page-noticias #cont_footer .content ul li a{padding: 5px 0;}
	body.node-type-article #block-block-150 .content,
body.page-taxonomy-term #block-block-150 .content,
body.page-noticias #block-block-150 .content, 
	body.node-type-article #block-block-150 h2.block-title,
body.page-taxonomy-term #block-block-150 h2.block-title,
body.page-noticias #block-block-150 h2.block-title{
		padding-left: 15px;
	}
	body.node-type-article #cont_footer .content,
body.page-taxonomy-term #cont_footer .content,
body.page-noticias #cont_footer .content, 
	body.node-type-article #cont_footer h2.block-title,
body.page-taxonomy-term #cont_footer h2.block-title,
body.page-noticias #cont_footer h2.block-title{
		border: 0;
	}
	body.node-type-article .region-footer-bajo .block .content,
body.page-taxonomy-term .region-footer-bajo .block .content,
body.page-noticias .region-footer-bajo .block .content{
		padding: 5px 15px;
	}

	/*Contenido*/
	body.node-type-article .item-list .pager li,
body.page-taxonomy-term .item-list .pager li,
body.page-noticias .item-list .pager li{
		display: inline-block;
		margin-bottom: 4px;

		zoom: 1;
        *display: inline;
	}
	body.node-type-article .field-item img,
body.page-taxonomy-term .field-item img,
body.page-noticias .field-item img{float: none;}
 
}