/* -- FIXES -- */

.top_menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

/* -- LAYOUT -- */

.top_menu {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.top_menu .popup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
}

.top_menu li {
    display: flex;
}

/* -- STYLING -- */

.top_menu {
    background-color: #ee1d25;
}

.top_menu .hidden_checkbox ~ .hamburger {
    background-image: url('../img/hamburger-closed.png');
}

.top_menu .hidden_checkbox ~ .hamburger:hover {
    background-image: url('../img/hamburger-closed-hover.png');
}

.top_menu .hidden_checkbox:checked ~ .hamburger {
    width: 21px;
    height: 21px;
    background-image: url('../img/hamburger-open.png');
}

.top_menu .hidden_checkbox:checked ~ .hamburger:hover {
    background-image: url('../img/hamburger-open-hover.png');
}

.top_menu .popup {
    background-color: #ee1d25;
}

.top_menu li {
}

.top_menu li > a {
    font-size: 16px;
    font-family: 'Roboto Bold';
    color: #212121;
    white-space: nowrap;
}

.top_menu li > a:hover {
    color: white;
}

/* -- SPACING -- */

.top_menu .popup {
    top: 76px;
}

.top_menu {
    padding-left: 40px;
    max-width: 900px;
}

.top_menu .hidden_checkbox ~ .hamburger {
    width: 25px;
    height: 25px;
}

.top_menu .hamburger {
    margin-left: 10px;
}

.top_menu li > a {
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

/* == BEHAVIOUR == */

/* -- LAYOUT -- */

.top_menu .hamburger {
    display: none;
}

.top_menu .hidden_checkbox {
    display: none;
}

/* == MOBILE == */

@media screen and (max-width: 900px) {
    /* -- LAYOUT -- */
    .top_menu .popup {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        align-self: flex-start;
    }
    .top_menu .popup {
        position: absolute;
        z-index: 198;
    }
    .top_menu .hidden_checkbox:checked ~ .popup {
        display: flex;
    }
    .top_menu .hamburger {
        display: inline;
    }
    .top_menu .hamburger {
        z-index: 299;
        position: relative;
    }
    .top_menu_row {
        z-index: 299;
        overflow: visible;
    }
    /* -- STYLING -- */
    .top_menu .popup {
        background-color: white;
        text-transform: uppercase;
        box-shadow: 1px 1px 2px 1px rgba(128, 128, 128, 0.1);
    }
    .top_menu li > a:hover {
        color: #ee1d25;
    }
    /* -- SPACING -- */
    .top_menu {
        padding-left: 10px;
    }
    .top_menu .popup {
        left: 0;
        top: 115px;
        padding-right: 5px;
        padding-top: 10px;
        padding-bottom: 5px;
        padding-left: 5px;
    }
}
