
.unfolded-content {
    width: 100%;
}

    .unfolded-content .folding-content {
        display: block;
    }

.menu-item:hover,
.close-unfolded-content:hover {
    cursor: pointer;
}
/* Stuff to make the demo look nice */
.folding-content {
    padding-left: 10px;
    padding-right: 15px;
}

#menu-container {
    width: 100%;
    min-height: 100%;
    background: #f3f3f3;
    border: 20px solid #fff;
}

.folding-menu {
    /* remove inline-block extra spacing */
    font-size: 0;
    padding: 0;
    margin-top: 15px;
    padding: 0px 0px;
}

    .folding-menu li {
        list-style-type: none;
        position: relative;
    }

        .folding-menu li img {
            height: 250px;
            /* max-width: 100%; */
            transform: translate(-50%, -50%);
            top: 50%;
            left: 50%;
            position: relative;
        }

.menu-item a {
    /*display:block;
    border: 1px solid #e1e1e1;
    overflow: hidden;*/
    display: block;
    border: 1px solid #e1e1e1;
    overflow: hidden;
    max-width: 225px;
    height: 250px;
}

.menu-item img {
    transition: ease all 0.3s;
}

.menu-item:hover img {
    /*transform: scale(1.02);*/
    transform: translate(-50%, -50%) scale(1.02);
}

.menu-item {
    text-align: center;
    display: inline-block;
    margin: 30px 26px 0px;
    transition: background 0.3s;
    font-size: 15px;
    vertical-align: top;
}

    .menu-item:after {
        content: '';
        border-top: 0 solid #e6e6e6;
    }

.unfolded-content {
    border-bottom: 5px solid #1b9c95;
    height: 200px;
    overflow-y: scroll;
    box-shadow: 0px 10px 12px -10px #000;
    font-size: 14px;
    background: #f5f5f5;
    padding: 20px 50px;
    position: relative;
    margin: 0;
}

.active-item:hover:after {
    border-top: 40px solid #e6e6e6;
}

.close-unfolded-content {
    position: absolute;
    top: 20px;
    right: 20px;
    height: 20px;
    width: 20px;
    text-align: center;
    background: #fff;
    transition: color 0.3s, background 0.3s;
}

    .close-unfolded-content:hover {
        color: #fff;
        background: #444;
    }

.folding-content h3 {
    color: #000;
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: 500;
}

.product-details h4 {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-details ul {
    padding-left: 20px;
}

    .product-details ul li {
        font-size: 14px;
        color: #000;
        list-style: disc;
    }

.product-details .product-option {
    font-size: 15px;
    margin-bottom: 20px;
}

.product-details p {
    font-size: 14px;
    color: #000;
}

.folding-menu li.mg-row-open:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 5px;
    background: -moz-linear-gradient(to right, rgba(27,159,148,1) 0%, rgba(49,109,179,1) 100%);
    background: -webkit-linear-gradient(to right, rgba(27,159,148,1) 0%, rgba(49,109,179,1) 100%);
    background: -o-linear-gradient(to right, rgba(27,159,148,1) 0%, rgba(49,109,179,1) 100%);
    background: -ms-linear-gradient(to right, rgba(27,159,148,1) 0%, rgba(49,109,179,1) 100%);
    background: linear-gradient(to right, rgba(27,159,148,1) 0%, rgba(49,109,179,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b9f94', endColorstr='#316db3', GradientType=1 );
    transition: ease all 0.3s;
    left: 0;
    bottom: 0;
    z-index: 1;
}

.unfolded-content::-webkit-scrollbar {
    width: 6px;
}

.unfolded-content::-webkit-scrollbar-track {
    background: transparent;
}

.unfolded-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

@media (max-width: 768px) {
    .menu-item {
        margin: 30px 1% 0px;
        /*width: 48%;*/
    }

        .menu-item img {
            width: 100%;
        }

    .unfolded-content {
        margin: 0px 0%;
        width: 100%;
    }

        .unfolded-content .product-details {
            margin-bottom: 20px;
        }

    .folding-menu {
        text-align: center;
    }
}

@media (max-width: 1200px) {
    .menu-item {
        margin: 30px 2px 0px;
        width: 32%;
    }

        .menu-item a {
            margin: 0 auto;
        }

    .folding-menu {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .folding-menu .menu-item img {
        /*width: 100%;
    height: 200px;*/
    }
}

@media (max-width: 569px) {
    .menu-item a {
        width: 100%;
        max-width: 100%;
    }

    .menu-item {
        width: 100%;
    }

        .menu-item img {
            width: auto;
            display: block;
        }

    .mg-target-open {
        width: 94% !important;
    }
}

body.mg-space-multiple {
    background-color: #fff;
}

.container .products-container:not(:first-child) {
    margin-top: 50px;
}

.mg-rows {
    position: relative;
}

.mg-trigger {
    cursor: pointer;
}

.mg-space {
    display: none;
    position: relative;
    width: 100%;
    float: left;
    height: auto !important;
    min-height: 245px;
}

.mg-target {
    display: none;
}

.mg-target-open {
    position: absolute;
    top: 0;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    width: 1110px;
    max-width: 100%;
}

.mg-indicator {
    border-bottom: 10px solid #222;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    height: 0;
    position: absolute;
    top: 0;
    width: 0;
    display: none;
}

.mg-close {
    display: none;
    background: url(data:image/gif;base64,R0lGODlhFAAUAJEAAE1NTf///////wAAACH5BAEHAAIALAAAAAAUABQAAAIzBISpK+YMm5Enpodw1HlCfnkKOIqU1VXk55goVb2hi7Y0q95lfG70uurNaqLgTviyyUoFADs=) no-repeat center center;
    cursor: pointer;
    height: 30px;
    padding: 7px;
    position: absolute;
    right: 40px;
    top: 10px;
    width: 30px;
    z-index: 2;
}

    .mg-close:hover {
        opacity: .5;
    }

.mg-row {
    margin-bottom: 0 !important;
}
