/*
    Modified version by liamski.co.uk
*/

/*
    Theme Name: Modernist
    Theme URI: http://www.rodrigogalindez.com/themes/modernist
    Description: A flexible, minimal theme focused on great typography. An invisible design to let you and your users focus on your content. Based on the design ideas of Jan Tschichold, Josef Müller-Brockmann, Dieter Rams, and other modernists. Supports widgets, SEO optimized, clean and documented code, fast to load, no plugins required. Works in WordPress 2.7 and superior. Works in IE 6 & superior and all versions of Safari/Firefox/Opera. Includes CSS3 buttons.
    Version: 2.5
    Author: Rodrigo Galindez
    Author URI: http://www.rodrigogalindez.com
    Tags: white, blue, black, silver, light, two-columns, fixed-width, threaded-comments, sticky-post, custom-header, custom-colors, custom-menu
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* -------------------------------- [ General Elements ] */

body {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 62.5%;
	background-color: #f1f1f1;
	background-image: url(/blog/wp-content/themes/modernist/images/bg.gif);
	background-repeat: repeat;
	background-position: top left;
	color: #444;
}

hr {
	display: none;
}

img {
	vertical-align: baseline;
	border: 0;
}

p {
	margin: 0 0 1.4em 0;
	font-size: 1.4em;
	line-height: 1.65;
}

a {
	color: #21759B;
	border-bottom: 1px dotted #ccc;
	text-decoration: none;
}

a:hover {
    color: #000;
	/*color: #7baac7;
	border-bottom: 1px solid #7baac7;*/
}

h2.page-title {
	margin: 0 0 .5em 0 !important;
	font-size: 2.8em;
	font-weight: normal;
	color: #21759B;
}

code {
	font-family: Monaco, "Courier New", fixed;
	font-size: 12px;
	color: #6C8318;
	font-weight: normal;
}

/* ----------------------------------------- [ Wrapper ] */

#wrapper {
	width: 878px;
	margin: 0 auto;
	margin-top: 160px;
	margin-bottom: 40px;
	height: 1%;
}

#wrapper:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* ------------------------------------------ [ Header ] */

#header-wrapper {
	height: 1%;
	clear: both;
}

#header-wrapper:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#header {
	margin: 0 -20px;
	padding: 50px;
}

#header h1 {
	font-size: 4.8em;
	font-weight: normal;
}

#header h1 a {
	text-decoration: none;
	border: 0 none;
}

#nav {
	margin: 0 0 15px 3px;
	padding: 15px 0 0 0;
	/* background: transparent url("/blog/wp-content/themes/modernist/images/l.gif") no-repeat left top; */
	height: 1%;
	clear: both;
}

#nav:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

/* Son of Suckerfish Dropdowns: http://htmldog.com/articles/suckerfish/dropdowns/ */

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

#nav li {
	margin-right: 25px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.6;
	float: left;
}

#nav li.current_page_item a {
	font-weight: bold;
	color: #333;
}

#nav li a {
	display: block;
	border: 0 none;
	color: #555;
}

#nav li a:hover {
	color: #21759B;
}

#nav li ul {
	position: absolute;
	left: -999em;
}

#nav li:hover ul,
#nav li.sfhover ul {
	left: auto;
}

#nav li ul li {
	font-size: 11px;
}

#nav li.current_page_item ul li a {
	font-weight: normal;
}

#nav li ul li a {
	border-bottom: 1px dotted #ccc;
}

/* ----------------------------------------- [ Content ] */

#content {
	width: 530px;
	float: left;
}

/* Post */

.post,
.page {
	margin: 0 0 100px 0;
	height: 1%;
}

.post:after,
.page:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.post h1,
.post h2 {
	margin: 1.5em 0 .5em 0;
	font-size: 2em;
	color: #333;
}

.post h3 {
	margin: 2em 0 .5em 0;
	font-size: 1.7em;
	color: #333;
}

.post h4,
.post h5,
.post h6 {
	margin: 2em 0 .5em 0;
	font-size: 1.4em;
	color: #333;
}

.post table {
	width: 100%;
	font-size: 1.4em;
	line-height: 1.65;
	border-collapse: collapse;
}

.post table th {
	padding: 5px 0;
	text-align: left;
}

.post table td {
	padding: 5px 0;
}

.post table tr {
	border-bottom: 1px solid #ddd;
}

.post dl {
	margin: 0 0 1.4em 0;
}

.post dt {
	margin-top: 1.4em;
	font-size: 1.4em;
	line-height: 1.65;
	font-weight: bold;
}

.post dt:first-child {
	margin: 0;
}

.post dd {
	font-size: 1.3em;
	line-height: 1.65;
}

.post ul,
.post ol {
	margin: 0 0 1.4em 0;
}

.post li {
	font-size: 14px;
	line-height: 1.65;
}

.post li ul,
.post li ol {
	margin-left: 15px;
}

.post address {
	font-size: 1.4em;
	line-height: 1.65;
	margin: 0 0 1.4em 0;
}

.post abbr,
.post acronym {
	border-bottom: 1px dotted #ccc;
}

.post pre {
	margin: 0 0 1.4em 0;
	font-family: Monaco, "Courier New", fixed;
	font-size: 12px;
	color: #6C8318;
}

.post kbd,
.post tt {
	font-family: Monaco, "Courier New", fixed;
	font-size: 12px;
	color: #666;
}

.post var {
	color: #892E12;
}

/* Hack to make the 'Div and Span Tests' unit test look better */
div.myclass strong {
	font-size: 1.4em;
	line-height: 1.65;
}

.post blockquote {
	margin-left: 30px;
	padding-left: 15px;
	border-left: 2px solid #ddd;
}

.post img {
	max-width: 500px;
	height: auto;
	margin-top: 15px;
	margin-bottom: 15px;
	padding: 8px;
	background: #fff;
	border: 1px solid #e9e9e9;
}

.post-header h2 {
	margin: 0;
	font-size: 2.8em;
	font-weight: normal;
	color: #333;
}

.post-header h2 a {
	border: 0 none;
	color: #333;
}

.post-header h3 {
	margin: 0 !important;
	font-size: 2em;
	line-height: 1.4;
	font-weight: normal;
}

.post-header h3 a {
	border: 0 none;
	color: #333;
}

.post-header p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	color: #777;
}

.post-meta {
	padding: 10px 0 0 0;
	/* background: transparent url("/blog/wp-content/themes/modernist/images/l.gif") no-repeat left top; */
	clear: both;
}

.post-meta ul {
	list-style-type: none;
}

.post-meta li {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #777;
}

.post-navigation,
.comment-navigation {
	margin: 0 0 40px 0;
	padding: 10px 0 0 0;
	/* background: transparent url("/blog/wp-content/themes/modernist/images/l.gif") no-repeat left top; */
	clear: both;
	float: left;
	height: 1%;
}

.comment-navigation {
	margin-top: 40px;
}

.post-navigation:after,
.comment-navigation:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.post-navigation ul,
.comment-navigation ul {
	list-style-type: none;
}

.post-navigation li,
.comment-navigation li {
	margin-right: 25px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	color: #777;
	float: left;
}

.post-page-links {
	margin-bottom: 1.4em;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #777;
}

/* Comments */

.post-comments {
	margin: 0 0 40px 0;
	height: 1%;
}

.post-comments:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.post-comments h2,
h3#comments-title,
h3#reply-title {
	margin-bottom: 1em;
	font-size: 2.8em;
	font-weight: normal;
	color: #21759B;
}

.comment,
.trackback,
.pingback {
	width: 530px;
	margin: 0 0 20px 0;
	padding: 0 0 20px 0;
	border-bottom: 1px solid #ddd;
	clear: both;
	float: left;
	height: 1%;
}

.comment:after,
.trackback:after,
.pingback:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.pingback p,
.trackback p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #aaa;
}

.comment-avatar {
	width: 60px;
	float: left;
}

.comment-avatar img {
	width: 54px;
	padding: 2px;
	background: #fff;
	border: 1px solid #ddd;
}

.comment-body {
	width: 460px;
	margin-left: 10px;
	float: right;
}

.comment-body ul {
	margin: 0 0 1.4em 1.2em;
}

.comment-body li {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 11px;
	line-height: 1.5;
}

.comment-body blockquote {
	margin-left: 30px;
	margin-bottom: 1.4em;
	padding-left: 15px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 11px;
	line-height: 1.5;
	border-left: 2px solid #ddd;
}

.comment-body blockquote p {
	font-size: 1em;
}

.comment-meta {
	margin: 0;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #777;
}

.comment-form table {
	width: 530px;
	border-collapse: collapse;
}

.comment-form th {
	width: 120px;
	padding: 2px 0 15px 0;
	text-align: left;
	vertical-align: top;
}

.comment-form th label {
	font-size: 1.3em;
	line-height: 1.4;
	color: #333;
}

.comment-form th p {
	margin: 0;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	color: #777;
}

.comment-form td {
	padding: 5px 0 15px 24px;
	vertical-align: top;
}

.comment-form td input {
	width: 280px;
	padding: 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3em;
	border-left: 1px solid #999;
	border-top: 1px solid #999;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	color: #444;
}

.comment-form td textarea {
	width: 360px;
	padding: 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3em;
	line-height: 1.65;
	font-weight: 300;
	border-left: 1px solid #999;
	border-top: 1px solid #999;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	color: #444;
}

#submit {
	width: auto;
	padding: 6px 10px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3em;
	font-weight: bold;
	background: transparent url(/blog/wp-content/themes/modernist/images/bg-button.png) repeat-x 0 50%;
	background-color: #21759B;
	border: 0 none;
	color: #fff;
	cursor: pointer;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-transition: all .2s linear;
}

#submit:hover {
	background-color: #1F536C;
	text-decoration: none;
}

.depth-2,
.depth-3,
.depth-4,
.depth-5 {
	margin: 15px 0 0 0;
	padding: 0;
	border: 0 none;
}

.depth-2 .comment-avatar {
	text-align: right;
}

.depth-2 .comment-body p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #444;
}

.depth-2 .comment-avatar img {
	width: 30px;
	height: 30px;
}

.depth-3 .comment-avatar {
	width: 100px;
}

.depth-3 .comment-body {
	width: 420px;
}

.depth-4 .comment-avatar {
	width: 140px;
}

.depth-4 .comment-body {
	width: 380px;
}

.depth-5 .comment-avatar {
	width: 180px;
}

.depth-5 .comment-body {
	width: 340px;
}

/* ----------------------------------------- [ Sidebar ] */

#sidebar {
	width: 250px;
	padding: 15px 20px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	float: right;
	color: #777777;
}

#sidebar h2 {
	margin: 0 0 .9em 0;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.3em;
	line-height: 1.4;
	text-transform: uppercase;
	color: #666;
}

#sidebar a {
	color: #555;
}

#sidebar a:hover {
	color: #111;
}

#sidebar p {
	font-size: 1em;
	line-height: 1.5;
}

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

#sidebar li {
	margin: 0 0 .4em 0;
}

#sidebar .section {
	margin: 0 0 40px 0;
	padding: 15px 0;
	/* background: transparent url(/blog/wp-content/themes/modernist/images/l.gif) no-repeat top left; */
}

/* ------------------------------------------ [ Footer ] */

#footer {
	padding: 10px 0;
	background: transparent url(/blog/wp-content/themes/modernist/images/l.gif) no-repeat top left;
	clear: both;
}

#footer p {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	font-size: 1.1em;
	line-height: 1.5;
	color: #777;
}

/* Widget: Search */

#searchform input {
	width: 90%;
	padding: 6px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	border-left: 1px solid #999;
	border-top: 1px solid #999;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	color: #444;
}

/* Widget: Calendar */

table#wp-calendar {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

table#wp-calendar caption {
	letter-spacing: 2px;
	text-transform: uppercase;
}

table#wp-calendar caption,
table#wp-calendar td,
table#wp-calendar tr {
	padding: 5px 2px;
}

table#wp-calendar tr {
	border-bottom: 1px solid #ddd;
}

table#wp-calendar tr:last-child {
	border: 0 none;
}

/* Widget: Tag Cloud */

.tag-cloud {
	line-height: 1.65;
}

.wp-tag-cloud {
	line-height: 1.5;
}

/* Widget: Pages */

#sidebar ul.children {
	margin: .4em 0 0 15px;
}

/* General WordPress Classes */

.aligncenter {
	display: block;
	margin: 0 auto;
	text-align: center;
}

.alignleft {
	margin-right: 15px;
	float: left;
}

.alignright {
	margin-left: 15px;
	float: right;
}

img.alignnone {
	margin-right: 5px;
	margin-bottom: 0;
}

.wp-caption {
	padding: 2px 5px;
	background: #fff;
	border: 1px solid #E9E9E9;
}

.wp-caption p {
	font-size: 1.1em;
	line-height: 1.5;
}

.wp-caption img {
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 0;
	border: 0 none;
}

.wp-caption a[rel] {
	border: 0 none;
}

.gallery dd {
	font-size: 1.1em;
	line-height: 1.5;
}

.gallery-caption,
.wp-caption-text {
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	text-align: center;
}

.gallery-icon a {
	border: 0 none;
}

.gallery-item img {
	margin-bottom: 5px;
	border: 1px solid #E9E9E9 !important;
}

/* ----------------------------------------------- [ * ] */

* {
	margin: 0;
	padding: 0;
    word-spacing: 0.2em;
}


/* modified styles */

a {
    -webkit-transition: color .2s linear;
    -o-transition: color .2s linear;
    -moz-transition: color .2s linear;
}

#wrapper {
	padding-left: 2em;
    margin-top: 0;
}

#header-wrapper {
    margin-bottom: 8em;
}

#sidebar {
    width: 200px;
    border-left: 1px dotted #ddd;
    padding: 0 0 0 1.5em;
    opacity: 0.6;
    -webkit-transition: opacity .3s linear;
    -o-transition: opacity .3s linear;
    -moz-transition: opacity .3s linear;
}

#sidebar:hover {
    opacity: 0.98;
    -webkit-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
}

#badge {
    background: url('/images/badge_hover.png') right top no-repeat;
}

#badge {
    background: url('/images/badge.png') right top no-repeat;
    height: 200px;
    margin-right: 360px;
}

#badge:hover {
    background: url('/images/badge_hover.png') right top no-repeat;
}

.hr-top, .hr-mid, .hr-bot, .hr-orn {
    height: 8em;
    border: 0;
    display: block;
    margin-top: 2em;
}

.hr-slim {
    height: 2em;
}

.hr-top {
    background: url('/images/hr-top.png') center no-repeat;
}

.hr-mid {
    background: url('/images/hr-mid.png') center no-repeat;
    opacity: 0.6;
}

.hr-bot {
    background: url('/images/hr-bot.png') center no-repeat;
}

.hr-orn {
    background: url('/images/hr-orn.png') center no-repeat;
    height: 40px;
}

#badge * {
    display: none;
}

a, h1, h2, h3, p, li, pre, code {
	text-shadow: #fff 0 1px 1px;
}

tt, .post tt {
    background-color:#e9e9e9;
    padding:2px 4px;
    color:#444;
    border-radius: 5px;
}

h2.page-title {
	text-align:center;
}

.post,
.page {
	margin: 0 0 50px 0;
}

.post pre {
	color: #000;
	font-family: Consolas, 'Bitstream Vera Sans Mono', 'Courier New', Courier, monospace;
	font-size: 12px;
	background: #fff;
	padding: 1em;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
}

.post li {
	line-height: 2;
}

p {
	text-align: justify;
	text-justify: newspaper;
}

.post h1, .post h2, .post-comments h2, h2.page-title, .post h3 {
	font-style: italic;
}

.post h3 {
	margin: 2em 0 1.5em 0;
}

.post-meta {
	/*border-top: 1px dotted #DDD;
	margin-top: 5em;*/
    text-align: center;
    background: url('/images/hr-bot.png') center top no-repeat;
    padding: 5em 0 0 0;
    margin: 5em 0 0 0;
}

.post-meta li {
	line-height: 1.8;
}

#footer {
	border-top: 1px dotted #DDD;
	background-image: none;
	width: 530px;
    text-align: center;
}

.intro p:first-child {
	font-style: italic;
	letter-spacing: 0.08em;
	margin: 1.5em 0;
	/*border-bottom: 1px dotted #CCC;
	border-top: 1px dotted #CCC;
	padding: 2em 0;*/
	text-indent: 2em;
}

.intro p:first-child:first-line {
	font-weight: bold;
}

.lines {
	border: 1px solid #000;
	padding: 1em;
}

a.link-button {
	display: inline-block;
	padding: 5px 10px;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
	background: transparent url(/blog/wp-content/themes/modernist/images/bg-button.png) repeat-x 0 50%;
	background-color: #21759B;
	color: #fff !important;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 1px 2px #AAAAAA;
	-webkit-box-shadow: 0 1px 2px #AAAAAA;
	-moz-box-shadow: 0 1px 2px #AAAAAA;
	-webkit-transition: all .2s linear;
	border: 0 none;
	
	font-size: 0.8em;
	font-style: normal;
	text-indent: 0px;
	text-shadow: none;
}

a.link-button:hover {
	background-color: #1F536C;
}

.codecolorer-container {
    -moz-box-shadow: 0px 0px 5px #bbb;
    -webkit-box-shadow: 0px 0px 5px #bbb;
    box-shadow: 0px 0px 5px #bbb;
    border:1px solid #ccc;
}

.post-header {
    margin: 5em 0;
}

.post-header p {
    margin-top: 0.8em;
    text-align: center;
}

.post-header h2, .post-header h2 a {
    color: #278CB9;
    text-align: center;
}
/*
.post-header p {
    border-right: 1px dotted #bbb;
    float: left;
    padding-right: 2em;
    height: 3em;
    margin-right: 2em;
    padding-top: 1em;
}

.post-header h2 {

}
*/

.comment,
.trackback,
.pingback {
	border-bottom: 1px dotted #ddd;
}

#footer p {
	padding: 2em;
    text-align: center;
}

.frontpage .post-header h2 {
    border-bottom: 1px dotted #ccc;
    color: #278CB9;
    padding-bottom: 0.1em;
}

.post-content p:first-child:first-line {
	font-weight: bold;
}

.breadcrumbs {
    font-size: 1.3em;
    margin: 0px auto;
    padding: 2em 0px 0px 2em;
    width: 878px;
    color: #bbb;
    text-transform: lowercase;
    border-bottom: 1px dotted #DDD;
    padding-bottom: 1em;
}

.breadcrumbs {
    opacity: 0.6;
    -webkit-transition: opacity .3s linear;
    -o-transition: opacity .3s linear;
    -moz-transition: opacity .3s linear;
}

.breadcrumbs:hover {
    opacity: 1;
    -webkit-transition: opacity .2s linear;
    -o-transition: opacity .2s linear;
    -moz-transition: opacity .2s linear;
}

#toc {
    margin: 1em 1em 0 16em;
    /*display: none;*/
}

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

#toc ul li:before {
    content: "»";
    color: #aaa;
    margin-right:0.3em;
}

#searchform input {
	border:1px solid #ccc;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    width: 15em;
}

.post .hidden {
    visibility:hidden;
    height:0;
    margin:0;
    padding:0;
}

/* nivo styles */
/*
.nivoSlider {
    height: 200px;
    margin-top: 4em;
    -moz-box-shadow: 0px 0px 10px #777;
    -webkit-box-shadow: 0px 0px 10px #777;
    box-shadow: 0px 0px 10px #777;
    border: 1px solid #eee;
}

.nivo-controlNav {
    margin-left: 250px;
}*/

#sidebar .section {
    margin: 2em 1em;
}

#sidebar .sectnav {
    font-size: 1.1em;
    margin-left: 0;
}

.sectnav li:before {
    content: "»";
    color: #aaa;
    margin-right:0.5em;
}

#sidebar .sectnav a {
	color: #21759B;
}

#sidebar .sectnav a:hover {
	color: #111;
}

img.thumb, .thumb, img.wp-post-image {
    height: 70px;
    width: 70px;
    float: left;
    margin: 1.2em 0 0 -11em;
    border: 4px solid white;
    padding: 0;
    box-shadow: 0 0 8px #ccc;
    -moz-box-shadow: 0 0 8px #ccc;
    -webkit-box-shadow: 0 0 8px #ccc;
    border-radius: 3px;
    -moz-box-border-radius: 3px;
    -webkit-border-radius: 3px;
    -webkit-border-radius: 3px;
    opacity: 0.7;
}

.about p {
    text-align:left;
}


