/*
* Modena Typography CSS
*
* @package Modena
* @since Modena 1.0.0
*/

/*--------------------------------------------------------------
                  Typography CSS - Table of Content
----------------------------------------------------------------
>>> 1.  Global
>>> 2.  Headings
>>> 3.  Elements
      3.1   Links
      3.2   Paragraph & Lists
      3.3   Line
      3.4   Quotes
      3.5   Definition Lists
      3.6   Code
      3.7   Tables
>>> 4.  Widgets
>>> 5.  Images
>>> 6.  Video & Twitter
>>> 7.  Forms
>>> 8.  Post
      8.1   Meta Info
      8.2   Posts Navigation
>>> 9. Footer
*/

/*--------------------------------------------------------------
>>> 1.   Global
----------------------------------------------------------------*/

html {
  outline: none;
  font-size: 95%;
}

body {
	display: block;
	margin: 0;
	padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 500;
  font-size: 1em;
	line-height: 2;
}

.left {
	display: block;
	float: left;
	clear: none;
}

.right {
	display: block;
	float: left;
	clear: none;
}

.center {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
	clear: none;
}

.text-left {
	text-align: left;
}

.text-right {
	text-align: left;
}

.text-center {
	text-align: center;
}

/*--------------------------------------------------------------
>>> 2.   Headings
----------------------------------------------------------------*/

h1, h2, h3,
h4, h5, h6 {
  line-height: normal;
  margin-top: 1.5em;
  margin-bottom: 1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-indent: 0;
  font-weight: 100;
}

h1 {
 font-size: 2.4em;
 line-height: 1.2em;
}

h2 {
  font-size: 2em;
  line-height: 1.2em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.4em;
}

h5 {
  font-size: 1.2em;
}

h6 {
  font-size: 1em;
}

/*--------------------------------------------------------------
>>> 3.   Elements
----------------------------------------------------------------*/

/* >> 3.1  Links */

a {
  text-decoration: none;
}

h1 a, h2 a, h3 a,
h4 a, h5 a, h6 a {
  text-decoration: none;
}

/* >> 3.2  Paragraph & Lists */

p, ul, ol {
  margin: 1.6em 0;
}

p {
  margin: 0;
  padding: .25rem 0;
}

ol ol, ul ul,
ul ol, ol ul {
  margin: 0.4em 0;
}

/* >> 3.3  Line */

hr {
  display: block;
  height: 1px;
  border: 0;
  background: #eee;
  margin: 3.2em 0;
  padding: 0;
}

/* >> 3.4  Quotes */

blockquote {
  box-sizing: border-box;
  margin: 1.6em 0 1.6em 1.2em;
  padding: 0 0 0 1.6em;
}

blockquote p {
  margin: 0.8em 0;
  font-style: italic;
}

blockquote small {
  display: inline-block;
  margin: 0.8em 0 0.8em 1.5em;;
  font-size:0.9em;
}

blockquote small:before { content: '\2014 \00A0'; }

blockquote cite {
  font-weight:bold;
}

blockquote cite a {
  font-weight: normal;
}

/* >> 3.5  Definition Lists */

dl {
  margin: 1.6em 0;
}

dl dt {
  float: left;
  width: 180px;
  overflow: hidden;
  clear: left;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
  margin-bottom: 1em
}

dl dd {
  margin-left: 200px;
  margin-bottom: 1em
}

/* >> 3.6  Code */

code, tt {
  padding: 1px 3px;
  font-family: monospace, sans-serif;
  font-size: 0.85em;
  white-space: pre;
  border-radius: 2px;
}

pre {
  box-sizing: border-box;
  margin: 1.6em 0;
  width: 100%;
  padding: 10px;
  font-family: Inconsolata, monospace, sans-serif;
  font-size: 87% !important;
  white-space: pre;
  overflow: auto;
  border-radius: 3px;
  border-left: 3px solid #fafafa;
  padding-left: 20px;
  margin-left: 15px;
}

pre code, tt {
  font-size: inherit;
  white-space: pre-wrap;
  white-space: pre-wrap;
  background: transparent;
  border: none;
  padding: 0;
}

pre code {
  display: block;
  margin: 10px 0 0 -10px;
  padding: 0 10px;
  border: 1px solid #eee;
  overflow: auto;
  line-height: 2 !important;
  background: linear-gradient(#eee 50%, white 50%);
  background-size: 100% 4rem !important;
  background-origin: content-box;
  font-size: 1rem;
  border-radius: 1px;
}

kbd {
  display: inline-block;
  margin-bottom: 0.4em;
  padding: 1px 8px;
  font-size: 0.9em;
  font-weight: bold;
  border-radius: 4px;
}

/* >> 3.7  Tables */

table {
  box-sizing: border-box;
  margin: 1.6em 0;
  width:100%;
  max-width: 100%;
  background-color: transparent;
  border: 1px solid rgba(0,0,0,.1);
}

table th,
table td {
  padding: 8px;
  line-height: 20px;
  text-align: left;
  vertical-align: top;
  border: none;
}

table caption + thead tr:first-child th,
table caption + thead tr:first-child td,
table colgroup + thead tr:first-child th,
table colgroup + thead tr:first-child td,
table thead:first-child tr:first-child th,
table thead:first-child tr:first-child td {
  border-top: 0;
}

table tbody + tbody {
  border-top: 2px solid rgba(0,0,0,.1);
}

table tbody > tr:nth-child(odd) > td,
table tbody > tr:nth-child(odd) > th {
  background-color: rgba(0,0,0,.1);
}

table.plain tbody > tr:nth-child(odd) > td,
table.plain tbody > tr:nth-child(odd) > th {
  background: transparent;
}

/*--------------------------------------------------------------
>>> 4.   Widgets
----------------------------------------------------------------*/

.widget-area {
  display: block;
  width: inherit;
  margin: 0;
  padding: 1em 2em;
}

.widget {
  display: block;
  padding: 0;
  margin: 0;
}

.widget * {
  font-size: 95%;
}

.widget-title {
  font-size: 100%;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget li,
.widget-title {
  padding: .5em 0 .55em;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
>>> 5.   Images
----------------------------------------------------------------*/

.aligncenter {
  width: inherit;
  height: auto;
  margin: 20px auto;
  float: none;
}

.alignleft,
.alignnone {
  width: inherit;
  height: auto;
  float: left;
  margin: 20px 20px 20px 0;
}

.alignright {
  width: inherit;
  height: auto;
  float: right;
  margin: 20px 0 20px 20px;
}

figcaption.wp-caption-text {
  margin: 5px 0 10px;
  text-align: center;
  font-style: italic;
}

/*--------------------------------------------------------------
>>> 6.  Video & Twitter
----------------------------------------------------------------*/

iframe,
embed {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  overflow: hidden;
  clear: both;
}

iframe.twitter-tweet {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 20px 30px;
  box-shadow: none;
  border-radius: 0;
  border: none;
}

/*--------------------------------------------------------------
>>> 7.   Forms
----------------------------------------------------------------*/

form {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clear: both;
}

input, textarea, select {
  clear: both;
  height: 40px;
  padding-left: .5em;
  padding-right: .5em;
}

select {
  width: auto;
  margin: 1.5em 0;
  font-family: 'Open Sans', sans-serif;
  font-size: 85% !important;
}

input[type="submit"] {
  width: auto;
  padding-left: 1.5em;
  padding-right: 1.5em;
  float: left;
  font-size: .75em;
  text-transform: uppercase;
  border: none;
}

input[type="search"] {
  width: auto;
  padding-left: .5em;
  padding-right: .5em;
}

input[type="search"]:focus,
select:focus {
  outline: none;
}

textarea {
  min-height: 200px;
}

label span {
  display: block;
  padding: .5em;
  clear: both;
}

/*--------------------------------------------------------------
>>> 8.   Post
----------------------------------------------------------------*/

/* >> 8.1  Meta Info */

.post-meta {
  font-size: 75%;
  font-weight: 600;
  text-transform: uppercase;
}

/* >> 8.2  Posts Navigation */

.nav-previous,
.nav-next {
  font-size: 95%;
}

.nav-previous {
  float: left;
}

.nav-next {
  float: right;
}

/*--------------------------------------------------------------
>>> 9.   Footer
----------------------------------------------------------------*/

.site-info {
  font-size: 75%;
}
