/** Light **/
#upjerslogo img{
    width:60px;
    height:30px;
}

#endBreak{
    line-height:1.1;
}

#contentWrapper{
    margin-left: auto;
    /*height: calc(100vh - 57.5px);*/
    overflow: scroll;
    flex: 1!important;
    min-height: calc(100vh - 57.5px);
    transition: 0.3s ease;
}

#upjerslogo {
    background: unset;
    height: 30px;
    float: left;
    width: 60px;
    margin-top: 0px !important;
}

#preheader {
    background-color: #ffab0099;
    font-weight: bold;
    font-size: 15px;
    color: #172b4d;
    padding: 10px 5px 10px 50px;
}
#preheader span {
    display: block;
    position: relative;
}
#preheader span:after{
    content: "!";
    font-weight: 400;
    font-style: normal;
    left: -35px;
    position: absolute;
    line-height: 20px;
    border-radius: 50%;
    background-color: #fff;
    color: #ffab0099;
    padding: 0 8px;
}

#subheader {
    background-color: #f24c72;
    font-weight: bold;
    font-size: 15px;
    color: #fff;
    padding: 10px 5px 10px 50px;
    position: sticky;
    top: 57.5px;
    z-index: 99;
}

#subheader #breakAlarm:after{
    content: "!";
    font-weight: 400;
    font-style: normal;
    left: -35px;
    position: absolute;
    line-height: 20px;
    border-radius: 50%;
    background-color: #fff;
    color: #f24c72;
    padding: 0 8px;
}

#subheader #breakAlarm {
    display: block!important;
    position: relative;
    color: #fff!important;
}

#uppartnerMiscHeader{
    padding: 5px;
    height:60px;
}

/** Awesome **/

.navbar-brand img{
    height:30px;
}

#linkNavbar{
    position: absolute;
    top: 52px;
    width:100%;
    height:67px;
    font-size: 12px;
}
#linkWrapperNavbar{
    display: unset !important;
}
body {
    font-size: .875rem;
    overflow-x: hidden;
}

.feather {
    width: 16px;
    height: 16px;
}

/*
 * Sidebar
 */

.row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    position: relative;
}
#slide-sidebar
{
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 99;
    background-color: #000;
    color: #fff;
}
#slide-sidebar-label {
    height: 100%;
    cursor: pointer;
    margin: 0;
    margin-top: -8px;
    transition: 0.3s ease;
    width: 100%;
}
@media (max-width: 768px)
{
    #slide-sidebar-label
    {
        display: none;
    }
}

#slide-sidebar-label i {
    display: none;
    color: #f4f4f4;
    font-size: 40px;
}

#slide-sidebar-label:not(.collapsed)  .bi-chevron-bar-left {
    display: block;
}

#slide-sidebar-label.collapsed  .bi-chevron-right {
    display: block;
}

#slide-sidebar:checked ~ #contentWrapper
{
    max-width: 100%!important;
}
#slide-sidebar:checked ~ #sidebarMenu
{
    left: -25%;
}

#sidebarMenu {
    border-right: solid 3px #4f4f4f;
    box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.4);
    padding-inline: 0;
    position: fixed;
    left: 0;
    overflow:scroll;
    height: calc(100vh - 57.5px);
    z-index: 99;
    transition: 0.3s ease;
}

@media (max-width: 767.98px) {
    #logoutTop {
        display:none;
    }
    .navbar-toggler:not(.collapsed) ~ #logoutTop {
        display: flex;
        position: fixed;
        top: 57.5px;
        left: calc(100% - 90px);
        background-color: var(--danger);
    }
    #news, #breakAlarm{
        font-size:12px;
    }
}

.sidebar-sticky {
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

/*
.default {
    height: calc(100vh - 57.5px);
}
.shorten {
    height: calc(100vh - 90px);
}
*/

.sidebar-sticky .nav-link {
    font-weight: 500;
    color: #333;
    font-size: 14px;
    display: block;
    padding: .5rem 1rem;
    flex: 0 1 100%;
    }
.sidebar-sticky .nav-link:hover {
    color: #2470dc;
}
.bi.bi-chevron-down.pointer[data-toggle="collapse"]
{
    padding: .5rem 2rem;
}

.nav-link .feather {
    margin-right: 4px;
    color: #727272;
}

.nav-link.active {
    color: #2470dc;
}
.sidebar-sticky li.nav-item > div:first-child {
    display: flex !important;
    align-items: center !important;
}

.sidebar-sticky li.nav-item div.collapse,
.sidebar-sticky li.nav-item div.collapsing
{
    background-color: #0b67cd;
    box-shadow: inset 0px 1px #d1d1d1;
}

.nav-link:hover .feather,
.nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .75rem;
}

/*
 * Navbar
 */

.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .navbar-toggler {
    top: .25rem;
    right: 1rem;
}

.navbar .form-control {
    padding: .75rem 1rem;
}

.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}

.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
.btn-toggle-nav li {
    display: flex;
}
.btn-toggle-nav li a{
    padding: .1875rem 1rem;
    margin-top: .125rem;
    color: #fff;
    margin-inline: 1.25rem;
    width: 100%;
    font-size: 12px;
}

.btn-toggle-nav a:hover,
.btn-toggle-nav a:focus {
    background-color: #fff;
    color: inherit;
}
.btn-toggle-nav a.active {
    font-weight: bold;
    font-size: 13px;
}
.btn-toggle-nav a.active::before{
    content: '-';
    padding-right: 4px;
}


/* LOGIN MASK */
html.login-mask body{
    height: 100vh;
    background-color: #4d9ae0
}
html.login-mask .background {
    position:absolute;
    z-index:-1;
    width: 100%;
    height: 100%;
    background: url('https://www.up-partner.com/up_partner/public/img/uppartner_login.jpg');
    background-size: cover;
    background-position:center;
    background-repeat: no-repeat;
}

html.login-mask main {
    padding: 10vh 5vw 50px 5vw;
    max-width: 560px;
    margin: auto;
}

html.login-mask main > section {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    box-shadow: 0 0 30px 2px #d1d1d1;
    backdrop-filter: blur(5px);
}

html.login-mask .form-group {
    display: flex; flex-direction: column; gap: 5px;
}

html.login-mask .form-group.error {
    color: #ff0000CC;
    display: flex;
    font-weight: bold;
    flex-direction: row;
    gap: 10px;
}

html.login-mask form .form-group:nth-last-child(1) {
    margin-top: 50px;
}

html.login-mask .navbar-brand {
    text-align: center!important;
    flex: 0 0 100%!important;
    max-width: 100%!important;
}

html.login-mask form > label {
    margin-bottom: 0;
}

@media screen and (max-width: 767.98px) {
    html.login-mask .background {
        background-size: 110vh calc(100% - -57.5px);
    }
}
.hr-text {
    display: flex;
    flex-direction: row;
}
.hr-text:before, .hr-text:after{
    content: "";
    flex: 1 1;
    border-bottom: 1px solid;
    margin: auto;
}
.hr-text:before {
    margin-right: 10px
}
.hr-text:after {
    margin-left: 10px
}