*{
	outline: 0;
	border: 0;
}

/* estilos generales */

a{
	color: #5a5a5a;
	text-decoration: none;
}

a:hover{
	color: #3c3c3c
}

h1, h2{
	font-size: 18px;
	margin: 0;
	text-transform: uppercase;
}

body{
	background: #fff;	
	color: #626262;
	font-family: 'Dosis', Arial, Helvetica, sans-serif;
	min-width: 320px;
}

ul{
	padding-left: 0;
	padding-right: 0
}

p{
	color: #5a5a5a;
	font-size: 14px;
	font-weight: 600
}

/* estilos header */

header{
	float: left;
	height: 360px;
	width: 100%;
	border-top: 25px solid #f7f7f7
}

header img{
	display: block;
	margin: 85px auto
}

/* home */

#home h1{
	margin-bottom: 20px
}
.owl-controls {
    position: absolute;
    top: 0;
    width: 100%;
}

.owl-buttons {
    position: absolute;
    top: 100px;
    width: 100%;
}

.owl-prev, .owl-next{
	width: 35px;
	height: 25px;
}
.owl-prev {
	background: url("../img/sprite.png") no-repeat left top;
    position: absolute;
    left: -40px;
}

.owl-prev:hover {
	background-position: left -26px;
}

.owl-next {
	background: url("../img/sprite.png") no-repeat right top;
    position: absolute;
    right: -40px;
}

.owl-next:hover {
	background-position: right -26px;
}

.owl-next.disabled, .owl-prev.disabled{
	background: none !important
}
#contenedor{
	position: relative;
	float: left;
	width: 100%
}
.pattern{
	position: absolute;
	z-index: 1;
	left: 0;
	height: 27px;
	top: 199px;
	width: 100%;
	max-width: 900px;
	background: url("../img/pattern.png") no-repeat left bottom;
}
#carousel{
	float: left;
	margin-left: -8px;
	position: relative;
	width: 100%;
	z-index: 2;
}

#carousel .item{
  float: left;
  margin: 0 8px;
}

#carousel .item img{
  display: block;
  width: 100%;
  height: auto;
}

figcaption{
	background: #ddde1c;
	float: left;
	height: 26px;
	color: #606060;
	font-size: 15px;
	font-weight: 600;
	overflow: hidden;
	padding: 0 10px;
	line-height: 25px;
	width: 100%;
	-webkit-transition: all 0.45s ease;
	-moz-transition: all 0.45s ease;
	-ms-transition: all 0.45s ease;
	-o-transition: all 0.45s ease;
	transition: all 0.45s ease;		
}

figcaption span{
	font-weight: 700;
}

.txt {
    display: block;
    line-height: 17px;
    margin-top: 5px;
}

/* estilos footer */

footer{
	width: 100%;
	padding-top: 25px;
	height: 230px;
	background-color: #ddde1c;
	border-top: 15px solid #f2f2f2;
	float: left;
}

footer a{
	-webkit-transition: all 0.25s ease;
	-moz-transition: all 0.25s ease;
	-ms-transition: all 0.25s ease;
	-o-transition: all 0.25s ease;
	transition: all 0.25s ease;	
}

footer h2{
	margin-bottom: 15px;
}

footer p{
	white-space: pre
}

.margen{
	margin-top: 35px;
}

/* media queries */

@media (min-height: 880px) {
	html, body{
		height: 100%;
	}
	footer{
		position: absolute;
		left: 0;
		bottom: 0
	}
}
@media (max-height: 879px) {
	body{
		background-color: #ddde1c;
	}
	#header, #home{
		background: #fff
	}
}

@media (max-width: 1199px) {
	.pattern{
		display: none;
	}
}

@media (min-width: 769px) {
	#carousel .item:hover figcaption{
		background: #d6d6d6;
		-webkit-box-shadow: inset 2px 2px 18px rgba(30,27,28,.45);
		-moz-box-shadow: inset 2px 2px 18px rgba(30,27,28,.45);
		box-shadow: inset 2px 2px 18px rgba(30,27,28,.45);
		height: 70px;
	}
}

@media (max-width: 769px) {
	#carousel{
		height: 236px;
		width: 90%;
		float: none;
		margin: 0 auto 30px
	}
	#carousel .item{
		height: 236px;
		overflow: hidden;
	}
	figure{
		position: relative;
	}

	figcaption{
		position: absolute;
	}
	footer{
		height: auto;
		padding-bottom: 30px
	}
	header {
	    height: 260px;
	}
	#header img{
		max-width: 250px;
		margin: 60px auto 35px;
	}
	#home h1{
		text-align: center;
	}
	.owl-prev {
	    left: -30px;
	}
	.owl-next {
	    right: -30px;
	}
}

@media (max-width: 480px) {
	#carousel .item {
	    margin: 0 28%;
	}
}

@media (max-width: 400px) {
	#carousel .item {
	    margin: 0 19%;
	}
}