/* Themes */
:root {
    color-scheme: light dark; /* both supported */
    --allways-dark: #0E0F19;
    --allways-light: #FBF9F5;
    --background-color: #FBF9F5;
    --font-color: #0E0F19;
    --subtitles: #404A7F;
    --bad-color: #FF4D79;
    --accent-color: #404A7F;
    --main-element: #404A7F;
    --good-color: #00ca43;
    --z1: #F2F2FF;
    --z2: #dadae4;
    --table-striped-bg: rgba(0, 0, 0, 0.05);
    --status-1: #bfbfbf83;
    --status-2: #ffa35783;
    --status-3: #6baffc83;
    --status-4: #726bff83;
    --status-5: #f0ff6b83;
    --status-6: #6ff4a083;
    --status-7: #ff0000c2;

    --critico: #ff0000c2;
    --riesgo: #ff8514;
    --preventivo: #ffe95d;
    --ok: #00ca43;

    
  }

@media (prefers-color-scheme: dark ) {
    :root {
        --background-color: #0E0F19;
        --font-color: #FBF9F5;
        --subtitles: #BFC3E0;
        --important: #FF5781;
        --accent-color: #BFC3E0;
        --main-element: #BFC3E0;
        --good-color: #5CFF91;
        --z1: #191A2A;
        --z2: #2A2B3A;
        --table-striped-bg: rgba(0, 0, 0, 0.267);
        --status-1: #bfbfbf;
        --status-2: #fc8d8d;
        --status-3: #a5cfff;
        --status-4: #fffbbc;
        --status-5: #aaffc9;
    }
    .img-light {
        display: none;
    }
    .img-dark {
        display: inherit;
    }
    
}

.font-dark {
  color: var(--allways-dark) !important;
}

.font-light {
  color: var(--allways-light);
}

.bg-primary {
  background-color: var(--main-element) !important;
}

.container-fluid  .custom-nav.bg-primary {
  background-color: var(--main-element) !important;
}

.bg-critico {
    background-color: var(--critico);
}
.bg-riesgo {
    background-color: var(--riesgo);
}
.bg-preventivo {
    background-color: var(--preventivo);
}
.bg-ok {
    background-color: var(--ok);
}

.img-light {
    display: inherit;
}
.img-dark {
    display: none;
}

.img-grid{ 
  border-radius: 18px; 
  background-color: var(--z2); 
  width: 100%; 
  min-height: 20vh; 
  max-height: 20vh; 
  object-fit: cover;
  text-align: center;
  border-style: none;
  border-color: transparent;
}

.background-color {
  background-color: var(--background-color);
  color: var(--font-color) !important;
}

@media screen and (min-width: 768px) {
  .img-grid{ 
    min-height: 30vh; 
    max-height: 30vh; 
  }
}

hr {
    margin-top: 0;
    opacity: 10%;
}

a .custom-card:hover {
  background-color: var(--z2);
}

/* Global styles */
body {
    background-color: var(--background-color);
    color: var(--font-color);
    font-family: 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace; 
    font-size: 16px;
}

h1 {
    font-family: 'Zilla Slab', serif;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 4.5rem;
}

h2, h3, h4, h5, h6 {
    font-family: 'Zilla Slab', serif;
    font-weight: 500;
    color: var(--subtitles);
}


input {
    padding: 0.45rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    border-width: 0.05rem;
}

/* glasslike backround */
.round-search-input {
  border-radius: 50px;
  border: none;
  padding: 0.5rem 1.5rem;
  width: 100%;
  background: var(--z1);
  box-shadow: 0 4px 30px var(--z2);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.counter-field {
    width: 3ch;
    text-align: center;
    padding: 0;
}

.custom .form-control {
  background-color: var(--z2);
  color: var(--font-color);
}

.custom .paginate_button {
  background-color: var(--z2);
  color: var(--font-color);
}

.custom .paginate_button.active {
  background-color: var(--z2);
  color: var(--font-color);
}


.custom .page-link{
  background-color: var(--z2);
  color: var(--font-color);
}

.custom .active .page-link{
  background-color: var(--main-element);
  color: var(--font-color);
}

.custom .btn-primary {
  background-color: var(--main-element);
  color: var(--z1);
  border-radius: 18px;
}

input:disabled {
    background-color: var(--z2);
    color: var(--font-color);
}

.form-control:disabled {
    background-color: var(--z2);
    color: var(--font-color);
    opacity: 0.7;
}

.form

.form-select:disabled{
    background-color: var(--z2);
    color: var(--font-color);
}

select.form-select {
    padding: 0.45rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    color: var(--font-color);
    background-color: var(--z1);
    border-width: 0.05rem;
}

.custom .form-text{
    color: var(--font-color);
}

/* ===============================
=            Choices            =
=============================== */
.choices {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    font-size: 16px;
  }
  .choices:focus {
    outline: none;
  }
  .choices:last-child {
    margin-bottom: 0;
  }
  .choices.is-open {
    overflow: visible;
  }
  .choices.is-disabled .choices__inner,
  .choices.is-disabled .choices__input {
    background-color: #eaeaea;
    cursor: not-allowed;
    -webkit-user-select: none;
            user-select: none;
  }
  .choices.is-disabled .choices__item {
    cursor: not-allowed;
  }
  .choices [hidden] {
    display: none !important;
  }
  
  .choices[data-type*=select-one] {
    cursor: pointer;
  }
  .choices[data-type*=select-one] .choices__inner {
    padding-bottom: 7.5px;
  }
  .choices[data-type*=select-one] .choices__input {
    display: block;
    width: 100%;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background-color: #fff;
    margin: 0;
  }
  .choices[data-type*=select-one] .choices__button {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjMDAwIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==");
    padding: 0;
    background-size: 8px;
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -10px;
    margin-right: 25px;
    height: 20px;
    width: 20px;
    border-radius: 10em;
    opacity: 0.25;
  }
  .choices[data-type*=select-one] .choices__button:hover, .choices[data-type*=select-one] .choices__button:focus {
    opacity: 1;
  }
  .choices[data-type*=select-one] .choices__button:focus {
    box-shadow: 0 0 0 2px #00bcd4;
  }
  .choices[data-type*=select-one] .choices__item[data-value=""] .choices__button {
    display: none;
  }
  .choices[data-type*=select-one]::after {
    content: "";
    height: 0;
    width: 0;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
    border-width: 5px;
    position: absolute;
    right: 11.5px;
    top: 50%;
    margin-top: -2.5px;
    pointer-events: none;
  }
  .choices[data-type*=select-one].is-open::after {
    border-color: transparent transparent #333 transparent;
    margin-top: -7.5px;
  }
  .choices[data-type*=select-one][dir=rtl]::after {
    left: 11.5px;
    right: auto;
  }
  .choices[data-type*=select-one][dir=rtl] .choices__button {
    right: auto;
    left: 0;
    margin-left: 25px;
    margin-right: 0;
  }
  
  .choices[data-type*=select-multiple] .choices__inner,
  .choices[data-type*=text] .choices__inner {
    cursor: text;
  }
  .choices[data-type*=select-multiple] .choices__button,
  .choices[data-type*=text] .choices__button {
    position: relative;
    display: inline-block;
    margin-top: 0;
    margin-right: -4px;
    margin-bottom: 0;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid #008fa1;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjRkZGIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==");
    background-size: 8px;
    width: 8px;
    line-height: 1;
    opacity: 0.75;
    border-radius: 5px;
  }
  .choices[data-type*=select-multiple] .choices__button:hover, .choices[data-type*=select-multiple] .choices__button:focus,
  .choices[data-type*=text] .choices__button:hover,
  .choices[data-type*=text] .choices__button:focus {
    opacity: 1;
  }
  
  .choices__inner {
    padding: 0.45rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    color: var(--font-color);
    background-color: var(--z1);
    border-width: 0.05rem;
    display: inline-block;
    width: 100%;
    overflow: hidden;
  }
  .is-focused .choices__inner, .is-open .choices__inner {
    border-color: var(--font-color);
  }
  .is-open .choices__inner {
    border-radius: 2.5px 2.5px 0 0;
  }
  .is-flipped.is-open .choices__inner {
    border-radius: 0 0 2.5px 2.5px;
  }
  
  .choices__list {
    margin: 0;
    padding-left: 0;
    list-style: none;
  }
  .choices__list--single {
    display: inline-block;
    padding: 4px 16px 4px 4px;
    width: 100%;
  }
  [dir=rtl] .choices__list--single {
    padding-right: 4px;
    padding-left: 16px;
  }
  .choices__list--single .choices__item {
    width: 100%;
  }
  
  .choices__list--multiple {
    display: inline;
  }
  .choices__list--multiple .choices__item {
    display: inline-block;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #00bcd4;
    border: 1px solid #00a5bb;
    color: #fff;
    word-break: break-all;
    box-sizing: border-box;
  }
  .choices__list--multiple .choices__item[data-deletable] {
    padding-right: 5px;
  }
  [dir=rtl] .choices__list--multiple .choices__item {
    margin-right: 0;
    margin-left: 3.75px;
  }
  .choices__list--multiple .choices__item.is-highlighted {
    background-color: #00a5bb;
    border: 1px solid #008fa1;
  }
  .is-disabled .choices__list--multiple .choices__item {
    background-color: #aaaaaa;
    border: 1px solid #919191;
  }
  
  .choices__list--dropdown, .choices__list[aria-expanded] {
    visibility: hidden;
    z-index: 1;
    position: absolute;
    width: 100%;
    background-color: var(--z2);
    border: 1px solid var(--font-color);
    top: 100%;
    margin-top: -1px;
    border-bottom-left-radius: 2.5px;
    border-bottom-right-radius: 2.5px;
    overflow: hidden;
    word-break: break-all;
    will-change: visibility;
  }
  .is-active.choices__list--dropdown, .is-active.choices__list[aria-expanded] {
    visibility: visible;
  }
  .is-open .choices__list--dropdown, .is-open .choices__list[aria-expanded] {
    border-color: #b7b7b7;
  }
  .is-flipped .choices__list--dropdown, .is-flipped .choices__list[aria-expanded] {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: -1px;
    border-radius: 0.25rem 0.25rem 0 0;
  }
  .choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
    position: relative;
    max-height: 300px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    will-change: scroll-position;
  }
  .choices__list--dropdown .choices__item, .choices__list[aria-expanded] .choices__item {
    position: relative;
    padding: 10px;
    font-size: 14px;
  }
  [dir=rtl] .choices__list--dropdown .choices__item, [dir=rtl] .choices__list[aria-expanded] .choices__item {
    text-align: right;
  }
  @media (min-width: 640px) {
    .choices__list--dropdown .choices__item--selectable, .choices__list[aria-expanded] .choices__item--selectable {
      padding-right: 100px;
    }
    .choices__list--dropdown .choices__item--selectable::after, .choices__list[aria-expanded] .choices__item--selectable::after {
      content: attr(data-select-text);
      font-size: 12px;
      opacity: 0;
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
    }
    [dir=rtl] .choices__list--dropdown .choices__item--selectable, [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable {
      text-align: right;
      padding-left: 100px;
      padding-right: 10px;
    }
    [dir=rtl] .choices__list--dropdown .choices__item--selectable::after, [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable::after {
      right: auto;
      left: 10px;
    }
  }
  .choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: var(--background-color);
  }
  .choices__list--dropdown .choices__item--selectable.is-highlighted::after, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted::after {
    opacity: 0.5;
  }
  
  .choices__item {
    cursor: default;
  }
  
  .choices__item--selectable {
    cursor: pointer;
  }
  
  .choices__item--disabled {
    cursor: not-allowed;
    -webkit-user-select: none;
            user-select: none;
    opacity: 0.5;
  }
  
  .choices__heading {
    font-weight: 600;
    font-size: 12px;
    padding: 10px;
    border-bottom: 1px solid #f7f7f7;
    color: gray;
  }
  
  .choices__button {
    text-indent: -9999px;
    -webkit-appearance: none;
            appearance: none;
    border: 0;
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
  }
  .choices__button:focus {
    outline: none;
  }

  .mutlitpe-select-from-group .choices__inner .choices__input{
    width: fit-content!important; 
  }
  
  .choices__input {
    display: inline-block;
    vertical-align: baseline;
    background-color: var(--z1) !important;
    font-size: 14px;
    margin-bottom: 5px;
    border: 0;
    border-radius: 5px;
    max-width: 100%;
  }
  .choices__input:focus {
    outline: 0;
  }
  .choices__input::-webkit-search-decoration, .choices__input::-webkit-search-cancel-button, .choices__input::-webkit-search-results-button, .choices__input::-webkit-search-results-decoration {
    display: none;
  }
  .choices__input::-ms-clear, .choices__input::-ms-reveal {
    display: none;
    width: 0;
    height: 0;
  }
  [dir=rtl] .choices__input {
    padding-right: 2px;
    padding-left: 0;
  }
  
  .choices__placeholder {
    opacity: 0.5;
  }

.bill-table th, .bill-table td {
    border: none;
    background-color: var(--z1);
    color: var(--font-color);
}
  
  /* =====  End of Choices  ====== */

.card-buttons .icon-link{ 
    width: 100%;
    background-color: var(--z2);
    font-size: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 18px;

}

.card-buttons i{
    font-size: 1.5rem;
    margin-top: -0.6rem;
}

textarea {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    border-width: 0.05rem;
}

.custom-button {
    font-size: 1rem;
    padding: 0.5rem 4.2rem;
    color: var(--background-color);
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    outline: 0;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    background-color: var(--accent-color);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.button-container{
    padding-top: 0.3rem;
}

.icon-button {
    font-size: 1rem;
    margin-bottom: 0rem;
    padding: 0.5rem 1.5rem;
    border-radius: 18px;
    color: var(--background-color) !important;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    outline: 0;
    border: none;
    cursor: pointer;
    background-color: var(--accent-color);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
}

.icon-button.font-dark {
    color: var(--allways-dark) !important;
}

.icon-button .badge{
    vertical-align: text-top;
}

.icon-button.round {
    border-radius: 50%;
    padding: 0.5rem;
}

.icon-button.rectangle {
    border-radius: 25% / 50%;
}

.icon-button i{
    font-size: 1rem;
    color: var(--background-color);
    font-weight: 900;
    
}

.circle-button {
    font-size: 1rem;
    margin-bottom: 0rem;
    padding: 0.5rem 0.6rem;
    border-radius: 50%;
    color: var(--background-color) !important;
    font-family: 'Karla', sans-serif;
    font-weight: 600;
    outline: 0;
    border: none;
    cursor: pointer;
    background-color: var(--accent-color);
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;

}

.circle-button i{
    font-size: 1rem;
    color: var(--background-color);
    font-weight: 900;   
}


.circle-button.delete-item{
    background-color: var(--critico);
    position: relative;
    top: 1rem;
    right: -1rem;
}


a {
    color: var(--subtitles) !important;
    font-family: 'Zilla Slab', serif;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid var(--subtitles);
    padding-bottom: 2px;

}

a.btn-primary{
  color: var(--allways-light) !important;
}

a.btn-secondary{
  color: var(--allways-light) !important;
}

.icon-link{
    border-bottom: none;
}

a:hover {
    cursor: pointer;
}

small{
    font-size: 0.7rem;
    margin-top: 0rem;
}

footer {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    opacity: 25%;
}

.pointer {
    cursor: pointer;
}


/* Data tables */
.custo-table>tbody>tr:nth-of-type(odd)>*{
    color: var(--font-color);
    background-color: var(--z1);
}

.custo-tabletable table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting_asc_disabled, table.dataTable thead>tr>th.sorting_desc_disabled, table.dataTable thead>tr>td.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting_asc_disabled, table.dataTable thead>tr>td.sorting_desc_disabled{
    border-radius: 18px !important;
}

table.dataTable thead>tr>th.sorting, table.dataTable thead>tr>th.sorting_asc, table.dataTable thead>tr>th.sorting_desc, table.dataTable thead>tr>th.sorting_asc_disabled, table.dataTable thead>tr>th.sorting_desc_disabled, table.dataTable thead>tr>td.sorting, table.dataTable thead>tr>td.sorting_asc, table.dataTable thead>tr>td.sorting_desc, table.dataTable thead>tr>td.sorting_asc_disabled, table.dataTable thead>tr>td.sorting_desc_disabled{
    border-radius: 18px !important;
}

.table-header:hover{
    cursor: pointer;
}

.custo-table.table>:not(caption)>*>*{
    border-bottom-width: 0rem;
    background-color: var(--z1)!important;
    color: var(--font-color);
}

.custo-table tr:hover{
    cursor: pointer;
}

.custo-table {
    background-color: var(--z1);
    color: var(--font-color);
    border-radius: 18px !important;
    overflow: hidden;
}



.custom-nav {
  margin-left: 0.5rem;
  margin-top: 1rem;
  border-radius: 18px;
  padding-top: 1rem;

}

.nav-text{
    color: var(--background-color);
    
}

.nav-icon {
    color: var(--background-color);
    font-size: 1.5rem;
}

.nav-dropdown{
  z-index: 1000;
  position: absolute;
  background-color: var(--z2);
  border-radius: 10px;
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}


.dataTables_wrapper{
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.custo-table>tbody>tr:nth-of-type(odd)>* {
    --bs-table-accent-bg: var(--table-striped-bg);
}

.custo-table :last-child >:last-child > td {
    border-radius: 0 0 18px 18px;
}

.custo-table :last-child >:last-child > th {
    border-radius: 0 0 18px 18px;
}

.equal tbody>tr>*:nth-last-child(2)~*{ width:10%}
.equal tbody>tr>*:nth-last-child(3)~*{ width:33.3%}
.equal tbody>tr>*:nth-last-child(4)~*{ width:25%}
.equal tbody>tr>*:nth-last-child(6)~*{ width:16%} */
.equal tbody>tr>*:nth-last-child(5)~*{ width: auto;}

.paginate_button.page-item.previous{
    border-radius: 18px 0 0 18px;
}



.paginate_button.page-item.next {
    border-radius: 0 18px 18px 0;
}

.dataTables_paginate a{
    padding: 0rem 0.6rem; 
}
.dataTables_paginate {
    text-align: center;
}

.dataTables_info{
    text-align: center;
}

.dataTables_length {
    float: right;
    padding-top: 1rem;
    
}

.dataTables_filter{
    padding-bottom: 0.5rem;
}

.dataTables_paginate .current{
    text-decoration: underline;
    color: var(--main-element);
}

.paginate_button.page-item.active .page-link{
  color: var(--font-color) !important;
}

@media only screen and (min-width: 600px) {
    .dataTables_length {
        float: none;
        margin-bottom: -2.5rem;
        padding-top: 0rem;
    }
    
    .dataTables_filter{
        float: right;
    }

    .dataTables_info{
        text-align: left;
    }
    
    .dataTables_paginate{
        float: right;
        margin-top: -1.5rem;
    }
    .dataTables_paginate a{
        padding: 0rem 0.5rem;
    }

    .dataTables_paginate a{
        padding: 0rem 0.5rem;
    }

    form .form-group .select2-container--default .select2-selection--multiple{
        min-width: 80vw !important; 
        max-width: 80vw !important;
    }
    
    form .select2.select2-container.select2-container--default.select2-container--below{
        min-width: 80vw !important;
        max-width: 80vw !important;
    }
    
}

/* Board */
.search-form{
    /* background-color: var(--z1); */
    border-radius: 7px;
    /* text-align: right; */
    padding: 2rem 0rem;

}

.search-form button{
    width: auto;
    margin-top: 0.7rem;
    width: 100%;
    padding: 0.6rem 2.2rem;
}

.tags-input-wrapper{
    background-color: -webkit-control-background;
    border-radius: 5px;
    width: 100%;
    border: 0.05rem solid var(--font-color);
}
.tags-input-wrapper input{
    border: none;
    background-color: transparent;
    outline: none;
    width: 10rem;
    padding: 0rem;
    margin: 0.45rem 0.45rem;
}
.tags-input-wrapper .tag{
    display: inline-block;
    background-color: var(--main-element);
    color: var(--background-color);
    border-radius: 5px;
    padding: 0px 3px 0px 7px;
    margin: 0.45rem 0.45rem;
}
.tags-input-wrapper .tag a {
    margin: 0rem 0.5rem;
    font-size: 1.2rem;
    display: inline-block;
    cursor: pointer;
}

#datepicker input{
    background-color: transparent;
    border-color: var(--font-color);
    color: var(--font-color);
}

#datepicker span{
    background-color: var(--accent-color);
    border-color: var(--font-color);
}


@media only screen and (min-width: 600px) {
    .search-form button{
        width: auto;
        margin-top: 0.5rem;
        width: 100%;
    }

    .search-form .middle {
        padding-top: 0.9rem;
    }
    
    .search-form textarea{
        width: 100%;
    }
}

.error-font-color {
    color: var(--bad-color);
}

.good, .bad {
    margin-top: 1rem;
}

.bad .sub-text{
    background-color: var(--bad-color);
    border-radius: 5px;
    padding: 0.1rem 1rem;

}

.good .sub-text {
    border-radius: 5px;
    background-color: var(--good-color);
    padding: 0.1rem 1rem;
    color: var(--background-color);

}

.bad table {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.documentos-consutlados{
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.documentos-consutlados .custom-card{
    margin-top: 2rem;
    color: var(--font-color);
    font-family: 'Roboto', sans-serif;
}

.custom-card {
    padding: 1rem;
    border-radius: 18px;
    background-color: var(--z1);
    /* smooth transitions */
    transition: all 0.3s;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
}

@media only screen and (min-width: 992px) {
    .documentos-consutlados .custom-card{
        margin-top: 0rem;
    }
    
}

/* Login CSS */

.login-container{
    padding: 20px;
    padding-left: 300px;
    padding-right: 300px;
}

.login-title{
    font-weight: 600;
    color: var(--red);
    margin-bottom: 50px;
    margin-top: 10%;
}

.login-container a{
    color: var(--light-blue);
}

.login-button{
    margin-top: 2rem;
}

@media only screen and (max-width: 992px) {
    .login-container{
      padding-left: 30px;
      padding-right: 30px;
    }

    .login-title{
        margin-top: 25%;
    }
}
  
form .form-group input{
    padding: 0.45rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    background-color: var(--z1);
    color: var(--font-color);
    border-width: 0.05rem;
}

form .form-group input:focus{
    padding: 0.45rem 1rem;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    background-color: var(--z1);
    color: var(--font-color);
    border-width: 0.05rem;
}

form .form-group .select2-container--default .select2-selection--multiple{
    padding: 0.45rem 1rem ;
    border-radius: 5px;
    border-style: solid;
    border-color: var(--font-color);
    background-color: var(--z1);
    color: var(--font-color);
    border-width: 0.05rem;
    min-width: 90vw;
    max-width: 90vw;
}

form .select2.select2-container.select2-container--default.select2-container--below{
    min-width: 90vw;
    max-width: 90vw;
    background-color: var(--z1);
}

.select2-dropdown.select2-dropdown--below{
    background-color: var(--z1);
    color: var(--font-color);
    border: none;
}

.select2-container--default .select2-results__option--selected{
    background-color: var(--accent-color) !important;
    color: var(--font-color);
}

form .select2-container--default .select2-selection--multiple .select2-selection__choice{
    background-color: var(--z2);
    border-radius: 20px;
    padding: 0.3rem;
    padding-right: 0.5rem;
    margin-bottom: 5px;

}



form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove{
    background-color: transparent;
    border: none;
    padding: none;
    color: #999;
    cursor: pointer;
    position: inherit;
    font-size: 1em;
}

form .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover, .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus{
    background-color: transparent;
    color: var(--font-color);
}

form .select2-container .select2-search--inline .select2-search__field{
    box-sizing: border-box;
    border: none;
    font-size: 100%;
    margin-top: 5px;
    margin-left: 5px;
    padding: 0;
    max-width: 100%;
    resize: none;
    height: 1.3rem;
    vertical-align: baseline;
    font-family: sans-serif;
    overflow: hidden;
    word-break: keep-all;
}

form .form-group {
    font-size: 1rem;
    margin-top: 1rem;

}

input[type=radio] {
  /* Add if not using autoprefixer */
  -webkit-appearance: none;
  /* Remove most all native input styles */
  -moz-appearance: none;
       appearance: none;
  /* For iOS < 15 */
  background-color: var(--background-color);
  /* Not removed via appearance */
  margin: 0;
  border-style: solid;
  border-color: var(--font-color);
  border-width: 0.05rem;
  background-color: var(--z1);
  font: inherit;
  width: 1em;
  height: 1em;
  padding: 0;
  margin-top: 0.25rem;
  border-radius: 8%;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
}

input[type=radio]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  border-radius: 100%;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  /* Windows High Contrast Mode */
  background-color: var(--background-color);
}

input[type=radio]:checked::before {
  transform: scale(1);
  background-color: var(--font-color);
}

.form-check-input[type=checkbox] {
  background-color: var(--background-color);
  height: 1rem;
  width: 1rem;
  border-radius: 5px;
  padding: 0px;
}

.form-check-input:checked {
  background-color: var(--font-color);
  /* underline */
}



.switch-toggle {
  --width: 200px;
  --height: 2.5rem;
  --offset: 2px;
  --radius: 18px;
  position: relative;
  width: var(--width);
  height: var(--height);
  padding: var(--offset);
  background: var(--z2);
  border-radius: var(--radius);
  font-size: 1rem;
}

.switch-toggle-checkbox{
  width: 100%;
  height: 100%;
}

.switch-toggle input[type=checkbox] {
  cursor: pointer;
  position: absolute;
  inset: 0;
  appearance: none;
  z-index: 2;
  border-color: transparent;
}
.switch-toggle input[type=checkbox]:checked + label.switch-toggle-label:before {
  translate: 100% 0;
}
.switch-toggle input[type=checkbox]:checked + label.switch-toggle-label span:nth-child(1) {
  color: var(--subtitles);
}
.switch-toggle input[type=checkbox]:checked + label.switch-toggle-label span:nth-child(2) {
  color: var(--font-color);
}
.switch-toggle input[type=checkbox] + label.switch-toggle-label {
  position: absolute;
  inset: var(--offset, 0);
  padding: 10px 0;
  display: block;
  user-select: none;
  pointer-events: none;
  display: grid;
  gap: 2px;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  place-items: center;
}
.switch-toggle input[type=checkbox] + label.switch-toggle-label:before {
  content: "";
  position: absolute;
  width: 50%;
  inset: 0;
  background: var(--accent-color);
  border-radius: calc(var(--radius) - var(--offset));
  box-shadow: 0px 10px 20px 0px rgba(16, 39, 68, 0.1);
  translate: 0 0;
  transition: translate 250ms cubic-bezier(0.93, 0.26, 0.07, 0.69);
}
.switch-toggle input[type=checkbox] + label.switch-toggle-label span {
  position: relative;
  transition: 200ms linear;
}
.switch-toggle input[type=checkbox] + label.switch-toggle-label span:nth-child(1) {
  color: var(--font-color);
}
.switch-toggle input[type=checkbox] + label.switch-toggle-label span:nth-child(2) {
  color: var(--subtitles);
}

.list-group {
  padding: 0;
  margin: 0;
  border-radius: 5px;
}


.list-group-item {
  background-color: var(--z1);
  color: var(--font-color) !important;
  margin-bottom: 0.5rem;
  border-radius: 5px;
  border-style: solid;
  border-color: var(--font-color);
  border-width: 0.05rem;
  border-top-width: 0.05rem !important;
}

.list-group-item p{
  color: var(--font-color) !important;
}

.modal-content{
  background-color: var(--z1);
  color: var(--font-color);
  border-radius: 18px;
}

.modal-content table {
  color: var(--font-color);
}

.custom-modal{
    background-color: var(--z1);
    color: var(--font-color);
}

.custom-modal table{
    color: var(--font-color);
}

.custom-modal tbody>tr>*:nth-last-child(3)~*{ width: auto;}

.pdf-link {
    background-color: var(--accent-color);
    color: var(--background-color);
    padding: 0.5rem 2rem;
    border-radius: 5px;
}

.pdf-link:hover {
    color: var(--background-color);
    opacity: 90%;
}

.message-container {
    position: absolute;
    border-radius: 7px;
    padding: 0.5rem;
    z-index: 1000;
}

.message-container .alert { 
  border-radius: 7px;
}

@media (min-width: 750px){

    .modal-dialog.custom-modal-dialog{
        max-width: 70%;
        margin: 1.75rem auto;
    }

    .my-container{
        margin-left: 7vw;
        margin-right: 7vw;
    }
}


@media (min-width: 990px) {
  nav.navbar{
      height: 95vh !important;
  }
  .container-fluid .custom-nav.bg-primary{
    max-width: 6rem;
  }

  main {
    margin-left: 7rem;
  }

}

@media (max-width: 990px) {
    nav.navbar{
      width: 95vw !important;
      margin-bottom: 0.3rem;
      border-radius: 50px;
  }
}





.notif-link{
  font-size: 1.7rem;
  border-bottom: none;
}

.notif-link span{
  position:absolute;
  font-size: 0.7rem;
  margin-top: 0rem;
  margin-left: -1rem;
  padding: 0rem 0.4rem 0.2rem 0.4rem;

  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--background-color);
}


/* status background colors */

h2 .rounded-pill{
  font-size: 1rem;
}

.rounded-pill{
  /* make just the background a bit transparent  */
  color: var(--allways-dark);
}

.custom .status-1{
  background-color: var(--status-1) !important;
}

.custom .status-2{
  background-color: var(--status-2) !important;

}

.custom .status-3{
  background-color: var(--status-3) !important;
}

.custom .status-4{
  background-color: var(--status-4) !important;
}

.custom .status-5{
  background-color: var(--status-5) !important;
}

.custom .status-6{
  background-color: var(--status-6) !important;
}

.custom .status-7{
  background-color: var(--status-7) !important;
}

.principal {
  display: inline;
  vertical-align: middle;
}

.missing {
  opacity: 0.5;
  transition: 0.3s;
}

.missing:hover {
  cursor: pointer;
  opacity: 1;
}


/*  9 Loader */

.lds-grid,
.lds-grid div {
  box-sizing: border-box;
}
.lds-grid {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-grid div {
  position: absolute;
  width: 16px;
  height: 16px;
  /* border-radius: 50%; */
  background: currentColor;
  animation: lds-grid 1.2s linear infinite;
}
.lds-grid div:nth-child(1) {
  top: 8px;
  left: 8px;
  animation-delay: 0s;
}
.lds-grid div:nth-child(2) {
  top: 8px;
  left: 32px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(3) {
  top: 8px;
  left: 56px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(4) {
  top: 32px;
  left: 8px;
  animation-delay: -0.4s;
}
.lds-grid div:nth-child(5) {
  top: 32px;
  left: 32px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(6) {
  top: 32px;
  left: 56px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(7) {
  top: 56px;
  left: 8px;
  animation-delay: -0.8s;
}
.lds-grid div:nth-child(8) {
  top: 56px;
  left: 32px;
  animation-delay: -1.2s;
}
.lds-grid div:nth-child(9) {
  top: 56px;
  left: 56px;
  animation-delay: -1.6s;
}
@keyframes lds-grid {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}



/*  9 Loader */


/* calendario */

.fc-event-main {
    overflow: hidden;
}




.resumen-labels {
    max-height: 8rem;
}


@media screen and (min-width: 768px) {
    .resumen-labels {
        max-height: 30vh;
    }
}