body {
    background-color: var(--bs-primary-fill-weak);
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

.main-content main{
    margin-top: 67px;
}

main{
    padding-bottom: 40px;
}

.devColourBand, .devColourBand a{
    background-color: var(--bs-primary-text);
    color: var(--bs-neutral-fill);
    z-index: 1030;
}
.testColourBand, .testColourBand a{
    background-color: var(--bs-accent-teal);
    color: var(--bs-neutral-fill);
    z-index: 1030;
}
.uatColourBand, .uatColourBand a{
    background-color:  var(--bs-accent-brand-fill);
    color: var(--bs-neutral-fill);
    z-index: 1030;
}
.trainingColourBand, .trainingColourBand a{
    background-color: var(--bs-accent-yellow);
    color: var(--bs-neutral-text);
    z-index: 1030;
}
.stagingColourBand, .stagingColourBand a{
    background-color: var(--bs-warning-fill-strong);
    color: var(--bs-neutral-fill);
    z-index: 1030;
}

.switchEnv{
    text-decoration: underline;
}

.mobile-menu {
    height: 56px;
    background-color: white;
}

.sideBar {
    width: max-content;
    min-width: max-content;
    position: fixed;
    z-index: 1100;
    vertical-align: top;
    background: white;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 0rem 0.75rem;
    top: 0;
    transform: translateX(-250px);
    transition: transform 225ms cubic-bezier(0, 0, .2, 1);
    border-right: 1px solid var(--bs-primary-border) ;
}

.sideBar--open {
    transform: translateX(0);
}

nav ul {
    padding-left: 0 !important;
    margin-bottom: 0;
}

.sideBarLogin {
    width: min-content;
    min-width: min-content;
    background: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0rem 0.75rem;
}

.between-padding {
    padding: 0.75rem;
}

.sideBarItem {
    padding: 0.75rem;
    margin-bottom: 2px;
    width: 226px;
}

.sideBarItem.active {
    background-color: var(--bs-primary-fill-medium);
}

.sideBarItem:active {
    transform: scale(0.99);
}

.sideBar nav {
    margin-bottom: 0.5rem;
}

.logo {
    padding: 1.5rem 0.5rem;
    margin-bottom: 0.5rem;
}

.sideBarItemSlide {
    height: 26px;
}

.item-width {
    display: inline;
}

.envMobile {
    display: none;
}

@media (hover: hover) and (pointer: fine) {
    .sideBarItem:hover {
        width: 226px;
        overflow: visible;
        background-color: var(--bs-primary-fill-medium);
    }

    .sideBarItem:hover svg path {
        fill: var(--bs-primary-fill);
    }
}

@media (min-width: 601px) {
    .logo {
        padding: 1.5rem 1rem;
    }

    .hoverable {
        width: 73px;
        min-width: 73px;
        position: relative;
    }

    .sideBar {
        width: 73px;
        min-width: 73px;
        top: initial;
        transform: translateX(0);
        transition: width 0.5s;
    }

    .sideBarItemSlide span, .envDesktop {
        display: none;
        visibility: hidden;
        transition: visibility 0.2s ease-out;
    }

    .envMobile {
        display: block;
        visibility: visible;
        transition: visibility 0.2s ease-in;
    }

    .close-button {
        display: none !important;
    }
}

@media (hover: hover) and (pointer: fine) and (min-width: 601px) and (max-width: 905px) {
    .hoverable:hover .smallLogo {
        display: none !important;
    }

    .hoverable:hover .bigLogo {
        display: block !important;
    }

    .hoverable:hover .sideBar {
        width: 250px;
        transition: all 0.5s;
    }

    .hoverable:hover .sideBarItem {
        width: 226px;
        transition: all 0.5s;
    }

    .hoverable:hover .sideBarItemSlide span , .hoverable:hover .envDesktop {
        width: 226px;
        height: auto;
        visibility: visible;
        display: block;
        animation: show 0.5s forwards;
        transition: width 0.1s;
    }

    .sidBarBadge {
        width: auto !important;
    }

    .hoverable:hover .envMobile {
        visibility: hidden;
        display: none;
    }
}

@keyframes show {
    0% {
        visibility: hidden;
    }
    15% {
        visibility: hidden;
    }
    30% {
        visibility: show;
    }
}

@keyframes grow {
    from {
        width: 90%;
    }
    to {
        width: 100%;
    }
}


@media (min-width: 905px) {
    .hoverable {
        width: min-content;
        min-width: min-content;
    }

    .sideBar {
        position: initial;
        z-index: 0;
        width: min-content;
        min-width: min-content;
        transform: translateX(0);
    }

    .sideBarItem {
        width: 226px;
    }

    .sideBarItemSlide span, .envDesktop {
        visibility: visible;
        display: block;
    }

    .envMobile{
        visibility: hidden;
        display: none;
    }

    .smallLogo {
        display: none !important;
    }

    .bigLogo {
        display: block !important;
    }
}

li {
    list-style: none;
}

.rotated{
    writing-mode: tb-rl;
    transform: rotate(-180deg);
}

.main-content {
    overflow: auto;
    width: 100%;
    height: 100vh;
}

.profileIcon{
    color: #FFFFFF;
    background-color: var(--bs-primary-text);
}

.profileIcon:hover, .profileIcon:focus{
    color: #FFFFFF;
    background-color: var(--bs-primary-border-focus)!important;
}

.dropdown-toggle {
    height: 40px;
    width: 40px;
    margin-top: auto;
    margin-bottom: auto;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
}

.dropdown-toggle::after {
    content: none;
    border: 0;
    vertical-align: middle
}

.bodyContent {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

.navBarTop {
    margin-left: 251px;
    padding-bottom: 16px;
    background-color: var(--bs-primary-fill-weak);
}

.dropdown-menu li {
    padding: 0 8px;
}

.menuItemHeader{
    padding: 8px 10px;
}

.menuItemHeaderItem:hover{
    background-color: var(--bs-primary-fill-weak) !important;
    border-radius: 8px;
}
.dropdown-item:hover{
    background-color: var(--bs-primary-fill-weak) !important;
}

.menuItemHr{
    background-color: var(--bs-primary-border) !important;
    margin: 4px 0;
}
