/*
Theme Name: Todoferro
Author: Andres J. Villar - Merit Designs
Author URI: https://meritdesigns.com
Description: Theme Wordpress
Version: 1.0
*/
@font-face {
    font-family: 'DIN';
    src: url('fonts/DIN-RegularAlternate.eot');
    src: url('fonts/DIN-RegularAlternate.eot?#iefix') format('embedded-opentype'),
        url('fonts/DIN-RegularAlternate.woff2') format('woff2'),
        url('fonts/DIN-RegularAlternate.woff') format('woff'),
        url('fonts/DIN-RegularAlternate.ttf') format('truetype'),
        url('fonts/DIN-RegularAlternate.svg#DIN-RegularAlternate') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('fonts/DIN-Bold.eot');
    src: url('fonts/DIN-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/DIN-Bold.woff2') format('woff2'),
        url('fonts/DIN-Bold.woff') format('woff'),
        url('fonts/DIN-Bold.ttf') format('truetype'),
        url('fonts/DIN-Bold.svg#DIN-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}


:root {	
	--white: #ffffff;
	--red: #81100c;
	--black: #000000;
}
html, body{
	height: 100%;
}
body {
	background: #fff;
	font-family: 'DIN', sans-serif;
	font-size: 16px;
	color: #333;
	font-weight: normal;
}
.container, .container-fluid {
	width: 1200px;
	max-width: 100%;
	margin: 0 auto;
}
.clear, .clearfix {
	display: block;
	clear: both;
}
.height10 {
	height: 10px;
}
.height20 {
	height: 20px;
}
.height30 {
	height: 30px;
}
.height50 {
	height: 50px;
}
img {
	max-width: 100%;
	height: auto;
}
.black {
	color: var(--black);
}
.white {
	color: var(--white);
}
.red {
	color: var(--red);
}
.bg-black {
	background: var(--black);
}
.bg-white {
	background: var(--white);
}
.bg-red {
	background: var(--red);
}
a, .boton {
	transition: all 0.2s ease-in-out;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
}
a, a:hover, a:focus, a:active {
	text-decoration: none;
	color: var(--red);
}
.boton {
	text-transform: uppercase;
	display: inline-block;
	color: var(--white);
	background: var(--red);
	border: 1px solid var(--red);
	padding: 10px 30px;
	font-weight: normal;
	font-family: 'DIN', sans-serif;
	border-radius: 24px;
}
.readmore:hover, .boton:hover, .readmore:focus, .boton:focus {
	color: var(--white);
	background: var(--red);
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'DIN', sans-serif;
	font-weight: bold;
}


/**** HEADER ****/
.top {
	text-align: right;
	background:var(--red);
	padding-top: 12px;
	padding-bottom: 12px;
	color:#fff;
}
.top a {
	color:#fff !important;
}
.top .search {
	display: inline-block;
	margin-right: 15px;
}
.top .redes a {
	font-size: 18px;
	margin-left: 6px;
}
.formsearch {
	display: inline-block;
	width: 200px;
	position: relative;
}
.formsearch input {
	width: 100%;
	height: 40px;
	border: 1px solid #d0d0d0;
	color:#333;
	padding: 8px 15px;
	border-radius: 24px;
}
.formsearch button {
	position: absolute;
	right: 10px;
	top: 6px;
	-webkit-appearance: none;
	appearance: none;
	border:none;
	outline:none;
	background:#fff;
}
@media(min-width:767px) {
	.top {
		display: none;
	}
}
header {
	z-index: 100;
	position: relative;
	width: 100%;
	background: #fff;
}
header .navbar-brand {
	padding: 3px 0px;
	min-height: none;
	height: auto !important;
	z-index: 9999 !important;
}
header .navbar-brand img {
    height: 50px;
}
.navbar-header {
    position: relative;
    z-index: 999;
}
.navbar-default {
    background-color: transparent !important;
    border-color: none;
    border: none;
    margin-top: 8px;
    margin-bottom: 0;
    padding-top: 0;
}
.navbar-default .navbar-nav li a {
	color: #000;
	font-size: 15px;
	border: none;
	padding: 10px 0;
	text-transform: uppercase;
	font-weight: normal;
	transition: all .2s ease-in-out;
	-webkit-transition: all .2s ease-in-out;
	-moz-transition: all .2s ease-in-out;
	-o-transition: all .2s ease-in-out;
	font-family: 'DIN', sans-serif;
}
.navbar-default .navbar-nav li.active a, .navbar-default .navbar-nav li a:hover,
.navbar-default .navbar-nav li a:focus {
	background:none !important;
	color: var(--red);
	border-bottom: none;
}
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:focus, 
.navbar-default .navbar-nav > .active > a:hover {
    color: var(--red);
	border-bottom: none;
}
.navbar-default .navbar-nav li {
	padding-right: 8px;
	padding-left: 8px;
}
.navbar-default .navbar-nav li.sep span {
	display: inline-block;
	width: 1px;
	height: 11px;
	border-left:1px solid #000;
	position:relative;
	top: 8px;
}
.navbar-default .navbar-nav li.redesmenu a {
	display: inline-block;
	color:var(--red) !important;
	margin-left: 8px;
	font-size: 18px;
}
.navbar-default .navbar-nav li.searchmenu {
	margin:0 5px;
}
.navbar-right {
    padding-top: 12px;
}
header {
	padding-bottom: 12px;
}

/**** HOME ****/
.carousel-home .item {
	height: 400px;
}
.width-carousel {
	background:url(images/tonteria.png) no-repeat center center;
	background-size: cover;
	height: 100%;
	width: 600px;
	position: absolute;
	top:0;
	bottom: 0;
	left: 35%;
	text-align:center;
}
.content-carousel {
	height:100%;
	-webkit-display: flex;
	display: flex;
	align-items:center;
}
.content-carousel div {
	text-align: left;
	width: 300px;
	margin-left: auto;
	margin-right:auto;
}
.controles {
	position: absolute;
	bottom: 20px;
	left: 0;
	width: 100%;

}
h1 {
	margin-top: 0;
	color:var(--red);
	font-size:50px;
}
h2 {
	font-size: 32px;
	color:var(--red);
}
.imageright {
	float: right;
	text-align: left;
}
.imageleft {
	text-align: right;
}
.imageright img, .imageleft img {
	width: 310px;
}
.textleft {
	text-align: right;
	float: right;
	padding-right: 30px;
	padding-top: 30px;
}
.textright {
	text-align: left;
	padding-left: 30px;
	padding-top: 30px;
}
.line {
	display: inline-block;
	width: 80px;
	background:var(--red);
	height: 3px;
	margin-top: 10px;
	margin-bottom: 20px;
}
.parallax {
	color:#fff;
	text-align: right;
	padding-top: 40px;
	padding-bottom: 40px;
	position: relative;
	padding-right: 320px;
	padding-left: 100px;
}
.parallax img {
	width: 200px;
	position: absolute;
	bottom: 0;
	right: 80px;
}
.parallax h2 {
	color:#fff;
}
.bgparallax {
	margin-top: 40px;
}
.formulario input {
	width: 100%;
	border: 1px solid #cccccc;
	margin-bottom: 15px;
	padding: 10px;
}
.formulario textarea {
	width: 100%;
	border: 1px solid #cccccc;
	margin-bottom: 15px;
	padding: 10px;
	height: 80px;
}
footer {
	background:#3c3932;
	padding-top: 40px;
	color:#fff;
}
footer a {
	color:#fff !important;
}
img.logofooter {
	height: 46px;
}
.menufooter a {
	display: block;
	margin-top: 5px;
}
p.contactos, p.contacto {
	position: relative;
	padding-left: 26px;
}
p.contactos img {
	width: 20px;
	position: absolute;
	left: 0;
	top: 1px;
}
p.contacto img {
	width: 24px;
	position: absolute;
	left: 0;
	top: 3px;
}
.developer {
	padding-top: 10px;
}
@media(min-width:767px) {
	.developer {
		text-align: right;
	}
}
.redesfooter a {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background:#fff;
	color: #3c3932 !important;
	text-align: center;
	line-height: 38px;
	font-size: 17px;
	margin-right: 8px;
}
.redescontacto a {
	display: inline-block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--red);
	color: #ffffff !important;
	text-align: center;
	line-height: 38px;
	font-size: 17px;
	margin-right: 8px;
}
.cab {
	background:#f0f0f0;
	padding-top: 40px;
	padding-bottom: 40px;
}
.cab h2 {
	margin:0;
	color: #333;
}
.image-left {
	float: left;
	margin-right: 30px;
	margin-bottom: 20px;
}
.mision {
	background:#f0f0f0;
	padding: 24px;
	min-height: 300px;
	margin-bottom: 30px;
}
.mision h2 {
	margin-top:0;
	margin-bottom: 20px;
}
.producto {
	display: block;
	text-align:center;
	padding: 130px 20px;
	margin-bottom: 30px;
}
.producto h2 {
	color:#fff;
}
.rejas {
	background:url(images/1.jpg) no-repeat center center;
	background-size:cover;
}
.mallas {
	background:url(images/2.jpg) no-repeat center center;
	background-size:cover;
}
.palomas {
	background:url(images/3.jpg) no-repeat center center;
	background-size:cover;
}
.herreria {
	background:url(images/4.jpg) no-repeat center center;
	background-size:cover;
}
.owl2 .owl-dots {
	display: none !important;
}
.owl2 .owl-nav {
	display: none !important;
}
.cliente {
	float: left;
	width: 20%;
	margin-bottom: 30px;
	padding-left: 15px;
	padding-right: 15px;
}
.mapa iframe {
	width: 100%;
	height: 300px;
}
.menugalerias a {
	display: block;
	padding: 10px 15px;
	border-bottom: 1px solid #d0d0d0;
}
.menugalerias a.active {
	background:var(--red);
	color:#fff;
}
.itemgaleria {
	display: inline-block;
	width: 150px;
	height: 100px;
	margin-right: 20px;
	margin-bottom: 20px;
}
#html5-watermark, .html5-title {
	display: none !important;
}


@media(max-width:767px) {
	.navbar-default .navbar-nav li.sep, .navbar-default .navbar-nav li.searchmenu,
	.navbar-default .navbar-nav li.redesmenu {
		display: none;
	}
	.imageright, .imageleft {
 		float: none;
  		text-align: center;
	}
	.textleft, .textright {
 		text-align: left;
		float: none;
  		padding-right: 15px;
		padding-top: 30px;
		padding-left: 15px;
	}
	.content-carousel div {
  		text-align: left;
  		width: 400px;
  		max-width: 100%;
  		padding-left: 15px;
  		padding-right: 15px;
	}
	.parallax {
	  	text-align: left;
	  	padding-right: 0;
	  	padding-left: 0;
	  	padding-bottom: 0;
	}
	.parallax img {
 		width: 200px;
  		position: relative;
	  	bottom: inherit;
	  	right: inherit;
	  	margin-left: auto;
	  	margin-right: auto;
  		display: block;
	}
	.image-left {
		float: none;
		margin-right: 0;
	}
	.mision {
		padding: 20px;
		min-height: 50px;
	}
}


@media(max-width:598px) {
	.width-carousel {
  		background: rgba(238,238,238,0.6);
	    left: 0;
  		max-width: 100%;
  		text-align: left;
	}
	h1 {
 		font-size: 40px;
	}
	h2 {
		font-size: 30px;
  	}
	.imageright img, .imageleft img {
 		width: 280px;
	}
}