/* ===============================
   BOTÓN NOTIFICACIONES - ALERTA
================================ */

@keyframes notifBlink {
    0% {
        box-shadow: 0 0 0 rgba(220, 53, 69, 0.0);
        background-color: #f1416c;
    }
    50% {
        box-shadow: 0 0 12px rgba(220, 53, 69, 0.8);
        background-color: #dc3545;
    }
    100% {
        box-shadow: 0 0 0 rgba(220, 53, 69, 0.0);
        background-color: #f1416c;
    }
}

@keyframes notifBlinkWarning {
    0% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); background:#ffc107; }
    50% { box-shadow: 0 0 12px rgba(255, 193, 7, 0.9); background:#ffca2c; }
    100% { box-shadow: 0 0 0 rgba(255, 193, 7, 0); background:#ffc107; }
}

.btn-notificacion-warning {
    animation: notifBlinkWarning 1.6s infinite;
}


.btn-notificacion-alerta {
    animation: notifBlink 1.5s infinite;
    border-radius: 50%;
}

.btn-notificacion-alerta i {
    color: #ffffff !important;
}


/* ===============================
   BOTÓNES 
================================ */

.btn-primary {
    background-color: #611232 !important;
    border-color: #611232 !important;
    color:#FFF;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #611232 !important;
    border-color: #611232 !important;
    color:#FFF;
}

.btn-check:active+.btn.btn-primary, .btn-check:checked+.btn.btn-primary, .btn.btn-primary.active, .btn.btn-primary.show, .btn.btn-primary:active:not(.btn-active), .btn.btn-primary:focus:not(.btn-active), .btn.btn-primary:hover:not(.btn-active), .show>.btn.btn-primary
{
    background-color: #611232 !important;
    border-color: #611232 !important;
    color:#FFF;
}

.btn-light{
    color: #611232 !important;
    background: #FFF;
    border: 1px solid #611232 !important;
}

h2, h3, h4, h5, h6, .h2, .h3, .h4, .h5, .h6{
    color: #006455 !important;
}

.bg-primary{
    background-color: #611232 !important;
    color:#FFF !important;
}

.badge-light-primary{
    background-color: var(--bs-primary-light);
    color: #611232 !important;
}

.btn.btn-light-primary{
     background-color: #611232 !important;
    border-color: #611232 !important;
    color:#FFF !important;
}

.scrolltop{
    background-color: #611232 !important;
}

.btn-check:active+.btn.btn-active-light-primary .svg-icon, .btn-check:active+.btn.btn-active-light-primary i, .btn-check:checked+.btn.btn-active-light-primary .svg-icon, .btn-check:checked+.btn.btn-active-light-primary i, .btn.btn-active-light-primary.active .svg-icon, .btn.btn-active-light-primary.active i, .btn.btn-active-light-primary.show .svg-icon, .btn.btn-active-light-primary.show i, .btn.btn-active-light-primary:active:not(.btn-active) .svg-icon, .btn.btn-active-light-primary:active:not(.btn-active) i, .btn.btn-active-light-primary:focus:not(.btn-active) .svg-icon, .btn.btn-active-light-primary:focus:not(.btn-active) i, .btn.btn-active-light-primary:hover:not(.btn-active) .svg-icon, .btn.btn-active-light-primary:hover:not(.btn-active) i, .show>.btn.btn-active-light-primary .svg-icon, .show>.btn.btn-active-light-primary i{
    color:#611232 !important;
}

.btn-check:active+.btn.btn-active-color-primary .svg-icon, .btn-check:active+.btn.btn-active-color-primary i, .btn-check:checked+.btn.btn-active-color-primary .svg-icon, .btn-check:checked+.btn.btn-active-color-primary i, .btn.btn-active-color-primary.active .svg-icon, .btn.btn-active-color-primary.active i, .btn.btn-active-color-primary.show .svg-icon, .btn.btn-active-color-primary.show i, .btn.btn-active-color-primary:active:not(.btn-active) .svg-icon, .btn.btn-active-color-primary:active:not(.btn-active) i, .btn.btn-active-color-primary:focus:not(.btn-active) .svg-icon, .btn.btn-active-color-primary:focus:not(.btn-active) i, .btn.btn-active-color-primary:hover:not(.btn-active) .svg-icon, .btn.btn-active-color-primary:hover:not(.btn-active) i, .show>.btn.btn-active-color-primary .svg-icon, .show>.btn.btn-active-color-primary i{
    color: #611232 !important;
}

.btn-check:active+.btn.btn-light-primary, .btn-check:checked+.btn.btn-light-primary, .btn.btn-light-primary.active, .btn.btn-light-primary.show, .btn.btn-light-primary:active:not(.btn-active), .btn.btn-light-primary:focus:not(.btn-active), .btn.btn-light-primary:hover:not(.btn-active), .show>.btn.btn-light-primary{
    background-color: #611232 !important;
    border-color: #611232 !important;
    color:#FFF;
}

.btn.btn-light-primary .svg-icon, .btn.btn-light-primary i{
    color:#FFF !important;
}

.menu-state-bg-light-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here), .menu-state-bg-light-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here){
    color:#611232 !important;
}

.active>.page-link, .page-link.active{
    background-color:#611232 !important;
    border-color:#611232 !important;
    color:#FFF !important;
}

.menu-state-color .menu-item .menu-link.active .menu-title{
    color:#611232 !important;
}

.menu-state-color .menu-item .menu-link.active .menu-icon, .menu-state-color .menu-item .menu-link.active .menu-icon .svg-icon, .menu-state-color .menu-item .menu-link.active .menu-icon i{
    color:#611232 !important;
}

.form-check-input:checked{
    background-color:#611232 !important;
    border-color:#611232 !important;    
}

.menu-hover-primary .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here), .menu-hover-primary .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here){
    color:#611232 !important;
}
.text-hover-primary:hover{
    color: #611232 !important;
}

.text-primary{
    color: #611232 !important;
}

.card .card-header .card-title, .card .card-header .card-title .card-label{
    color:#006455;
}

.swal2-styled.swal2-confirm{
        color:#611232; 
        border: #611232 1px solid !important;
        background: #FFF;;
}

.app-header-menu .menu .menu-item.hover:not(.here)>.menu-link:not(.disabled):not(.active):not(.here) .menu-title, .app-header-menu .menu .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title
{
    color:#611232 !important;
}

.btn.btn-success{
    background-color: #611232 !important;
    border-color:  #611232 !important;
    color:#FFF !important;
}

.btn-check:active+.btn.btn-success, .btn-check:checked+.btn.btn-success, .btn.btn-success.active, .btn.btn-success.show, .btn.btn-success:active:not(.btn-active), .btn.btn-success:focus:not(.btn-active), .btn.btn-success:hover:not(.btn-active), .show>.btn.btn-success{
    background-color: #611232 !important;
    border-color:  #611232 !important;
    color:#FFF !important;
}

[data-kt-app-layout=light-sidebar] .app-header-menu .menu>.menu-item.here>.menu-link .menu-title{color:#611232 !important;
}

.text-gray-900{
    color: #006455 !important;
}

a{ 
    color: #611232 !important;
}

.link-primary{
    color: #611232 !important;
}

.link-primary:focus, .link-primary:hover{
    color: #611232 !important;
}
/*****************Calendario***********************/

.calendar-header h2{
    color: #006455;
}

.sieec-calendar {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 30px rgba(0,0,0,.05);
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.calendar-header h2 {
  font-size: 22px;
  font-weight: 600;
}

.calendar-header button {
  background: #f1f1f2;
  border: none;
  border-radius: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.calendar-weekdays div {
  text-align: center;
  font-weight: 600;
  color: #6c757d;
  padding: 8px 0;
}

.calendar-day {
  border: 1px solid #f1f1f2;
  min-height: 120px;
  padding: 6px;
  position: relative;
}

.calendar-day-number {
  font-size: 13px;
  font-weight: 600;
}

.calendar-event {
  background: #e8f3ff;
  color: #006455;
  font-size: 12px;
  padding: 4px 6px;
  border-radius: 6px;
  margin-top: 4px;
  cursor: pointer;
}

.swal2-title{
    color: #611232 !important;
    font-weight: bold !important;
}

.btn-active-primary {
    color:#611232 !important;
}


.text-active-primary.active{
    color:#611232 !important;
}

.btn-check:active+.btn.btn-active-primary, .btn-check:checked+.btn.btn-active-primary, .btn.btn-active-primary.active, .btn.btn-active-primary.show, .btn.btn-active-primary:active:not(.btn-active), .btn.btn-active-primary:focus:not(.btn-active), .btn.btn-active-primary:hover:not(.btn-active), .show>.btn.btn-active-primary {
    background-color:#611232 !important;
    color:#FFF !important;
}

.nav-line-tabs .nav-item .nav-link.active, .nav-line-tabs .nav-item .nav-link:hover:not(.disabled), .nav-line-tabs .nav-item.show .nav-link{
        background-color: transparent;
    border: 0;
    border-bottom: 1px solid #611232 !important;
    transition: color .2s ease;
}

