/*.noti-icon i {
    font-size: 22px;
    color: #D1AF9A !important;
}
#page-topbar {
    background-color: #5a162f !important;
    border-bottom: 1px solid rgba(233, 235, 236, 0.6);
}
.header-item {
   color: #D1AF9A !important;
}
*/
body:not([data-topbar="dark"]) .navbar-brand-box {
    background-color: #5a162f !important;
}

body[data-sidebar="dark"] .vertical-menu {
    background: #fff !important;;
    border-right: none;
}

#sidebar-menu ul li ul.sub-menu li.mm-active > a {
    color: black !important;
    font-weight: 700;
}

#sidebar-menu ul.metismenu > li.mm-active > a {
    background-color: #5a162f !important;
    color: #fff !important;
}

/*body[data-sidebar="dark"] #sidebar-menu ul li a {
    color: #5a162f !important;
}

body[data-sidebar="dark"] #sidebar-menu ul li i {
    color: #5a162f !important;
}
*/
.logo span.logo-lg {
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: white;
    font-size: 20px !important;
}

.btn-primary {
    border-bottom: 1.5px solid #5a162f !important;
}

.btn-primary {
    color: #fff;
    background-color: #5a162f !important;
    border-color: #5a162f !important;
}

.btn-primary:hover {
    color: #fff;
    background-color: #5a162f !important;
    border-color: #5a162f !important;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
    color: #fff;
    background-color: #5a162f !important;
    border-color: #5a162f !important;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(86, 18, 44, 0.5);
    box-shadow: 0 0 0 0.15rem rgba(86, 18, 44, 0.5);
}

.btn-check:active + .btn-primary,
.btn-check:checked + .btn-primary,
.btn-primary.active,
.btn-primary:active,
.show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #5a162f !important;
    border-color: #5a162f !important;
}

.btn-primary.disabled,
.btn-primary:disabled {
    color: #fff;
    background-color: #5a162f !important;
    border-color: #5a162f !important;
}


.btn-outline-primary {
    color: #5a162f;
    border-color: #5a162f;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #5a162f;
    border-color: #5a162f;
}

.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
    -webkit-box-shadow: 0 0 0 0.15rem rgba(90, 22, 47, 0.5);
    box-shadow: 0 0 0 0.15rem rgba(90, 22, 47, 0.5);
}

.btn-check:checked + .btn-outline-primary,
.btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show
{
    color: #fff;
    background-color: #5a162f;
    border-color: #5a162f;
}

.btn-check:checked + .btn-outline-primary:focus,
.btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus
{
    -webkit-box-shadow: 0 0 0 0.15rem rgba(90, 22, 47, 0.5);
    box-shadow: 0 0 0 0.15rem rgba(90, 22, 47, 0.5);
}

.btn-outline-primary:disabled, .btn-outline-primary.disabled
{
    color: #5a162f;
    background-color: transparent;
}

.link-primary {
    color: #5a162f;
}

.link-primary:hover, .link-primary:focus {
    color: rgba(86, 18, 44, 0.5);
}
   
.link-dark:hover, .link-dark:focus {
    color: rgba(52, 58, 64, 0.7)
}

.bg-auth .bg-overlay {
    background-color: #5a162f !important;
}

.text-primary {
    color: #5a162f !important;
}

.form-inline .form-group {
    display: inline-block;
    width: auto;
    vertical-align: middle;
}

/* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
@media (max-width: 800px) {
    .form-inline .form-group {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 5px 0;
    }
}

table thead tr th a {
    color: #5a162f;
    text-decoration: none;
}

table thead tr th a:hover {
    color: #5a162f;
    text-decoration: none;
}

table tbody tr td a {
    color: #5a162f;
    text-decoration: none;
}

table tbody tr td a:hover {
    color: #5a162f;
    text-decoration: none;
}

.bg-primary {
    background-color: #5a162f !important;
}


.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #d2d6de;
    border-radius: 0;
    padding: 6px 12px;
    height: 34px
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: 28px;
    user-select: none;
    -webkit-user-select: none
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-right: 10px
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0;
    padding-right: 0;
    height: auto;
    margin-top: -2px
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    line-height: 28px
}

.select2-container--default .select2-selection--single,
.select2-selection .select2-selection--single {
    border: 1px solid #ced4da!important;
    border-radius: 0.25rem!important;
    padding: 6px 12px;
    height: 38px !important;    
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 6px !important;
    right: 1px;
    width: 20px

}

.select2-container {
    min-width: 100% !important;
}

.nav-pills {
    background-color: #F3F2EE;
    position: absolute;
    width: 100%;
    height: 4px;
    top: 40px;
    text-align: center;
}

.nav-pills > li + li {
    margin-left: 0;
}

.nav-pills > li > a {
    padding: 0;
    max-width: 78px;
    margin: 0 auto;
    color: #5a162f;
    border-radius: 50%;
    position: relative;
    top: -32px;
    z-index: 100;
}

.nav-pills > li > a:after {
    content: '';
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    top: -4px;
    transform: scale(0);
    transition: .2s all linear;
}

.nav-pills > li > a:hover, .nav-pills > li > a:focus {
    background-color: transparent;
    color: rgba(0, 0, 0, 0.2);
    outline: 0 !important;
    cursor: pointer;
}

.nav-pills > li.active > a:after {
    content: '';
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-block;
    position: absolute;
    left: -37px;
    top: -2px;
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    -ms-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
    background-color: transparent;
    font-size: 15px;
    -webkit-transition: font-size 0.2s linear;
    -moz-transition: font-size 0.2s linear;
    -o-transition: font-size 0.2s linear;
    -ms-transition: font-size 0.2s linear;
    transition: font-size 0.2s linear;
}

.nav-pills > li.active > a [class*="fa-"],
.nav-pills > li.active > a:hover [class*="fa-"],
.nav-pills > li.active > a:focus [class*="fa-"] {
    color: #FFFFFF;
    font-size: 24px;
    top: 21px;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

.nav-pills > li.active > a .icon-circle {
    font-size: 20px;
    background-color: #5a162f;

}

.wizard-card[data-color="red"] .nav-pills > li.active > a {
    color: #5a162f;
}


.wizard-card .icon-circle {
    font-size: 20px;
    border: 3px solid #F3F2EE;
    text-align: center;
    border-radius: 50%;
    color: rgba(0, 0, 0, 0.2);
    font-weight: 600;
    width: 70px;
    height: 70px;
    background-color: #FFFFFF;
    margin: 0 auto;
    position: relative;
    top: -2px;
}

.wizard-card .icon-circle [class*="fa-"] {
    position: absolute;
    z-index: 1;
    left: 1px;
    right: 0px;
    top: 23px;
    color: #5a162f;
}


.wizard-card[data-color="red"] .choice.active .card-checkboxes {
    color: #5a162f;
}

.wizard-card[data-color="red"] .wizard-navigation .progress-bar {
    background-color: #5a162f;
}

.wizard-card .tab-content {
    min-height: 435px;
    padding: 105px 20px 10px;
}

.wizard-card .wizard-footer {
    padding: 0 15px 5px;
}

.wizard-card .disabled {
    display: none;
}

.wizard-card .wizard-header {
    padding: 15px 15px 15px 15px;
    position: relative;
    border-radius: 3px 3px 0 0;
    z-index: 3;
}

.wizard-card .wizard-header h3 {
    text-align: center;
}

.wizard-card .wizard-title {
    color: #252422;
    font-weight: 300;
    margin: 0;
}

.wizard-card .wizard-navigation {
    position: relative;
}

.wizard-card .wizard-navigation .progress-with-circle {
    position: relative;
    top: 40px;
    z-index: 50;
    height: 4px;
}

.wizard-card .wizard-navigation .progress-with-circle .progress-bar {
    box-shadow: none;
    -webkit-transition: width .3s ease;
    -o-transition: width .3s ease;
    transition: width .3s ease;
}

.wizard-card .choice {
    text-align: center;
    cursor: pointer;
    margin-top: 38px;
}

.wizard-card .choice .icon {
    text-align: center;
    vertical-align: middle;
    height: 116px;
    width: 116px;
    border-radius: 50%;
    background-color: #999999;
    color: #FFFFFF;
    margin: 0 auto 20px;
    border: 4px solid #CCCCCC;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}

.wizard-card .choice i {
    font-size: 32px;
    line-height: 55px;
}

.wizard-card .choice:hover .icon, .wizard-card .choice.active .icon {
    border-color: #2ca8ff;
}

.form-check-input:checked {
    background-color: #5a162f;
    border-color: #5a162f;
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: #5a162f !important;
}

.nav-tabs-custom .nav-item .nav-link::after {
    content: "";
    background: #5a162f;
    height: 2px;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -2px;
    -webkit-transition: all 250ms ease 0s;
    transition: all 250ms ease 0s;
    -webkit-transform: scale(0);
            transform: scale(0);
}

.page-link:hover {
    z-index: 2;
    color: #5a162f;
    text-decoration: none;
    background-color: #eff2f7;
    border-color: #ced4da;
}

.page-link:focus {
    z-index: 3;
    color: #5a162f;
    background-color: #eff2f7;
    outline: 0;
    -webkit-box-shadow: 0 0 0 0.15rem rgba(84, 20, 44, 0.25);
            box-shadow: 0 0 0 0.15rem rgba(84, 20, 44, 0.25);
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #5a162f;
    border-color: #5a162f;
}

body:not([data-topbar="dark"]) .navbar-brand-box {
    background-color: #5a162f !important;
}

body[data-sidebar="dark"] .vertical-menu {
    background: #fff !important;;
    border-right: none;
}

#sidebar-menu ul.metismenu > li.mm-active > a {
    background-color: #5a162f !important;
    color: #fff !important;
}
body[data-sidebar="dark"] #sidebar-menu ul li a {
    color: #D1AF9A !important;
}
body[data-sidebar="dark"] #sidebar-menu ul li i {
    color: #D1AF9A !important;
}
#sidebar-menu {
    padding: 0px 0 30px 0 !important;
}

/*
    Solo mayusculas en textbox

input[type='text'], textarea {
    text-transform: uppercase;
}*/

.ms-options-wrap > button {
    height: 38px!important;
    border: 1px solid #ced4da!important;
    border-radius: 0.25rem!important;
}

/*
 * Tree Multiselect
 */

.tree-multiselect {
    width: 100%!important;
    border: 0px!important;
}

.tree-multiselect .title {
    background-color: white!important;
    color: black!important;
}

.tree-multiselect .item {
    background-color: white!important;
    color: black!important;
}

/* Estilos para inputs */
form input[type="text"],
form input[type="number"],
form input[type="email"], 
form input[type="password"],
form input[type="checkbox"],
form input[type="date"],
form input[type="datetime-local"] {
    border-radius: 5px;
}

form input[type="text"]:focus,
form input[type="number"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="checkbox"]:focus,
form input[type="date"]:focus,
form input[type="datetime-local"]:focus {
    border-color: #3e0d1d;
}
