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

body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    /*margin-top: 20px;*/
    /*background: #ededed;*/
}

.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: 5px;
}

.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-150 {
    position: relative;
    height: 155px;
    overflow: auto;
}

.my-custom-scrollbar-200 {
    position: relative;
    height: 200px;
    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-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;
}

.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
}
.w150 {
    width: 150px
}
.w200 {
    width: 200px
}
.w250 {
    width: 250px
}