﻿.cajaForm {
    width: 50%;
    margin-top: 50px;
}

    .cajaForm .divEnviar {
        margin: 20px 0;
    }


.divForm label {
    display: block;
}

.divForm .separador {
    margin: 20px 0;
    border-bottom: 2px dotted #f1f1f1;
}

.divForm .divCheckbox {
    display: flex;
    margin: 50px 0 20px 0;
}

    .divForm .divCheckbox label, .divForm .divRadiobutton label {
        cursor: pointer;
        display: inline;
    }

        .divForm .divCheckbox label a {
            padding-bottom: 1px;
            border-bottom: 2px solid #9b9b9b;
        }

    .divForm .divCheckbox input, .divForm .divRadiobutton input {
        cursor: pointer;
        -moz-appearance: none;
        -webkit-appearance: none;
        -o-appearance: none;
        outline: none;
        content: none;
        margin: 0 20px 0 0;
    }

        .divForm .divCheckbox input:before, .divForm .divRadiobutton input:before {
            font-family: "Font Awesome 6 Pro";
            font-size: 20px;
            font-weight: bold;
            color: transparent !important;
            background: #FFF;
            display: block;
            width: 20px;
            height: 20px;
            border: 1px solid #9b9b9b;
        }

        .divForm .divCheckbox input:before {
            content: "\f00c";
            border-radius: 3px;
            padding: 1px 0 1px 2px;
        }

        .divForm .divRadiobutton input:before {
            content: "\f192";
            border-radius: 15px;
            padding: 0;
        }


        .divForm .divCheckbox input.conError:before, .divForm .divRadiobutton input.conError:before {
            border: 2px solid red;
        }

        .divForm .divCheckbox input:checked:before, .divForm .divRadiobutton input:checked:before {
            background: #46c094;
            color: #FFF !important;
            border: 1px solid #46c094;
        }

.divForm input:disabled, .divForm textarea:disabled {
    border: none !important;
}

.divForm .divCheckbox input:disabled:before {
    background: #fafafa;
    border: none;
}
.divForm .divRadiobutton label.disabled {
    color: #f1f1f1;
}


.divForm input[type='text'], .divForm input[type='password'], .divForm select, .divForm textarea {
    border: solid 1px #9b9b9b;
    border-radius: 5px;
    padding: 12px 20px;
    width: calc(100% - 40px);
    margin: 8px 0 20px 0;
}

.divForm select {
    padding: 12px 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    cursor: pointer;
    width: 100%;
    background-color: #FFF;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 0.7rem top 50%;
    background-size: 0.65rem auto;
}

    .divForm select option:first-child {
        color: #9b9b9b;
    }

    .divForm select option {
        padding: 12px 20px;
    }

.divForm #spaPhoneCode {
    display: inline-block;
    width: 20%;
    text-align: center;
    background-color: #F1F1F1;
    padding: 11px 0;
    position: relative;
    top: 1px;
}

.divForm #txtTelefono {
    width: calc(80% - 50px);
}
.divForm small {
    color: #9b9b9b;
}


.divForm .divMensajeError {
    padding-top: 20px;
    color: red;
}

    .divForm .divMensajeError > div {
        display: none;
    }

.divForm .divEnviado {
    display: none;
}



@media (max-width: 767px) {
    .cajaForm {
        width: 100%;
    }
}
