﻿/* Primary Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    font-size: 1em;
    color: #333;
}

h1 {
    font-size: 1.6em;
}

em {
    font-style: normal;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout */
.s-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.s-layout__content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    /*background: #f1f1f159;*/
}

/* Sidebar */
.s-sidebar__trigger {
    z-index: 2;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 4em;*/
    background: white;
}

    .s-sidebar__trigger > i {
        display: inline-block;
        margin: 1.5em 0 0 1.5em;
        color: #ff9800;
    }

.s-sidebar__nav {
    position: fixed;
    top: 0;
    left: -15em;
    overflow: hidden;
    transition: all 0.5s ease;
    width: 11em;
    height: 100%;
    background: #f65f01;
    color: rgba(255, 255, 255, 0.7);
}

    .s-sidebar__nav:hover,
    .s-sidebar__nav:focus,
    .s-sidebar__trigger:focus + .s-sidebar__nav,
    .s-sidebar__trigger:hover + .s-sidebar__nav {
        left: 0;
    }

    .s-sidebar__nav ul {
        position: absolute;
        top: 4.7em;
        left: 0;
        margin: 0;
        padding: 0;
        width: 6em;
    }

        .s-sidebar__nav ul li {
            width: 100%;
            height: 5em;
        }

.s-sidebar__nav-link {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    color: white !important;
}

    .s-sidebar__nav-link span {
        position: relative;
        margin-top: 50px;
        display: block;
        width: 100%;
        /* display: block; */
        /* left: 2em; */
        text-align: center;
        transform: translateY(-40%);
    }

    .s-sidebar__nav-link:hover {
        /*background: #4d6276;*/
    }

    .s-sidebar__nav-link > i {
        position: absolute;
        top: 0;
        left: 0;
        display: inline-block;
        width: 6em;
        height: 4em;
    }

        .s-sidebar__nav-link > i::before {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }

.content_wrapper {
    margin-left: 15em;
    margin-right: 1em;
    width: 100%;
    height: 100%;
}

.content_body {
    margin-top: 2em;
}

.restaurant_container {
    margin-bottom: 1em;
    margin-top: 6em;
    /*display: flex;*/
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
}
.display_none{
    display:none;
}
.display_block{
    display: block;
}

.restaurant_container_box {
    /*box-shadow: 0px 5px 20px 0px rgb(69 67 96 / 10%);*/
    width: 77%;
}

.img_li {
    background: #f1f1f1;
    display: flex;
    justify-content: center;
}
.nav_img {
    width: 80%;
    padding: 10px;
}
.page_title{
    display: none;
}

/*form Mobile Menu*/
.mobile_menuWrapper {
    position: fixed;
    width: 100%;
    bottom: 0;
    height: 55px;
    display: grid;
    transition: all .3s;
    grid-template-columns: 18fr 18fr 18fr 18fr;
    justify-content: space-around;
    text-align: center;
    font-weight: 600;
    background: #fff;
    font-size: 12px;
    line-height: 10px;
    padding-top: 3px;
    background: #f65f01;
}

.mobile_menu {
    cursor: pointer;
    width: 100%;
    height: 100%;
}

    .mobile_menu :hover {
    color: black !important;
    }

.mobile_menuChild {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: white;
    text-decoration: none;
}

    .mobile_menuChild > i {
        height: 20px;
        width: 20px;
        margin-bottom: 5px;
    }
.mobile_menuWrapper {
    display: none;
}

@media (max-width: 1098px) {
    .content_wrapper {
        margin-left: 8em;
    }
    .img_li {
        justify-content: unset !important;
    }
    .nav_img {
        width: 55px !important;
    }
    .restaurant_container{
        width: 95%;
    }
}

/* Mobile First */
@media (min-width: 42em) {
    .s-layout__content__margin {
        margin-left: 4em;
    }

    /* Sidebar */
    .s-sidebar__trigger {
        width: 6.03em;
        
    }

    .s-sidebar__nav {
        width: 6em;
        left: 0;
        overflow-y: scroll;
    }

        .s-sidebar__nav:hover,
        .s-sidebar__nav:focus,
        .s-sidebar__trigger:hover + .s-sidebar__nav,
        .s-sidebar__trigger:focus + .s-sidebar__nav {
            width: 6em;
        }
        .s-sidebar__nav::-webkit-scrollbar {
            width: 5px;
        }
        .s-sidebar__nav li:last-child{
            margin-bottom: 5em;
        }
}

@media (max-width: 672px) {
    .mobile_menuWrapper{
        display: flex;
    }
    .content_wrapper {
        margin: 0;
    }

    .restaurant_container {
        margin-top: 0px;
        width: 100%;
    }
    .s-sidebar__trigger{
        width: 100%;
        display: flex;
    }
    .page_title {
        display: block;
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 11px;
    }
    #s-layout__content_h1{
        display: none !important;
    }
    .content_body{
        margin-top: 4em;
    }
    .s-sidebar__nav{
        display: none;
    }
}
