﻿/*ANY UPDATES HERE WITH ALSO NEED TO GO IN THE CDN*/


/*START TOP NAV CSS*/
.navbar {
    flex-wrap: nowrap !important;
}

.top-navbar {
    background-color: white !important;
    height: 85px;
    align-content: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .3);
}


.top-nav-left {
    position: relative;
    width: 50%;
    font-size: 20px;
    color: white;
    background: var(--forvis-red);
    border-bottom: 3px solid var(--forvis-red);
    font-size: 30px;
    display: flex;
    align-items: center;
    height: 100%;
    padding-left: 1.5rem;
    padding-right: 0;
}

.top-nav-left:after {
    content: " ";
    position: absolute;
    display: block;
    width: 102%;
    height: 105%;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--forvis-red);
    border-bottom: 3px solid var(--forvis-red);
    border-right: 20px solid var(--forvis-red);
    transform-origin: bottom left;
    -ms-transform: skew(-30deg, 0deg);
    -webkit-transform: skew(-30deg, 0deg);
    transform: skew(-30deg, 0deg);
}


.nav-link-icon-container {
    max-width: 30px;
    width: 30px;
}

.nav-link-name {
    margin-left: .75rem;
}

.sub-nav-container {
    margin-bottom :.5rem;
}

.sub-nav-link {
    color: black !important;
    font-size: 16px;
    text-decoration: none;
    margin-left: 1.75rem;
    padding:.25rem;

}

.sub-nav-link.active {
    background-color: white;
    border-radius: 5px !important;
    font-weight: bold;
}

.brand-logo {
    display: flex;
}

.app-name {
    display: flex;
    font-weight: bold;
    font-size: var(--text-3xl);
    margin-left: 4rem;
    cursor: default;
}

.navbar-toggler {
    display: none !important;
}

.top-nav-right, .top-nav-right-mobile {
    display: flex;
    justify-content: end;
    margin-right: 1rem;
    align-items: center;
    width: 50%;
    color: black;
}

.top-nav-right-mobile, .username-mobile {
    display: none;
}

.username {
    display: flex;
}

.username:hover {
    cursor: pointer;
}

.show-nav {
    display: flex;
}

.hide-nav {
    display: none;
}

.collapse.show-top-nav {
    display: flex;
    flex-direction: column;
    animation: showTopNav .75s;
}

.collapse.hide-top-nav {
    animation: hideTopNav 2s;
}

.navbar-nav {
    width: 100%;
}


#navbarNav {
    visibility: hidden;
}


.navbar-brand {
    font-size: 1.1rem;
}



.nav-links-separator {
    display: none;
}

.nav-item {
    font-size: 1rem;
    padding-bottom: .25rem;
}


.dropdown-menu {
    margin-top: 1.5rem;
    position: absolute !important;
    right: 0% !important;
    left: inherit !important;
    padding: 0;
    border: none;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    background-color: white !important;
    box-shadow: 10px 14px 30px -3px rgba(0,0,0,0.27);
    -webkit-box-shadow: 10px 14px 30px -3px rgba(0,0,0,0.27);
    -moz-box-shadow: 10px 14px 30px -3px rgba(0,0,0,0.27);
}


.navbar-toggler {
    padding: 0px 5px !important;
}

.top-row {
    height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.oi {
    width: 2rem;
    font-size: 1.1rem;
    vertical-align: text-top;
    top: -2px;
}

/* FORVIS SIDEBAR */

.forvis-image {
    height: 85px;
    display: flex;
    justify-content: center;
    align-items:center;
    font-size: var(--text-3xl) !important;
    font-weight: bold;
    color: white;
}

.forvis-sidebar {
    background-color: var(--cool-gray-1);
    color: black;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 60vw;
    animation: ShowMobileNav;
    animation-duration: .5s;
    animation-timing-function: ease-in;
    animation-direction: normal;
}

@keyframes ShowMobileNav {
    0% {
        height: 0px;
    }
    100% {
        height:100vh;
    }
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    padding-left: 3rem;
    padding-right: 3rem;
    height: 95vh;
}

.sidebar-header {
    font-size: var(--text-2xl);
    font-weight: bold;
    margin-left: 2rem;
}

.top-nav-links-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80vh;
    width: 90%;
}

.top-nav-links-container .nav-link-container {
    padding: 5px;
    font-size: 16px !important;
}

/* END FORVIS SIDEBAR */
@media only screen and (max-width: 400px){
    .app-name {
        font-size: var(--text-lg) !important;
    }

    .sidebar-content {
        padding-left: .75rem;
    }

    .sidebar-header {
        margin-left:0;
    }
}

@media only screen and (max-width: 600px) {
    .navbar {
        padding: 10px;
    }

    .app-name {
        font-size: 22px;
    }

    .logo {
        display: none;
    }

    .top-nav-left {
        padding-left: 0px !important;
        padding-right: 0px;
        font-size: var(--text-lg) !important;
    }

    .navbar-toggler-icon {
        background-size: 80%;
    }

    .top-nav-right-mobile {
        padding-right: 0;
        margin-right: 0;
    }
}


@media only screen and (max-width: 992px) {

    .dropdown-menu {
        margin-top: .90rem;
    }

    .top-navbar {
        height: 50px;
        padding: 10px;
    }

    .top-nav-left {
        width: 90%;
        border-bottom: none;
        background-color: transparent;
        font-size: 20px;
        color: black;
        padding-left: 1rem;
    }

    .top-nav-left:after {
        border-bottom: none;
        border-right: none;
        background-color: transparent;
        transform-origin: bottom left;
        -ms-transform: skew(0deg, 0deg);
        -webkit-transform: skew(0deg, 0deg);
        transform: skew(0deg, 0deg);
    }

    .top-nav-right {
        display: none;
    }

    .top-nav-right-mobile {
        display: flex;
        width: 30%
    }

    .top-nav-info {
        display: none;
    }

    .app-name {
        margin-top: 0px !important;
        color: var(--forvis-red);
        margin-left: 2rem !important;
    }

    .username-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: var(--forvis-red);
        color: white;
        font-size: var(--text-lg);
        font-weight: bold;
        width: 40px;
        height: 40px;
    }

    .sidebar-nav {
        display: none !important;
    }

    .nav-link.active > i {
        font-weight: bolder;
    }

    .navbar-toggler {
        display: flex !important;
        border: none !important;
        font-size: 1.75rem !important;
    }

    .username {
        display: none !important;
    }

    .nav-links-separator {
        margin: 0;
        display: block;
    }

    .show-arrow, .hide-arrow {
        display: none !important;
    }

    .nav-link-icon-container {
        width: 40px;
        max-width: 40px;
    }

    .sub-nav-link {
        margin-left: 1rem;
        padding: .5rem;
        padding-left: 2.5rem;
    }

    .title-section {
        display: none;
    }

    .nav-content-container {
        height: 100% !important;
        width: 100%;
        padding: 0 !important;
        justify-content: space-between;
    }

    #mobile-nav {
        padding: 2px 0 0 0px !important;
        margin-left: 10px;
    }

    #navbarNav {
        visibility: visible;
    }

    #sidebar-container {
        display: none !important;
    }

}


@media only screen and (max-width: 1150px) {

    .top-nav-left {
        justify-content: start;
    }
}


/*END TOP NAV CSS*/


/*START SIDE NAV CSS*/

.sidebar-nav {
    background-color: var(--cool-gray-1) !important;
    padding: 0;
    display: flex !important;
    flex-direction: column;
}

.nav-pills {
    margin-top: 2rem;
}


.nav-link {
    font-size: 16px;
    color: black;
}

.nav-link:hover {
    color: black;
}


.nav-link-container {
    display: flex;
    align-content: center;
    align-items: center;
    font-size: 1.2rem;
}

.nav-link-container > span {
    margin-left: 12px;
}

.nav-item-name {
    margin-left: .75rem;
}


.collapsed-container {
}

.expanded-container {
    margin-left: 7px;
}

#collapseNavIcon:hover, #expandNavIcon:hover {
    cursor: pointer;
}

.collapsed-nav {
    width: 5rem !important;
    transition: width .75s;
}

.expanded-nav {
    width: 210px !important;
    transition: width .75s;
    margin-left: 0px;
}

.collapsed-icons {
    font-size: 2rem;
    margin-left: 10px;
}

.expanded-icons {
    font-size: 1.75rem;
}

.nav-item:first-of-type {
    padding-top: 1rem;
}

.nav-item:last-of-type {
    padding-bottom: 1rem;
}


.sidebar-submenu {
    font-size: 16px;
}

.sidebar-submenu ::deep a {
    color: black;
    line-height: initial;
    text-decoration: none;
}

.submenu-link {
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.submenu-link:hover {
    color: black;
}

.submenu-link > span {
    padding-left: 0;
    padding-right: 0;
}

.sidebar-submenu ::deep a:hover {
    color: black;
    background-color: var(--cool-gray-1) !important;
}

.submenu-item-icon {
    margin-right: .5rem;
}

.submenu-item:hover {
    border-bottom: 2px solid var(--forvis-red);
    color: black;
}

/*.sidebar-submenu a.active > span {
    font-weight: bold;
    border-bottom: 2px solid var(--forvis-red);
}*/

.submenu-list {
    list-style: none;
    padding-left: 2.5rem;
}

#sidebar-container {
    min-height: 100vh;
    padding: 0;
    position: fixed;
    z-index: 1;
    overflow-x: hidden;
}

#sidebar-container .list-group-item {
    border-radius: 0 !important;
}

/*START: LEFT NAV TOGGLE BUTTON */
.leftNav-toggle {
    background-color: var(--forvis-red) !important;
    border-color: var(--forvis-red) !important;
    left: 20px !important;
    cursor: pointer;
}

@media only screen and (max-width: 992px) {
    .leftNav-toggle {
        display: none;
    }
}

/*END: LEFT NAV TOGGLE BUTTON*/

/* Sidebar sizes when expanded and collapsed */
.sidebar-expanded {
    min-width: 225px; /*Make sure to adjust the .nav-bottom width and content margin at bottom of this css page*/
    width: 225px;
}

.sidebar-collapsed {
    max-width: 0px;
    width: 0px;
}

.sidebar-collapsed .menu-collapsed {
    display: none !important;
}

@media only screen and (max-width: 500px) {
.navbar {
        padding: 10px;
    }

    .logo {
        display: none;
    }
}


#body-row {
    /*    display: -ms-flexbox;
    display: flex;*/
    display: block;
}

@media only screen and (max-width: 1250px){
    .app-name {
        font-size: 28px;
        margin-top: 3px;
        margin-left: 4rem;
    }

    .top-nav-left::after {
        width: 110%;
    }
}

@media only screen and (max-width: 1030px){
    .brand-logo {
        display: none;
    }

    .app-name {
        margin-left: 0;
    }

    .top-nav-left::after {
        width: 100%;
    }
}

@media (min-width: 992px) {
    .content {
        margin-left: 218px; /*Same as the width of the sidebar with extra space for scrollbar*/
    }

    .content.content-extended {
        margin-left: 0px; /*adjust this for showing icons and not totally hiding the left nav*/
    }

    .content.no-sidenav {
        margin-left: 0;
    }

    .sidebar-expanded .nav-bottom {
        width: 225px; /* Same as the width of the sidebar*/
    }
}

@media (min-width: 641px) {

    .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}


/*END SIDE NAV CSS*/


/* Menu item*/

#sidebar-container.sidebar-expanded .nav-link,
#sidebar-container.sidebar-expanded .sub-nav-link{
    padding: 7px;
    margin-left: 1rem;
    margin-right: 1rem;
    width: 100%;
    max-width: calc(100% - 2rem);
}

#sidebar-container.sidebar-expanded .sub-nav-link {
    margin-left: 1rem;
    padding-left: 2.35rem;
}

.nav-link-container > i {
    width: 15px;
}

/*.nav-link.active .nav-item-name, .sub-nav-link.active .nav-item-name {
    text-decoration: underline;
    text-underline-position: under;
    text-decoration-thickness: 2px;
}*/

.nav-link.active {
    border-radius: 5px !important;
    background-color: white;
    font-weight: bold;
    padding-left: 1rem;
}

.nav-link.active > .nav-link-icon-container > i {
    font-weight: bold;
}

.nav-link.active > .nav-link-container > i{
    font-weight: bold;
}


.nav-link .top-nav-link {
    padding: 0;
    color: black !important;
}

.nav-link:focus, .nav-link:hover, .nav-link {
    color: black !important;
}

.help-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    margin-right: 7px !important;
}

.help-icon {
    font-size: 16px;
    color: var(--forvis-red);
}

.help-text {
    font-size: 14px;
    color: var(--forvis-red);
    font-weight: bold;
}

.menu-item-active, help-item:active, .dropdown-item.active, .dropdown-item:active, .menu-item-active:hover {
    background-color: black !important;
    color: white !important;
}

.menu-item-active:focus{
    color: white;
}

.dropdown-item > i {
    width: 17px;
}

.menu-item-active > i {
    font-weight: bold;
}

#sidebar-container {
    background-color: var(--cool-gray-1) !important;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, .5);
}

#sidebar-container .list-group .list-group-item {
    color: #454545;
    cursor: pointer;
}

/* Submenu item*/
#sidebar-container .list-group .sidebar-submenu a {
    height: 45px;
    padding-left: 30px;
/*    padding-top: 10px;
*/    padding-right: 53px;
}

#sidebar-container.sidebar-expanded a {
    padding: 5px;
    padding-left: 2rem;
}

/*Pulled from navbarstyles.css*/


#body-row {
    display: block;
}
/*End navbarstyles css*/
