﻿:root {
  --end-bg-color: #2bf905; /*Verde*/
  --borderend-color: #068711;
  --start-bg-color: #0d6efd; /*azul*/
  --borderstart-color: #61cfed;
  --inprogress-bg-color: #ffec07; /*amarillo*/
  --borderinprogress-color: #7f7204;
  --late-bg-color: #ed586d; /*rojo*/
  --borderlate-color: #f66157;
  --noaccording-bg-color: #0e68dd; /*azul*/
  --bordernoaccording-color: #89c1ce;
  --plan-bg-color: #59595f; /*gris*/
  --borderplan-color: #aeaeba;
}

body {
    background: #ebebeb;
    padding-bottom: 30px;
}

.containerMain {
    display: grid;
    grid-template-columns: 5% 1fr 5%;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    /*max-width: 280px;*/
}

/* InterRow Class */
.InterRow:nth-child(odd) {
    background-color: #DFDFDF;
    height: 30px;
}

.InterRow:nth-child(even) {
    background-color: #EBEBEB;
    height: 30px;
}

.InterRow:hover {
    background-color: #bdbdbd;
}
/***************************************************************************/

.shadow-navbar {
    box-shadow: 1px 2px 4px rgba(92, 92, 92, .5);
}

.text-shadow {
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4);
}

.width-field {
    max-width: 280px;
}

.logo-floating {
    box-shadow: 1px 2px 4px rgba(0, 0, 0, .5);
    border-radius: 4px;
}

/* Estilos para la página de inicio Index */
.main {
    width: 525px;
    height: 252px;
    margin-right: auto;
    margin-left: auto;
    font-family: lato;
    font-size: 20px;
    font-weight: 300px;
    color: #333;
    text-align: center;
    background-attachment: scroll;
    background-image: url(../images/spiral_bg.png);
    background-repeat: no-repeat;
    background-position: center center;
}

.header {
    margin-right: auto;
    margin-left: auto;
    width: 220px;
    padding-top: 80px;
    padding-bottom: 50px;
}

.footer {
    height: 100px;
    width: 500px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 20px;
    text-align: center;
}

.b:link {
    color: #ba172d;
    font-weight: bold;
    text-decoration: none;
}

.b:visited {
    color: #ba172d;
    text-decoration: none;
}

.b:hover {
    color: #FFF;
    text-decoration: none;
}

.b:active {
    color: #ba172d;
    text-decoration: none;
}
/********************************************************************************************/

/*Colores*/
.colorBackgroundHeadItem div:nth-child(n+2) {
    color: white;
    background-color: #8F99A4;
}
/********************************************************************************************/

.BranchOff {
    display: none;
    border: 2px solid;
}

.BorderSelectRow:hover {
    background-color: #bdbdbd;
    border-style: solid;
    border-width: thin;
}

/*Selección de items del dropdown*/
.dd-item {
    display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

    .dd-item:hover, .dd-item:focus {
        color: #16181b;
        text-decoration: none;
        background-color: #EBEBEB;
    }

    .dd-item.active, .dd-item:active {
        color: #fff;
        text-decoration: none;
        background-color: #007bff;
    }

    .dd-item.disabled, .dd-item:disabled {
        color: #6c757d;
        background-color: transparent;
    }
/**************************************************************/

/*Clases para la ventana de error del sistema*/
.HeaderError {
    height: 75px;
    background-color: #ba172d;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
    font-family: 'Kanit', cursive;
    font-size: 30px;
}

.BodyError {
    height: 200px;
    background-color: white;
    border-radius: 10px;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
    font-family: 'Kanit', cursive;
    font-size: 20px;
}

.FooterError {
    height: 60px;
    background-color: darkgrey;
    border-radius: 10px;
    color: black;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
    font-family: 'Kanit', cursive;
    font-size: 15px;
}
/********************************************************************************************/

/* Etiqueta de Mensaje de Advertencia */
.MessageWarningLabel {
    border-width: 1px;
    border-style: solid;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    width: 400px;
    border-radius: 4px;
    display: flex;
}
/*************************************************************************/

/* Implementado por el NuGet de seguridad de acceso de usuarios */
/* styles for validation helpers */
.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

/* Niveles de color para calificar la tolerancia al riesgo */
.LevelColor1 {
    background: #6ACADF;
}

.LevelColor2 {
    background: #6AA3DF;
}

.LevelColor3 {
    background: #E3E052;
}

.LevelColor4 {
    background: #EEB035;
}

.LevelColor5 {
    background: #E25843;
}
/*************************************************************************/

/*MediaQuery para pantallas de más de 1400px (Bootstrap)*/
@media (min-width: 992px) {
    .double-modal-lg,
    .double-modal-xl {
        max-width: 900px;
    }
}

@media (min-width: 1200px) {
    .double-modal-xl {
        max-width: 1240px;
    }
}

@media (min-width: 1400px) {
    .col-xxl {
        flex: 1 0 0%;
    }

    .row-cols-xxl-auto > * {
        flex: 0 0 auto;
        width: auto;
    }

    .row-cols-xxl-1 > * {
        flex: 0 0 auto;
        width: 100%;
    }

    .row-cols-xxl-2 > * {
        flex: 0 0 auto;
        width: 50%;
    }

    .row-cols-xxl-3 > * {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .row-cols-xxl-4 > * {
        flex: 0 0 auto;
        width: 25%;
    }

    .row-cols-xxl-5 > * {
        flex: 0 0 auto;
        width: 20%;
    }

    .row-cols-xxl-6 > * {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }

    .col-xxl-auto {
        flex: 0 0 auto;
        width: auto;
    }

    .col-xxl-1 {
        flex: 0 0 auto;
        width: 8.3333333333%;
    }

    .col-xxl-2 {
        flex: 0 0 auto;
        width: 16.6666666667%;
    }

    .col-xxl-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-xxl-4 {
        flex: 0 0 auto;
        width: 33.3333333333%;
    }

    .col-xxl-5 {
        flex: 0 0 auto;
        width: 41.6666666667%;
    }

    .col-xxl-6 {
        flex: 0 0 auto;
        width: 50%;
    }

    .col-xxl-7 {
        flex: 0 0 auto;
        width: 58.3333333333%;
    }

    .col-xxl-8 {
        flex: 0 0 auto;
        width: 66.6666666667%;
    }

    .col-xxl-9 {
        flex: 0 0 auto;
        width: 75%;
    }

    .col-xxl-10 {
        flex: 0 0 auto;
        width: 83.3333333333%;
    }

    .col-xxl-11 {
        flex: 0 0 auto;
        width: 91.6666666667%;
    }

    .col-xxl-12 {
        flex: 0 0 auto;
        width: 100%;
    }

    .offset-xxl-0 {
        margin-left: 0;
    }

    .offset-xxl-1 {
        margin-left: 8.3333333333%;
    }

    .offset-xxl-2 {
        margin-left: 16.6666666667%;
    }

    .offset-xxl-3 {
        margin-left: 25%;
    }

    .offset-xxl-4 {
        margin-left: 33.3333333333%;
    }

    .offset-xxl-5 {
        margin-left: 41.6666666667%;
    }

    .offset-xxl-6 {
        margin-left: 50%;
    }

    .offset-xxl-7 {
        margin-left: 58.3333333333%;
    }

    .offset-xxl-8 {
        margin-left: 66.6666666667%;
    }

    .offset-xxl-9 {
        margin-left: 75%;
    }

    .offset-xxl-10 {
        margin-left: 83.3333333333%;
    }

    .offset-xxl-11 {
        margin-left: 91.6666666667%;
    }

    .g-xxl-0,
    .gx-xxl-0 {
        --bs-gutter-x: 0;
    }

    .g-xxl-0,
    .gy-xxl-0 {
        --bs-gutter-y: 0;
    }

    .g-xxl-1,
    .gx-xxl-1 {
        --bs-gutter-x: 0.25rem;
    }

    .g-xxl-1,
    .gy-xxl-1 {
        --bs-gutter-y: 0.25rem;
    }

    .g-xxl-2,
    .gx-xxl-2 {
        --bs-gutter-x: 0.5rem;
    }

    .g-xxl-2,
    .gy-xxl-2 {
        --bs-gutter-y: 0.5rem;
    }

    .g-xxl-3,
    .gx-xxl-3 {
        --bs-gutter-x: 1rem;
    }

    .g-xxl-3,
    .gy-xxl-3 {
        --bs-gutter-y: 1rem;
    }

    .g-xxl-4,
    .gx-xxl-4 {
        --bs-gutter-x: 1.5rem;
    }

    .g-xxl-4,
    .gy-xxl-4 {
        --bs-gutter-y: 1.5rem;
    }

    .g-xxl-5,
    .gx-xxl-5 {
        --bs-gutter-x: 3rem;
    }

    .g-xxl-5,
    .gy-xxl-5 {
        --bs-gutter-y: 3rem;
    }
}
/***************Botones Vameco******************/
.vameco {
    font-size: 1.2rem !important;
    color: white;
    background-color: deeppink !important;
    border: 2px solid deeppink;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 12px;
    margin: 5px;
}

.vameco-red {
    font-size: 1.2rem !important;
    color: white;
    background-color: #D90927 !important;
    border: 2px solid #D90927;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 12px;
    margin: 5px;
}

.vameco-green {
    font-size: 1.2rem !important;
    color: white;
    background-color: #4CAF50 !important;
    border: 2px solid #4CAF50;
    transition-duration: 0.4s;
    cursor: pointer;
    border-radius: 12px;
    margin: 5px;
}

.vameco-blue {
    font-size: 1.2rem !important;
    color: white !important;
    background-color: #1E90FF !important;
    border: 2px solid #1E90FF !important;
    transition-duration: 0.4s !important;
    cursor: pointer !important;
    border-radius: 12px !important;
    margin: 5px !important;
}

.vameco-green:hover {
    font-size: 1.2rem !important;
    color: black;
    background-color: #ffff !important;
    border: 2px solid #4CAF50;
}

.vameco-blue:hover {
    font-size: 1.2rem !important;
    color: black !important;
    background-color: #ffff !important;
    border: 2px solid #1E90FF !important;
}

.vameco-red:hover {
    font-size: 1.2rem !important;
    color: black;
    background-color: #ffff !important;
    border: 2px solid #D90927;
}

.vameco:hover {
    font-size: 1.2rem !important;
    color: black;
    background-color: #ffff !important;
    border: 2px solid #8B488F;
}

/* Modelos */

.btn-auto-width {
    width: auto !important;
    min-width: fit-content;
}

.btn i {
    flex-shrink: 0; /* Evita que el icono se comprima */
    font-size: 14px;
}

.table td, .table th {
    vertical-align: middle;
}
/* Stacking adicional para modal de propiedades */
.qb-modal-backdrop {
    background-color: rgba(0,0,0,.4);
}
.rp-module {
    margin: 16px 0 8px;
    border-bottom: 2px solid #333;
    padding-bottom: 4px;
}

.rp-block {
    margin: 12px 0 6px;
    color: #004085;
}

.rp-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

    .rp-table th, .rp-table td {
        border: 1px solid #ddd;
        padding: 6px 8px;
        vertical-align: top;
    }

.rp-muted {
    color: #888;
}

.rp-question {
    margin: 8px 0;
}

.rp-qtext {
    font-weight: 600;
    margin-bottom: 2px;
}

.rp-qanswer {
    margin-left: 6px;
}