html {
    height: 100%;
    background-color: linear-gradient(to right, blue, red);
}

#body-pd > div.container > div {
    padding-bottom: 3vh;
}

#body-pd {
    background-image: url('/static/salao/images/teste.jpg');
    background-size: cover;
    background: linear-gradient(to right, #3d3d3d 0%, #cb9229 50%, #3d3d3d 100%);
}

.container {
    margin-top: 4.9vh !important;
}
    
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    min-height: 87vh;
    word-wrap: break-word;
    background-color: #252525;
    color: gold;
    background-clip: initial;
    border: 0 solid transparent;
    border-radius: .25rem;
    height: max-content;
    font-size: 13px !important;
    border-radius: 2vh;
    margin: auto;
    margin-bottom: 4vh;
}

#body-pd > div.container > div > div > div.card-header.pb-0 {
    background-color: #252525;
}

.card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
}
.card-header:first-child {
    border-radius: .25rem .25rem 0 0;
    display: flex;
}
.card-header {
    border-bottom-width: 1px;
    padding: 1rem 1.25rem;
    margin-bottom: 0;
    background-color: #fff;
    border-bottom: 0 solid transparent;
}

.mb-0, .my-0 {
    font-size: 13px;
}

.bx {
    font-size: 15px !important;
    font-family: boxicons !important;
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    line-height: 1;
    text-rendering: auto;
    display: inline-block;
    text-transform: none;
    -webkit-font-smoothing: antialiased;
}

#body-pd > div > div > div > div.logo > img {
    width: 40vh;
    height: 23vh;
    vertical-align: middle;
    border-style: none;
    
}

#body-pd > div > div > div > div.logo {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1vh
}

form {
    text-align: center;
    font-size: 13px;
    border-radius: 1vh;
    width: 71%;
    margin: auto;
    padding: 1vh;
    margin-top: -2vh;
    margin-bottom: 3vh;
    display: flex;
    flex-wrap: wrap;
}

#id_servicos {
    display: flex;
    max-height: 20vh;
    overflow: auto;
    box-sizing: border-box;
    flex-wrap: wrap;
    margin: auto;
    border: 1px solid #6c757d;
    padding: 1vh;   
    border-radius: 1vh;
    width: 94%;
    min-height: 5vh;
}

#id_servicos > div {
    padding: 1vh;
    margin: auto;
    border-radius: 1vh;
    border: 1px solid #ccc;
    width: 46%;
    margin-bottom: 2vh;
    background-color: #f9f6f6;
}

#body-pd > div > div > div > form > p:nth-child(2) {
    margin-bottom: 0.5vh;
}

form select, form option {
    background: white;
    color: black;
}

input[type="text"], input[type="tel"], input[type="email"], input[type="checkbox"], select, input[type="number"] {
    font-size: 12px;
    text-align: center !important;
    background: none !important;
    color: black;
    background-color: white;
    display: block;
    margin: auto;
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box;
    padding: 0;
    display: block;
    margin: auto;
    background-color: #fff;
}

#id_servicos, #id_cliente_nome, #id_cliente_mensagem, #id_cliente_telefone {
    background-color: white !important;
    color: black !important;
}


#body-pd > div > div > div > form > div:nth-child(2) {
    width: 100%;
}

.form-group {
    width: 44%;
    padding: 1vh;
    margin: auto;
}

.atendimento-form, .atendimento-form-contato {
    padding: 8px;
    border: 1px solid #ada7a7;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    color: black !important;
    background-color: #fff !important;
}



#body-pd > div > div > div > form > p:nth-child(5),
#body-pd > div > div > div > form > p:nth-child(4) {
    display: none;
}

form button {
    width: 30%;
    border-radius: 1vh;
    background: #21a115;
    margin: auto;
    margin-top: 1vh;
    margin-bottom: 1vh;
    color: white;
    font-weight: 600 !important;
    border: 0px solid;
}


#contatoLink > label {
    color: #34ce26 !important;
    font-size: 1.03rem;
}

#popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    color: white;
    border-radius: 5px;
    display: none;
    z-index: 1000;
}

.popup-message-success {
    background-color: #21a115;
}

.popup-message-error {
    background-color: #e32121;
}


.alert-danger {
    width: 90%;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    margin: auto;
    margin-top: 1vh;
}


.container-input {
    width: 100%;
    height: 2vh;
    display: flex;
    justify-content: center;
}


#body-pd > div > div > div > form > div:nth-child(7) {
    width: 92%;
}


#body-pd > div > div > div > form > button {
    border-radius: 2vh;
    background-color: #b79a00;
    border: 0px;
    padding: 0;
    height: fit-content;
    font-weight: 500;
}

@media only screen and (max-width: 760px) {
    .card {
        width: 100%;
        margin-bottom: 2vh;
    }

    form {
        width: 100%;
    }

    div.container {
        margin-bottom: 16vw !important;
    }

    #body-pd > div > div > div > div.logo > img {
        margin-left: 4vh;
    }

    #id_servicos > div > div {
        width: 10%;
        align-items: end;
        background: #f9f6f6;
    }
    
    #id_servicos {
        display: flex;
        max-height: 30vh;
        justify-content: center !important;
        overflow: auto;
        box-sizing: border-box;
        flex-wrap: wrap;
        margin: auto;
        border: 1px solid #6c757d;
        padding: 1vh;
        border-radius: 1vh;
        width: 94%;
        min-height: 5vh;
        background-color: #ffc500;
    }

    #id_servicos > div {
        padding: 1vh;
        padding-top: 0;
        width: 100%;
        display: flex;
        margin: auto;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center;
        border-top: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
        margin: 0.5vh;
        padding: 1vh;
        
    }
    

    #body-pd > div > div > div > form > button {
        height: fit-content;
    }

    input[type="text"], input[type="tel"], input[type="email"], input[type="checkbox"], select, input[type="number"] {
        width: 100%;
        padding: 5px;
        border-radius: 1vh;
        font-size: 12px;
        text-align: center !important;
        background: none !important;
        color: #ddd;
        border: 1px solid #6c757d;
    }

    .form-group {
        width: 100%;
    }


}

@media only screen and (min-width: 375) and (max-width: 375)  {
    .card {
        width: 100%;
    }

    form {
        width: 100%;
    }
}
