/**/
::-webkit-input-placeholder{color:#777 !important}
:-moz-placeholder{color:#777 !important}
::-moz-placeholder{color:#777 !important}
:-ms-input-placeholder{color:#777 !important}
/**/

.form-whats-sidebar{
    width: 300px;
    height: 350px;
    background-color: #fff;
    padding: 0 10px 20px 10px;
	position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: rgba(0, 0, 0, 0.16) 0 0 20px 0;
}

.topo-formulario{
    width: 100%;
    height: 55px;
    background-color: #455a64;
    box-shadow: 10px 0 0 0 #455a64, -10px 0 0 0 #455a64;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topo-formulario:before{
    width: 35px;
    height: 35px;
    display: block;
    content: "";
    background-image: url(icone-whatsapp.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 35px;
    margin: 0 5px 0 0;
}
.topo-formulario:after{
    width: 135px;
    height: 35px;
    display: block;
    content: "";
    background-image: url(escrita-whatsapp.svg);
    background-position: 0 center;
    background-repeat: no-repeat;
    background-size: 135px;
    margin: 5px 0 0 0;
}

#wrapper .form-whats-sidebar h2{
    text-align: center;
    position: relative;
    color: #6dc866;
    font-size: 22px;
    line-height: 28px;
    margin: 0 0 3px 0;
    font-weight: 700;
}

#wrapper .form-whats-sidebar p{
    margin: 0 0 15px 0 !important;
    font-weight: 700 !important;
    color: #666 !important;
    line-height: 18px !important;
    font-size: 15px !important;
    text-align: center;
}

.form-whats-sidebar div.campos{padding: 0 10px;}

.form-whats-sidebar input[type="text"], .form-whats-sidebar input[type="tel"]{
    height: 52px;
    margin: 0 0 10px 0;
    outline: none;
    padding: 0 0 0 35px;
    font-size: 15px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    background-color: #f7f7f7 !important;
}

.form-whats-sidebar #nome{
    width: 100%;
    background-image: url(pessoa-formulario.svg);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 25px;
}

.form-whats-sidebar #ddd-whats{
    width: 31%;
    float: left;
    background-image: url(local-formulario.svg);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 25px;
}

.form-whats-sidebar #telefone-whats{
    width: 66%;
    float: right;
    background-image: url(celular-formulario.svg);
    background-position: 5px center;
    background-repeat: no-repeat;
    background-size: 25px;
}

.form-whats-sidebar label{display: none !important;}

.form-whats-sidebar input[type="submit"]{
    width: 100%;
    max-width: 260px;
    height: 52px;
    background-color: #43cc58;
    font-weight: 700;
    border: none;
    color: #fff;
    font-family: 'Quicksand', sans-serif;
    border-radius: 5px;
    margin: 20px auto 0;
    display: block;
    font-size: 20px;
    outline: none;
    -webkit-appearance: none;
}
.form-whats-sidebar input[type="submit"]:hover{background-color: #4caf50;}

.form-whats-sidebar input.error{border: 2px solid red !important;}
.form-whats-sidebar input.valid{border: 2px solid #4caf50 !important;}

#form-whats.form-whats-sidebar .sucesso{
    width: 100%;
    height: 100%;
    padding: 0;
    font-size: 40px;
    font-weight: 700;
    color: #4caf50;
    background-color: #e5fff6;
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#form-whats.form-whats-sidebar .falha-envio{
    width: 100%;
    font-size: 16px;
    display: block;
    text-align: center;
    font-weight: 700;
    color: #fff;
    padding: 10px;
    background-color: red;
    margin: 0;
    position: absolute;
    left: 0;
    top: 0;
}

#form-whats.form-whats-sidebar .loader{
    width: 52px;
    height: 52px;
    background-color: white;
    background-image: url(gif-enviando.gif);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    bottom: 20px;
    margin: 0 0 0 -26px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    display: none;
}

@media(max-width:1220px){
    .form-whats-sidebar{width: 100%; height: auto;}
    #wrapper .form-whats-sidebar h2{font-size: 19px;}
    #wrapper .form-whats-sidebar p{font-size: 14px !important;}
    .form-whats-sidebar div.campos{padding: 0;}
    .form-whats-sidebar #ddd-whats{width: 35%;}
    .form-whats-sidebar #telefone-whats{width: 61%;}
    #form-whats.form-whats-sidebar .sucesso{position: relative; background-color: transparent; padding: 20px 0 0 0;}
    #form-whats.form-whats-sidebar .falha-envio{position: relative; margin: 10px 0 0 0; border-radius: 5px;}
}

@media(max-width:950px){
    .form-whats-sidebar #ddd-whats{width: 11%;}
    .form-whats-sidebar #telefone-whats{width: 88%;}
}

@media(max-width:767px){
    .form-whats-sidebar #ddd-whats{width: 18%;}
    .form-whats-sidebar #telefone-whats{width: 80%;}
    .form-whats-sidebar input[type="submit"]{max-width: 100%; font-size: 16px;}
}

@media(max-width:500px){
    .form-whats-sidebar #ddd-whats{width: 30%;}
    .form-whats-sidebar #telefone-whats{width: 67%;}
}