﻿* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

body { font-family: sans-serif,"微軟正黑體";
background:url(../img/ricepaper_v3.png) repeat;}

.bg{
/*    background: url(../img/bgXL.png) no-repeat;
    background-position: -6% -23%;*/
    height: 270px;
	}
.bg3{
    background: url(../img/bgXL.png) no-repeat;
    background-position: -80px 50px;
	}
.carousel-inner .item img{
	width:100%;
	}
/* ---- grid ---- */

.grid {
  background: none;
  max-width: 1200px;
  counter-reset: grid-item;
  margin:0 auto 10px auto;	
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;

}

/* ---- grid-item ---- */

.grid-item {
  width: 350px;
  height: 360px;
  float: left;
      background:none;
  border: 0px ;
  border-radius: 0px;
}

.grid-item-box{
	 cursor: pointer;
	margin:5px;
	height: 350px;
	background:#fcf7eb;
	border-radius: 4px;
	padding-bottom:4px;}
.grid-item-box img{
	border-top-left-radius:4px;
border-top-right-radius:4px;
border-bottom-left-radius:0px;
border-bottom-right-radius:0px;
	}
.grid-item-box h3{
	padding: 5px;
	margin:0;
	color:#745d3f;
	}
.grid-item-box p{
	padding:0 5px;
	color:#604528;
	}
.grid-item-box .name{
    font-size: 10px;
    color: #262522;
    margin-bottom: 0px;
    position: absolute;
    display: block;
    bottom: 10px;
    right: 10px;}
.bg2{
	background:#DECEAD;
	}
.grid-item--width2 { width: 690px; background:url(../img/sild_bg.png) center bottom no-repeat;
background-size:contain;}
.grid-item--height2 { height: 329px; }
.grid-item:before {
/*  counter-increment: grid-item;
  content: counter(grid-item);*/
  display: block;
  color: white;
  padding-top: 0.2em;
  text-align: center;
  font-size: 1.1rem;
}

.navbar{ margin:0 auto;}
.navbar:after{
display: block;
  clear: both;
	}
.navbar-default{
	border: 1px solid #745D3F;
	background:#745d3f;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#fff8f8f8', GradientType=0);
    filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
    background-repeat: repeat-x;
    border-radius: 0px;
	-moz-box-shadow:inset -1px -3px 39px #6A553A;
	-webkit-box-shadow:inset -1px -3px 39px #745d3f;
	box-shadow:inset -1px -3px 39px #745d3f;
	}	
.navbar-brand{
	
	position:relative;}
.navbar-brand .logo{
    top: 60px;
    left: 285px;
    width: 634px;
    height: 163px;
    position: absolute;
    background: url(../img/logo.png) no-repeat center;}	
.navbar-nav{
	margin:0 10px 0 0;
	position: absolute;
    right: 0; 
	}	
.navbar-default .navbar-nav > li > a {
    color: #FFF;
}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus{
	color: #FFF;
		}
.navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus{
	color: #FFF;
	background-image: -webkit-linear-gradient(top,#745D3F 0,#98846A 100%);
    background-image: -o-linear-gradient(top,#745D3F 0,#98846A 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#745D3F),to(#98846A));
    background-image: linear-gradient(to bottom,#745D3F 0,#98846A 100%);
	
	}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.open>a {
    background-image: -webkit-linear-gradient(top,#BD8439 0,#98846A 100%);
    background-image: -o-linear-gradient(top,#BD8439 0,#98846A 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#BD8439),to(#98846A));
    background-image: linear-gradient(to bottom,#BD8439 0,#98846A 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdbdbdb', endColorstr='#ffe2e2e2', GradientType=0);
    background-repeat: repeat-x;
    -webkit-box-shadow: inset 0 3px 9px rgba(0,0,0,.075);
    box-shadow: inset 0 3px 9px rgba(0,0,0,.075);
	 
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    color: #FFF;
    background-color: #e7e7e7;
}
.coff-icon{
	width:21px;
	height:21px;
	display:block;
	float:left;
	background:url(../img/coff-icon.png) no-repeat ;
	margin-right:10px;
	}
.link_box{
	margin:0 auto;
	text-align:right;
	padding:10px;}
.link_box a{
	padding:15px;}
.dropdown-menu{
	right:0;
	left:inherit;}
.btn-group{
	margin:0 5px;}	
	
.menu_icon{
	width:20px;
	height:27px;
	background-repeat:no-repeat;
	background-position:center;
	float:left;
	margin-right:6px;
	vertical-align:middle;
	}
.cup_icon{
	background-image:url(../img/cup_icon.png);}
.cup2_icon{
	background-image:url(../img/cup2_icon.png);}
.menu_icon_span{
	display: table;
	padding: 5px;
	}

.btn-coffee {
    color: #fff;
    background-image: -webkit-linear-gradient(top,#a6855a 0,#58452f 100%);
    background-image: -o-linear-gradient(top,#a6855a 0,#58452f 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#a6855a),to(#58452f));
    background-image: linear-gradient(to bottom,#a6855a 0,#58452f 100%);
	border:0px;
}
.btn-coffee:hover {
    color: #fff;
    background-color: #884F00;
	border:0px;
}	
.btn-coffee.active.focus, .btn-coffee.active:focus, .btn-coffee.active:hover, .btn-coffee:active.focus, .btn-coffee:active:focus, .btn-coffee:active:hover, .open>.dropdown-toggle.btn-coffee.focus, .open>.dropdown-toggle.btn-coffee:focus, .open>.dropdown-toggle.btn-coffee:hover {
    color: #fff;
   background-image: -webkit-linear-gradient(top,#ddb178 0,#59462f 100%);
    background-image: -o-linear-gradient(top,#ddb178 0,#59462f 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#ddb178),to(#59462f));
    background-image: linear-gradient(to bottom,#ddb178 0,#59462f 100%);
	border:0px;
}	
.dropdown-menu{
	background:#745d3f;
	border:0px;
	color:#FFFFFF;
	}
.dropdown-menu > li > a {
	color:#FFFFFF;
	}	
.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover{
	color:#FFFFFF;
	   background-image: -webkit-linear-gradient(top,#745D3F 0,#927248 100%);
    background-image: -o-linear-gradient(top,#745D3F 0,#927248 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,from(#745D3F),to(#927248));
    background-image: linear-gradient(to bottom,#745D3F 0,#927248 100%);
	}
@media screen and (max-width: 1446px) {
.grid ,.navbar ,.searchbar,.link_box {
  width: 1050px;
}
/*.bg3{
    background: url(../img/bgXL.png) no-repeat;
        background-position: -80px 50px;
	}*/
.navbar-brand .logo	{
	    left: 39px;
	}
	
}

@media screen and (min-width: 1446px) {
	
.grid ,.navbar,.searchbar,.link_box  { 
  max-width: 1400px;
}
/*.bg3{
    background: url(../img/bgXL.png) no-repeat;
        background-position: 5px 50px;
	}*/
	
	}


@media screen and (min-width: 1796px) {
	
.grid ,.navbar,.searchbar,.link_box  { 
  max-width: 1750px;
}
/*.bg3{
    background: url(../img/bgXL.png) no-repeat;
        background-position: 5px 50px;
	}*/
	
	}
	
a, a code {
	color:#FFFFFF;
    text-decoration: none;
}	
a:hover, a:hover code {
    color:#FFFFFF;
}	
.searchbar{
	height:55px;
	margin:0 auto;
	padding-top: 155px;
	}
.icon_btn{
    vertical-align: middle;
    width: 48px;
    height: 48px;
    display: inline-block;
    margin: 4px;
    background-position: center;
    background-repeat: no-repeat;
	}	
.ok_icon{
	background-image:url(../img/Ok_Logo.png);}
	
.fb_icon{
	background-image:url(../img/fb_logo.png);
	width:75px;
	}
.fb_icon_2{
	background-image:url(../img/aaaaaa_logo.png)
	}
.search_icon{
	background-image:url(../img/search_icon.png);
	height:29px;}
.form-control:focus {
    border-color: #8A5F1D;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(38, 16, 5, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(38, 16, 5, .6);
}
.form-control{
	color: #8C5D1F;
    background-color: #fff;
    background-image: none;
    border: 0px solid #ccc;
	}
.footer{
	text-align:center;
	background:#FFFFFF;
	padding:10px;
	color:#6F3A05;
	margin-top:10px;}
	
.modal-body {
    position: relative;
    padding: 9px;
}
button.close{
    height: 30px;
    width: 30px;
    position: absolute;
    border-radius: 99em;
    background: #A28865;
    top: -15px;
    right: -15px;
    opacity: inherit;
    color: white;
	}
.close:hover, .close:focus {
    color: white;
    text-decoration: none;
	opacity: inherit;
	 background:#6C5027;
}
.modal-body{
	-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
	background:url(../img/ricepaper_v4.png) repeat;
	}
.modal-body h3{
	padding: 5px;
	margin:0;
	color:#745d3f;
	}
.modal-body p{
	padding:0 5px;
	color:#604528;
	}
.modal-body .name{
	font-size:10px;
	color:#262522;
	margin-bottom:0px;
	bottom:0px;}
.carousel-caption {
	text-align:left;
	background:rgba(255,255,255,.8);
	padding:10px;
	} 
.carousel-caption h3{
	color:#272727;
	}
.carousel-control.right	,.carousel-control.left{
	background-image:none;
	}

.nav > li {
    position: relative;
    display: block;
    float: right;
}
.bgla{
	background: #745d3f;
	width:100%;
	}
.container-fluid > .navbar-header{
	margin-right: 0px;
    margin-left: 0px;
	}
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 16px rgba(0, 0, 0, 16.6);
    filter: alpha(opacity=50);
    opacity: .5;
}
.icon_btn.search_icon {
    color: #FFFFFF;
}