@charset "utf-8";

/*up right down left*/

/* LAYOUT */
* { margin:0; padding:0; border:0; }
html { font-family: Trebuchet MS, Arial, Helvetica, sans-serif; font-size: 14px; font-weight: 400; line-height: 1.5; }
body { background: #050505; color: #fff; }
header, section, article.essay { margin: 0 auto; width: 100%; max-width: 1200px; overflow: hidden; }
header { margin-top: 20px; margin-bottom: -6px; }

footer { width:100%; clear:both; background:#141414 url(../images/bg-linha.jpg) repeat-x; margin:35px 0 0 0; padding: 15px 0 15px 0; }
footer a { float: right; margin-left: 3px; }

a{color:#EFEFEF;text-decoration:none;}
a:hover{color:#EFEFEF;text-decoration:underline;}

/* HOME */
body.home h2 { margin-bottom: 1.5rem; padding-bottom: 0.5rem; font-weight: normal; font-size: 1.2rem; border-bottom: 2px solid #4c4c4c; clear: both;}
hr { clear:both; }

/* ESSAYS */
body.essay { font-family: Palatino, Georgia, Times, "Times New Roman", serif; color: rgb(176, 176, 176); }
body.essay header, body.essay article { max-width: 700px; }
body.essay h1 { font-weight: bold; font-size: 1.95552em; line-height: 1.2141em; margin-top: 1em; margin-bottom: 0.5em; }
body.essay h2 {  font-size: 1.46664em; margin-top: -0.35em; line-height: 1.27275em; color: #ccc; font-style: italic; margin-bottom: 1em; }
body.essay h3, .essay h4, .essay p, .essay ul, .essay ol {  margin-top: 1em; margin-bottom: 1em; }
body.essay time { font-size: 0.8em; margin-bottom: 1.25em; display: block; }
article.essay { font-size: 18px; line-height: 28px; text-rendering: optimizeLegibility; }
article.essay ul, article.essay ol { padding-left: 40px; }
article.essay ul { list-style-type: disc; }
article.essay ol { list-style-type: decimal; }
article.essay li { display: list-item; }
article.essay figure { margin-top: 1.4em; margin-bottom: 1.4em;}
article.essay figcaption, .essay table caption { font-size: 0.75em; line-height: 1.5em;  font-style: italic; }
article.essay figcaption { margin-top: 0.8em; }
article.essay figure img { width: 100%; }
.essay table { margin:0 auto; border-bottom: 1px solid; width: 95%; border-collapse: collapse; }
/*.essay table tr th { border-bottom: 1px solid; }*/
.essay table caption { caption-side: top; margin-bottom: 0.8em; }
.essay table thead { text-align: center; border-top: 1px solid; border-bottom: 1px solid;}
.essay table thead td { font-size: 0.8em; }

/* BOX HGROUP */
section.page hgroup.box { background-color:#344a5f; -moz-border-radius:5px; -webkit-border-radius:5px; }
section.page hgroup.box h1 { padding:15px 0 0 20px; font-size:30px; font-weight:bold; height:68px; }
section.page hgroup.box h2 { background-color:#1f2c39; padding:5px 0 5px 20px; -webkit-border-bottom-left-radius:5px; -webkit-border-bottom-right-radius:5px; -moz-border-radius-bottomleft:5px; -moz-border-radius-bottomright:5px; font-size:12px; color:#999; font-weight:normal; }
section.page hgroup.box h2 a { color:#999; }
section.page hgroup.box h2 a:hover { text-decoration:none; border-bottom:1px solid #999; }

/* BLOCKS */
article.column { margin-bottom: 10px; width: 48%; padding: 0 1%; }
article.column p { text-align: justify; }
article.resume p { margin-bottom:15px; }
article.column p.first-half  { width:50%; text-align:  center; float:left; }
article.column p.second-half { width:50%; text-align: center; float:right; }

/* FULL */
article.full { margin:30px 0 0 0; }
article.full p { line-height:18px; text-align:justify; float:left; width:51%; margin-bottom:15px; }
article.full .header-image { float:right; border:5px solid #4c4c4c; margin-top:3px; }
article.full img.row { margin-bottom:13px; }

/* MENU */
nav { float:right; }
nav li { display:inline; }
nav li a { text-decoration:none; margin-inline: 10px; color:#eee; }
nav li a:hover { text-decoration:none; color:#fff; background:transparent url(images/bt_hover.png) center repeat; }

/* LISTS */
.home ul > li { margin-bottom: 1.5rem; list-style-type: none; }
.home ul > li > h3 { font-size: 1.1rem; font-weight: bold;}
.home ul > li > h4 { font-size: 1rem; font-weight: bold; margin-top: 5px; margin-bottom: 5px; }
.home ul > li > h5 { line-height: 1.8rem; font-size: 0.9rem; font-weight: normal; float: right; }
.home ul > li > span.date { font-size: 0.9rem; line-height: 1.6rem; float: left; color: #AAAAAA; }
.home ul > li > p.tags { font-size: 0.9rem; color: #AAAAAA; text-transform: lowercase; }
.home ul > li > p.tags a { color: #AAAAAA; }
.home ul > li > p { color: #DDDDDD; margin-top: 5px; margin-bottom: 5px; }
.home ul > li > h4, .home ul > li > p.tags, .home ul > li > h3, .home ul > li > p { margin-left: 5.3rem; }

/* MISC */
blockquote { margin-left: 2px; margin-right: 6px; padding-left: 16px; border-left: 3px solid rgba(0, 0, 0, 0.1); border-left-color: rgba(255, 255, 255, 0.15); }

.ytb-embedded { position: relative; width: 100%; padding-bottom: 56.25%; height: 0; margin-bottom: 20px; }
.ytb-embedded iframe { position: absolute; top:0; left: 0; width: 100%; height: 100%; }

@media only screen and (max-width: 920px) {
  header, section, article.essay { width: 95%; }
  article.column { width: 98%; }
  header { margin-top: 14px; margin-bottom: 5px; }
}