/*RewriteCond %{HTTPS} !=on
  RewriteCond %{HTTP_HOST} !^www\..+$ [NC]
  RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php

ErrorDocument 404 http://www2.lince-cerrajeria.com/es/
  */

body{width:100%;height:100%;margin:0;padding:0;font-family:'Open Sans',sans-serif;text-rendering:optimizeLegibility;text-align:center;/*background-color:rgb(208,242,237)*/} a{text-decoration:none;} area{outline:none;}
img{border:0;} #logo{width:115px;transition:all 1s;margin-top:-2px;} ::selection{background:rgba(192,0,0,.9);color:rgb(255,255,255);} ::-moz-selection{background:rgba(192,0,0,.9);color:rgb(255,255,255);}

nav{width:100%;position:fixed;top:0;left:0;right:0;/*background-color:rgba(255,255,255,0.6);*/z-index:200;/*padding-top:4px;*/font-family:'Montserrat',sans-serif;}
/*#alogo{position:fixed;padding-top:8px;left:0;right:0;width:200px;display:inline-block;margin:auto;z-index:99;} #separador:hover,#ulidiomas a:hover{border-bottom:0px solid transparent!important;}*/
#menu{display:none;float:right;cursor:pointer;transition:all 0.6s;position:fixed;top:17px;right:16px;}
#menuh{display:none;float:right;cursor:pointer;transition:all 0.6s;position:fixed;top:17px;right:16px;}
#logomovil{display:none;margin:4px auto -1px;cursor:pointer;width:115px;transition:all 1s;}

nav ul{list-style-type:none;padding:0;}
#ulnav{margin:0px; transition: background-color 1s;padding-bottom:6px;}
#ulnav li{display:inline-block;vertical-align:middle;margin:-13px 11px -5px 14px;} .ulnavli{transition:margin 0.7s;}
#lilogo{margin-top:0px!important;}
#alogo{position:relative;top:3px;padding:0px!important;width:115px;}
nav ul li a{display:inline-block;vertical-align:middle;color:white;font-size:.85em;/*border-bottom:10px solid transparent;*/padding:36px 0px 18px 0px; transition: color 0.7s;}
#ulnav li a:hover{color:red;/*border-bottom:10px solid rgba(126,222,212,0.96);*/} #ulnav #alogo:hover{/*border-bottom:10px solid transparent!important;*/}

#ulproductos{position:absolute;/*display:none;*/opacity:0;transition:opacity 1s;transition:z-index 1s; /*background-color:rgba(255,255,255,0.96);*/text-align:center;
	padding:0 18px 4px 18px;margin-left:-17px; margin-top:8px; z-index:-1;}

	#ulproductos li{display:block;margin:0px;} #ulproductos li a{padding:6px 0px;} #p1{margin-top:-33px;} #p2{margin-top:-15px;}
#liproductos:hover #ulproductos{/*display:block;*/opacity:1; z-index:99;}

/*#aproductos{cursor:default;}*/ #aproductos:hover{color:white!important;}

.lproductos, .lcontenido{ padding: 0 !important; margin: 0 !important;}
.lproductos{ display: flex; flex-flow: row wrap; justify-content: flex-start;}
.lproductos li{list-style: none; width: 50%;display: flex;flex-flow: row;  }
.lcontenido li{ list-style: none; border-left: 3px solid rgb(196,0,0); padding-left: 0.5em;}
.lproductos li .block{padding: 1em; width: 100%;  display: flex; flex-flow: row wrap;}
.lproductos li .img{width: 25%; text-align: center;}
.lproductos li .content{width: 75%;}
.lproductos li img{  margin-right: 1em; width: 90%;  max-width: 120px;max-height: 120px; padding-right: 1em;}
.lproductos li .tit, .lcontenido li .tit { width: 100%;}
.lproductos li .tit a, .lcontenido li .tit a{ color: rgb(196,0,0); font-weight: bold;}
.lproductos li .txt, .lcontenido li .txt{  }
.lproductos li p.tit { margin-top: 0;}

.listaimagenes ul li{ display: table-cell; vertical-align: middle; padding: 1em;}
.listaimagenes ul li .imgbox{ width: 200px; height: 200px; }
.listaimagenes ul li img{ max-width: 100%; max-height: 100%;  }
.listaimagenes ul li .imgbox.principal{ border: 2px solid black; }

.videoWrapper { position: relative; height: 0; overflow: hidden; padding-top: 0; padding-left: 0; padding-right: 0;  padding-bottom: 54%; }
.videoWrapper iframe {	position: absolute;	top: 0;	left: 0;	width: 100%;	height: 100%;}


.quitar{cursor:default;width:0px;}
#circulo-rojo{background:rgb(152,0,0); width:22px; height:23px; border-radius:23px;display:inline-block;vertical-align:middle;margin:-2px 4px 0 0;transition:background 0.7s;}
#circulo-rojo img{vertical-align:middle;margin-top:3px;}
#a6:hover #circulo-rojo{background:red;}

/*#liproductos:hover #aproductos,#liidiomas:hover #aidiomas{border-bottom:10px solid rgba(126,222,212,0.96);}*/
	/*#ulidiomas a,#ulproductos a{color:white!important;padding:8px 10px;border:0px;font-weight:600;}
	#ulidiomas a:hover,#ulproductos a:hover{border:0px!important;opacity:0.5;}*/
 /*.tempo a{opacity:0.8;} .tempo{padding-left:14px;}*/

/*#anavidad{padding:8px 10px 18px 10px!important;}*/

.liidiomas{margin:auto 5px!important} /*#liidioma2{padding-bottom:8px;}
#ulidiomas{position:absolute;display:none;background-color:rgba(126,222,212,0.96);} #ulidiomas li{display:block;} #ulidiomas a{padding:0px;}
#liidiomas:hover #ulidiomas{display:block;}*/
#separ{width:100%;height:160px;}
header{width:100%;min-height:160px;position:fixed;top:0;left:0;right:0;background-size:cover!important;}

#header-noticias{background:transparent url(../img/header-noticias.jpg) no-repeat top center;}


#blanco{position:relative;background:white;padding-top:55px;}

footer{width:100%;padding:0px;background-color:rgb(190,1,1);background-image:url(../img/footer-logo.png); background-repeat:no-repeat; background-position:top right;color:white;/*padding-bottom:28px;*/} footer a{color:white;}
#franja-footer{width:100%;height:25px;background:rgb(111,41,41);}
#cuadrado-footer-1{width:25px;height:25px;background:rgb(170,139,139);float:right;}
#cuadrado-footer-2{width:25px;height:25px;background:rgb(216,216,216);float:right;}

#cont-footer{width:100%;max-width:1180px;margin:auto;background-image:url(../img/footer-mapa.png); background-repeat:no-repeat; background-position:64px 12px}
	#logofooter{cursor:pointer;margin:15px 0 0px 0;width:120px;height:auto;}
	#cont-footer-izq{text-align:left;width:49%;display:inline-block;vertical-align:top;}
		#cont-footer-izq-txt{padding-left:7px;}
			#cont-footer-izq-txt h3{margin:0;font-size:0.9em;font-weight:600;}
			#cont-footer-izq-txt p{color:rgb(221,221,221) !important;font-size:0.85em;margin-bottom:0;font-weight:300;line-height:1.35em;}
	#cont-footer-izq-txt p strong{color:rgb(221,221,221) !important;}
	#cont-footer-dcha p strong{color:rgb(221,221,221) !important;}
	#cont-footer-dcha{text-align:right;width:49%;display:inline-block;vertical-align:top;}
.tal{text-align:left;margin-top:26px; float:right;width:323px;}
.tal h3{font-size:0.95em;font-weight:600;}
.tal p{margin:0px 0px 0px 10px;display:inline-block;vertical-align:bottom;font-size:0.85em;font-weight:300;}
#movil{width:24px;height:30px;background:transparent url(../img/footer-contacto.png) no-repeat top center;display:inline-block;vertical-align:top;position:relative;top:5px;}
#sobre{width:24px;height:30px;background:transparent url(../img/footer-contacto.png) no-repeat bottom center;display:inline-block;vertical-align:middle;margin-left:-26px;margin-top:-29px;}

#lineas-footer{max-width:1155px;margin:16px auto 0 auto;border-top:1px solid rgb(221,221,221);/*border-bottom:1px solid rgb(221,221,221);*/padding:10px 0;color:rgb(221,221,221);font-size:0.7em;font-weight:300;text-align:left;}
	#lineas-footer p{padding-left:10px;margin:0;vertical-align:top;width:49%;display:inline-block;color:rgb(221,221,221) !important;}
	#lineas-footer-a{text-align:right;vertical-align:top;width:49%;display:inline-block;}
	#lineas-footer a{color:rgb(221,221,221);margin:0 0 0 20px;}

#footer-noticias ul{ }
#footer-noticias ul li{list-style: none;display: inline;}
#footer-noticias ul li i{font-family: 'FontAwesome';  font-size: 2em; color: #BF0202; font-style:  normal;}

/*
	.buscador {  border-top: none;  height:40px; width:360px; }
 .buscador #submitbuscar{height:30px; width: 30px;}
 .buscador #buscar{width:0%; border: none; height:30px;}
 .buscador #submitbuscar:hover ~  #buscar{ width:86%; border: 1px solid #67666a; }
 .buscador #buscar:hover,  .buscador #buscar:focus{width:86%; border: 1px solid #67666a;}
*/

.busca{ position:relative; }
.buscador {  border-top: none;padding:0; margin:0; width: 100%;display: flex;justify-content: flex-end; position:absolute;
	width:300px; width: 45px;  left:-40px;top: -4px; padding-left: 5px;}
.buscador #buscar{  display:none; width: 270px;height: 24px; border: none;transition: all 0.3s ease 0s; padding: 0;margin: 0; position: absolute;
right: 14px;padding-right: 15px; transition: all 0.3s ease 0s; padding-left: 10px; }
.buscador #submitbuscar {width: 28px;border: none;bottom: 22px;color: #fff;font-family: "FontAwesome";height: 23px;float: right;
padding: 0;margin: 0;border-radius: 45px;position: relative;top: 0;z-index: 999; background-color: rgba(192,0,0,.9);}
/* background-color: rgba(192,0,0,.9); */

.buscador #buscar:focus + .buscador #submitbuscar{background-color: rgba(192,0,0,.9) !important;}


 .buscador:hover #submitbuscar:hover ~  #buscar{ display: block; }
  .buscador #buscar:hover,  .buscador #buscar:focus{display: block; }

@media only screen and (max-width:675px) {#lineas-footer{text-align:center;padding:15px 0;display:inline-block;}
	#lineas-footer p{width:95%;margin-bottom:18px;padding:0px;}
	#lineas-footer-a{width:100%;text-align:center;} #lineas-footer a{margin:0 10px 10px 10px;}
	#cont-footer-izq,#cont-footer-dcha,.tal{width:100%;max-width:235px;display:block;margin:auto;}
	#cont-footer-izq,#cont-footer-dcha{padding-left:10px;} .tal{float:none;}
	#cont-footer-izq{max-width:249px;margin-bottom:30px;}
	#cont-footer-dcha .tal p{margin:0px 0px 0px 39px!important;}
	#cont-footer-dcha .tal #sobre{margin:0px!important;position:relative!important;top:85px!important;left:-24px!important;}
	#cont-footer-dcha .tal #movil{top:35px!important;left:4px!important;}
	#cont-footer-dcha .tal h3{margin-bottom:0px;}

	.lproductos li .img{width: 100%;}
	.lproductos li .content{width: 100%;}
}

/* @media only screen and (max-width:1079px) {body{zoom:90%;}} */
/* *::-webkit-scrollbar { width: 0 !important } */
/* *{ -ms-overflow-style: none; } */
/* *{ overflow: -moz-scrollbars-none; } */

@media only screen and (max-width:1256px) {/*#separ{height:68px;}*/
#ulnav{display:none;width:100%;margin:auto;position:static;background:rgba(192,0,0,0.9)!important; }

.busca{ position:static; }
.buscador {  border-top: none;padding:0; margin:0; width: 100%;display: flex;justify-content: center; position:static;
	width:100%; left:-40px;top: -4px; padding-left: 5px;}
.buscador #buscar{ display: block;width: 270px;height: 24px; border: none;transition: all 0.3s ease 0s; padding: 0;margin: 0; position: static;
right: 14px;padding-right: 15px; transition: all 0.3s ease 0s;}
.buscador #submitbuscar {width: 28px;border: none;bottom: 22px;color: #fff;font-family: "FontAwesome";height: 24px;float: right;
padding: 0;margin: 0;border-radius: 45px;position: relative;top: 0;z-index: 999; right: 15px;}



#menu,#menuh,#logomovil{display:inline-block;} #lilogo{display:none!important;} #ulnav li{width:100%;margin:9px 0px!important;}
#ulnav li a,#ulproductos,#ulidiomas{text-align:center;margin:auto;padding:6px 0px!important;border:none;/*color:rgb(83,44,26)!important;opacity:1;*/} #ulidiomas a,#ulproductos a{/*font-weight:400!important;*/}
#alogo{margin-top:14px;} /*.tempo{padding-left:0px;}*/
#ulproductos,#ulidiomas{width:100%;} #liproductos:hover #ulproductos,#liidiomas:hover #ulidiomas{display:none;} #ulproductos{background:rgba(152,0,0,0.9)!important;}
#ulnav li a:hover,#liproductos:hover #aproductos,#liidiomas:hover #aidiomas{border:none!important;}
/*#blqredes{display:none;}*/
nav{/*border-bottom:1px solid rgb(83,44,26);overflow:scroll;/*background:rgba(215,215,215,0.95);*/}
#ulidiomas li{display:inline;margin:auto 6px!important;} #liidioma2{padding-bottom:0px;}
#cont-footer{background-image:none;}
li.quitar{height:0;}
#circulo-rojo{width:23px;}

.lproductos li{ width: 100%;}
}

@media only screen and (max-height:512px) { nav #ulnav li{margin:4px 0px!important;} nav #ulnav li a{padding:2px 4px!important;}  }

@media only screen and (max-height:402px) {#ulnav{overflow:scroll;height:200px;}  }
@media only screen and (max-height:302px) {#ulnav{height:100px;} }

/*
.custom_scroll::-webkit-scrollbar{width:0px; height:0px;}
.custom_scroll::-webkit-scrollbar-track{background-color:transparent; -webkit-border-radius:0px;}
.custom_scroll::-webkit-scrollbar-thumb:vertical{background-color:transparent; -webkit-border-radius:0px;}
.custom_scroll::-webkit-scrollbar-thumb:horizontal{background-color:transparent; -webkit-border-radius:0px;}
*/
textarea{border-color:#ccc;resize:vertical;width:60.5%;height:60px;vertical-align:middle;margin:5px 0 7px;outline-color:rgb(196,0,0);font-size:0.9rem;padding:10px 8px 0px 11px;font-family: 'Open Sans',sans-serif;}
#dcha-contacto input[type=submit]{margin-right:4px;}

.btn{color:white;padding:13px 20px;background-color:#ee3a3b;display:inline-block;} .btn:hover{background-color:rgb(196,0,0);}

/* NOTICIAS */
/*article img{width:100%!important;}*/
@media only screen and (max-width:482px) {article .btn-volver{margin-top:40px;}}
#slogan-contenido{margin:0px auto 60px;}
#slogan-contenido h1{color:rgb(196,0,0);font-size:3em;margin:18px 10px 0px 10px;line-height:1em;}
#slogan-contenido h2{color:#333333;font-size:1.8em;margin:4px 10px 25px 10px;}

.contenido{width:90%;max-width:900px;margin:auto;text-align:left!important;margin:0 auto 200px auto;overflow:auto;}
.contenido img{max-width:900px;margin:auto;} /*article img{width:100%;}*/
.contenido h2{color:rgb(196,0,0);font-size:2.1em;}
.contenido p{color:#333333;font-size:1.1em;font-weight:300;}
.contenido p strong{color:#333333;}
.contenido ul{padding-left:22px;}
.contenido ul li{color:#333333;font-size:1.1em;font-weight:300;}

.contenido.noticia img{max-width:40%; float: left;padding-right: 1em;}
.contenido.noticia article{ width: 100%; float: left;}
.contenido.dnoticia img{padding: 0.5em;}
.contenido.dnoticia .noti{width: 98%;}

.btn-volver{display:inline-block;background:#894a4a;color:white;font-weight:400;padding:12px 40px;float:right;}
.btn-volver:hover{opacity:0.8;}
.btn-noticia{display:inline-block;background:rgb(196,0,0);color:white;font-weight:400;padding:12px 40px;float:right;margin:30px auto 100px auto;}
.btn-noticia:hover{opacity:0.8;}

#paginacion{margin-bottom:100px;}
#anterior{display:inline-block;vertical-align:middle;font-size:.88em;font-weight:600;padding:6px 34px 6px 0px;color:white;background-color:#894a4a;}
#siguiente{display:inline-block;vertical-align:middle;font-size:.88em;font-weight:600;padding:6px 0px 6px 34px;color:white;background-color:#894a4a;}
#anterior:hover,#siguiente:hover,#volver:hover{opacity:0.8;}
#anterior:hover .rotara,#siguiente:hover .rotars{opacity:1;}
.rotara{width:33px;height:33px;display:inline-block;vertical-align:middle;background-color:#894a4a;transform:rotate(45deg);position:relative;left:-15px;border-radius:2px;}
.rotars{width:33px;height:33px;display:inline-block;vertical-align:middle;background-color:#894a4a;transform:rotate(45deg);position:relative;left:15px;border-radius:2px;}

/* CATALOGO */
#izq{display:inline-block;vertical-align:top;width:52.5%;margin-right:30px;}
#dcha{display:inline-block;vertical-align:top;text-align:left;margin-top:42px;}
#izq p{color:dimgray;font-weight:400;font-size:0.85em;line-height:1.25em;}
#izq a{color:rgb(196,0,0);text-decoration:underline;display:inline-block;font-size:0.85em;}
#dcha a{display:inline-block;}
#dcha .btn-catalogo{background-color:gray;padding:8px 9px 6px 10px;margin:2px;border-radius:3px;transition:background 0.7s;}
#dcha .btn-catalogo:hover{background-color:rgb(196,0,0);}
#dcha #img-btn-1{width:19px;height:26px;background:transparent url('../img/catalogo.png') no-repeat 0 0;margin:auto;display:inline-block;margin-right:8px;}
#dcha #img-btn-2{width:34px;height:26px;background:transparent url('../img/catalogo.png') no-repeat -21px 0;margin:auto;display:inline-block;margin-right:8px;}
#dcha #img-btn-3{width:27px;height:27px;background:transparent url('../img/catalogo.png') no-repeat -57px 0;margin:auto;display:inline-block;margin-right:8px;}
#dcha .txt1-btn{color:white;font-size:0.85em;margin:0;font-weight:700;display:inline-block;line-height:1.1em;}
#dcha .txt2-btn{color:white;font-size:0.7em;margin:0;font-weight:700;display:inline-block;}

#izq-menu{display:inline-block;vertical-align:top;width:100%;max-width:308px; margin-right:15px} #izq-menu h3 a{color:inherit;}
#dcha-menu{display:inline-block;vertical-align:top; width:69%; }
 #dcha-menu h1{color:rgb(196,0,0);margin-top:5px;margin-left:13px;margin-bottom:20px;font-size:1.3em;}
 #dcha-menu h1 span{color:dimgray;cursor:pointer;}


.producto{width:293px;height:100px;border:1px solid silver;border-radius:3px;margin:0px 15px 30px 15px;display:inline-table;padding:20px;}
.producto h2{font-size:1.1em;margin:0 0 4px 0;}
.producto p{font-size:0.8em;margin:0 0 10px 0;font-weight:400;line-height:1.25em;}
.producto a{background-color:rgb(196,0,0);color:white;display:inline-block;font-size:0.85em;padding:5px 15px;border-radius:3px;}
.producto a:hover{opacity:0.8;}
.producto img{width:auto;max-width:97px;}
.producto .izq, .producto .dcha{display:inline-table;vertical-align:middle;}
.producto .izq{width:113px;}
.producto .dcha{width:180px;}
#ficha{margin-left:15px;}

#dcha-menu .bx-wrapper{height:400px;border:1px solid silver;border-radius:3px;}
#dcha-menu .bx-viewport{height:400px!important;}
#ficha .bxslider img{width:auto;height:360px;margin:auto;}

#ficha #bx-pager{margin-bottom:30px;}
#ficha #bx-pager img{width:auto;height:80px;margin:auto;}
#ficha #bx-pager a{width:auto;min-width:93px;height:83px;display:inline-block;vertical-align:top;border:1px solid silver;border-radius:3px;padding:6px;margin:10px 0 0 0;}
#ficha #bx-pager a.active{border:1px solid dimgray;}
#ficha #bx-pager .separ{width:10px;height:100px;display:inline-block;margin-top:0px;}
.tac{text-align:center;}

#ficha h2{line-height:1em;margin:0 0 25px 0;}
#ficha h2 strong{color:#333333;font-size:0.8em;}
#ficha ul li{font-size:0.95em;font-weight:400;margin-bottom:15px;}
#ficha a{color:rgb(196,0,0);text-decoration:underline;font-size:0.95em;}
#ficha p{font-size:0.95em;font-weight:400;margin:0 0 20px 0;}
#ficha h3,#ficha h4,#ficha h5,#ficha h6{color:rgb(196,0,0);}
#ficha img{height:auto;width:auto;max-width:715px;margin:auto;display:block;}

@media only screen and (max-width:1083px){ .contenido1{margin:0 auto 35px auto!important;} .contenido1 #dcha{width:100%;margin-top:27px;} .contenido1 #izq{width:100%;margin:auto;} }

@media only screen and (max-width:1101px){ #dcha-menu{width:68%;} .producto{width:90%;margin:0px 0px 30px 15px;} .producto .dcha{width:82%;} }
@media only screen and (max-width:1067px){ #dcha-menu{width:67%;} .producto .dcha{width:81%;} }
@media only screen and (max-width:1035px){ #dcha-menu{width:66%;} .producto .dcha{width:80%;} }
@media only screen and (max-width:1005px){ #dcha-menu{width:65%;} .producto .dcha{width:79%;} }
@media only screen and (max-width:977px){ #dcha-menu{width:64%;} .producto .dcha{width:78%;} }
@media only screen and (max-width:950px){ #dcha-menu{width:63%;} .producto .dcha{width:77%;} #izq-menu{margin-right:11px;} }
@media only screen and (max-width:916px){ #dcha-menu{width:62%;} .producto .dcha{width:76%;} }
@media only screen and (max-width:896px){ #dcha-menu{width:61%;} .producto .dcha{width:75%;} }
@media only screen and (max-width:878px){ #dcha-menu{width:60%;} .producto .dcha{width:74%;} }
@media only screen and (max-width:860px){ #dcha-menu{width:58%;} .producto .dcha{width:73%;} }
@media only screen and (max-width:833px){ #dcha-menu{width:56%;} .producto .dcha{width:71%;} }
@media only screen and (max-width:805px){ #dcha-menu{width:53%;} .producto .dcha{width:68%;} }
@media only screen and (max-width:772px){ #dcha-menu{width:100%;margin-top:16px;} .producto .dcha{width:83%;} #izq-menu{margin-right:0px;width:100%;max-width:100%;} .producto{margin:0px 0px 30px 0px;width:96%;padding:20px 0px 20px 20px;} }
@media only screen and (max-width:721px){ .producto .dcha{width:80%;} }
@media only screen and (max-width:616px){ .producto .dcha{width:70%;} .producto{width:95%;} .contenido.noticia img{max-width:100%; float: left;padding-right: 0;}}
@media only screen and (max-width:434px){ .producto .dcha{width:60%;} .producto{width:93%;} #slogan2 h2{font-size:3em!important;} }
@media only screen and (max-width:415px){ #slogan2 #productos .p1{border:1px solid transparent!important;} }
@media only screen and (max-width:325px){ .producto .dcha{width:55%;} .producto{width:92%;} }
/* MENU */
/*.accordionx{width:100%;max-width:306px;position:relative;}*/

 .ficha{font-size:.9em;border:1px solid silver;border-radius:4px;color:#555555;font-weight:400;margin:3px 0;padding:7px 40px 6px 12px;transition:background 0s;position:relative;}
 .ficha:hover{background:rgb(196,0,0)!important;color:white!important;}
 .ficha span{position:absolute;right:0;top:0;padding: 16px 14px 16px 16px;font-size:1.5em;line-height:0;cursor:pointer;transition:transform 0.5s;} .ficha span:hover{font-weight:bold;}

 .indent{margin-left:11px;}
 .caja{border:1px solid silver;border-radius:0 0 4px 4px;margin-top:-5px;border-top:0px;padding:5px 0 4px 0;}
  .aizq{display:block;margin-left:15px;margin-right:12px;text-decoration:none;padding:5px 0;color:#555555;font-size:.9em;}
  .aizq:hover{color:rgb(196,0,0);}

 #cont1,#cont11,#cont12,#cont13,#cont14,#cont15,
 #cont2,#cont21,#cont22,#cont23,#cont24,#cont25,
 #cont3,#cont31,#cont32,#cont33,
 #cont4,#cont41,#cont42,#cont43,#cont44,
 #cont5,#cont51,#cont52,
 #cont6,#cont7,#cont8{display:none;}

@media only screen and (max-width:320px){.accordionx{width:96%;max-width:none;}}
/* MENU */

@media only screen and (max-width:879px){ #izq-contacto,#dcha-contacto{width:100%!important;} #izq-contacto{margin:0!important;} #dcha-contacto{margin:15px 0 0!important;} }
@media only screen and (max-width:410px){ #dcha-contacto form{text-align:left!important;}
#dcha-contacto input[type=text], #dcha-contacto input[type=email]{width:91%!important;} }

/* PANEL */

input[type=text],input[type=email],input[type=password],input[type=submit]{padding:10px;font-size:0.9em;margin:4px auto;outline-color:rgb(196,0,0);height:15px;}
hr{margin:30px auto;}
#navigation{float:none;margin:0px;position:fixed;top:0;left:0;right:0;text-align:left;background-color:rgb(196,0,0);padding:12px 0px 14px 16px;z-index:99;}
#navigation a{color:white;font-size:0.8em;}
#navigation span{font-size:0.8em;color:white;}
#panel{padding-top:90px;}
#panel h2{color:rgb(196,0,0);font-size:1em;margin:12px auto 6px;}
#newp{display:none;}

#panel ul{list-style-type:none;padding:0}
#panel ul li{margin:4px auto;}
#panel ul a, .g-btn-naranja{display:inline-block;padding:8px 25px;background-color:rgba(196,0,0,1);color:white;font-size:0.9em;border:none;cursor:pointer;outline:none;}


input[type=submit]{padding:8px 16px;background-color:#ee3a3b;color:white;font-size:0.8em;outline:none;height:40px;border:none;cursor:pointer;}
#panel ul a:hover, input[type=submit]:hover, .g-btn-naranja:hover{background-color:rgba(196,0,0,0.8);}

#panel input[type=text]{width:90%;max-width:600px;}
#panel select{background-color:white;height:40px;margin:6px auto;width:95%;max-width:624px;outline-color:rgb(196,0,0);font-size:0.8em;}
.divtiny{width:90%;max-width:624px;margin:auto;}
.divtiny iframe{width:100%;max-width:618px;}
.upper{text-transform:uppercase;cursor:text;}
#nombrep{background-color:rgb(68,146,137);color:white;padding:9px 29px;font-size:1.1em;display:inline-block;margin:26px auto 11px auto;}

/*#eldiv{min-width:972px;}*/
.ui-widget-header{background-image:none!important;background-color:white!important}
.ui-dialog-title{color:rgb(68,146,137)!important;}  .ui-draggable .ui-dialog-titlebar{cursor:default!important;}
.ui-dialog .ui-dialog-title{float:none!important;}	.ui-dialog{z-index:251!important;/*left:10%!important;right:10%!important;top:10%!important;bottom:10%!important;*/}

.ui-widget-overlay{background-image:none!important;background:transparent url(../img/ray.png) repeat!important ;opacity:0.5!important;z-index:250!important;cursor:pointer!important;}
button.ui-button{outline:none!important;right:-1px!important;top:8px!important;z-index:255!important}
.ui-dialog-titlebar{border:0px solid skyblue!important;font-size:0.9em!important;}
.ui-dialog img{width:100%!important;height:auto!important;}

 #cookier{position:fixed;bottom:0;left:0;right:0;background-color:#222222;opacity:0.9;z-index:100;display:none;}
#cookier p{font-size:0.7em;margin-top:10px;margin-bottom:6px;padding:0px 11px;line-height:1.5em;color:white;}
#cookier span{background-color:lightgray;color:#111111;cursor:pointer;font-size:0.8em;padding:1px 6px;text-decoration:none!important;font-weight:600!important;}
#cookier span:hover{background-color:rgb(192,0,0);color:white;}

@media only screen and (max-width: 449px){/*449*/
#izq,#dcha{text-align:center!important;}
#dcha a {margin-top: 4px;}
#ficha .bxslider img{max-width:100%;}
#ficha{margin-left: 0px!important;}
#dcha-menu h1{margin-left: 5px!important;}
#ficha h2,#ficha p{margin-left: 5px!important;}
}
