@import url('reset.css');

/*
 * STRUCTURE
 * ----------------------------------------------------------------------------
 */
#page {
	margin: 0 auto;
	max-width: 1200px;
	width: expression(document.body.clientWidth > 1200 ? "1200px" : "auto");
}
#content {
	width: 70%;
	float: left;
}
#sidebar {
	width: 29.5%;
	float: right;
}
#header, #footer {
	clear: both;
	width: 100%;
	overflow: auto;
}

body {
	font-family: Arial, Verdana, sans-serif;
	background: #fdfdfd;
	background: url('images/body_bg.gif') repeat-x;
}

/*
 * HEADER
 * ----------------------------------------------------------------------------
 */
#header {
	padding: 1em 0;
}
#header-logo {
	float: left;
}
#header-logo a {
	display: block;
	width: 355px;
	height: 66px;
	background: url('images/formation_cakephp.gif') no-repeat;
	text-indent: -9999px;
}
#header-rss {
	width: 29.5%;
	float: right;
	text-align: center;
}

/*
 * POSTS
 * ----------------------------------------------------------------------------
 */
.post {
	background: url('images/post_bg.gif') repeat-x;
	overflow: auto;
	clear: both;
	margin-bottom: 1em;
}

.postmetadata {
	width: 29%;
	float: left;
	border-top: 1px solid #eac5b1;
}
.postmetadata ul {
	margin: .5em;
}
.postmetadata ul li {
	color: #333;
	font-size: .75em;
	line-height: 1.6;
	padding: .25em;
}
.postmetadata b {
	padding-left: 13px;
}
.postmetadata a {
	text-decoration: none;
	border-bottom: 1px dotted;
	color: #bf4201;
}
.postmetadata a:visited {
	color: #bd9346;
}
.postmetadata a:hover {
	color: #000;
}

.entry-wrapper {
	width: 70%;
	float: right;
	border-top: 3px solid #c2d6d8;
}
.entry {
	font-size: .8em;
	line-height: 1.5;
	margin: 1.5em 1em;
}
.entry h1 {
	color: #387b82;
	font-size: 2em;
	font-weight: bold;
	margin-bottom: .25em;
}
.entry h1 a {
	color: #387b82;
	text-decoration: none;
	border-bottom: 1px dotted;
}
.entry h2 {
	color: #4a6c70;
	font-size: 1.75em;
	margin-bottom: .25em;
}
.entry h3 {
	color: #6d999e;
	font-size: 1.5em;
	margin-bottom: .25em;
}

.entry a {
	color: #387b82;
}
.entry a:visited {
	color: #6d999e;
}
.entry a:hover {
	color: #000;
}
.entry ol {
	list-style: decimal;
}
.entry ul {
	list-style: disc;
}
.entry ul, .entry ol {
	margin-left: 3em;
}
.entry ul, .entry ol, .entry p {
	margin-bottom: 1.5em;
}
.entry p {
	text-align: justify;
}

#signature {
	clear: both;
	overflow: auto;
	margin: .5em 0;
	padding: .25em;
	background-color: #f9f9f9;
	border: 1px solid #d4d4d4;
}
#author-name {
	font-weight: bold;
	margin-top: .65em;
}

/*
 * NAVIGATION
 * ----------------------------------------------------------------------------
 */
#navigation {
	clear: both;
}
.alignleft, .alignright {
	margin: 0 .75em 2em;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}
#navigation a {
	color: #fff;
	font-size: .8em;
	font-weight: bold;
	text-decoration: none;
	padding: .2em .5em;
	background-color: #bf4201;
}
#navigation a:hover {
	background-color: #387b82;
}

/*
 * CODE
 * ----------------------------------------------------------------------------
 */
code, .wp_syntax {
	font-family: "Courier New", monospace;
	
}
.wp_syntax {
	font-size: 13px;
}
.line_numbers {
	line-height: 17.1px;
}
.code {
	line-height: 17px;
}

/*
 * RELATED
 * ----------------------------------------------------------------------------
 */
#relatedtags-wrapper {
	margin-left: 30%;
	margin-bottom: 2em;
}
#relatedtags-wrapper h3 {
	color: #5b2102;
	font-size: 1.5em;
	padding-bottom: .1em;
	margin-bottom: .5em;
	border-bottom: 3px solid #5b2102;
}
.st-related-posts {
	font-size: .8em;
	line-height: 1.5;
	margin: 1.5em 0;
	border-top:    1px solid #dadada;
}
.st-related-posts li {
	border-bottom: 1px solid #dadada;
	padding: .25em .5em;
}
.st-related-posts li b {
	color: #666;
}
.st-related-posts li a {
	color: #bf4201;
	font-weight: bold;
	text-decoration: none;
}
.st-related-posts li a:hover {
	color: #000;
}

/*
 * COMMENTS
 * ----------------------------------------------------------------------------
 */
#comments h3 {
	color: #c2c7c8;
	font-size: 1.5em;
	padding-bottom: .1em;
	margin-left: 30%;
}
.commenthelp {
	font-size: .8em;
	padding: 1em 0;
}
.comment {
	background: url('images/visitor_comment_background.gif') repeat-x;
	overflow: auto;
	margin-bottom: 1em;
}
.commentmetadata {
	width: 29%;
	float: left;
	border-top: 1px solid #e0d6c2;
}
.commentmetadata div {
	margin: .5em;
	line-height: 1.3;
}
.commentauthor {
	color: #bf4201;
	font-size: .95em;
	font-weight: bold;
}
.commentauthor a {
	color: #bf4201;
}
.commentdate {
	color: #999;
	font-size: .75em;
}
.commententry-wrapper {
	width: 70%;
	float: right;
	border-top: 3px solid #c9d2d3;
}
.commententry {
	font-size: .8em;
	line-height: 1.5;
	margin: 1.5em 1em;
}
.commententry a {
	color: #387b82;
}
.commententry a:visited {
	color: #6d999e;
}
.commententry a:hover {
	color: #000;
}
.commententry ol {
	list-style: decimal;
}
.commententry ul {
	list-style: disc;
}
.commententry ul, .commententry ol {
	margin-left: 3em;
}
.commententry ul, .commententry ol, .commententry p {
	margin-bottom: 1.5em;
}
.commententry p {
	text-align: justify;
}
.author-comment {
	background: url('images/author_comment_background.gif') repeat-x;
}
.author-comment .commentmetadata {
	border-color: #bf4201;
}
.author-comment .commententry-wrapper {
	border-color: #eac1ac;
}
.avatar {
	float: left;
	display: block;
	border: 1px solid #999;
	padding: 1px;
	margin-right: .4em
}

/*
 * COMMENT FORM
 * ----------------------------------------------------------------------------
 */
#commentform {
	margin-left: 30%;
	margin-bottom: 2em;
}
#commentform h3,
#commentform a {
	color: #bf4201;
}
#commentform h3 {
	font-size: 1.5em;
	padding-bottom: .1em;
	border-bottom: 3px solid #bf4201;
}
#commentform form {
	font-size: .8em;
	margin: 1em 0;
}
#commentform div {
	padding: 4px 0;
}
#commentform label {
	margin-right: 5px;
	padding-right: 10px;
	width: 120px;
	display: block;
	float: left;
	text-align: right;
	position: relative;
	font-size: .9em;
	font-weight: bold;
	line-height: 1.8;
}
.subscribe-to-comments {
	margin-left: 130px;
	margin-top: 1em;
}

/*
 * SIDEBAR
 * ----------------------------------------------------------------------------
 */
#sidebar {
	border-top: 1px solid #eac5b1;
	background: url('images/post_bg.gif') repeat-x;
}
#sidebar h2 {
	color: #5b2102;
	font-weight: bold;
}
#sidebar ul {
	margin: 1.5em;
}
#sidebar ul li {
	margin: 1.5em 0;
}
#sidebar ul ul {
	font-size: .8em;
	border-top:    1px solid #dadada;
}
#sidebar ul ul li {
	border-bottom: 1px solid #dadada;
	padding: .5em;
	margin: 0;
}

#searchform {
	margin-top: .75em;
}

.categories a {
	color: #bf4201;
	font-weight: bold;
	text-decoration: none;
	background: url('images/icons.gif') no-repeat -5px -22px;
	padding-left: 14px;
}
#sidebar a:visited {
	color: #bd9346;
}
#sidebar a:hover {
	color: #000;
}

.st-tag-cloud {
	line-height: 1.5;
	text-align: center;
	margin-top: .75em;
}
.st-tag-cloud a {
	text-decoration: none;
	margin: 0 .25em;
}
.st-tag-cloud a:hover {
	text-decoration: underline;
}

.linkcat a {
	color: #bf4201;
	text-decoration: none;
	background: url('images/ico_external_link.gif') no-repeat 0 5px;
	padding-left: 11px;
}

.forumtopics {
	line-height: 1.5;
}

/*
 * PAGES
 * ----------------------------------------------------------------------------
 */
#pagetitle {
	font-size: 1.5em;
	color: #c2d6d8;
	margin-left: 30%;
	margin-bottom: .5em;
}
	
/*
 * Icones
 * ----------------------------------------------------------------------------
 */
.ico-home, 
.ico-cat,
.ico-date,
.ico-cake,
.ico-user,
.ico-tag,
.ico-rss,
.ico-plus,
.ico-comments {
	background-image: url('images/icons.gif');
	background-repeat: no-repeat;
}
.ico-home {
	background-position: -5px -2px;
	padding-left: 13px;
}
.ico-cat {
	background-position: -5px -22px;
}
.ico-date {
	background-position: -5px -42px;
}
.ico-cake {
	background-position: -5px -62px;
}
.ico-user {
	background-position: -5px -82px;
}
.ico-tag {
	background-position: -5px -102px;
}
.ico-rss {
	background-position: -5px -122px;
	padding-left: 13px;
}
.ico-plus {
	background-position: -5px -142px;
	padding-left: 14px;
}
.ico-comments {
	background-position: -5px -162px;
	padding-left: 14px;
}

.ico-req {
	background: url('images/required.png') no-repeat 123px 4px;
}
.ico-ext {
	background: url('images/ico_external_link.gif') no-repeat 0 5px;
	padding-left: 11px;
}

/*
 * FOOTER
 * ----------------------------------------------------------------------------
 */
#footer {
	color: #666;
	background: url('images/footer_background.gif') repeat-x;
	overflow: auto;
	font-size: .75em;
	line-height: 1.4;
	margin-bottom: 1em;
}
.footer-list {
	width: 35%;
	float: left;
	border-top: 1px solid #eac5b1;
	background: url('images/post_bg.gif') repeat-x;
}
.footer-list h2 {
	color: #5b2102;
	font-size: 1.3em;
	font-weight: bold;
}
.footer-list a {
	color: #bf4201;
	font-weight: bold;
	text-decoration: none;
	border-bottom: 1px dotted;
}
.footer-list a:hover {
	color: #000;
}
.footer-list ul {
	margin: 1em;
	border-top:    1px solid #dadada;
}
.footer-list ul li {
	border-bottom: 1px solid #dadada;
	padding: .4em;
}
.footer-list ul li a {
	border-bottom: 0;
}

.footer-margin {
	margin: 1em;
}

#footer-articles b {
	float: left;
}
#footer-articles a {
	display: block;
	margin-left: 52px;
}
.footer-list p {
	margin-left: 1em;
}

#footer-about {
	width: 29.5%;
	float: right;
	border-top: 3px solid #c2d6d8;
	background: url('images/post_bg.gif') repeat-x;
}
#footer-about p {
	margin-bottom: 2em;
	text-align: justify;
}
#footer-about a {
	color: #387b82;
}
#footer-about a:visited {
	color: #6d999e;
}
#footer-about a:hover {
	color: #000;
}
#cc {
	background: url('images/creative_commons.gif') no-repeat;
	display: block;
	width: 95px;
	height: 28px;
	text-indent: -9999px;
}
