@charset "utf-8";
/* CSS Document */

#contact{
    color: #000;
    padding:30px 0;
    background:#f9f9f9;
    padding:30px 0 50px 0;
}

#contact .container{
    padding: 0px 10px;
    position: relative;
    max-width: 900px;
    margin:0 auto;
}

#contact .container .page-header{
    border-bottom: 2px solid #eaeaea;
    margin: 30px 0 25px;
    position: relative;
    display: flex;
    align-items: center;
    padding-bottom: 7px;
}

#contact h1{
    font-family: 'poppins bold';
    text-transform: uppercase;
    margin:0;
}

a.contact-mail{
    text-decoration: none;
    color: #d5c7b8;
    background-image: url("../images/texture-bg-light.jpg");
    background-size: cover;
    padding: 0.3em 0.7em;
    border-radius: 0.5em;
    position: absolute;
    right: 0;
    font-size: 14px;
}
a.contact-mail img{
    width:17px;
    margin-right: 10px;
}

a.contact-mail:hover{
    color: #b8212f;
}

form{
    margin-top:35px;
}

form input, form textarea{
    width:100%;
    padding:17px;
    border:0;
    border-radius: 7px;
    margin-top:5px;
    border:solid 2px #fff;
    /*text-align: left;*/
    outline: none;
    box-sizing : border-box;
    background-color: #110e0e;
    color: white;
    font-family: 'Poppins', sans-serif;
}
/*form input:hover, form textarea:hover{
    background-color: #ffffff;
}*/
form input:focus, form textarea:focus {
    border:solid 2px #b8212f;
}

::placeholder{
    color: rgb(177, 177, 177);
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    box-shadow: 0 0 0 30px rgb(34, 32, 31) inset !important;
    -webkit-box-shadow: 0 0 0 30px rgb(34, 32, 31) inset !important;
    -webkit-text-fill-color: white !important;
}

form textarea{
    height:171px;
    resize: none;
}

.left-contact{
    width:100%;

}
.right-contact{
    width:100%;
}

/*.btn-container{
    clear: both;
}*/

form #input-submit{
    /* margin-top:5px; */
    cursor: pointer;
    background-color: #b8212f;
    color:white;
    text-transform: uppercase;
    width:100%;
    /*width:150px;*/
    margin-left: auto;
    margin-right: auto;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;     
    transition: all 0.3s ease;
    /*clear: both;*/
    padding:20px 40px;
    -webkit-appearance: none;
    font-family: 'poppins semibold';
}
form #input-submit:hover {
    background-color: #cc3443;

}

#form-messages{
    font-family:"montserrat medium";
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;     
    transition: all 0.3s ease;
}
#form-messages.success{
    color:white;
    border-color:#68b247;
    background-color:#68b247;
    padding:15px;
    border: solid 2px;
    margin-top:25px;
    border-radius:25px;    
}
#form-messages.error{
    color:white;
    border-color:#b24747;
    background-color:#b24747;
    padding:15px;
    border: solid 2px;
    margin-top:25px;
    border-radius:25px;    
}
.g-recaptcha{
    margin-top:35px;
    display: inline-block;
    text-align: right;
}





@media screen and (max-width: 900px) {
    #contact .container .page-header{
        border-bottom: 0px solid #eaeaea;
        position: relative;
        display: block;
        text-align: center;
    }
    a.contact-mail{
        position: static;
        font-size: 14px;
    }
    #contact h1{
        margin-bottom: 5px;
    }
    form{
        margin-top: 15px;
    }
  }
  