
.home-restaurant-item {
  position: relative;
  height: 400px;
  display: inline-block;
  background-repeat: no-repeat;
  background-size: auto 100%;
  background-position: center;
  margin:15px 5px 0;
  box-shadow: 1px 1px 1px #999;
  cursor: pointer;
  overflow: hidden;
}

.main-scroll-section .home-restaurant-item {
  width: 230px;
  padding: 0;
}

.home-restaurant-item.has_benefit {
  padding-bottom: 40px;
}

.home-restaurant-item.has_benefit .r-benefit {
  position: absolute;
  bottom: 0;
  background: #f37021;
  color: #FFFFFF;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 1em;
  text-align: center;
  font-size: 1.05em;
}

.home-restaurant-item.has_benefit .r-benefit .r-benefit-name {
  text-overflow:ellipsis;
  overflow: hidden;
  white-space:nowrap;
}

.home-restaurant-item .home-restaurant-item-data {
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.6s;-moz-transition: all 0.6s;-ms-transition: all 0.6s;-o-transition: all 0.6s;transition: all 0.6s;
  position: relative;
}

.home-restaurant-item .home-restaurant-item-data:before {
  content:"";
  position:absolute; top:0;right:0;bottom:0;left:0;
  background:inherit;
  transition:inherit;
}

.home-restaurant-item:hover .home-restaurant-item-data::before {
  /*transform: scale(1.2);*/
}

.home-restaurant-item .bg-img {
  height: 100%;
  position: absolute;
  left: 50%;
  -webkit-transition: all 0.6s;-moz-transition: all 0.6s;-ms-transition: all 0.6s;-o-transition: all 0.6s;transition: all 0.6s;
  -webkit-transform: translateX(-50%);-moz-transform: translateX(-50%);-ms-transform: translateX(-50%);-o-transform: translateX(-50%);transform: translateX(-50%);
}

.home-restaurant-item:hover .bg-img {
  -webkit-transform: scale(1.2) translateX(-50%);-moz-transform: scale(1.2) translateX(-50%);-ms-transform: scale(1.2) translateX(-50%);-o-transform: scale(1.2) translateX(-50%);transform: scale(1.2) translateX(-50%);
  /*
  -webkit-transform: scale(1.5);-moz-transform: scale(1.5);-ms-transform: scale(1.5);-o-transform: scale(1.5);transform: scale(1.5);
  */
}

.home-restaurant-item .r-logo-wrapper {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: #FFF;
  top: 10px;
  left: 10px;
  border-radius: 50%;
  box-shadow: 1px 1px 1px #999;
  overflow: hidden;
}

.home-restaurant-item .r-vr360-wrapper {
  position: absolute;
  width: 50px;
  height: 50px;
  top: 10px;
  right: 10px;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4) url('../../../images/icons/icn360white@2x.png') no-repeat center center;
  background-size: contain;
}


.home-restaurant-item-data .home-r-info-wrapper:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transform: translate3d(0,50%,0);
  transform: translate3d(0,50%,0);
  -webkit-transition: opacity, -webkit-transform 0.35s;
  -moz-transition: opacity, transform 0.35s;
  -ms-transition: opacity, transform 0.35s;
  -o-transition: opacity, transform 0.35s;
  transition: opacity, transform 0.35s;
  background: rgba(243, 112, 33, 0.6);
  background: -webkit-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0) 30%, rgba(243, 112, 33,0.5));
  background: -o-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0) 30%, rgba(243, 112, 33,0.5));
  background: -moz-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0) 30%, rgba(243, 112, 33,0.5));
  background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.0) 30%, rgba(243, 112, 33,0.5));
}

/*
.home-restaurant-item-data .home-r-info-wrapper:after {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
    !*-webkit-transform: translate3d(0,50%,0);*!
    !*transform: translate3d(0,50%,0);*!
    -webkit-transition: opacity 0.35s;
    -moz-transition: opacity 0.35s;
    -ms-transition: opacity 0.35s;
    -o-transition: opacity 0.35s;
    transition: opacity 0.35s;
    background: rgba(243, 112, 33, 0.6);
    background: -webkit-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.5) 30%, rgba(243, 112, 33,0.5));
    background: -o-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.5) 30%, rgba(243, 112, 33,0.5));
    background: -moz-linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.5) 30%, rgba(243, 112, 33,0.5));
    background: linear-gradient(rgba(0,0,0,0.0), rgba(0,0,0,0.5) 30%, rgba(243, 112, 33,0.5));
    !*background: rgba(243, 112, 33, 1);*!
    !*background: -webkit-linear-gradient(rgba(255, 204, 153,1), rgba(243, 112, 33,1) 75%, rgba(243, 112, 33,1));*!
    !*background: -o-linear-gradient(rgba(255, 204, 153,1), rgba(243, 112, 33,1) 75%, rgba(243, 112, 33,1));*!
    !*background: -moz-linear-gradient(rgba(255, 204, 153,1), rgba(243, 112, 33,1) 75%, rgba(243, 112, 33,1));*!
    !*background: linear-gradient(rgba(255, 204, 153,1), rgba(243, 112, 33,1) 75%, rgba(243, 112, 33,1));*!
}
*/

.home-restaurant-item:hover .home-restaurant-item-data .home-r-info-wrapper:after {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.home-restaurant-item:hover .home-restaurant-item-data .home-r-info-data {
  padding-bottom: 20px;
}


.home-r-info-wrapper {
  color: #FFF;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  padding: 60px 0 5px 0;
  -webkit-transition: all  1.0s;
  -moz-transition: all  1.0s;
  -ms-transition: all  1.0s;
  -o-transition: all  1.0s;
  transition: all  1.0s;
  background: rgba(0,0,0,0.4);
  background: -webkit-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 40%, rgba(0,0,0,0.8));
  background: -o-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 40%, rgba(0,0,0,0.8));
  background: -moz-linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 40%, rgba(0,0,0,0.8));
  background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,0) 40%, rgba(0,0,0,0.8));
}


.home-r-info-wrapper .home-r-info-data {
  position: absolute;
  width: 100%;
  bottom: 0;
  z-index: 2;
  padding: 0 1em 10px;
  -webkit-transition: padding-bottom 0.2s;
  -moz-transition: padding-bottom 0.2s;
  -ms-transition: padding-bottom 0.2s;
  -o-transition: padding-bottom 0.2s;
  transition: padding-bottom 0.2s;
}


.home-r-info-wrapper .r-name{
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 10px;
  clear: both;
}

.r-details-wrapper {
  z-index: 1;
  position: relative;
  display: flex;
  flex-flow: row nowrap;

}

.r-details-wrapper .r-location, .r-details-wrapper .r-cuisine {
  display: inline-block;
  width: 50%;
  text-align: center;
  line-height: 1em;
  visibility: hidden;

  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1em;
  max-height: 2.4em;
}

.r-location.has-location, .r-cuisine.has-cuisine {
  visibility: visible;
}

.r-details-wrapper .r-location > span, .r-details-wrapper .r-cuisine > span {
  vertical-align: middle;
}

.r-details-wrapper .r-location > span {
  text-align: left;
}

.r-details-wrapper .r-cuisine > span {
  text-align: right;
}

.r-details-wrapper .r-location > span .icn
, .r-details-wrapper .r-cuisine > span .icn{
  width: 16px;
  height: 16px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  display: inline-block;
  margin-right: 0.5em;
  vertical-align: middle;
}

.r-details-wrapper .r-location > span .icn {
  background-image: url('../../../images/icons/icnwhitelocation@2x.png');
}

.r-details-wrapper .r-cuisine > span .icn {
  background-image: url('../../../images/icons/icnwhitecuisine@2x.png');
}



.discount-wrapper {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  text-align: right;
  display: none;
}

.discount-wrapper.has-discount {
  display: block;
}

.discount-wrapper .discount-icon {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #ff7000;
  color: #FFF;
  text-align: center;
  line-height: 30px;
  font-size: 20px;
}

.discount-wrapper .discount-text, .discount-wrapper .discount-label {
  position: absolute;
  top: 0;
  right: 0;
}

.discount-wrapper .discount-text {
  color: #FFF;
  padding: 5px;
  font-size: 1.2em;
  text-align: right;
}

.discount-wrapper .discount-label {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 100px 90px 0;
  border-color: transparent rgba(255, 141, 0, 0.74) transparent transparent;
}

.discount-wrapper:before {
  content: '';
}

#list_wrapper {
  max-width: 1280px;
  margin: 0 auto;
}

.restaurant_list {
  /*width: 100%;*/
}

.restaurant_list .home-restaurant-item {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  padding: 3px 3px;
  margin: 0;
}

.restaurant_list .home-restaurant-item .home-restaurant-item-data {
  box-shadow: 1px 1px 1px #999;
  overflow: hidden;
}

.restaurant_list .btm-tri {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 40px 0 0 400px;
  border-color: transparent transparent transparent rgba(255, 112, 0, 0.7);
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 0;
}

.restaurant_list .btm-tri-sq {
  background: rgba(255, 112, 0, 0.7);
  height: 100%;
  width: 100%;
  position: absolute;
  left: 0;
  top: 30px;
  z-index: 0;
}

.restaurant_list .home-r-info-wrapper .r-name {
  text-align: left;
  z-index: 1;
  position: relative;
}

.restaurant_list .r-details-wrapper .r-location, .restaurant_list .r-details-wrapper .r-cuisine {
  text-align: left;
}


ul.scene_types, ul.scene_types li {
  padding: 0;
  margin: 0;
}

ul.scene_types {
  position: absolute;
  top: 1em;
  right: 1em;
  list-style: none;
  display: inline-block;
  float: right;
  /*margin-right: 10px;*/
  line-height: 1.4em;
  -webkit-border-radius: 1.5em;-moz-border-radius: 1.5em;border-radius: 1.5em;
  padding: 5px 0.5em;
  background: rgba(255, 112, 0, 1);
}

ul.scene_types li {
  list-style-type: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  padding: 0 0.2em;
  -webkit-box-sizing: content-box;-moz-box-sizing: content-box;box-sizing: content-box;
  font-size: 16px;
  text-align: center;
  float: left;
  overflow: hidden;
  /*text-indent: -200px;*/
}

ul.scene_types li:not(:last-child) {
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.jit-grp-btn:hover
, .jit-grp-btn:focus
, .jit-grp-btn:active
, .jit-grp-btn.active {
  color: #FFF;
  background-color: #ff7000;
  border-color: #ff7000;
}

.jit-grp-btn {
  color: #ff7000;
  background-color: #fff;
  border-color: #ff7000;
}

@media screen and (max-width: 480px){
  .col-xxs-12 {
    width: 100%;
  }
}
/*

@media screen and (max-width: 980px){
  .restaurant_list .home-restaurant-item {
    width: 33.33%;
  }

}

@media screen and (max-width: 700px){
  .restaurant_list .home-restaurant-item {
    width: 50%;
  }
}

@media screen and (max-width: 480px){
  .restaurant_list .home-restaurant-item {
    width: 100%;
  }
}
*/

