/*   
Theme Name: Mechamorafa
Theme URI: http://mechamorafa.com/blog
Description: Simple and responsive blog theme for Wordpress.
Author: Rafael Ramos
Author URI: http://mechamorafa.com
Version: 1.0
*/

/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.chromeframe {position: absolute; top: 0;}

/* Natural Elements */

body {font-family: 'PT Serif', Georgia, serif; -webkit-font-smoothing: antialiased;}
h1, h2, h3, h4, h5 {font-family: 'PT Sans', Helvetica Neue, Arial, sans-serif; }

p {font-size: 21px; line-height: 1.55;}

a {color: #333;}
a:hover {color: #3a46ea;}

blockquote {margin: 35px 0 35px 20px; padding-left: 20px; border-left: 5px solid #eee; color: #666;}
blockquote > p, blockquote > a {font-style: italic; font-size: 32px; line-height: 1.6;}

/* Color of the text when non-specified */
body, select, input, textarea {color: #333;}


/* Custom text-selection colors */
::-moz-selection{background: #3a46ea; color: #fff; text-shadow: none;}
::selection {background: #3a46ea; color: #fff; text-shadow: none;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }

/* Webkit Input Reset */
input[type="search"] { -webkit-appearance: textfield; }
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {display: none;}


/* And here begins the WordPress fun.
-------------------------------------------------------------------------------*/

/* Structure */

#wrapper {width: 100%; height: 100%;}
#footer {margin: 40px 0 0 0; font-style: italic;}

#sideheader {
	width: 300px; /* This should be equal to #main's margin-left property */
	padding: 40px 30px;
	height: 100%;
	min-height: 600px;
	position: fixed;
	z-index: 1000;
	background-color: #999;
	background-size: cover;
}

#main {
	margin-left: 300px; /* This should be equal to #sideheader's width property */
	padding: 40px 30px;
	min-height: 100%;
	max-width: 790px;
}


/* WP Menu Desktop */
#nav {margin: 40px 0;}
#nav ul li {font: 13px 'PT Sans', 'Helvetica Neue', Arial, sans-serif; text-transform: uppercase; margin-bottom: 20px;}
#nav ul li a {text-decoration: none; color: #fff; letter-spacing: 1px; -webkit-transition: all 0.1s linear; transition: all 0.1s linear;}
#nav ul li a:hover {margin-left: 6px;}

/* WP Menu Mobile */
#nav-toggle {position: absolute; top: 0; right: 0; margin: 44px 80px 0 0; display: none; color: #fff; font-size: 29px; cursor: pointer;}
#mobilenav {display: none; width: 100%;}
#mobilenav ul {width: 100%; background: #fff;}
#mobilenav ul li {font: 14px 'PT Sans', 'Helvetica Neue', Arial, sans-serif; text-align: left; text-transform: uppercase; padding: 20px 0; border-bottom: 1px solid #eee;}
#mobilenav ul li a {text-decoration: none; color: #333; letter-spacing: 2px; padding-left: 80px; }

/* Blog Title and Description */
.title, .title a {font-size: 26px; padding:0; margin: 0 0 10px 0; text-decoration: none; color: #fff; -webkit-transition: all 0.5s; transition: all 0.5s;}
.title a:hover {color: #3a46ea;}
.description {color: #fff; padding: 10px 0; font-size: 16px;}

/* Posts and Content Properties */
.post {margin-top: 45px; padding-bottom: 25px; border-bottom: 1px solid #eee;}
.post:first-child {margin-top: 0;}
.entry-content p {margin-bottom: 30px;}
.entry-title {font-size: 36px; font-weight: 700; /*text-transform: uppercase;*/ margin-bottom: 10px; line-height: 1.4;}
.entry-title a {text-decoration: none; color: #333;}
.entry-title a:hover {color: #3a46ea;}
.time-author, .time-author a {font-size: 17px; font-weight: normal; color: #999; margin-bottom: 20px;}
.time-author a:hover {color: #3a46ea;}
.page-title {text-transform: uppercase; padding-bottom: 10px; border-bottom: 1px solid #eee; margin-bottom: 20px; color: #666;}
.read-more {font-variant: small-caps;}

/* Content Responsive Img */
img {max-width: 100%; height: auto; -ms-interpolation-mode: bicubic;}
.gallery {padding: 0; margin: 0;}
.gallery-item {padding: 0 2% 20px 0;}
.gallery-size-thumbnail {width: 100%;}
.wp-caption {max-width: 100%; max-height: 100%; background: #f9f9f9;}
.wp-caption-text {font-size: 16px; text-align: left; padding-left: 10px; padding-bottom: 7px; font-variant: small-caps;}

/* Content Headings */
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5
 {text-align: left; color: #111; font-weight: bold; padding: 0 0 1em 0; margin: 0; font-style: normal;}
.entry-content h1 {font-size: 30px;}
.entry-content h2 {font-size: 26px;}
.entry-content h3 {font-size: 24px;}
.entry-content h4 {font-size: 22px;}
.entry-content h5 {font-size: 20px;}

/* Content Lists */
.entry-content ul, .entry-content ol {margin-bottom: 20px; padding: 0 40px; font-weight: normal; line-height: 1.6;}
.entry-content ul {list-style-type: disc;}
.entry-content li {font-size: 21px;}

/* Pagination */
.navigation {margin-top: 20px; padding-bottom: 20px; border-bottom: 1px solid #eee;}
.navigation li {display: inline-block;}
.next-posts a, .prev-posts a {font-variant: small-caps;}
.prev-posts {float: right;}

/* Searchform */ 
#searchform {position: absolute; bottom: 0; left: 0; padding: 0 30px 30px 30px; width: 300px;}
#s {width: 100%; border-radius: 0; border: none; padding: 10px 10px 10px 40px; color: #999; opacity: 0.5; background: url('_/inc/img/search-icon.png') no-repeat 10px #fff; background-size: 20px 20px; -webkit-transition: all 0.3s; transition: all 0.3s;}
#s:focus {opacity: 1; outline: none !important;}


/* Image Alignment (WordPress default classes, styled for Mechamorafa theme) */
.alignnone {
    margin: 10px 25px 25px 0;
    display: inline-block;
}

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

.alignleft {
    float: left;
    margin: 10px 25px 25px 0;
}

.alignright {
    float: right;
    margin: 10px 0 25px 25px;
}

/* Ensure images scale well inside text */
.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.aligncenter {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Caption alignment matching image float */
.wp-caption.alignleft {
    float: left;
    margin: 10px 25px 25px 0;
}

.wp-caption.alignright {
    float: right;
    margin: 10px 0 25px 25px;
}

.wp-caption.aligncenter {
    display: block;
    margin: 25px auto;
    text-align: center;
}

/* Caption text style consistent with theme */
.wp-caption-text {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 17px;
    color: #666;
    line-height: 1.5;
    padding-top: 6px;
    text-align: center;
    font-style: italic;
}




/* Comments */
#comments {margin: 40px 0 20px 0;}
#commentform {width: 100%;}
#commentform div {margin: 20px 0;}
#comment {width: 100%;}
#respond {padding: 20px 0 0; border-bottom: 1px solid #eee;}
#respond div input, #respond div textarea {padding: 10px 15px; border: 1px solid #eee; border-radius: 3px; color: #999; font-family: Georgia, serif; font-weight: lighter;}
#respond div input:focus, #respond div textarea:focus {border: 1px solid #333; outline: none !important; color: #333;}
#submit {background: #fff; border: 1px solid #eee; font-size: 1rem; color: #333!important;}
#submit:hover {background: #333; color: #fff!important;}
.comments-title {font-size: 1.8rem; margin-bottom: 20px;}
ol.commentlist {list-style: none;}
ol.commentlist li {border: 1px solid #eee;}
ol.commentlist li.alt {}
ol.commentlist li.bypostauthor {}
ol.commentlist li.byuser {}
ol.commentlist li.comment-author-admin {}
ol.commentlist li.comment, ol.commentlist li.pingback {padding: 4.5%; margin-bottom: 15px;}
ol.commentlist li.comment div.comment-author {}
ol.commentlist li.comment div.vcard {}
ol.commentlist li.comment div.vcard cite.fn, ol.commentlist li.pingback div.vcard cite.fn {font-style: normal; line-height: 2rem;}
ol.commentlist li.comment div.vcard cite.fn a.url {}
ol.commentlist li.comment div.vcard img.avatar {float:left; margin: 0 10px 10px 0; border-radius: 1000px; -webkit-border-radius: 1000px;}
ol.commentlist li.comment div.vcard img.avatar-32 {}
ol.commentlist li.comment div.vcard img.photo {}
ol.commentlist li.comment div.vcard span.says {}
ol.commentlist li.comment div.commentmetadata {}
ol.commentlist li.comment div.comment-meta, ol.commentlist li.pingback div.comment-meta {font-size: 0.8rem;}
ol.commentlist li.comment div.comment-meta a, ol.commentlist li.pingback div.comment-meta a {color: #666; text-decoration: none;}
ol.commentlist li.comment p, ol.commentlist li.pingback p {padding: 10px 0; line-height: 1.9rem; clear: both;}
ol.commentlist li.comment ul {}
ol.commentlist li.comment div.reply, ol.commentlist li.pingback div.reply {font-size: 0.8rem; text-align: right; padding-right: 10px;}
ol.commentlist li.comment div.reply a, ol.commentlist li.pingback div.reply a {font-weight: bold; text-decoration: none;}
ol.commentlist li.comment ul.children, ol.commentlist li.pingback ul.children {list-style: none; margin: 10px 0 0;}
ol.commentlist li.comment ul.children li {}
ol.commentlist li.comment ul.children li.alt {}
ol.commentlist li.comment ul.children li.bypostauthor {}
ol.commentlist li.comment ul.children li.byuser {}
ol.commentlist li.comment ul.children li.comment {}
ol.commentlist li.comment ul.children li.comment-author-admin {}
ol.commentlist li.comment ul.children li.depth-2 {}
ol.commentlist li.comment ul.children li.depth-3 {}
ol.commentlist li.comment ul.children li.depth-4 {}
ol.commentlist li.comment ul.children li.depth-5 {}
ol.commentlist li.comment ul.children li.odd {}
ol.commentlist li.even {background: #fff;}
ol.commentlist li.odd {background: #fff;}
ol.commentlist li.parent {}
ol.commentlist li.thread-alt {}
ol.commentlist li.thread-even {}
ol.commentlist li.thread-odd {}


@media print {

}


/* Media queries! :)
-------------------------------------------------------------------------------*/

@media only screen and (max-width: 899px) {

	#sideheader {position: relative; width: 100%; min-height: 0; padding: 50px 80px;}
	#main {margin: 0; padding: 50px 80px; max-width: 899px;}
	#nav {display: none;}
	#nav-toggle {display: block;}
	#searchform {position: relative; padding: 0; width: 100%; margin-top: 20px;}
	#s {transition: all 0s; -webkit-transition: all 0s;}
	p {font-size: 20px; line-height: 1.55;}
	blockquote > p, blockquote > a {font-size: 30px;}
	.entry-title {font-size: 34px;}
	.entry-content li {font-size: 20px;}

}

@media only screen and (max-width: 539px) { 

	#main {padding: 30px 28px;}
	#sideheader {padding: 30px 28px;}
	#nav-toggle {margin: 25px 28px;}
	#mobilenav ul li a {padding-left: 28px;}
	p {font-size: 18px; line-height: 1.7;}
	blockquote > p, blockquote > a {font-size: 26px;}
	.entry-title {font-size: 28px; }
	.time-author, .time-author a {font-size: 15px;}
	.entry-content li {font-size: 18px;}

}