:root {
    /* make the backend contents as wide as the browser window */
    --body-max-width: 100%;
    /* change the background color of the <body> */
    --body-bg: #FFFFFF;
    /* make the base font size smaller */
    --font-size-base: 15px;
    /* remove all border radius to make corners straight */
    --border-radius: 5px;
    /*  --sidebar-bg:  linear-gradient(#FFFFFF, #fe7469 ) !important;
  
      --sidebar-menu-active-item-color: #000;
      --link-color: #5368d5 !important;
      --sidebar-menu-header-color: #000 !important;
      --sidebar-border-color: #fe7469;
      --sidebar-menu-active-item-bg: #FFFFFF;*/

    /*booleanField*/
    --form-switch-custom-bg: var(--body-bg);
    --form-switch-custom-border-color: var(--gray-400);
    --form-switch-custom-checked-bg: var(--indigo-500);

}


.logo-custom {
    width: 12em;
    margin: auto;
}
.logo-custom img {
    border-radius: 10px;
}


/*SB-ADMIN*/

.text-primary {
    color: #4e73df!important;
}

.font-weight-bold {
    font-weight: 700!important;
}

.border-left-primary {
    border-left: .25rem solid #4e73df!important
}

.border-bottom-primary {
    border-bottom: .25rem solid #4e73df!important
}

.border-left-secondary {
    border-left: .25rem solid #858796!important
}

.border-bottom-secondary {
    border-bottom: .25rem solid #858796!important
}

.border-left-success {
    border-left: .25rem solid #1cc88a!important
}

.border-bottom-success {
    border-bottom: .25rem solid #1cc88a!important
}

.border-left-info {
    border-left: .25rem solid #36b9cc!important
}

.border-bottom-info {
    border-bottom: .25rem solid #36b9cc!important
}

.border-left-warning {
    border-left: .25rem solid #f6c23e!important
}

.border-bottom-warning {
    border-bottom: .25rem solid #f6c23e!important
}

.border-left-danger {
    border-left: .25rem solid #e74a3b!important
}

.border-bottom-danger {
    border-bottom: .25rem solid #e74a3b!important
}

.border-left-light {
    border-left: .25rem solid #f8f9fc!important
}

.border-bottom-light {
    border-bottom: .25rem solid #f8f9fc!important
}

.border-left-dark {
    border-left: .25rem solid #5a5c69!important
}

.border-bottom-dark {
    border-bottom: .25rem solid #5a5c69!important
}

.badge.dashboard {
    padding: 0.5em !important;
    margin: 5px;
    font-size: 1em;
}

@media (max-width: 991px) {
    .responsive-logo img {
        width:50px;
    }
}

/*
#main table tbody td:not(.field-boolean) {
    overflow: auto;
}*/

.list-pagination-paginator {
    overflow: auto;
}

.mt-auto, .my-auto {
    margin-top: auto!important;
}
.pb-4, .py-4 {
    padding-bottom: 1.5rem !important;
}
.pt-4, .py-4 {
    padding-top: 1.5rem !important;
}

.informacion {
    margin-bottom: 20px;
}

.actions a i {
    font-size: x-large !important;
}

.sidebar .sidebar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: .875rem;
    border-radius: 0.35rem;
    color: rgba(255,255,255,.8);
    margin-right: 1.4rem;
    margin-bottom: 1rem;
    padding-top: 1em;
    padding-left: 1.45em;
    padding-right: 1.45em;
    padding-bottom: 1em;
    background-color: rgba(0,0,0,.5);
    bottom: 0px;
}

.sidebar {
    overflow-y: auto;
}


.app {
    color: black;
}


.justify {
    text-align: justify;
}

.desasignarEncuesta {
    color: #dc3545;

}

.form-switch-custom {
    padding-left: 2.5em
}

.form-switch-custom .form-check-input {
    --bs-form-switch-custom-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%280, 0, 0, 0.25%29%27/%3e%3c/svg%3e");
    background-image: var(--bs-form-switch-custom-bg);
    background-position: 0;
    border-radius: 2em;
    margin-left: -2.5em;
    transition: background-position .15s ease-in-out;
    width: 2em
}

@media (prefers-reduced-motion:reduce) {
    .form-switch-custom .form-check-input {
        transition: none
    }
}

.form-switch-custom .form-check-input:focus {
    --bs-form-switch-custom-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%2386b7fe%27/%3e%3c/svg%3e")
}

.form-switch-custom .form-check-input:checked {
    --bs-form-switch-custom-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27%23fff%27/%3e%3c/svg%3e");
    background-position: 100%
}

.form-switch-custom.form-check-reverse {
    padding-left: 0;
    padding-right: 2.5em
}

.form-switch-custom.form-check-reverse .form-check-input {
    margin-left: 0;
    margin-right: -2.5em
}



[data-bs-theme=dark] .form-switch-custom .form-check-input:not(:checked):not(:focus) {
    --bs-form-switch-custom-bg: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3e%3ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.25%29%27/%3e%3c/svg%3e")
}


.ea-dark-scheme {
    --form-switch-custom-bg: var(--true-gray-600);
    --form-switch-custom-border-color: var(--true-gray-700);
    --form-switch-custom-checked-bg: var(--blue-600);

}

.datagrid .field-boolean.has-switch {
    padding: 6px 8px
}

.datagrid .field-boolean .form-switch-custom {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 0;
    padding-left: 0
}

.datagrid .field-boolean .form-switch-custom input {
    margin-top: 0;
    position: relative;
    top: 3px
}

.form-check:not(.form-switch-custom) .form-check-input:not(:checked) {
    background-color: unset
}


.form-switch-custom .form-check-input {
    -webkit-appearance: none;
    background-color: var(--form-switch-custom-bg);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3E%3Ccircle r=%273%27 fill=%27rgba%28148, 163, 184, 0.8%29%27/%3E%3C/svg%3E");
    border-color: var(--form-switch-custom-border-color);
    cursor: pointer;
    height: 18px;
    width: 32px
}

.ea-dark-scheme .form-switch-custom .form-check-input:checked,.form-switch-custom .form-check-input:checked {
    background-color: var(--form-switch-custom-checked-bg);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3E%3Ccircle r=%273%27 fill=%27rgb%28255, 255, 255%29%27/%3E%3C/svg%3E");
    border-color: var(--form-switch-custom-checked-bg)
}

.ea-dark-scheme .form-switch-custom .form-check-input:checked {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3E%3Ccircle r=%273%27 fill=%27rgba%28255, 255, 255, 0.8%29%27/%3E%3C/svg%3E")
}

.ea-dark-scheme .form-switch-custom .form-check-input {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%27-4 -4 8 8%27%3E%3Ccircle r=%273%27 fill=%27rgba%28163, 163, 163, 0.8%29%27/%3E%3C/svg%3E")
}

.form-switch-custom .form-check-input[disabled],.form-switch-custom.disabled {
    cursor: not-allowed
}

.form-switch-custom .form-check-input:focus {
    box-shadow: none
}

/*filtros botones*/
.btn-group.action-filters {
    float: right
}
.global-actions {
    float: right;
    margin-top: 10px;
    margin-right: 10px;
}
.content-header .page-actions {
    display: block !important;
}