/*
 To change this license header, choose License Headers in Project Properties.
 To change this template file, choose Tools | Templates
 and open the template in the editor.

 Created on : 23/06/2016, 12:59:15
 Author     : Robson V. Leite <robsonvleite.com>
*/

.wc_contact_modal{
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 101;
}

.wc_contact_modal_content{
    display: block;
    width: 80%;
    max-width: 90%;
    margin: 5% auto 0 auto;
    background: #fff;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    position: relative;
    padding: 30px;
    min-height: 200px;
}
.wc_contact_close{
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 7px 12px;
    cursor: pointer;
    opacity: 1;
}

.wc_contact_close:hover{
    opacity: 0.7;
}

.wc_contact_modal_content header{
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.wc_contact_modal_content header h3{
    display: block;
    font-size: 1.7em;
    font-weight: 300;
    padding-bottom: 6px;
    font-family: 'Montserrat';
}

.wc_contact_modal_form{
    padding-bottom: 5px;
}

.wc_contact_modal_form .form_item {
    position: relative;
    margin-bottom: 30px;
}
.wc_contact_modal_form .form_item label{
    color: #444;
    font-weight: 600;
    font-size: 21px;
    position: absolute;
    z-index: 1;
    top: 10px;
    left: 2%;
    height: 24px;
    width: auto;
    white-space: nowrap;
    pointer-events: none;
    transition: 0.2s ease all;
    -moz-transition: 0.2s ease all;
    -webkit-transition: 0.2s ease all;
}
.wc_contact_modal_form input:focus ~ label, .wc_contact_modal_form input:valid ~ label,
.wc_contact_modal_form input:focus ~ label, .wc_contact_modal_form input:disabled ~ label,
.wc_contact_modal_form textarea:focus ~ label, .wc_contact_modal_form textarea:valid ~ label{
    top: -20px;
    font-size: 12px;
}
.wc_contact_modal_form .form_item.required label:after {
    content: '*';
    color: #e40037;
    padding: 0 2px;
}
.wc_contact_modal_form input,
.wc_contact_modal_form select,
.wc_contact_modal_form textarea{
    padding: 10px;
    border: 1px solid #444;
    resize: none;
    outline: 0;
    color: #444;
    font-weight: 600;
    font-size: 21px;
}
.wc_contact_modal_form textarea{
    height: 130px;
}


.wc_contact_modal_button{
    text-align: center;
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-radius: 0 0 5px 5px;
}

.wc_contact_modal_button .btn,
.wc_contact_modal_button img{
    display: inline-block;
    vertical-align: middle;
}

.wc_contact_modal_button .btn{
    padding: 10px 20px;
    text-transform: uppercase;
    font-family: 'Montserrat';
    font-size: 1.2em;
}

.wc_contact_modal_button img{
    margin-left: 10px;
    display: none;
}

.wc_contact_error{
    padding: 12px;
    background: #cf7171;
    margin-bottom: 20px;
    color: #fff;
    font-size: 0.875em;
    font-weight: 400;
    display: none;
    text-align: center;
    text-shadow: 1px 1px 0 #713B3B;
}

.wc_contant_sended{
    text-align: center;
}

.wc_contant_sended .h2{
    font-size: 1.2em;
    font-weight: bold;
    color: #008B6F;
}

.wc_contant_sended .h2 span{
    display: inline-block;
    background: #008B6F;
    margin-bottom: 10px;
    font-size: 2em;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50%;
}

.wc_contant_sended p{
    margin-top: 15px;
}
@media(max-width: 768px){
    .wc_contact_modal{
        overflow: auto;
    }
    .wc_contact_modal_content{
        width: 100%;
        padding: 30px 5px;
    }
    .wc_contact_close{
        width: 50px;
        right: 0;
        top: 0;
    }
    .wc_contact_modal_content header h3{
        font-size: 1.1em;
    }
}