/********** Template CSS **********/
:root {
    --primary: #e3e3e3;
    --light: #0B2240;
    --dark: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 80px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}


/*** Layout ***/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #FFFFFF;
    transition: 0.5s;
}

@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}


/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}

.footer-bot {
    position: fixed;
    bottom: 0;
    z-index: 100;
}

.space-footer {
    margin-bottom: 120px;
}

.accordion-button {
    background-color: #ffffff;
}

.accordion-button:not(.collapsed) {
    color: #16a4ff;
    background-color: #ffffff;
}

.form {

    position: relative;
}

.form .fa-search {

    position: absolute;
    top: 20px;
    left: 20px;
    color: #9ca3af;

}

.form span {

    position: absolute;
    right: 17px;
    top: 13px;
    padding: 2px;
    border-left: 1px solid #d1d5db;

}

.left-pan {
    padding-left: 7px;
}

.left-pan i {

    padding-left: 10px;
}

.form-input {

    height: 55px;
    text-indent: 33px;
    border-radius: 10px;
}

.form-input:focus {
    box-shadow: none;
    /*border: none;*/
}




.card-comment {
    /*border: none;*/
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 10px;
    background: #eeeefc;
}


.round .align-self-start {
    border-radius: 100%;
    width: 45px;
    height: 40px
}

.media .comment {
    background: #eeeefc;
    border: none;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

h6.user {
    /*color: #5C5C5C;*/
    color: black;
    font-size: 15px !important;
    margin-bottom: 0
}

h6.user:hover {
    cursor: pointer;
    text-decoration: underline
}

p.text {
    margin-bottom: 0;
    /*color: #8A8A8A !important;*/
    color: black;
    font-size: 13px;
    text-align: justify;
}

.text p {
    margin-bottom: 0;
    color: #000000;
    font-size: 13px
}

.ml-auto {
    margin-right: 10px
}

p .reply {
    color: #5C5C5C;
    font-size: 15px
}

@media screen and (min-width: 576px) {
    /*.comment {
        width: 470px !important
    }*/
}

.media {
    display: -ms-flexbox;
    /*display: flex;*/
    -ms-flex-align: start;
    align-items: flex-start;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}

.ml-auto,
.mx-auto {
    margin-left: auto !important;
}









.step-container {
    position: relative;
    text-align: center;
    transform: translateY(-43%);
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid #007bff;
    line-height: 30px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    cursor: pointer;
    /* Added cursor pointer */
}

.step-line {
    position: absolute;
    top: 16px;
    left: 50px;
    width: calc(100% - 100px);
    height: 2px;
    background-color: #007bff;
    z-index: -1;
}

#multi-step-form {
    overflow-x: hidden;
}








.card-tipo-proceso {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin-bottom: 0;
    cursor: pointer;
}

.card-tipo-proceso>div {
    height: 100%;
    width: 100%;
}

.card-tipo-proceso .foreground {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: translateX(100%);
    background-color: rgba(199, 199, 248, 0.267);
    transition: .5s ease;
}

.card-tipo-proceso:hover .foreground {
    transform: translateX(0);
}







.category option {
    background-color: white;
    color: grey;
}

.category select,
.category input,
.category button {
    background-color: white;
    border: none;
    padding: 0.5em 0.8em;
    border-radius: 4px;
    color: grey;
    cursor: pointer;
    outline-style: none;
    font-size: 16px;
    font-family: "Roboto", sans-serif;

    &:hover {
        background-color: #EFEFEF;
        color: black;
    }

    &:not(:last-child) {
        margin-right: 4px;
    }

    &[type=color] {
        width: 1.2em;
    }

    &[type=number] {
        width: 3em;
    }
}


#wysiwyg {
    border-radius: 8px;
    width: 100%;
    /*max-width: 600px;*/
    max-height: 100%;
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;

    .btns {
        padding: 0.3em 0.3em;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        border-bottom: 1px solid #EFEFEF;
        background-color: white;
        flex-grow: 2;

        .category {
            display: flex;
            align-items: center;
            border-right: 1px solid #EFEFEF;
            padding: 0 4px;
        }
    }

    #editor {
        resize: none;
        background-color: white;
        outline-style: none;
        border: none;
        width: 100%;
        box-sizing: border-box;
        padding: 20px 20px;
        /*max-height: calc(0vh);*/
        overflow: auto;

        img {
            max-width: 100%;
        }
    }
}




/**
 * FilePond Custom Styles
 */
.filepond--drop-label {
    color: #4c4e53;
}

.filepond--label-action {
    text-decoration-color: #babdc0;
}

.filepond--panel-root {
    border-radius: 2em;
    background-color: #edf0f4;
    height: 1em;
}

.filepond--item-panel {
    background-color: #595e68;
}

.filepond--drip-blob {
    background-color: #7f8a9a;
}







.select2 {
    width: 100% !important;
}






.container-documentos {
    text-align: center;
    width: 100%;
    max-width: 500px;
    min-height: 350px;
    margin: auto;
    background-color: white;
    border-radius: 16px;
    box-shadow: rgba(255, 255, 255, 0.1) 0px 1px 1px 0px inset, rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.header-section-documentos {
    padding: 25px 0px;
}

.header-section-documentos h1 {
    font-weight: 500;
    font-size: 1.7rem;
    text-transform: uppercase;
    color: #707EA0;
    margin: 0px;
    margin-bottom: 8px;
}

.header-section-documentos p {
    margin: 5px;
    font-size: 0.95rem;
    color: #707EA0;
}

.drop-section {
    min-height: 250px;
    border: 1px dashed #A8B3E3;
    background-image: linear-gradient(180deg, white, #F1F6FF);
    margin: 5px 35px 0px 35px;
    border-radius: 12px;
    position: relative;
}

.drop-section div.col:first-child {
    opacity: 1;
    visibility: visible;
    transition-duration: 0.2s;
    transform: scale(1);
    width: 65%;
    margin: auto;
}

.drop-section div.col:last-child {
    font-size: 40px;
    font-weight: 700;
    color: #c0cae1;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 65%;
    height: 55px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.6);
    transition-duration: 0.2s;
}

/* we will use "drag-over-effect" class in js */
.drag-over-effect div.col:first-child {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.1);
}

.drag-over-effect div.col:last-child {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.drop-section .cloud-icon {
    margin-top: 25px;
    margin-bottom: 20px;
}

.drop-section span,
.drop-section button {
    display: block;
    margin: auto;
    color: #707EA0;
    margin-bottom: 10px;
}

.drop-section button {
    color: white;
    background-color: #5874C6;
    border: none;
    outline: none;
    padding: 7px 20px;
    border-radius: 8px;
    margin-top: 20px;
    cursor: pointer;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.drop-section input {
    display: none;
}

.list-section {
    display: none;
    text-align: left;
    margin: 0px 35px;
    padding-bottom: 20px;
}

.list-section .list-title {
    font-size: 0.95rem;
    color: #707EA0;
}

.list-section li {
    display: flex;
    margin: 15px 0px;
    padding-top: 4px;
    padding-bottom: 2px;
    border-radius: 8px;
    transition-duration: 0.2s;
}

.list-section li:hover {
    box-shadow: #E3EAF9 0px 0px 4px 0px, #E3EAF9 0px 12px 16px 0px;
}

.list-section li .col {
    flex: .1;
}

.list-section li .col:nth-child(1) {
    flex: .15;
    text-align: center;
}

.list-section li .col:nth-child(2) {
    flex: .75;
    text-align: left;
    font-size: 0.9rem;
    color: #3e4046;
    padding: 8px 10px;
}

.list-section li .col:nth-child(2) div.name {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 250px;
    display: inline-block;
}

.list-section li .col .file-name span {
    color: #707EA0;
    float: right;
}

.list-section li .file-progress {
    width: 100%;
    height: 5px;
    margin-top: 8px;
    border-radius: 8px;
    background-color: #dee6fd;
}

.list-section li .file-progress span {
    display: block;
    width: 0%;
    height: 100%;
    border-radius: 8px;
    background-image: linear-gradient(120deg, #6b99fd, #9385ff);
    transition-duration: 0.4s;
}

.list-section li .col .file-size {
    font-size: 0.75rem;
    margin-top: 3px;
    color: #707EA0;
}

.list-section li .col svg.cross,
.list-section li .col svg.tick {
    fill: #8694d2;
    background-color: #dee6fd;
    position: relative;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.list-section li .col svg.tick {
    fill: #50a156;
    background-color: transparent;
}

.list-section li.complete span,
.list-section li.complete .file-progress,
.list-section li.complete svg.cross {
    display: none;
}

.list-section li.in-prog .file-size,
.list-section li.in-prog svg.tick {
    display: none;
}


/* BACKGROUND PERSONALIZADO GHA */

.bg-light {
    background-color: white !important;
}

.bg-primary-gha {
    background-color: #0B2240 !important;
}

.bg-text-icon-primary-gha {
    color: white !important;
}

.bg-text-icon-primary-gha:hover {
    background-color: #ffffff !important;
    color: black !important;
}

.bg-text-icon-primary-gha.active {
    background-color: #ffffff !important;
    color: black !important;
}

.bg-text-icon-primary-gha i {
    color: black !important;
}

.bg-text-icon-primary-gha:hover i {
    color: white !important;
}

.bg-text-icon-primary-gha.active i {
    color: white !important;
}


.bg-text-primary-gha {
    color: white !important;
}

.bg-text-primary-gha:hover {
    color: black !important;
}

.bg-text-primary-gha.active {
    background-color: #e9ecef !important;
    color: black !important;
}


.bg-text-secondary-gha {
    color: #0B2240 !important;
}

.bg-text-secondary-gha:hover {
    color: #17355c !important;
}


.btn-primary-gha {
    background-color: #0B2240 !important;
    border-color: #0B2240 !important;
    color: #f1f1f1 !important;
}

.btn-primary-gha:hover {
    background-color: #17355c !important;
    border-color: #17355c !important;
    color: #f1f1f1 !important;
}

.btn-outline-primary-gha {
    border-color: #0B2240 !important;
    color: #0B2240 !important;
}

.btn-outline-primary-gha:hover {
    background-color: #0B2240 !important;
    border-color: #0B2240 !important;
    color: #f1f1f1 !important;
}

.btn-secondary-gha {
    background-color: #274770 !important;
    border-color: #274770 !important;
}

.btn-secondary-gha:hover {
    background-color: #385985 !important;
    border-color: #385985 !important;
}



.nav-link-primary-gha {
    color: #0B2240 !important;
}

.nav-link-primary-gha:hover {
    color: #17355c !important;
}

.nav-link-primary-gha.active {
    background-color: #0B2240 !important;
    border-color: #0B2240 !important;
    color: #f1f1f1 !important;
}

.nav-link-primary-sga.active {
    background-color: #0B2240 !important;
}

.accordion-button-gha {
    color: #757575 !important;
}

.accordion-button-gha:not(.collapsed) {
    color: #17355c !important;
}

.accordion-button-gha:focus {
    box-shadow: 0 0 0 .25rem rgb(11 34 64 / 10%) !important;
}

.accordion-item-gha {
    background-color: white;
}



*::-webkit-scrollbar {
    height: 10px;
    width: 10px;
}

*::-webkit-scrollbar-track {
    background-color: #DFE9EB;
}

*::-webkit-scrollbar-track:hover {
    background-color: #B8C0C2;
}

*::-webkit-scrollbar-track:active {
    background-color: #B8C0C2;
}

*::-webkit-scrollbar-thumb {
    border-radius: 5px;
    background-color: #ddd;
}

*::-webkit-scrollbar-thumb:hover {
    background-color: #bdbbbb;
}

*::-webkit-scrollbar-thumb:active {
    background-color: #bdbbbb;
}

.nav-item-w-gha {
    width: 16.6%;
}

.dropdown-toggle-gha::after {
    display: none !important;
}












.file-names ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.file-names li {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
    font-size: 14px;
}

.file-names {
    margin-top: 10px;
    font-size: 14px;
    color: #555;
    word-break: break-word;
    max-width: 100%;
}

.custom-file-upload {
    display: grid;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.file-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0b2240;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.file-label:hover {
    background-color: #0056b3;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.file-label i {
    font-size: 20px;
}

.file-input {
    display: none;
}











.sticky-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.note-container {
    position: relative;
    padding-bottom: 15px;
    width: 100%;
    background: linear-gradient(#f9efaf, #f7e98d);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.note-container:hover {
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.15);
}

.note-content {
    padding: 15px;
    height: calc(100% - 40px);
    border: none;
    outline: none;
}

.note-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.delete-note {
    background-color: #ff6347;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.delete-note:hover {
    background-color: #d9534f;
}



[type='color'] {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    padding: 0;
    height: 15px;
    border: none;
}

[type='color']::-webkit-color-swatch-wrapper {
    padding: 0;
}

[type='color']::-webkit-color-swatch {
    border: none;
}

.color-picker {
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #f8f9f9;
}




/* Estilo para el ícono de carga */
.filepond--label-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    /* Ajusta el tamaño según sea necesario */
    height: 50px;
    background-color: #007BFF;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Estilo para cambiar el ícono */
.filepond--label-action:before {
    content: "\f0c6";
    /* Aquí puedes usar cualquier ícono de FontAwesome o cambiarlo por otro */
    font-family: "FontAwesome";
    /* Si usas FontAwesome */
    font-size: 24px;
}






.w-sp .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){
 width: 100%;
}

.form-label{
    margin-bottom: .5rem;
    text-align: justify;
}
