.header 
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    height: 50px;
    background: var(--header-color);
    position: fixed;
    top: 0;
    z-index: 250;
    width: 100%;

}
  
.header .logo 
{
    display:flex;
    align-items: center;
    margin-left: var(--header-margin)
}

.header .logo img
{
    height: 30px;
    object-fit: contain;
}

.header .tab-container 
{
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    width: 100%;
    padding-right: var(--header-margin);
}

/* .header .tab-container :last-child
{
    margin-right: var(--header-margin);
} */

.no_jobs
{
    /* color: var( --light-grey-font); */
    background-color: var(--colour-company);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 12px;
    width: 12px;
    border-radius: 20px;
    font-size: 9px;
    top: -5px;
    right: 2px;
    padding-right: 1px;

}

.header .tab-container .login
{
    display: flex;
    align-content: center;
    padding: 0px;
    /* min-width: 98px; */
    /* border: 3px solid red; */
    padding-right: 15px;
    /* padding-right: var(--header-margin); */

}
.header .tab-container .tab 
{
    display:flex;
    align-items: center;
    justify-content: center;
    padding-left: 2vw;
    color: var(--header-light-grey);
    font-size: var(--header-font-size);
    text-decoration: none;
    max-width:220px;
}

.loggedIn-details {
    display:flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    flex-direction: column;
    color: var(--header-light-grey);
    font-size: var(--header-font-size);
    text-decoration: none;
    max-width:220px;
    max-height: 50px;
}

.loggedIn-cloud-details {
    display:flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    flex-direction: column;
    color: var(--header-light-grey);
    font-size: var(--header-font-size);
    text-decoration: none;
    max-width:220px;
    max-height: 50px;
}

.header-username {
    display: flex;
    justify-content: center;
    text-align: center;
    font-size: 14px;
}

.header-company {
    display: flex;
    font-size: 11px;
    color: rgb(142, 141, 141);
}

.tab-container .tab:hover
{
    color: var(--colour-offwhite);  
    /* color: var(--colour-white);   */
    /* color: rgb(133, 133, 133); */
}

.tab-container .tab.active
{
    color: white;
}

.logged_in_icon 
{
    padding: 5px;
}

.search-login
{
    width: 30px;
    float: right;
    display:flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
}

.tab-container-div  {
    display: flex;
    justify-content: flex-end;
}

.account {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding-right: 20px;
}

.account img {
    width: 12px;
}

.website-tabs {
    display: flex;
    justify-content: flex-end;
    margin-left: auto;
}

.account img.active {
    color: white;
}
.header .account .name
{
    color: white;
    font-size: 20px;
    text-align: right;
}

.header .account .popup
{
    position: absolute;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 2px 2px black;
    right: 10px;
    top:60px;
    font-size: 10px;
    width: 250px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid gray;
    background-color: white;
}

.popup .container
{
    padding:10px;
}

.header .account .popup .settings
{
    text-decoration: none;
    color: blue;
    font-size: 16px;
    display: block;
    text-align: right;
    padding: 5px 5px 2px 5px;
}

.header .account .popup .email
{
    color: black;
    display: block;
    font-size: 16px;
    padding: 5px 5px 2px 5px;
    text-align: right;
}

.header .account:hover .popup
{
    visibility: visible;
    animation-name: popup_anim;
    animation-duration: 1s;
}

@keyframes popup_anim {
0% {opacity: 0; top:40px;}
100%{opacity: 1; top:60px;}
}

.header .account .company
{
    color: grey;
    font-size: 16px;
    text-align: right;
}

.header-dropdown{
    display: none;
}

.log-in-out {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5px;
}

.log-in-out input {
    display: flex;
    justify-content: center;
    margin: auto;
    border: none;
    outline: none;
    cursor: pointer;
    /* background-color: red; */
    /* background-color: var(--header-drop-down-color); */
    /* background-color: var(--header-color); */
    background-color: rgb(51, 51, 51);
    color: var(--header-light-grey);
    font-size: 14px;
}

/* .log-in-out input :hover 
{
    background-color: gray;
    color: darkgray;
} */


#dropdown-cloud-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 240px;
    background-color: rgb(51, 51, 51);
    top: 49px;
    right: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#dropdown-cloud-menu a {
    color: var(--header-light-grey);
    text-decoration: none;
}

.dropdown-cloud-item {
    padding-bottom: 5px;
}

.dropdown-cloud-item a {
    font-size: 12px;
}

/* #loginIcon img:hover{
    background: url('/images/profile_icon_darkgrey.png');
} */

@media  (max-width: 900px){
    .header .tab-container 
    {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        margin-left: auto;
        padding-right: 24px;
    }

    .tab-container-div {
        display: none;
    }

    .header-dropdown {
        padding-right: var(--header-margin);
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .dropdown-menu-icon button{
        border: none;
        color: white;
        background-color:  rgb(51, 51, 51);
    }    

    .dropdown-menu-icon {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        flex-direction: column;
 
    }

    #dropdown-menu 
    {
        position: absolute;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 198px;
        background-color: var(--header-drop-down-color);
        top: 49px;
        right: 0px;
        box-shadow: 2px 2px 3px;
        padding-top: 5px;
        padding-bottom: 5px;

    }

    #dropdown-menu a {
        color: var(--header-light-grey);
        text-decoration: none;
    }

    .dropdown-item {
        padding-top: 10px;
        padding-bottom: 10px;
        width: 100%;
        text-align: center;
        /* background-color: var(--header-drop-down-color); */
    }
    .dropdown-item input{
        background-color: var(--header-drop-down-color);
    }

    .dropdown-item:hover 
    {
        background-color: gray;
        color: darkgray;
    }
    .dropdown-item:hover >*
    {
        background-color: gray;
        color: darkgray;
    }


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

    .menu-btn {
        /* position: relative; */
        display: flex;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        cursor: pointer;
        transition: all .5s ease-in-out;
        border: 3 solid white;
    }

    .menu-btn-burger {
        width: 30px;
        height: 2px;
        background: white;
        border-radius: 5px;
        transition: all .5s ease-in-out;
    }

    .menu-btn-burger::before,
    .menu-btn-burger::after {
        content: '';
        position: absolute;
        width: 30px;
        height: 2px;
        background: white;
        border-radius: 5px;
        transition: all .5s ease-in-out;
    }

    .menu-btn-burger::before {
        transform: translateY(-8px);
    }

    .menu-btn-burger::after {
        transform: translateY(8px);
    }

    .menu-btn.open .menu-btn-burger {
        transform: translateX(-35px);
        background: transparent;
    } 

    .menu-btn.open .menu-btn-burger:before {
        transform: rotate(45deg) translate(25px, -25px);
    }

    .menu-btn.open .menu-btn-burger:after {
        transform: rotate(-45deg) translate(25px, 25px);
    }

    .account {
        padding-bottom: 5px;
    }

    .loggedIn-details {
        display:flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        flex-direction: column;
        color: var(--header-light-grey);
        font-size: var(--header-font-size);
        text-decoration: none;
        max-width:220px;
        max-height: 50px;
    }

    .header-username {
        display: flex;
        justify-content: center;
        text-align: center;
        font-size: 14px;
    }
}


@media (min-width:1900px){
    .tab-container {
        margin-right: 1vw;
    }
}