/* Bottom Nav */

#mobileBottomNav {
    position: fixed;
    display: block;
    bottom: 0;
    width: 100%;
    padding: 0;
    height: 60px;
    background-color: var(--contrastColor);
    font-family: Roboto;
    z-index: 100;
}

#mobileBottomNav .mobile-nav-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    flex-flow: row nowrap;
    justify-content: center;
    height: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.mobile-item-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex: 1;
}

.mobile-link {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 80px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    color: white !important;
    outline: none;
    text-decoration: none;
    transition: 0.3s all;
}

.mobile-link.active {
    background-color: var(--darkerContrastColor);
}

.mobile-link:hover {
    background-color: var(--darkerContrastColor);
    text-decoration: none;
}

.mobile-nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.3);
}

.mobile-nav-description {
    font-size: 1em;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    text-shadow: 1px 1px rgba(0, 0, 0, 0.2);
}


/* Side Nav */

#sidenav {
    position: fixed;
    display: block;
    left: 100%;
    width: 100%;
    top: 0;
    padding: 0;
    background-color: #1d1b1bb8;
    font-family: Roboto;
    z-index: 99;
    transition: all 0.6s;
    height: 100%;
    height: calc(var(--vh, 1vh) * 100 - 60px);
    overflow-y: auto;
    backdrop-filter: blur(5px);
}

#sidenav.open {
    left: 0;
}

body.nav-open {
    overflow: hidden;
}

.sidebar-container {
    position: relative;
    display: flex;
    flex-flow: column nowrap;
    width: auto;
    padding: 0 10px;
    min-height: 100%;
    margin: 0 auto;
    max-width: 500px;
    color: white;
    font-family: "Roboto", sans-serif;
}


/* Sidebar Header [START] */

.sidebar-header-wrapper {
    position: relative;
    display: flex;
    flex: 0 0 100%;
    flex-flow: row nowrap;
    padding-top: 8px;
}

.sidebar-header-welcome {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    flex: 1;
}

.sidebar-header-welcome>span {
    flex: 0;
    font-size: 14px;
}

.notification-status-wrapper {
    position: relative;
    flex: 0 0 60px;
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    text-align: center;
}

.notification-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.notification-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--contrastColor);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--contrastColor);
}

input:checked+.slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

.notification-icon {
    flex: 0 0 100%;
    color: var(--contrastColor);
    margin-bottom: 5px;
    font-size: 28px;
}

.notification-switch {
    flex: 0 0 100%;
}


/* Sidebar Header [END] */

.sidebar-content-wrapper {
    position: relative;
    display: flex;
    flex: 1;
    flex-flow: row wrap;
    padding-top: 10px;
}

.sidebar-content-item {
    position: relative;
    display: flex;
    flex-flow: row wrap;
    flex: 0 0 100%;
    padding: 10px 0;
}

.sidebar-content-main {
    position: relative;
    flex: 0 0 100%;
    display: flex;
    flex-flow: row wrap;
    align-content: flex-start;
}

.sidebar-content-footer {
    align-self: flex-end;
    padding-bottom: 10px;
}

.sidebar-content-link {
    display: flex;
    flex: 0 0 100%;
    align-content: center;
    align-items: center;
    background-color: var(--contrastColor);
    flex-flow: row nowrap;
    border-radius: 6px;
    height: 50px;
}

.sidebar-content-link-icon {
    flex: 0;
    font-size: 20px;
    margin-left: 10px;
}

.sidebar-content-link-description {
    flex: 1;
    display: flex;
    height: 100%;
    align-content: center;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 10px;
}

.sidebar-content-link,
.sidebar-content-link:active,
.sidebar-content-link:visited,
.sidebar-content-link:focus,
.sidebar-content-link:focus:active {
    color: white !important;
    text-decoration: none !important;
}


/* ============= Sidebar Background Logo [START] ====================== */

.sidebar-content-background-logo {
    position: absolute;
    display: block;
    z-index: -1;
    width: 100%;
    opacity: .8;
    bottom: 90px;
    max-width: 280px;
    left: 50%;
    -webkit-filter: contrast(120%) brightness(128%) saturate(176%);
    filter: contrast(120%) brightness(149%) saturate(136%);
    transform: translateX(-50%);
}