/*
Theme Name: Biogenic
Description: Used to style the content editor in posts and pages.
*/

/* =Body
----------------------------------------------- */
html .mceContentBody {
    max-width: 700px;
}

body {
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
}

/* =Base elements
----------------------------------------------- */
img {
    max-width: 100%;
    height: auto;
}

a {
    color: #3E5E7E;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    clear: right;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #333;
    margin: 8px 0;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 26px;
}

h3 {
    font-size: 24px;
}

h4 {
    font-size: 22px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 18px;
}

p,
ul,
ol {
    font-size: 15px;
    line-height: 1.5em;
}

/* =Blockquotes
----------------------------------------------- */
blockquote {
    background: #f2f2ed;
    border-left: 4px solid #93B0B7;
    margin: 1.5em 1em;
    padding: 1em 1em;
    line-height: 1.5;
    font-size: 15px;
    font-style: italic;
    quotes: "\201C" "\201D" "\2018" "\2019";
}

blockquote:before {
    color: #999;
    content: open-quote;
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em;
}

blockquote p {
    display: inline;
}

blockquote cite,
blockquote small {
    color: #333;
    display: block;
    font-size: 15px;
    line-height: 1.5;
}

blockquote cite:before,
blockquote small:before {
    content: "\f007";
    color: #777;
    font-family: FontAwesome;
    font-size: 12px;
    margin: 0 5px;
}

blockquote em,
blockquote i,
blockquote cite {
    font-style: normal;
}

blockquote strong,
blockquote b {
    font-weight: 600;
}

blockquote > :last-child {
    margin-bottom: 0;
}

/* =Images
 ----------------------------------------------- */

.wp-caption {
    margin-bottom: 1.5em;
    max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
    display: block;
    margin: 0 auto;
}

.wp-caption .wp-caption-text {
    margin: 0;
}

.wp-caption-text {
    text-align: center;
}

.wp-caption .wp-caption-text,
.gallery-caption {
    padding: 0.5em 1em;
    font-size: 14px;;
    font-family: 'Ubuntu', sans-serif;
    background: #f9f9f7;
    border: solid 1px #ccc;
    border-radius: 5px;
}

/* Due to HTML5 galleries being activated default gallery styling does not apply.*/

.gallery {
    margin: 0 -1.1666667% 1.75em;
}

.gallery-item {
    display: inline-block;
    max-width: 33.33%;
    padding: 0 1.1400652% 2.2801304%;
    text-align: center;
    vertical-align: top;
    width: 100%;
}

.gallery-columns-1 .gallery-item {
    max-width: 100%;
}

.gallery-columns-2 .gallery-item {
    max-width: 50%;
}

.gallery-columns-4 .gallery-item {
    max-width: 25%;
}

.gallery-columns-5 .gallery-item {
    max-width: 20%;
}

.gallery-columns-6 .gallery-item {
    max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
    max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
    max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
    max-width: 11.11%;
}

.gallery-icon img {
    margin: 0 auto;
    border: 2px solid #ccc;
}

.gallery-caption {
    color: #686868;
    display: block;
    font-size: 13px;
    font-style: italic;
    line-height: 1.6153846154;
    padding-top: 0.5384615385em;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
    display: none;
}

/* =Alignment
----------------------------------------------- */

.alignleft {
    display: inline;
    float: left;
    margin-right: 1.5em;
}

.alignright {
    display: inline;
    float: right;
    margin-left: 1.5em;
}

.aligncenter {
    clear: right;
    display: block;
    margin: 0 auto;
}
