@color1: #333;
@color2: #f8f8f8;
@color3: #40A5FC;

@font-face {
    font-family: 'Open Sans Bold';
    src: url('font/opensans-bold-webfont.eot');
    src: url('font/opensans-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/opensans-bold-webfont.woff') format('woff'),
         url('font/opensans-bold-webfont.ttf') format('truetype'),
         url('font/opensans-bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('font/opensans-regular-webfont.eot');
    src: url('font/opensans-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/opensans-regular-webfont.woff') format('woff'),
         url('font/opensans-regular-webfont.ttf') format('truetype'),
         url('font/opensans-regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lb';
    src: url('font/librebaskerville-regular-webfont.eot');
    src: url('font/librebaskerville-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/librebaskerville-regular-webfont.woff') format('woff'),
         url('font/librebaskerville-regular-webfont.ttf') format('truetype'),
         url('font/librebaskerville-regular-webfont.svg#libre_baskervilleregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body{
	background: #f9f9f9;
	font-family: 'Open Sans', 'Helvetica', Arial, sans-serif;
}

a{
	color: @color1;
}

h2{
	font-size: 20px;
}

h2,
h1{
	color: @color1;
	font-weight: 400;
	line-height: 1.4em;
	margin: 0;
}

.relativo{
	position: relative;
}

header{
	background: #fff url(../images/bgCabeza.jpg) center top no-repeat;
	border-bottom: 5px solid #aaa;
}

header .container{
	padding: 0;
}

.tituloSeccion{
	background: #fff url(../images/bgTitulo.jpg) center top no-repeat;
	border-bottom: 5px solid @color3;
}

nav{
	ul{
		background: @color3;
		border: thin solid #2c88d3;
		border-top: none;
		border-radius: 0 0 10px 10px;
		-o-border-radius: 0 0 10px 10px;
		-ms-border-radius: 0 0 10px 10px;
		-moz-border-radius: 0 0 10px 10px;
		-webkit-border-radius: 0 0 10px 10px;
		display: inline-block;
		float: right;
		height: auto;
		list-style: none;
		margin: 0;
		overflow: hidden;
		li{
			float: left;
			border-left: thin solid #2c88d3;
			border-right: thin solid #76BFF7;
			border-bottom: 4px solid #2c88d3;
			&:hover{
				border-top: 3px solid #2c88d3;
				border-bottom: 1px solid #2c88d3;
			}
			&:nth-child(1){
				background: url(../images/historiab.png) center 15px no-repeat;
				&:hover{
					background: darken(@color3, 5%) url(../images/historiab.png) center 15px no-repeat;
				}
			}
			&:nth-child(2){
				background: url(../images/productosb.png) center 15px no-repeat;
				&:hover{
					background: darken(@color3, 5%) url(../images/productosb.png) center 15px no-repeat;
				}
			}
			&:nth-child(3){
				background: url(../images/departamentosb.png) center 15px no-repeat;
				&:hover{
					background: darken(@color3, 5%) url(../images/departamentosb.png) center 15px no-repeat;
				}
			}
			&:nth-child(4){
				background: url(../images/ubicacion.png) center 15px no-repeat;
				&:hover{
					background: darken(@color3, 5%) url(../images/ubicacion.png) center 15px no-repeat;
				}
			}
			&:nth-child(5){
				background: url(../images/contactob.png) center 15px no-repeat;
				&:hover{
					background: darken(@color3, 5%) url(../images/contactob.png) center 15px no-repeat;
				}
			}
			&:first-child{
				border-left: none;
			}
			a{
				box-sizing: border-box;
				color: #fff;
				display: block;
				padding: 60px 20px 10px 20px;
				font-size: 14px;
			}
			ul{
				display: none;
			}
		}
	}
}

.padding20{
	padding: 20px;
}

.claim{
	border-bottom: 1px solid #9e9e9e;
	border-top: 1px solid #9e9e9e;
	font-style: italic;
	margin: 0 30px 20px 30px;
	padding: 3px;
	text-align: center;
	h2{
		color: #9e9e9e;
		font-size: 40px;
	}
	.claiminner{
		border-bottom: 5px solid #9e9e9e;
		border-top: 5px solid #9e9e9e;
		padding: 10px;
	}

}

.fondo{
	background: #ffffff; 
	height: 100%;
	left: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: -1;
}

.bg{
	background: url(../images/bg.jpg) center center no-repeat;
	border-bottom: 5px solid #aaa;
	min-height: 400px;
	.deco{
		background: rgba(25%, 65%, 99%, 0.2);
		height: 230px;
		position: absolute;
		top: 250px;
		width: 100%;
		z-index: 0;
	}
}

.cuerpo{
	background: #f0f0f0 url(../images/bgCuerpo.jpg) center top no-repeat;
}

.titul{
	position: absolute;
	top: 180px;
	z-index: 2;
	h2{
		font-size: 30px;
		font-style: italic;
	}
}

.sliderPrincipal{
	height: 400px;
	position: relative;
	width: 400px;
	z-index: 1;
	.slide{
		float: left;
		img{
			height: 100%;
			width: 100%;
		}
	}
}

.listadoProductos{
	ul{
		list-style: none;
		margin: 0;
		li{
			background: darken(@color2, 10%);
			margin-bottom: 10px;
			&.activo{
				background: @color3;
				a{
					color: #fff;
				}
				li{
					a{
						color: #333;
					}
				}
			}
			a{
				color: #333;
				display: block;
				padding: 10px;
			}
			ul{
				display: none;
				background: #fff;
				li{
					a{
						background: #fff;
					}
				}
			}
		}
	}
}

.noticiaPortada{
	background: #fff;
	border-bottom: 5px solid @color3;
	border-top: 5px solid @color3;
	margin: 20px 0 40px 0;
	max-height: 240px;
	overflow: hidden;
	padding: 20px;	
}

.vermas{
	background: url(../images/desplegar.png) center center no-repeat;
	cursor: pointer;
	min-height: 58px;
	position: absolute;
	bottom: 0;
	width: 100%;
	z-index: 1;
}

footer{
	background: @color1;
}

footer .container{
	background: @color1;
	color: #fff;
	padding: 20px 0;
	text-align: center;
}

.galeria{
	border: thin solid silver;
	margin-top: 20px;
	padding: 10px;
	text-align: center;
	h3{
		margin: 0;
	}
	a{
		display: inline-block;
		margin: 4px;
		img{
			height: auto;
			width: 140px;
		}
	}
}

.noticiaProducto{
	background: #fff;
	margin: 20px 0;
	padding: 20px;
	.thumb{
		float: left;
		height: 200px;
		margin: 0 20px 20px 0;
		width: 200px;
	}
}

@media (max-width: 980px){
	#logo{
		text-align: center;
	}
	header{
		border: none;
	}
	nav{
		display: block;
		ul{
			border-radius: 10px;
			-o-border-radius: 10px;
			-ms-border-radius: 10px;
			-moz-border-radius: 10px;
			-webkit-border-radius: 10px;
			li{
				background-position: 15px center!important;
				display: block;
				width: 100%;
				a{

					padding: 20px 80px;
					width: 100%;
				}
			}
		}
	}
}

@media (max-width: 480px){
	.menusup{
		text-align: center;
		li{
			float: none;
			display: inline-block;
		}
	}
}

@media (min-width: 481px){
	.menusup{
		text-align: left;
		width: 460px;
		li{
			float: left;
			display: block;
		}
	}
}

/*LIGHTBOX*/

#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}
.der{

	float:right;
	margin-top:4px;
	color:#1c91f5;
	font-weight:bold;
}
.der10{
	margin-right:10px;
	float:right;
	margin-top:4px;
	color:#1c91f5;
	font-weight:bold;
}