:root {
    --c-focus: #009aaf;
    --c-primary: #009aaf;
    --c-primary-light: #ffaa00;
}

@-webkit-keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        -webkit-transform: rotate(0deg);
    }
    to { 
        -webkit-transform: rotate(360deg);
    }
}

svg.rotate {
    -webkit-animation-name: rotate;
    animation-name: rotate;
    -webkit-animation-duration: 0.5s;
    animation-duration: 0.5s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
}

.modal-loading {
    text-align: center;
    background: rgba( 255, 255, 255, .7);
}

#BtnTop {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: #0085C256;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
    font-size: 18px;
}
#BtnTop::after {
    content: '\f077';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 30px;
    color: #fff;
}
#BtnTop:hover {
    background-color: #555; /* Add a dark-grey background on hover */
}
.panel-body {
    padding: 10px 5px 10px 5px !important;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto {
    padding: 0px 5px 0px 5px !important;
}
.ibox {
    margin-bottom: 5px !important;
}

.ibox-title {
    background-color: var(--c-primary) !important;
    min-height: 12px !important;
    padding: 7px 5px 3px 15px !important;
    margin-bottom: 0px !important;
}
.ibox-subtitle {
    background-color: #dcdfe1 !important;
    min-height: 12px !important;
    padding: 7px 5px 3px 15px !important;
    margin-bottom: 0px !important;
}

.ibox-title h5 {
    color: #fff;
    margin-left: 10px;
}

.ibox-tools {
    top: 6px !important;
}
.ibox-content {
    padding: 5px !important;
}
.col-form-label {
    padding-top: calc(0.375rem) !important;
    padding-bottom: calc(0.375rem) !important;
}
.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.form-group {
    margin-bottom: 2px !important;
}
.m-t .form-group {
    margin-bottom: 1rem !important;
}
.form-control {
    font-size: 12px !important
}

#page-wrapper {
    padding: 0px !important;
}

.page-heading {
    padding: 0px 10px 10px 10px;
}title-primary

.select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered {
    line-height: 2.05rem !important;
}

.btn-primary, .page-item.active .page-link, .navy-bg, .bg-primary {
    background-color: var(--c-primary) !important;
    border-color: var(--c-primary) !important;
}
.btn-primary:hover, .page-item.active:hover .page-link:hover {
    background-color: var(--c-focus) !important;
    border-color: var(--c-focus) !important;
}
i.icon-title {
    color: var(--c-primary);
}

.modal-icon {
    color: var(--c-primary) !important;
    opacity: 0.6 !important;
}

/* .icheckbox_square-green,
.iradio_square-green {
    background: url(./plugins/iCheck/primary.png) no-repeat !important;
} */

.tab-title-primary {
    color: var(--c-primary);
    margin-top: 15px;
    margin-left: 15px;
}

.select2-selection__rendered {
    line-height: 31px !important;
}
.select2-container .select2-selection--single {
    height: 32px !important;
}
.select2-selection__arrow {
    height: 0px !important;
}

.input-group-append {
    height: 32px;
}
.input-group > .input-group-append > .btn, .input-group > .input-group-append > .input-group-text, .input-group > .input-group-prepend:not(:first-child) > .btn, .input-group > .input-group-prepend:not(:first-child) > .input-group-text, .input-group > .input-group-prepend:first-child > .btn:not(:first-child), .input-group > .input-group-prepend:first-child > .input-group-text:not(:first-child){
    width: 25px;
    padding-right: 20px;
}

.link-core {
    color:grey
}

.children_permission{
    margin-left: 15px;
}

.heading {
    width: 100%;
    margin-top:-20px;
    margin-bottom: 20px;
}
.heading-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

table tbody .tramitacion {
    background-color:#c4c2c2 !important;
}

table tbody .incidencia {
    background-color:#fcceab !important;
}

table tbody .validado {
    background-color:#ccd9e0 !important;
}

table tbody .rechazado {
    background-color:#f791da !important;
}

table tbody .activo {
    background-color:#a3d16e !important;
}

table tbody .baja_anticipada {
    background-color:#ea0088 !important;
    color:white !important;
}

.btn {
    border-radius: 3px;
    font-size: inherit;
}

.btn-xs {
font-size: 0.7rem;
padding: 0.2rem 0.4rem;
}

.btn-ditia {
    color: #fff !important;
    background-color: #d4ee4f !important;
    border-color: #d4ee4f !important;
}
.btn-ditia:hover,
.btn-ditia:focus,
.btn-ditia.focus {
color: #fff;
background-color: #d4ee4f;
border-color: #d4ee4f;
}
.btn-ditia.disabled,
.btn-ditia:disabled {
color: #fff;
background-color: #d4ee4f;
border-color: #d4ee4f;
}
.btn-ditia:not(:disabled):not(.disabled):active,
.btn-ditia:not(:disabled):not(.disabled).active,
.show > .btn-ditia.dropdown-toggle {
color: #fff;
background-color: #d4ee4f;
border-color: #d4ee4f;
}
.btn-ditia:not(:disabled):not(.disabled):active:focus,
.btn-ditia:not(:disabled):not(.disabled).active:focus,
.show > .btn-ditia.dropdown-toggle:focus {
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}
.btn-ditia.btn-outline {
color: #d4ee4f;
}
.btn-ditia.btn-outline:hover {
color: #fff;
}
.label_comision {
    color: #d4ee4f;
    font-size: 14px !important;
}
.min-div-width {
    min-width: 315px;
}
.min-div-width_3 {
    min-width: 950px;
}

.filter_order_four {
    flex: 0 0 auto;
    width: calc(100% / 4);
    padding-right: 4px;
    padding-left: 4px;
}

.filter_order_six {
    flex: 0 0 auto;
    width: calc(100% / 6);
    padding-right: 4px;
    padding-left: 4px;
}

.filter_order_ten {
    flex: 0 0 auto;
    width: calc(100% / 10);
    padding-right: 4px;
    padding-left: 4px;
}

/* SWITCH */

.switch {
    position: relative;
    display: inline-block;
    width: 40px; /* Ancho del switch */
    height: 20px; /* Altura del switch */
    margin-left: 0.5rem;
}

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

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px; /* Mitad de la altura para formar un círculo */
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px; /* Tamaño del botón */
    width: 16px; /* Tamaño del botón */
    left: 2px; /* Posición del botón */
    bottom: 2px; /* Posición del botón */
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    transform: translateX(20px); /* Movimiento del botón */
}

div:where(.swal2-container) {
    z-index: 9999 !important;
}


/* Fixing ckEditor */
.ck-balloon-panel{z-index:9998 !important}
