/*
Name: Smashing HTML5
Date: July 2009
Description: Sample layout for HTML5 and CSS3 goodness.
Version: 1.0
Author: Enrique RamĂ­rez
Autor URI: http://enrique-ramirez.com
*/

/* Imports */
@import url("reset.css");
@import url("global-forms.css");

/***** Global *****/
/* Body */
body {
    background: #F5F4EF url('../images/bg.png');
    color: #000305;
    font-family: Arial, Verdana,'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', sans-serif;
    line-height: 1.429;
    margin: 0;
    padding: 0;
    text-align: left;
}

/* Headings */
h2 {font-size: 1.571em}    /* 22px */
h3 {font-size: 1.429em}    /* 20px */
h4 {font-size: 1.286em}    /* 18px */
h5 {font-size: 1.143em}    /* 16px */
h6 {font-size: 1em}        /* 14px */

h2, h3, h4, h5, h6 {
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: .8em;
}

/* Anchors */
a {outline: 0;}
a img {border: 0px; text-decoration: none;}
a:link, a:visited {
    color: #2c7ba9;
    padding: 0 1px;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: none;
}

/* Paragraphs */
p {margin-bottom: 1.143em;}
* p:last-child {margin-bottom: 0;}

strong, b {font-weight: bold;}
em, i {font-style: italic;}

::-moz-selection {background: #F6CF74; color: #fff;}
::selection {background: #F6CF74; color: #fff;}

/* Lists */
ul {
    list-style: outside disc;
    margin: 1em 0 1.5em 1.5em;
}

ol {
    list-style: outside decimal;
    margin: 1em 0 1.5em 1.5em;
}

dl {margin: 0 0 1.5em 0;}
dt {font-weight: bold;}
dd {margin-left: 1.5em;}

/* Quotes */
blockquote {font-style: italic;}
cite {}

q {}

/* Tables */
table {margin: 0; }         

.widget table{width:98%;}

.bor_ctd{width: 98%;}

/* Thead */
thead th {padding: .5em .4em; text-align: left;}
thead td {}

/* Tbody */
tbody td {padding: .5em .4em;}
tbody th {}

tbody .alt td {}
tbody .alt th {}

/* Tfoot */
tfoot th {}
tfoot td {}

/* HTML5 tags */
header, section, footer,
aside, nav, article, figure {
    display: block;
}

/***** Layout *****/
.body {clear: both; margin: 0 auto; width: 1000px;}
img.right figure.right {float: right; margin: 0 0 2em 2em;}
img.left, figure.left {float: right; margin: 0 0 2em 2em;}

#wrapper{
    width: 1000px;
    margin: 0 auto;
    clear: both;
}

body{
    background: url(images/shadow.jpg) repeat-y center;
    font-size: 12px;
}

/*
Header
*****************/
#banner {
    margin: 0 auto;
    padding: 0.5em 0 0;
    position: relative;
}

/* Banner */
#banner h1{
    float: left;
    margin-left: 10px;
    margin-top: 10px;
}
#banner h1 a{
    background: url(images/logo.png) no-repeat left;
    width: 194px;
    height: 94px;
    float: left;
    text-indent: -9999px;
}

/* Main Nav */
#banner nav {
    float: right;
}

#banner nav ul {list-style: none;}
#banner nav li {float: left; display: inline; margin: 0;}

#banner nav a:link, #banner nav a:visited {

}
#banner nav a:hover, #banner nav a:active,
#banner nav .active a:link, #banner nav .active a:visited {

}

#banner nav li:first-child a {

}

#banner nav ul.menu{
    float: left;
    margin: 0 40px 0 0;
    padding: 0;
}

#banner nav ul.menu li a{
    color: #636363;
    text-decoration: none;
    padding: 0 10px;
    font-size: 12px;
}

#banner nav ul.lang{
    float: right;
    margin: 0;
    padding: 0;
}

#banner nav ul.lang .vi a{
    background: url(images/vi.png) no-repeat;
    float: left;
    width: 33px;
    height: 19px;
    text-decoration: none;
}

#banner nav ul.lang .en a{
    background: url(images/en.png) no-repeat;
    float: left;
    width: 33px;
    height: 19px;
    text-decoration: none;
}

/*
Featured
*****************/
#featured {
    background: #fff;
    margin-bottom: 2em;
    overflow: hidden;
    padding: 20px;
    width: 960px;

    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#featured figure {
    border: 2px solid #eee;
    float: right;
    margin: 0.786em 2em 0 5em;
    width: 248px;
}
#featured figure img {display: block; float: right;}

#featured h2 {color: #C74451; font-size: 1.714em; margin-bottom: 0.333em;}
#featured h3 {font-size: 1.429em; margin-bottom: .5em;}

#featured h3 a:link, #featured h3 a:visited {color: #000305; text-decoration: none;}
#featured h3 a:hover, #featured h3 a:active {color: #fff;}

/*
Body
*****************/
#content {
    background: #fff;
    margin-bottom: 2em;
    overflow: hidden;
    float: left;
    width: 100%;
    margin-top: 40px;
}

#content #sidebar{
    float: left;
    width: 225px;
}

#content #sidebar .widget {
    margin-bottom: 10px;
}

#content #sidebar .widget .title{
    background: #2c7ba9;
    line-height: 30px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
}

#content #sidebar .widget ul{
    margin: 10px 15px;
}

#content #sidebar .widget .area{
    border: #dbdbdb solid 1px;
}

#content #sidebar .widget ul li{
    background: url(images/li.png) no-repeat left 8px;
    padding-left: 15px;
    list-style-type: none;
}

#content #sidebar .widget ul li a{
    color: #2c7ba9;
    text-decoration: none;
    line-height: 25px;
}

#content #main{
    float: right;
    margin-right: 5px;
    width: 755px;
}

#breadcrumb{
    border-bottom: #dbdbdb solid 1px;
    padding-bottom: 5px;
    float: left;
    width: 100%;
    margin-bottom: 10px;
}

#breadcrumb ul{
    margin: 0;
    padding: 0;
}

#breadcrumb ul li{
    list-style-type: none;
    float: left;
    margin-right: 5px;
}

#webbanner{
    float: left;
    margin-bottom: 20px;
    margin-right: 10px;
    margin-top: 30px;
    width: 710px;
}

/*
Extras
*****************/
#extras {margin: 0 auto 3em auto; overflow: hidden;}

#extras ul {list-style: none; margin: 0;}
#extras li {border-bottom: 1px solid #fff;}
#extras h2 {
    color: #C74350;
    font-size: 1.429em;
    margin-bottom: .25em;
    padding: 0 3px;
}

#extras a:link, #extras a:visited {
    color: #444;
    display: block;
    border-bottom: 1px solid #F4E3E3;
    text-decoration: none;
    padding: .3em .25em;
}

#extras li:last-child,
#extras li:last-child a {border: 0}

#extras .blogroll li:nth-last-child(2),
#extras .blogroll li:nth-last-child(3),
#extras .blogroll li:nth-last-child(2) a,
#extras .blogroll li:nth-last-child(3) a {border: 0;}

#extras a:hover, #extras a:active {color: #fff;}

/* Blogroll */
#extras .blogroll {
    float: left;
    width: 615px;
}

#extras .blogroll li {float: left; margin: 0 20px 0 0; width: 185px;}

/* Social */
#extras .social {
    float: right;
    width: 175px;
}

#extras div[class='social'] a {
    background-repeat: no-repeat;
    background-position: 3px 6px;
    padding-left: 25px;
}

/* Icons */
.social a[href*='delicious.com'] {background-image: url('../images/icons/delicious.png');}
.social a[href*='digg.com'] {background-image: url('../images/icons/digg.png');}
.social a[href*='facebook.com'] {background-image: url('../images/icons/facebook.png');}
.social a[href*='last.fm'], .social a[href*='lastfm.'] {background-image: url('../images/icons/lastfm.png');}
.social a[href*='/feed/'] {background-image: url('../images/icons/rss.png');}
.social a[href*='twitter.com'] {background-image: url('../images/icons/twitter.png');}

/*
About
*****************/
#about {
    background: #fff;
    font-style: normal;
    margin-bottom: 2em;
    overflow: hidden;
    padding: 20px;
    text-align: left;
    width: 960px;

    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#about .primary {float: left; width: 165px;}
#about .primary strong {color: #C64350; display: block; font-size: 1.286em;}
#about .photo {float: left; margin: 5px 20px;}

#about .url:link, #about .url:visited {text-decoration: none;}

#about .bio {float: right; width: 500px;}

/*
Footer
*****************/
#contentinfo {
    padding-bottom: 2em; text-align: right;
    border-top: #dbdbdb solid 2px;
    float: left;
    width: 100%;
}

#contentinfo #partner-small{
    float: left;
    width: 100%;
    margin-bottom: 5px;
}

#contentinfo #partner-small li{
    float: left;
    list-style-type: none;
    margin-right: 10px;
}

#contentinfo #partner-small li a img{
    height: 50px;
    width: auto;
}

#contentinfo address{
    float: left;
    padding-left: 10px;
    text-align: left;
    width: 980px;
    font-style: normal;
    font-size: 11px;
}

#contentinfo #footer-copy{
    float: left;
    width: 100%;
    border-top: #dbdbdb solid 2px;
    padding-top: 10px;
}

#contentinfo #footer-copy .footer-left{
    float: left;
    font-size: 11px;
    margin-left: 5px;
}

#contentinfo #footer-copy .footer-right{
    font-size: 12px;
    margin-right: 5px;
}

/***** Sections *****/
/* Blog */
.hentry {
    border-bottom: 1px solid #eee;
    padding: 1.5em 0;
}
li:last-child .hentry, #content > .hentry {border: 0; margin: 0;}
#content > .hentry {padding: 1em 0;}

.entry-title {font-size: 1.429em; margin-bottom: 0;}
.entry-title a:link, .entry-title a:visited {text-decoration: none;}

.hentry .post-info * {font-style: normal;}

/* Content */
.hentry footer {margin-bottom: 2em;}
.hentry footer address {display: inline;}
#posts-list footer address {display: block;}

/* Blog Index */
#posts-list {list-style: none; margin: 0;}
#posts-list .hentry {padding-left: 200px; position: relative;}
#posts-list .hentry:hover {
    background: #C64350;
    color: #fff;
}
#posts-list .hentry:hover a:link, #posts-list .hentry:hover a:visited {
    color: #F6CF74;
    text-shadow: 1px 1px 1px #333;
}

#posts-list footer {
    left: 10px;
    position: absolute;
    top: 1.5em;
    width: 190px;
}

/* About the Author */
#about-author {
    background: #f9f9f9;
    clear: both;
    font-style: normal;
    margin: 2em 0;
    padding: 10px 20px 15px 20px;

    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#about-author strong {
    color: #C64350;
    clear: both;
    display: block;
    font-size: 1.429em;
}

#about-author .photo {border: 1px solid #ddd; float: left; margin: 5px 1em 0 0;}

/* Comments */
#comments-list {list-style: none; margin: 0 1em;}
#comments-list blockquote {
    background: #f8f8f8;
    clear: both;
    font-style: normal;
    margin: 0;
    padding: 15px 20px;

    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
#comments-list footer {color: #888; padding: .5em 1em 0 0; text-align: right;}

#comments-list li:nth-child(2n) blockquote {background: #F5f5f5;}

/* Add a Comment */
#add-comment label {clear: left; float: left; text-align: left; width: 150px;}
#add-comment input[type='text'],
#add-comment input[type='email'],
#add-comment input[type='url'] {float: left; width: 200px;}

#add-comment textarea {float: left; height: 150px; width: 495px;}

#add-comment p.req {clear: both; margin: 0 .5em 1em 0; text-align: right;}

#add-comment input[type='submit'] {float: right; margin: 0 .5em;}
#add-comment * {margin-bottom: .5em;}


.box-content .catalog{
    float: left;
    width: 100%;
}

.item{
    float: left;
    margin-right: 10px;
    text-align: center;
    width: 170px;
    min-height: 255px;
}

.item .thumbs{
    width: 100%;
    text-align: center;
}

.item .thumbs a{
    width: 150px;
    height: 150px;
    overflow: hidden;
    margin-bottom: 10px;
    float: left;
}

.item .thumbs a img{
    width: 150px;
}

#list-product{
    float: left;
    width: 100%;
}

p{
    margin: 0;
}

.homepage .text-title{
    color: #636363;
    text-transform: uppercase;
    width: 100%;
    float: left;
    margin-bottom: 5px;
}

.homepage .about,.homepage .news{
    margin-bottom: 10px;
    float: left;
    width: 97%;
    padding: 10px;
}

.homepage .item{
    float: left;
    margin-right: 5px;
    width: 375px;
    min-height: 140px;
}

.homepage .news .text-title{
    border-bottom: #dbdbdb solid 1px;     
}

.homepage .news img{
    float: left;
    margin-right: 10px;
}

.homepage .news .news-title,.catalog .about .text-title{
    font-weight: bold;
}

.catalog .about .text-title{
    margin-bottom: 10px;
}

.catalog .about .alignleft{
    float: left;
    margin-right: 10px;
}

.catalog .about h3{
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}

.catalog .about{
    float: left;
    width: 100%;
    padding-bottom: 10px;
    border-bottom: #CCC solid 1px;
}

.homepage .about img{
    float: left;
    margin-right: 5px;
}

.homepage .about a,.homepage .about a:visited{
    color: #636363;
}

.homepage .gioithieu{
    font-weight: bold;
    font-size: 14px;
}

.readmore{
    float: right;
}

.homepage .partner{
    padding: 10px;
}

.partner .text-title{
    color: #2c7ba9;
    font-style: italic;
    font-weight: bold;
    border-bottom: #dbdbdb solid 2px;
}

#partner-list ul{
    margin: 10px 0 0 0;
    float: left;
    width: 100%;
}

#partner-list ul li{
    list-style-type: none;
    float: left;
    width: 176px;
    height: 80px;
    overflow: hidden;
    border: #CCC solid 1px;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: center;
}

#partner-list ul li a img{
    max-width: 176px;
    max-height: 80px;
}

.detail #preview{
    float: left;
    width: 300px;
    text-align: center;
    margin-right: 30px;
    margin-left: 15px;
}

.detail #preview img{
    max-width: 300px;
}

.detail #detail{
    float: left;
    width: 400px;
}

.detail #name{
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #2c7ba9;
}

.detail #catalog,.detail #model,.detail #price{
    float: left;
    width: 100%;
}

.detail #catalog span,.detail #model span,.detail #price span{
    font-weight: bold;
    float: left;
    margin-right: 10px;
    line-height: 25px;
}

.detail #price strong{
    color: red;
}

.detail fieldset{
    margin: 0;
    background: none;
    padding: 0;
    float: left;
    width: 100%;
}

.detail fieldset legend{
    padding: 0;
    margin: 0;
    height: 22px;
}

.detail fieldset #info{
    border: #ccc solid 1px;
    padding: 10px;
}    

.bigbox-content img{
    margin-right: 10px;
}

.box-news h4{
    font-weight: bold;
    margin: 0;
    float: left;
    width: 100%;
    color: #2c7ba9;
}

.box-news .date{
    float: left;
    width: 100%;
    margin-bottom: 10px;
    font-size: 11px;
    color: #636363;
}

.box-news{
    font-size: 12px;
}

.contact{
    margin-left: 15px;
    width: 600px;
}

.contact .label{
    float: left;
    width: 100px;
}

#contact p{
    float: left;
    width: 100%;
}

#contact p input{
    width: 300px;
}

#contact p #scode{
    width: 70px;
}

#contact p .buttom{
    width: 70px;
    margin-top: 5px;
}

.contact textarea{
    width: 300px;
    height: 100px;
}

#search{
    float: right;
}

#search .button{
    border-radius: 0;
    background: #2c7ba9;
    padding: 2px 10px 1px 10px;
}

.pagi{
    float: left;
    width: 100%;
}

.search h3{
    font-size: 12px;
    font-weight: bold;
}

.search{
    padding: 10px;
}

#statistic{
    padding: 10px;
}

.news .crop{
    float: left;
    margin-right: 5px;
}

.news h4{
    margin-bottom: 5px;
}

.box-content,.bigbox-content,.news{
    float: left;
    width: 100%;
}

#content #sidebar .widget ul.sub-menu{
    margin: 0;
    display: none;
}

.citems{
    float: left;
    width: 100%;
    margin-bottom: 10px;
    border-bottom: dotted 1px #CCC;
    padding-bottom: 10px;
}

.citems a.title{
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 5px;
}

.citems img{
    float: left;
    width: 80px;
    height: auto;
    margin-right: 5px;
}

#webbanner img{
    max-width: 710px;
}