:root{
    --principal: #272a2d;
    --secundario: white; 
}

input.wpcf7-form-control {
    outline: 0;
}

.contact-form{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.contact-form p{
    width: 49%;
}

.contact-form > p:nth-child(5), .contact-form > p:nth-child(6), .contact-form > p:nth-child(7), .contact-form > p:nth-child(8){
    width: 100%;
}

#enviar{
    color: var(--principal);
    background: var(--secundario);
    border: 1px solid var(--principal);
    border-radius: 3px;
    font-weight: 500;
    font-size: 12px;
    padding: 10px 20px;
    display: inline-block;
    box-shadow: inset 0 -1px 0 rgb(255 255 255 / 50%);
    height: 40px;
}

.your-nome, .your-sobrenome, .your-email, .your-sms, .your-subject, .your-message{
    border-radius: 3px;
}

.contact-form > p > span > input, .contact-form > p > span > textarea, .contact-form > p:nth-child(4) > span > div > input.wpcf7-form-control.wpcf7-text.wpcf7-phonetext.wpcf7-validates-as-required.p-3{
    background-color: var(--secundario);
}

.contact-form > p > span > input{
    height: 40px;
}

.contact-form > p > span > textarea{
    resize: none;
}

.contact-form > p > span > input::-webkit-input-placeholder, .contact-form > p > span > textarea::-webkit-input-placeholder,
.contact-form > p > span > input, .contact-form > p > span > textarea, .contact-form > p:nth-child(7) > span > span > span > label > span{
    width: 100%;
    font-size:16px;
    color: var(--principal);
    font-weight: 400;
}

/* Plugin Indicativo Telefone */
.contact-form > p:nth-child(4) > span > div > input.wpcf7-form-control.wpcf7-text.wpcf7-phonetext.wpcf7-validates-as-required.p-3{
    width: 100%;
    height: 40px;
    padding-left: 3rem !important;
    font-size:16px;
    color: var(--terciario);
    font-weight: 600;
}

/* -------- styles only for mobile: small devices -------- */
@media screen and (max-width: 575.98px) {
    .contact-form p{
        width: 100%;
    }
}

/* Webinar Styles */

.webinar{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.webinar > p, .webinar > label{
    width:calc(50% - 30px) !important;
}

.webinar > p > label > span{
    width: 100% !important;
    display: flex;
}

.webinar p .wpcf7-form-control{
    display: flex;
    width: 100%;
}

.webinar > p:nth-child(9), .webinar > p:nth-child(10), .webinar > p:nth-child(11){
    width: 100%;
}

.wpcf7-form-control.wpcf7-submit{
    width: 125px !important;
}

.wpcf7-not-valid-tip{
    margin-top: 0 !important;
}

.webinar > p:nth-child(12) > input, .webinar > p:nth-child(11) > input{
    transition: all 250ms ease-in-out;
    border: 1px solid transparent;
}

.webinar > p:nth-child(12) > input:hover, .webinar > p:nth-child(11) > input:hover{
    background-color: white;
    color: #5a5d60;
    border: 1px solid #5a5d60;
}

.webinar > p:nth-child(4) > label > span, .webinar > p:nth-child(3) > label > span, .webinar > p:nth-child(1) > label > span{
    border:none;
}


@media screen and (min-width: 768px) {
    .webinar > p:nth-child(9){
        display: flex;
        align-items: flex-end;
    }
    
    .webinar > p:nth-child(11){
        display: flex;
        align-items: center;
    }
}

/* -------- styles for desktop: large size -------- */
@media screen and (min-width: 1200px) {
    
}

/* -------- styles only for mobile -------- */
@media screen and (max-width: 767.98px) {
    .webinar{
        display: flex;
        flex-direction: column;
    }

    .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.nome > input, .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.mail > input, 
    .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.phone > input, .webinar > form > div.form-inputs-row > span.wpcf7-form-control-wrap.mensagem > textarea,
    .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.nome > input, .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.mail > input,
    .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.phone > input, .webinar > div.form-inputs-row > span.wpcf7-form-control-wrap.mensagem > textarea,
    .wpcf7-response-output{
    width: 100% !important;
    }

    .webinar > p, .webinar > p:nth-child(4){
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    }

    .wpcf7 form .wpcf7-response-output{
        margin: 2em 0em 1em !important;
        width: 100% !important;
    }

    .webinar > p{
        width:100% !important;
    }

}

/* -------- styles only for mobile: small devices -------- */
@media screen and (max-width: 575.98px) {
    .webinar > p{
        width: 100%;
    }
}
