body {
    margin: 0;
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

a {
    text-decoration: none;
}

button {
    cursor: pointer;
    outline: none;
}

h2 {
    color: #4f5f6f;
}

.error {
    width: calc(100% - 30px);
    display: block;
    padding: 10px;
    margin: 5px;
    background: rgb(255 0 0 / 15%);
    color: red;
}

.info {
    width: calc(100% - 30px);
    display: block;
    padding: 10px;
    margin: 5px;
    background: rgb(0 107 255 / 15%);
    color: #0381c1;
}

/*--------------------------------------------*/
select[readonly] {
    background: #eee;
    pointer-events: none;
    touch-action: none;
}

/*--------------------------------------------*/
.accordion {
    background-color: #eee;
    color: #444;
    padding: 10px 18px;
    width: 100%;
    display: inline-flex;
    justify-content: space-between;
    border: none;
    text-align: left;
    outline: none;
    font-size: 15px;
    transition: 0.4s;
}

.accordion h2 {
    color: #242425;
}

.accordion h2, .accordion h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 200;
    margin: 0;
}

.accordion.disabled:hover {
    background-color: #eee;
    cursor: auto;
}

.accordion.disabled:after {
    content: '';
}

.accordion .active, .accordion:hover {
    background-color: #ccc;
    cursor: pointer;
}

.accordion:after {
    content: '\002B';
    color: #777;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}

.accordion.active:after {
    content: "\2212";
}

.panel {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/*--------------------------------------------*/
.metas-card {
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #313131;
}

.meta-cronograma-table input {
    width: calc(100% - 16px) !important;
}

.meta-form .hidden {
    display: none;
}

/*--------------------------------------------*/
.header-actions {
    margin: auto 2px;
}

.header-actions button {
    margin: 4px;
    position: relative;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
}

.header-actions button i.add {
    position: absolute;
    display: block;
    margin: auto;
    top: 0;
    left: 0;
    width: 30px;
    height: 32px;
    background: url(../images/icons/file-plus.svg) center no-repeat;
}

.header-actions button i.upload {
    position: absolute;
    display: block;
    margin: auto;
    top: 0;
    left: 0;
    width: 30px;
    height: 32px;
    background: url(../images/icons/file-upload-solid.svg) center no-repeat;
}

.header-actions button i.add:hover {
    filter: invert(34%) sepia(31%) saturate(647%) hue-rotate(89deg) brightness(94%) contrast(97%);
}

.header-actions button i.upload:hover {
    filter: invert(34%) sepia(31%) saturate(647%) hue-rotate(89deg) brightness(94%) contrast(97%);
}

/*--------------------------------------------*/
.tab {
    overflow: hidden;
    background-color: #2d6842;
}

.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 17px;
    color: #f3f3f3;
}

.tab button:hover {
    background-color: #242425;
}

.tab button.active {
    background-color: #132f1f;
}

.tabcontent-container {
    display: block;
    position: relative;
    height: 100%;
    overflow: hidden;
    background: white;
    border-left: 2px solid #4db77c;
    border-right: 2px solid #4db77c;
    border-bottom: 2px solid #4db77c;
}

.tabcontent {
    top: 0;
    width: 100%;
    overflow-y: scroll;
    position: absolute;
    height: 100%;
}

/*--------------------------------------------*/
.survey-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    margin: 10px 0;
}

.survey-tabs .tablink {
    cursor: pointer;
    margin: auto 10px;
    min-width: 50px;
    height: 50px;
    background: #929292;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    line-height: 16px;
}

.survey-tabs .tablink.active {
    background: #313131;
    border: 3px solid rgb(29 29 29 / 70%);
}

.survey-tabs .tablink.no {
    background: red;
}

.survey-tabs .tablink.si {
    background: green;
}

.survey-tabcontent {
    margin: 0.7rem 0;
}

/*--------------------------------------------*/
.ts-control {
    z-index: 0;
}

.select-component .ts-wrapper {
    width: calc(100% - 3px);
}

.select-component .ts-control {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px 8px;
    min-height: 36px;
    box-shadow: none;
    background: white;
    cursor: pointer;
}

.select-component .ts-wrapper.focus .ts-control {
    border-color: #aaa;
    box-shadow: none;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: #b2f2bb; /* your color */
    color: #242424; /* optional text color */
}

.ts-optgroup-header {
    font-weight: 500;
    font-size: 13px;
    color: #2f9e44;
    background: #f1f3f5;
    padding: 6px 10px 6px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.ts-dropdown .option {
    padding: 8px 10px;
    font-size: 14px;
}

.ts-dropdown .option.selected {
    background: #e6efff;
    color: #1a56db;
}

.item-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chip {
    background: #ebfbee;
    color: #40c057;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

/*--------------------------------------------*/
.table-container {
    overflow-x: auto;
}

table {
    background: white;
    font-family: 'Roboto', sans-serif;
    border-collapse: collapse;
    width: 100%;
    font-size: 13.5px;
}

td, th {
    /*border: 1px solid #dddddd;*/
    text-align: left;
    padding: 8px;
}

th.small {
    width: 25px;
}

td.active {
    background: #4fa83f;
    color: white;
}

td.total {
    background: #4199b7;
    color: white;
}

td a {
    display: inline-grid;
    padding: 5px;
}

td a:hover, td .actions button:hover {
    background: #4aa8f1;
    border-radius: 10%;
}

td a:hover i, td .actions button:hover i {
    filter: invert(98%) sepia(10%) saturate(1%) hue-rotate(148deg) brightness(106%) contrast(100%) !important;
}

td a i, td button i, td .download-btn i {
    background-size: cover;
    display: block;
}

td button i.show {
    width: 18px;
    height: 15px;
    filter: invert(43%) sepia(60%) saturate(2516%) hue-rotate(181deg) brightness(102%) contrast(93%);
    background-image: url(../images/icons/eye-solid.svg);
}

td button i.edit, td span i.edit {
    display: block;
    width: 24px;
    height: 21px;
    filter: invert(28%) sepia(97%) saturate(318%) hue-rotate(82deg) brightness(102%) contrast(86%);
    background-image: url(../images/icons/edit-regular.svg);
}

td button i.delete, td span i.delete {
    display: block;
    width: 18px;
    height: 21px;
    filter: invert(15%) sepia(80%) saturate(5419%) hue-rotate(19deg) brightness(92%) contrast(109%);
    background-image: url(../images/icons/trash-solid.svg);
}

td i.generate {
    width: 18px;
    height: 24px;
    filter: invert(28%) sepia(25%) saturate(3793%) hue-rotate(239deg) brightness(92%) contrast(101%);
    background-image: url(../images/icons/file-download-solid.svg);
}

td .download-btn i.download {
    width: 18px;
    height: 21px;
    filter: invert(28%) sepia(25%) saturate(3793%) hue-rotate(239deg) brightness(92%) contrast(101%);
    background-image: url(../images/icons/file-solid.svg);
}

td .show-btn.disabled {
    pointer-events: none;
    cursor: default;
}

td button.disabled i {
    filter: invert(100%) sepia(1%) saturate(709%) hue-rotate(81deg) brightness(89%) contrast(91%);
}

td .download-btn.disabled {
    pointer-events: none;
    cursor: default;
}

td .download-btn.disabled i.download {
    filter: invert(54%) sepia(4%) saturate(24%) hue-rotate(64deg) brightness(90%) contrast(93%);
}

td .cell-actions {
    display: inline-flex;
    margin: 0;
}

td .cell-actions .item {
    margin: auto auto auto 8px;
}

td .actions {
    display: flex;
}

td .actions form {
    width: 30px;
    height: 30px;
    margin: auto;
    position: relative;
}

td .actions form button {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

tr.sub-header {
    background: #242425 !important;
    color: #f3f3f3;
    cursor: default;
}

tr:nth-child(1) {
    background: #242425;
    color: #f3f3f3;
}

tr:nth-child(even) {
    background-color: #f6f6f6;
}

tr:not(:first-child):hover {
    background: #001fff26;
    cursor: pointer;
}

/*--------------------------------------------*/
#items-toggle .items-toggle-wrapper {
    display: flex;
    justify-content: end;
}

/*--------------------------------------------*/
.toggle-switch-wrapper {
    display: flex;
    align-items: center;
}

.toggle-switch-wrapper .label {
    padding-left: 0.5rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    transition: .3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: .3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background: #4CAF50;
}

input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

/*--------------------------------------------*/
#necesidades-table {
    font-size: 14px;
}

#necesidades-table .dotted {
    display: inline-flex;
    align-items: center;
}

#necesidades-table .dotted .dot {
    margin: auto 5px auto 0;
    width: 10px;
    height: 10px;
    background: #3fb368;
    border-radius: 5px;
}

#necesidades-table .dotted .dot.half {
    background: #f0e161;
}

#necesidades-table .dotted .dot.full {
    background: #dc5f3a;
}

#necesidades-table .actividad-wrapper {
    border: 1px solid #dee2e6;
    margin: 15px 0;
}

#items-table .tarea-title,
#necesidades-table .actividad-wrapper .actividad-title,
#necesidades-table .actividad-wrapper .tarea-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#necesidades-table .actividad-wrapper .actividad-title {
    padding: 1rem;
    background: #2d5a2d;
}

#items-table .tarea-title h3,
#necesidades-table .actividad-wrapper .actividad-title h2,
#necesidades-table .actividad-wrapper .tarea-title h3 {
    width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#necesidades-table .actividad-wrapper .actividad-title h2 {
    margin: 0 0 0 1rem;
    color: white;
}

#items-table .tarea-title > div:nth-child(1),
#necesidades-table .actividad-wrapper .actividad-title > div:nth-child(1),
#necesidades-table .actividad-wrapper .tarea-title > div:nth-child(1) {
    overflow: auto;
}

#items-table .tarea-title > div,
#necesidades-table .actividad-wrapper .actividad-title > div,
#necesidades-table .actividad-wrapper .tarea-title > div {
    display: flex;
    align-items: center;
}

#items-table .tarea-title span,
#necesidades-table .actividad-wrapper .actividad-title span,
#necesidades-table .actividad-wrapper .tarea-title span {
    color: #a2c0a2;
    white-space: nowrap;
    font-size: 1rem;
}

#necesidades-table .actividad-wrapper .actividad-icon {
    color: white;
}

#necesidades-table .actividad-wrapper .tarea-title {
    padding: 0.5rem 1rem 0.5rem 3rem;
    background: #4a7a4a;
}

#items-table .tarea-title {
    padding: 0.5rem 1rem;
    background: #4a7a4a;
}

#items-table .tarea-title h3,
#necesidades-table .actividad-wrapper .tarea-title h3 {
    margin: 0 0 0 1rem;
    color: white;
}

#items-table .tarea-icon,
#necesidades-table .actividad-wrapper .tarea-icon {
    color: white;
}

/*--------------------------------------------*/
.spacer {
    padding: 20px 0;
}

/*--------------------------------------------*/

.cronograma-table input {
    display: block;
    margin: auto;
    width: 45px;
    height: 30px;
    padding: 0 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
    border: 1px solid #ccc;
    outline: none;
}

.cronograma-table th.active {
    background: #4fa83f;
}

.cronograma-table tr:not(:first-child):hover,
.trimestre-table tr:not(:first-child):hover {
    background: none;
    cursor: inherit;
}

.trimestre-table .select-component {
    padding: 0;
    margin: auto;
    display: block;
    min-width: 80px;
}

/*--------------------------------------------*/
.button-componet {
    margin: 10px;
    text-align: center;
}

.button-componet input {
    font-size: 16px;
    text-align: center;
    background: #2d6842;
    color: #f3f3f3;
    cursor: pointer;
    border: none;
    width: 100%;
    padding: 12px;
}

.button-clear {
    font-size: 16px;
    text-align: center;
    background: #e7e7e7;
    color: #252426;
    cursor: pointer;
    border: none;
    padding: 12px;
    margin: 0 5px;
}

.button-download-pdf {
    font-size: 16px;
    text-align: center;
    background: #252426;
    color: #f3f3f3;
    cursor: pointer;
    border: none;
    width: 155px;
    padding: 12px;
    margin: 0 5px;
}

.button-accion {
    color: #f3f3f3;
    cursor: pointer;
    text-align: center;
    font-size: 16px;
    border: none;
    width: 145px;
    padding: 12px;
    margin: 0 5px;
}

.button-accion.confirm {
    background: #57c4e9;

}

.button-accion.cancel {
    background: red;
}

.button-accion.block {
    background: #ef7d1c;
}

.button-accion.clone {
    background: #5c6bc0;
}

/*--------------------------------------------*/
.input-component, .select-component, .textarea-component {
    width: calc(100% - 10px);
    padding: 10px 5px;
    margin: auto 0 0 0;
}

.input-component input, .form-group input {
    width: calc(100% - 15px);
}

.input-component input:read-only {
    background: #f3f3f3;
}

.select-component select {
    height: 36px;
    line-height: 36px;
    width: calc(100% - 3px);
}

.input-component label, .select-component label {
    display: block;
}

.input-component input, .select-component select, .textarea-component textarea, .form-group input {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    color: #3a3a3a;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 8px;
}

.textarea-component textarea {
    width: calc(100% - 25px);
    height: auto;
    padding: 10px;
    margin: auto;
    resize: vertical;
}

.textarea-component textarea:read-only {
    background: #f3f3f3;
    color: #3a3a3a;
    border: 1px solid #ccc;
}

.textarea-component-formatted {
    background: white;
    margin: 5px;
    padding: 10px;
}

/*--------------------------------------------*/
.row {
    display: flex;
    flex-direction: row;
    width: 100%;
}

/*--------------------------------------------*/
.fab {
    color: white;
    background: #57c4e9;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    position: fixed;
    bottom: 15px;
    right: 15px;
    border: none;
}

.fab p {
    text-align: center;
    line-height: 25px;
    margin: auto;
    font-size: 38px;
}

/*--------------------------------------------*/
#pagination ul {
    margin: 0;
    list-style: none;
    padding: 0;
    display: inline-flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

#pagination ul .pagination-item {
    border: none;
    color: white;
    background: #b3b3b3;
    padding: 8px 12px;
    margin: 5px;
    font-size: 16px;
    line-height: 15px;
    cursor: pointer;
}

#pagination ul .pagination-item.active {
    color: white;
    background: #143623;
}

/*--------------------------------------------*/
#drawer {
    max-width: 250px;
    position: relative;
    transition-timing-function: ease-in;
    transition: 0.25s;
}

#drawer .status {
    background: #1b1b1b;
    color: #dadada;
    height: 55px;
    display: flex;
}

#drawer .status div {
    margin: auto;
    display: inline-flex;
    width: 100%;
}

#drawer .status h3 {
    margin: auto;
    padding: 0 8px 0 16px;
    font-size: 16px;
}

#drawer .status h4 {
    margin: auto 0;
    padding-left: 8px;
    width: auto;
    font-size: 18px;
}

#drawer .status .blocked {
    margin: auto auto auto 0;
    display: block;
    width: 35px;
}

#drawer .status .blocked i.lock {
    display: block;
    margin: auto auto auto 10px;
    width: 20px;
    height: 30px;
    background: url(../images/icons/lock-keyhole-regular.svg) center no-repeat;
    filter: invert(56%) sepia(66%) saturate(3049%) hue-rotate(354deg) brightness(103%) contrast(87%);
}

#drawer .status h4.invalid {
    border-left: 3px solid #dc5f3a;
    color: #dc5f3a;
}

#drawer .status h4.valid {
    border-left: 3px solid #53b368;
    color: #53b368;
}

#drawer .status h4.progress {
    border-left: 3px solid #57c4e9;
    color: #57c4e9;
}

#drawer #common-snapshot label {
    display: inline-flex;
    width: 100%;
    align-items: center;
    background: #242425;
}

#drawer #common-snapshot h6 {
    padding: 0 5px;
    margin: 0;
    font-size: 17px;
    color: #dadada;
    border-right: 2px solid #dadada;
}

#drawer #common-snapshot select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #242425;
    border: none;
    color: #dadada;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    outline: none;
    cursor: pointer;
}

.drawer {
    width: 100%;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
    background: #143622;
}

.drawer.hide {
    transition-timing-function: ease-out;
    transition: 0.25s;
    width: 0;
    min-width: 0 !important;
}

.drawer ul {
    overflow-y: auto;
    height: calc(100% - 250px);
    margin: 0;
    list-style: none;
    padding: 0;
    text-align: left;
}

.drawer ul li a {
    display: block;
    color: #a1b4ad;
    font-size: 15px;
    font-family: 'Roboto', sans-serif;
    padding: 12px;
}

.drawer ul li a.selected {
    background: #2d6842;
    color: #f3f3f3;
    border-left: 3px solid #5ac17a;
}

.drawer ul li a.title.selected {
    background: #2d6842;
}

.drawer ul li a.title {
    background: #132f1f;
    font-size: 16px;
}

.drawer ul li a .link-wrapper {
    display: flex;
}

.drawer ul li a:hover {
    background: #205232;
}

.drawer-header {
    height: 44px;
    margin: 0;
    padding: 10px;
    text-align: center;
    line-height: 55px;
    color: #dadada;
    background: #242425;
    font-size: 25px;
    font-family: 'Roboto', sans-serif;
}

.drawer-header p {
    margin: auto;
    line-height: 44px;
}

.drawer-body {
    position: absolute;
    width: 100%;
    height: calc(100% - 64px);
    overflow-y: auto;
}

.drawer .footer {
    position: absolute;
    width: calc(100% - 30px);
    bottom: 0;
    background: #143622;
    border-top: 1px solid #374655;
    padding: 15px;
    color: #f3f3f3;
}

.drawer .footer img {
    border-radius: 50%;
    padding-right: 5px;
}

.drawer .footer p {
    margin: auto;
    width: 100%;
}

.drawer .footer .profile-pic-default {
    min-width: 37px;
    height: 37px;
    background: #dbe2ea;
    border-radius: 50px;
    font-size: 25px;
    color: #413f3f;
    margin-right: 10px;
}

.drawer .footer .profile-pic-default p {
    text-align: center;
    line-height: 37px;
}

.drawer .footer .logout-btn {
    flex: 1;
    text-align: center;
    background: #2d6842;
    color: #f3f3f3;
    margin: 20px 0 10px;
    padding: 5px;
    cursor: pointer;
}

.drawer.form {
    position: absolute;
    overflow: auto;
    max-width: none;
    width: 100%;
    box-shadow: inset 1px 0 0 0 #4db77c;
    background: white;
}

.drawer-header.form {
    width: 100%;
    background: #2d6842;
    display: inline-flex;
    padding: 0;
    height: 64px;
}

.drawer-header.form span {
    width: 75px;
}

.drawer-header.form span:hover {
    background: #132f1f;
}

.drawer-header.form .close {
    margin: auto;
    height: 100%;
    cursor: pointer;
}

.drawer-header.form .close p {
    font-size: 16px;
    line-height: 64px;
    padding: 0 8px;
    height: 100%;
}

.drawer-header.form h3 {
    flex: 1;
    margin: auto 5px;
    line-height: 46px;
    font-size: 19px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.drawer-header.form button {
    height: 100%;
    display: block;
    border: none;
    background: none;
    color: #dadada;
    font-size: 16px;
}

/*--------------------------------------------*/
#sidebar-form {
    width: 600px;
    height: 100%;
    display: table;
    position: relative;
    transition-timing-function: ease-in;
    transition: 0.25s;
}

#sidebar-form.hide {
    transition-timing-function: ease-out;
    transition: 0.25s;
    width: 0;
}

#sidebar-form #drawer-header {
    height: 64px;
}

@media screen and (min-width: 1600px) {
    #sidebar-form {
        width: 800px;
    }
}

/*--------------------------------------------*/
#modal.visible {
    display: block;
}

.modal-container {
    display: none;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #35353559;
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}

.modal-container .modal-wrapper {
    max-width: 900px;
    margin: auto;
    position: relative;
    bottom: -30px;
    background: transparent;
    height: calc(100% - 60px);
    overflow: hidden;
}

.modal-container .modal-wrapper .modal {
    width: calc(100% - 20px);
    height: 100%;
    background: white;
    margin: 10px;
    border-radius: 5px;
}

.modal-container .modal-wrapper .modal .modal-header {
    background: #2d6842;
    color: #f3f3f3;
    justify-content: space-between;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-container .modal-wrapper .modal .modal-header span {
    width: 90px;
    display: flex;
}

.modal-container .modal-wrapper .modal .modal-header span p {
    margin: auto;
}

.modal-container .modal-wrapper .modal .modal-header span button {
    width: 100%;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
    outline: none;
}

.modal-container .modal-wrapper .modal .modal-header span:hover {
    cursor: pointer;
    background: #132f1f;
}

.modal-container .modal-wrapper .modal .modal-header span:nth-child(1):hover {
    border-top-left-radius: 5px;
}

.modal-container .modal-wrapper .modal .modal-header span:nth-child(3):hover {
    border-top-right-radius: 5px;
}

.modal-container .modal-wrapper .modal .modal-content .modal-body {
    overflow-y: auto;
    height: calc(100% - 75px);
    position: absolute;
    width: calc(100% - 20px);
}

.modal-container .modal-wrapper .modal .modal-content .modal-body .form {
    margin: 10px;
}

.form .form-error {
    color: red;
}

.form .form-error.inline {
    background: #ff000029;
    width: 100%;
    display: inline-block;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #ed462f;
    text-align: center;
}

/*--------------------------------------------*/
#delete-modal .modal-wrapper {
    max-width: 600px;
    height: auto;
}

#delete-modal .modal-wrapper .modal-body {
    position: relative;
    margin: auto;
}

#delete-modal .modal-wrapper .modal-body p.message {
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

/*--------------------------------------------*/
#clone-modal .modal-wrapper {
    max-width: 600px;
    height: auto;
}

#clone-modal .modal-wrapper .modal-body {
    position: relative;
    margin: auto;
}

#clone-modal .modal-wrapper .modal-body p.message {
    margin: 0 auto;
    padding: 20px 20px 10px;
}

/*--------------------------------------------*/
#layout-content {
    display: inline-flex;
    position: relative;
    width: 100%;
    height: 100%;
}

#layout-content .main-content {
    width: 100%;
    height: 100%;
    background: #fafafb;
    overflow: hidden;
    z-index: 1;
}

#layout-content .header-container {
    display: inline-flex;
    width: 100%;
    flex-direction: column;
}

#layout-content .header-container .header {
    background: #313131;
    margin: 0;
    padding: 10px;
    height: 44px;
    display: flex;
    color: #dadada;
    z-index: 1;
    font-family: 'Roboto', sans-serif;
}

#layout-content .header-container .header h1 {
    font-size: 18px;
    margin: auto auto auto 0;
    font-family: 'Roboto', sans-serif;
}

#layout-content .header-container #sub-header {
    background: #252426;
}

#layout-content .header-container .sub-header {
    display: inline-flex;
    justify-content: space-between;
    height: 65px;
    width: 100%;
    white-space: nowrap;
    overflow: auto;
    z-index: 1;
}

#layout-content .header-container .sub-header > div {
    display: inline-flex;
}

#layout-content .header-container .sub-header .left-items a {
    display: block;
    margin: auto 1rem;
    padding: 0.5rem 1.5rem;
    background: #585858;
    color: #dadada;
    font-size: 1.1rem;
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
}


#layout-content .header-container .sub-header h3,
#layout-content .header-container .sub-header h4 {
    color: #dadada;
    margin: 0;
}

#layout-content .header-container .sub-header h3 {
    font-size: 22px;
}

#layout-content .header-container .sub-header h4 {
    font-size: 14px;
}

#layout-content .header-container .sub-header .item {
    margin: auto 10px;
}

#layout-content .header-container .sub-header .item {
    border-left: 5px solid #4a4ad0;
    padding-left: 8px;
}

#layout-content .header-container .sub-header .item.low {
    border-left: 5px solid #dc5f3a;
}

#layout-content .header-container .sub-header .item.medium {
    border-left: 5px solid #dadc3a;
}

#layout-content .header-container .sub-header .item.high {
    border-left: 5px solid #3fb368;
}

/*--------------------------------------------*/
.page-global-container {
    height: calc(100% - 20px - 64px);
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
}

.page-global-container.sub-header {
    height: calc(100% - 20px - 64px - 55px);
}

.page-container {
    display: inline-flex;
    flex-direction: column;
    width: calc(100% - 20px);
    margin: 10px;
    position: absolute;
    /*overflow-y: scroll;*/
}

/*--------------------------------------------*/
.home-container,
.prerequerimientos-container,
.necesidades-container,
.registroactividades-container,
.registrotechos-container,
.registrotareas-container,
.centrocostos-container,
.poi-container,
.registroitems-container,
.necesidades-container {
    max-width: 1500px;
    width: 100%;
    margin: auto;
    overflow-x: clip;
}

/*--------------------------------------------*/
.dashboard-charts, .dashboard-info {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
}

.dashboard-charts .dashboard-chart {
    width: calc(50% - 10px);
    padding: 5px;
}

/*--------------------------------------------*/
.dashboard-progress {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: center;
}

#dashboard-actividades {
    flex: 1;
    overflow: hidden;
}

.dashboard-actividades .dashboard-actividad {
    display: inline-flex;
    width: 100%;
    margin-bottom: 10px;
}

.dashboard-actividades .dashboard-actividad .actividad-number {
    margin: auto 10px;
    min-width: 50px;
    height: 50px;
    background: #313131;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 18px;
    line-height: 16px;
}

.dashboard-actividades .dashboard-actividad .actividad-info {
    color: #5f5f5f;
    width: calc(100% - 70px);
}

.dashboard-actividades .dashboard-actividad .actividad-info h4 {
    margin: 0;
    font-size: 26px;
}

.dashboard-actividades .dashboard-actividad .actividad-info h5 {
    margin: 0;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*--------------------------------------------*/
.dashboard-list .item {
    text-align: center;
    flex: 1;
    padding: 10px 5px;
    margin: 5px;
    background: #dbe1e8;
}

.dashboard-list .item h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: #4f5f6f;
}

.dashboard-list .item span {
    font-size: 25px;
    color: #4f5f6f;
}

.dashboard-list .item.error {
    background: #dc0b0b;
}

.dashboard-list .item.error h4 {
    color: white;
}

.dashboard-list .item.error span {
    color: white;
}

.dashboard-list .item.accepted {
    background: green;
}

.dashboard-list .item.accepted h4 {
    color: white;
}

.dashboard-list .item.accepted span {
    color: white;
}

.dashboard-list .item.progress {
    background: #57c4e9;
}

.dashboard-list .item.progress h4 {
    color: white;
}

.dashboard-list .item.progress span {
    color: white;
}

/*--------------------------------------------*/
.progress-item {
    width: 180px;
    display: inline-flex;
    flex-direction: column;
    text-align: center;
    color: #5f5f5f;
}

.progress-item .progress-ring {
    position: relative;
}

.progress-item .progress-ring h6 {
    position: absolute;
    margin: auto 0;
    width: 100%;
    line-height: 120px;
    font-size: 20px;
}

.progress-item h4 {
    margin: 0;
}

.progress-ring__circle {
    transition: 0.5s stroke-dashoffset;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
}

/*--------------------------------------------*/
#validate-label, #techo-label, #programado-label {
    flex: 1;
    display: inline-flex;
}

/*--------------------------------------------*/
.welcome-message {
    border-bottom: 1px solid #374655;
}

.welcome-message p {
    color: #9fa7b0;
    font-size: 20px;
}

/*--------------------------------------------*/
#items-modal .modal-wrapper, #tareas-modal .modal-wrapper {
    max-width: 1100px;
}

/*--------------------------------------------*/
#login {
    margin: auto;
    height: 100%;
    width: 100%;
    position: absolute;
    background: #f2f6f9;
}

#login .login-container {
    max-width: 900px;
    margin: auto;
    height: 100%;
}

#login .login-container .login-dialog {
    margin: auto;
    max-width: 500px;
    width: 100%;
    padding: 10px;
}

#login .login-container .login-dialog img {
    display: block;
    margin: auto;
    padding-bottom: 20px;
}

#login .login-container .login-dialog div {
    background: white;
}

#login .login-container .login-dialog h3 {
    background: #374655;
    color: white;
    margin: 0;
    padding: 15px;
}

#login .login-container .login-dialog form {
    padding: 15px;
}

#login .login-container .login-dialog button {
    background: #374655;
    color: #f3f3f3;
    border: none;
    padding: 10px 20px;
    margin: 20px auto 0;
    max-width: 300px;
    display: block;
    width: calc(100% - 20px);
}

/*--------------------------------------------*/
.prerequerimiento-header {
    color: #4f5f6f;
    display: inline-flex;
    justify-content: space-between;
    width: 100%;
}

.itemPrerequerimientos-table {
    padding: 8px;
    border-radius: 5px;
    background: #fff80f52;
}

.itemPrerequerimientos-table h2 {
    color: #2d6842;
    font-size: 18px;
    text-align: center;
}

/*--------------------------------------------*/
#prerequerimientos-table .update-real-price-button {
    position: relative;
}

#prerequerimientos-table .update-real-price-button div {
    position: absolute;
    top: 0;
    height: calc(100% - 1rem);
    margin: 0.5rem;
    display: inline-flex;
}

#prerequerimientos-table .update-real-price-button input {
    width: 100%;
    padding: 0 5px 0 45px;
    text-align: right;
    border: 1px solid #ccc;
}

#prerequerimientos-table .update-real-price-button input[readonly] {
    background: #e7e7e7;
}

#prerequerimientos-table .update-real-price-button input::-webkit-outer-spin-button,
#prerequerimientos-table .update-real-price-button input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#prerequerimientos-table .update-real-price-button button {
    position: absolute;
    height: 100%;
    width: 40px;
    top: 0;
    left: 0;
    background: no-repeat;
    border: none;
}

#prerequerimientos-table .update-real-price-button button[disabled] {
    display: none;
}


#prerequerimientos-table .update-real-price-button button img {
    width: 1.2rem;
    margin: auto;
    display: block;
    filter: invert(28%) sepia(25%) saturate(3793%) hue-rotate(239deg) brightness(92%) contrast(101%);
}

#itemPrerequerimientos-form .item-span {
    display: flex;
    flex: 1;
    border: 1px solid #40c057;
    background: #ebfbee;
    color: #2f9e44;
    border-radius: 5px;
    padding: 0.5rem;
    margin: 1rem;
}

#itemPrerequerimientos-form .item-span span {
    padding: 0.5rem;
}

/*--------------------------------------------*/
/* Consolidación Dashboard */

.radio-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    padding: 6px 0;
}

.radio-option {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: #3a3a3a;
    cursor: pointer;
}

.consolidacion-graficos-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}

.grafico-card {
    flex: 1;
    min-width: 300px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 16px;
}

.grafico-card h3 {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #4f5f6f;
    text-transform: uppercase;
}

.grafico-container {
    position: relative;
    height: 220px;
}

.consolidacion-table .col-periodo {
    text-align: center;
    background: #242425;
    color: #f3f3f3;
}

.consolidacion-table .col-pgr {
    text-align: center;
    font-size: 12px;
    white-space: nowrap;
}

.consolidacion-table .col-p { background: #eef2ff; }
.consolidacion-table .col-g { background: #f0fdf4; }
.consolidacion-table .col-r { background: #fffbeb; }
.consolidacion-table .col-f { background: #fdf4ff; }
.consolidacion-table .col-total-val { font-weight: 600; }
.consolidacion-table .col-label-cell { min-width: 160px; }
.consolidacion-table .col-subperiodo {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 4px;
}
.consolidacion-table .col-financiero { background: #1e3a5f; color: #e8f0fe; }
.consolidacion-table .col-fisico-header { background: #4a1a6b; color: #f3e8ff; }
.consolidacion-table .label-actividad { display: block; font-size: 11px; color: #888; }
.consolidacion-table .label-tarea { display: block; font-size: 13px; }

.consolidacion-table tfoot tr {
    border-top: 2px solid #555;
}

.consolidacion-table tfoot tr td {
    font-weight: 700;
    color: #1a1a1a;
}

.consolidacion-table tfoot .col-label-cell {
    background: #f0f0f0;
}

.consolidacion-legend {
    font-size: 12px;
    color: #666;
    margin: 8px 0;
}

.consolidacion-legend .legend-p { background: #eef2ff; padding: 1px 6px; border-radius: 3px; }
.consolidacion-legend .legend-g { background: #f0fdf4; padding: 1px 6px; border-radius: 3px; }
.consolidacion-legend .legend-r { background: #fffbeb; padding: 1px 6px; border-radius: 3px; }
.consolidacion-legend .legend-f { background: #fdf4ff; padding: 1px 6px; border-radius: 3px; }

/* Separador visual entre períodos */
.consolidacion-table .col-mes-fin {
    border-right: 2px solid #bbb !important;
}

/* Header de actividad dentro de la tabla */
.consolidacion-table .consolidacion-actividad-header td {
    background: #2d5a2d;
    color: white;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 10px;
    letter-spacing: 0.02em;
}
