/* 
Theme Name: myBook  
Theme URI:
Author: robertostrabelli 
Author URI: http://roberto.supercaras.com 
Description: myBook is a theme specifically for writers. Suitable for long texts, good for parts or whole books, short stories, novels or essays. A simple and responsive theme with device-agnostic layout, focusing on content and delightful reading.
Version: 1.2
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl.html
Tags: white, green, light, two-columns, three-columns, flexible-width, custom-header, flexible-header, custom-background, editor-style, custom-menu, translation-ready
Text Domain: mybook  

myBook WordPress theme, Copyright (C) 2013 robertostrabelli
myBook and all its parts is distributed under the terms of the GNU General Public License.
Header's image source: http://gpl.imageafter.com/image.php?image=b19architecture_exteriors007.jpg

If you find a problem or error, please advise: http://roberto.supercaras.com/sobre/#contact

*/


/* === RESET === */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
html {
	font-size: 62.5%;
	overflow-y: scroll; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}
body {
	background: #fff;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { 
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { 
	outline: 0;
}
a img {
	border: 0;
}


/* === GLOBAL === */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

/* Headings */
h1,h2,h3,h4,h5,h6 {
	clear: both;
}
hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

/* Text elements */
p {
	margin-bottom: 1.5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: bold;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 1.5em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	padding: 1.6em;
	overflow: auto;
	max-width: 100%;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto;
	max-width: 100%;
}
button,
input,
select,
textarea {
	font-size: 100%;
	margin: 0; 
	vertical-align: baseline; 
	*vertical-align: middle; 
}
button,
input {
	line-height: normal; 
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; 
	-webkit-appearance: button; 
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; 
	padding: 0; 
}
input[type="search"] {
	-webkit-appearance: textfield; 
	-webkit-box-sizing: content-box; 
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { 
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { 
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}
textarea {
	overflow: auto; 
	padding-left: 3px;
	vertical-align: top; 
	width: 98%;
}

/* Links */
a {
	color: royalblue;
}
a:visited {
	color: purple;
}
a:hover,
a:focus,
a:active {
	color: midnightblue;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Clearing */
.clear:before,
.clear:after,
[class*="content"]:before,
[class*="content"]:after,
[class*="site"]:before,
[class*="site"]:after {
	content: '';
	display: table;
}

.clear:after,
[class*="content"]:after,
[class*="site"]:after {
	clear: both;
}


/* === MENU === */

.main-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}
.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	position: absolute;
		top: 1.5em;
		left: 0;
	z-index: 99999;
}
.main-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul ul li {
}
.main-navigation li:hover > a {
}
.main-navigation ul ul :hover > a {
}
.main-navigation ul ul a:hover {
}
.main-navigation ul li:hover > ul {
	display: block;
}
.main-navigation li.current_page_item a,
.main-navigation li.current-menu-item a {
}

/* Small menu */
.menu-toggle {
	display: none;
	cursor: pointer;
}

@media screen and (max-width: 600px) {
	.menu-toggle,
	.main-navigation.toggled .nav-menu {
		display: block;
	}

	.main-navigation ul {
		display: none;
	}
}


/* === CONTENT === */

.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}
.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


/* === ASIDES === */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* === MEDIA === */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}
.site-content .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-content .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-content .gallery dd {
	margin: 0;
}
.site-content .gallery-columns-4 .gallery-item {
}
.site-content .gallery-columns-4 .gallery-item img {
}

embed,
iframe,
object {
width:auto;
}

/* === Navigation === */

.site-content [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

/* === Comments === */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}

/* === Widgets === */

.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

/* === Infinite Scroll === */

.infinite-scroll .paging-navigation, 
.infinite-scroll.neverending .site-footer { 
	display: none;
}

.infinity-end.neverending .site-footer {
	display: block;
}


/* === INI ==== */

 
 @font-face { font-family: 'Merriweather'; font-style: normal; font-weight: 400; src: local('Merriweather'), url(http://themes.googleusercontent.com/static/fonts/merriweather/v5/RFda8w1V0eDZheqfcyQ4EHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); } 
 @font-face { font-family: 'Merriweather'; font-style: italic; font-weight: 400; src: local('Merriweather Italic'), local('Merriweather-Italic'), url(http://themes.googleusercontent.com/static/fonts/merriweather/v5/So5lHxHT37p2SS4-t60SlHpumDtkw9GHrrDfd7ZnWpU.woff) format('woff'); } 
 
 body{ 
 font-family:'Merriweather','Georgia','Cambria','Times New Roman','Times',serif;  
 -webkit-font-smoothing: antialiased; 
 -moz-font-smoothing: antialiased; 
 -o-font-smoothing: antialiased; 
 -ms-font-smoothing: antialiased; 
 font-weight:400; 
 -ms-word-wrap: break-word; 
 word-wrap: break-word; 
 }  
 
h1,h2,h3,h4,h5,h6,p,blockquote,q {text-shadow: 0px -1px 1px rgba(150, 150, 150, 0.5);}
  
.nav a, .nav1 a, .folha1 a, .folha a, .folhacom  a,.nav a:visited, .nav1 a:visited, .folha1 a:visited, .folha a:visited, .folhacom  a:visited {color: royalblue;}
 
 h1,h2,h3,h4,h5,h6 {font-family:'Merriweather','Georgia','Cambria','Times New Roman','Times',serif;letter-spacing:-1px;}
 h1 {font-size:2.0em;}
 h2 {font-size:1.8em;}
 h3 {font-size:1.6em;}
 h4 {font-size:1.4em;}
 h5 {font-size:1.3em;}
 h6 {font-size:1.2em;}
 p {font-size:1.1em;}
 
 blockquote {
 -webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px -2px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px -2px 5px rgba(50, 50, 50, 0.75);
background: rgb(224, 194, 115);
background: -moz-linear-gradient(94deg, rgb(224, 194, 115) 1%, rgb(255, 222, 154) 90%);
background: -webkit-linear-gradient(94deg, rgb(224, 194, 115) 1%, rgb(255, 222, 154) 90%);
background: -o-linear-gradient(94deg, rgb(224, 194, 115) 1%, rgb(255, 222, 154) 90%);
background: -ms-linear-gradient(94deg, rgb(224, 194, 115) 1%, rgb(255, 222, 154) 90%);
background: linear-gradient(184deg, rgb(224, 194, 115) 1%, rgb(255, 222, 154) 90%);
width: 98%;
margin: 1% auto 1% auto;
padding: 1% 1% 1% 1%;
 }
 
table{border-collapse:collapse;}
table,th, td{border: 1px solid black;}
td {padding:1px;}
dl,dd,dt {font-family:Verdana,sans-serif;}
address, pre {font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;}  
pre {background: rgb(255, 222, 154); }
q {font-style:italic;}
	
 #searchform {margin:0px; padding:0px;} 
 #searchform #searchsubmit {font-size: 14px; margin:0px; padding:4px;display:inline-block;} 
 #searchform #s {margin:0px;font-size: 14px;width:112px;}  
 .showcomm p {display:inline-block;} 
 .showcomm { font-size: 18px; margin:0px; padding:4px; }  
 
 #wpstats{
padding:2px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background:yellow;
display: none;
visibility:hidden;
}

img#wpstats {
	margin: 0 auto 24px;
	margin: 0 auto 1.714285714rem;
	display: none;
visibility:hidden;
}

/* === MENU === WIDGETS ==== */

.menu {width: 180px;font-family:Verdana,sans-serif;font-size:12px;}
.menu ul {margin: 0;padding: 0;outline: 0;}
.menu ul li{list-style: none;margin: 0 0 0 7px;}
.menu a, .menu a:link, .menu a:visited {color:darkgreen;}
.menu a:hover,.menu a:focus {color:red;}

.widget {text-align:left;font-family:Verdana,sans-serif;font-size:12px;}
.nav1 .widget,.nav .widget,.nav3 .widget {width:180px;}
.nav3 .widget  ul li {list-style: none;}

.mybook_widget { width:100%;}
.mybook_widget ul {margin: 0;padding: 0;outline: 0;}
.mybook_widget ul li {list-style: none;margin: 0 0 0 7px;}

.widget a, .widget a:link, .widget a:visited {color:darkgreen;}
.widget a:hover,.widget a:focus {color:red;}


.nav3 {position:absolute;right:4px;top:0px;}

.nav {position:absolute;left:4px;top:260px;}

.nav1 {position:absolute;left:4px;top:4px;}


/* === HEAD === */

.capa {
position:absolute;left:4px;top:8px;
width:180px; 
height:240px; 
display:block;
-webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px -2px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px -2px 5px rgba(50, 50, 50, 0.75);
}

.capa1 {
margin: 8px auto 8px auto;
width:360px; 
height:480px; 
  box-shadow: 5px 5px 20px #333;
  -webkit-box-shadow:5px 5px 20px #333;
  -moz-box-shadow:5px 5px 20px #333;
}

h1.site-title,h2.site-description {
padding: 3% 3% 0 3%;
text-align:center;
text-shadow: 0px -1px 9px rgba(0, 0, 0, 1);
}

.capa h1.site-title {font-size:1.45em;}
.capa h2.site-description {font-size:1.15em;}

.capa1 h1.site-title {font-size:2.2em;}
.capa1 h2.site-description {font-size:1.6em;}

.capa a:link, .capa a:visited,.capa1 a:link, .capa1 a:visited {color:#28ffc5;}
 
.folha1, .folha, .folhacom {
-webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px -2px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px -2px 5px rgba(50, 50, 50, 0.75);
background: rgb(255, 222, 154);
background: -moz-linear-gradient(94deg, rgb(255, 222, 154) 1%, rgb(255, 255, 200) 90%);
background: -webkit-linear-gradient(94deg, rgb(255, 222, 154) 1%, rgb(255, 255, 200) 90%);
background: -o-linear-gradient(94deg, rgb(255, 222, 154) 1%, rgb(255, 255, 200) 90%);
background: -ms-linear-gradient(94deg, rgb(255, 222, 154) 1%, rgb(255, 255, 200) 90%);
background: linear-gradient(184deg, rgb(255, 222, 154) 1%, rgb(255, 255, 200) 90%);
width: 600px;
margin: 8px auto 0 auto;
padding: 1% 5% 1% 5%;
}

.capafull,.rodape {width: 600px; 
margin: 8px auto 0 auto;
padding: 1% 5% 1% 5%;
-webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    0px -2px 5px rgba(50, 50, 50, 0.75);
box-shadow:         0px -2px 5px rgba(50, 50, 50, 0.75);
 background-image:-webkit-linear-gradient(bottom,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%); 
 background-image:-moz-linear-gradient(bottom,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%); 
 background-image:-ms-linear-gradient(bottom,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%); 
 background-image:-o-linear-gradient(bottom,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%); 
 background-image:linear-gradient(to top,rgba(0,0,0,0.5) 0,rgba(0,0,0,0.3) 70%,rgba(0,0,0,0) 100%);
}

/* === === */

.creditos {width: 600px; 
margin: 8px auto 0 auto;
padding: 1% 5% 1% 5%;
}

.capafull, .rodape, .creditos {text-align:center;font-family:Verdana,sans-serif;letter-spacing:-1px;}
.creditos a, .creditos a:visited,.rodape, .rodape a, .rodape a:visited {color: #000000;}
a {text-decoration: none;}

hr .hr1 {
    border: 0;
    height: 1px;
    background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
    background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.75), rgba(0,0,0,0)); 
}

.infopost, .previusnext {font-family:Verdana,sans-serif;letter-spacing:-1px;}

.previusnext{
display: block;
 text-align:center;
 margin:auto;
 }

 span.pn { 
 display: inline-block;
 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05); 
 color: rgba(0, 0, 0, .8); 
 cursor: pointer; 
 -webkit-appearance: button; 
 padding: .6em 1em .4em; 
 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); 
 overflow:hidden;
text-overflow:ellipsis;
max-width:90%;
 }
 
 .folha .entry-content h1 {color:inherit;}
 .folha1 h2 a:link,.folha1 h2 a:visited,.folha h1 {color:#B8860B;}
 
 .fotoautor {display:inline;}
 .infoautor {float:right;clear:left;}
 
 .folha1 .sticky h2 a {color:red;}
 .format-chat {font-family:Verdana,sans-serif;}
 
@media screen and (max-width: 1140px) {
.folha1,.folha, .folhacom, .capafull, .rodape, .creditos {margin: 8px 0 0 198px;}
}

@media screen and (max-width: 1120px) {
.nav3 {position:relative; right:0;width: 690px;margin: 0 0 0 198px;padding: 0;}
.nav3 .widget {width:100%;margin:0;}
.nav3 .widget .mybook_widget li, .nav3 .widget .mybook_widget  ul li {list-style: none; display:inline;margin:0;}
.nav3 .widget .mybook_widget ul li:after {content:' | ';color:black;}
.nav3 .widget .mybook_widget ul li:last-of-type:after {content:' ';}
}

@media screen and (max-width: 910px) {
.folha1,.folha, .folhacom, .capafull, .rodape, .creditos {margin: 8px auto 0 auto;}
.capa, .nav, .nav1 {position:relative; top:0;left:0; width: 600px;margin: 8px auto 0 auto;padding: 1% 5% 1% 5%;-webkit-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75); -moz-box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75); box-shadow: 0px -2px 5px rgba(50, 50, 50, 0.75);}
.nav3 {width: 600px;margin: 0 auto 0 auto;}
.nav1 .widget,.nav .widget,.nav3 .widget {width:inherit;}
.mybook_widget li, .mybook_widget  ul li {list-style: none; display:inline;margin:0;}
.mybook_widget ul li:after {content:' | ';color:black;}
.mybook_widget ul li:last-of-type:after {content:' ';}
.capa h1.site-title {font-size:2.7em;}
.capa h2.site-description {font-size:1.8em;}
}

@media screen and (max-width: 690px) {
.capa, .nav, .nav1, .nav3, .folha1,.folha, .folhacom, .capafull, .rodape, .creditos {width:88%;}
.capa1 {width:100%;}
}

@media screen and (max-width: 480px) {
body {font-size:1.55em;}
}

@media screen and (max-width: 400px) {
body {font-size:1.45em;}
}
