/*Google Font*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i&subset=vietnamese');

/* Định dạng chung */
* {
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	margin: 0;
  	padding: 0;
  	outline: none;
}

::selection {
	background: #333333;
	color: #fff;
}
::-moz-selection {
	background: #333333;
	color: #fff;
}

a {
	text-decoration: none;
	color: #404040;
}

ul {
	list-style-type: none;
}

button,
input[type=submit],
input[type=button] {
	border: 0;
	background-color: #003780;
	color: #fff;
	padding: 10px;
	font-weight: bold;
}

button:hover,
input[type=submit]:hover,
input[type=button]:hover {
	border: 0;
	background-color: #102770;
	color: #fff;
	padding: 10px;
}

input {
	border: 1px solid #e1e1e1;
}

/* Định dạng văn bản mặc định toàn trang */
body {
	font-family: "Open-Sans", "segoe ui", Helvetica, Arial, sans-serif;
	color: #404040;
	font-size: 14px;
	font-style: normal;
	background-color: #fafafa;
}

/* ĐỊNH DẠNG BỐ CỤC */
/* clearfix */
.clearfix {	clear: both; }

/* wrapper, main */
.wrapper, .main {
	width: 1000px;
	margin: 0 auto;
}

/* top-bar */
.top-bar {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 5;
}

/* main */
.main {
	margin-top: 60px;
}

/* sidebar */
.sidebar {
	width: 244px;
	float: left;
	z-index: 4;
}

/* content */
.content {
	width: 745px;
	float: right;
}

/* nội dung rộng */
.contentblog {
	width: 100%;
}

/* footer */
.footer {
	width: 100%;
	margin-top: 10px;
}

/* ĐỊNH DẠNG THÀNH PHẦN CONTENTBLOG*/
.contentblog {
	background-color: #fff;
	padding: 30px 30px 30px 30px;
	text-align: justify;
	font-size: 16px;
	border: 1px solid #e1e1e1;
}

.contentblog p{
	margin: 10px 0;
	text-align: justify;
}

.contentblog img {
	max-width: 900px;
}

/* ĐỊNH DẠNG BANNER */
.banner {
	width: 100%;
	height:400px;
	border: 1px solid #e1e1e1;
	overflow: hidden;
}

.banner img {
	width: 100%;
	height: auto;
}

/* ĐỊNH DẠNG THÀNH PHẦN TOP-BAR */
.top-bar {
	background-color: #003780;
	border-bottom: 1px solid #e1e1e1;
}
/* logo */
.top-bar .logo {
	width: 150px;
	height: 48px;
	line-height: 48px;
	padding: 0 20px;
	font-size: 24px;
	color: #fff;
	position: relative;
	float: left;
}

.top-bar .logo img {
	width: 48px;
	height: 48px;
	margin: auto;
	position: absolute;
	top: 0; right: 0;
	bottom: 0; left: 0;
}


/* search */

.top-bar .search {
	width: 400px;
	height: 36px;
	line-height: 48px;
    text-align: center;
    position: relative;
    float: left;
}
.search #tbxSearch {
	width: 100%;
	height: 100%;
	background-color: rgba(224, 224, 224, 1);
	background-size: 20px;
	border: none;
	padding: 0px 60px 0px 20px;
	font-size: 16px;
	color: #404040;
}
.search #btnSearch {
	width: 40px;
	height: 36px;
	background-image: url(../images/search.png);
	background-color: #2980b9;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 20px;
	border: 0;
	cursor: pointer;
	position: absolute;
	top: 6px;
	right: 0;
	margin: auto;

}

.search #btnSearch:hover {
	background-color: #3498db;
}

/* menu */

.top-bar .top-menu {
	width: 450px;
	text-align: right;
	float: right;
}
.top-menu ul li {
	height: 45px;
	line-height: 45px;
	padding: 0 5px;
	display: inline-block;
}
.top-menu ul li a {
	display: block;
	border-bottom: 3px;
	font-size: 16px;
	font-weight: 400;
	color: #e1e1e1;
}
.top-menu ul li a:hover {
	color: #fff;
	border-bottom: 3px solid #fff;
}


/* ĐỊNH DẠNG THÀNH PHẦN SIDEBAR*/
.sidebar {
	background-color: #fff;
	border: 1px solid #e1e1e1;
	padding: 10px 0 10px 0;
}


/* ĐỊNH DẠNG CONTENT */
.content {
	background-color: #fff;
	text-align: justify;
	border: 1px solid #e1e1e1;
	padding: 10px 0 10px 0;
}


/* ĐỊNH DẠNG FOOTER */

.footer .bot-bar {
	width: 100%;
	min-width: 1000px;
	background-color: #f2f2f2;
	padding: 20px 0;
}

.footer .copyright {
	width: 100%;
	min-width: 1000px;
	height: 50px;
	line-height: 50px;
	background-color: #1b1b1b;
}

.copyright span {
	color: #909090;
	font-size: 14px;
	font-weight: 500;
}

.copyright span:last-child {
	float: right;
}


/* THÀNH PHẦN DÙNG CHUNG */
.container {
	width: 100%;
	margin-bottom: 10px;
}

.container:last-child {
	margin-bottom: 0;
}

.container .title {
    color: #fff;    
    margin: 0 -1px 0 -1px;
    padding: 10px 30px; 
    text-shadow: 0 1px rgba(0,0,0,.8);
    /*background-color: #0057A0;*/
    text-transform: uppercase;
}

.container .menu {
	background-color: #f1f0f0;
}

.menu .sub {
	background-image: url("../images/right-arrow.png");
    background-position: 95%;
    background-repeat: no-repeat;
    background-size: 10px;
}


.menu li {
	height: 40px;
	line-height: 40px;
	width: 100%;
	position: relative;
}

.menu li a {
	display: block;
	text-decoration: none;
	padding: 0 20px;
	border-left: 4px solid #f1f0f0;
	color: #646464;
}

.menu li a:hover {
	border-left: 4px solid #646464;
	transition: 500ms;
	background-color: #e1e1e1;
}

.menu li .sub-menu {
	width: 200px;
	order-left: 1px solid #e1e1e1;
	-webkit-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.75);
	box-shadow: 1px 0px 2px 0px rgba(0,0,0,0.75);
	background-color: #f1f0f0;
	position: absolute;
	left: 243px;
	top: 0;
	display: none;
	z-index: 4;
	overflow: hidden;
}

.menu li:hover .sub-menu {
	display: block;
}





/* GridView*/
.grid-view .row {
	overflow: hidden;
    margin: 0.64em auto;
    padding: 5px;
}

.grid-view .row .col {
    float: left;
    width: 22.75%;
    height: 250px;
    margin-right: 3%;
    text-align: center;
    transition: 300ms;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
	overflow: hidden;
	position: relative;
	text-align: center;
}
.grid-view .row .col:last-child {
	height: 250px;
    float: right;
    margin-right: 0;
}

.grid-view .row .col:hover {
	box-shadow: 0 5px 5px -5px #333;
}

.grid-view .row .col:hover .price {
	font-size: 16px;
}

.grid-view .row .col img {
	width: 100%;
	max-height: 200px;
	position: absolute;
	margin: auto;
	top: 0; right: 0;
	bottom: 30px; left: 0;
	padding: 10px;
}

.price {
	position: absolute;
	margin: auto;
	height: 30px;
	width: 100%;
	bottom: 0; right: 0;
	line-height: 30px;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	color: #C0392B;
	text-transform: uppercase;
}

.productname {
	position: absolute;
	margin: auto;
	max-height: 50px;
	width: 100%;
	padding: 5px;
	background-color: rgba(224, 224, 224, 0.9);
	bottom: 30px; right: 0;
	text-align: center;
	font-weight: 400;
	font-size: 16px;
	color: #404040;

	overflow: hidden;
}

.tagleft {
	position: absolute;
	margin: auto;
	height: 30px;
	max-width: 100px;
	padding: 0 5px;
	background-color: #0057A0;
	top: 0; left: 0;
	line-height: 30px;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	color: #fff;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 1;
	border-bottom-right-radius: 10px;
}

.tagright {
	position: absolute;
	margin: auto;
	height: 30px;
	max-width: 100px;
	padding: 0 5px;
	background-color: #C72C1C;
	color: #fff;
	top: 0; right: 0;
	line-height: 30px;
	text-align: center;
	font-weight: 500;
	font-size: 14px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index: 1;
	border-bottom-left-radius: 10px;
}


/* style */

.sidebar .container {
	margin: 0;
}

.sidebar .container:last-child {
	margin-bottom: 10;
}

.readmore {
	text-align: right;
	margin: 10px;
	display: block;
}

.readmore a {
	text-decoration: none;
	font-weight: 500;
	color: #404040;
}

.readmore a:hover {
	border-bottom: 1px dotted #404040;
	font-weight: 500;
}

.col .overlay {
  width: 100%;
  height: 218px;
  position: relative;
  overflow: hidden;
  top: 0;
  left: 0;
}

/*.col .thumbnail {
  display: block;
  position: relative;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}

.col:hover .thumbnail {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}*/

.col:hover .detail {
	display: block;
}

.col .detail {
	height: 40px;
	width: 100px;
	line-height: 40px;
	position: absolute;
	margin: auto;
	top: 0; right: 0;
	bottom: 0; left: 0;
	background-color: transparent;
	color: #E74C3C;
	font-weight: bold;
	border: 2px solid #E74C3C;
	border-radius: 3px;
	text-transform: uppercase;
	transition: 0.5s;
	display: none;
}

.col .detail:hover {
	background-color: rgba(199, 44, 28, 0.2); 
	color: #E74C3C;
	text-shadow: 0px 2px 5px rgba(167, 12, 0, 1);
}


.bot-bar .row {
	overflow: hidden;
    margin: 0.64em auto;
}

.bot-bar .row .col {
    float: left;
    width: 22.75%;
    margin-right: 3%;
}
.bot-bar .row .col:last-child {
    float: right;
    margin-right: 0;
}

.list-menu {
	margin-top: 5px;
}
.list-menu li {
	padding: 5px 0;
	color: #404040;
}

.list-menu li a:hover {
	border-bottom: 1px dotted #404040;
}

.bot-bar .row h3 {
	text-transform: uppercase;
	font-size: 14px;
	color: #1b1b1b;
}



/* float */
.right {
	text-align: right;
}

.red {
	background-color: #e74c3c;

}

.green {
	background-color: #27ae60;
}

.blue {
	background-color: #3498db;
}

.yellow {
	background-color: #f39c12;
}

.white {
	background-color: #ecf0f1;
	color: #34495e !important;
	text-align: left;
	font-size: 24px !important;
	font-weight: 500;
	text-shadow: none !important;
	text-transform: none !important;
}

/* pagavition */
.phantrang {
	width: 100%;
	text-align: center;
	margin: 20px 0;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin: 0 auto;
}

ul.pagination li {display: inline;}

ul.pagination li a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
    margin: 0 4px;
}

ul.pagination li a.active {
    background-color: #3498db;
    color: white;
    border: 1px solid #3498db;
}

ul.pagination li a:hover:not(.active) {background-color: #ddd;}


/* page chi tiết sản phẩm */
.product {
	overflow: hidden;
    margin: 0.64em auto;
    padding: 5px 20px;
}

.product .product-photo {
    float: left;
    width: 60%;
    margin-right: 3%;
    text-align: center;
    border-radius: 3px;
	overflow: hidden;
	position: relative;
	text-align: center;
	padding: 30px;

    border-radius: 3px;
}

.product-slideshow {
	width: 100%;
	height: 400px;
	margin-bottom: 20px;
}

.product .product-photo .list-img {
}

.product .product-photo .list-img img {
	width: 80px;
	height: 80px;
	border: 1px solid #e1e1e1;
}
.product .product-detail {
    float: right;
    width: 37%;
    margin-right: 0;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    padding: 30px;
}

.product-detail h3.prices {
	text-align: center;
	font-weight: 500;
	font-size: 24px;
	color: #C0392B;
	text-transform: uppercase;
	margin-bottom: 20px;
}

.product-detail ul li {
	padding: 5px 0;
}

.product-detail ul {
	margin-bottom: 10px;
}

.product-detail ul.thong-so li{
	border-bottom: 1px solid #e1e1e1;
}

.product-detail button {
	width: 100%;
	margin: 5px;
	border-radius: 3px;
	cursor: pointer;
}

.bai-gioi-thieu {
	width: 100%;
	background-color: #fff;
	padding: 30px 30px 30px 30px;
	text-align: justify;
	font-size: 16px;
}

.bai-gioi-thieu img {
	margin-bottom: 20px;
	max-width: 600px;
	height: auto;
}

.bai-gioi-thieu p {
	margin-bottom: 20px;
}

.bai-gioi-thieu h3 {
	margin-bottom: 10px;
}

/* end page chi tiết sản phẩm */


/* trang liên hệ */
.address {
	width: 100%;

}

.address .col {
	width: 50%;
	float: left;
	padding-left: 100px;
}

.address .col:last-child {
	width: 50%;
	float: right;
	padding-left: 100px;
}

.address .col ul {
	margin: 10px 0 20px 0;
}