*{
margin: 0;
padding: 0;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
box-sizing: border-box;
}
html{
    height: 100%;
}
body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.profile{
    border-radius: 0 0 5px 5px;
    margin-left: 50px;
    border-color: white;
}
.active_page {
  position: relative;
  color: #3b71dc !important;
}

.active_page::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 8px;
  height: 2px;
  background-color: rgba(59, 113, 220, 0.3); /* lighter blue */
  border-radius: 1px;
}



.dim_screen,
.dim_screen_form {
    width: 100%;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1030; /* below Bootstrap modal backdrop and modal */
}

.dim_screen.active {
  opacity: 0.6;
  pointer-events: auto;
}

header{ 
    background: #fff;
    color: #fcfcfc;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 600;
    padding-top: 40px;
    margin-bottom: 100px;
   
}
nav{ 
    display: flex!important;
    align-items: center;
    justify-content: space-between;
}
nav .logo{
    margin-left: 9px;
    width: 160px;
}

li{
    display: inline-block!important;
    list-style: none;
}

li a img{
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    left: 2px;    
}
li a{
    position: relative;
    display: inline-block;
    padding: 18px;
    color: grey!important;
    font-size: 18px;
    transition: .7s;
}
.profiile_picture_on_menu{
    padding-left: 1.8em;
}
li a:hover{
   color:#3b71dc!important;
}

nav .account_div{
    margin-right: 7px;
    
    /* background-color: #fa8f8f; */
}
a{
    text-decoration: none!important;
    text-align: center;
}

.logout{    
    /* background-color: red;  */
    padding: 0; 
/* padding-top: -45px; */
}

.logout{
    padding: 0;
}
nav .account_div li a:hover{
    background-color: white;
    opacity: .7;
    color: #fcfcfc;
    border-radius: 3px;
}
.logout svg path{
    fill: #fa8f8f;
}
.account_div div:hover{
    background:red!important;
}


.menu_icon{
    display: none;
    position: absolute;
    width: 35px;
    height: 35px;
    top: 4px;
    right: 7px;
    z-index: 4;
}


.menu_icon span{
display: block;
position: absolute;
margin: auto;
border-radius: 8px;
right: 0;
left: 0;
width: 30px;
height: 2px;
background-color: grey;
transition: .5s;
}

.menu_icon .topLine{
    top: 6px; 
}
.menu_icon .middleLine{
    top: 16px; 
}
.menu_icon .bottomLine{
    top: 26px; 
}



.drop_down, .drop_down2{
    position: relative;
    z-index: 8;
}
.drop_down a svg{
    position: absolute;
    top: 9px;
    right: -.5em;
    transition: .5s;
}
.drop_down div{
    position: absolute;
    display: none;
    background-color: #001133;
    width: 190px;
    opacity: .9;
}
.drop_down2 div{
    position: absolute;
    display: none;
    background-color: #001133;
    width: auto;
    /* padding-top: 0px!important; */
    opacity: .9;
}
.drop_down a{
    display: block;
    padding-right: 32px;
}
.drop_down2 div a{
    display: block; 
    padding: 12px 2px 9px 2px;
    /* text-align: left; */
    font-size: 13px;
}
.drop_down:hover div, .drop_down2:hover div{
    display: block;
}
.drop_down:hover svg{
    transform: rotate(180deg);
}

@media (max-width: 700px) {    
    header{
        height: 50px;
        position: relative;
        /* z-index: 4; */
    }
    nav .logo{
    margin-top: 0!important;
    width: 100px;
}
.account_div{
    margin-top:10px!important;
}
nav .logo {
        margin-bottom: 3px !important;
    }

header{ 
    color: #fcfcfc;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 30;
}
   ul {
    background-color: #fdfbfb;
    position: absolute !important;
    width: 80%;
    height: 100vh;
    top: 45px;
    left: -57em;
    transition: 0.5s;
    z-index:  9999; /* very high to come above all */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* optional: for elevation effect */
}

    li{
        display: block!important;
        background-color: none;
    }
    li a{
        display: block!important;
    }

    nav .account_div{
        margin: auto;
       
    }
    nav .account_div a{
        display: inline-block!important;
        /* background-color: red; */
        padding-top: .1em;
        
    }
    .menu_icon{
        display: block;
    }
    .login_link{
        margin-right:4.5em!important;
    }

}
@media (max-width: 700px) {
  header {
    padding-top: 0 !important;
    margin-top: 48px; /* Height of your top bar */
    z-index: 999; /* Make sure it's above content */
  }
}


