div#main {
    background-color: #EEE;
}

div.container {
    margin-bottom: 20px;
}


.hash-tag-header {
    position: relative;
    font-size: 1.5em;
    font-weight: bold;
    padding-left: 35px;
    color: #ff7000;
}
.hash-tag-header:before{
    content: '';
    background-image: url(../images/icons/navigation@2x.png);
    background-size: 22px;
    background-repeat: no-repeat;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 10px;
    width: 22px;
    height: 22px;
}

.remove-ht-btn {
    position: absolute;
    width: 20px;
    height: 20px;
    top: 6px;
    right: 15px;
    opacity: 0.7;
    cursor: pointer;
}

.remove-ht-btn:hover {
    opacity: 1;
}

.search-box, .filter-box {
    background-color: #FFF;
    padding: 20px;
    margin-bottom: 20px;
}

.search-box, .filter-box {
}

.filter-header {
    margin-bottom: 15px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    color: #ff7000;
}

.restaurant-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.r-info {
    position: relative;
    display: block;
    min-height: 160px;
    padding: 10px;
}

.restaurant-image {
    position: relative;
    background-color: #FFF;
}

.restaurant-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.r-name {
    color: #ff7000;
    font-weight: bold;
    font-size: 1.5em;
    margin-bottom: 6px;
    cursor: pointer;
    padding-right: 65px;
}

.r-address {
    margin-bottom: 10px;
    padding-right: 65px;
}

.r-district {
    display: none;
}

.r-info-row .r-cuisine, .r-info-row .r-price, .r-info-row .r-op-time {
    display: inline-block;
    vertical-align: top;
}

.r-info-row .r-cuisine, .r-info-row .r-price {
    width: 30%;
}

.r-info-row .r-op-time {
    width: 40%;
}

.r-address, .r-cuisine, .r-op-time, .r-price {
    color: #003588;
}

.timeslot-wp-text {
    color: #ff7000;
    font-style: italic;
}

.r-info-row {
    margin-bottom: 5px;
}

span.info-label {
    background-color: #2273A2;
    color: #ffffff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    display: inline-block;
    -webkit-border-radius: 25%;
    -moz-border-radius: 25%;
    border-radius: 25%;
}

span.info-value {
    color: #8c8c8c;
}

.main-info-wrapper {
    position: absolute;
    padding: 5px 10px;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    background: -webkit-linear-gradient(transparent, rgba(0,0,0,0.6)); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(transparent,  rgba(0,0,0,0.6)); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(transparent,  rgba(0,0,0,0.6)); /* For Firefox 3.6 to 15 */
    background: linear-gradient(transparent,  rgba(0,0,0,0.6));
    width: 100%;
}

.item-restaurant-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 1px 1px 1px #000;
    overflow: hidden;
}

.item-district {
    font-size: 1em;
    color: #ffffff;
    text-shadow: 1px 1px 1px #000;
}

.timeslot-ui-wrapper {
    position: relative;
    max-width: 280px;
    min-height: 30px;
}

.timeslots-wrapper {
    padding: 0 15px 0 15px;
    /*white-space: nowrap;*/
}

.slot-previous-btn, .slot-next-btn {
    position: absolute;
    top: 13px;
    font-size: 2em;
    color: #ff7000;
    cursor: pointer;
}

.slot-action {
    display: inline-block;
    width: 20px;
    height: 30px;
    background-repeat: no-repeat;
    background-size: 20px 30px;
}

.slot-action.slot-action-previous {
    background-image: url(../images/icons/btnorangeleft@2x.png);
}

.slot-action.slot-action-next {
    background-image: url(../images/icons/btnorangeright@2x.png);
}

.slick-disabled {
    opacity: 0.3;
    cursor: auto;
}

.slot-previous-btn {
    left: -8px;
}

.slot-next-btn {
    right: -8px;
}


/*.promotion-label {*/
    /*position: absolute;*/
    /*padding: 1px 2px;*/
    /*background-color: #e43535;*/
    /*color: #FFF;*/
    /*font-weight: bold;*/
    /*font-size: 0.8em;*/
    /*top: -12px;*/
    /*right: -5px;*/
    /*border: 1px solid #EEE;*/
/*}*/

/*
    Search page area
*/
.search-page-wrapper {
    position: relative;
    margin-top: 20px;
    padding: 0px;
}

.filter-outer-wrapper {
    position: relative;
    height: 100%;
    width: 250px;
    float: left;
}

.filter-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 10px 15px;
}

.filter-wrapper .actions {
    /*display: none;*/
    background-color: #ff7000;
}

.filter-wrapper .actions li a {
    user-select: none;
    color: #ffffff;
}

.filter-wrapper .actions li a.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.filter-label {
    font-weight: bold;
}

.filter-item.filter-range-item {
    padding: 0 5px;
}

.filter-item .checkbox {
    margin-top: 0;
    margin-bottom: 5px;
    padding-left: 5px;
}

.checkbox.sub-checkbox {
    padding-left: 20px;
}

.search-result-wrapper {
    padding-top: 10px;
    padding-left: 265px;
}

.search-result-container {
    position: relative;
}

div#restaurant_results {
    /*min-height: 500px;*/
}

div#empty_result_wrapper {
    display: none;
}

.sorting-wrapper {
    background-color: #FFF;
    height: 50px;
    margin-bottom: 20px;
    padding: 0;
    white-space: nowrap;
}

.sorting-wrapper .sorting-item {
    display: inline-block;
    width: 33.33%;
    color: #ff7000;
    text-align: center;
    font-size: 1.4em;
    line-height: 50px;
    font-weight: bold;
}

.sorting-wrapper .sorting-item.disabled {

}

.sorting-wrapper .sorting-item span:hover {
    color: #0a3b5d;
}

.sorting-wrapper .sorting-item span, .sorting-item:after {
    cursor: pointer;
    user-select: none;
}

.sorting-item:after {
    position: relative;
    top: 3px;
    left: 5px;
}

.sorting-item.asc-order, .sorting-item.desc-order {
    color: #0a3b5d;
}

.sorting-item.asc-order:after {
    content: url(../images/icons/icnsorting_asc.png);
}

.sorting-item.desc-order:after {
    content:url(../images/icons/icnsorting_desc.png);;
}

.result-item-wrapper {
    position: relative;
    background-color: #FFF;
    margin-bottom: 15px;
    /*border: 1px solid #DDD;*/
}

.restaurant-main-info {
    margin-left: 260px;
    margin-bottom: 5px;
    position: relative;
}

.result-item-wrapper.has_benefit .restaurant-main-info {
    padding-bottom: 36px;
}

.result-item-wrapper .restaurant-image {

}

.result-item-wrapper .image-and-main-info .restaurant-features {
    position: absolute;
    display: flex;
    bottom: 0;
    right: 0;
    padding: 0;
    flex-flow: column nowrap;
}

.result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature {
    background: #f37021;
    padding: 0.3em 0.5em 0.3em 32px;
    color: #FFF;
    -webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;
    font-size: 0.8em;
    position: relative;
}

.result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature:not(:last-child) {
    margin-bottom: 0.3em;
}

.result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature i {
    position: absolute;
    left: 3px;
    height: 24px;
    width: 24px;
    top: 50%;
    -webkit-transform: translateY(-50%);-moz-transform: translateY(-50%);-ms-transform: translateY(-50%);-o-transform: translateY(-50%);transform: translateY(-50%);
}

.result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature.restaurant-reservable i {
    
    background: url('../../../images/icons/icn_reserve_plate_w.png') transparent no-repeat 0% 50%;
    -webkit-background-size: contain;background-size: contain;
}

.result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature.restaurant-has-vr i {

    background: url('../../../images/icons/icn_cube_w.png') transparent no-repeat 0% 50%;
    -webkit-background-size: contain;background-size: contain;
}

.restaurant-main-info .r-benefit {
    height: 32px;
    margin-bottom: -32px ;
    width: 100%;
    font-size: 1.05em;
    vertical-align: middle;
    padding-left: 45px;
    color: #FFF;
    background: url('../images/icons/jit_offer_icon.png') no-repeat 0 50%;
    background-size: contain;

}

.restaurant-main-info .r-benefit .r-benefit-name {
    line-height: 32px;
    padding: 0 1em;
    width: 100%;
    background: #f37021;
    border-radius: 0 20px 20px 0;
    display: block;
    text-overflow:ellipsis;
    overflow: hidden;
    white-space:nowrap;
}

.restaurant-name {
    font-size: 1.5em;
    margin-bottom: 5px;
}

.result-item-wrapper .restaurant-info {
    padding-left: 250px;
}

.result-item-wrapper .restaurant-info.normal {
    display: block;
}

.result-item-wrapper .restaurant-info.mobile {
    display: none;
}

.result-item-wrapper .item-left-wrapper, .result-item-wrapper .item-right-wrapper{
    display: inline-block;
}

.result-item-wrapper .item-left-wrapper {
    position: relative;
    padding: 10px;
    width: 75%;
}

.result-item-wrapper .item-right-wrapper {
    position: absolute;
    background-color: #e4e4e4;
    height: 100%;
    width: 25%;
    top: 0;
    right: 0;
    padding: 15px 5px;
}

.result-item-wrapper .timeslot-wrapper {
    overflow-x: auto;
}

.r-logo-wrapper {
    position: absolute;
    width: 60px;
    height: 60px;
    line-height: 50px;
    text-align: center;
    right: 0;
    top: 0;
    border: 1px solid #DDD;
    border-radius: 50%;
    background-color: rgb(235,235,235);
    overflow: hidden;
    padding: 4px;
}


.r-logo-wrapper img.r-logo {
    width: 100%;
}


.timeslot-item-container {
    display: inline-block;
    width: 50%;
    text-align: center;
    padding: 5px;
    padding-bottom: 10px;
}

.image-and-main-info {
    position: relative;
    min-height: 145px;
}

.result-item-wrapper .restaurant-image {
    position: absolute;
    height: 100%;
    width: 240px;
    float: left;
    top: 50%;
    transform: translateY(-50%);
    overflow: hidden;
}

.filter-toggle-wrapper {
    display: none;
    position: fixed;
    top: 170px;
    text-align: center;
    background-color: #e4e4e4;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}

span.filter-toggle-btn {
    background-color: #e4e4e4;
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    box-shadow: 1px 1px 1px #999;
}

.search-result-header {
    margin-bottom: 5px;
}

select.sorting-selector {
    background-color: transparent;
    border: 0;
}

/*
    District checkbox wrapper
*/

#district_checkboxes, #cuisine_checkboxes {
    display: none;
}

#district_checkboxes li,
#cuisine_checkboxes li
{
    padding-left: 0;
}

#district_checkboxes label,
#cuisine_checkboxes label
{
    color: #0a3b5d;
    font-weight: normal;
    cursor: pointer;
}

#district_checkboxes li .thumb,
#cuisine_checkboxes li .thumb
{
    font-size: 1.5em;
    margin: -1px 0 0 -1em;
    position: absolute;
    right: 0;
    top: -6px;
    cursor: pointer;
}

#district_checkboxes li.district-item,
#cuisine_checkboxes li.cuisine-item
{
    padding-left: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#district_checkboxes .district-group:not(:last-child),
#cuisine_checkboxes .cuisine-group:not(:last-child)
{
    border-bottom: 1px solid #ffba70;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

li.has-children.expanded > .thumb:after {
    content: "\f0d8";
}

li.has-children > .thumb:after {
    content: "\f0d7";
    color: #ffba70;
}

.hide-time-slot-wp {
    visibility: hidden;
}

#hash-tag-name-wrapper.sticky {
    padding-top: 53px;
}

#hash-tag-name-wrapper.sticky .hash-tag-name-inner-wrapper {
    position: fixed;
    top: 60px;
    z-index: 1;
    width: 100%;
}

#hash-tag-name-wrapper .hash-tag-name-inner-wrapper {
    padding: 15px 0;
    background-color: #fafafa;
}

#hash-tag-name-wrapper .hash-tag-name-inner-wrapper .container {
    position: relative;
}


/** tags input style **/
.bootstrap-tagsinput {
    background: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
    font-size: 1.2em;
    line-height: 2em;
    width: 100%;
}

.bootstrap-tagsinput .label-info {
    background: #ff9320;
    -webkit-border-radius: 0;-moz-border-radius: 0;border-radius: 0;
    padding: 0.5em 1em;
    font-weight: 300;
}

.filter-item.input-style {
    border-bottom: 1px solid #f37021;
}

#keywords_tags_wrapper, .bootstrap-tagsinput input {
    /*height: 1px;*/
}

#criteria_wrapper {
    display: none;
}

.checkboxes {
    margin-top: 1em;
}

#time-cover-search-box {
}

#time-cover-search-box .filter-item {
    display: none;
}

#time-cover-search-box .filter-header {
    position: relative;
    cursor: pointer;
}

#time-cover-search-box .filter-header::after {
    content: '';
    width: 22px;
    height: 22px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: url('../../../images/arrow_down.png') no-repeat transparent 100% 50%;
    -webkit-background-size: contain;background-size: contain;
}

#time-cover-search-box.shown .filter-item {
    display: block;
}

#time-cover-search-box.shown .filter-header::after {
    background: url('../../../images/icons/icn_close@2x.png') no-repeat transparent 100% 50%;
    -webkit-background-size: contain;background-size: contain;

}

@media (max-width: 670px) {
    .result-item-wrapper .image-and-main-info .restaurant-features {
        bottom: unset;
        right: unset;
        top: 0;
        left: 3px;
        padding: 0.5em;
        flex-flow: row nowrap;
    }

    .result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature {
        font-size: 1em;
        background: rgba(0, 0, 0, 0.6);
    }

    .result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature:not(:last-child) {
        margin-bottom: 0;
        margin-right: 2px;
    }

    .result-item-wrapper .image-and-main-info .restaurant-features .restaurant-feature i {
        height: 26px;
        width: 26px;
    }
}

@media (max-width: 600px) {

    .result-item-wrapper .item-left-wrapper {
        padding: 0;
    }

    .r-info {
        padding: 0;
    }

    .image-and-main-info {
        width: 100%;
        position: relative;
        display: inline-block;
        height: 175px;
    }

    .result-item-wrapper.has_benefit .image-and-main-info {
        height: 207px;
    }

    .result-item-wrapper.has_timeslot .image-and-main-info {
        height: 260px;
    }

    .result-item-wrapper .restaurant-image {
        position: relative;
        top: 0;
        width: 100%;
        height: 180px;
        transform: translateY(0);
    }

    .result-item-wrapper .restaurant-image .image-overlay {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        background: -webkit-linear-gradient(transparent, rgba(0,0,0,0.7));
        background: -o-linear-gradient(transparent, rgba(0,0,0,0.7));
        background: -moz-linear-gradient(transparent, rgba(0,0,0,0.7));
        background: linear-gradient(transparent, rgba(0,0,0,0.7));
    }

    .main-overlay-info {
        position: absolute;
        width: 100%;
        bottom: 5px;
        padding-left: 10px;
        text-shadow: 1px 1px 1px #000;
    }

    .main-overlay-info .r-address, .main-overlay-info .r-info-row div {
        color: #FFF;
    }

    .timeslot-wp-text, .timeslot-ui-wrapper {
        padding: 0 5px;
        max-width: 290px;
        margin: 0 auto;
    }

    .slot-previous-btn {
        /*left: 5px;*/
    }

    .slot-next-btn {
        /*right: 5px;*/
    }

    .restaurant-main-info {
        position: relative;
        width: 100%;
        margin-left: 0;
        padding-bottom: 5px;
        bottom: 0;
        margin-bottom: 0;
        color: #FFF;
        height: 180px;
    }

    .restaurant-main-info .r-benefit {
        position: absolute;
        bottom: 0;
        border-radius: 0;
        background-color: #FFF;
        font-weight: 600;
    }

    .restaurant-main-info .r-benefit .r-benefit-name {
        border-radius: 0;
    }

    .result-item-wrapper .restaurant-info {
        padding: 10px;
    }

    .result-item-wrapper .restaurant-info.normal {
        display: none;
    }

    .result-item-wrapper .restaurant-info.mobile {
        display: inline-block;
        width: 100%;
        padding: 0 10px;
    }


    .result-item-wrapper .restaurant-image {

    }

    .result-item-wrapper .image-and-main-info .restaurant-features {
        top: 36px;
    }

    /*.r-name {
        color: #ffffff;
    }*/

    .r-name a, .r-name a:hover {
        color: #ff9320;
    }

    .r-address {
        display: none;
    }

    .r-district {
        display: block;
        position: absolute;
        top: 10px;
        left: 10px;
        z-index: 1;
        color: #FFF;
        background-color: rgba(0,0,0,0.5);
        padding: 5px;
        border-radius: 5px;
    }

    .r-op-time {
        display: none!important;
    }

    .r-info-row .r-cuisine, .r-info-row .r-price {
        width: 50%;
    }

    .r-logo-wrapper {
        top: 10px;
        right: 10px;
        border-radius: 50%;
        border: 0;
        background-color: rgb(255,255,255);
        overflow: hidden;
    }

    .hide-time-slot-wp {
        display: none;
    }
}

@media (max-width: 992px) {

    .search-container {
        height: 350px;
    }

    .search-wrapper {
        top: 40px;
    }

    .home-form-group {
        margin-bottom: 10px;
    }
    
    .filter-header {
        text-align: left;
    }

    .filter-outer-wrapper {
        position: fixed;
        padding: 0;
        height: 100%;
        width: 0;
        z-index: 11000;
        top: 0;
        left: 0;
        background-color: rgba(0,0,0,0.5);
        /*-webkit-transition: opacity 0.5s;
        -moz-transition: opacity 0.5s;
        -ms-transition: opacity 0.5s;
        -o-transition: opacity 0.5s;
        transition: opacity 0.5s;*/
    }

    .fw-close .filter-outer-wrapper {
        /*left: -250px;*/
        /*background-color: transparent;*/
        /*left: -100%;*/
        opacity: 0;

    }

    html.fw-open, html.fw-open body {
        overflow-y: hidden;
    }

    .fw-open .filter-outer-wrapper {
        opacity: 1;
        width: 100%;
    }

    .filter-outer-wrapper .filter-wrapper {
        right: -100%;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -ms-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
        padding-top: 30px;
    }

    .fw-open .filter-outer-wrapper .filter-wrapper {
        right: 0;

    }

    /*
    .filter-outer-wrapper.fw-close .filter-toggle-wrapper {
        left: 0;
    }

    .filter-outer-wrapper.fw-open .filter-toggle-wrapper {
        left: 250px;
    }
    */

    .fw-open .filter-outer-wrapper {
        /*left: 0;*/
        background-color: rgba(0,0,0,0.3);
    }

    .filter-wrapper {
        width: 250px;
        overflow-x: hidden;
        overflow-y: auto;
        box-shadow: 1px 1px 1px #999;
        background-color: #FFFFFF;
        position: absolute;
        right: 0;
        top: 0;
    }

    .filter-toggle-wrapper {
        display: block;
    }

    .filter-wrapper .actions {
        display: block;
        position: absolute!important;
        top: 0;
        width: auto;
        right: 10px;
        background-color: #ffffff;
    }
    
    .filter-wrapper .actions li a {
        color: #0a3b5d;
    }

    .search-result-wrapper {
        padding-left: 0;
    }

    .result-item-wrapper .item-left-wrapper {
        width: 100%;
    }

    .result-item-wrapper .item-right-wrapper {
        position: relative;
        background-color: #e4e4e4;
        width: 100%;
        display: block;
        padding: 5px;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .result-item-wrapper .timeslot-item-container {
        width: auto;
        margin-bottom: 5px;
    }

    .info-row {
        margin-bottom: 0;
    }

    .info-row-address {
        display: none;
    }


}

@media (max-width: 767px) {
    .sorting-wrapper {
        /*height: 60px;*/
        /*overflow-x: auto;*/
        /*overflow-y: hidden;*/
        height: 30px;
    }
    .sorting-wrapper .sorting-item {
        /*width: 40%;*/
        font-size: 11px;
        line-height: 30px;
    }

    .sorting-item.desc-order:after {
        background-image: url(../images/icons/icnsorting_desc.png);
        background-repeat: no-repeat;
        background-size: 18px;
        content: '';
        width: 18px;
        height: 15px;
        display: inline-block;
    }

    .sorting-item.asc-order:after {
        background-image: url(../images/icons/icnsorting_asc.png);
        background-repeat: no-repeat;
        background-size: 18px;
        content: '';
        width: 18px;
        height: 15px;
        display: inline-block;
    }
}