/* reset */
h1 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* style */
body {
	font-family:  Arial, Helvetica, Verdana, sans-serif;
	font-size:12px;
	margin: 0;
	padding: 0;
	color: #000;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. For consistency, you can either specify the amounts you want here, or on the list items (LI, DT, DD) they contain. Remember that what you do here will cascade to the .nav list unless you write a more specific selector. */
	padding: 0;
	margin: 0;
	line-height:18px;
}
p{line-height:18px; margin-bottom:10px;}
a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}

/* ~~ Styling for your site's links must remain in this order - including the group of selectors that create the hover effect. ~~ */
a:link {
	color: #42413C;
	text-decoration:none;
	 /* unless you style your links to look extremely unique, it's best to provide underlines for quick visual identification */
}
a:visited {color: black}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: underline;
	color: black;
}

/* ~~this fixed width container surrounds the other divs~~ */
.container {
	width: 960px;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

/* ~~ the header is not given a width. It will extend the full width of your layout. It contains an image placeholder that should be replaced with your own linked logo ~~ */
.wrapper-header{position: relative; width:100%; /* background: url(../img/front-end/bg-header.jpg) no-repeat bottom right;*/ height: 203px; z-index: 100;}
.header {
    position:relative;
    margin: 0px auto;
	clear:both;
    width: 960px;    
    /* background: url(../img/front-end/bg-header-on.jpg) no-repeat bottom right white;*/
	height: 100%;
	overflow: hidden;
}
	.logo{float:left; width:230px; text-align: center;}
    .logo img {margin:0px auto;}
	.name{ width:100%; }
	.header .name img { width: 960px; height: 203px; }
	.menu{float:left;; clear:left; width:100%; background: url(../img/front-end/bg-menu.jpg) repeat-x; margin:0px; position: relative; }
		.menu-beginning{float: left; width: 35px; height:75px;}
		.menu-body{position: relative; height: 51px; width: 960px; margin: auto;background: url(../img/front-end/bg-menu.jpg) repeat-x;}
			ul.top-menu{position: relative; float: right;right: 50%;}
			ul.top-menu > li{position: relative; left: 50%;}
			.menu ul{list-style:none; }
			.menu li{margin-right:20px; text-transform:uppercase;}
			.menu li a {font-size:13px; font-weight:bold; line-height:51px; color:white; text-decoration:none;}
			 .active {color: #FEF400!important;}
			.search{float:left; margin-top:24px;}
				.search input[type='submit']{background-color:#838182; color: white; border: none; height: 22px;}
			     .searchTerm {margin-top:20px;}

/* ~~ These are the columns for the layout. ~~ 

1) Padding is only placed on the top and/or bottom of the divs. The elements within these divs have padding on their sides. This saves you from any "box model math". Keep in mind, if you add any side padding or border to the div itself, it will be added to the width you define to create the *total* width. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design. You may also choose to remove the padding on the element in the div and place a second div within it with no width and the padding necessary for your design.

2) No margin has been given to the columns since they are all floated. If you must add margin, avoid placing it on the side you're floating toward (for example: a right margin on a div set to float right). Many times, padding can be used instead. For divs where this rule must be broken, you should add a "display:inline" declaration to the div's rule to tame a bug where some versions of Internet Explorer double the margin.

3) Since classes can be used multiple times in a document (and an element can also have multiple classes applied), the columns have been assigned class names instead of IDs. For example, two sidebar divs could be stacked if necessary. These can very easily be changed to IDs if that's your preference, as long as you'll only be using them once per document.

4) If you prefer your nav on the right instead of the left, simply float these columns the opposite direction (all right instead of all left) and they'll render in reverse order. There's no need to move the divs around in the HTML source.

*/
.sidebar1 {
	float: left;
	width: 300px;
	padding-bottom: 10px;
	margin-right: 20px;
}
	.sidebar1 .leftmenu-top{width:100%; height:47px; position: relative;}
		.sidebar1 .leftmenu-top .first{background:url(../img/front-end/leftmenu_beginning.jpg) no-repeat; top: 0; left: 0; position: absolute; width:17px; height:48px;}
		.sidebar1 .leftmenu-top .middle{background:url(../img/front-end/leftmenu_bg.jpg) repeat-x; height:48px; line-height:48px; padding-left:22px;}
		.sidebar1 .leftmenu-top .end{background:url(../img/front-end/leftmenu_ending.jpg) no-repeat; position: absolute; top: 0; right: 0; width:9px; height:48px;}
	.sidebar1 .leftmenu-body{border:#C9C9C9 solid 1px; padding-top:6px; padding-right:11px; margin-left:11px;margin-right: 5px;}
	.sidebar1 .leftmenu-body img {max-width:220px; height:auto; margin:0px 11px 8px 0px;}
    #contact-info {padding:10px;}	
.content {
	padding: 23px 20px 10px 30px;
	float: left;
	width: 100%;
}
.big-title, h1 {font-size:24px; text-transform: uppercase; color:#CA1F4B;padding-top:10px; font-weight: bold; font-family: Times,serif; text-align: center; text-decoration:underline;}
.middle-title {font-size:18px; text-transform: uppercase;padding-top:10px;}
.leftmenu-top .title-menu {color:#CA1F4B}
.intro-content {margin-top:20px;}
.readmore {width: 100%; padding-bottom:30px;}
.readmore a{float:right; color:#CA1F4B; padding-right:10px;}

.article-content img {max-width:600px;}
.article-content a {
	color: blue;
}

.product {width:100%; overflow:hidden; margin-left:-3px; height: auto; padding-bottom:10px;}
.product div {float:left;}
	.product-top .first{background:url(../img/front-end/sanpham_beginning.jpg) no-repeat; width:11px; height:43px}
	.product-top .middle{background:url(../img/front-end/menu_background-26.jpg) repeat-x; width:620px; height:43px; line-height:43px;}
	.product-top .end{background:url(../img/front-end/sanpham_ending.jpg) no-repeat; width:11px; height:43px;}
	.product-top .middle {text-indent: 10px;}
    .product-top .title-menu {color:#CA1F4B}
    
	.product-body {width:630px; margin-left:5px; border:#C4C4C4 solid 1px; border-top:none;}
	/*.product-body img {width:130px; height:130px}*/
	.product-body ul {list-style:none; margin-left:-27px;}
	.product-body li {display:inline-block; width:118px;height:130px; margin-left:4px; margin-right:4px;}
    .product-body li img {width:100px; height:105px;}
	.product-body li a {text-align:center; display:block;font-size:10px;line-height:20px; font-weight:bold; margin-top:2px;}

.title-menu {color:black; font-weight:bold; text-transform:uppercase;}
/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol { 
	padding: 0 15px 0px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
ul.nav {
	list-style: none; /* this removes the list marker */
	margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}
ul.nav a, ul.nav a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 4px 4px 4px 20px;
	display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
	width: 160px;  /*this width makes the entire button clickable for IE6. If you don't need to support IE6, it can be removed. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
	text-decoration: none;
}
ul.nav a:hover, ul.nav a:active, ul.nav a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	text-decoration:underline;
}

/* ~~ The footer ~~ */
.wrapper-footer{clear: both;width: 100%; overflow: hidden; padding-bottom:1px;}
.footer {
    margin:0px auto;
    width:960px;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
    border-top: 2px solid gray;
    margin-top:20px; 
    padding-top:5px;
	padding-bottom:10px;
    overflow: hidden;
}
.footer img {float:right}
.footer-menu{float: left; margin-top:10px; margin-left:20px; width:500px; color:black}
.footer-menu a {color:black; margin:0px 3px}
.policy p {font-size:11px; margin:0px; padding:0; line-height:19px}
.policy {width:500px; float:left; padding-top:5px; padding-left:24px}

/* ~~ miscellaneous float/clear classes ~~ */
.fltrt {  /* this class can be used to float an element right in your page. The floated element must precede the element it should be next to on the page. */
	float: right;
	margin-left: 8px;
}
.fltlft { /* this class can be used to float an element left in your page. The floated element must precede the element it should be next to on the page. */
	float: left;
	margin-right: 8px;
}
.clearfloat { /* this class can be placed on a <br /> or empty div as the final element following the last floated div (within the #container) if the #footer is removed or taken out of the #container */
	clear:both;
	height:0;
	font-size: 1px;
	line-height: 0px;
}
-->
#InquiryAddForm {margin:15px 0px 0px 0px;}
.form-contact {border:1px solid #C9C9C9;  padding:20px 0px 20px 20px}
.form-contact label {display: block; float: left; width: 100px; line-height: 26px;}
.form-contact .input-group {margin:2px 0px;clear:both;float:left;width:100%;}
.form-contact input {float:left; margin-right: 10px;}
#cryptogram {margin-left:99px;height:40px;width:130px;}
#InquiryCaptcha {margin-left:102px;}
.form-contact button {margin-left:100px;}

.product-title-category {width: 100%;  margin: 6px 0px; font-size:14px; line-height: 30px; text-transform: uppercase; font-weight: bold; color: #CA1F4B;}
.list-product {padding:5px 0px;}
.list-product ul {list-style: none; padding:0px!important}
.list-product li {display:inline-block; width:118px;height:200px; margin-right:8px; vertical-align:top;}
.list-product li img {width: 118px; height: 130px}
.list-product li a {text-align:center; display:block;font-size:10px;line-height:20px; font-weight:bold; margin-top:2px;}

.bread-crumb {width: 100%; border-bottom:1px solid #C9C9C9; margin-top:5px; margin-bottom:10px;}
.bread-crumb a{line-height:30px; font-size:12px; font-weight:bold; text-transform: uppercase; color: black;}
.small-title {text-transform: uppercase; color:#CA1F4B; font-weight: bold; font-size:16px}

.highlight {background-color: yellow}
.div_search_result ul {padding:0px; list-style: none; margin-top:20px;}
.div_search_result ul li {margin-bottom: 10px;}
.div_search_result ul li h3 {margin:3px;}
.div_search_result .paging {text-align: right; margin-top: 20px; width: 100%}

#flashMessage {margin:10px 0px;}
#flashMessage, .error-message {color: red;}
.error-message {width:auto; line-height:26px}
/**************** CSS DROP DOWN MENU *****************/
.top-menu {
	height: 51px;
}
.top-menu>li {
	position: relative;
	display: block;
	float: left;
}
.top-menu > li > ul {
	position: absolute;
	width: 200px;
	left:-20px;
    top: 51px;
	border: 1px solid #F0F9FE;
	border-top: none;
	display: none;
}
.top-menu ul {
	display: none;
	background: #14943de6;
	position: absolute;
}
.top-menu ul ul {
	left: 100%;
	top: 0;
	margin-left: 2px;
	white-space: nowrap;
	min-width: 200px;
}
.top-menu ul li.sub-menu:after {
	content: "\25ba";
	float: right;
	color: white;
}
.top-menu ul li {
	display: block;
	padding: 5px 20px;
	position: relative;
	margin-right: 0px;
}
.top-menu ul li a {
	text-transform: capitalize;
	line-height: 160%;		
}
.top-menu li:hover {
	text-decoration: underline;
}
.top-menu li:hover > ul{
	display: block;
}
.top-menu li.selected > a {
	text-decoration: underline;
	color: #ffff00;
}
/********* CSS FOOTER **********/
.footer {
	padding: 15px 0px;
}
.group1,.group2,.live-chat {
	overflow: hidden;
}
.group1 {
	float: left;	
}
.group2 {
	float: right;
}
.bottom-menu,.policy {
	float: left;
}
.yahoo-chat,.skype-chat {
	float: right;
	margin-left: 10px;
}
.skype-chat p {
	margin: 0px;
}
.skype-chat p img {
	margin: 0px!important;
	height: 26px;
}
.bottom-menu {
	padding-bottom: 10px;
}
.bottom-menu a {
	margin: 0px 5px;
}
.design-by {
	margin-left: 5px;
	font-size: 11px;
}
.footer-content {
	margin-left: 5px;
	font-size: 11px;
}
.footer-content p {
	line-height: 1em;
	margin-bottom: 0.5em;
	margin-top: 0.5em;
}
.addthis {
	float: right;
}

.popup-container {
	width: 800px;
}
.popup-content {
	padding: 0px 10px 10px 10px;
}
