/*
Theme Name: tvan
Description: Took me a long time design this layout
Version: 5.0
Author: Yvy


*/


/************************************************
*	html body body body body body         *
************************************************/
html, body {
		margin:0;
		padding:0;
		color:#000;
		background:#ffffff url(/wordpress/wp-content/themes/tvan/images/bg.png) repeat-x left top;
	}
/************************************************
*	container DIV WRAPPER DIV	         *
************************************************/
	#wrap {
		width:1070px;
		margin: 0 auto;
		background:#ffffff url(/wordpress/wp-content/themes/tvan/images/contentbg.png) no-repeat center top;
                position:relative;
	}







/************************************************
*	HEADER div header div		         *
************************************************/
#header {
    		padding:0px 0px;
		height:182px;
		width:1070px;
		background: url(/wordpress/wp-content/themes/tvan/images/index_01.png) no-repeat;
	}
	
/************************************************
*	NAV and NAV LINKS AND CUSTOMIZATIION     *
************************************************/
	#nav {
		position: relative;
                padding:5px 10px;
		padding-left: 43px;
                padding-right: 43px;
		height:33px;
		width:1070px;
		background: url(/wordpress/wp-content/themes/tvan/images/index_02.png) no-repeat;
	}
	
     #nav ul {
                color: #fff;
                margin:0;
		padding:0;
		list-style:none;
	}
	#nav li {
		display:inline;
		margin:0;
		padding-right:5px;
                padding-left:5px;
                border-right: solid 1px #fff;
	}
        #nav a {
	        font: 1.5em "Times New Roman", "Lucida Console";
                color: #3f4856;
                letter-spacing: .1em;
                text-decoration: none;
             
}
     #nav a:hover {
	        font: 1.5em "Times New Roman", "Lucida Console";
                color: #ffffff;
                letter-spacing: .1em;
                background: #3f4856;
}

     #nav li li a:hover {
	        font: 1em "Times New Roman", "Lucida Console";
                color: #3f4856;
                letter-spacing: .1em;
                background: #ffffff;
}






/************************************************
*	CONTENT DIV CONTENT DIV		        *
************************************************/
	#bodycontent {
		margin-left: 50px;
		float:left;
		width:780px;
		padding:0px;
		background:#ffffff;
                display: inline;
}

/************************************************
*	Random featured post GhiChep Cat	  *
************************************************/
#box {
	margin:0 auto;
       width:778px;
       padding:0;
}

.featuredpost {
        width: 47%;
        height: 210px;
	font-size: 0.9em;
	background: #333 url(/wordpress/wp-content/themes/tvan/images/ghichepbg.gif);
	color: #000;
	padding: 5px;
        letter-spacing: .002em;
        float: left;
        border: solid 1px #333;
        display: inline;
        margin:  5px 0 15px;
} 
.featuredpost h2 {
	margin-top: 0;
        color: #333;
        font: bold 1.5em "Times New Roman", "Lucida Console", Georgia;
        text-decoration: underline;
        letter-spacing: .01em;
        text-align: center;
}
.featuredpost h2 a:hover {
	color: #fff;
}
.featuredpost a {
	color: #333;
        font: bold 1.2em "Times New Roman", "Lucida Console", Georgia;
}
.featuredpost a:hover {
	color: #fff;
        font: bold 1.2em "Times New Roman", "Lucida Console", Georgia;
}
/************************************************
*	featured post specific		      *
************************************************/
#featuredposts {
	margin: 5px 5px 15px 0;
	width: 47%;
        height: 210px;
	font-size: 0.9em;
	background: #333 url(/wordpress/wp-content/themes/tvan/images/featurebg.gif);
	color: #fff;
	padding: 5px;
        letter-spacing: .002em;
        float: right;
        border: solid 1px #000;
        display: inline;
}
#featuredposts h2 {
	margin-top: 0;
        color: #e2ffbd;
        font: bold 1.3em "Times New Roman", "Lucida Console", Georgia;
        letter-spacing: .01em;
}
#featuredposts h2 a:hover {
	color: #000;
}
#featuredposts a {
	color: #e2ffbd;
}
#featuredposts a:hover {
	color: #000;
}

/************************************************
*	IF CATEGORY PAGE GHICHEP change postbox height *
************************************************/
div.post-block2 {
	width: 360px;
	float: left;
	clear: none;
        height: 240px;
        margin-right: 20px;
        margin-bottom: 25px;
        display: inline;
	}


.catpost2 {/* FOR WHOLE BODY OF POST of CATEGORIES 15 ghichep */
	margin-top: 0px;
        background: url(/wordpress/wp-content/themes/tvan/images/catpostbg.gif);
	color: #000;
	padding: 5px;
	border: solid 1px #5a6469;
	font-size: .9em;
	color: #000;
        letter-spacing: .002em;
        height: 240px;
        width: 360px;
        margin-right: 5px;
}



/************************************************
*	CATEGORY PAGE CONTENT CATEGORY		        *
************************************************/
div.post-block {
	width: 370px;
	float: left;
	clear: none;
        height: 455px;
        margin-right: 15px;
        margin-bottom: 25px;
        display: inline;
	}


.catpost {/* FOR WHOLE BODY OF POST of CATEGORIES */
	margin-top: 0px;
        background: url(/wordpress/wp-content/themes/tvan/images/catpostbg.gif);
	color: #000;
	padding: 5px;
	border: solid 1px #5a6469;
	font-size: .9em;
	color: #000;
        letter-spacing: .002em;
        height: 455px;
        width: 370px ;
        margin-right: 5px;
}
.catpost h4 a, .catpost2 h4 a {
	margin: 0 0 0 0;
        font: bold 1.3em "Times New Roman", "Lucida Console";
        letter-spacing: .1em;
        color: #3f4856;
        text-decoration: none;
        padding-bottom: 2px;
        border-bottom: dotted 1px #3f4856;
        width: 100%;
	
}
.catpost h4 a:hover, .catpost2 h4 a:hover {
	margin: 0 0 0 0;
	font: bold 1.3em "Times New Roman", "Lucida Console";
        letter-spacing: .1em;
	color:#ffffff;
        background-color: #3f4856;
        text-decoration: none;
         padding-bottom: 2px;
        border-bottom: dotted 1px #3f4856;
        width: 100%;	
}
.catpost a:hover, .catpost2 a:hover  {
        color: #ffffff;
	background-color: #3f4856;
        text-decoration: none;	
}
.catmeta {
        margin: 0 0 0 0;
        font: 1em "Times New Roman", "Lucida Console";
        letter-spacing: .01em;
        color: #3f4856;
        text-decoration: none;
        padding-bottom: 2px;
        border-bottom: dashed 1px #3f4856;
        width: 100%;
}

.catmeta a {
        margin: 0 0 0 0;
        font: .95em "Times New Roman", "Lucida Console";
        letter-spacing: .01em;
        color: #3f4856;
        text-decoration: none;
        padding-bottom: 2px;
        width: 100%;
}
.catmeta a:hover {
        margin: 0 0 0 0;
        font: .95em "Times New Roman", "Lucida Console";
        letter-spacing: .01em;
        color: #fff;
        text-decoration: none;
        padding-bottom: 2px;
        width: 100%;
        background-color: #3f4856;
}
    
/************************************************
*	SIDEBAR 1 DIV SIDEBAR 1 DIV		       *
************************************************/
	

#sidebar {
		float:right;
		width:185px;
		margin-right: 46px;
		padding:0px;
		background: url(/wordpress/wp-content/themes/tvan/images/sidebg.gif);
		border: solid 1px #000;
                display: inline;
}
	#sidebar h2{ /* FOR TITLE HEADING OF SIDEBAR */		
                width:100%;
		padding-top: 5px;
		padding-bottom: 5px;
		margin: 0 auto;
		background: url(/wordpress/wp-content/themes/tvan/images/hside.gif);
		font: 1.6em "Times New Roman", Times, serif;
	letter-spacing: 0.1em;
		color: #000;
		height:42px;
}
	#sidebar p{ 
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .85em verdana;

}

        #sidebar a{
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .90em verdana;
                color: #971112;
}

        #sidebar a:hover{
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .90em verdana;
                color: #fff;
                text-transform: uppercase;
}

/************************************************
*	SIDEBAR 2 DIV SIDEBAR 2 DIV		       *
************************************************/
#sidebar2 {
		float:right;
		width:185px;
		margin-right: 46px;
		padding:0px;
		background: #fff;
                display: inline;
}

	
       #sidebar2 h2{ /* FOR TITLE HEADING OF SIDEBAR */		
                width:100%;
		padding-top: 5px;
		padding-bottom: 5px;
		margin: 0 auto;
		font: 1.6em "Times New Roman", Times, serif;
	        letter-spacing: 0.1em;
                border-bottom: dashed 1px #3f4856;
                color: #000;
}
	#sidebar2 p{ 
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .85em verdana;

}

        #sidebar2 a{
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .90em verdana;
                color: #3f4856;
                text-decoration: none;
}

        #sidebar2 a:hover{
		margin-left: 5px;
		margin-right: 5px;
		margin-top: 0;
                font: .90em verdana;
                color: #fff;
                background-color: #3f4856;                
}

        #sidebar2 ul{
		margin-left: 2px;
		margin-right: 8px;
		margin-top: 0px;
                width: 180px;
                padding:0px;
                text-decoration: none;
}
    #sidebar2 li {
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 10px;
                width: 180px;
                list-style: none;
                text-decoration: none;
                padding-bottom: 5px;
                border-bottom: solid 1px #3f4856;
}
 #sidebar2 li a:hover{
		margin-left: 0px;
		margin-right: 0px;
		margin-top: 5px;
                width: 180px;
                list-style: square;
                text-decoration: none;
                padding-bottom: 5px;
                color: #fff;
                border-bottom: solid 1px #3f4856;
                background-color: #3f4856;
}






/************************************************
*	FOOTER DIV FOOTER DIV		      *
************************************************/
	#footer {
		clear:both;
		padding-top: 63px;
                  margin:0 auto;  
                  height:139px;
		width:1070px;
		background: url(/wordpress/wp-content/themes/tvan/images/index_05.png) no-repeat;
                  font: .74em Verdana;
                  color: #ffffff;
		text-align: center;
}
	* html #footer {
		height:1px;
	}

/************************************************
*	SEARCH BOX SEARCH BAR   		      *
************************************************/
#search {
	position: absolute;
	top: 151px; 
	right: 56px;
}
#search #s { 	width: 208px;	
height: 20px;	
padding-top: 2px;	
vertical-align: bottom;	
line-height: 1px;	
font: normal 12px Verdana, Sans-Serif;	
color: #777;	
border: 0;	
background: transparent;
}



/************************************************
*	FONTS AND HOVERS		      *
************************************************/
body { 
	font: normal .75em  verdana, arial, "Times New Roman", "Lucida Grande",  sans-serif; 
	color: #000;
          letter-spacing: .01em;
          line-height:1.35em;
}
a {
	color: #344f00;
}

a img {
	border: none;
}


a:visited {
	color: #344f00;
}

a:hover {
	color: #e2f4bc;
}

h3 {
        background-color: #f5f6f9 ;
        font: 1.8em "Times New Roman", Times, serif;
	color:#3f4856;
	letter-spacing: 0.1em;
        margin: 0 auto;
        margin-bottom: 15px;
         padding-top:3px;
         padding-bottom:3px;
         text-decoration: none;	
         width:90%;
         border-bottom: dashed 1px #3f4856;
         text-align: center;
}

/************************************************
*	Clearing DIV CLEARING DIV		      *
************************************************/
#clear {
	clear:both;
}
/***********************************************
*      next and previous links             *
*************************************************/
#new a{
	font: 1.2em "Times New Roman", "lucida console";
        color: #ffffff;
        background: url(/wordpress/wp-content/themes/tvan/images/newbg.gif);
        letter-spacing: .03em;
        margin-left: 280px;
        float: left;
        padding: 3px 3px 3px 3px;
        text-decoration: none;
        border: solid 1px #000;
        
}
#old a {
	font: 1.2em "Times New Roman", "lucida console";
        color: #ffffff;
        background: url(/wordpress/wp-content/themes/tvan/images/oldbg.gif);
        letter-spacing: .03em;
        margin-right: 280px;
        float: right;
        padding: 3px 3px 3px 3px;;
        text-decoration: none;
        border: solid 1px #000;
}



#new a:hover {
	font: 1.2em "Times new Roman", "lucida console";
        color: #465f00;      
        letter-spacing: .03em;
        margin-left: 280px;
        float: left;
        padding: 3px 3px 3px 3px;        
        text-decoration: none;
        border: solid 1px #000;
}
#old a:hover {
	font: 1.2em "Times new Roman", "lucida console";
        color: #3f4856;  
        letter-spacing: .03em;
        margin-right: 280px;
        float: right;
        padding: 3px 3px 3px 3px;
        text-decoration: none;
        border: solid 1px #000;
}





/************************************************
*	FRONT PAGE POSTING INDEX CONTENT DIVS		      *
************************************************/
.post {/* FOR WHOLE BODY OF POST DIV CONTAINER POST */
	width: 99%;
	margin-bottom: 15px;
	background: url(/wordpress/wp-content/themes/tvan/images/postbg2.gif);
       border: solid 1px #3f4856;
}
.sipgpost {/* FOR WHOLE BODY OF post div container of SINGLE AND PAGE */
	width: 99%;
	margin-bottom: 15px;
	background:#a1a9b4 url(/wordpress/wp-content/themes/tvan/images/sipgbg.gif) repeat-x;
	border: solid 1px #3f4856;

}

.post a:hover {/* FOR WHOLE BODY OF post div container of SINGLE AND PAGE */
	text-transform: uppercase;
	color: #ffffff;
	background-color: #3f4856;

}
.sipgpost a:hover {/* FOR WHOLE BODY OF post div container of SINGLE AND PAGE */
	text-transform: uppercase;
	color: #ffffff;
	background-color: #3f4856;

}

.post h2 {/* FOR TITLE OF POSTS */
	background-color: #f5f6f9 ;
        font: normal 1.8em "Times New Roman", Times, serif;
	color:#3f4856;
	letter-spacing: 0.1em;
        margin: 0px 0 0px 0;
         padding-left: 10px;
         padding-top:3px;
         padding-bottom:3px;
         text-decoration: none;
}


.post h2 a:hover {
text-transform: uppercase;
color: #ffffff;
background-color: #3f4856;
}

.sipgpost h5 {/* FOR TITLE OF SINGLE POSTS */
	background-color: #f5f6f9 ;
        border-bottom: dotted 1px #ffffff;
	font: normal 1.9em "Times New Roman", Times, serif;
	letter-spacing: 0.1em;
	margin: 0 auto;
	padding-left: 10px;
	padding-top:4px;
	padding-bottom:5px;
	text-align: center;
}
.sipgpost h6 {/* FOR TITLE OF pages */
	background-color: #f5f6f9 ;
	border-bottom: dotted 1px #ffffff;
        font: bold 2em "Times New Roman", Times, serif;
	letter-spacing: 0.1em;
        margin: 0 auto;
         padding-left: 10px;
         padding-top:5px;
         padding-bottom:5px;
         text-align: center;
         height: 39px;

}


.entry {/* FOR entry of indexpage */
	color: #000;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 20px;
	margin: 0;
	font: normal .8em  verdana, arial, "Times New Roman", "Lucida Grande",  sans-serif; 
        letter-spacing: .002em;
        line-height:1.35em;
}

.imgtfe, .entry .imgtfe { /* FOR THUMBNAIL */	
        float: left;
        height: 90px;
        width: 90px;
        border: solid 5px #fff;
        margin-left: 5px;
        margin-right: 5px;
        margin-top: 5px;
        margin-bottom: 5px;
}

.entrysingle { /* FOR Single page Entry */
	color: #000;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
	margin: 0;
	font: normal 1em  verdana, arial, "Times New Roman", "Lucida Grande",  sans-serif; 
        letter-spacing: .002em;
        line-height:1.35em;
}

.entry blockquote, .entrysingle blockquote {
background: #c7cbcf;
padding: 5px;
}
.entry h1, .entrysingle h1 {
font-size: 1.3em;
margin: 5px 0px 0px 5px;
}

.entry h3, .entrysingle h3 {
font-size: 1em;
margin: 5px 0px 0px 5px;
}

.entry h4, .entrysingle h4{
font-size: .90em;
margin: 5px 0px 0px 5px;
}



.postmetadata {
background-color: #7d838b;
padding-left: 4px;
padding-top: 4px;
padding-bottom: 4px;
text-decoration: none;
font-size: .9em;
margin:0 0 0 0;
color:#222f42;
}

.postmetadata a {
color: #ffffff;
}

.postmetadata a:hover{
color: #ffffff;
text-transform: uppercase;
}


/************************************************
*	IMAGES ALIGNMENT   *
************************************************/

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
        padding-right: 5px;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
}

.alignright {
	float: right;
        padding-right: 5px;
        padding-left: 5px;
        padding-top: 5px;
        padding-bottom: 5px;
}



