html,
body {
    height: 100%;
	font: normal normal Arial,Verdana,sans-serif;
}
a{
color: #A94442;
}
.page-header{
margin-top:10px;
}
.khung-timkiem {
  padding: 30px 0;
  text-align: center;
}
.khung-timkiem-nho{
padding: 5px 0;
}
.khung-timkiem-nho h1,
.khung-timkiem-nho p
{
display:none;
}
.khung-timkiem .input-group .btn:hover{
color: #A94442;
}

.livechat li a{
padding-right:3px;
padding-left:3px;
}

.noidung .well{
background:#fff;
 border-radius: 0 !important;
}

.pt5 { padding-top: 5px; } 
.pt10 { padding-top: 10px; } 
.pb10 { padding-bottom: 10px; } 
.pb20 { padding-bottom: 20px; } 
.mb0 { margin-bottom: 0; } 
.mb5 { margin-bottom: 5px; } 
.mb10 { margin-bottom: 10px; } 
.mb20 { margin-bottom: 20px; } 
.mb40 { margin-bottom: 40px; } 
.mb60 { margin-bottom: 60px; } 
.mt10 { margin-top: 10px; } 
.mt40 { margin-top: 40px; } 
.mr5{
margin-right:5px;
}
.ml0{
margin-left:0;
}
.ml5{
margin-left:5px;
}
hgroup { padding-left: 15px; border-bottom: 1px solid #ccc; }
hgroup h1 { font: 500 normal 1.625em Arial,Verdana,sans-serif; color: #2a3644; margin-top: 0; line-height: 1.15; }
hgroup h2.lead { font: normal normal 1.125em Arial,Verdana,sans-serif; color: #2a3644; margin: 0; padding-bottom: 10px; }


.search-result .thumbnail { border-radius: 0 !important;margin:0 0 5px 0; }
.search-result .thumbnail img{height:80px;}
.search-result:first-child { margin-top: 0 !important; min-height:80px; }
.search-result { padding-top: 20px;}
.search-result .col-md-2 { border-right: 1px dotted #ccc; min-height: 80px; }
.search-result ul { padding-left: 0 !important; list-style: none;  }
.search-result ul li { font: 400 normal .85em Arial,Verdana,sans-serif;  }
.search-result ul li i { padding-right: 5px; }
.search-result .col-md-7 { position: relative; }
.search-result h3 { font: 500 normal 1.375em Arial,Verdana,sans-serif; margin-top: 0 !important; margin-bottom: 10px !important; }
.search-result h3 > a, .search-result i { color: #A94442 !important; }
.search-result p { font: normal normal 1.125em Arial,Verdana,sans-serif; } 
.search-result span.plus { position: absolute; right: 0; top: 126px; }
.search-result span.plus a { background-color: #A94442; padding: 5px 5px 3px 5px; }
.search-result span.plus a:hover { background-color: #414141; }
.search-result span.plus a i { color: #fff !important; }
.search-result span.border { display: block; width: 97%; margin: 0 15px; border-bottom: 1px dotted #ccc; }
.search-result .mota { height:30px;overflow:hidden}
.search-result .mota.hien{
height:auto;
overflow:auto;
}
.search-result .row{
margin-top:5px;
}
.search-result .gia{
font-weight:bold;
}

.highlight {
    background-color: #F7F7F9;
}
#sidebar-wrapper .panel { border-radius: 0 !important; }

  #sidebar-wrapper {
    margin-right: -350px;
	top:0;
    right: 0;
    width: 350px;
    background: #414141;
    position: fixed;
    height: 100%;
    overflow: hidden;
    z-index: 1000;
    transition: all 0.5s ease-in 0s;
    -webkit-transition: all 0.5s ease-in 0s;
    -moz-transition: all 0.5s ease-in 0s;
    -ms-transition: all 0.5s ease-in 0s;
    -o-transition: all 0.5s ease-in 0s;
	z-index:999999;
  }


  #menu-toggle {
    /*top: 3px;
    right: 70px;
    position: fixed;
    z-index: 999;
	*/
  }

  #sidebar-wrapper.active {
    right: 350px;
    width: 350px;
    transition: all 0.5s ease-out 0s;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -ms-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
  }

/*
Back to top button 
*/
#back-top {
	position: fixed;
	bottom: 50px;
	right:5px;
	z-index:99999;
}
#back-top a {
	width: 58px;
	display: block;
	text-align: center;
	font: 11px/100% Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	color: #bbb;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover {
	color: #000;
}
/* arrow icon (span tag) */
#back-top span {
	width: 58px;
	height: 58px;
	display: block;
	margin-bottom: 7px;
	background: #ddd url(../img/up-arrow.png) no-repeat center center;
	/* rounded corners */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	/* background color transition */
	-webkit-transition: 1s;
	-moz-transition: 1s;
	transition: 1s;
}
#back-top a:hover span {
	background-color: #777;
}
.icon-refresh-animate {
	animation-name: rotateThis;
	animation-duration: .5s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
}

@keyframes rotateThis {
	from { transform: scale( 1 ) rotate( 0deg );   }
	to   { transform: scale( 1 ) rotate( 360deg ); }
}

/*
lien he
*/
.well.lienhe{
padding:0;
}

#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    margin: 0 auto -40px;
}
#footer{
    background-color: #bf3e11;
}
#footer a{
color:#fff;
}

/***** trang chủ ******/
.ch-grid {
	margin: 20px 0 0 0;
	padding: 0;
	list-style: none;
	display: block;
	text-align: center;
	width: 100%;
}

.ch-grid:after,
.ch-item:before {
	content: '';
    display: table;
}

.ch-grid:after {
	clear: both;
}

.ch-grid li {
	width: 170px;
	height: 170px;
	display: inline-block;
	margin: 10px;
}

.ch-item {
	width: 100%;
	height: 100%;
	border-radius: 10px;
	position: relative;
	cursor: default;
	background-repeat:no-repeat;
	background-position:center center;
	box-shadow: 
		inset 0 0 0 0 rgba(200,95,66, 0.4),
		inset 0 0 0 5px rgba(255,255,255,0.6),
		0 1px 2px rgba(0,0,0,0.1);
		
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
}

.ch-info {
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 10px;
	opacity: 0;
	
	-webkit-transition: all 0.4s ease-in-out;
	-moz-transition: all 0.4s ease-in-out;
	-o-transition: all 0.4s ease-in-out;
	-ms-transition: all 0.4s ease-in-out;
	transition: all 0.4s ease-in-out;
	
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-o-transform: scale(0);
	-ms-transform: scale(0);
	transform: scale(0);
	
	-webkit-backface-visibility: hidden; /*for a smooth font */

}

.ch-info h3 {
	color: #fff;
	text-transform: uppercase;
	position: relative;
	letter-spacing: 2px;
	font-size: 18px;
	margin: 0 20px;
	padding: 45px 0 0 0;
	height: 90px;
	overflow:hidden;
	font-family: 'Open Sans', Arial, sans-serif;
	text-shadow: 
		0 0 1px #fff, 
		0 1px 2px rgba(0,0,0,0.3);
}

.ch-info p {
	color: #fff;
	padding: 10px 5px;
	font-style: italic;
	margin: 0 20px;
	font-size: 12px;
	border-top: 1px solid rgba(255,255,255,0.5);
}

.ch-info p a {
	display: block;
	color: #fff;
	color: rgba(255,255,255,0.7);
	font-style: normal;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 9px;
	letter-spacing: 1px;
	padding-top: 4px;
	font-family: 'Open Sans', Arial, sans-serif;
}

.ch-info p a:hover {
	color: #fff222;
	color: rgba(255,242,34, 0.8);
}

.ch-item:hover {
	box-shadow: 
		inset 0 0 0 110px rgba(200,95,66, 0.4),
		inset 0 0 0 5px rgba(255,255,255,0.8),
		0 1px 2px rgba(0,0,0,0.1);
}

.ch-item:hover .ch-info {
	opacity: 1;
	
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-o-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);	
}
/*
san pham
*/
.glyphicon { margin-right:5px; }
#products .thumbnail
{
    margin-bottom: 20px;
    padding: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}
.item-list span.border { display: block; width: 97%; margin: 0 15px;border-bottom: 1px dotted #ccc; }
.navbar-right{
	position: absolute;right: 20px;top: 0;
}

.navbar-nav .open .dropdown-menu.loginform{
	background:#ffff!important;
	padding:0!important;
	margin: 0!important;
	width:100%!important;
	position:fixed!important;
	top:50px!important;
	right:0!important;
	bottom:0!important;
	left:0!important;
	border:0!important;
	border-radius: 0!important;
	-webkit-box-shadow: -5px -12px 6px rgba(0,0,0,0.175);
	box-shadow: -5px -12px 6px rgba(0,0,0,0.175);
	background-clip: padding-box;
	display: flex!important;
  align-items: center!important;
  justify-content: center!important;
  z-index:999999!important;
  max-width:100%!important;
	}
.label-gray{
	background:#999;
}
.table-searchform{
	padding:0;
}
.table-searchform th,
.table-searchform td
{
	padding:0!important;
	padding-left:5px!important;
	margin:0!important;
}
.table-searchform input,
.table-searchform select{
	margin:0;
	border:0;
	border-left:1px solid #eee;
}
@media(max-width: 767px) {
	.navbar-right{
		right:100px;
	}
	.navbar-right li{
		float:left;
		width:80px;
	}
	
	#footer {
	padding-left: 10px;
	padding-right: 10px;
    }
	.item{
	width: 100%;
	}
	.dieukien small,
	.dieukien .dstrang
	{
	display:none;
	}
	.nuttim strong{
	display:none;
	}
	.huongdantimkiem{
	margin:0;
	padding:0 0  0 2px;
	}
	.ch-grid li {
		width: 130px;
		height: 130px;
		display: inline-block;
		margin: 5px;
	}
	.ch-info h3 {
	font-size:16px;
	padding: 25px 0 0 0;
	height:60px;
	}
	.noidung .col-xs-6,
	.noidung .col-xs-8,
	.noidung .col-sm-12
	{
	width:100%;
	}
	.noidung .col-xs-12 address{
	margin-top:20px;
	}
	.thongtinsanpham li span{
	display:none;
	}
}


