/*
* SUM
*/

/***** 960px *****/




/* CABECERA -----------------------------------------------------------------------*/

	#idiomas {
		text-align: right;
	}

	#idiomas p {
		padding: 0;
		margin: 0;
	}

	#logo h2 a{
		display: block;
		text-indent: -9999px;
		width: 215px;
		height: 40px;
		background-image: url('../img/logo_dimeco2.png');
		background-repeat: no-repeat;
	}

	#menu {
		text-align: right;
	}

	#menu ul {
		list-style: none;
		margin: 20px 0 0 0;
		text-align: right;
		padding-bottom: 5px;
		float: left;margin-top: 5px;margin-bottom: 10px;

	}

	#menu ul li {
		text-align: right;
		display: inline;
		padding:0;
		margin: 0;
		position: relative;
	}
	#menu ul li a{
		border: 1px solid #d5d5d5;
		margin: 0px;
		padding: 4px 8px;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
	}

	#menu ul li a:hover {
		text-decoration: none;
		background-color: #666;
		color: #FFF;
		border: 1px solid #555;
	}

	#menu ul li a.menu_ultimo {
		margin-right: 0;
	}

	#menu ul li a.seleccionado {
		text-decoration: none;
		background-color: #666;
		background-color: #E30714;
		color: #FFF;
		border: 1px solid #555;
		border: 1px solid #E30714;
	}

	#menu ul li.current-menu-item a {
		text-decoration: none;
		background-color: #666;
		background-color: #E30714;
		color: #FFF;
		border: 1px solid #555;
		border: 1px solid #E30714;
	}

	#menu ul li.current_page_parent a {
		text-decoration: none;
		background-color: #666;
		background-color: #E30714;
		color: #FFF;
		border: 1px solid #555;
		border: 1px solid #E30714;
	}

	#menu ul li.current-page-ancestor a {
		text-decoration: none;
		background-color: #666;
		background-color: #E30714;
		color: #FFF;
		border: 1px solid #555;
		border: 1px solid #E30714;
	}
	
    
    #menu ul li ul {
	    position: absolute;
	    display: none;
	    z-index: 99999;
	    background-color: white;
	    border: 1px solid #d5d5d5;
		-webkit-border-radius: 5px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		min-width: 200px;
		text-align: left;
		top: 17px;
		left: 0;
		
    }
    #menu ul li:hover ul {
        display: block;
    }
    #menu ul li ul li {
        display: block;
        float: none;
        text-align: left;
        border: none;
    }
    #menu ul li ul li a {
        border: 1px solid white;
        display: block;
    }
	

	.menu_sectores ul li.current_page_item a {
		color: #e30613;
		font-weight: bold;
	}

	.menu_sectores ul li.current-page-ancestor a {
		color: #e30613;
		font-weight: bold;
	}

	#menu_pie ul li.current_page_item a {
		color: #e30613;
		font-weight: bold;
	}

	#menu_pie ul li.current-page-ancestor a {
		color: #e30613;
		font-weight: bold;
	}

	



/* CONTENIDO -----------------------------------------------------------------------*/

.fondo_slider {
	border-top: 2px solid #E30714;
	border-bottom: 2px solid #E30714;
	padding: 0;
}

#slider {  
line-height: 0;

}

#contenido img  {
	border-radius: 5px;
}

#contenido h1 {
	color: #e30613;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	line-height: 18px;
	margin: 15px 0 15px 0;
}

#contenido ul {
	list-style: disc;
	list-style-position: inside;
}

#contenido ol {
	list-style-position: inside;
}

.caja_home {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
	margin: 0 0 10px 0;
	text-align: left;
	padding: 10px;
}
.caja_home h3 {
	font-size: 14px;
	line-height: 16px;
/* 	background-image: url(../img/mas.png); */
	background-repeat: no-repeat;
	background-position: 98% center;
	padding: 1px 10px;	
}

.caja_home p {
	text-align: left;
	color: #666;
	margin:  0;
	padding: 0;
}

.caja_home a {
	font-style: normal;
	color: #666;
}

.caja_home h3 a {
	font-style: normal;
	
}

.caja_home p.centrar {
	text-align: center;
	margin-top: 10px;
}

.caja_home hr {
	margin: 10px 0;
}


#contenido .caja_home ul {
	list-style: none;
	list-style-position: inside;
	margin-right: 15px;
	margin-left: 0;
}

/*
.caja_home ul li {
	background-image: url(../img/tri.png);
	background-repeat: no-repeat;
	background-position: left center;
}
*/



#contenido .caja_home ul li a {
	display: block;
	width: 100%;
	font-size: 13px;
	line-height: 14px;
	padding: 3px 10px 5px 0px;
	border-bottom: 1px solid #ccc;
}

#contenido .caja_home ul li  {
	padding: 0 5px 0 10px;
}








h2.tit_menu_lateral {
	font-size: 18px;
	color: #e30613;
	text-align: left;
	padding-left: 10px;
	padding-bottom: 3px;
	border-bottom: 1px solid #e30613;
	line-height: 20px;
}



.fondo_aniv {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: #f5f5f5;
	padding: 20px;
}

#aniversario {
	text-align: right;
	color: #666;
}

#aniversario h4 {
	text-align: right;
	font-size: 26px;
	font-weight: bold;
	color: #e30613;
	line-height: 28px;
	background-image: url('../img/logo_25.png');
	background-repeat: no-repeat;
	height: 60px;
	padding: 75px 0 0 0;
}

#aniversario h4 span{
	font-weight: normal;
	font-size: 22px;
}

#flexiline {
	text-align: right;
	color: #666;
}

#flexiline h4 {
	text-align: right;
	font-size: 22px;
	font-weight: bold;
	color: #e30613;
	line-height: 28px;
	background-image: url('../img/flexilineas.png');
	background-repeat: no-repeat;
	background-position: right 30px;
	height: 40px;
	padding: 75px 0 0 0;
}

#flexiline h4 span{
	font-weight: normal;
	font-size: 22px;
}

#home_video_small {
	display: none;
}


#buscador {
	text-align: center;
	font-size: 15px;
	padding-top: 30px;
	padding-bottom: 30px;
	color: #666;
}

#buscador input {
	padding: 10px;
	font-size: 15px;
	color: #666;
	border-radius: 7px;
	border: 1px solid #ccc;
}

#resultados {
	text-align: left;
	font-size: 13px;
	padding: 15px 0;
	display: none;
}

#resultados p {
	margin: 2px 0 15px 0;
	padding: 0;
	font-size: 13px;
}

#resultados p a {
	text-decoration: underline;
}

#resultados h2{
	text-align: left;
	color: #E80E00;
	padding-bottom: 0px;
	font-size: 16px;
	line-height: 15px;
	margin: 0;
}

#resultados h2 a{
	color: #E80E00;
	text-decoration: none;
}

#resultados h2 a:hover{
	text-decoration: underline;
}




/* pie ----------------------------------------------------------------------------------*/


.fondo_pie{
	border-top: 10px solid #e30613;
	background-color: #b1b1b1;
	margin: 0px 0 0 0;
	padding: 20px 0;
	color: #787877;
}


#pie h5 {
	color: #FFF;
	font-size: 18px;
}

#menu_pie ul  {
	margin: 5px 0 0 0;
}

#menu_pie ul li {
	display: inline;
	margin: 0 0 0 0;
	padding: 0 5px;
	border-right: 1px solid #333;
	font-size: 11px;
}

#fila_pie {
	margin-top: 40px;
}

#contacto_pie p {
	margin: 0;
	padding: 0 0 10px 0;
}

#contacto_pie p span{
	padding: 0 0 0 22px;
}

#contacto_pie p a {
	color: #787877;
}


#contacto_pie img {
	vertical-align: top;
}

#pie input[type='text'] {
	border: 1px solid #ccc;
	padding: 4px;
	border-radius: 5px;
	width: 40%;
	margin: 0 5px 0 0;
}

#pie input[type='submit'] {
	border: 1px solid #ccc;
	padding: 3px 10px;
	border-radius: 5px;
}



/* -------------- PAGINAS ------------ */

#leyenda_cabecera {
	background-image: url(../img/cab.jpg);
	background-position: center center;
	background-size: cover;
	margin-top: 8px;
	margin-bottom: 8px;
	padding: 0;
	min-height: 210px;
	border-radius: 5px;
}

#leyenda_cabecera div{
	background-color: rgba(0,0,0,0.5);
	margin-left: 0;
	overflow: visible;
	color: #fff;
	height: 100%;
	border-radius: 5px;
}


#leyenda_cabecera  h2{
	font-size: 19px;
	padding: 0px 10px 0 10px;
	margin: 0;
	border-bottom: 1px solid #E60005;
	line-height: 25px;
	color: #fff;
}

#leyenda_cabecera p{
	padding: 0 10px 20px 10px;
}


#lateral {
	background-color: #e3e3e3;
}

#lateral ul {
	margin: 10px
}

#lateral li {
	border-top: 1px solid #b3b3b3;
	margin: 0;
	padding: 5px 5px;
}

#lateral li:last-child {
	border-bottom: 1px solid #b3b3b3;
}

#lateral ul li.seleccionado  {
	background-color: #ccc;
	font-weight: bold;
}

#texto h1 {
	text-align: left;
	color: #333;
	border-bottom: 1px solid #E60005;
	padding-bottom: 5px;
}

#texto h2 {
	text-align: left;
	color: #333;
	border-bottom: 1px solid #666;
	padding-bottom: 3px;
	font-size: 16px;
	line-height: 17px;
	margin-top: 15px;
	color: #e60005;
}

#texto ul {
	list-style: disc;
	list-style-position: inside;
}

#texto ul li {
	padding-left: 0;
}

#texto a {
	font-style: italic;
	color: #999;
}

.texto_sectores  {
	text-align: center;
}

#contenido .texto_sectores h1 {
	text-align: center;
	color: #333;
	border-bottom: 1px solid #E60005;
	padding-bottom: 3px;
	margin-bottom: 5px;
	margin-top: 35px;
}

.texto_sectores ul {
	list-style: none;
	list-style-position: inside;
}

.texto_sectores ul li {
	padding-left: 0;
}

.texto_sectores a {
	font-style: italic;
	color: #999;
}

#contenido .texto_sectores h1 a{
	font-style: normal;
	color: #333;
    height: 35px;
    display:block;
}


.ejemplos div  {
	text-align: center;
} 

.ejemplos div img {
	border-radius: 8px;
}


/*---------- Contenido portada --------- */

#contenido_portada  {
	font-size: 13px;
}

#contenido_portada p {
	margin-bottom: 15px;
}


#contenido_portada h1 {
	text-align: left;
	border-bottom: 1px solid #ccc;
}

#contenido_portada h2 {
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}

h2.titulos_secundarios_home {
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	border-bottom: 1px solid #ccc;
}



#contenido_portada label {
	display: block;
}

#contenido_portada input,textarea {
	border: 1px solid #ccc;
	padding: 5px;
	width: 95%;
	margin-bottom: 10px;
}

#contenido_portada textarea {
	height: 90px;
}

#contenido_portada input[type="submit"] {
	width: 60px;
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 6px 0px;
	background: #c90914;
	font-size: 13px;
	border: 0;
}

#idiomas input {
	border: 1px solid #ccc;
	padding: 5px;
	margin-bottom: 10px;
}


#idiomas input[type="submit"] {
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 4px 10px;
	background: #c90914;
	font-size: 13px;
	border: 0;
}

#contenido p {
	font-size: 13px;
	margin-bottom: 0px;
} 


#contenido h2 {
	margin-top: 15px;
}


/* -------- Sectores --------- */

#cat_seleccionado {
	color: #000;
	font-weight: bold;
}


h3.sector_seleccionado {
	background-color: #e30613;
	color: #fff;
	background-image: url(../img/menos.png);
	background-repeat: no-repeat;
}

h3.sector_seleccionado a {
	color: #fff;
	text-decoration: none;
}



.menu_sectores h3 a {
	display: block;
	width: 100%;
}

.menu_sectores h3 {
	font-size: 13px;
	line-height: 14px;
	padding: 3px 10px 0 10px;	
}

.menu_sectores hr {
	margin:3px;
}

.menu_sectores >  div.este {
	display: none;

}




h2.tit_menu_lateral {
	font-size: 18px;
	color: #e30613;
	text-align: left;
	padding-left: 10px;
	padding-bottom: 3px;
	border-bottom: 1px solid #e30613;
	line-height: 20px;
}

.para_abrir h2:hover {
	cursor: pointer;
}


/* galeria  ----------------------------------------------------------------------------------*/

.item_galeria {
	/* 	padding-bottom: 15px; */
	padding: 5px;
	background-color: #eee;
	border: 1px solid #ccc;
	margin-bottom: 15px;
}

.item_galeria img {
	max-width: 300px;
}

.accordion .item_galeria {
	padding:3px;
	max-width: 200px;
}

.accordion .item_galeria img {
	max-width: 200px;
}

/* Accordion Styles */
.accordion {
    border-bottom: 1px solid #dbdbdb;
    margin: 10px 0;
}
.accordion-title {
    border-top: 1px solid #dbdbdb;
    margin: 0;
    padding: 10px 0 10px 30px;
    cursor: pointer;
    font-weight: bold;
    background-image: url(../img/mas.png);
    background-repeat: no-repeat;
    background-position: 5px center;
    background-color: #eee;

}
.accordion-title:hover {}
.accordion-title:first-child {border: none;}
.accordion-title.open {cursor: default;}
.accordion-content {
	background-color: #e3e3e3;
	padding: 10px 10px 10px 30px;
}

.metaslider img{
	border-radius: 5px;
}

#slider .metaslider .caption-wrap {
	color: #858585;
	background-color: transparent;
	font-family: Arial;
	font-size: 40px;
	font-weight:  bold;
	font-style:  italic;
	text-align: right;	
	opacity: 1;
}

#slider .metaslider .caption {
	padding-right: 30px;	
	text-shadow: 1px 1px 1px #000;
}



/* noticias ----------------------------------------------------------------------------------*/



	#contenido_portada h1.noticia {
		margin-bottom: 15px;
        padding-bottom: 4px;

	}

	#contenido_portada p.fecha {
		font-size: 11px;
		margin-bottom: 0;
	}



/* otros --------------------------------------------------------------------------------*/

body.page-sectores-y-piezas #contenido ul {
	list-style-type: none;
}

body.page-sectores-y-piezas #contenido ul li {
	padding-left: 0;
}


body.page-sectores-y-piezas #contenido ul ul {
	list-style-type: disc;
}

body.page-sectores-y-piezas #contenido ul li ul li{
	padding-left: 20px;
}

#contenido_portada input[type="checkbox"] {
	width: 21px;
}



/***** Tablet (< 959px) *****/
@media only screen and (min-width: 768px) and (max-width: 959px) {



}



/***** Movil (vertical 300px) *****/
@media only screen and (max-width: 767px) {

	#logo h2 a{
		margin: auto;
	}

	#idiomas {
		text-align: center;
	}

	#menu {
		text-align: center;
	}

	#menu_pie ul li {
		display: none;
		border:0;
	}

	#pie h5 {
		padding-top: 20px;
	}

	#menu ul {
		float: none;
	}

	#menu ul li {
		display: block;
		margin-top: 10px;
		text-align: center;
		padding-bottom: 3px;
		border-bottom: 1px solid #ececec; 
	}

	#menu ul li a {
		border: 0;
	}


}


	
/***** Movil (apaisado 420px) *****/
@media only screen and (min-width: 480px) and (max-width: 767px) {
	
	#idiomas {
		text-align: center;
	}

	#menu {
		text-align: left;
	}

	#menu_pie ul li {
		display: block;
		border:0;
	}

	#pie h5 {
		padding-top: 20px;
	}




}




/* VARIOS -----------------------------------------------------------------------*/

#contenido table {
	text-align: center;
	font-size: 12px;
}
#contenido table td {
	padding: 3px;
}

table tr.dark_row td {
	background-color: #bbb;
	font-weight: bold;
}

table tr.darker_row td {
	background-color: #555;
	color: #ccc;
	font-weight: bold;
}

table tr td.dark_col  {
	background-color: #bbb;
}

a.boton {
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 0px solid #333;
	padding: 5px 10px;
	background: #c90914;
}

a.boton:link {
	color: #fff;
}

a.boton_idioma {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	border: 1px solid #ccc;
	padding: 2px 5px;
	background: #FFF;
}

a.boton_idioma:link {
	color: #fff;
}


#contenido_portada input.wpgmza_sl_search_button {
	width: 60px;
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 6px 0px;
	background: #c90914;
	font-size: 13px;
	border: 0;
}

#contenido_portada input.wpgmza_sl_reset_button {
	width: 60px;
	color: #FFF;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding: 6px 0px;
	background: #c90914;
	font-size: 13px;
	border: 0;
}

#idiomas input {
	font-size: 11px;
}

#idiomas #s {
	width: 90px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}