/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 1;
	padding: 0;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
/*img {
	max-width: 100%;
	height: auto;
	width: auto\9;  ie8 
	}*/
img{max-width:100%!important;height:auto!important;}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	/*background: #0d1424 url(images/body-bg.jpg) no-repeat center top;*/
	font: .1em/100% Arial, Helvetica, sans-serif;
	color: #666;
}
a {
	color: #666;
	text-decoration: none;
}
a:hover {
	text-decoration:none; color:none;
}
.p1 { text-align:center; padding:25px; margin: 1.5em; color: #ccc; background-color: #160B06; border:15px solid #FCECBA; -moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; }
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
.p2 { text-align:left; padding:7px; margin: 0em; margin-bottom: 0.2em;height: auto;border:3px solid #E7F1F5; -moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; }
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	font-size: 15px;
    line-height: 1.8em;
}
.p3 { text-align:center; padding:15px; margin: 2.0em; color: #707AFA; background-color: #EAF5F1; border:1px solid #ccc; -moz-border-radius: 5px; border-radius: 5px; -webkit-border-radius: 5px; }
ul, ol {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 20px 0 .4em;
	color: #000;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.6em;
}
h3 {
	font-size: 1.4em;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}

/************************************************************************************
STRUCTURE
*************************************************************************************/
#pagewrap {
	width: 980px;
	margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header { position: relative; height: 60px; 
}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
#main-nav {
	width: 100%;
	background: #D32911;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	/* gradient 
	background: #3B9EC5 url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#3B9EC5));
	background: -moz-linear-gradient(top,  #FFFFFF,  #3B9EC5);
	background: linear-gradient(-90deg, #FFFFFF, #3B9EC5);
	*/
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 10px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#38A), to(#38A));
	background: -moz-linear-gradient(top,  #38A,  #38A);
	background: linear-gradient(-90deg, #38A, #38A);
}

/************************************************************************************
CONTENT
*************************************************************************************/
#content { background: #fff; margin: 30px 0 30px; padding: 20px 35px; width: 910px; float: left; /* rounded corner */ -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; /* box shadow */ -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4); -moz-box-shadow: 0 1px 3px rgba(0,0,0,.4); box-shadow: 0 1px 3px rgba(0,0,0,.4); 
}
/* post */
.post { margin-bottom: 10px; 
}

.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}
/* post image */
.post-image { margin:0 0 20px
}
/************************************************************************************
SIDEBAR
*************************************************************************************/
#sidebar {
	width: 280px;
	float: right;
	margin: 30px 0 30px;
}
.widget {
	background: #fff;
	margin: 0 0 30px;
	padding: 10px 20px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.widgettitle { margin: 0 0 5px; padding: 0; font: bold 20px/120% Arial, Helvetica, sans-serif; color: #000; }
.widget ul {
	margin: 0;
	padding: 0;
}
.widget li {
	margin: 0;
	padding: 6px 0;
	list-style: none;
	clear: both;
	border-top: solid 5px #eee;
}
/* flickr widget */
.widget .flickr_badge_image {
	margin-top: 10px;
}
.widget .flickr_badge_image img {
	width: 48px;
	height: 48px;
	margin-right: 12px;
	margin-bottom: 12px;
	float: left;
}

/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #fff;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }
#answerform { background: #efefef; padding: 10px; overflow: hidden; }
#answerform p { margin: 5px 0; padding: 0; text-indent: 0px; }
#answerform .ask { padding:0 3px; margin:10px 0; text-indent:0.5em; font-size: 1.1em; color: #fff; font-weight: bold; background-color: #F00; }
#answerform label { font-weight: 700; float: left; width: 100%; }
#answerform input { margin-bottom:10px; clear:left; border:#c5c3c3 1px solid; background:#fff; color:#676563; padding:4px 6px; -moz-border-radius:3px; border-radius:3px; width: 210px; }
#answerform textarea {width:100%; margin-left:-7px; border:#c5c3c3 1px solid; border-radius:3px; background:#fff; color:#676563; padding:4px 6px;}
#answerform #submit {margin:0 10px 0 0; width:100px; border:0; color:#fff; cursor:pointer; background:#696; border-radius:3px; padding:4px 6px;}
#answerform .comment_bd { padding: 0 7px; }
#answerform .pass { text-align: center; font-size: 1.1em; font-weight: bold; }
#answerform .dispass { text-align: center; font-size: 1.1em; color: #F00; font-weight: bold; }
#gotop{ display:block; width:35px; height:35px; position:fixed; bottom:45px; right:10px; display:none; background-image: url(../images/up.png); }
a#gotop:hover{ background-position: right -35px; cursor: pointer; }
