﻿/* Color Principal #005251 Verde EQA   color de texto y de background */
/* Color Complementario al proncipal #b5d5d5*/
/* Color acordeon plagado #e7efef*/

/*#region Date Picker  */
.ui-datepicker {
    width: 20em !important;
}

.ui-datepicker table {
    font-size: 1.0em !important;
}

.ui-datepicker .ui-datepicker-title select {
    font-size: 1.1em !important;
}

/* Today */
.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
    border: 1.5px solid #005251;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}

/* Day selected */
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(126, 239, 104, 0.6) !important;
    background: #005251;
    color: #ffffff;
}
/*#endregion*/

/*#region Own Form Classes  */
/*input {
    background-color: initial;
    cursor: default;
    box-sizing: border-box;
    margin: 3px 3px 0px 5px;
    margin-top: 3px;
    margin-right: 3px;
    margin-bottom: 0px;
    margin-left: 5px;
    padding: initial;
    border: initial;
}*/


/* Hide Arrows in textbox type="number" */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.wait {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    margin: auto;
    z-index: 99999;
    top: 0px;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.loader {
    -webkit-animation: .75s linear infinite spinner-border;
    animation: .75s linear infinite spinner-border;
    border: solid 0.5rem transparent;
    border-radius: 50%;
    border-right-color: #005251;
    border-top-color: #005251;
    box-sizing: border-box;
    height: 4rem;
    left: calc(50% - 3rem);
    position: fixed;
    top: calc(50% - 5rem);
    width: 4rem;
    z-index: 1;
}

.divTextLoad {
    position: fixed;
    top: 50%;
    color: #005251;
    font-size: 3vmin;
    width: 100%;
}

.textLoad {
    display: table;
    margin: 0 auto;
    color: #005251;
    padding-right: 1.8rem;
    font-size: 1.3rem;
}

.disabledInput {
    background-color: #e9ecef !important;
    opacity: 1 !important;
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

.code4D input[type="text"]:focus {
    border: 1px solid #ced4da !important;
    box-shadow: none !important;
}

.was-validated .disabledInput.form-control:invalid, disabledInput.form-control.is-invalid {
    border-color: #dc3545 !important;
}


    .loupe {
        padding-top: 0rem !important;
        padding-bottom: 0rem !important;
    }

.tdBadget {
    min-width: 130px;
    max-width: 200px;
    vertical-align: middle;
}

.textTable {
    color: #005251;
    font-weight: 500;
}

.tdBadgetTotal {
    border-bottom: 1px solid #dee2e6 !important;
}


/*.form-switch {
    padding-left: 3.5em !important;
}*/

.switchCheck {
    width: 3em !important;
    height: 1.5em !important;
}

.switchLabel {
    margin-left: 0.6em;
    padding-top: 0.2em;
}

/*.switchCheck:not(:checked) + .switchLabel:after {
    content: "NO";
}

.switchCheck:checked + .switchLabel:after {
    content: "SI";
}*/

/*#endregion*/
.IconAlert {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: left calc(0.01em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}


/*Color Invalid*/
.ColorInvalid {
    border-color: #dc3545 !important;
}

/* Check Box Con label de dos líneas hace que el check se quede en la misma línea */
.checkBox {
    float: left;
    margin-left: -1.5em;
    margin-top: 0.35em;
}
#CBVerificationInformationAvailability.checkBox  {
    margin-left: 0em !important;
}

/* RadioButton, se baja el radio */
.radioButton input {
    vertical-align: -2px;
}


/* Color Texto descpués de validado formulario */
.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    color: #005251 !important;
}


.BorderLight {
    border: 1px solid #ced4da;
}

.border-primary {
    border-color: #005251 !important;
}


/* Borde cuando se clicka el acordeon*/
.accordion-button:focus {
    box-shadow: 0 0 0 0.10rem #badbcc !important;
    border-color: #86b7fe;
}

/* Icono svg del acordeon plegado */
.accordion-button::after {
    background-image: url(../icons/plus.svg) !important;
    /*background-image: url(icons/plus.svg) !important;*/
    transition: none !important;
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' style='stroke-width:0.5px' viewBox='0 0 16 16' class='bi bi-plus' fill='%23000000'%3e%3cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3e%3c/svg%3e") !important;*/
    /*background-size: 2.00rem !important;*/
}

/* Icono svg del acordeon desplegado */
.accordion-button:not(.collapsed)::after {
    background-image: url(../icons/dash.svg) !important;
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' class='bi bi-plus' fill='%23ffffff'%3e%3cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3e%3c/svg%3e") !important;*/
    /*--------------------------------------------------------------------------------------------------------fill='#  ffffff'*/
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;*/
}


/* Button list codes 4D*/
.btn-outline-primary.btnListCode4D {
    color: #fff;
    border-color: #005251;
    background-color: #005251;
}

    .btn-outline-primary.btnListCode4D:hover {
        color: #005251;
        background-color: #fff;
        border-color: #005251;
    }

/* Delete border blue in sumbit button */
.btn.btn-outline-primary.btnListCode4D:focus, .btn.btn-outline-primary.btnListCode4D:active {
    outline: none !important;
    box-shadow: none;
}

/* Delete border blue in sumbit button */
.btn:focus, .btn:active {
    outline: none !important;
    box-shadow: none;
}

.btn-primary {
    color: #fff;
    background-color: #005251;
    border-color: #95daba;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #3bb57c;
        border-color: #198754;
    }
    .btn-check:focus + .btn-primary, .btn-primary:focus {
        color: #fff;
        background-color: #3bb57c;
        border-color: #0a58ca;
        box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
    }

    .btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #005251;
        border-color: #0a53be;
    }

        .btn-check:checked + .btn-primary:focus, .btn-check:active + .btn-primary:focus, .btn-primary:active:focus, .btn-primary.active:focus, .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.25rem rgba(49, 132, 253, 0.5);
        }

    .btn-primary:disabled, .btn-primary.disabled {
        color: #fff;
        background-color: #005251;
        border-color: #005251;
    }

.alert-success {
    color: #005251;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.btn-check:checked + .btn-primary, .btn-check:active + .btn-primary, .btn-primary:active, .btn-primary.active, 
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #005251;
    border-color: #0a53be;
}

.btn-check:checked + .btn-outline-success, .btn-check:active + .btn-outline-success, .btn-outline-success:active, 
.btn-outline-success.active, .btn-outline-success.dropdown-toggle.show {
    color: #fff;
    background-color: #005251;
    border-color: #198754;
}

.btn-outline-success {
    color: #005251;
    border-color: #198754;
}

.btn-primary:disabled {
    background-color: #359367;
}

/* Estilo en Focus de Input */
[autocomplete="off"] textarea:focus,
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="button"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="select"]:focus,
.uneditable-input:focus {
    border-color: rgba(126, 239, 104, 0.8) !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(126, 239, 104, 0.6) !important; /* Color del borde del input cuando se hace focus*/
    outline: 0 none;
}

.accordion-button {
    padding: 0.50rem 0.50rem !important;
}

#accordion a {
    text-decoration: none !important;
    cursor: pointer;
}

#accordion {
    padding-left: 80px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

    #accordion a:hover, a:focus {
        text-decoration: none;
        outline: none;
    }

    #accordion:before {
        content: "";
        width: 5px;
        height: 100%;
        background: #005251;
        position: absolute;
        top: 0;
        left: 22px;
        z-index: -1;
    }

    #accordion .panel {
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin-bottom: 10px;
    }

    #accordion .panel-heading {
        padding: 0;
        border: none;
        border-radius: 0;
    }

    #accordion .panel-title a {
        display: block;
        background: #fff;
        font-weight: bold;
        color: #004e89;
        position: relative;
        transition: all 0.5s ease 0s;
    }

        #accordion .panel-title a:before {
            font-family: "Font Awesome 5 Free";
            font-weight: 900;
            content: "\f068";
            font-weight: 900;
            width: 40px;
            height: 40px;
            line-height: 30px;
            border-radius: 50%;
            background: #cad5c2;
            text-align: center;
            color: #005251;
            border: 6px solid #005251;
            position: absolute;
            top: 0px;
            left: -77px;
            cursor: grab;
        }

        #accordion .panel-title a.collapsed:before {
            content: "\f067";
            background: #fff;
        }

    #accordion .panel-body {
        padding: 10px 15px;
        background: #eee;
        border: none;
        border-radius: 2px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) inset, 0 1px 2px rgba(255, 255, 255, 0.9);
        font-size: 14px;
        color: #487677;
        line-height: 25px;
    }

    #accordion .input-group-text {
        font-weight: 500;
        color: #005251;
        background-color: #cce8cb;
        border: 1px solid #165b17;
        border-radius: 0.25rem;
    }

    #accordion .input-group {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        width: 100%;
        padding: 0.25rem;
    }

    #accordion .accordion-button {
        border-radius: 100px !important;
    }

.accordion-button:not(.collapsed) {
    color: #ffffff !important;
    background-color: #005251 !important;
}

.accordion-button.collapsed {
    color: #005251 !important;
    background: #e7efef !important; /*#e7efef*/
    /*background: linear-gradient(0deg, #dfecde, #c1f1bd) !important;*/
}

.form-select-sm-custom {
    font-size: 0.75rem;
}

.input-group-sm-custom {
    font-size: 0.75rem !important;
}

.input-group-custom {
    font-size: 0.75rem !important;
}

.input-group-text-custom {
    font-size: 0.75rem;
}

.form-select-expert-custom {
    font-size: 0.75rem;
}

.form-control-sm-custom {
    font-size: 0.75rem;
    padding: 0.25rem 0.35rem !important;
    font-weight: 600;
}

.col-border {
    border: 2px solid #c5d9d0;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    margin: 0.65rem;
    padding: 5px;
}

.row-border {
    border: 2px solid #c5d9d0;
    -webkit-border-radius: 10px 10px 10px 10px;
    -moz-border-radius: 10px 10px 10px 10px;
    border-radius: 10px 10px 10px 10px;
    padding-top: 15px;
    margin: 0.45rem;
}

.btn-sm {
    font-size: 0.75rem;
}

.label-sm {
    font-size: 0.75em;
    padding: 0.65em !important;
}

.card-title {
    margin-left: 6px;
}

.alert-sm {
    padding: 0.1rem 1rem;
}

.span-m1 {
    margin-right: 5px;
}

.alert-information {
    color: #0a9387;
    background-color: #ddf1e2;
    border-color: #0a9387;
}

input-search {
    font-weight: 600;
}

.preload {
    background-repeat: no-repeat;
    background-image: url('/Content/images/preloader.gif');
    background-size: 30px;
    background-position-x: right;
    background-position-y: center;
    padding-right: 10px;
}

.preload-sm {
    background-repeat: no-repeat;
    background-image: url('/Content/images/preloader.gif');
    background-size: 15px;
    background-position-x: right;
    background-position-y: center;
    padding-right: 10px;
}

.sticky table  {
    text-align: left;
    position: relative;
    border-collapse: collapse;
}

.sticky th, td {
    padding: 0.25rem;
}



.sticky tr:nth-child(odd) {
    background-color: #ebebeb;
}

.sticky tr:hover {
    background-color: #d5d5d5;
    cursor:pointer !important;
}
.sticky tr.header th {
    background: #005251;
    color: #fff;
    top: -20px;
}


.sticky th {
    background: white;
    position: sticky;
    top: 0; /* Don't forget this, required for the stickiness */
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.4);
}

.textHelp {
    color: #BF8F00;
}

.is-invalidCustom {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}