/* --------------------------------------------------
   RESET */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* --------------------------------------------------
   GENERALES */

 
body {
	font-family: 'Exo 2', sans-serif;
	font-weight: 400;
	background: url("images/fdo_body.jpg") repeat bottom left;
	background-attachment: fixed;
}
 
.menu_bar {
	display:none;
}
 
header {
	width: 100%;
}

#container {
	width: 1100px;
	background: #fff;
	margin: 1em auto;
	padding: 1%;
	-webkit-box-shadow: 0px 9px 15px 7px rgba(0,0,0,0.40);
	-moz-box-shadow: 0px 9px 15px 7px rgba(0,0,0,0.40);
	box-shadow: 0px 9px 15px 7px rgba(0,0,0,0.40);
}

/* --------------------------------------------------
   IMAGENES */

#img_empresa {
	display: block;
	width: 30%;
	margin: 2em auto;
}

#cabezal {
	margin: 0.1em auto;
}

img {
	display: block;
	width: 100%;
	margin: auto;
}

#marca {
	display: none;
}

/* --------------------------------------------------
   NAVEGACION */
 
header nav {
	background:#ED1C24;
	z-index:1100;
	max-width: 1100px;
	width:100%;
	margin: 0px auto 0em;
}
 
header nav ul {
	list-style:none;
}
 
header nav ul li {
	display:inline-block;
	position: relative;
}
 
header nav ul li:hover {
	background:#9D0A0E;
}
 
header nav ul li a {
	color:#fff;
	display:block;
	text-decoration:none;
	font-weight: 700;
	padding: 12px;
}
 
header nav ul li a span {
	margin-right:11px;
}
 
header nav ul li:hover .children {
	display:block;
}
 
header nav ul li .children {
	display: none;
	background:#011826;
	position: absolute;
	width: 150%;
	z-index:1000;
}
 
header nav ul li .children li {
	display:block;
	overflow: hidden;
	border-bottom: 1px solid rgba(255,255,255,.5);
}
 
header nav ul li .children li a {
	display: block;
}
 
header nav ul li .children li a span {
	float: right;
	position: relative;
	top:3px;
	margin-right:0;
	margin-left:10px;
}
 
header nav ul li .caret {
	position: relative;
	top:3px;
	margin-left:10px;
	margin-right:0px;
}

/* --------------------------------------------------
   TITULOS */
h2{
	font-weight: 700;
	font-size: 225%;
	color: #000;
	margin-bottom: 0.5em;
	border-left: solid #f00 0.5em;
	padding-left: 0.5em;
	padding-bottom: 0.15em;
	padding-right: 0em;
	margin-top: 0.15em;
}
.contactoh3{
	font-weight: 00;
	color: #000;
	margin-bottom: 0.5em;
	padding-left: 0.5em;
	padding-bottom: 0.15em;
	padding-right: 0em;
	margin-top: 0.15em;
	border-left: none;
}
.contactoh3 a{
	color: #000;
}
.contactoh3 a:hover{
	color: #ed1c24;
}
.imgref::before {
	transition: all .5s ease-in;
	background-color: rgba(237, 28, 36, 0.6); /* Negro con transparencia */
	position: absolute;
	content: "";
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0;
	cursor: pointer;
}
.imgref:hover::before {
	opacity: 1; /* Al hacer hover, se muestra el fondo negro */
}
/* --------------------------------------------------
   ARTICULOS Y PARRAFOS */

#principal{
	margin-top: 2em;
	margin-bottom: 1em;
	width: 100%;
	float:left;
	line-height: 1.4em;
}   

p{
	margin: 0.7em 0;
} 

#destacado{
	background: url("images/contacto.jpg") no-repeat bottom right;
	padding-bottom: 0em;
	margin-top: 3em;
	border-left: solid #aaa 1.15em;
}

.destacado{
	padding: 0.5em;
	line-height: 1em;
	color: #000;
	font-size: 1.4em;
	font-style: italic;
	margin-left: 0.4em;
}  

footer{
	clear: both;
	width: 100%;
	text-align: center;
	color: #fff;
	font-size: 80%;
	background: #ED1C24;
	padding: 0.4em 0em 0.4em 0em;
	margin-top: 7em;
}

/* --------------------------------------------------
   RESPONSIVE */

@media screen and (max-width: 1100px) {

	header nav {
	margin: 0px auto;
	}
	.contactoh3{
		font-weight: 00;
		color: #000;
		margin-bottom: 0.5em;
		padding-left: 0.5em;
		padding-bottom: 0.15em;
		padding-right: 0em;
		margin-top: 0.15em;
		border-left: none;
	}
	.contactoh3 a{
		color: #000;
	}
	.contactoh3 a:hover{
		color: #ED1C24;
	}

	body {
	background: #fff;
	}

	#principal{
	margin-top: 0.7em;
	margin-bottom: 0.5em;
	}

	#container {
		width: 100%;
		margin: 0em auto;
		padding: 0em;
		-webkit-box-shadow: none;
		-moz-box-shadow: none;
		box-shadow: none;
	}

	#cabezal {
		width: 100%;
		margin-top: 0.1em;
	}

	h2{
		padding: 0.25em;
		line-height: 1em;
	}

	p{
		padding: 0.6em;
	}

	#parrafos{
	background-color: rgba(256, 256	, 256, 0.7);
	}

	.destacado{
		margin-left: 0.1em;
	}

	#img_empresa {
	display: block;
	width: 40%;
	margin: 2em auto;
	}

	footer{
		padding: 0.5em;
	}

	}
 
@media screen and (max-width: 800px) {

	body {
		margin-top:-50px;
		padding-top: 85px;
		background-color: #fff;
	}
	.contactoh3{
		font-weight: 00;
		color: #000;
		margin-bottom: 0.5em;
		padding-left: 0.5em;
		padding-bottom: 0.15em;
		padding-right: 0em;
		margin-top: 0.15em;
		border-left: none;
	}
	.contactoh3 a{
		color: #000;
	}
	.contactoh3 a:hover{
		color: #ED1C24;
	}

	h2{
		font-size: 1.8em;
	}

	#cabezal_marca{
		display: none;
	}

	#cabezal {
	width: 100%;
	margin-top: 0em;
	}

	#marca {
		display: block;
		width: 100%;
		margin-top: 0em;
	}

	#img_empresa {
	display: block;
	width: 50%;
	margin: 1.5em auto;
	}

	#destacado{
	background: #fff;
	margin-top: 2em;
	}

	.destacado{
		margin-left: 0.1em;
		font-size: 1.2em;
		line-height: 1em;
	}

	footer{
	padding: 0em;
	}
 
	.menu_bar {
		display:block;
		width:100%;
		position: fixed;
		top:0;
		background:#58585B;
	}
 
	.menu_bar .bt-menu {
		display: block;
		padding: 9px;
		color: #fff;
		overflow: hidden;
		font-family: 'Exo 2', sans-serif;
		font-size: 15px;
		font-weight: 700;
		text-decoration: none;
	}
 
	.menu_bar span {
		float: right;
		font-size: 18px;
	}
 
	header nav {
		width: 90%;
		height: calc(100% - 80px);
		position: fixed;
		right:100%;
		margin: 0;
		overflow: scroll;
	}
 
	header nav ul li {
		display: block;
		border-bottom:1px solid rgba(255,255,255,.5);
	}
 
	header nav ul li a {
		display: block;
	}
 
	header nav ul li:hover .children {
		display: none;
	}
 
	header nav ul li .children {
		width: 100%;
		position: relative;
	}
 
	header nav ul li .children li a {
		margin-left:20px;
	}
 
	header nav ul li .caret {
		float: right;
	}
}