/*
Theme Name: Generic Theme
Description: Generic Theme
Author: Angelo Terrile
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=EB+Garamond:400,700|Montserrat:300,400,700&display=swap');

html, body{
	height: 100%;
}
	
body{
	/*font-family: 'EB Garamond', serif;*/
	font-family: 'Montserrat', sans-serif;
	color: #363636;
}

h1,h2,h3,h4,h5{
	font-family: 'EB Garamond', serif;
	margin: 0;
}


a, button, input{
	outline: none;
	-webkit-transition:all .5s ease;
	-moz-transition:all .5s ease;
	transition:all .5s ease;
}

a, a:hover{
	text-decoration: none;
}

p{
	font-weight: 300;
}

.wrap{
	width: 840px;
	margin: 0 auto;
}

.overlay{
	display: none;
	position: fixed;
	z-index: 999998;
	width: 100%;
	height: 100%;
	background: rgba(212,212,212,0.7);
	top: 0px;
	left: 0px;
}


#mainNav{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 9;
}

.navbar {
    min-height: 68px;
    border-radius: 0px;
    border: 0px;
}

.navbar-default {
    background-color: #fff;
    border: 0px;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 1);
	-moz-box-shadow:    0px 0px 5px 0px rgba(0, 0, 0, 1);
	box-shadow:         0px 0px 5px 0px rgba(0, 0, 0, 1);
}

.navbar-nav{
	text-align: center;
	width: 100%;
}

.navbar-nav>li{
	display: inline-block;
	float: none;
}

.navbar-nav>li>a{
	padding: 23px;
	font-family: 'EB Garamond', serif;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 700;
}

.navbar-default .navbar-nav>li>a:focus{
	color: #363636;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a.active{
	color: #EBBA4D;
}

.navbar-default .navbar-nav>li>a{
	color: #363636;
}


section{
	height: auto;
	padding: 100px 0;
	position: relative;
}

section h2{
	text-transform: uppercase;
	font-size: 32px;
	letter-spacing: 4px;
	width: 100%;
	text-align: center;
}


/***********************************
HOME
************************************/
section#home{
	height: auto;
	background: url(img/piedra.jpg); 
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	overflow: hidden;
	padding-bottom: 100px;
}


section#home h2{
	margin-bottom: 30px;
}

section#home .intro p{
	width: 800px;
	text-align: center;
	margin: 0 auto;
}






/***********************************
que-hacemos
************************************/

section#que-hacemos h2{
	margin-bottom: 30px;
}

section#que-hacemos .intro p{
	width: 800px;
	text-align: center;
	margin: 0 auto;
}

section#que-hacemos img{
	display: block;
	margin: 30px auto 20px;
}

section#que-hacemos figure.last{
	width: 80%;
	margin: 0 auto;
	overflow: hidden;
}


section#que-hacemos ul{
	display: block;
	width: 780px;
	margin: 0 0 20px 0;
	padding: 0px;
	margin: 0 auto;
}

section#que-hacemos ul li{
	display: inline-block;
	width: 13.8%;
	vertical-align: top;
	text-align: center;
}

section#que-hacemos ul li strong{
	display: block;
	border-bottom: 3px solid #fff;
    width: 28px;
    margin: 0 auto 10px;
    font-family: 'EB Garamond', serif;
    font-size: 20px;
}

section#que-hacemos ul li._1 strong{ color: #8fc5d7; border-bottom-color: #8fc5d7; }
section#que-hacemos ul li._2 strong{ color: #84c3b4; border-bottom-color: #84c3b4; }
section#que-hacemos ul li._3 strong{ color: #5aab34; border-bottom-color: #5aab34; }
section#que-hacemos ul li._4 strong{ color: #4c9e85; border-bottom-color: #4c9e85; }
section#que-hacemos ul li._5 strong{ color: #3b94b4; border-bottom-color: #3b94b4; }
section#que-hacemos ul li._6 strong{ color: #9d3687; border-bottom-color: #9d3687; }
section#que-hacemos ul li._7 strong{ color: #642b86; border-bottom-color: #642b86; }

section#que-hacemos ul li p{
	font-size: 10px;
	font-weight: 700;
	text-align: center;
	padding: 0 10px;
}

section#que-hacemos img.ventas{
	display: block;
	margin: 0 auto;
}




/***********************************
desarrollos
************************************/

section#desarrollos{
	height: auto;
	background: url(img/piedra.jpg); 
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;
	overflow: hidden;
	padding-bottom: 100px;
}


section#desarrollos h2{
	margin-bottom: 30px;
}

section#desarrollos .intro p{
	width: 800px;
	text-align: center;
	margin: 0 auto;
}

section#desarrollos .categorias{
	margin: 20px 0 0 0;
	padding: 0;
}

section#desarrollos .categorias li{
	display: inline-block;
	width: 33%;
	position: relative;
}

section#desarrollos .categorias li a:after{
    content: '+';
    display: block;
    position: absolute;
    bottom: 13px;
    left: 50%;
    margin-left: -20px;
    width: 40px;
    height: 40px;
    background-color: #edbb51;
    border-radius: 50%;
    text-align: center;
    color: #fff;
    line-height: 40px;
    font-size: 30px;
    font-weight: 300;
}

section#desarrollos .categorias li img{
	width: 100%;
	height: auto;
}


.popup{
	display: none;
	width: 900px;
	height: 600px;
	position: fixed;
	z-index: 999999;
	top: 50%;
	left: 50%;
	margin: -300px 0 0 -450px;
	background-color: #f6f3f1;
	padding: 0px 20px;
}


.owl-carousel .owl-item img{
	width: 100%;
	height: auto;
	display: block;
	margin: 50px auto 0;
}

.popup .close_popup{
	display: block;
	width: 34px;
	height: 34px;
	background: url(img/close.png) no-repeat center center;
	position: absolute;
	bottom: -17px;
	left: 50%;
	margin-left: -17px;
	z-index: 999
}



.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next{
	position: absolute;
	top: 45%;
	font-size: 50px;
	color: #000;
}

.owl-carousel .owl-nav button.owl-prev{
	left: -55px;
}
.owl-carousel .owl-nav button.owl-next{
	right: -55px;
}


.owl-prev.disabled img,
.owl-next.disabled img{
	opacity: 0.3;
}



/***********************************
clientes
************************************/
section#clientes{
	background-color: #fff;
}

ul.clientes_list{
	padding: 0;
	margin: 50px auto 0;
	list-style: none;
	overflow: hidden;
	text-align: center;
	width: 900px;
}

ul.clientes_list li{
	display: inline-block;
	width: 15%;
	margin: 0 2%;
	vertical-align: middle;
}

ul.clientes_list.marcas li{
	width: 22%;
	margin: 0;
}

ul.clientes_list li img{
	display: block;
	margin: 30px auto;
}



/***********************************
nuestras-marcas
************************************/
section#nuestras-marcas{
	background: #f7f3f1 url(img/bg_marcas.png) no-repeat center top;
	background-size: 100%;
}

section#nuestras-marcas img.fondo{
	position: absolute;
	bottom: -260px;
	right: 0;
	z-index: 8;
}





/***********************************
contacto
************************************/
section#contacto{
	height: auto;
	background: url(img/piedra.jpg); 
	background-position: center center;
	background-size: cover;
	background-attachment: fixed;	
}

section#contacto h2{
	margin-bottom: 80px;
}

section#contacto p{
	text-align: center;
	margin: 20px 0;
	line-height: 24px;
}

section#contacto h3{
	text-transform: uppercase;
	font-size: 20px;
	letter-spacing: 4px;
	width: 100%;
	text-align: center;
	font-weight: 400;
	margin-top: 40px;
}


section#contacto img.fondo{
	position: absolute;
	top: 30px;
	left: 0;
	z-index: 8;
}



footer{
	padding: 40px 0 60px 0;
	background: #363636;
	color: #fff;
	font-size: 12px;
	font-family: 'EB Garamond', serif;
	text-align: center;
}

footer img{
	margin-bottom: 20px;
}


@media(max-width: 768px){
    #mainNav{
        position: relative;
        margin: 0;
    }
    
    .navbar-toggle{
        background: none;
        border: 0;
        color: rgb(235, 186, 77);
        font-size: 32px;
    }
    
    
    .navbar-toggle .fa-bars:before{
        content: '\f00d'
    }
    
    .navbar-toggle.collapsed .fa-bars:before{
        content: '\f0c9'
    }
    
    .navbar-default .navbar-collapse, 
    .navbar-default .navbar-form{
        border: 0;
    }
    
    
    .navbar-default .navbar-toggle:focus, 
    .navbar-default .navbar-toggle:hover{
        background: none;
    }
    
    
    
    .navbar-nav {
        text-align: center;
        width: 100%;
        margin: 0px 0px;
        padding: 10px 0 30px 0;
    }
    
    .navbar-nav>li{
        display: block;
    }
    
    .navbar-nav>li>a {
        padding: 15px 0px;
        font-size: 20px;
        font-weight: 300;
        font-style: normal;
    }
    
    .wrap{
        width: 100%;
    }
    
    section{
        padding: 60px 0;
        width: 100%;
    }
    
    section#home{
        background: url(img/fondo_home_responsivo.png), url(img/piedra.jpg);
        background-position: center center,  center top;
        background-size: 100%, cover;
        background-attachment: scroll, fixed;
        padding: 0px;
        height: 400px;
        overflow: hidden;
    }
    
    section#home img{
        display: none;
        height: auto;
    }
    
    
    section#home h1{
        position: relative;
        top: auto;
        left: 50%;
        margin: 90px 0 0 -115px;
        width: 230px;
        height: 50px;
    }
    section#home h2{
        position: relative;
        top: auto;
        margin-top: 13px;
        font-size: 19px;
    }
    
    
    section#que-hacemos .intro p{
        width: 100%;
        padding: 0 25px;
        line-height: 28px;
        font-size: 16px;
    }
    
    section#que-hacemos img.first{
        display: none;
    }

    section#que-hacemos figure.last img{
		transform: scale(1.5);
	}
    
    section#que-hacemos ul{
        display: block;
        width: 50%;
        margin: 0 auto;
    }
    
    section#que-hacemos ul li {
        display: block;
        width: 100%;
        margin: 0 auto;
    }    
    
    section#desarrollos .intro p{
        width: 100%;
        padding: 0 30px;
    }
    
    section#desarrollos .categorias li{
        display: block;
        width: 100%;
    }
    
    section#desarrollos .categorias li a{
        display: block;
        width: 80%;
        margin: 0 auto;
    }

    section#desarrollos .categorias li a:after {
	    bottom: 0;
	    margin: 0 0 4px -30px;
	    width: 60px;
	    height: 60px;
	    line-height: 60px;
	    font-size: 44px;
	}
    
    .owl-carousel .owl-item img {
        width: 100%;
        margin: 50px auto;
    }
    
    .popup {
        width: 90%;
        height: auto;
        position: fixed;
        z-index: 999999;
        top: 50%;
        left: 0px;
        margin: -145px 0 0 5%;
        padding: 0;
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        left: 9px;
        margin-top: -28px;
    }
    
    .owl-carousel .owl-nav button.owl-next {
        right: 9px;
        margin-top: -28px;
    }
    
    ul.clientes_list {
        width: 100%;
    }
    
    ul.clientes_list li {
        display: block;
        width: 100%;
        vertical-align: top;
    }
    ul.clientes_list.marcas li {
        width: 100%;
        margin: 0;
    }
    
    section#nuestras-marcas{
        background: #f7f3f1 url(img/bg_marcas_mobile.png) no-repeat center 405px;
        background-size: 100%;
    }
    
    section#nuestras-marcas h2{
        font-size: 28px;
    }
    
    section#nuestras-marcas img.fondo{
        display: none;
    }
    
    section#contacto img.fondo {
        top: 160px;
        left: -74px;
        width: 45%;
    }
    
    ul.clientes_list li img {
        transform: scale(0.9);
    }
    
}

