/* header section css **************************************************************************/

header{
    position: sticky;
    top: 0px;
    padding: 10px;
    box-shadow: 0px 4px 10px 4px rgba(0, 0, 0, 0.10);
    background-color: white;
    z-index: 99;
}

header .wrraper{
    max-width: 1280px;
    margin: auto;
    display: flex;
    justify-content: space-between;
}

.logo{
    display: flex;
}

.logo img{
    height: 50px;
}

#header-buttons{
    display: flex;
    align-items: center;
}

#header-buttons > div{
    margin-left: 10px;
}

#login-button, #profile-button{
    margin: 0px 10px;
}

.header-button{
    position: relative;
    display: flex;
    border-radius: 5px;
    cursor: pointer;
}

.header-button:hover{
    background-color: var(--lighter_warm_gray);
}

.button-selected{
    background-color: var(--lighter_warm_gray);
}

.header-button > img{
    height: 30px;
    padding: 2px;
}

#login-button{
    background-color: var(--red);
    border-radius: 5px;
}

#login-button:hover{
    background-color: var(--hover_red);
}

#login-button a{
    display: inline-block;
    color: white;
    font-size: 1.1em;
    padding: 7px 15px;
}

#language-button .dropdown-menu li{
    padding: 10px;
    font-size: 1.1em;
    text-indent: 20px;
}

#language-button .dropdown-menu hr{
    border: 1px var(--lighter_warm_gray) dashed; 
}

#language-button .dropdown-menu li:hover,
#language-button .dropdown-menu li.active{
    background-color: var(--lighter_warm_gray);
}

#notif-counter{
    padding: 1px;
    background-color: var(--hover_red);
    border-radius: 100%;
    position: absolute;
    right: 0;
    width: 10px;
    font-size: 0.6em;
    color: white;
    text-align: center;
}

#notification-button .dropdown-menu{
    width: 250px;
    max-height: 280px;
    overflow-y: auto;
}

#notification-button .dropdown-menu li{
    margin: 10px 0px;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

#notification-button .dropdown-menu li p{
    margin: 5px;
    font-size: 0.83em;
}

#notification-button .dropdown-menu li p small{
    font-size: 0.7em;
    color: gray;
}

#notification-button div[title]{
    border-radius: 5px;
}

#notification-button div[title]:hover{
    background-color: var(--lighter_warm_gray);
}

#notification-button div[title] img{
    height: 25px;
    padding: 5px;
}

#no-notification{
    text-align: center;
    margin: 30px 0px;
}

#no-notification img{
    height: 100px;
}

#no-notification h1{
    font-size: 1.1em;
    color: var(--orange);
}

#profile-button .dropdown-menu{
    width: 250px;
    font-size: 0.9em;
} 

#profile-button .dropdown-menu h1{
    font-size: 1em;
    font-weight: normal;
}

#profile-button .dropdown-menu li{
    height: 60px;
}

#profile-button .dropdown-menu li:hover{
    background-color: var(--lighter_warm_gray);
}

#profile-button .dropdown-menu li div:first-child{
    display: flex;
}

#profile-button .dropdown-menu p{
    margin:5px;
}

#profile-button .dropdown-menu small{
    font-size: 0.85em;
    color: gray;
}

#profile-button .dropdown-menu img{
    height: 50px;
}

#profile-button .dropdown-menu .image-icon-container{
    width: 42px;
    height: 42px;
    border-radius: 100%;
    overflow: hidden;
    margin-left: 4px;
    margin-right: 9px;
}

#profile-button .dropdown-menu .image-icon-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media only screen and (max-width: 800px) {

    #login-button a{
        padding: 7px 10px;
    }

    #header-buttons > div:first-child {
        margin-left: 0px;
    }

}