@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700');

@font-face {
    font-family: "Sansation";
    src: url(Sansation/Sansation.ttf) format("truetype");
}

*{
	margin:0;
	padding: 0;
}
a{
	text-decoration: none;
}
p{
	text-align: justify;
}
body{
	font-family: 'Lato', sans-serif;
    background-color: #d1d7db;

}
header{
	width: 100%;
    max-width: 1200px;
	height: 150px;
    margin:0 auto;
	background: white;
}



#logo {
    display: inline-block;
    float: left;
    z-index: 10;
    width: 300px;
    margin-top: 15px;
    margin-left: 80px;
}
#logo img{
    width: 100%;
}

#menu {
    width: 60%;
    display: inline-block;
    z-index: 10;
    padding-top: 40px;
    margin-left: 50px;
}

#menu ul {
    list-style: none;
    font-size: .9em;
    display: block;
    margin: 0;
    float: right;
}

#menu li {
    display: block;
    float: left;
    text-transform: uppercase;
    list-style: none;
    height: 50px;
    padding-top: 30px;
    margin-right: 15px;
}

#menu li a {
    text-align: center;
    color: #293275;
    padding: 2px 2px;
    display: block;
    text-decoration: none;
}
#menu li a:hover{
                color: #F39200;
                border-bottom: medium;
                border-bottom-color: #F39200;
                border-bottom-style:solid;
} 
.fact{
       width: 150px;
    padding-top: 0px !important;
    margin-right: 0px !important;
}
.fact img{
    width: 100%;
}
.fact a:hover
{
    cursor: pointer;
    opacity: 0.8;
}

.fondo{
    background-image: url(../images/bg.png);
    background-size: cover;
    background-position: left bottom;
}

.contenedor{
	width: 100%;
	max-width: 1200px;
	height: auto;
	margin:0 auto;
}

.full{
	width: 100%;
	height: auto;
	margin: 0;
	 overflow-x: hidden;
	 position: relative;
	 padding: 0;
}

.img-empresa{
	width: 80%;
    margin: 0 auto;
    margin-top: 250px;
}
.text-empresa{
	width: 90%;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 150px;
    color: #293275;
}
.borde{
    width: 50%;
    height: 5px;
    background: #2e318b;
    margin: 10px 0;
}

.barra{
    width: 100%;
    max-width: 1200px;
    margin:0 auto;
    height: 20px;
    background: url(../images/divisor.png);
    display: block;
    position: relative;
}
.barra-servicios{
    width: 90%;
    margin:0 auto;
    height: 20px;
    background: url(../images/divisor.png);
    background-position: right;
}
.servicio{
    width: 90%;
    /*min-height: 1150px;*/
    min-height: 700px;
    margin:0 auto;
    background-color: #293275;
    color:white;
    padding: 10%;
    font-weight: lighter;
    font-size: 14px;
}
.bg-servicio{
    background-image: url(../images/esquina.png);
    background-position: 0px 918px;
    background-repeat: no-repeat;
}
.servicio h3 {
    font-family: "Sansation";
    font-size: 3em;
    margin-top: 20px;
    text-transform: uppercase;
}
.servicio h4{
    font-weight: bold;
    margin: 15px 0;
}

.contacto{
    width: 80%;
    margin:0 auto;
    margin-top: 20%;
    margin-bottom: 20%;
    text-align: justify;
}
.top{
    margin-top: 50px;
}
.icon{
    width: 15px;
    margin-left: 5px;
}
.titulo-servicio{
margin-left: 100px;
    width: 250px;
    padding-top: 100px;
}

form{
    width: 80%;
    margin:0 auto;
    margin-top: 20%; 
}

input[type="text"],input[type="email"]{
    width: 90%;
    height: 50px;
    margin: 10px 10px 10px 20px;
    background-color: #293275;
    color: white;
    font-size: 15px;
    padding-left: 10px;
    border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;

}

input[type="text"]:focus,input[type="email"]:focus,
input[type="text"].focus, input[type="email"].focus {
  border: solid 1px #707070;
  box-shadow: 0 0 5px 1px #969696;
}
input::placeholder { color: white; font-weight: lighter; }
input:-ms-input-placeholder { color: white; font-weight: lighter; } /* IE 10+ */
input::-webkit-input-placeholder { color: white; font-weight: lighter; } /* WebKit */
input::-moz-placeholder { color: white; font-weight: lighter; } /* Firefox 19+ */

textarea::placeholder { color: white; font-weight: lighter; }
textarea:-ms-input-placeholder { color: white; font-weight: lighter; } /* IE 10+ */
textarea::-webkit-input-placeholder { color: white; font-weight: lighter; } /* WebKit */
textarea::-moz-placeholder { color: white; font-weight: lighter; } /* Firefox 19+ */

.mensaje{
    display: inline-block;
    width: 100%;
    float: left;
    position: relative;
    left: 10px;
    
}
.mensaje textarea{
    width: 90%;
    height: 190px;
    margin: 10px 10px;
    background-color: #293275;
    color: white;
    font-size: 15px;
    padding: 15px 10px;
    border: solid 1px #dcdcdc;
  transition: box-shadow 0.3s, border 0.3s;
}
.mensaje button{
    width: 20%;
    height: 40px;
    background-color: #f7931e;
    position: relative;
    left: 325px;
    border: solid 1px #f7931e;
    transition: box-shadow 0.3s, border 0.3s;
    color: black;
    text-transform: uppercase;
}
.mensaje button:hover{
    background-color: #293275;
    color: white;
    border: solid 1px #293275;
  transition: box-shadow 0.3s, border 0.3s;
  cursor: pointer;
}

footer{
    width: 100%;
    max-width: 1200px;
    margin:0 auto;
    height: 70px;
    background: #293275;
    padding-top: 25px;
    color: white;
    font-weight: lighter;
    font-size: 14px;
}
.text-foot{
    float: right;
    margin-right: 100px;
}
.text-foot a{
    text-decoration: none;
    color: white;
}

.clear{
    width: 100%;
    height: 50px;
}
.pb{
    padding-bottom: 50px;
}

.ir {
    display:none;
    padding:20px;
    background:#293275;
    font-size:20px;
    color:#fff;
    cursor:pointer;
    position: fixed;
    bottom:20px;
    right:20px;
    width: 50px;
    height: 50px;
    background-image: url(../images/up.png);
    background-size: 60%;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 9999;
}

.ir img{
    width: 100%;
}

.bg-gota{
    background-image: url(../images/gota.png);
    background-position: right center;
    background-position-y: 20px;
    background-repeat: no-repeat;
}

.fac{
    width: 180px;
    height: 50px;
    margin: 0 auto;
    background-image: url(../images/factura-aqui.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #215da3;
    background-position: center;
    display: block;
    border-radius: 10px;
    border: 1px solid #2b3989;
}
.fac:hover{    
    background-color: #f7931e;  
}
.fac2{
    width: 180px;
    height: 50px;
    margin: 0 auto;
    background-image: url(../images/boton-fact.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #2e318b;
    background-position: center;
    display: block;
    border-radius: 10px;
   animation: float 6s ease-in-out infinite;
}
.fac2:hover{    
    background-color: #f7931e;  
}

.titulo-fac h3 {
    font-family: "Sansation";
    font-size: 2.6em;
    margin-top: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.titulo-fac{
    width: 90%;
    margin: 0 auto;
    padding-top: 120px;
    color: #293275;
}
.bg-fac {
    background-image: url(../images/esquina.png);
    background-position: 0px 320px;
    background-repeat: no-repeat;
}
span{
    color: #f7931e;
}

@media only screen and (min-width: 320px) and (max-width: 1000px) {

header {
    width: 100%;
    max-width: 1200px;
    height: 100px;
    margin: 0 auto;
    background: white;
}
.barra {
    background-size: cover;
    background-position: center;
}
.text-tab {
    width: 80% !important;
    font-size: 14px;
}

#logo{
    background: url(../images/logo.png) no-repeat 0 0;
    background-size: cover;
    display: block;
    float: left;
    width: 150px;
    height: 60px;
    text-indent: -9999px;
    margin: 10px 10px;
}
 /* Estilos #nav-mobile y lo ocultamos */
    #nav-mobile{
    background: url(../images/menu.png) no-repeat center center;
    background-size: 50%;
    float: right;
    width: 45px;
    height: 45px;
    position: absolute;
    right: 15px;
    top: 35px;
    background-color: #2e318b;
    }   
        /* Agregaremos esta clase a #nav-mobile, cuando el menu mobile haya sido desplegado */
        #nav-mobile.nav-active{
            opacity: 0.5;
        }
    
    
     /* mostramos #nav-mobile */
    #nav-mobile{ display: block; }

    /* Fijamos nuestro nav en 100% ancho y dejamos de flotarlo  */
    #menu{
    width: 100%;
    float: right;
    padding-top: 0px;
    }
        /* 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;
            width: 100%;
             z-index: 500;
        }
            /* estilos para los LI del menu */
            #menu li{
        background: rgba(46, 49, 139, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    float: none;
    padding: 0;
    width: 100%;
    height: 50px;
    z-index: 500;
    text-align: center;
            }

            /* Quitamos el borde del ultimo item del menÃº */
            #menu li:last-child{ border-bottom: 0;}
                #menu li a{
                    padding: 15px 0;
                    height: auto;
                    line-height: normal;
                    color: white;
                }
                #menu li a:hover{opacity: 0.8;}

        /* Agregamos una animaciÃ³n al despligue del menÃº */
        #menu ul.open-menu{
            max-height: 600px;
            -webkit-transition: max-height .4s;
            -moz-transition: max-height .4s;
            -ms-transition: max-height .4s;
            -o-transition: max-height .4s;
            transition: max-height .4s;
            position: absolute;
        }
.fact img {
    width: 30%;
    margin-top: -10px;
}
.img-empresa {
    margin-top: 0px;
}
.text-empresa {
    width: 90%;
    margin: 0 auto;
    margin-top: 0px;
    margin-bottom: 50px;
    color: #293275;
}
.titulo-servicio {
    margin-left: 10px;
    margin-top: 0px ;
}
.servicio {
    min-height: auto;
}
.contacto {
    margin-top: 0px;
    margin-bottom: 0px;
}
.servicio h3 {
    font-size: 2.5em;
}
form {
    width: 100%;
    margin: 0 auto;
    margin-top: 0px;
}
.mensaje button {
    width: 100px;
    height: 40px;
    background-color: #f7931e;
    position: relative;
    left: 10px;
    border: solid 1px #f7931e;
    transition: box-shadow 0.3s, border 0.3s;
    color: black;
    text-transform: uppercase;
}
.text-foot {
    float: none;
    margin-right: 0px;
    width: 80%;
    margin: 0 auto;
    /* text-align: center; */
    font-size: 10px;
}
.text-foot p{
    text-align: center;
}
.bg-gota {
    background-image: url(../images/gota.png);
    background-position: right center;
    background-position-y: 60px;
    background-repeat: no-repeat;
    background-size: 30%;
}
.titulo-fac {
    width: 90%;
    margin: 0 auto;
    padding-top: 0px;
    color: #293275;
}
.titulo-fac h3 {
    font-family: "Sansation";
    font-size: 2em;
    margin-top: 12px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

}

@keyframes float {
    0% {
        
        transform: translatey(0px);
    }
    50% {
    
        transform: translatey(-10px);
    }
    100% {
        
        transform: translatey(0px);
    }
}