:root {
    --primary-text-light-color: #D2AD4D !important;
    --primary-text-dark-color: #734d19 !important;
    --primary-background-color: linear-gradient(to top, #131211 0%, #414040 100%) !important;

    --secondary-background-color: rgb(84 130 110);
!important;
    --secondary-text-color: rgb(86, 86, 86);
!important;

    --sidenav-background: rgb(228, 228, 228);
    --sidenav-background-hover: rgba(202, 202, 202, 0.7);
    --sidenav-color: rgb(169, 169, 169);
!important;
    --sidenav-size: 5rem;
    --sidenav-item-size: 1.1rem;
    --sidenav-item-height: 3.2rem;
    --sidenav-icon-size: 1.5rem;
    --sidenav-item-color-active: rgb(209, 39, 39) !important;

    --sidenav-secondary-background: rgb(243, 243, 243);
    --sidenav-secondary-background-hover: rgba(221, 221, 221, 0.7);
    --sidenav-secondary-color: rgb(75, 75, 75);
!important;
    --sidenav-secondary-size: 16rem;
    --sidenav-secondary-item-size: 1.1rem;
    --sidenav-secondary-item-height: 2.5rem;
    --sidenav-secondary-icon-size: 1.1rem;
    --sidenav-secondary-item-color-active: rgb(209, 39, 39) !important;

    --card-background: #f7f7f7;
}

body {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.8;
    font-weight: 400;
    background-color: rgb(255, 255, 255);
    color: grey;
}

.navbar {
    background: rgb(247, 246, 246);
    border-bottom: 0.02rem solid rgba(170, 170, 170, 1);
    padding-top: 0;
}

.navbar-brand {
    position: relative;
    top: 0.2rem;
}

.navbar-nav-main {
    position: relative;
    top: 0.6rem;
}

.navbar-nav .show > .nav-link, .navbar-nav .nav-link.active {
    background: rgb(255, 255, 255);
    border-color: rgba(220, 220, 220, 1) rgba(220, 220, 220, 1) transparent rgba(220, 220, 220, 1);
}

.app {
    display: flex;
    justify-content: initial;
}


.sidenav {
    height: 100vh;
    background: var(--sidenav-background);
    position: fixed;
    top: 0;
    width: var(--sidenav-size);
    padding: 0 !important;
    margin: 0;
    overflow-y: hidden;
    border-right: 0.03rem solid rgb(200, 200, 200);
}

.sidenav:hover {
    overflow-y: auto;
}

.sidenav ul {
    padding: 0;
    margin-top: 1rem;
}

.sidenav .brand {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.2rem 0 0.3rem 0;
}

.sidenav .brand img {
    width: 1.8rem;
    height: 1.9rem;
}

.sidenav .brand b {
    color: var(--secondary-text-color);
    font-size: 1.6rem;
}

.sidenav ul li {
    border-radius: 0;
    border: none;
    padding: 0;
    display: flex;
    margin-bottom: 0.4rem;
    padding: 0 0.8rem;
}

.sidenav ul li.divider {
    height: 0.3rem;
    line-height: 0.3rem;
}

.sidenav ul li.divider hr {
    padding: 0.2rem 0 0.1rem 0;
    margin: 0;
    height: 0.5rem;
    width: 100%;
    border-top: 1px solid #7b7b7b;
}

.sidenav ul li a {
    color: var(--sidenav-color);
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: var(--sidenav-item-size);
    padding: 0 10px;
    width: 100%;
    height: var(--sidenav-item-height);
    line-height: var(--sidenav-item-height);
    display: flex;
    justify-content: center;
}

.sidenav ul li a:hover {
    background: var(--sidenav-background-hover);
    color: var(--secondary-text-color);
    width: 100%;
}

.sidenav ul li a.active {
    background: var(--sidenav-background-hover);
    color: var(--secondary-text-color);
    width: 100%;
}

.sidenav ul li a i {
    font-size: var(--sidenav-icon-size);
    --webkit-text-stroke: 1px;
}

.sidenav-secondary {
    height: 100vh;
    background: var(--sidenav-secondary-background);
    position: fixed;
    top: 0;
    left: var(--sidenav-size);
    width: var(--sidenav-secondary-size);
    padding: 0 !important;
    margin: 0;
    border-right: 0.02rem solid rgba(170, 170, 170, 1);
    overflow-y: hidden;
    border-right: 0.03rem solid rgb(200, 200, 200);
}

.sidenav-secondary:hover {
    overflow-y: auto;
}

.sidenav-secondary ul {
    padding: 0;
    margin-top: 0.3rem;
    padding: 0 1rem;
}

.sidenav-secondary .brand {
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 1.2rem 0.8rem 0.3rem 0.8rem;
}

.sidenav-secondary .brand img {
    width: 1.8rem;
    height: 1.9rem;
}

.sidenav-secondary .brand b {
    color: var(--secondary-text-color);
    font-size: 1.2rem;
}

.sidenav-secondary ul li {
    border-radius: 0;
    border: none;
    padding: 0;
    display: flex;
    margin-bottom: 0.3rem;
}

.sidenav-secondary ul li.divider {
    height: 0.3rem;
    line-height: 0.3rem;
}

.sidenav-secondary ul li.divider hr {
    padding: 0.2rem 0 0.1rem 0;
    margin: 0;
    height: 0.5rem;
    width: 100%;
    border-top: 1px solid #7b7b7b;
}

.sidenav-secondary ul li a {
    color: var(--sidenav-secondary-color);
    text-decoration: none;
    font-size: var(--sidenav-secondary-item-size);
    padding: 0 10px;
    width: 100%;
    height: var(--sidenav-secondary-item-height);
    line-height: var(--sidenav-secondary-item-height);
    display: flex;
    justify-content: left;
}

.sidenav-secondary ul li a:hover {
    background: var(--sidenav-secondary-background-hover);
    color: var(--secondary-text-color);
    border-radius: 0.5rem;
    width: 100%;
}

.sidenav-secondary ul li a.active {
    background: var(--sidenav-secondary-background-hover);
    color: var(--secondary-text-color);
    border-radius: 0.5rem;
    width: 100%;
}

.sidenav-secondary ul li a i {
    font-size: var(--sidenav-secondary-icon-size);
    --webkit-text-stroke: 1px;
    margin-right: 0.3rem;
}


.content {
    margin-left: calc(var(--sidenav-size) + var(--sidenav-secondary-size));
    width: calc(100vw - (var(--sidenav-size) + var(--sidenav-secondary-size)));
    padding: 4rem .6rem 1.4rem .6rem;
    background: rgb(255, 255, 255);
}

.page-content {
    padding-top: 105px;
    padding-bottom: 105px;
}

.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 3;
    margin-left: calc(var(--sidenav-size) + var(--sidenav-secondary-size));
    padding: 0 0 0 .7rem;
    width: calc(100vw - (var(--sidenav-size) + var(--sidenav-secondary-size)));
    height: 3rem;
    background: rgba(255, 255, 255, 1);
    border-bottom: 0.02rem solid rgba(170, 170, 170, 1);
}

.nav-header-title {
    font-size: 0.89rem;
    font-weight: 600;
    text-transform: uppercase;
}

.nav-header ul.navbar-nav {
    flex-direction: row;
}

.nav-header ul li {
    margin-left: 0.2rem;
    margin-right: 0.2rem;
}

.nav-header ul li:first-child {
    margin-left: 0;
    margin-right: 0.2rem;
}

.nav-header ul li:last-child {
    margin-left: 0.2rem;
    margin-right: 0;
}

.card-aplicares {
    background-color: var(--card-background);
    border: none;
    border-radius: 0.5rem;
    min-height: 2.8rem;
}

.card-aplicares:hover {
    background: #ececec;
}

.card-aplicares:hover div.card-body div.card-options .btn.btn-light {
    background-color: #dddddd;
}

.card-aplicares:hover div.card-body div.card-options {
    display: flex !important;
}

.card-aplicares:hover div.card-body div.card-options-hide {
    display: none !important;
}

.form-control:focus {
    color: #212529;
    background-color: #f8fafc;
    border-color: #9ac8ee;
    outline: 0;
    box-shadow: 0 0 0 0.02rem rgb(52 144 220 / 25%);
}

.btn-light {
    background-color: #ebeff3;
    border: none;
}

.btn-primary {
    color: #fff;
}

.btn-primary:hover {
    color: #fff !important;
}

.dropdown-header {
    font-size: 0.7875rem;
    background: #f4eede;
}

@media screen and (max-width: 668px) {

    .nav-header form {
        width: 100%;
    }

    .nav-header ul.navbar-nav {
        padding-top: 6px;
        margin-left: 0 !important;
    }
}


#toast-container > div {
    margin: 0 0 16px;
    padding: 15px 15px 15px 50px;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    box-shadow: rgb(255 255 255 / 10%) 0px 1px 1px 0px inset, rgb(50 50 93 / 25%) 0px 50px 100px -20px, rgb(0 0 0 / 30%) 0px 30px 60px -30px !important;
}

.toast-warning {
    background-color: #D2AD4D;
    border-color: #D2AD4D;
}

.page-content {
    background-color: #eceff1;
}

.indigo-dark {
    background-color: #f1f1ff;
}

.main-wrapper .page-wrapper {
    min-height: 100vh;
    background: #eceff1;
    display: flex;
    flex-direction: column;
    transition: margin 0.1s ease, width 0.1s ease;
}

.spinner-grow.no-animation {
    animation: none o !important;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    height: 0.8rem;
    opacity: 1;
    vertical-align: -0.125em;
    width: 0.8rem;
}

.spinner-grow {
    -webkit-animation: spinner-grow 1.75s linear infinite;
    animation: spinner-grow 1.75s linear infinite;
    background-color: currentColor;
    border-radius: 50%;
    display: inline-block;
    height: 0.8rem;
    opacity: 0;
    vertical-align: -0.125em;
    width: 0.8rem;
}

.alert-info svg {
    width: 19px;
    height: 19px;
    margin-right: 0.2rem !important;
}

.alert-secondary svg {
    width: 19px;
    height: 19px;
    margin-right: 0.2rem !important;
}

.alert-light svg {
    width: 19px;
    height: 19px;
    margin-right: 0.2rem !important;
}

.alert-dark svg {
    width: 19px;
    height: 19px;
    margin-right: 0.2rem !important;
}

.alert-danger svg {
    width: 19px;
    height: 19px;
    margin-right: 0.2rem !important;
}


.noble-ui-logo {
    font-weight: 700;
    font-size: 25px;
    color: #D2AD4D;
}

.noble-ui-logo span {
    color: #D2AD4D;
    font-weight: 300;
}

.bg-protocolares {
    background-color: #D2AD4D;
}

.text-protocolares {
    color: #D2AD4D;
}

.btn-outline-protocolares {
    color: #D2AD4D;
    border-color: #D2AD4D;
}

.btn-outline-warning:hover {
    color: #000;
    background-color: #D2AD4D;
    border-color: #D2AD4D;
}

.dropdown-item.active,
.tt-menu .active.tt-suggestion,
.dropdown-item:active,
.tt-menu .tt-suggestion:active {
    color: #fff;
    text-decoration: none;
    background-color: #1c1c1c;
}

.dropdown-item:not(.dropdown-item:active, .dropdown-item.active):hover,
.tt-menu .tt-suggestion:not(.dropdown-item:active, .dropdown-item.active):hover,
.dropdown-item:not(.dropdown-item:active, .dropdown-item.active):hover i,
.tt-menu .tt-suggestion:not(.dropdown-item:active, .dropdown-item.active):hover i,
.dropdown-item:not(.dropdown-item:active, .dropdown-item.active):hover svg,
.tt-menu .tt-suggestion:not(.dropdown-item:active, .dropdown-item.active):hover svg {
    color: #ffffff;
}

.dropdown-item:not(.dropdown-item:active, .dropdown-item.active):hover,
.tt-menu .tt-suggestion:not(.dropdown-item:active, .dropdown-item.active):hover {
    background-color: rgba(80, 80, 80, 1);
}

.btn-inverse-protocolares {
    background-color: rgba(251, 240, 209, 1);
    background-image: none;
    color: #D2AD4D;
    border-color: rgba(251, 240, 209, 1);
}

.btn-inverse-protocolares:hover {
    background-color: #D2AD4D;
    color: #fff;
}

.btn-outline-protocolares:hover {
    background-color: #D2AD4D;
    color: #fff;
}

.lh-24 {
    line-height: 24px;
}

.lh-26 {
    line-height: 26px;
}


.dropdown-header-icon {
    width: 16px;
}

.dropdown-header {
    display: block;
    padding: 0.5rem 0.6rem;
    margin-bottom: 0;
    font-size: 0.812rem;
    color: #7987a1;
    white-space: nowrap;
    border-radius: 4px;
    background: rgba(230, 230, 200, 0.4);
}


.btn-minimal {
    padding: 2px 3px !important;
}


.main-wrapper .page-wrapper {
    min-height: 100vh;
    background-color: #eceff1;
}

.h-20 {
    height: 20rem;
}

.toolbar {
    position: fixed;
    bottom: 0;
    z-index: 1024;
    height: 3.4rem;
    width: 100vw;
    display: none;
    align-items: center;
    justify-content: center;
}
.container-page {
    background: white;
    border: 0.08rem solid #ccc;
    margin-bottom: 1rem;
    margin-top: 6rem;
    border-radius: 0.5rem;
}
.toolbar-item-label{
    font-size: 0.7rem;
}
.toolbar-item{
    color: white !important;
}
.toolbar-item.active{
    color: #D2AD4D !important;
}

@media screen and (max-width: 998px) {
    .navbar{
        display: none;
    }
    .toolbar {
        position: fixed;
        bottom: 0;
        z-index: 1024;
        height: 3.4rem;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .container-page {
        background: white;
        border: 0 solid #ccc;
        margin-bottom: 0;
        margin-top: 0;
        border-radius: 0;
        height: 100vh;
    }
}
@media screen and (max-width: 260px) {
    .toolbar-item-label{
        display: none;
    }
    .toolbar-item-icon{
        font-size: 1.4rem;
    }
}

.btn-outline-success:hover{
    color: #ffffff !important;
}