
/*----------------------------------------------------------------
   ESTILOS CONTACTO
----------------------------------------------------------------*/

body { margin: 0px;}

.contacto{    
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #394146;    
    width: 330px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 1px;           
}
.contacto label{
    display: block; 
    padding-bottom: 5px;
}
.contacto div{
    margin-bottom: 10px;
}
.contacto input[type='text'], .contacto textarea{
    padding: 10px 12px;
    width: 294px;   
    resize: none;
    margin: 5px 0;
    font-family: 'Roboto Condensed', sans-serif;   
    font-weight: 300; 
    font-size: 16px;
    color: #394146;
    border: 1px solid #b1b1ac;
    border-radius: 6px;
    background-color:#FFF;
}
.contacto input[type='text']:focus, .contacto textarea:focus{
    outline: none;
}
.contacto input[type='text'].invalido, .contacto textarea.invalido{
    box-shadow:0 0 0 3px #FFC9C9;
}
.contacto input[type='submit'] {
    position: relative;    
    font-size: 20px;
    font-weight: 300;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;        
    background: #142A79;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    outline: 0 !important;    
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    margin-left: 165px;    
}
.contacto input[type='submit']:hover{
   background: #142A79;
}
.contacto input[type='submit']:active{  
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
      
}
.error {
    background-color: #e89494;
    border-radius: 4px 4px 4px 4px;
    color: #fff;
    margin-left: 85px;
    margin-top: -34px;
    padding: 8px 12px;
    position: absolute;
    font-size: 13px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.0);
}
.error:before{
    border-color: transparent #e89494 transparent transparent;
    border-style: solid;
    border-width: 6px 8px;
    content: "";
    display: block;
    height: 0;
    left: -16px;
    position: absolute;
    top: 9px;
    width: 0;
}

.error:before{
    border-color: transparent #e89494 transparent transparent;
    border-style: solid;
    border-width: 6px 8px;
    content: "";
    display: block;
    height: 40px \0/;
    left: -16px;
    position: absolute;
    top: -18px \0/;
    width: 20px \0/;
}

.result_fail{
    background: none repeat scroll 0 0 #ffb8b8;
    border-radius: 6px 6px 6px 6px;
    color: #924141;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
}
.result_ok{
    background: none repeat scroll 0 0 #bdedb2;
    border-radius: 6px 6px 6px 6px;
    color: #507d46;
    font-weight: bold;
    padding: 10px 20px;
    text-align: center;
}

input:-webkit-autofill {
    -webkit-box-shadow:0 0 0 50px white inset; /* Change the color to your own background color */
    -webkit-text-fill-color: #666666;
}
input:-webkit-autofill:focus {
    -webkit-box-shadow: /*your box-shadow*/,0 0 0 50px white inset;
    -webkit-text-fill-color: #666666;
}

label {
    cursor: default;
}
h1 {    
    font-size: 35px;    
    font-family: sans-serif;
    color: #2E4492;  
    text-align: center;  
}

p {    
    font-size: 20px;
    font-weight: 300;
    font-family: 'Roboto Condensed', sans-serif;
    color: #5F5F5F;
    text-align: center;  
}

.textocustom{
    background: rgba(195, 195, 195, 0.2) !important;
    border-radius: 10px;
    padding:5px;
    color:#003688;
}

/* Mobile */

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

    .contacto{    
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 18px;
    color: #394146;    
    width: 98%;
    padding-left: 2%;
    padding-top: 10px;
    padding-bottom: 50px; 
    margin-top: 100px;      
    }
    .contacto input[type='text'], .contacto textarea{
    padding: 10px 12px;
    width: 100%;
    resize: none;
    margin: 5px 0;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: #394146;
    border: 1px solid #b1b1ac;
    border-radius: 6px;
    background-color: #FFF;
    max-width: calc(95% - 1rem);
    }
    .contacto input[type='submit'] {
    position: absolute;
    font-size: 20px;
    font-weight: 300;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: #142A79;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    outline: 0 !important;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 15px;
    padding-bottom: 10px;
    margin-left: 0;    
    right: 0%;
    margin-right: 3%;   
    -webkit-appearance: none; 
    }
}

.parrafocontacto {
font-size: 18px;    
}