@charset "utf-8";

/* INICIO INPUTS */
input:-webkit-autofill, input:focus:-webkit-autofill
{
    -webkit-text-fill-color: var(--input-text-color) !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
select:-webkit-autofill:active
{
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--input-text-color) !important;
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

/*AUTOCOMPLETE*/
.ui-autocomplete
{
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    width: 250px;
    z-index: 99999;
}

.ui-menu .ui-menu-item-wrapper
{
    font-size: 0.875rem;
}

.ui-menu .ui-menu-item
{
    display: block;
}

/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete
{
    height: 250px;
}

.ui-autocomplete-loading
{
    background: white url("https://jqueryui.com/resources/demos/autocomplete/images/ui-anim_basic_16x16.gif") center right 10px no-repeat !important;
}

/*FIN AUTOCOMPLETE*/

/* INICIO INPUTS MATERIAL KIT */

.form-check .form-check-input:checked ~ .circle .check
{
    -webkit-transform: scale3d(1, 1, 1);
    -moz-transform: scale3d(1, 1, 1);
    -o-transform: scale3d(1, 1, 1);
    -ms-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

.form-check .form-check-input:checked ~ .circle
{
    border-color: var(--primary);
}

.form-check .form-check-label .circle .check
{
    background-color: var(--primary);
    /*left: -1px !important;*/
    /*top: -1px !important;*/
    left: 4px !important;
    top: 4px !important;
}

.form-check .form-check-label .circle
{
    border: 1px solid var(--primary);
}

.form-check .form-check-sign .check
{
    border-color: var(--checkbox-color);
    border-radius: 3px;
    background-color: #FFF;
}

.form-check .form-check-input:checked + .form-checkbox-text + .form-check-sign .check, .form-check .form-check-input:checked + .form-check-sign .check
{
    background: var(--checkbox-color) !important;
}

.form-check .form-check-input:checked + .form-checkbox-text + .form-check-sign .check:before, .form-check .form-check-input:checked + .form-check-sign .check:before
{
    color: #FFF !important;
}

.form-check, .form-check
{
    vertical-align: text-top;
}

.form-check
{
    margin-bottom: 0;
    position: relative;
}

.form-check .form-check-label span
{
    line-height: 140%;
}

.form-check .form-check-sign:before
{
    display: block;
    position: absolute;
    left: 5px;
    content: "";
    background-color: rgba(0, 0, 0, 0.84);
    height: 10px;
    width: 8px;
    border-radius: 100%;
    z-index: 1;
    opacity: 0;
    margin: 0;
    top: 5px;
    -webkit-transform: scale3d(2.3, 2.3, 1);
    -moz-transform: scale3d(2.3, 2.3, 1);
    -o-transform: scale3d(2.3, 2.3, 1);
    -ms-transform: scale3d(2.3, 2.3, 1);
    transform: scale3d(2.3, 2.3, 1);
}

/* FIN INPUTS MATERIAL KIT */
/* Este es el propio de bootstrap, pero como si pongo la clase form-control se pone el material kit le cambio el nombre*/
.form-control-b
{
    display: block;
    width: 100%;
    /*padding: 0.375rem 0.75rem;*/
    padding: 0.375rem 15px;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #FFF;
    background-clip: padding-box;
    border: 1px solid #888888;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


label, .tituloLabel
{
    font-weight: 600;
    margin-bottom: 3px;
    font-size: 16px;
    color: var(--primary);
}

.tituloLabel, .tituloLabel + div
{
    display: inline-block;
    vertical-align: middle;
}

label a
{
    color: var(--label-color);
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -o-transition: all .3s;
    transition: all .3s;
}

.checkbox label, .form-check label
{
    color: var(--label-color);
    vertical-align: top;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.checkbox label a:hover, .form-check label a:hover, label a:hover
{
    color: var(--label-color-hover);
    text-decoration: underline;
}

.form-check .form-check-label
{
    position: relative;
    margin-bottom: 6px;
}

.form-check .form-check-label span.form-checkbox-text
{
    position: relative;
    top: -2px;
}

input[type="search"], input[type="text"], input[type="email"], input[type="password"], form textarea.form-control-b, select.form-control-b
{
    font-family: Jost, serif;
    font-weight: 400;
    color: var(--input-text-color) !important;
    font-size: 16px !important;
    outline: none;
    height: 60px;
    border: 1px solid var(--primary);
    border-radius: 5px;
    resize: none;
    background-color: white;
    padding: 5px 15px;
}

#frmConsultaContacto, #frmConsulta, #observaciones
{
    height: 150px;
}

.form-control::placeholder, .form-control-b::placeholder
{
    color: var(--input-placeholder-color);
    opacity: 1;
}

.form-control:focus, .form-control-b:focus
{
    border-color: var(--primary);
}

.form-control::placeholder:focus, .form-control-b::placeholder:focus
{
    color: var(--input-placeholder-color) !important;
}

select::-ms-expand
{
    display: none;
}

input[type="search"]:focus, input[type="email"]:focus, input[type="password"]:focus, input[type="text"]:focus, textarea:focus, select.form-control-b:focus, #formMensaje:focus, input[type="radio"]:focus
{
    color: var(--input-text-color) !important;
    outline: none;
    box-shadow: none;
}

.form-control, .form-control-b
{
    box-shadow: none;
}

.form-control::-moz-placeholder,
.form-control::-webkit-input-placeholder
{
    color: var(--input-placeholder-color);
    opacity: 1;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control, .form-control-b[disabled], .form-control-b[readonly], fieldset[disabled] .form-control-b
{
    color: #CCCCCC !important;
    background-color: #CCCCCC;
    border-color: #CCCCCC;
}

.form-control-b[disabled] + i, .form-control-b[readonly] + i, fieldset[disabled] .form-control-b + i
{
    color: #CCCCCC;
}

div[data-href]
{
    cursor: pointer;
}

/* CUSTOMIZE INPUTS, SELECT... */
.custom-radio .custom-control-input:checked ~ .custom-control-label::before
{
    background-color: #043C79 !important;
}

.custom-control.custom-radio
{
    margin-left: 15px;
    margin-right: -15px;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before
{
    background-color: #043C79 !important;
}

/* FIN CUSTOMIZE INPUTS, SELECT... */

.input-icon
{
    position: relative;
}

.input-icon i, .input-icon img
{
    position: absolute;
    color: var(--primary);
    font-size: 16px;
    right: 30px;
    bottom: 22px;
    pointer-events: none;
}
.input-icon img
{
    bottom: 15px;
}
select.form-control-b
{
    padding: 0 30px 0 20px !important;
    -webkit-padding-end: 30px !important;
    -webkit-padding-start: 20px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input.error, select.error, form textarea.error, div.styled select.error
{
    color: #FF0000 !important;
    border-color: #FF0000 !important;
}

select.error + i
{color: #FF0000 !important;}

.form-control.error
{
    background-image: linear-gradient(to top, #043C79 2px, rgba(156, 39, 176, 0) 2px), linear-gradient(to top, #FF0000 1px, rgba(210, 210, 210, 0) 1px) !important;
}

input.error::-webkit-input-placeholder
{ /* Chrome/Opera/Safari */
    color: #FF0000;
}

textarea.error::-webkit-input-placeholder
{
    color: #FF0000;
}

input.error::-moz-placeholder
{ /* Firefox 19+ */
    color: #FF0000;
}

textarea.error::-moz-placeholder
{
    color: #FF0000;
}

input.error:-ms-input-placeholder
{ /* IE 10+ */
    color: #FF0000;
}

textarea.error:-ms-input-placeholder
{
    color: #FF0000;
}

input.error:-moz-placeholder
{ /* Firefox 18- */
    color: #FF0000;
}

textarea.error:-moz-placeholder
{ /* Firefox 18- */
    color: #FF0000;
}

form .form-control:focus
{
    /*	border:1px solid #22889A;	*/
}

form textarea.form-control
{
    transition: none;
}

@supports (-webkit-touch-callout: none)
{
    /* CSS specific to iOS devices */
    .form-check .form-check-input:checked + .form-checkbox-text + .form-check-sign .check, .form-check .form-check-input:checked + .form-check-sign .check
    {
        background: var(--primary) !important;
    }

    .form-check .form-check-input:checked + .form-checkbox-text + .form-check-sign .check:before, .form-check .form-check-input:checked + .form-check-sign .check:before
    {
        color: #FFF !important;
    }
}