﻿body {
    background: #F5F5F5;
    text-align: center;
    font-family: Asap;
    white-space: nowrap;
}

#header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
}

.header-search {
    margin: 10px 0;
}

#header-right {
    margin: auto;
    margin-right: 0;
}

.em-search-panel {
    margin: 10px 0;
}

.header-link {
    width: 40px;
    height: 40px;
    margin: 0 8px;
    cursor: pointer;
    background: url('../img/explore_prof.png');
    background-repeat: no-repeat;
}

.header-link-discover {
    margin-right: 15px;
    background-position:-4px -4px;
}

.header-link-profile {
    background-position: -4px -52px;
}

.header-link-automaze {
    background-position: -100px -4px;
}

.header-link-create {
    background-position: -4px -100px;
    width: 41px;
    height: 41px;
}

.header-link-home {
    background: url('../img/home.png');
    background-position: -4px -4px;
    width: 35px;
    height: 37px;    
}


@media (hover: hover) {

    .header-link-discover:hover {
        background-position: -52px -4px;
    }

    .header-link-profile:hover {
        background-position: -52px -52px;
    }

    .header-link-automaze:hover {
        background-position: -100px -52px;
    }

    .header-link-create:hover {
        background-position: -54px -100px;
    }

    .header-link-home:hover {
        background-position: -47px -4px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1399.98px) {
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1199.98px) {
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 991.98px) {
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 767.98px) {
    #header {        
        width:50%;
        margin: 0 auto;
    }

    .header-logo {
        width: 120px;
        height: 50px;
        display: block;
        background-image: url(../img/me.png);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        z-index: 0;
        margin: 0 0 0 10px;
    }

    .header-search {
        margin: 10px 0;
    }

    .em-search-panel {
        margin: 10px 0px 10px 2px;
        width: calc(100% - 122px);
        z-index: 1;
    }

    .header-link {
        margin: 0 auto;
        background-position: center;
    }

    .header-link-discover {
        background-image: url('../img/explore.svg');
    }

    .header-link-profile {
        background-image: url('../img/profile.svg');
    }

    .header-link-automaze {
        background-image: url('../img/automaze.svg');
    }

    .header-link-create {        
        background-image: url('../img/edit.svg');
    }

    .header-link-home {        
        background-image: url('../img/home.svg');
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    #header {
        width: 100%;
    }
}
