.scroll-y .ui-dialog-content {
    overflow-y: auto;
}

.select2-with-ico {
    width: calc(100% - 42px) !important
}

.select2-full {
    width: 100% !important
}

.select2-container .select2-selection--single {
    height: 35px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 35px !important;
}

.select2-container .select2-selection--single .select2-selection__arrow b {
    border-color: #adb5bd transparent transparent transparent !important;
    border-width: 6px 6px 0 6px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #888 transparent transparent transparent;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    height: 0;
    left: 25%;
    margin-left: -4px;
    margin-top: -2px;
    position: absolute;
    top: 65%;
    width: 0;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    /* background-color: #00c09e; */
    background-color: #0092cc !important;
    color: white;
}

.ui-dialog-content .row:first-child {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

#centro_pagina .card:first-child {
    border-radius: 20px !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.input-group-prepend {
    width: 42px !important;
}

.input-group-prepend span {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

.ui-divider {
    width: 100%;
    height: 1px;
    background-color: #dddddd;
    margin-top: 1rem;
}

.btn-block {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

.card-border {
    border-radius: 20px !important;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15) !important;
}

.invalid-feedback {
    margin-bottom: 0.25rem !important;

}

.bg-pattern {
    border-radius: 20px !important;
}


.theScroll {
    overflow-y: auto !important;
}

.select2-results__option[aria-disabled=true] {
    color: #999;
    cursor: default;
    background: #ddd;
}

.select2-results__group {
    font-weight: bold !important;
}

/*** Estilos menu lateral ***/
.enlarged #sidebar-menu .submenu li>a {

    background-color: #383c40;
    max-width: 200px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/*** Estilo para la barra del scroll ***/
.contenedor {
    margin: 2rem auto;
    border: 1px solid #aaa;
    height: 300px;
    width: 90%;
    max-width: 400px;
    background: #f1f2f3;
    overflow: auto;
    box-sizing: border-box;
    padding: 0 1rem;
}

/* Estilos para motores Webkit y blink (Chrome, Safari, Opera... )*/

body::-webkit-scrollbar {
    -webkit-appearance: none;
}

body::-webkit-scrollbar:vertical {
    width: 10px;
}

body::-webkit-scrollbar-button:increment,
body::-webkit-scrollbar-button {
    display: none;
}

body::-webkit-scrollbar:horizontal {
    height: 10px;
}

body::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

body::-webkit-scrollbar-track {
    border-radius: 10px;
}

/*** Scroll Select ***/
.select2-results__options::-webkit-scrollbar {
    -webkit-appearance: none;
}

.select2-results__options::-webkit-scrollbar:vertical {
    width: 10px;
}

.select2-results__options::-webkit-scrollbar-button:increment,
.select2-results__options::-webkit-scrollbar-button {
    display: none;
}

.select2-results__options::-webkit-scrollbar:horizontal {
    height: 10px;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

.select2-results__options::-webkit-scrollbar-track {
    border-radius: 10px;
}

/*** Scroll custom ***/
.scroll-custom::-webkit-scrollbar {
    -webkit-appearance: none;
}

.scroll-custom::-webkit-scrollbar:vertical {
    width: 10px;
}

/* .scroll-custom::-webkit-scrollbar-button:increment,
.scroll-custom::-webkit-scrollbar-button {
    display: none;
} */

.scroll-custom::-webkit-scrollbar:horizontal {
    height: 10px;
}

.scroll-custom::-webkit-scrollbar-thumb {
    background-color: #797979;
    border-radius: 20px;
    border: 2px solid #f1f2f3;
}

.scroll-custom::-webkit-scrollbar-track {
    border-radius: 10px;
}


/*** Estilos check ***/
.custom-control-label::after,
.custom-control-input:checked~.custom-control-label:before {
    width: 17px !important;
    height: 17px !important;
    cursor: pointer !important;
    top: 0px !important;
}

.custom-control-input:checked~.custom-control-label:before {
    border-color: #47bd9a;
    background-color: #47bd9a;
    height: 17px;
    width: 17px;
}

.custom-control-label::before {
    width: 17px;
    height: 17px;
    top: 0px;
}

.no-focus:focus {
    border: 0px !important;
    outline: none;
}

.custom-control-label {
    cursor: pointer;
}
.custom-checkbox .custom-control-input:disabled:checked~.custom-control-label::before {
    background-color: rgb(116 221 110);
}

/*** Estilos animación de carga ***/
.loader1,
.loader2 {
    border: 16px solid #FFF;
    border-top: 16px solid #104e8b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: auto;
    margin-bottom: 10px;
}

.loader_dialog {
    border: 16px solid #F3F3F3;
    border-top: 16px solid #104e8b;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
    margin: auto;
    margin-bottom: 10px;
}

.no-close .ui-dialog-titlebar-close {
    display: none;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}

.alert {
    z-index: 10000 !important;
}

/** Estilos para resaltar la opción desabilidtada **/
.select2-results__option[aria-disabled=true] {
    color: #000 !important;
    cursor: default;
    background: #ddd;
}

/* Para pantallas móviles (ancho menor o igual a 767px) */
@media screen and (max-width: 767px) {
    .contenedor_v2 {
        width: 650px;
    }
}

/* Para pantallas móviles (ancho menor o igual a 767px) */
@media screen and (max-width: 767px) {
    .contenedor_v1 {
        width: 750px;
    }
}