/*
Theme Name: TicTac - Wuhan
Theme URI: http://wuhan.authenticasian.com/

Description: My lousy attempt to reproduce a masterpiece by <a href="http://www.simplebits.com">Dan Cederholm</a>.

Version: 0.2
Author: Meng Gao
Author URI: http://wuhan.authenticasian.com/

	TicTac is a template created by Dan Cederholm for Blogger and it's one of my
	favorite designs. Therefore, I've created a WordPress theme in which I tried
	my best to make it look like Dan's original design. As much as I want to use the
	original graphics, I had to make slight changes to them so as not to run into
	copyright problems.

	Since this theme is an obvious attempt to reproduce TicTac, I take absolutely
	no credit in it. If you like this theme, write an email to Dan and let him
	know.
																	-- Meng Gao
*/

/* Main Sections 
------------------------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
}
body {
    font-family: Verdana, Helvetica, sans-serif;
    font-size: small;
    text-align: center;
    color: grey;
    background: #FFFFFF;
}
div, p, img, a, td, ul, ol {
    font-size: 1em; 
}

ol {
    margin-left: 1em;
    padding-left: 1em;
}
ol li {
    margin-left: 1em;
    padding: 0 0 .5em.3em;
    list-style: decimal;
}
h1, h2, h3, h4 {
	font-family: georgia;
	font-weight: bold;
	margin: .5em 0;
	letter-spacing: .07em;
}
h1 { font-size: 218% }
h2 { font-size: 164%; }
h3 { font-size: 145%; }
h4 { font-size: 118%; letter-spacing: .15em }

p { padding: 0 0 1em; }

a, a:link { 
    text-decoration: none;
    color: grey;
    border: none 
}
a:visited { color: grey; border: none; }
a:hover { color: grey; border-bottom: 0.1px grey solid; text-decoration: none; }
a:active { color: grey; border: none }


a img, img {
    border: none;
}

.clear {
    clear: both;
    height: 1px;
    margin: -1px 0 0;
    font-size: 1px;
}


#page {

	position:absolute;
	top: 50%;
	left: 50%;
	width:780px;
	height:580px;
	margin-top: -290px; /*set to a negative number 1/2 of your height*/
	margin-left: -390px; /*set to a negative number 1/2 of your width*/
    background: #FFFFFF;
    font-size:11px;

    
}

#content {
	font-family:"Verdana";
	position:absolute;
    text-align: left;
    top:90px;
    left:145px;
    width: 540px;
    height: 460px;
    padding: 0;
    line-height: 1.5em;
    overflow:auto;
    color:grey;

}
#content_foto {
	font-family:"Verdana";
	position:relative;
    text-align: left;
    top:50px;
    width: 780px;
    height: 460px;
    padding: 0;
    line-height: 1.5em;
    color:grey;

}
#content ul{
	list-style-type: none;
}


/* Special text formatting 
------------------------------------------------------------------------------- */
h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #grey;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, cite {
	text-decoration: none;
}
h2 a:hover, h3 a:hover {
	color: #06c;
	border-bottom: 1px dotted #06c;
}

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

h4.date-header {
    margin-top: 0;
    padding-left: 14px;
    font-size: 90%;
    color: #f93;
    background: url(images/date_icon.gif) no-repeat 0 50%;
}

blockquote {
    margin: 0 0 0 30px;
    padding: 10px 0 0 20px;
    font-size: 88%;
    line-height: 1.5em;
    color: #666;
    background: url(images/quotes.gif) no-repeat top left;
}

blockquote p { margin-top: 0; }

blockquote cite {
	margin: 5px 0 0;
	display: block;
}
code {
	font: 1em/2.5em 'Courier New', Courier, monospace;
	color: #444;
	white-space: pre; 
    width: 350px;
    height: auto;
	overflow: auto;
    display: block;
    border: 1px solid #999;
    border-width: 2px 0;
    padding: 1em;
    margin: 0 0 1em 0;
    background-color: #fafafa;
}
li code { width: 330px }

acronym, abbr, span.caps {
	font-size: 90%;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dotted #3f3f3f;
}

.center { text-align: center;}
.alignright { float: right; }
.alignleft { float: left; }

hr { display: none; }


.error, .message {
    padding: 12px;
    background-color: red;
    color: #fff;
}
.message {
    background-color: green;
}

/* Header 
------------------------------------------------------------------------- */

#header { 
    background: #FFFFFF  top left ;
    position: absolute;
}

#header a{
	text-decoration: none;
	
	}
#header a:visited{
	text-decoration: none;
	border: none;
	}
#headerlogo{
	left:145px;
	position:absolute;
	top:5px;
}



/* Footer 
------------------------------------------------------------------------- */
#footer {
position: absolute;
top:560px;
left:145px;
width:580px;
}
#footer ul{
	list-style-type:none;
}

#footer ul li a, #footer ul li a:visited{
	display:block; 
	text-align:center; 
	text-decoration:none; 
	float:left;
	padding: 2px 17px 2px 17px;
 
	height:20px; 
	color:#FFF; 
	border:1px solid #fff;
	border-width:1px 1px 0 0;
	background: #848484; 
	line-height:20px; 
	font-size:11px;
	}
	

#footer ul li:hover a {
color:#fff; 
background:#BDBDBD;
}




/* Special handling for images & alignment 
------------------------------------------------------------------------------- */

p img {
	padding: 0;
	max-width: 100%;
}

img.centered {
	display: block;
	margin: 0 auto;
}
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

/* Fixes for RichText widgets
------------------------------------------------------------------------------- */
.MODX_RichTextWidget {
	float: left;
}

.MODX_RichTextWidget a {
	border: 0px;
}
#contact_form{
	position: absolute;
	top:110px;
	left:145px;
	}

fieldset {
	width: 620px;
	border: 0px solid #666666;
	padding: 0px;
	margin: 0px;
}

fieldset legend {
	font-weight: bold;
	margin-bottom:10px;
}

fieldset input {
	width: 150px;
}

fieldset textarea, fieldset input {
	border: 1px solid #666666;
	padding: 1px;
}

fieldset textarea {
	font-family: Arial, Helvetica, sans-serif;
	width: 300px;
}

fieldset input:active, fieldset input:focus, fieldset textarea:active, fieldset textarea:focus {
	border: 2px solid #000000;
	padding: 0px;
}

fieldset div {
	float: left;
	width: 270px;
	margin-bottom: 2px;
}

fieldset div label {
	float: left;
	width: 100px;
}

fieldset div.errors {
	clear: left;
	width: 100%;
}
