html, body {
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    font-size: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    display: inline;
    vertical-align: baseline;
    background: transparent;
    clear: both;
    margin: 0;
    height: 100%;
}

div {
    margin: 0;
    position: relative;
}

p {
    margin: 0;
    font-size: inherit;
    color: #505a5e;
}

em, i {
    font-style: italic;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    font-weight: 400;
    font-style: normal;
    color: #505a5e;
    margin: 0;
    line-height: 1.15;
}

h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: bold;
    /*padding-top: .6em;
  */
    /*padding-left: .2em;
  */
    position: relative;
}

h2 {
    color: #505a5e;
    font-size: 1.2rem;
    font-weight: bold;
/*    padding-bottom: 1em;*/
}

h3 {
    font-size: 1rem;
    font-weight: bold;
    color: #505a5e;
}

h4 {
    font-size: 1.25rem;
    font-weight: bold;
}

h5 {
    font-size: 1.125rem;
    font-weight: bold;
}

h6 {
    font-size: 1rem;
    font-weight: bold;
}

fieldset {
    margin-inline-start: 0;
    margin-inline-end: 0;
    padding-block-start: 0;
    padding-block-end: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
    border: none;
    min-inline-size: min-content;
}

iframe {
    border: 0;
}

legend {
    font-weight: bold;
    font-size: 1em;
    padding-bottom: .4em;
}

.main {
    position: relative;
    margin-left: 13em;
}

.main_full {
    /*all: none;*/
    margin-left: 0px;
}

.main-content-full {
    padding-left: 2em;
    padding-right: 2em;
    padding-top: 4.5em;
    padding-bottom: 3.3em;
}

.main-content-side {
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 3.3em;
    padding-top: 3.5em;
}

.settings-button {
    color: white;
    text-align: center;
    padding: .4em;
    margin: 0;
    background: #3379A4;
    border: 2px solid #3379A4;
    border-radius: 2px;
    width: 8em;
}

.sidebar_container {
    z-index: 1000000;
    display: flex;
    flex-direction: column;
    background-color: white;
    position: fixed;
    top: 0;
    width: 13em;
    bottom: 0;
    left: 0;
    font-weight: 500;
    font-size: 1em;
    opacity: 1;
    margin-top: 3em;
    -moz-box-shadow: 5px 8px 6px -6px rgba(0,0,0,.5);
    -webkit-box-shadow: 5px 8px 6px -6px rgba(0,0,0,.5);
    box-shadow: 5px 8px 6px -6px rgba(0,0,0,.5);
    -webkit-transition: opacity 1s;
   -moz-transition: opacity 1s;
   -o-transition: opacity 1s;
   transition: opacity 1s;
   border-top: 1px solid #00000026;
}

.user_title {
    font-size: .8em;
}

.page_title {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    font-size: 1.3em;
    font-weight: bold;
    background: #1D6E91;
    min-height: 6.5em;
    max-height: 6.5em;
    color: #fff;
    text-transform: uppercase;
    padding-left: .2em;
}

.page_title p {
    font-size: .8em;
    align-self: center;
    padding-bottom: 1.5em;
}

.page_title h1 {
    font-size: 1em;
    align-self: center;
    padding-bottom: .5em;
    color: white;
}

.top_bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    font-size: 1em;
    font-weight: bold;
    background: white;
    color: black;
    text-transform: uppercase;
    padding-left: .2em;
    padding-right: .5em;
    /*-moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,.5);
    box-shad*/ow: 0 8px 6px -6px rgba(0,0,0,.5);
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 10003;
    height: 3em;
    border-bottom: 1px solid #00000026;
}

.top_bar_logo {
    height: 2em;
}

.bottom_bar {
    display: flex;
    justify-content: center;
    height: 4em;
    align-items: center;
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    font-size: .8em;
    font-weight: bold;
    background: white;
    color: black;
    text-transform: uppercase;
    padding-left: .2em;
    padding-right: 3em;
    -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,.5);
    -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,.5);
    box-shadow: 0 8px 6px -6px rgba(0,0,0,.5);
    bottom: 0;
    position: fixed;
    width: 100%;
    z-index: 10001;
}

.bottom_bar a {
    color: white;
}

.title-icon-cont {
    display: flex;
    align-items: center;
    gap: 1em;
}

.title-link {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: #1a1a1a;
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";
    display: inline-block;
    padding: 0.7rem 1rem;
    border-radius: 6px;
    transition: background-color 0.3s, color 0.3s;
}

.title-link:hover,
.title-link:focus {
    /*background-color: #f0f0f0;*/
    color: #007acc;
    outline: none;
}

.title-link:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.4);
}

.top-nav-container {
    background-color: #fff;
}

.top-nav-list {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-size: .8em;
    text-decoration: none;
    color: #848181;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link-user-container {
    display: flex;
    gap: 2em;
    align-items: center;
}

.nav-link:hover,
.nav-link:focus {
    color: #333;
    outline: none;
}

.nav-link.active {
    color: #333;
    font-weight: 700;
    border-bottom: 2px solid #007BFF;
}



#footer {
    border-top: 0 !important;
}

.top_bar p {
    padding-right: 1em;
    font-size: 0.8em;
}

@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}

.notification {
    opacity: 1;
    position: fixed;
    top: 2em;
    right:50%;
    left:50%;
    transform: translate(-50%, -50%);
    width: 30em;
    height: 3em;
    background-color: #93ff93f7;
    z-index:100000000;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 8px 8px 6px -6px rgba(0,0,0,.5);
    -moz-animation: fadeOut 4s forwards;
    -webkit-animation: fadeOut 4s forwards;
    -ms-animation: fadeOut 4s forwards;
    -o-animation: fadeOut 4s forwards;
    animation-delay: 5s;
}

.nav {
    font-family: "BentonSans","Helvetica Neue","Helvetica","sans-serif";

    width: 100%;
}

.nav_selected {
    background: white;
    display: block;
    width: 100%;
    padding-left: .1em;
    padding-top: .2em;

    color: #2b2929db !important;
    -moz-box-shadow: 0px 5px 4px -6px rgba(0,0,0,.5);
    -webkit-box-shadow: 0px 5px 4px -6px rgba(0,0,0,.5);
    box-shadow: 0px 5px 4px -6px rgba(0,0,0,.5);
}

.nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}

.nav ul > li > ul {
    background: white;
    padding-left: 1em;
}

.nav li {

}

.nav a {
    text-decoration: none;
    line-height: 2rem;
    font-size: .8em;
    color: black;
    padding-left: .5em;
}

.nav a:active {
    color: #fff;
}

.nav a:hover {
    text-decoration: none;
    line-height: 2rem;
    color: #0078d4;
}

.nav-subcategory {
    padding-left: 1rem;
    background-color: #8e8e8e14;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        /*display: none;*/
    }

    .nav.show {
        display: flex;
    }

    .nav > li {
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }
}

/* menu icon */

.menu_icon_container {
    display: flex;
    width: 2.1em;
    height: 2.1em;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: #990000;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 5px;
    border: 2px solid white;
}

.menu_icon_container hover {
    border: 2px solid white;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: #38424D;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

.hidden {
    display: none;
 /*   opacity:0;
    transition:visibility 0.3s linear,opacity 0.3s linear;*/
}

.visible {
    display: block !important;
    opacity:1;
    transition:visibility 0.3s linear,opacity 0.3s linear;
}

/*ajax spinner */

#overlay {
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

/*usss table*/

/*.usss-table {
    width: 100%;
    border-bottom: 1px solid #bbb;
    border-collapse: collapse;
    margin-top: 10px auto;
}

.usss-table tr:nth-of-type(even) {
    background: #dedede;
}

.usss-table tr:nth-of-type(odd) {
    background: #fff;
}

.usss-table th {
    background: #1D6E91;
    color: white;
    font-weight: bold;
    border: 1px solid #ffffff30;
    border-collapse: collapse;
}
*/
/*.usss-table td, th {
    padding: 10px;
    text-align: left;
    font-size: .8em;
    max-width: 5.5em;
    word-wrap: break-word;
}*/



.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-container {
    display: flex;
    justify-content: space-between;
}

.invalid {
    color: red;
}

.valid {
    color: green;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    /*width: 50%;*/
}

@media only screen
  and (min-device-width: 320px)
  and (max-device-width: 480px) {
    .main-content-full {
        padding: 0;
        width: 100%;
    }

    .bottom_bar {
        font-size: .4em;
    }
}

@media (max-width: 768px) {
    .sidebar_container {
        /*display: none;
        opacity: .93;*/
    }
    .main {
        margin: 0;
    }
    .nav a {
        color:black;
    }
}
