@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,500,700);
body{
	font-family: 'Roboto', sans-serif;
	font-size: 18px;
}

p{
	margin-bottom: 1.5em;
}

#loading{
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	text-align: center;
	background: white;
	display: block;
	z-index: 99;
	padding-top: 20%;
}

.navbar-default {
	border-color: white;
	background-color: #FFFFFF;
}

.navbar{
	margin: 0;
}

.center{
	text-align: center;
}

.title{
	font-size: 22px;
}

.text-red{
	color: #962330;
	margin-bottom: 1.8em;
}

header .navbar-nav {
	float: none;
}

header .navbar-brand {
	padding: 5px 15px;
}

header .navbar-nav > li {    
    background: #272525;
    margin-left: 1.5%;
	width: 20%;
	text-align: center;
	display: inline-block;
}

header .navbar-nav > li:last-child, .activo{
	background:#962330!important; 
}

header .navbar-nav > li:hover, header .navbar-nav > li:hover ul > li:hover, 
header .navbar-nav > li:hover ul > li:hover > ul > li:hover{
	background: #962330;
}

.submenu:hover{		
	background: #272525!important;
	border: 1px solid #962330;
}

.navbar-collapse.in{
	overflow: visible;
}

header .navbar-nav > li > ul, header .navbar-nav > li > ul > li > ul{
	display: none;
	list-style: none;
	position: absolute;
}

header .navbar-default .navbar-nav > li > a,header .navbar-default .navbar-nav > li > a:hover,header .navbar-default .navbar-nav > li > span,header .navbar-default .navbar-nav > li > span{
	cursor: pointer;
	color:white;
}

header .navbar-default .navbar-nav > li > a:hover,header .navbar-default .navbar-nav > li > a:focus{
	text-decoration: none;
	color: white;
}

/*Submenu nivel 2*/
header .navbar-nav > li:hover > ul{		
	display: block;
	list-style: none;
	padding: 0;
	width: 100%;
	z-index: 1;
}

header .navbar-nav > li:hover > ul > li:hover ul{
	display: block;
	width: 100%;
	list-style: none;
	padding: 0;
	right: -100%;
	top: 0;

}	

.submenu:after{
	content: " ";
	background: rgb(39, 37, 37);
	width: 25px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

.submenu:hover:after{
	content: " ";
	background: #962330;
	width: 25px;
	height: 100%;
	position: absolute;
	top: 0;
	right: 0;
}

.arrow{
	width: 0px;
	height: 0px;
	border-style: solid;
	border-width: 12px;
	border-right: 0;
	border-color: transparent transparent transparent white;
	display: inline-block;
	position: absolute;
	top: 50%;
	right: 2%;
	z-index: 1;
	margin-top: -12px;
}

header .navbar-nav > li:hover > ul > li,header .navbar-nav > li:hover > ul > li:hover > ul > li{    
    width: 100%;	    
    background: #272525;		   
	text-align: center;
	margin-top: 2%;
	position: relative;
}

header .navbar-nav > li:hover > ul > li:hover > ul > li{		
	margin-top: 0;
	margin-left: 2%;
}

header .navbar-nav > li:hover > ul > li:hover > ul > li > a{
	color: white;
	text-decoration: none;
	padding: 15px;
	display: block;
}

header .navbar-nav > li:hover > ul > li > a,header .navbar-nav > li:hover > ul > li > a:hover{
	color: white;
	position: relative;
	display: block;
	padding: 15px;
}

header .navbar-nav > li:hover > ul > li > a:hover{
	text-decoration: none;
}

header .navbar-nav > li:hover > ul > li.submenu > a:hover{
	padding: 14px;
}

#home{
	position: relative;
	display: table;
	width: 100%;
	height: auto;
	text-align: center;
	color: #fff;
	background: url(../img/home.jpg) no-repeat;
	background-color: #5a5a5a;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#home .container{
	position: relative;
	height: 100%;
}

#home #socials{
	position: absolute;
	bottom: 25%;
	right: 10%;
}

#home #socials a{
	display: block;
	margin-top: 1em;
}

#language{
	position: absolute;
	bottom: 15%;
	right: 10%;
	background: #d1d1d1;		
}

#language a{
	text-decoration: none;
	color: white;
	position: relative;
    display: block;
    padding: 10px 15px;
}

.slogan{
	position: absolute;
	right: 10%;
	color: white;
	top: 40%;
	width: 25%;
	text-align: right;
}

.slogan h1{
	margin-top: 0;
	font-size: 2.5em;
}

#nosotros, #servicios{
	background: url(../img/nosotros.png) no-repeat;
	background-size: cover;
	width: 100%;
	height: 91.88888888888%;
	position: relative;
	padding: 10% 0;	
}

#clientes{
	padding: 5%;
	height: 91.88888888888%;
}

#contacto{
	padding: 3%;
	height: 90.88888888888%;
}

#contacto .img-contacto{
	background: url("../img/contacto.png");
	padding-bottom: 42%;
	background-repeat: no-repeat;
	background-position: center center;
}

#clientes .gray{
	background: rgb(58, 58, 58);
	color: white;
	text-align: center;
	font-size: 24px;
	padding: 6% 3%;
	border: 1px solid;
}

#contacto .contactanos{
	background: #272525;
	color: white;
	padding: 11.56% 5%;
	margin-left: 4%;
}

#contacto .contactanos .info{
	margin-bottom: 2%;
}

#contacto .contactanos .info span{
	margin-left: 1em;
	vertical-align: sub;
}

#contacto .contactanos #socials{
	margin-top: 2em;
}

#contacto .contactanos #socials a{
	overflow: hidden;
	display: inline-block;
}

#contacto .contactanos #socials a:last-child{
	margin-left: 1em;
}

#contacto .franja{
	border: 3px solid #272525;
	margin-top: .7em;
	margin-left: 4%;
	width: 90%;
}

#nosotros .franja{
	border: 3px solid #962330;
	width: 100%;
	margin-bottom: 1em;
}

#nosotros .certificacion{
	text-align: center;
}

/*Slider Principal*/
	
#c-slider{
	width: 75%;
	max-width: 1139px;
	position: relative;
	overflow: hidden;
	margin: 5% auto 0;
}

#c-slider h1{
	text-align: center;
	color: #bfbfbf;
	font-size: 2.5em;

}

.link{
	color: #272525;
}

.link:hover,.link:focus{
	color: #272525;
	text-decoration: none;
}

#btn-prev, #btn-next{
	position: absolute;
	top: 50%;
	font-size: 65px;
	cursor: pointer;
	color: #d1d1d1;
}

#btn-prev{
	left: 0;
}

#btn-next{
	right: 0;
}

#sliderHome{
	width: 700%;
}

#sliderHome > div{
	width: 14.28%;
	float: left;
	text-align: center;
}

#sliderHome img{
	width: 40%;
}

/*Slider*/

#show-img{
	padding: 35%;
	position: relative;
}

#show-img img{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
}

#slider{
	width: 80%;
	position: relative;
	margin: 0 auto;
}

#slider .slides{		
	width: 80%;
	overflow: hidden;
	margin: .5em auto 0;
	position: relative;
	height: 100px;
}

#slider .slides-movil{
	display: none;
}

#slider .slides .slides-container{
	padding: 0;
	width: 1570px;
	list-style: none;
}

#slider .slides .slides-container .slide{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: translateX(100%);
	-moz-transform: translateX(100%);
	-ms-transform: translateX(100%);
	-o-transform: translateX(100%);
	transform: translateX(100%);
	
}

#slider .slides .slides-container .slide div{
	display: inline-block;
	width: 100px;
	height: 100px;
	background: black;
	cursor: pointer;
}

#slider .slides .slides-container .slide img{
	width: 100%;
	height: 100%;
	opacity: .4;
}

#slider .slides .slides-container .slide .activa img{
	opacity: 1;
}

#slider .slides .slides-container .slide div:hover img{
	opacity: 1;
}

#controls{
	position: absolute;
	bottom: 2em;	
	width: 100%;
	text-align: center;
	font-size: 50px;		
}

#controls .prev{
	position: absolute;
	width: 86px;
	height: 100px;
	background: black;
	color: white;
	cursor: pointer;
}

#controls .next{
	position: absolute;
	color: white;
	right: 0;
	width: 90px;
	height: 100px;
	background: black;
	cursor: pointer;
}

#controls .prev:hover, #controls .next:hover{
	background: #962330;
}

#controls .prev span, #controls .next span{
	line-height: 2;
}

.caption{
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0,0,0,0.6);
	color: white;
	padding: 1em;
	text-align: right;
}

.caption .title{
	font-size: 1.7em;
	margin-bottom: 2%;		
}

.caption .content{
	font-size: 14px;		
	display: inline-block;
}

.caption .middle{
	width: 55%;
}

.caption .full{
	width: 85%;
}

.caption .content span{
	display: block;
}

#slider .slides .slide.activa{	
	position: relative;
	-webkit-transform: translateX(0);
	-moz-transform: translateX(0);
	-ms-transform: translateX(0);
	-o-transform: translateX(0);
	transform: translateX(0);
}

#slider .slides .slide.move-left{
	-webkit-transform: translateX(-100%);
	-moz-transform: translateX(-100%);
	-ms-transform: translateX(-100%);
	-o-transform: translateX(-100%);
	transform: translateX(-100%);
}

#slider .slides .slide.activa,#slider .slides .slide.is-moving{
	-webkit-transition: -webkit-transform 0.5s;
	-moz-transition: -moz-transform 0.5s;
	transition: transform 0.5s;
}

.modal {
  text-align: center;
  padding: 0!important;
}

.modal:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  margin-right: -4px;
}

.modal-dialog {
  display: inline-block;
  text-align: left;
  vertical-align: middle;
}

.modal-header{
	border: 0;
	padding: 0;
}

.modal-content{
	background: transparent;
	color: white;
	border: 0;
    box-shadow: none;
}

.modal-body{
	background: #962330;
	padding: 5%;
}

.modal-body .close{
	position: absolute;
	top: -4%;
	color: #962330;
	opacity: 1;
	right: -2%;
	background: white;
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 50px;
	line-height: 0;
}

.form-horizontal{
	position: relative;
	margin-bottom: 2em;
}

.btn-submit{
	background: white;
	color: #962330;
	border: 0;
	padding: 2% 5%;
	font-size: 14px;
	display: inline-block;
	position: absolute;
	right: 0;
}

.success{
	display: none;
}

.success img{
	width: 100%;
}

#body-home{
	overflow: hidden;
}

#spiders{
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	height: 100%;
}

@media only screen and (min-width: 992px) and (max-width: 1199px){
	body{
		font-size: 14px;
	}

	header .navbar-nav > li{
		width: 18%;
	}

	#home,#nosotros, #servicios{
		height: 91.55555555%;
	}

	#home #socials,#home #language{
		right: 5%;
	}

	#home .slogan{
		width: 40%;
	}

	#home .slogan h1{
		font-size: 3.3em;
	}

	.navbar-default .navbar-collapse{
		padding: 0;
	}

	.arrow{
		margin-top: -10px;
		border-width: 10px;
	}
	.submenu:after{
		width: 15px;
	}
	.submenu:hover:after{
		width: 15px;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a{
		width: 90%;
    	padding: 15px 10px;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a:hover{
		padding: 14px 9px;
	}

	#slider {
	    width: 80%;
	}

	#slider .slides {
	    width: 79.5%;
	}

	#slider .slides .slides-container .slide div {
	    width: 5.9em;
	}

	#controls .next,#controls .prev{
		width: 1.5em;
	}

	.caption .middle {
    	width: 80%;
	}

	.caption .title {
	    font-size: 2em;
	    margin-bottom: 2%;
	}

	.caption .content {
	    font-size: 12px;	    
	    margin: 0;
	}

	.caption .full {
    	width: 100%;
	}

	#contacto .contactanos {
		padding: 10.15% 5%;
		margin-left: 1%;
		margin-right: 1%;
	}

	#contacto .img-contacto{
		background-size: cover;
	}

	#contacto .franja{
		margin-left: 2%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px){

	body{
		font-size: 14px;
	}

	header .navbar-nav > li{
		width: 17%;
	}

	#home,#nosotros, #servicios{
		height: 91.55555555%;
	}

	#home #socials,#home #language{
		right: 5%;
	}

	#home .slogan{
		width: 40%;
	}

	#home .slogan h1{
		font-size: 3.3em;
	}

	.navbar-default .navbar-collapse{
		padding: 0;
	}

	.container{
		width: 100%;
	}

	.arrow{
		margin-top: -10px;
		border-width: 10px;
	}
	.submenu:after{
		width: 15px;
	}
	.submenu:hover:after{
		width: 15px;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a{
		width: 90%;
    	padding: 15px 10px;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a:hover{
		padding: 14px 9px;
	}

	#slider {
	    width: 100%;
	}

	#slider .slides {
	    width: 85%;
	}

	#slider .slides .slides-container .slide div {
	    width: 5.6em;
	}

	#controls .next,#controls .prev{
		width: 1em;
	}

	#portafolio .container {
    	width: 90%;
	}

	.caption .middle {
    	width: 80%;
	}

	.caption .title {
	    font-size: 2em;
	    margin-bottom: 2%;
	}

	.caption .content {
	    font-size: 12px;	    
	    margin: 0;
	}

	.caption .full {
    	width: 100%;
	}

	#contacto .contactanos {
	    padding: 1% 3% 0;
	    text-align: center;
	    margin: 0;
	}

	#contacto .img-contacto{
		background: url("../img/contacto-m.png");
		background-size: cover;
	}

	#contacto .title{
		margin: 0;
    	display: inline-block;
    	vertical-align: middle;
	}

	#contacto .contactanos .info {	    
	    display: inline-block;
	    margin: 0 2%;
	    vertical-align: middle;
	}

	#contacto .contactanos #socials {
	    margin-top: 2em;
	    display: inline-block;
	    margin: 0;
	    margin-left: 2%;
	    vertical-align: middle;
	}
}

@media only screen and (min-width: 481px) and (max-width: 767px){

	body{
		font-size: 14px;
	}

	#htm-home,#body-home, #home{
		height: 100%;
	}

	#nosotros, #servicios{
		height: 91.55555555%;
	}

	#home #socials {
	    bottom: 30%;
	}

	#home .slogan{
		width: 70%;
	}

	.slogan h1 {
	    margin-top: 0;
	    font-size: 2.6em;
	}

	#home #socials,#home #language{
		right: 5%;
	}

	/*MENU*/
	header .navbar-nav > li {
		width: 22.5%;
	}

	header .navbar-nav > li:hover > ul {
		width: 140%;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a,header .navbar-nav > li:hover > ul > li.submenu > a:hover{
		width: 85%;
	}

	#contacto .contactanos {
	    padding: 2% 3%;
	    text-align: center;
	    margin: 0;
	}

	#contacto .img-contacto{
		background: url("../img/contacto-m.png");
		background-size: cover;
	}

	#contacto .title{		
    	display: block;
    	vertical-align: middle;
    	margin-bottom: .5em;
	}

	#contacto .contactanos .info {	    
	    display: inline-block;
	    margin: 0 2%;
	    vertical-align: middle;
	}

	#contacto .contactanos #socials {
	    margin-top: 2em;
	    display: inline-block;
	    margin: 0;
	    margin-left: 2%;
	    vertical-align: middle;
	}

	#contacto .contactanos #socials {	    
	    margin-top: 1em;
	}

	#portafolio .content{
		display: none;
	}

	#portafolio .caption .title {
		font-size: 1.5em;
		margin-bottom: 2%;
	}

	#portafolio #slider {
		width: 100%;
	}

	#portafolio .slides,#portafolio #controls{
		display: none;
	}

	#portafolio .slides-movil{
		display: block;
		margin-top: 1em;
		text-align: center;
	}

	#portafolio .slides-movil div{
		display: inline-block;
		width: 100px;
		margin-bottom: .4em;
		background: black;
		cursor: pointer;
	}

	#portafolio .slides-movil div img{
		width: 100%;
		opacity: .4;
	}

	#portafolio .slides-movil div:hover img,#portafolio .slides-movil div.activa img {
	    opacity: 1;
	}

	.modal-dialog{
		width: 90%;
	}
}

@media only screen and (max-width: 480px){
	body{
		font-size: 12px;
	}

	#htm-home,#body-home, #home{
		height: 100%;
	}

	#home .slogan{
		width: 95%;
		top: 25%;
	}

	#home .slogan h1{
		font-size: 3.3em;
	}

	#home #socials,#home #language{
		right: 5%;
	}

	#home #socials{
		bottom: 20%;
	}

	#language {
	    bottom: 10%;
	}

	header .navbar-default .navbar-nav > li > a,header .navbar-default .navbar-nav > li > span, header .navbar-default .navbar-nav > li > span{
		padding: 10px;
	}

	header .navbar-nav > li{
		width: 22.5%;
	}

	header .navbar-nav > li:hover > ul{
		width: 160%;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a{
		width: 90%;
		padding: 10px;
	}

	.arrow{
		border-width: 5px;
		margin-top: -5px;
	}

	.submenu:hover:after{
		width: 10px;
	}

	.submenu:after{
		width: 10px;
	}

	header .navbar-nav > li:hover > ul > li.submenu > a:hover{
		padding: 10px;
	}

	#nosotros img{
		width: 100%;
	}

	#contacto .contactanos {
	    padding: 2% 3%;
	    text-align: center;
	    margin: 0;
	}

	#contacto .img-contacto{
		background: url("../img/contacto-m.png");
		background-size: cover;
	}

	#contacto .title{		
		display: block;
		vertical-align: middle;
		margin-bottom: .5em;
	}

	#contacto .contactanos .info {	    
		display: block;
		text-align: left;
		width: 65%;
		margin: 10px auto;
	}

	#contacto .contactanos #socials {
	    margin-top: 2em;
	    display: inline-block;
	    margin: 0;
	    margin-left: 2%;
	    vertical-align: middle;
	}

	#contacto .contactanos #socials {	    
	    margin-top: 1em;
	    display: block;
	}

	#clientes {	    
	    height: auto;
	}

	#portafolio .content{
		display: none;
	}

	#portafolio .caption .title {
		font-size: 1.5em;
		margin-bottom: 2%;
	}

	#portafolio #slider {
		width: 100%;
	}

	#portafolio .slides,#portafolio #controls{
		display: none;
	}

	#portafolio .slides-movil{
		display: block;
		margin-top: 1em;
		text-align: center;
	}

	#portafolio .slides-movil div{
		display: inline-block;
		width: 100px;
		margin-bottom: .4em;
		background: black;
		cursor: pointer;
	}

	#portafolio .slides-movil div img{
		width: 100%;
		opacity: .4;
	}

	#portafolio .slides-movil div:hover img,#portafolio .slides-movil div.activa img {
	    opacity: 1;
	}

	.modal-dialog{
		width: 90%;
	}

}