*{box-sizing: border-box;}

body{
    width: auto;
    height: auto;
    margin: auto;
    max-width: 1920px;
}

#relleno{
    width: 100%;
    height: 58px;
    /*background-color: green;*/
}

/*CAROUSEL*/
.carousel{display: none;}

main{
    width: 100%;
    height: auto;
    margin-top: 20px;
    margin-bottom: 75px;
}

main #container{
    width: 90%;
    height: auto;
    margin: auto;
}

main h1{
    background-color: #024b67;
    padding: 15px;
    margin-top: -21px;
    margin-bottom: 20px;
    font-size: 1.9rem;
    color: white;
}

main h2{color: #024b67; margin-bottom: 20px; text-align: center;}

/*main p{font-size: 1.05rem; line-height: 1.8rem;}*/

main form{
    width: 100%;
    height: auto;
    margin: auto;
    padding-top: 15px;
}

main form input, main form textarea{
    width: 100%;
    height: 40px;
    display: block;
    margin-bottom: 20px;
    border-radius: 6px;
    outline: none;
    border: none;
    padding: 10px;  
    background-color:#ccc;  
}

main form input:focus, main form textarea:focus{
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.3);
    background-color:#90c8d9;
}

main form textarea{height: 200px;}

main form #enviar{
    background-color: #04B486;
    color: white;
    font-weight: bold;
}

/*////////////////////////////////*/

@media screen and (min-width:768px){
    main{
    width: 80%;
    margin: auto;
    padding-top: 25px;
    margin-bottom: 50px;
    }

    main #container{
    width: 65%;
    height: auto;
    margin: auto;
    }

    main h1{
    margin-top: 0;
    color: #024b67;
    background-color: transparent;
    }
}

@media screen and (min-width:992px){
    /*NAVBAR*/
    .navbar{
    width: 100%;
    height: 90px;
    max-width: 1920px !important;
    background-color: rgba(0, 0, 0, 0.05) !important;
    position:absolute !important;
    z-index: 1000 !important;
    top:0;
    /*left: 0;*/
    box-shadow: none;
    }
    
    .container-fluid{width: 91%;}
    
    .navbar .navbar-brand{display: none;}
    
    .navbar-brand-logo{
    display: block;    
    width: 150px;
    height: auto;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-brand-logo img{width: 100%; height: auto;}
    
    .navbar-nav {
    width: auto;
    height: 70px;
    border-bottom: none;
    position: absolute !important;
    right: 65px;
    margin-top: 32px;
    }
    
    .nav-item{
    width: auto;    
    margin-left:0;
    margin-top: 5px !important;
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    }    
    
    .nav-link{
    width: auto;
    height: 30px !important;
    border-bottom: none !important;    
    border-left: 1px solid rgba(255,255,255,0.35);
    font-size: 1rem !important;
    text-align: center !important;
    line-height: 32px;
    padding-top: 0;
    padding-left: 15px !important;
    padding-right: 15px !important;
    } 
    
    .primero{border-left:none;}
    
    .nav-link:hover{color:#07b7f2 !important; text-shadow: none;} 

    /*CAROUSEL*/
    #relleno{display: none;}
    .carousel{display: block;}
    .carousel, .carousel-inner, .carousel-item, .carousel img{
    height: 90px !important;
    }

    main{
    width: 80%;
    margin: auto;
    padding-top: 25px;
    margin-bottom: 50px;
    }
    
    main #container{
    width: 65%;
    height: auto;
    margin: auto;
    }
    
    main h1{
    margin-top: -28px;
    color: #024b67;
    background-color: transparent;
    }

}

@media screen and (min-width:1200px){
    main{
    width: 100%;
    margin: auto;
    padding-top: 25px;
    margin-bottom: 0;
    background-image: url(../imagenes/contactenos/banner.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    }
        
    main #container{
    width: 100%;
    height: auto;
    margin: auto;
    }

    main #container form{
    width: 30%;
    margin: auto;
    padding-bottom: 50px;
    }

    main form input, main form textarea{
    width: 100%;
    height: 40px;
    display: block;
    margin-bottom: 20px;
    border-radius: 6px;
    outline: none;
    border: none;
    padding: 10px;  
    background-color:#F2F2F2;  
    }

    main form textarea{height: 200px;}

    main form #enviar{
    background-color: #04B486;
    color: white;
    font-weight: bold;
    margin-bottom: 0;
    }
        
    main h1{
    background-color: #024b67;
    padding: 15px;
    margin-top: -48px;
    margin-bottom: 20px;
    font-size: 1.9rem;
    color: white;
    }
}



