/*  
Theme Name: Ewery
Theme URI: http://www.iamewery.com
Description: Ewery Theme is Extend from WP glossy theme designed by <a href="http://www.ndesign-studio.com">N.Design Studio</a>.
Version: 1.1
Author: Nop Pinyowanichaka
Author URI: http://www.nop.in.th

	This theme was designed and built by Nick La.

	By downloading and using this theme, you agree to the following terms:
    - You may NOT resell this theme
    - A link back to N.Design Studio must be retained in the footer (either modified or unmodified)
    - You may use this theme for personal or commercial projects
    - You may modify, translate or distribute

*/

body {
/*	font: 75%/150% "Trebuchet MS", Tahoma, Arial;*/
	font: 9pt "Trebuchet MS", Tahoma, Arial;
	color: #333333;
	background: #FFFFFF url(images/bg.jpg) repeat-y center;
	margin: 0px;
	padding: 0px 0px 30px;
}
a {
	color: #AB1842;
	text-decoration: none;
}
a:visited {
	color: #AB1842;
	text-decoration: none;
}
a:hover {
	color: #C92438;
	text-decoration: underline;
}

img {
	border: none;
}
p {
	padding: 0px 0px 15px;
	margin: 0px;
}
h1 {
	margin:0px;
	background: url(images/header-icon.gif) no-repeat;
	padding-left: 70px;
	height: 60px;
	font: bold 36px/100% "Trebuchet MS", Tahoma, Arial;
	color: #c9eefe;
}
h1 a, h1 a:visited{
	color: #c9eefe;
	text-decoration: none;
}
h1 a:hover{
	color: #ffffff;
	text-decoration: none;
}
h2 {
	color: #AB1842;
	margin: 0px 0px 2px;
	border-bottom: 1px dotted #CCCCCC;
	letter-spacing: -1px;
	font: normal 190%/100% "Trebuchet MS", Tahoma, Arial;
	padding-bottom: 3px;
}
h2 a, h2 a:visited {
	color: #D94871;
	text-decoration:none;
}
h2 a:hover {
	color: #53201C;
	text-decoration: none;
}
h3 {
	font: normal 140%/100% "Trebuchet MS", Tahoma, Arial;
	color: #AB1842;
	margin: 10px 0px 5px;
}
h4 {
	font: normal 130%/100% "Trebuchet MS", Tahoma, Arial;
	color: #758d38;
	margin: 10px 0px 5px;
}
form {
	margin:0px;
	padding:0px;
}
#page {
	margin: 0px auto;
	width: 840px;
/*	border-bottom: 5px solid #d5e6eb;
	border-left: 5px solid #d5e6eb;
	border-right: 5px solid #d5e6eb;
*/	
	background: #FFFFFF url(images/content-bg.gif) repeat-y;
}
/* header area */
#header_nav {
	background: #fff;
	height: 63px;
	position: relative;
}
#header {
	background: #fff ;
	height: 250px;
	position: relative;
}
#headerimg {
	position: relative;
	padding: 0px 0px 0px 5px;
	height: 60px;

}
#headersearch {
	position: relative;
	float:right;
	padding: 0px 10px 0px 10px;
	height: 60px;
	width:500px;
	text-align:right;
}
#headerimg .description{
	position: absolute;
	left: 110px;
	bottom: 3px;
	color: #c9eefe;
	font-size: 14px;
}

/* menu */

#menu {
 margin: 0;
 width:840px;
 height:37px;
 background-color:#AB1842;
 position:absolute;
 top:213px;
}

#menu li {
 display: inline;
}
#menu ul {
 display: inline;
}
#menu a {
 display: block;
 float: left;
 height:27px;
 text-align: center;
 padding-top:10px;
 text-decoration: none;
 font-size: 14px;
 width:120px;
 border-right: 1px solid #8B0129;
 font-weight: normal;
 color: #fff;
}
#menu a:hover {
 background: #AB1842;
 color: #ffcc00;

}
#menu .current_page_item a {
 background: #9FAB87;
 color: #FFFFFF;
} 
/* menu */

/* content area */
#content {
	padding: 10px 0px 30px 20px;
	float: left;
	width: 530px;
	overflow: hidden;
}
.post {
	clear:both;
	padding-top: 15px;
}
.post-date {
	width: 45px;
	height: 49px;
	float:left;
	background: url(images/date-bg.gif) no-repeat;
}
.post-month {
	font-size: 11px;
	text-transform: uppercase;
	color: #FFFFFF;
	text-align: center;
	display:block;
	line-height: 11px;
	padding-top: 2px;
	margin-left: -3px;
}
.post-day {
	font-size: 18px;
	text-transform: uppercase;
	color: #999999;
	text-align: center;
	display:block;
	line-height: 18px;
	padding-top: 7px;
	margin-left: -3px;
}
.post-title {
	float: left;
	margin-left: 10px;
	width: 470px;
}

.entry {
	clear: both;
	padding-top: 10px;
}
.post-cat {
	background: url(images/mini-category.gif) no-repeat;
	padding-left: 20px;
	float:left;
	font-size: 95%;
	color: #999999;
}
.post-comments {
	background: url(images/mini-comments.gif) no-repeat;
	padding-left: 20px;
	float: right;
	font-size: 95%;
}
.post-calendar {
	background: url(images/mini-calendar.gif) no-repeat;
	padding-left: 20px;
	float: right;
	font-size: 95%;
	color: #999999;
}
.mini-add-comment {
	background: url(images/mini-down-arrow.gif) no-repeat;
	padding-left: 18px;
	float: right;
}
.navigation {
	clear: both;
	padding: 10px 0px;
}
.navigation a, .navigation a:visited {
	color: #AB1842;
}
.previous-entries a {
	float: left;
	padding-left: 18px;
	background: url(images/mini-nav-left.gif) no-repeat left center;
}
.next-entries a {
	float: right;
	padding-right: 18px;
	background: url(images/mini-nav-right.gif) no-repeat right center;
}

/* comments area */
#comments, #respond {
	border-bottom: 1px dotted #CCCCCC;
	padding: 10px 0 5px 0;
	clear: both;
}
.commentlist {
	margin: 10px 0px;
	padding-left: 20px;
	line-height: 130%;
}
.commentlist li{
	padding: 5px 10px;
}
.commentlist .alt {
	background: #FFF4F4;
}
.commentlist cite {
	font-weight: bold;
	font-style: normal;
	font-size: 120%;
	color: #CC6600;
}
.commentlist cite a, .commentlist cite a:visited {
	color: #CC6600;
}
.commentlist small {
	margin-bottom: 5px;
	display: block;
	font-size: 87%;
}
#commentform {
	margin-top: 10px;
	font: 110% Arial, Helvetica, sans-serif;
}
#commentform p {
	padding: 6px 0px;
	margin: 0px;
}
#commentform label{
	color: #787878;
	font-size: 87%;
}
#commentform input{
	width: 200px;
	background:#fff;
	border: 1px solid #eee;
	padding: 3px;
	margin-top: 3px;
}
#commentform textarea{
	width: 520px;
	height: 150px;
	background:url(images/comment_box.jpg) no-repeat #fff ;
	border: 1px solid #ffe5e5;
	padding: 2px;
	margin-top: 3px;

}
#commentform textarea:focus, #commentform input[type="text"]:focus {
	background: #ffffff;
	background:url(images/comment_box_hover.jpg) no-repeat #fff4f4 ;	
	
}
#commentform #submit{
	background: url(images/btn-bg.gif) no-repeat;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	border: none;
	float:right;
	width: 144px;
	height: 28px;
	cursor: pointer;
}

#commentform #commentbtn{
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #D94871;
	border: solid 1px #FFE5E5;
	background-color:#fff4f4;
	float:right;
	width: 144px;
	height: 28px;
	cursor: pointer;
}

/*sidebar */
#sidebar {
	float: right;
	padding: 0px 10px 20px 0px;
	width: 245px;
	color: #666666;
	overflow: hidden;
}
/*sidebar title (h2) */
#sidebar h2, #sidebar .sidebartitle{
	font: normal 140%/100% "Trebuchet MS", Tahoma, Arial;
	color: #D94871;
	margin: 20px 0px 2px;
	border-bottom: 1px solid #FFE5E5;
}
/*sidebar text styles */
#sidebar a, #sidebar a:visited{
	color: #333;
	text-decoration: none;
	font: normal 98%/150% "Trebuchet MS", Tahoma, Arial;
}
#sidebar a:hover{
	color: #C92438;
	text-decoration: none;
}
/*sidebar list level1 */
#sidebar ul {
	margin: 0;
	padding: 0;

}
#sidebar ul li {
	list-style: none;
	margin: 0;
	padding: 0;
	border: none;

}
/*sidebar list level2 */
#sidebar ul li ul {
	padding: 0;
	margin: 0;
	
}
#sidebar ul li ul li{
	padding: 2px 0 2px 0px;
	border-bottom: 1px solid #e3e3e3;
	margin-bottom:6px;
}
/*sidebar list level3 */
#sidebar ul li ul li ul li{
	padding: 1px 0 1px 10px;
	border: none;
}
/*blogroll */
ul.list-blogroll li{
	background: url(images/mini-blogroll.gif) no-repeat !important;
	padding-left: 16px !important;
}
/*category widget */
ul.list-cat li, li.widget_categories li{
	background: url(images/mini-category.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*archives widget */
ul.list-archives li, li.widget_archives li{
	background: url(images/mini-monthly-archive.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*pages widget */
ul.list-page li, li.widget_pages li, li.widget_recent_entries li{
	background: url(images/mini-page.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*sub-pages */
ul.list-page li ul li, li.widget_pages li ul li{
	background: url(images/mini-page-arrow.gif) no-repeat !important;
	padding-left: 10px !important;
}
/*recent comments widget */
li.widget_recent_comments li{
	background: url(images/mini-recent-comments.gif) no-repeat !important;
	padding-left: 20px !important;
}
/*calendar widget */
li.widget_calendar td {
	padding: 1px 7px;
}
/*text widget */
.textwidget {
	padding-top: 5px;
}

/*search form */
#searchform {
	margin: 15px 0 0;
	
}
#searchform br {
	display: none;
}
#searchform #s {

	width: 135px;
	height: 22px;
	padding: 4px 5px 0px 5px;
	border: 1px solid #e3e3e3;
	background: #fff;
	margin-right: 2px;
	color: #000000;
	font-weight: normal;
}
/* search form button - to specify button only use input[type="submit"] */
#searchform input {
	background: url(images/search-btn-bg.gif) no-repeat;
	border: none;
	width: 39px;
	height: 26px;
	font: bold 12px Arial, Helvetica, sans-serif;
	color: #333;
	vertical-align: middle;
}

/* footer area */
#footer {
	clear: both;
	background: #AB1842 url(images/footer-bg.gif) no-repeat;
	color: #FF759C;
	font-size: 95%;
	line-height: 130%;
	padding-bottom: 10px;
}
#footer a, #footer a:visited {
	color: #fff;
}
#footer h4 {
	font: normal 146%/100% "Trebuchet MS", Tahoma, Arial;
	color: #ffcc00;
	margin: 10px 0px 5px;
}
.footer-recent-comments {
	width: 240px;
	float: left;
	margin-left: 10px;

}
.footer-recent-comments ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
.footer-recent-comments ul li {
	background: url(images/mini-footer-comments.gif) no-repeat;
	padding: 0px 0px 10px 20px;
}
.footer-recent-posts {
	width: 240px;
	float: left;
	margin-left: 10px;
}
.footer-recent-posts strong {
	font-size: 107%;
	line-height: 135%;
	font-weight: bold;
}
.footer-recent-posts ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	font-size: 92%;
	line-height: 110%;
}
.footer-recent-posts ul li {
	background: url(images/mini-footer-post.gif) no-repeat;
	padding: 0px 0px 10px 20px;
}
.footer-about {
	width: 254px;
	float: right;
	padding-right: 10px;
	color:#eee;
	padding-left: 10px;
	background: url(images/footer-right-bg.gif) no-repeat;
}
/* credits */
#credits {
	margin: 0px auto;
	display:block;
	width: 804px;
	padding:10px;
	padding-bottom:0px;
	color: #7a9299;
	font-size: 85%;
	line-height: 120%;

}
#credits a, #credit a:visited {
	color: #362326;
}
.rss {
	background: url(images/mini-rss.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}
.loginout {
	background: url(images/mini-loginout.gif) no-repeat left center;
	padding-left: 18px;
	padding-bottom: 2px;
	margin-left: 8px;
}

/* alignments */
.center {
	text-align: center;
}
img.center, img[align="center"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
img.alignleft, img[align="left"] {
	float:left;
	margin: 2px 10px 5px 0px;
}
.alignright {
	float: right;
}
img.alignright, img[align="right"] {
	float:right;
	margin: 2px 0px 5px 10px;
}
.clear {
	clear:both;
}
hr.clear {
	clear:both;
	visibility: hidden;
	margin: 0px;
	padding: 0px;
}

div.post blockquote { color: #89897c; background: url("images/blockquote.gif") -10px 0 no-repeat; padding-left: 0px; margin-bottom: 1em; min-height: 25px; }

#sidebar_ad
{
	text-align:center;
	padding:4px;
}
#sidebar_ad img
{
	margin: 3px 0 3px 0;
	border:solid 1px #ccc;
}
