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

[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-phone:before {
    content: "\e600";
    color: white;
    font-size: 60px;
}

.icon-envelop:before {
    content: "\e601";
    color: white;
    font-size: 60px;
}

.icon-location:before {
    content: "\e602";
    color: white;
    font-size: 60px;
}

.icon-google-plus:before {
    content: "\ea88";
    color: white;
    font-size: 50px;
    line-height: 70px;
    text-align: center;
    border-radius: 200px;
    background: rgb(221,75,57);
    display: inline-block;
    height: 70px;
    width: 70px;
}

.icon-facebook:before {
    content: "\ea8c";
    color: white;
    font-size: 50px;
line-height: 70px;
text-align: center;
border-radius: 200px;
background: rgb(59,89,152);
display: inline-block;
height: 70px;
width: 70px;
}
.icon-twitter:before {
    content: "\ea91";
    color: white;
    font-size: 50px;
line-height: 70px;
text-align: center;
border-radius: 200px;
background: rgb(95,169,221);
display: inline-block;
height: 70px;
width: 70px;
}

.icon-youtube3:before {
    content: "\ea99";
    color: white;
   font-size: 50px;
line-height: 70px;
text-align: center;
border-radius: 200px;
background: rgb(225,43,40);
display: inline-block;
height: 70px;
width: 70px;
}

@font-face {
	font-family: 'icomoon';
	src:url('fonts/flecha.eot?-r7jmyo');
	src:url('fonts/flecha.eot?#iefix-r7jmyo') format('embedded-opentype'),
		url('fonts/flecha.woff?-r7jmyo') format('woff'),
		url('fonts/flecha.ttf?-r7jmyo') format('truetype'),
		url('fonts/flecha.svg?-r7jmyo#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'icomoon';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-keyboard-arrow-up:before {
	content: "\e603";
}


@font-face {
  font-family: 'Montserrat-Bold';
  src: url('fonts/Montserrat-Bold.eot');
  src: url('fonts/Montserrat-Bold.eot?#iefix') format('embedded-opentype'),
       url('fonts/Montserrat-Bold.woff') format('woff'),
       url('fonts/Montserrat-Bold.ttf') format('truetype'),
       url('fonts/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
}

@font-face {
    font-family: 'LatoLatinBlack';
    src: url('fonts/LatoLatinBlack-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatinBlack-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatinBlack-Regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatinBlack-Regular.ttf') format('truetype'); 
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'LatoLatin';
    src: url('fonts/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
    src: url('fonts/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('fonts/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
         url('fonts/LatoLatin-Regular.ttf') format('truetype'); 
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

.ir-arriba{
	display: none;
	padding: 20px;
	background: #004aad;
	font-size: 30px;
	color: #fff;
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
}
#menu li a {
  font-family: 'Montserrat-Bold',sans-serif;
}

*{
    margin: 0;
    padding: 0;
}

header, nav{
    display: block;
}

/* Definimos un ancho 100% y una altura fija para nuestro menú */
header{
    background: rgb(13,27,52);
    border-bottom: solid 6px rgb(255,199,44);
    height:160px;
    position: relative;
    width: 100%;
    z-index: 3
}


/* El logo sera flotado a la izquierda */
#logo{
  
    display: block;
    float: left;
    margin: 16px 10px 0;
    padding: 0px 15px;
   
    text-indent: -9px
}

/* Nuestro nav con id #menu lo flotaremos a la derecha*/
#menu{float: right;}   

    /* Quitamos estilos por defecto de el tag UL */
    #menu ul{
        list-style: none;
        font-size: 14px;
    }
        
        /* Centramos y ponemos los textos en mayuscula */
        #menu li{
           display: block;
           font-size: 1.5em;
           float: left;
           padding: 25px 0px;
           text-transform: uppercase;
           text-align: center;
        }
            
            /* Damos estilo a nuestros enlaces */
            #menu li a{
                display: block;
                color: rgb(161,161,107);
                text-decoration: none;
                height: 70px;
                line-height: 70px;
                padding: 0 15px;
            }

#menu li a{
    color: rgb(169,169,169);
    text-decoration: none;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}
            #menu li a:hover{
                color: rgb(161,161,107);            
             }

             header #menu ul li a:hover{
     color: rgb(238,221,156);
    box-shadow: 0 -84px 0 #004aad inset;
}
header #menu ul li.active a {
      color: rgb(238,221,156);
    box-shadow: 0 84px 0 #004aad inset;
}
.nosotros{
background: url(img/nosotros-1.jpg) center fixed;
background-size: cover;
background-position: 50%;
}

.nosotros .overlay{
    background: rgba(13,27,52,0.95);
    
}
.servicios {
    background: url(img/g5.jpg) center fixed;
    background-size: cover;
    background-position: 50%;  
}
.servicios .overlay{
    background: rgba(13,27,52,0.75);
}
.space{
    padding: 5em 0;
}

.space h2{
     color: rgb(255,255,255);
     font-size: 35px;
     font-family: 'Roboto';
     text-align: center;
}

.subrayado{
    border-top: 6px solid rgb(255,199,44);
    max-width: 200px;
    margin: 2px auto;
    border-bottom: none;
}

.space article{
    text-align: center;
    margin: 40px;
    padding: 30px;
}
p{
    color: rgb(255,255,255);
    text-align: center;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
    margin: 30px 30px;
    padding: 30px 80px;
}

.space h4 {
    color: rgb(255,255,255);
     font-size: 35px;
     font-family: "Cinzel", serif;
     text-align: center;
}
.loseta{
background: url(img/3-1.jpg) center fixed;
background-size: cover;
background-position: 50%;
}

.loseta .overlay{
    background: rgba(13,27,52,0.75);
    text-align: center;
    
}

.space h1 {
background: rgba(255,199,44,0.85);
color: white;
font-size: 30px;
font-family: "Cinzel", serif;
text-transform: uppercase;
text-align: center;
padding: 40px;
margin: 0px 110px;
margin-bottom: 90px;
}

.space h3{
   background: rgb(0,73,177);
color: white;
font-size: 30px;
font-family: "Cinzel", serif;
text-transform: uppercase;
text-align: center;
padding: 40px;
margin: 0px 110px;
margin-bottom: 90px;
}

.loseta article img{
    width: 400px;
}
.loseta article{
    display: inline-block;
    text-align: center;
    padding: 0;
    margin: 0;
}
.loseta article p{
    background: rgb(13,27,52);
    text-align: center;
    margin: 0;
}
.galeria .overlay{
    background: rgba(0,0,0,0.75);
    text-align: center;
    
}
.facturacion{
    margin-bottom: 0;
}
.facturacion img{
    opacity: 0.9;
    width: 100%;
    margin: 0;
    padding: 0;
    
}

.instalacion{
    margin-bottom: 0;
}
.instalacion img{
    opacity: 0.9;
    width: 100%;
    margin: 0;
    padding: 0;
   }
.galeria{
    background: url(img/fondo_galeria-1.jpg) center fixed;
    background-size: cover;
    background-position: 50%;
}
.galeria h5{
     color: rgb(255,255,255);
     font-size: 35px;
     font-family: "Cinzel", serif;
     padding-top: 60px;
     text-align: center;
     text-transform: uppercase;
}
.subrayado2{
    border-top: 6px solid rgb(255,199,44);
    max-width: 200px;
    margin: 2px auto;
    border-bottom: none;
}

.miniaturas{
    display: inline-block;
    margin: 30px;
    width: 290px;
    height: 200px;
    
}

.contact{
    background: url(img/g-2.jpg) center fixed;
    background-size: cover;
    background-position: 50%;
}
.contact h6{
    background: rgb(0,74,173);
    color: white;
    font-size: 35px;
    font-family: "Cinzel", serif;
    text-align: center;
    margin: 0 420px;
    padding: 20px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15);
-webkit-border-radius: 3px;
-webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.2);
}

.contact h6:hover{
    background: rgb(255,199,44);
    color: white;
    border-radius: 5px 5px 5px 5px;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15);
-webkit-border-radius: 3px;
-webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.2);
}
.espacio{
    padding-top: 30px;
    padding-bottom: 10px;
}

.contact .overlay{
    background: rgba(255,255,255,0.55);
    text-align: center;
}

.t1{
    color: rgb( 0,74,173);
    font-size:44px; 
    text-align:center;
    padding: 0;
}

.t2{
    color: rgb(13,27,52 );
    font-size:44px; 
    text-align:center;
    padding: 0;
}

.formulario{
 background: url(img/form.jpg) center fixed;
    background-size: cover;
    background-position: 50%;

}

.overlay{
	background: rgba(0,75,140,0.84);
}



form input{
	margin: 20px 20px;
	border: none;
	width: 400px;
	font-size: 24px;
	padding: 10px;
	background: rgba(255,255,255,0.75);
}
form textarea{
	margin: 20px 20px;
	border:none;
	width: 400px;
	height: 200px;
	font-size:24px;
	padding: 10px;
	background: rgba(255,255,255,0.75);
}

form .button{
    background: rgb(0,74,173);
    border: 0;
    color: rgb(255,255,255);
    cursor: pointer;
    padding: 10px 26px;
    font-size: 28px;
    
        border-radius: 5px 5px 5px 5px;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15);
-webkit-border-radius: 3px;
-webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.2);
}

.form{
	display:inline-block;
	margin: 30px 90px;
}
.datos{
	font-size:25px;
    margin: 30px auto;
}
.form .datos, span{
	padding: 0 5px;
		color:white;
	display:inline-block;
}
footer{
    background: rgb(13,27,42);
    text-align: center;
    padding: 40px;
}
footer a{
    text-align: center;
    text-decoration: none;
    margin: 0 20px;
}

#pie{
    color: white;
    font-size: 20px;
    text-align: center;
    font-family: "Cinzel", serif;
    margin-top: 0;
}
.copy{
    color: white;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 24px;
    margin: 10px 20px;
    padding: 10px 0px;
}

    /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
        display: none;
        background: url(nav-1.png) no-repeat center center;
        border: none;
        outline: none;
        float: right;
        width: 60px;
        height: 60px;
        position: absolute;
        right: 0;
        top:0;
        

    }   
        /* Agregaremos esta clase a #nav-mobile, cuando el menu mobile haya sido desplegado */
        #nav-mobile.nav-active{
            opacity: 1;
        }


        .mapa-responsive {
    /* 1. Establece el contenedor para el posicionamiento absoluto del iframe */
    position: relative; 
    
    /* 2. Limita el ancho máximo (opcional, pero recomendado) */
    max-width: 100%; 
    
    /* 3. Fija la relación de aspecto (alto / ancho = 300 / 400 = 0.75) */
    padding-top: 75%; /* Esto crea el espacio reservado para el mapa */
    
    /* 4. Oculta cualquier desbordamiento si el iframe fuera más grande */
    overflow: hidden;
}

.mapa-responsive iframe {
    /* 5. Posiciona el iframe para que llene el espacio creado por el padding */
    position: absolute;
    top: 0;
    left: 0;
    
    /* 6. Asegura que el iframe ocupe todo el contenedor */
    width: 100%;
    height: 100%;
}



/**/
/**/
/*
    MEDIA QUERY
*/

/*Escrotorio pequeño    */
@media (min-width: 768px) and (max-width: 979px){
    .video iframe{

    height: 500px;
    width: 550px;
    text-align: center;
}

}
/*Escrotorio Tablet */
@media (max-width:  767px){

 .video iframe{
    height: 400px;
    width: 450px;
    text-align: center;

}


}
/*Telefono  */
@media (max-width:  550px){

.video iframe{

    height: 250px;
    
    width: 290px;
    
}

}



@media (min-width:  200px) and (max-width: 479px){

.video iframe{
	text-align: center;
    height: 220px;
    
    width: 250px;
    
}
.space article{
    text-align: center;
    margin: 0;
    padding: 0 0;
}
p{
    color: rgb(255,255,255);
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 24px;
    
}
.contact h6{
    background: rgb(0,74,173);
    color: white;
    font-size: 25px;
    font-family: "Cinzel", serif;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: inset 0 -4px 0 rgba(0,0,0,0.15);
-webkit-border-radius: 3px;
-webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.2);
}
}


@media only screen and (max-width: 878px) {
        
    h2{font-size: 40px;}
    
    /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
        width: 100%;
        float: none;
        padding-top: 160px;
    }
        /* Convertimos nuestra lista de enlaces en un menú horizontal */
        #menu ul{
            -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
            box-shadow: 0 1px 2px rgba(0,0,0,.5);
            max-height: 0;
            overflow: hidden;
        }
            /* estilos para los LI del menu */
            #menu li{
                background: #33363b;
                border-bottom: 1px solid #282b30;
                float: none;
                padding: 0;
            }

            /* Quitamos el borde del ultimo item del menú */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 10px 0;
                    height: auto;
                    line-height: normal;
                }
                #menu li a:hover{background:#2a2d33}

        /* Agregamos una animación al despligue del menú */
        #menu ul.open-menu{
            max-height: 400px;
            -webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
        }
}


