ul#menu-main-nav drop{
	z-index:99999999 !important;
	display:none !important;
}


@media screen and (min-device-width: 300px) and (max-width: 767px) {

.por-dcha, .por-izda, .por-todo, .pf-izda, .pf-centro {
	width:100% !important;
	min-width:100%;
}

.pf-izda {
	max-width: 100%;
	margin-right: 0%;
}
.pf-centro {
	clear:both !important;
	max-width:100% !important;
}
#sub_nav {
	width: 100% !important;
}

.por-izda {
	float:none;
	width:100% !important;
}
.por-dcha, .por-izda {
	float:none;
	width:90% !important;
	margin-left:auto;margin-right:auto;
	overflow:hidden;
}

/* Header */
#header .header-area {
  width: auto;
  padding: 0px 15px 15px !important;
}

/* Portada */
#portada ul.accesos, #portada ul.accesocentros, #portada ul.congresosportada, #portada ul.coib, #portada .fotonoticia {
	width:100% !important;
	overflow:hidden !important;
}
#portada ul.accesos li, #portada ul.accesocentros li {
	width:100% !important;
	margin:5px auto !important;
}

#portada .flexslider .slide_text {
	width:300px !important;
	margin:auto;
	-moz-border-radius: 15px; border-radius: 0px 15px 0px 0px;
}

#portada ol.flex-control-nav, #portada ol.flex-control-nav li{
	width:100% !important;
}

#portada ol.flex-control-nav li img {
	width:25%;
}

#menu-main-nav .drop {
	z-index: 999999;
}

/* Menu desplegable superior */


#truethemes-styling-preview,
#truethemes-styling-preview #container {
	display: none !important;
} 

.por-dcha, .por-izda, .por-todo{
	width:100% !important;
}


ul.accesosrapidos li{
	width:100% !important;
	float:left;
} 
.footer-content {
	display:none;
}

#header .header-area {
	width: auto;
	padding: 0px 15px 15px;
}

#menu-main-nav {
	display:block !important;
}


#sub_nav, .nav_right_sub_nav {
	width: 100%;
	margin: 0 auto 20px auto;
}

.fotonoticia {
	width:auto !important;
	background:none !important;
}
.fotonoticia .imagen, .fotonoticia .texto {
	clear:both;
	float:none;
	width:100% !important;
	text-align:center;
	font-size:0.8em;
}

#portada ul.accesocentros {
	width:auto;
	margin:20px 0px;
}

#portada ul.accesocentros li {
	margin:0px 5px;
	width:120px;
	font-size:0.95em;
}

.fotoframe_pequena {
	width: 90px;
	height:70px;
	background: none;
}
.fotoframe_pequena img {
	padding:0px;
}
#detallenoticia {
	display:none;
}

}


@media screen and (min-device-width: 768px) and (max-width: 1023px) {
#header .header-area {
	width: auto;
	padding: 0px 15px 15px;
}
.por-dcha, .por-izda, .por-todo, ul.accesosrapidos {
	width:100% !important;
	min-width:100%;
}
.pf-izda {
	width:30% !important;
	float:left !important;
}

.pf-centro {
	width:65% !important;
	float:right !important;
}

#sub_nav {
	width: 100%;
}

#portada ul.accesos, #portada ul.accesosrapidos, #portada ul.accesocentros, #portada ul.congresosportada, #portada ul.coib, #portada .fotonoticia {
	width:100% !important;
	overflow:hidden !important;
}
#portada ul.accesos li, #portada ul.accesosrapidos li, #portada ul.accesocentros li {
	width:100% !important;
	margin:5px auto !important;
}

#portada .flexslider .slide_text {
	width:300px !important;
	margin:auto;
	-moz-border-radius: 15px; border-radius: 0px 15px 0px 0px;
}

.footer-overlay {
	display:none;
}

}

@media screen and (min-device-width: 100px) and (max-width: 640px) {
/* Menu desplegable superior */

#portada .flexslider .slide_text {
	width:280px !important;
}
#tt-mobile-menu-button span:after, .tt-icon-box span.fa-stack {
  display:none;
}

#tt-mobile-menu-button {
	color:#1B1B1B;
	font-size:0px;
	padding-bottom:5px;
}

#tt-mobile-menu-list ul li {
	overflow:hidden;
}

#tt-mobile-menu-list ul li br {
    content: '<|' !important;
}

#tt-mobile-menu-list ul li br:after {
    content: ' ' !important;
}

}

@media screen and (min-device-width: 641px) and (max-width: 767px) {
#tt-mobile-menu-button {
  display:none;
}
}

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

#sub_nav {
	width: 100%;
}
}

#truethemes-styling-preview {
	width: 280px;
	position: absolute;
	right: 0;
	top: 20px;
	z-index: 1000;
	display: block;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
}

#container {
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	box-shadow: 0 2px 9px 2px rgba(0,0,0,0.20);
	display: hidden;
	background: #fff;
}

.style-title {
	color: #FFF;
	font-size: 15px;
	height: 44px;
	line-height: 44px;
	text-align: center;
	border-bottom: 1px solid rgba(23,24,26,0.15);
	background-image: linear-gradient(to bottom, #555555, #333333);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#555555', endColorstr='#333333');
}

#truethemes-styling-preview p {
	margin-bottom: 10px;
}

.style-info {
	font-size: 12px;
	padding: 5px 15px;
}

.style-switch-section-title {
	color: #000;
	font-size: 15px;
	line-height: 44px;
	text-align: center;
}

.style-switch-section {
	padding: 15px 0;
	border-top: 1px solid rgba(23,24,26,0.08);
	background-image: linear-gradient(to bottom, #F7F4F4, #FFFFFF);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#F7F4F4', endColorstr='#FFFFFF');
}

.option-title {
	font-size: 12px;
	height: auto;
	line-height: 18px;
	padding: 12px 0;
	text-align: center;
	border-bottom: 1px solid rgba(23,24,26,0.15);
}

#truethemes-styling-preview .images {
	width: 235px;
	padding-left: 25px;
	position: relative;
	z-index: 1000000;
}

#truethemes-styling-preview .images img {
	width: 25px;
	height: 24px;
	margin: 0 7px 7px 0;
	z-index: 1000;
}

#truethemes-styling-preview .images img.active {
	border: 0 solid #ccc;
	opacity: 0.5;
}

.style-switch-input {
	padding-left: 80px;
	margin-top: -5px;
	margin-bottom: 10px;
}

.style-switch-input select {
	width: 120px;
}

#truethemes-styling-preview .toggle-button {
	width: 35px;
	height: 43px;
	background: url(images/toggle-button.png);
	cursor: pointer;
}

#truethemes-styling-preview .close {
	background-position: top left;
	position: absolute;
	top: 45px;
	right: 0px;
	width: 35px;
}

#truethemes-styling-preview .open {
	background-position: bottom left;;
	position: absolute;
	top: 45px;
	right: 0;
	width: 35px;
}

#truethemes-styling-preview .open i.fa-cog {
	color:#ffffff;
	font-size:18px;
	left:6px;
	position:absolute;
	top: 12px;
}
