body {
    width: 100vw;
    overflow-x: hidden;
}

html, body, #base-container, #base-row  {
    min-height: 100vh !important;
}

.multiselect-container input {
    display: none
}

.background-color-primary {
    background-color: #033076 !important;
}

.border-color-primary {
    border-color: #033076 !important;
}

.color-primary {
    color: #033076 !important;
}

.color-white {
    color: white !important;
}

.color-purple {
    color: rgb(102, 0, 102);
}

#content {
    transition: margin 0.5s;
}

/* add .hide-during-request to the target element if you want to hide it during the htmx request, 
for example while a hx-indicator is displayed */
.htmx-request.hx-hide-during-request{
    display:none;
}
.hx-indicator{
    display:none;
}
.htmx-request .hx-indicator{
    display:inline;
}
.htmx-request.hx-indicator{
    display:inline;
}/* The CSS below is for the sidebar */
/* -------------------------------- */
#sidebar-col {
    position: relative;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    background-color: #ffffff;
    margin-left: -100%;
    z-index: 10;
}

.content-wrapper {
    overflow-y: scroll;
    height: 100%;
    border-style: none solid none none;
    border-width: 1px;
}

/* https://www.w3schools.com/howto/howto_css_hide_scrollbars.asp */
/* Hide scrollbar for Chrome, Safari and Opera */
.content-wrapper::-webkit-scrollbar {
    display: none;
  }
  
/* Hide scrollbar for IE, Edge and Firefox */
.content-wrapper {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.content-wrapper {
    overflow-y: scroll;
    height: 100%;
    border-style: none solid none none;
    border-width: 1px;
}

#arrow{
    position: absolute;
    top: 15vh;
    right: 0;
    overflow: visible;
    background-color: white;
    border-radius: 1em;
    text-align: right;
    margin-right: -.8em;
    float:right;
    z-index: 1;
}

#arrow.sidebar-open {
    transform: rotate(-180deg);
}

/* An added div where height is not 100% to add scrollbar when passing a certain height */
.sidebar .sidebar_content {
    background-color: #ffffff;
    margin: 0 2em;
    padding: 1em 0;
    overflow-y: auto;
    display:inline-block;
    direction:rtl;
}

.sidebar table, .sidebar tr, .sidebar td {
    border-collapse: collapse;
    padding: 0.6em 1em;
}

.sidebar a{
    overflow-x: hidden;
    display: block;
    transition: 0.3s;
    text-decoration: none;
    color:rgb(116, 116, 116)
}

.sidebar a:hover{
    overflow-x: hidden;
    display: block;
    transition: 0.3s;
    text-decoration: none;
    color:rgb(0, 0, 0)
}

.sidebar h1{
    color:rgb(0, 11, 161);
    font-weight: bold;
    font-size: 2em;
}

.sidebar h2{
    color:rgb(0, 0, 0);
    font-weight: bold;
    font-size: 0.9em;
}

.sidebar h3{
    padding-top:0.3em;
    color:rgb(95, 95, 95);
    font-size: 0.9em;
}#app-nav{
    min-height: 54px !important;
}

.module-menu{
    max-width: 500px !important;
}

.module-sub-text{
    font-size: 11px !important;
    color: gray;
}

/* The CSS below is for the searchbar */
/* -------------------------------- */
#search-dropdown, .search-focus {
    min-width: 50vw;
    max-width: 100vw;
    max-height: 60vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
