/*   
Theme Name: Nghia van - Sinh Nam	
Description: This is Nghia Van - Sinh Nam theme, built by Nghia van.
Author: Nghia Van
Version: 1
*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, menu, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, menu, section {
	display: block;
}
body {
	font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;
	line-height: 1;
	background: url('images/bg.png') repeat-x;
	font-size:14px;
	line-height:21px;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/**********************************************************/
#wrapper{width:1000px;overflow:hidden;margin:0 auto; background: #fff; }
#header{width:1000px; height:165px; background: url('images/bg_header.png') repeat-x bottom; border-top:4px solid #1d3b6d;}
#logo{float:left;width:385px;height:85px;}
h1.logo_link a{display:block; width:385px; height:85px; background: url(images/logo.png) no-repeat; text-indent:-999px;}

ul.menu-lang{width:130px; height:35px; float:right;margin-top:5px;}
ul.menu-lang li {display:block; margin-left:10px; width:35px; float:left; text-indent:-9999px;}
ul.menu-lang li:first-child {background:url('images/en_flag.png') no-repeat;}
ul.menu-lang li:last-child {background:url('images/vi_flag.png') no-repeat;}
ul.menu-lang li a{display:block; text-decoration:none; font-size:12px !important;}
ul.menu{width:800px;height:50px;float:left;margin:20px 100px 20px 60px; border-bottom:1px solisd #bbb;}
ul.menu li{display:inline-block; margin-left:-5px; padding:0 15px; line-height:45px; text-align:center; background:url("images/menu-line.png") no-repeat right;}
ul.menu li:last-child{background-image:none;}
ul.menu li:first-child>a{color:#2B5DC0 !important;}
ul.menu li:hover{border-bottom:2px solid #1d3b6d;}
ul.menu li:hover a, ul.menu li.current-menu-item > a{color: red;}

/*************************************************************/
#featured{width:1000px; overflow:hidden; float:left; margin:10px 0 20px 0;}
ul.menu li a{display:block; width:100%; text-decoration:none; font-weight:700; color:#2B5DC0; font-size:14px; text-transform:uppercase;}
#about{width:550px; float:left; overflow:hidden; margin:0 10px 0 10px;}
.post-item{width:550px; overflow:hidden; float:left; text-align:justify; margin-top:15px;}
#about .post-item img{width:550px; height:300px; margin-top:25px; margin-bottom:10px; opacity:0.8;}
#about .post-item img:hover{opacity:1;}
p.qoute{font-size:14px; font-style:italic; font-weight:700; width:470px; background: url('images/quotes_left.png') top left no-repeat, url('images/quotes_right.png') bottom right no-repeat; padding:10px 40px; overflow:hidden; color:#2B5DC0;}
.more{width:80px; height:25px; float:right; color: #1d3b6d;}
h2{border-bottom:1px solid #bbb; font-size:16px;font-weight:700; color: #1d3b6d;padding:5px;}

/***************************************************************/
#subcol{width:400px; float:left; margin-left:30px;}
#subcol ul.ul-sub{width: 420px; overflow:hidden;float:left; margin-top:40px;}
#subcol ul.ul-sub li{display:inline-block; width:200px; height:170px; margin:0 0 5px 0; float:left;}
#subcol ul.ul-sub li img{width:196px; height:170px;display: block; margin-left: auto;   margin-right: auto;}
a.i_title{display:none; position:absolute; width:186px; height:60px; margin:-60px 5px 0 1px;padding:0 5px; font-size:12px; text-decoration:none; line-height:17px; text-transform:capitalize; background-color: rgba(0, 0, 0, 0.4);  color:#f8f8f8;z-index:1000; overflow:hidden;}
#subcol ul.ul-sub li:hover a{display:block;}
.tier-1{width:1000px; float:left; border-bottom:1px solid #bbb; padding:0 0 75px 0;}
.tier-2{width:1000px; float:left; margin-bottom:20px;}
.tier-2 h3{font-weight:bold; font-size:16px; text-align:center; color: #1d3b6d; margin:10px 0;}
.col{background:#eee; width:480px; height:420px; float:left; overflow:hidden; padding:10px;}
.col img{width:450px; height:250px; display: block; margin-left: auto;   margin-right: auto; border:10px solid #fff;}
.col p.d_post{color:#2B5DC0; margin-top:10px;}
.col ul li{display:inline-block;}
.col ul li img{width:150px; height:150px; display: block; margin-left: auto;   margin-right: auto; border:1px solid #fff;}
.col ul li img:hover{border:1px solid #1d3b6d;}
.col:hover{background:#ddd;}
.col p{width:450px; margin:0 auto; overflow:hidden; padding-bottom:15px;}
#custome{width:1000px; overflow:hidden; float:left; margin-top:15px;}
#scroller{width:1000px;float:left; margin-top:40px;}
#scroller li{display:inline; margin-left:10px;}
#scroller li img{width:150px; height:120px;}
#footer{width:1000px; height:150px; float:left; background: url('images/mainbg.png') repeat; margin-top:15px;}
#footer .c1{width:310px; margin:10px; float:left; color:#f8f8f8;}
#footer .c1 h3{font-weight:bold; margin:8px; font-size:16px;}
#footer .c1 p{font-size:13px; font-weight:normal;}
/************************* Sub page *************************************/
/*--------------------- About ----------------------------------------*/
#sub-content{width:610px; overflow:hidden; float:left; margin-top:0px;padding:0 30px 40px 10px; background: uurl("images/bg_sub.png") repeat-y right;}
#sub-content h3.title{font-size:16px; font-weight:700; margin:10px 0;}
#sub-content p{text-align:justify;}
#sidebar{width:330px; float:right; margin-top:20px; padding:0 5px 0 10px; background: url("images/sidebarbg.png") repeat-y left;}
#sidebar ul.sub{width:325px; float:left; margin-left:5px;}
#sidebar ul.sub li{display:block; width:325px; height:110px; margin:5px 0; padding:5px 0;}
#sidebar ul.sub li:hover{background:#ddd;}
#sidebar ul.sub li a img{width:110px; height:100px; float:left; border:3px solid #eee;}
#sidebar ul.sub li a.i_sub{display:block; width:190px; height:40px; margin:10px 5px; float:left; font-size:12px;color:#111; text-decoration:none; text-transform:uppercase;}
/************************** Projects *************************/
.p-item{width:630px; overflow:hidden; padding:10px 0 20px 0; border-bottom:1px solid #ccc;}
.p-item img{width:200px; height:160px; float:left; padding:5px; background:#f1f1f1; margin-right:15px;}
.p-item a.p-title{text-transform:uppercase; color: #0167B9; font-weight:700; text-decoration:none; float:left;}
.p-item a.p-title:hover{text-decoration:underline;}
/*.p-item div{ width:350px; margin-left:15px; float:left;}*/
/******************** Single **********************************/
.post-entry{width: 630px; float:left; overflow:hidden;}
h3.single-title, h3.related-title{font-size:14px; font-weight:700; maring:15px 0; text-transform: uppercase; margin-bottom:20px;}
.post-entry  img {
    width: auto;
    max-height: 450px;
    height: auto;
    display: block;
    float: none;
    margin: 0 auto 20px auto;
}
.relatedcat{width:630px; overflow:hidden; float:left; margin-top:70px; border-top:1px solid #ddd; padding-top:10px;}
.product{width:200px;float:left;overflow:hidden;margin:15px 10px 20px 0px;}
.product img{width:150px !important;height:140px;zoom:1; display:block;margin-left:auto; margin-right:auto;}
a.p_title{width:210px;line-height: 17px;margin:10px 0 15px 5px;font-weight:700;text-decoration:none;color: #555;}
a.p_title:hover{text-decoration:underline; color:#f90;}
.product a.p_title{font-weight:600; font-size:12px;float:left !important;}
/************************** Category *****************************/
.video{width:330px; float:left; margin-top:15px; overflow:hidden;}
/**************************** Page *****************************************/

/*********************************************************************/
.breadcrumbs{width:630px; margin:25px 10px; float:left; border-top:1px solid #aaa; border-bottom:1px solid #aaa; padding:2px 0; text-transform:uppercase;}
.breadcrumbs a{text-decoration:none; }






























