@import url(contacto.css);
@import url(construccion.css);
@import url(ingenieria.css);
@import url(nosotros.css);
@import url(mantenimiento.css);
@import url(videovigilancia.css);
@import url(gestoria.css);
@import url(grupo_ljf.css);
@import url(out_service.css);
@import url(normalize.css);
@import url(regreso_oficina.css);

@font-face {
font-family: 'JacksFont';
src: url(../fonts/JacksFont.ttf);
}

@font-face {
font-family: 'EdificeClassic_TB';
src: url(../fonts/EdificeClassic_TB.otf);
}

@font-face {
font-family: 'EdificeThin_TB';
src: url(../fonts/EdificeThin_TB.otf);
}

@font-face {
font-family: 'GauntletClassic_TB';
src: url(../fonts/GauntletClassic_TB.otf);
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/************** BODY **************/

body{
	margin: 0;
	background-size: 100vw 100vh;
	background-attachment: fixed;

}

/************** HEADER **************/

header{
	position:fixed;
	width: 100%;
	top: 0;
	background: #fff;
	border-top: 5px solid rgb(149,55,53);
	border-bottom: 1px solid rgba(149,55,53,0.5);
	z-index: 100;
}

.menu{
	width: 100%;
	max-width: 1024px;
	margin: auto;
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	justify-content: space-between;
	-ms-justify-content: space-between;
	-webkit-justify-content: space-between;
	align-items: center;		
}

.menu .logo{
	display: inline-block;
	margin-right: 1em;
}

.menu .logo img{
	vertical-align: top;
	height: 150px;
}

.menu .btn-menu{
	display: none;
	color: rgb(149,55,53);
	text-decoration: none;
	font-size: 1.5em;
}

.menu .logo:hover{
	background: #fff;
}

.menu .enlaces{
	display: table;	
	position: relative;
}

.menu .enlaces li{
	list-style: none;
}

.menu .enlaces > li{
	display: table-cell;
	padding-left: 0;
	padding-right: 0;
	float: left;
	padding: 0;
	margin: 0;
}

.menu .enlaces .servicios span{
	padding-left: 10px;
	padding-right: 10px;
}

.menu .enlaces .servicios:hover > ul{
	display: inline;
}

.menu .enlaces li a{
	text-decoration: none;
	color: rgb(149,55,53);
	font-family: 'GauntletClassic_TB';
	font-weight: bold;
	text-align: center;
	font-size: 0.9em;
}

.menu .enlaces > li > a{
	padding: 4.8em;
	padding-left: 25px;
	padding-right: 25px; 
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;

}

.menu .enlaces li > a:hover{
	background: rgb(149,55,53);
	color: white;
}

.menu .enlaces li > ul > li{	
	padding: 0;
	border-top: 1px solid rgba(149,55,53,0.5);
	background: rgba(248,224,230,0.92);
}

.menu .enlaces li > ul > li > a{
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	width: 100%;
	padding-top: 6px;
	padding-bottom: 6px;
	padding-right: 10px;
}

.menu .enlaces li > ul > li > a > i{
	padding-left: 10px;
	padding-right: 10px;
}

.menu .enlaces li > ul{
	display: none;
	position: fixed;	
	min-width: 280px;	
	box-shadow: 0px 2px 2px 0.2px rgba(0,0,0,0.5);
}

/*------------------------------------------------------------------------*/

/* Efectos del Menu */

.headroom{
	transition: transform .3s ease;
}

.headroom--pinned{
	transform: translateY(0%);
	background: #fff;
}

.headroom--unpinned{
	transform: translateY(-100%);
	background: #fff;
}

/* Mediaquerys header 1080px */

@media screen and (max-width: 1090px){

	header .menu .enlaces li > ul > li >a{
		text-align: left;
		padding-right: 20px;	
	}

}

/* Mediaquerys header 700px */

@media screen and (max-width: 700px){

	header .menu{
		flex-direction:column;	
		-ms-flex-direction:column;
		-webkit-flex-direction: column;
		padding: 0;
	}

	header .menu .logo{
		display: flex;
		display: -ms-flexbox;
		display: -webkit-flex;
		flex-direction: row;
		-ms-flex-direction: row;
		-webkit-flex-direction: row;
		justify-content: space-between;
		-ms-justify-content: space-between;
		-webkit-justify-content: space-between;
		width: 100%;
		padding: 0.4em;		
	}

	header .menu .logo .btn-menu{
		display: inline-block;
	}

	header .menu .enlaces{
		width: 100%;
		display: flex;
		display: -ms-flexbox;
		display: -webkit-flex;
		flex-direction: column;
		-ms-flex-direction: column;
		-webkit-flex-direction: column;
		background: #F8E0E6;		
	}

	header .menu .enlaces > li{		
		padding-left: 0;
		border-top: 1px solid rgba(149,55,53,0.5);
	}	

	header .menu .enlaces li a{
		padding-top: 12px;
		padding-bottom: 12px;
		padding-left: 10px;
		padding-right: 100%;
		text-align: left;		
	}	

	header .menu .enlaces li > ul{
		position: relative;	
		width: 100%;	
		margin: 0;
		height: auto;
		text-align: left;
		box-shadow: 0px 0px 0px 0px rgba(0,0,0,0);
	}

	header .menu .enlaces li > ul > li{
		background: rgba(149,55,53,0.2);
		top: 0;		
		padding: 0;
		margin: 0;	
	}

	header .menu .enlaces li > ul > li >a{
		padding-left: 0;
		padding-right: 0;
		padding-top: 6px;
		padding-bottom: 6px;
		margin: 0;
	}	

	header .menu .enlaces .servicios span{
		position: relative;
		margin: 0;
	}	

	header .menu .enlaces .servicios:hover > ul{
		display: inline;
		position: static;
	}
}


/* Mediaquerys header 450px */

@media (max-width: 450px){

	.menu .logo img{
		vertical-align: top;
		height: auto;
		min-height: 100px;
		max-height: 100px;
	}

	header .menu .logo{
		padding: 0.2em;		
	}

	header .menu .enlaces li > ul > li >a{
		padding-left: 0;
		padding-right: 20px;
		padding-top: 6px;
		padding-bottom: 6px;
		margin: 0;
	}
}



/************** MAIN **************/

/*main {
	width: 100%;
	max-width: 1024px;
	margin: auto;
	margin-top: 210px;	
	box-shadow: 0px 2px 5px rgb(0,0,0,0.75);
}*/




#c-slider{
	padding-top: 120px;
	margin: auto;
	width: 100%;
	position: relative;
	overflow: hidden;
	margin-bottom: 0;
	background: rgba(149,55,53,0.08);
	/*background-image: url("../imagenes/fondo2.jpg");
	background-size: 100% auto;*/
}

#slider{
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	width: 300%;
}

#slider section{
	width: 100%;
	height: 700px;
}

#slider section div{
	position: absolute;
	color: rgba(255, 255, 255, 0.9);
	transform: translateY(100%);
	transform: translateX(45%);
	font-family: 'GauntletClassic_TB';
	font-size: 60px;
	font-weight: bold;
	width: 1000px;
	height: 700px;
	background: yellow;
	text-align: center;
	position: absolute;
	top: 20%;
	display: flex;
	justify-content: center;
	padding-top: 30%;
}

#slider #slider_img1 div{
	animation: salida_slider 3s;
	animation-iteration-count: unset;
}

#slider #slider_img3 div{
	animation: salida_slider1 4.8s;
	animation-iteration-count: infinite;
}

#slider img{
	display: block;
	width: 1024px;
	height: 100%;
	margin: 0 auto;
}

#btn-prev, #btn-next{
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.2);
	position: absolute;
	top: 40%;
	transform: translateY(150%);
	line-height: 40px;
	font-size: 27px;
	font-weight: bold;
	color: white;
	text-align: center;
	border-radius: 50%;
	cursor: pointer;
	font-family: monospace;
}

#btn-prev{
	left: 10px;
}

#btn-next{
	right: 10px;
}

.c-des{
	background: #74B4EF;
	padding-top: 40px;
	padding-bottom: 40px;
	padding-left: 250px;
	padding-right: 250px;
	width: 100%;	
	position: relative;
	overflow: hidden;
	margin-top: -10px;
}

.c-des p{
	font-family: 'GauntletClassic_TB';
	font-size: 1.4em;
	font-weight: bold;
	color: #fff;
	text-align: center;
}

.c-serv{
	padding-top: 40px;
	padding-bottom: 60px;
	text-align: center;
	font-family: 'GauntletClassic_TB';
	text-shadow: 0.5px 0.5px 0.5px black;
	background: #fff;
}

.c-serv h1{
	color: #74B4EF;
	font-size: 3em;
}

.c-serv h2{
	color: rgb(149,55,53);
}

.c-line{
	padding-top: 10px;
	padding-bottom: 10px;	
	background: #fff;
	border-top:  1.5px solid rgb(149,55,53);
	text-align: center;
}

.c-line i{
	font-size: 1.5em;
	text-align: center;
	padding-left: 5px;
	padding-right: 5px;
	background: #fff;
	color: rgb(149,55,53);
	position: relative;
	transform: translateY(-100%);	
}

.c-serv1{
	background: #fff;
	display: table-cell;
	text-align: center;
	padding-left: 250px;
	padding-right: 250px;
}

.c-serv1 section{
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	display: inline-block;
	position: relative;
}	

.c-serv1 section a{
	text-decoration: none;
}	
.c-serv1 img{
	padding: 10px;
	width: 300px;
	height: 250px;
	border-radius: 10%;
	position: relative;	
}

.c-serv1 section img:hover{
		filter: brightness(50%);   
} 

.c-serv1 section img:hover +div{
		filter: brightness(50%);   
}  

.c-serv1 section div{
	padding: 10px 10px;
	background: rgba(12,105,159,0.85);
	bottom: 40px;
	position: relative;
	font-weight: bold;
	font-family: 'GauntletClassic_TB';
	font-size: 1.2em;
	text-shadow: 1px 1px 1px black;
	color: #fff;
	border-radius: 15px 15px;
}	

.whatsapp img{
	position: fixed;
	right: 15px;
	bottom: 20px;
	width: 60px;
	z-index: 1000;
}

/* Mediaquerys main 1550px */

@media screen and (max-width: 1550px){

	main .c-serv1 {
		padding-left: 100px;
		padding-right: 100px;
	}	
}

/* Mediaquerys main 1300px */

@media screen and (max-width: 1300px){

	main #btn-prev, #btn-next{
		transform: translateY(150%);
	}

	main #slider section{
		width: 100%;
	}

	main .c-des{
		padding-left: 100px;
		padding-right: 100px;
	}
}

/* Mediaquerys main 1023px */

@media screen and (max-width: 1023px){

	main #slider section{
		height: auto;
	}

	#slider img{
		width: 100%;
		height: 100%;
	}

	main .c-serv1 {
		padding-left: 0;
		padding-right: 0;
	}	

	.whatsapp img{
		position: fixed;
		right: 15px;
		bottom: 20px;
		width: 50px;
		z-index: 1000;
	}
}

/* Mediaquerys main 700px */

@media screen and (max-width: 700px){

	.menu .logo img{
		vertical-align: top;
		height: auto;
		min-height: 120px;
		max-height: 120px;
	}

	main{
		margin-top: 0;
		width: 100%;
	}

	main .c-des{
		padding-left: 30px;
		padding-right: 30px;
	}

	main .c-des p{
		font-size: 1.2em;
	}	

	main .c-serv h1{
		font-size: 25px;
	}

	main .c-serv h2{
		font-size: 20px;
	}

	main .c-serv1 img{
		width: 250px;
		height: 200px;
	}

	main .c-serv1 section{
		padding-top: 5px;
		padding-bottom: 5px;
		padding-left: 10px;
		padding-right: 10px;
		display: inline-block;
	}

	main .c-serv1 section div{
		padding: 2px 2px;
		bottom: 30px;
		font-size: 16px;
	}	

	.whatsapp img{
	position: fixed;
	right: 10px;
	bottom: 20px;
	width: 40px;
	z-index: 1000;
	}

}

/* Mediaquerys main 450px */

@media (max-width: 450px){
	
	main{
		margin-top: 100px;
		width: 100%;
	}

	main #c-slider{
		display: none;
	}

	main .c-des p{
		font-size: 1em;
	}		

	main .c-serv h1{
		font-size: 22px;
	}

	main .c-serv h2{
		font-size: 18px;
	}

	main .c-serv1 {
		padding-left: 0;
		padding-right: 0;
	}	

	main .c-serv1 section{
		padding-top: 0;
		padding-bottom: 0;
		padding-left: 5px;
		padding-right: 5px;
		display: inline-block;
	}	

	main .c-serv1 section a {
		padding-left: 15px;
		padding-right: 15px;
	}

	main .c-serv1 section a div{
		padding-left: 5px;
		padding-right: 5px;
	}

	main .c-des{
		padding-top: 80px;
	}
}


/* Mediaquerys main 300px */

@media (max-width: 300px){

	main .c-serv1 img{
		width: 200px;
		height: 150px;
	}
	
	main .c-serv1 section{
		padding-left: 5px;
		padding-right: 5px;
	}
}


/************** FOOTER **************/

footer{
	position: relative;
	top: 0;
	width: 100%;
	background: #565C5F;
}

.bfoter{
	margin: auto;
	display: flex;
	display: -ms-flexbox;
	display: -webkit-flex;
	flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	justify-content: center;
	-ms-justify-content: center;
	-webkit-justify-content: center;
	width: 100%;
	max-width: 1024px;
	padding-top: 10px;
	padding-bottom: 10px;
}

footer section h1{
	font-family: 'GauntletClassic_TB';
	text-decoration: none;
	color: #fff;
	padding-left: 10px;
	padding-right: 10px;
	font-size: 1.3em;
}

.bfoter i{
	font-size: 2em;
	color: #fff;
}

.bfoter h1{
	padding-bottom: 10px;
}

.bfoter .bcont{
	display: inline-block;
}

.bfoter .bcont h1{
	flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	padding-left: 0;	
}

.bfoter .bcont h2{
	flex-direction: row;
	-ms-flex-direction: row;
	-webkit-flex-direction: row;
	font-family: 'GauntletClassic_TB';
	font-size: 1em;
	color: #fff;
	text-decoration: none;
	padding-right: 0.5em;
	padding-left: 0.5em;
	padding-top: 5px;
	padding-bottom: 5px;
	margin: 0;
}

.bfoter .bcont h2 i{
	font-size: 1.1em;
}

.bfoter .bcont a{
	text-decoration: none;
	margin-top: 0;
	padding-top: 0;
	margin-left: 8px;
}

.bfoter .bcont a i:hover{
	color: #74B4EF;
}

.bfoter .bserv {
	padding-left: 100px;
}

.bfoter .bserv h1{
	padding-left: 0;	
}

.bfoter .bserv li a{
	color: #fff;
	text-decoration: none;
	list-style: none;
	font-family: 'GauntletClassic_TB';	
	padding-right: 100px;
}

.bfoter .bserv li{
	list-style: none;
	border-bottom: 1px solid rgba(255,255,255,0.4);
	padding-top: 5px;
	padding-bottom: 5px;
}

.bfoter .bserv .lvideovigilancia{
	border-bottom: none;
}

.bfoter .bserv li a:hover{
	color: #81BEF7;
}

/* Mediaquerys footer 700px */

@media screen and (max-width: 700px){

	footer .bfoter{
		flex-direction: column;	
		-ms-flex-direction: column;
		-webkit-flex-direction: column;
		padding-top: 10px;	
		text-align: center;
		justify-content: center;
		-ms-justify-content: center;
		-webkit-justify-content: center;
	}

	footer .bfoter .bcont h1{
		text-align: center;
		padding-bottom: 10px;
		padding-left: 0;
		padding-right: 0;		
	}

	footer .bfoter .bcont h2{
		justify-content: center;
		-ms-justify-content:center;
		-webkit-justify-content: center;
		text-align:center;
	}

	footer .bfoter .bcont a{
		margin-left: 0;
	}

	footer .bfoter .bserv h1{
		justify-content: center;
		-ms-justify-content: center;
		-webkit-justify-content: center;
		padding-top: 40px;
		padding-bottom: 20px;
		padding-left: 0;
		padding-right: 0;
		margin: 0;
	}

	footer .bfoter .bserv li{
		justify-content: center;
		-ms-justify-content: center;
		-webkit-justify-content: center;
		margin: 0;
	}		

	footer .bfoter .bserv li a{
		justify-content: center;
		-ms-justify-content: center;
		-webkit-justify-content: center;
		padding-left: 0;
		padding-right: 0;
	}		

	footer .bfoter .bserv{
		width: 100%;
		padding: 0;
	}	
}

/* Mediaquerys 450px */

@media (max-width: 450px){

	footer .bfoter .bserv{
		width: 100%;
		padding: 0;	
		text-align: center;	
	}
}

/* KEYFRAMES */

@keyframes salida{
	from{
		width: 50px;
		height: 110px;
		opacity: 0;
	}
}

@-webkit-keyframes salida{
	from{
		width: 50px;
		height: 110px;
		opacity: 0;
	}
}

@-moz-keyframes salida{
	from{
		width: 50px;
		height: 110px;
		opacity: 0;
	}
}

@keyframes salida_slider{
	from{
		top:-80%;
		height: 200px;
	}
}

@keyframes salida_slider1{
	from{
	
		height: -110px;
		color: red;
	}
}
