.page-template-jpfood_page{line-height: 26px;}
.page-template-jpfood_page .custom-header{display: none;}
.page-template-jpfood_page #page-style{background: #f4f4f4;}
.top-jpfood{
	background: url(../images/top.png);
	background-position: center center;
  	background-repeat: no-repeat;
  	background-attachment: fixed;
  	background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    -webkit-background-size: cover;
  	background-color:#fffefe;
}
.top-jpfood{
    display: table;
    width: 100%;
    padding: 20px;
    /*min-height: 550px;*/
    height: 550px;
    text-align: center;
    color: #f7f4f4;
    font-size: 18px;
}

.top-jpfood .content{vertical-align: middle;display: table-cell;}
.top-jpfood .content h1{font-size: 50px;color: #fcfafa;line-height: 45px;margin-bottom: 25px;}
.list-foods{font-size: 15px;}
.list-foods.row {
    margin-top: -35px;
    margin-bottom: 50px;
}
.list-foods .food-item {
    margin-bottom: 10px;
    margin-top: 10px;
    display: inline-block;
    clear: right;
}
.food-item-content{ display: inline-block;}
.list-foods .food-info {
    padding: 20px;
    background: #fff;
    text-align: center;
}
.list-foods .food-info>h2{margin-top: 0;font-size: 24px;}
.list-foods .suit-info {
    font-size: 18px;
    border-bottom: 1px solid #fb597b;
}
.btn-jpfood {
    border-color: #f26d89;
    color: #f26d89;
}
.btn-jpfood:hover {
    border-color: #f26d89;
    background-color: #f26d89;
    color: #fff;
}
.food-info .excerpt{padding: 15px 0px;}
.food-thumd {
    background: #fff;
}
/*Effect for image*/
.food-item figure {
    position: relative;
    overflow: hidden;
}
.food-item figure::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: block;
    content: '';
    width: 0;
    height: 0;
    background: rgba(255,255,255,.2);
    border-radius: 100%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    opacity: 0;
}
.food-item figure:hover::before {
    -webkit-animation: circle .75s;
    animation: circle .75s;
}
@-webkit-keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}
@keyframes circle {
    0% {
        opacity: 1;
    }
    40% {
        opacity: 1;
    }
    100% {
        width: 200%;
        height: 200%;
        opacity: 0;
    }
}
/*EO Effect for image*/
/*Single page*/
html body.single.single-jp_food header#header-one-line.main{position: relative;}
.single-jp_food .main-content-wrap{font-size: 15px;}
.single-jp_food .main-content-wrap article{border: 0;}
.single-jp_food .custom-header{display: none;}
.jpfood-wrapper-single{margin-top: 50px;}
.other_jpfood_wrapper .posts h3{margin: 0;}
.other_jpfood_wrapper .posts .s-info, .other_jpfood_wrapper .posts .thumd{padding-left: 5px;padding-right: 5px;}
.other_jpfood_wrapper .posts h3 a {
    color: #777;
    font-size: 17px;
}
.other_jpfood_wrapper .posts.row {
    margin-top: 10px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.other_jpfood_wrapper .posts span.thumb{
    padding: 3px;
}
.back-link {
    margin-bottom: 20px;
    text-align: center;
}
/*Fix css*/
.single-jp_food .section-title{margin-bottom: 40px;}
.single-jp_food .section-title h1{font-size: 36px;}
.single-jp_food h3{font-size: 24px;}
.page-template-jpfood_page header.main nav.navbar.javo-navi-bright.navbar-inverse{background: #fff;}
.page-template-jpfood_page .javo-topbar{
    background: #fff;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}
.page-template-jpfood_page header#header-one-line .affix #javo-navibar ul.nav > li.menu-item > a{color: #000;}
.page-template-jpfood_page header#header-one-line #javo-navibar .navbar-right>li>a>img{border-color: #777!important;}
.page-template-jpfood_page header#header-one-line .affix #javo-navibar .navbar-right>li>a>span {
    border-color: #777!important;
}
@media only screen and (min-width: 768px){
    /*Fix height item box*/
    .food-info .excerpt{
        height: 92px;
        overflow: hidden;
    }
    .list-foods .food-info{height: 240px;}
    .food-thumd {
        height: 240px;
    }
    /*EO Fix height item box*/
}
@media only screen and (max-width: 768px){
  .jpfood-wrapper-single{margin-top: 30px;}
  .single-jp_food .main-content-wrap article{border-bottom: 1px solid #ededed;}
}
@media only screen and (max-width: 767px){
.top-jpfood{min-height: 200px;height: auto;}
  .list-foods.row {
    margin-top: 20px;
    margin-bottom: 20px;
  }
}