/*
    This theme was inspired by [Beautiful Web Type](http://hellohappy.org/beautiful-web-type/)

    Copyright 2014 Ryosuke Niwa, All Rights Reserved.

    Web fonts listed here are from Google Web Fonts.
    They're all distributed under OFL licenses:
    Cardo: fonts/Cardo-OFL.txt
    Lato: fonts/Lato-OFL.txt
    Lato: fonts/Merriweather-OFL.txt
*/

@font-face {
  font-family: 'Cardo';
  src: url('fonts/Cardo-Bold.eot'); /* IE9 Compat Modes */
  src: url('fonts/Cardo-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Cardo-Bold.woff') format('woff'), /* Modern Browsers */
       url('fonts/Cardo-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Cardo-Bold.svg#38d5834d66303b025aeaef435ae9fbd4') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  700;
}

@font-face {
  font-family: 'Cardo';
  src: url('fonts/Cardo-Italic.eot'); /* IE9 Compat Modes */
  src: url('fonts/Cardo-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Cardo-Italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/Cardo-Italic.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Cardo-Italic.svg#6a4e8fec9a0820a065a508b3f446ce8d') format('svg'); /* Legacy iOS */
  font-style:   italic;
  font-weight:  400;
}

@font-face {
  font-family: 'Cardo';
  src: url('fonts/Cardo-Regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/Cardo-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Cardo-Regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/Cardo-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Cardo-Regular.svg#e8e2ef82a990d534a9374092a938b8bd') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'Lato Hairline';
  src: url('fonts/Lato-Hairline.eot'); /* IE9 Compat Modes */
  src: url('fonts/Lato-Hairline.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Lato-Hairline.woff') format('woff'), /* Modern Browsers */
       url('fonts/Lato-Hairline.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Lato-Hairline.svg#477d11e773543baa2ffc5ab40fca9623') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  100;
}

/* We don't italicize this font for now.
@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-HairlineItalic.eot'); /* IE9 Compat Modes *
  src: url('fonts/Lato-HairlineItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Lato-HairlineItalic.woff') format('woff'), /* Modern Browsers *
       url('fonts/Lato-HairlineItalic.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Lato-HairlineItalic.svg#a326329371e687b71c219b7d91fb9255') format('svg'); /* Legacy iOS *
  font-style:   italic;
  font-weight:  100;
}

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Italic.eot'); /* IE9 Compat Modes *
  src: url('fonts/Lato-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Lato-Italic.woff') format('woff'), /* Modern Browsers *
       url('fonts/Lato-Italic.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Lato-Italic.svg#51ac4eb0bc1817d276ca824c5353e08f') format('svg'); /* Legacy iOS *
  font-style:   italic;
  font-weight:  400;
}
*/

@font-face {
  font-family: 'Lato Light';
  src: url('fonts/Lato-Light.eot'); /* IE9 Compat Modes */
  src: url('fonts/Lato-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Lato-Light.woff') format('woff'), /* Modern Browsers */
       url('fonts/Lato-Light.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Lato-Light.svg#80d8021909d835b751af094d043ad177') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  300;
}

/* We don't use it for now.

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-LightItalic.eot'); /* IE9 Compat Modes *
  src: url('fonts/Lato-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Lato-LightItalic.woff') format('woff'), /* Modern Browsers *
       url('fonts/Lato-LightItalic.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Lato-LightItalic.svg#7015aa8810c4a9d1026a85e4ddcdf7a4') format('svg'); /* Legacy iOS *
  font-style:   italic;
  font-weight:  300;
}

*/

@font-face {
  font-family: 'Lato';
  src: url('fonts/Lato-Regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/Lato-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Lato-Regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/Lato-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Lato-Regular.svg#48e70b8825d557df57af3e4f7d4c31be') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
}   

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-Black.eot'); /* IE9 Compat Modes */
  src: url('fonts/Merriweather-Black.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Merriweather-Black.woff') format('woff'), /* Modern Browsers */
       url('fonts/Merriweather-Black.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Merriweather-Black.svg#6785f0197102fcc4c764e9a013ef3b5e') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
}

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-Bold.eot'); /* IE9 Compat Modes */
  src: url('fonts/Merriweather-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Merriweather-Bold.woff') format('woff'), /* Modern Browsers */
       url('fonts/Merriweather-Bold.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Merriweather-Bold.svg#bf49ac111abebf0ff978564ba734a014') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  700;
}

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-BoldItalic.eot'); /* IE9 Compat Modes */
  src: url('fonts/Merriweather-BoldItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Merriweather-BoldItalic.woff') format('woff'), /* Modern Browsers */
       url('fonts/Merriweather-BoldItalic.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Merriweather-BoldItalic.svg#65aeba4904e9f720e9fe01f59a92d9fa') format('svg'); /* Legacy iOS */
  font-style:   italic;
  font-weight:  700;
}

/* Heavy italic is not used for now.
@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-HeavyItalic.eot'); /* IE9 Compat Modes *
  src: url('fonts/Merriweather-HeavyItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Merriweather-HeavyItalic.woff') format('woff'), /* Modern Browsers *
       url('fonts/Merriweather-HeavyItalic.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Merriweather-HeavyItalic.svg#eddd3eac5d6405a65ab3a73cdcf0b763') format('svg'); /* Legacy iOS *
  font-style:   italic;
  font-weight:  400;
} */

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-Italic.eot'); /* IE9 Compat Modes */
  src: url('fonts/Merriweather-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Merriweather-Italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/Merriweather-Italic.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Merriweather-Italic.svg#6f6738284519f564821d80b0c6d0ed11') format('svg'); /* Legacy iOS */
  font-style:   italic;
  font-weight:  400;
}

/* Light Merriweather isn't used anywhere.

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-Light.eot'); /* IE9 Compat Modes *
  src: url('fonts/Merriweather-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Merriweather-Light.woff') format('woff'), /* Modern Browsers *
       url('fonts/Merriweather-Light.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Merriweather-Light.svg#fde5081e05e5cfbbb81d65232f7a8669') format('svg'); /* Legacy iOS *
  font-style:   normal;
  font-weight:  200;
}

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-LightItalic.eot'); /* IE9 Compat Modes *
  src: url('fonts/Merriweather-LightItalic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 *
       url('fonts/Merriweather-LightItalic.woff') format('woff'), /* Modern Browsers *
       url('fonts/Merriweather-LightItalic.ttf')  format('truetype'), /* Safari, Android, iOS *
       url('fonts/Merriweather-LightItalic.svg#c4025c994f65da2ba93b7ed5819e793f') format('svg'); /* Legacy iOS *
  font-style:   italic;
  font-weight:  200;
}
*/

@font-face {
  font-family: 'Merriweather';
  src: url('fonts/Merriweather-Regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/Merriweather-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/Merriweather-Regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/Merriweather-Regular.ttf')  format('truetype'), /* Safari, Android, iOS */
       url('fonts/Merriweather-Regular.svg#f5bc3b56cb236f484d9a38537bb413b1') format('svg'); /* Legacy iOS */
  font-style:   normal;
  font-weight:  400;
}



/* ----- Generic Styling ----- */



* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

q:before,
blockquote:before {
    content: "\201c";
}

q:after,
blockquote:after {
    content: "\201d";
}

.math {
    display: inline-block;
    text-indent: 0rem;
}

.math .mathml {
    display: none;
}

.use-mathml .math .mathml {
    display: initial;
}

.use-mathml .math .svg {
    display: none;
}




/* ----- Page Structures ----- */



#branding, #content > article, #page-footer {
    padding: 5rem;
}

header#branding {
    background: rgb(10, 197, 244);
    font-family: 'Lato Hairline', 'Helvetica Neue';
    font-weight: 100;
    text-transform: uppercase;
}

header#branding * {
    font-weight: 100;
    text-decoration: none;
    color: rgb(197, 244, 255);
}

header#branding h1 {
    font-size: 4em;
    margin: 0 0 0.5em 0;
}

header#branding h1 .dot {
    font-size: 0.5em;
    color: rgb(40, 227, 255);
}

header#branding h2 {
    font-size: 1.3em;
}

header#branding .menu {
    margin-top: 2em;
}

header#branding .menu * {
    list-style: none;
}

header#branding q:before,
header#branding q:after {
    font-size: 1.5em;
    line-height: 0.5em;
    vertical-align: bottom;
    font-family: 'Merriweather', serif;
/*    color: rgb(40, 227, 255); */
    color: rgba(197, 244, 255, 0.4);
}



header#branding {
    background: #fdfdfd;
    background: #efefef;
}
header#branding * {
    color: black;
}
header#branding q:before,
header#branding q:after {
    color: #efefef;
    color: #444;
}

header#branding h1 .dot {
    color: inherit;
}

header#branding #math-toggler {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.8rem;
}

/*
header#branding {
    background: white;
    background: #eee;
}
header#branding * {
    color: black;
}
header#branding q:before,
header#branding q:after,
header#branding h1 .dot {
    color: #444;
    color: #ccc;
}
header#branding h1 .dot {
    color: inherit;
}
*/
/*
@import url('http://fonts.googleapis.com/css?family=Old+Standard+TT:400,400italic');
header#branding {
    font-family: 'Old Standard TT', serif;
    background: white;
    background: #fff0dd;
    text-transform: uppercase;
}
header#branding h1 {
    font-weight: normal;
    font-size: 4em;
}
header#branding * {
    color: rgb(10, 197, 244);
    color: black;
}
header#branding q:before,
header#branding q:after,
header#branding h1 .dot {
    color: #444;
    color: inherit;
}*/
/*
header#branding {
    font-family: 'Old Standard TT', sans-serif;
    background: #fdfdfd;
}
header#branding h1 {
    font-weight: normal;
    font-size: 3em;
}
header#branding h1 .dot {
    font-size: inherit;
    color: inherit;
}
header#branding h2 {
    font-size: 1em;
}
header#branding * {
    color: black;
}
header#branding q:before,
header#branding q:after {
    color: inherit;
}*/


.assistive-text, .screen-reader-text {
    display: none;
}

article {
    font-family: 'Merriweather', 'STIXGeneral', serif;
/*    background: rgb(237, 224, 206);
    background: #fcfaf2;
    background: #ECDEC6;
    background: #ede0ce;
    background: #f3e5d3; */
    background: #f8ead7;
    -webkit-column-width: 30rem;
    -moz-column-width: 30rem;
    column-width: 30rem;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

article section,
article .hightlight,
article pre
article table {
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

article header h1 {
    margin-top: 0;
}

article h1 {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 1rem 0;
}

article h2 {
    font-weight: bold;
    font-size: 1.3rem;
    margin: 1rem 0;
}

article h3 {
    font-weight: bold;
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

article ul,
article ol {
    margin: 1rem 1rem 1rem 2rem;
    list-style-position: outside;
    line-height: 1.5rem;
}

article li {
    margin: 0.5rem 0;
}

article p,
article ul,
article ol {
    color: rgb(37, 24, 6);
    font-size: 0.9rem;
}

article p {
    line-height: 1.8rem;
/*    margin: 1.5em 0; */
    text-indent: 1.8rem;
}

article ul p,
article ol p {
    text-indent: 0rem;
}

article code,
article .highlight {
    font-size: 0.9rem;
    line-height: 1.1rem;
    font-family: monospace;
    background: rgba(207, 204, 186, 0.4);
}

article code,
article .highlight {
    border-radius: 0.3rem;
    padding: 0.2rem 0.3rem;
    text-indent: 0;
}

article .highlight {
    padding: 0.3rem 0.5rem;
}

article code {
    display: inline-block;
    min-height: 1rem;
    white-space: pre-wrap;
}

article a code {
    display: inline;
}

article .highlight code {
    border: none;
    background: transparent;
    padding: 0;
}

article pre {
    white-space: pre-wrap;
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none;
    margin: 0.5rem 0.2rem;
}

article blockquote {
    border: solid 0px #000;
    border-radius: 0.5rem;
    margin: 1em 0;
    padding: 0.5rem 3rem 0.5rem 3rem;
    position: relative;
    background: rgba(255, 255, 255, 0.3);
}

article blockquote:before,
article blockquote:after {
    font-size: 5rem;
    line-height: 5rem;
    margin: 0;
    padding: 0;
    position: absolute;
    font-family: 'Merriweather', 'STIXGeneral', serif;
    color: rgba(97, 84, 66, 0.2);
}

article blockquote:before {
    top: 0.5rem;
    left: 0.5rem;
}

article blockquote:after {
/*    top: 0.1rem;*/
    right: 0.5rem;
    bottom: -2rem;
}

/*article pre code {
    padding: 0.7em 0.8em;
}*/

article .entry-meta {
    font-size: 0.9em;
    margin-bottom: 1.2em;
    color: rgb(97, 84, 66);
}

article a {
    color: inherit;
}

article a:active {
    color: rgb(97, 84, 66);
}

article a:visited {
    color: rgb(137, 124, 106);
}

article strong a:active,
article strong a:visited {
    color: inherit;
}

article .entry-meta time {
    font-size: 1.2em;
    display: block;
    text-align: center;
}

article .entry-meta * {
    color: inherit;
}

article .entry-meta .sep,
article .entry-meta .author {
    display: none;
}

article .out-of-line-math {
    margin: 0.5em 0;
    display: block;
    text-align: center;
}

article table,
article th,
article td {
    border: 1px solid rgb(207, 204, 186);
    border-collapse: collapse;
    margin: 0.5rem auto;
}

article th,
article td {
    padding: 0.2rem 0.4rem;
    font-size: 0.9rem;
}

article section {
}

article .profile-picture {
/*    float: right;
    margin-top: 3.7em;
    background: rgb(97, 84, 66);
    background: transparent;
    padding: 2px;
    border: 0px solid rgba(97, 84, 66, 0.5);*/
}

article .profile-picture img {
    display: inline-block;
    border-radius: 5px;
    background: rgb(97, 84, 66);
/*    -webkit-filter: blur(2px);

    -webkit-box-shadow: inset 0 0 2em 2em khaki;
    box-shadow: 0px 30px 40px rgba(0,0,0,.1);*/
}

article footer {
    text-align: center;
    margin-top: 2em;
}

article footer.entry-meta {
/*    color: rgb(197, 184, 166);*/
    color: rgba(97, 84, 66, 0.6);
}

#sidebars, #nav-below, #colophon {
    display: none;
}

#page-footer {
    background: #002061;
    color: rgba(255, 204, 102, 0.8);
    font-size: 1.2em;
    font-family: 'Cardo', serif;
}

#author {
}

#author > * {
    margin-bottom: 0.5em;
}

#author #copyright {
    font-size: 1.5em;
    font-weight: normal;
    color: rgb(255, 204, 102);
}

#author #copyright a {
    text-decoration: none;
}

#author .disclaimer {
    font-style: italic;
    margin-top: 4em;
    font-size: 0.8em;
    color: rgba(255, 204, 102, 0.6);
}

#author .disclaimer strong {
    font-weight: normal;
    color: rgba(255, 204, 102, 0.8);
}

#author li {
    list-style: none;
    display: inline-block;
    margin-right: 0.5em;
    text-decoration: none;
}

#author a {
    color: inherit;
/*    -webkit-text-decoration-color: #b69249;*/
}




#home {
    position: relative;
    padding: 5rem;
    background: rgb(10, 197, 244);
    font-family: 'Lato Light', 'Helvetica Neue';
    font-weight: 300;
/*    color: rgb(197, 244, 255); */
    color: rgb(187, 234, 255);
/*    text-transform: uppercase;*/
}

#home h1, #home h2 {
    font-family: 'Lato Light', 'Helvetica Neue';
    font-weight: 300;
    color: rgba(217, 255, 255, 0.9);
}

/*
#home {
    color: rgba(0,0,0, 0.5);
}
#home h1, #home h2 {
    color: #000;
}
*/

#home h1 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

#home .post-summary {
    font-weight: 100;
    text-decoration: none;
    margin: 1.2rem 0;
    font-size: 1.2rem;
    position: relative;
    padding-left: 13rem;
}

#home .post-summary h2 {
    font-size: 1.9rem;
}

#home .post-summary a {
    text-decoration: none;
    color: inherit;
}

#home .filtered {
    display: none;
}

#home time {
    position: absolute;
    left: 0;
    top: 0.5rem;
    display: block;
    width: 12rem;
    text-align: right;
}

#home .tags {
    list-style: none;
    display: inline;
    font-size: 0.9rem;
}

/*
#home .tags {
    position: absolute;
    left: -2rem;
    top: 2rem;
    display: block;
    width: 16rem;
    text-align: right;
}
*/

#home .tags li {
    display: inline;
}

#home .tags li:first-child:before {
    content: '';
}

#home .tags li:before {
    content: ', ';
}

#home .tags-heading {
    display: none;
}

#home .filter-input {
    font-size: 1.2rem;
    width: 40rem;
    display: block;
    text-align: right;
    margin-bottom: 3rem;
}

#home .filter-input input {
    width: 26.5rem;
    margin-left: 1rem;
    font-size: 1.2rem;
    border: none;
    border-radius: 0.2rem;
    padding: 0.2rem 0.3rem;
    font-family: 'Lato', 'Helvetica Neue';
    color: rgb(0, 0, 0);
    background: rgb(217, 255, 255);
}
