/* Your custom styles */
html {
    height: 100%;
}

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    font-family: 'Roboto', sans-serif;
    /*margin-top: 20px;*/
    background: #ededed;
}

.background-white {
    background: #ffffff;
}

.background-grey {
    background: #fcfcfc;
}

.content {
    flex: 1;
}

.note {
    margin: 0;
    /*margin-top: 5px;*/
    padding: 5px;
    border-left: 6px solid;
    border-radius: 5px;
}

.note strong {
    font-weight: 600
}

.note p {
    font-weight: 500
}

.note-primary {
    background-color: #dfeefd;
    border-color: #176ac4
}

.note-secondary {
    background-color: #e2e3e5;
    border-color: #58595a
}

.note-success {
    background-color: #e2f0e5;
    border-color: #49a75f
}

.note-danger {
    background-color: #fae7e8;
    border-color: #e45460
}

.note-warning {
    background-color: #faf4e0;
    border-color: #c2a442
}

.note-info {
    background-color: #e4f2f5;
    border-color: #2492a5
}

.note-light {
    background-color: #fefefe;
    border-color: #0f0f0f
}


.card.redonda {
    border-radius: 8px;
}

.card.redonda h3 {
    margin-bottom: 20px;
}

.card-header.redonda {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.card-header.redonda a {
    color: #4265f4;
}


.loadding-page {
    width: 100%;
    height: 100%;
    background: #fff;
    overflow: hidden;
    position: fixed;
    top: 0;
    z-index: 9999;
}

.cssload-box-loading {
    width: 49px;
    height: 49px;
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.cssload-box-loading:before {
    content: '';
    width: 49px;
    height: 5px;
    background: #000000;
    opacity: 0.1;
    position: absolute;
    top: 58px;
    left: 0;
    border-radius: 50%;
    animation: shadow 0.58s linear infinite;
    -o-animation: shadow 0.58s linear infinite;
    -ms-animation: shadow 0.58s linear infinite;
    -webkit-animation: shadow 0.58s linear infinite;
    -moz-animation: shadow 0.58s linear infinite;
}

.cssload-box-loading:after {
    content: '';
    width: 49px;
    height: 49px;
    background: #243A51;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
    animation: cssload-animate 0.58s linear infinite;
    -o-animation: cssload-animate 0.58s linear infinite;
    -ms-animation: cssload-animate 0.58s linear infinite;
    -webkit-animation: cssload-animate 0.58s linear infinite;
    -moz-animation: cssload-animate 0.58s linear infinite;
}

@keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        transform: translateY(0) rotate(90deg);
    }
}

@-o-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -o-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -o-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -o-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -o-transform: translateY(0) rotate(90deg);
    }
}

@-ms-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -ms-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -ms-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -ms-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -ms-transform: translateY(0) rotate(90deg);
    }
}

@-webkit-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -webkit-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -webkit-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -webkit-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -webkit-transform: translateY(0) rotate(90deg);
    }
}

@-moz-keyframes cssload-animate {
    17% {
        border-bottom-right-radius: 3px;
    }
    25% {
        -moz-transform: translateY(9px) rotate(22.5deg);
    }
    50% {
        -moz-transform: translateY(18px) scale(1, 0.9) rotate(45deg);
        border-bottom-right-radius: 39px;
    }
    75% {
        -moz-transform: translateY(9px) rotate(67.5deg);
    }
    100% {
        -moz-transform: translateY(0) rotate(90deg);
    }
}

@keyframes shadow {
    0%,
    100% {
        transform: scale(1, 1);
    }
    50% {
        transform: scale(1.2, 1);
    }
}

@-o-keyframes shadow {
    0%,
    100% {
        -o-transform: scale(1, 1);
    }
    50% {
        -o-transform: scale(1.2, 1);
    }
}

@-ms-keyframes shadow {
    0%,
    100% {
        -ms-transform: scale(1, 1);
    }
    50% {
        -ms-transform: scale(1.2, 1);
    }
}

@-webkit-keyframes shadow {
    0%,
    100% {
        -webkit-transform: scale(1, 1);
    }
    50% {
        -webkit-transform: scale(1.2, 1);
    }
}

@-moz-keyframes shadow {
    0%,
    100% {
        -moz-transform: scale(1, 1);
    }
    50% {
        -moz-transform: scale(1.2, 1);
    }
}


/* For width smaller than 1024px: */
.background {
    background-color: #ededed;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 60%;
    background-position-y: 20px;

}

/* For width 560px and larger: */
@media only screen and (min-width: 768px) {
    .background {
        background-size: 10%;
    }
}

/* For width 560px and larger: */
@media (min-width: 800px) and (max-width: 850px) {

    .background {
        background-size: 40%;
    }
}

.custom-switch {
    padding-left: 2.25rem;
}

.custom-switch .custom-control-label::before {
    left: -2.25rem;
    width: 1.75rem;
    pointer-events: all;
    border-radius: 0.5rem;
}

.custom-switch .custom-control-label::after {
    top: calc(0.15625rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1rem - 4px);
    background-color: #adb5bd;
    border-radius: 0.5rem;
    transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
    .custom-switch .custom-control-label::after {
        transition: none;
    }
}

.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(0.75rem);
}

.custom-switch .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: rgba(89, 59, 219, 0.5);
}

.table-sm th,
.table-sm td {
    padding: 0.3rem;
}

.my-custom-scrollbar {
    position: relative;
    height: 310px;
    overflow: auto;
}

.my-custom-scrollbar-40 {
    position: relative;
    height: 40px;
    overflow: auto;
}

.my-custom-scrollbar-150 {
    position: relative;
    height: 155px;
    overflow: auto;
}

.my-custom-scrollbar-200 {
    position: relative;
    height: 200px;
    overflow: auto;
}

.my-custom-scrollbar-240 {
    position: relative;
    height: 240px;
    overflow: auto;
}

.my-custom-scrollbar-255 {
    position: relative;
    height: 255px;
    overflow: auto;
}

.my-custom-scrollbar-315 {
    position: relative;
    height: 315px;
    overflow: auto;
}

.my-custom-scrollbar-350 {
    position: relative;
    height: 350px;
    overflow: auto;
}

.my-custom-scrollbar-400 {
    position: relative;
    height: 400px;
    overflow: auto;
}

.my-custom-scrollbar-500 {
    position: relative;
    height: 500px;
    overflow: auto;
}

td, th {
    vertical-align: middle !important;
    text-align: left !important;
}

th {
    text-transform: uppercase !important;
}

.table .thead-light th {
    color: #495057;
    background-color: #e9ecef;
    border-color: #EEEEEE;
}

.table .tfoot-light td {
    color: #495057;
    background-color: #e9ecef;
    border-color: #EEEEEE;
    text-transform: uppercase;
    font-weight: bold;
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.w40 {
    width: 40px
}

.w50 {
    width: 50px
}

.w60 {
    width: 60px
}

.w70 {
    width: 70px
}

.w80 {
    width: 80px
}

.w90 {
    width: 90px
}

.w100 {
    width: 100px
}

.w110 {
    width: 110px
}

.w120 {
    width: 120px
}

.w130 {
    width: 130px
}

.w140 {
    width: 140px
}

.w150 {
    width: 150px
}

.w160 {
    width: 160px
}

.w170 {
    width: 170px
}

.w180 {
    width: 180px
}

.w190 {
    width: 190px
}

.w200 {
    width: 200px
}


.w210 {
    width: 210px
}


.w220 {
    width: 220px
}


.w220 {
    width: 220px
}


.w240 {
    width: 240px
}

.w250 {
    width: 250px
}

.w260 {
    width: 260px
}

.w270 {
    width: 270px
}

.w300 {
    width: 300px
}

.w350 {
    width: 350px
}


.min-w200 {
    min-width: 220px
}

.max-w300 {
    max-width: 300px
}

.grey-color {
    color: #6c757d
}

.spinner-border {
    display: inline-block;
    width: var(--bs-spinner-width);
    height: var(--bs-spinner-height);
    vertical-align: var(--bs-spinner-vertical-align);
    border-radius: 50%;
    -webkit-animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);
    animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);
}

@-webkit-keyframes spinner-border {
    to {
        transform: rotate(360deg) /* rtl:ignore */;
    }
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg) /* rtl:ignore */;
    }
}

.spinner-border {
    --bs-spinner-width: 2rem;
    --bs-spinner-height: 2rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.25em;
    --bs-spinner-animation-speed: 0.75s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
}

.spinner-border-sm {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
    --bs-spinner-border-width: 0.2em;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.spinner-container {
    position: relative; /* Contêiner principal para posicionamento relativo */
    display: inline-block; /* Garante que o tamanho do spinner se ajuste ao conteúdo */
}

.spinner-container .spinner-border {
    position: relative; /* Mantém o spinner animado */
}

.spinner-container #spinner_text {
    position: absolute; /* Posiciona o texto fixo em relação ao contêiner */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centraliza o texto */
    z-index: 1; /* Garante que o texto esteja acima do spinner */
    font-size: 0.875rem; /* Ajuste o tamanho do texto, se necessário */
    color: inherit; /* Herdar a cor do spinner */
}

.no-display {
    display: none;
}

.bg-blue {
    background: #243A51;
    color: #ffffff;
    fill: #243A51;
}

/* Estilo para o item ativo com um sublinhado e espaçamento compatível */
nav ul li.active {
    border-bottom: 2px solid #fff;
    padding-bottom: 0; /* Espaçamento para simular o offset */
}

/* Estilo para o link do item de navegação */
nav ul li a.nav-link {
    color: #fff !important;
    text-decoration: none; /* Remove qualquer sublinhado padrão */
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 320px;
    max-width: 500px;
    margin: 1em auto;
}

#container {
    height: 400px;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}


.circle {
    border-radius: 50%;
    width: 33px;
    height: 33px;
    padding: 8px;
    padding-top: 10px;

    background: #243A51;
    border: 2px solid #666;
    color: #fff;
    text-align: center;
    vertical-align: middle;

    font-size: 6pt;
}

.circle-table {
    border-radius: 50%;
    width: 38px;
    height: 38px;

    background: #243A51;
    border: 2px solid #666;
    color: #fff;
    text-align: center;
    vertical-align: middle;

    font-size: 8.5pt;
}

.flex-break {
    flex: 1 0 100% !important
}

.row .flex-break {
    height: 0 !important
}

.column .flex-break {
    width: 0 !important
}

.badge {
    line-height: 1.5;
    padding: 5px 10px;
}

.badge-rounded {
    border-radius: 20px;
    padding: 5px 13px;
}

.badge-circle {
    border-radius: 100px;
    height: 25px;
    width: 25px;
    padding: 5px 8px;
}
.badge.badge-sm {
    padding: 2px 5px;
}
.js-update, .js-view {
    cursor: pointer;
}


.task-info {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 0;
    border-top: 6px solid;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    border-radius: 5px;
    background-color: #fff;
    border-color: #03a9f4;
    color: rgba(0, 0, 0, 0.5) !important;
    padding: 10px;
    cursor: move;
}

.task-info.disabled .content {
    opacity: 0.5;
    pointer-events: none; /* evita interações se quiser */
}

.task-info.disabled {
    cursor: not-allowed;
}

.task-info.disabled a {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.swim-lane {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-radius: 5px;
    width: 90%;
    min-height: 100px;
    flex-shrink: 0;
}

.note-task {
    margin-top: 0;
    padding: 0;
    border-top: 6px solid;
    border-bottom: 1px solid;
    border-left: 1px solid;
    border-right: 1px solid;
    border-radius: 5px;
    min-height: 150px;
}

.note-task strong {
    font-weight: 600
}

.note-task p {
    font-weight: 500
}

.note-task-primary {
    /*background-color: #dfeefd;*/
    border-color: #176ac4
}

.note-task-secondary {
    /*background-color: #e2e3e5;*/
    border-color: #58595a
}

.note-task-success {
    /*background-color: #e2f0e5;*/
    border-color: #28a745
}

.note-task-danger {
    /*background-color: #fae7e8;*/
    border-color: #dc3545
}

.note-task-warning {
    /*background-color: #faf4e0;*/
    border-color: #e7b63a
}

.note-task-info {
    /*background-color: #fff;*/
    border-color: #03a9f4;
}

.note-task-light {
    /*background-color: #fefefe;*/
    border-color: #0f0f0f
}

.justify-content-space-between {
    justify-content: space-between;
}

.vertical-align-middle {
    vertical-align: middle;
}

.toast {
    opacity: 1 !important;
    width: 350px !important;
}

.dropdown-item {
    cursor: pointer;
}


.mini {
    font-size: 0.725rem
}

.azul-escuro {
    color: #15539c;
}

.table-sm tbody tr td,
.table-sm tbody tr th {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    line-height: 1.5;
}

.table-sm thead tr th {
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
}

.spinner-border > .disable-animations {
    animation: none !important;
    transition: none !important;
}

.error-message {
    color: red;
    display: none;
}

.error-border {
    border: 2px solid red; /* Borda vermelha */
    border-radius: 4px; /* Opcional: arredondamento das bordas */
}

/* Mantém a borda vermelha mesmo quando o campo está em foco */
.error-border:focus {
    border: 2px solid red;
    outline: none; /* Remove o contorno padrão azul/preto */
}

/* Estilo do modal */
.cookie-modal {
    display: none; /* Oculta por padrão */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.cookie-modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: left;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-btn:hover {
    background-color: #0056b3;
    color: white;
}

.js-adicionar {
    cursor: pointer;
}

.completed {
    text-decoration: line-through;
    color: gray;
}

/* Light Backgrounds */
.bg-primary-light {
    background-color: #cfe2ff;
    border-color: #cfe2ff;
}

.bg-secondary-light {
    background-color: #e2e3e5;
    border-color: #e2e3e5;
}

.bg-success-light {
    background-color: #d1e7dd;
    border-color: #d1e7dd;
}

.bg-danger-light {
    background-color: #f8d7da;
    border-color: #f8d7da;
}

.bg-warning-light {
    background-color: #fff3cd;
    border-color: #fff3cd;
}

.bg-info-light {
    background-color: #cff4fc;
    border-color: #cff4fc;
}

.bg-dark-light {
    background-color: #d3d3d4;
    border-color: #d3d3d4;
}

.stepper-wrapper {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}
.stepper-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;

  @media (max-width: 768px) {
    font-size: 12px;
  }
}

.stepper-item::before {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: -50%;
  z-index: 2;
}

.stepper-item::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #ccc;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 2;
}

.stepper-item .step-counter {
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ccc;
  margin-bottom: 6px;
}

.stepper-item.active {
  font-weight: bold;
}

.stepper-item.completo .step-counter {
  background-color: #4bb543;
    color: #fff;
    font-weight: bold;
}

.stepper-item.completo::after {
  position: absolute;
  content: "";
  border-bottom: 2px solid #4bb543;
  width: 100%;
  top: 20px;
  left: 50%;
  z-index: 3;
}

.stepper-item:first-child::before {
  content: none;
}
.stepper-item:last-child::after {
  content: none;
}


.fc-timegrid-slot {
    height: 40px !important;
}
.fc-timegrid-event {
    min-height: 30px !important;
}
