/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain) */

/* ==========================================================================
   Importing GoogleFonts
   ========================================================================== */

   @import url(https://fonts.googleapis.com/css?family=Ubuntu:700italic,700,400italic,400&subset=latin,greek-ext);
   @import url(https://fonts.googleapis.com/css?family=Lobster|Amatic+SC|Playfair+Display|Gentium+Basic|Alegreya);
/* ==========================================================================
   Styling and layout for all media
   ========================================================================== */

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */
audio,
canvas,
progress,
video {
  /* 1 */
  display: inline-block;
  /* 2 */
  vertical-align: baseline;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */
[hidden],
template {
  display: none;
}

/**
 * 1. Always force scrollbar padding so we don't get 'jumping'.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 * 3. As 2 above, for Windows Phone.
 */
html {
  -webkit-tap-highlight-color: rgba(0, 102, 255, 0.5);
  /* 1 */
  overflow-y: scroll;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 3 */
  -ms-text-size-adjust: 100%;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
b,
strong {
  font-weight: bold;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  /* 12px */
  font-size: 0.8571429em;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/**
 * 1. Remove the gap between images and the bottom of their containers.
 * 2. Remove border when inside `a` element in IE 8-10.
 */
img {
  /* 1 */
  vertical-align: middle;
  /* 2 */
  border: 1px solid #ccc;
}

/**
 * Consistent tables.
 */
table {
  margin-bottom: 1em;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

/**
 * Make table cells align top and left by default.
 */
th,
td {
  vertical-align: top;
  text-align: left;
}

/**
 * Address paddings set differently.
 */
menu,
ol,
ul {
  padding: 0 0 0 2em;
}

/**
 * Remove margins from nested lists.
 */
li > ul,
li > ol {
  margin: 0;
}

/**
 * Address margins set differently.
 */
dd {
  margin: 0 0 0 2em;
}

/**
 * Italicise definition terms.
 */
dt {
  font-style: italic;
}

/* Clearfix
   ========================================================================== */

/**
 * Clearfix using the 'A new micro cleafix hack' method.
 *
 * More info: http://nicolasgallagher.com/micro-clearfix-hack/
 */
.clearfix:after,
header:after,
nav ul:after,
.container:after,
footer:after,
#paginator:after,
#monthly-list:after {
  content: "";
  display: table;
  clear: both;
}


/* ==========================================================================
   Styling and layout for screen media (mobile first)
   ========================================================================== */

@media screen {

/* Layout
   ========================================================================== */

/**
 * 1. Remove default margin.
 */
body {
  /* 1 */
  margin: 0;
  background: #f7f7f7;
}

/**
 * Outer wrapper for main layouts.
 *
 * Example HTML:
 *
 * <div class="wrapper">
 *     <div class="container">
 *         Content
 *     </div>
 * </div>
 */
#wall {
  padding: 0;
  background: #fff url(/images/8.jpg) right no-repeat;
  background-position: right 10px top 10px;
}
header {
  padding: 3em 1em 1em 1em;
}
/* nav {padding:0} */
.container {
  padding: 0 1em 1em 1em;
}

/**
 * Wrapper for layouts, and for header/footer.
 *
 * Example HTML:
 *
 * <div class="wrapper">
 *     <div class="container">
 *         Content
 *     </div>
 * </div>
 */
header,
.container,
footer {
  margin: 0 auto;
  max-width: 60em;
}
.container {margin-top:2em}

/**
 * Additional styling for child content within `header`.
 */

header h1 {
  margin: 0;
  font-family: Lobster, Georgia, serif;
  font-weight: normal;
}

header h3 {
  /* 14px margin top */
  margin: 0.2em 0 0;
  font-family: "Amatic SC", manuscript;
  font-style: normal;
}

nav {
  background-image: url(/images/2.jpg); 
  opacity: 0.8;
}

nav h1 {
  display: none;
}

nav ul {
  margin: 1em auto 2em auto;
  padding: 0 1em;
  max-width: 86em;
  list-style: none;
} 

nav li { 
  float:left;
}

nav a:hover,
nav a.active {
  opacity: 0.9;
  color: white
} 

nav a {
  font-weight: normal;
  display: block;
  padding: 0.5em 1em 0.5em 0;
  color: #fff;
} 

/**
 * Styling for articles.
 *
 * 1. Prevent really, really long words in article from breaking layout.
 */
[role="article"] {
  margin-bottom: 2em;
  /* 1 */
  word-wrap: break-word;
}

/**
 * Styling for sidebar.
 *
 * Initially the sidebar appears under main content, it is then repositioned
 * with media queries at 2nd breakpoint.
 *
 * 1. Prevent really, really long words in article from breaking layout.
 */
[role="complementary"] {
  margin-bottom: 2em;
  padding-top: 2em;
/*  border-top: dashed 2px #ccc; */
  /* 1 */
  word-wrap: break-word;
}

[role="search"] p {
  margin-top: 0;
}

/**
 * Additional styling for child content within `footer`.
 */
footer {
  padding: 0.5em 0;
}

/* Links
   ========================================================================== */

a {
  text-decoration: none;
  color: #c00;
  background-color: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:hover,
a:active {
  outline: 0;
}

a:focus {
  outline: thin dotted #06f;
}

/**
 * Additional styling for child links within `header`.
 */
header a {
  color: #c00;
  border-radius: 0.1190476em;
}

[role="main"] a:hover,
[role="main"] a:active, 
[role="complementary"] a:hover,
[role="complementary"] a:active,
footer a:hover,
footer a:active {
  border-bottom: 0.12em dotted #c00;
  color: #c00;
}

[role="main"] a:visited,
[role="complementary"] a:visited,
footer a:visited {
  color: #900;
}

header a:hover, header a:active {
  color:#fff;
  text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
}

nav li:hover {
  text-shadow: 0 0 10px #fff, 0 0 20px #ff00de, 0 0 30px #ff00de, 0 0 40px #ff00de, 0 0 70px #ff00de, 0 0 80px #ff00de, 0 0 100px #ff00de, 0 0 150px #ff00de;
}

/**
 * Additional styling for `h1` heading links.
 */
[role="main"] h1 {
  color: #333;
  border-radius: 0.1190476em;
  text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
}

[role="main"] h1 a:visited {
  color: #333;
}

[role="main"] h1 a:hover,
[role="main"] h2 a:hover,
[role="main"] h1 a:active {
  text-decoration: none;
  border-bottom: 0;
  color: #c00;
}

/* Typography
   ========================================================================== */

body {
  font-family: Ubuntu, Alegreya, Arial, Helvetica, sans-serif;
  /* 14px / 16px */
  font-size: 0.875em;
  line-height: 1.5;
  color: #333;
}

nav {
  font-weight: normal;
}

h1 {
  font-family: "Playfair Display", "Gentium Basic", serif;
  /* 28px */
  font-size: 2em;
  /* 34px / 28px */
  line-height: 1;
  letter-spacing: -1px;
  /* 28px margin top/bottom */
  margin: 0.6666667em 0;
}

h1:first-child {
  margin-top: 0;
}

h2 {
  font-family: "Playfair Display", "Gentium Basic", serif;
  /* 21px */
  font-size: 2em;
  /* 28px / 21px */
  line-height: 1;
  /* 21px margin top/bottom */
  margin: 0.75em 0;
}

h3 {
  /* 18px */
  font-size: 1.28571428571429em;
  /* 26px / 18px */
  line-height: 1.44444444444444;
  font-family: "Playfair Display", "Gentium Basic", serif;
  font-weight: normal;
  /* font-style: italic; */
  /* 16px margin top/bottom */
  margin: 0.7619048em 0;
}

h4 {
  font-family: "Playfair Display", "Gentium Basic", serif;
  /* 16px */
  font-size: 1.1428571em;
  margin: 0;
}

.published {
  color: #999;
  margin-top: -1.2em;
  margin-bottom: 2em;
}

/**
 * Additional styling for blockquotes.
 */
blockquote {
  margin: 0.875em 0 0.875em 0;
  padding: 0.3em 0.875em;
  border-radius: 0.3571429em;
  background: #ffe;
}

/**
 * Add vertical margin to addresses.
 */
address {
  margin: 1em 0;
}

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */
abbr[title],
dfn[title] {
  border-bottom: dotted 1px;
  cursor: help;
}

dfn,
mark,
q,
var {
  padding: 0 0.2142857em;
  border-radius: 0.2142857em;
  color: #333;
  background: #fff6d3;
}

/**
 * Address styling not present in Safari and Chrome.
 */
dfn,
q {
  font-style: italic;
}

var {
  font-weight: bold;
}

pre,
code,
kbd,
samp {
  font-family: Cousine, Consolas, "Lucida Console", Monaco, monospace;
}

code,
kbd,
samp {
  /* 13px */
  font-size: 0.9285714em;
  border: 1px solid #e3e3e3;
  padding: 0 0.2307692em;
  border-radius: 0.2307692em;
  background: #f7f7f7;
}

pre {
  /* 13px */
  font-size: 0.9285714em;
  overflow-x: auto;
  border: 1px solid #e3e3e3;
  padding: 1em;
  border-radius: 0.3571429em;
  background: #f7f7f7;
  tab-size: 4;
}

pre code {
  /* 13px */
  font-size: 1em;
  border: 0;
  background: none;
}

/**
 * Harmonise size and style of small text.
 */
small,
figcaption,
tfoot,
.footnote {
  /* 12px */
  font-size: 0.8571429em;
}

figcaption,
tfoot,
.footnote {
  color: #888;
}

figcaption {
  margin-top: 0.3333333em;
  font-style: italic;
}

/* Support for non-latin languages
   ========================================================================== */

/**
 * Preferred font for Greek language.
 */
html[lang="el"] {
  font-family: Ubuntu, sans-serif;
}

/**
 * Preferred font for Chinese (PRC) language.
 */
html[lang="zh-cn"] {
  font-family: SimHei, sans-serif;
}

/* Embedded content
   ========================================================================== */

/**
 * Make embedded elements responsive.
 */
img,
video {
  max-width: 100%;
  height: auto;
}

/**
 * Address margin not present in IE 8/9 and Safari.
 */
figure {
  margin: 0;
}

/**
 * Image alignment (compatible with Textile markup syntax).
 *
 * Example HTML:
 *
 * <img class="align-left">
 * <img class="align-right">
 * <img class="align-center">
 */
img.align-left {
  float: left;
  margin: 1em 1em 1em 0;
}
img.align-right {
  float: right;
  margin: 1em 0 1em 1em;
}
img.align-center {
  display: block;
  margin: 1em auto;
}
p.img {
  text-align: center;
  color: #999;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */
svg:not(:root) {
  overflow: hidden;
}

/* Tables
   ========================================================================== */

/**
 * Styling of table captions.
 */
caption {
  font-style: italic;
  text-align: left;
  margin-bottom: 0.5em;
}

th,
td {
  border-bottom: solid 1px #ccc;
  padding: 0.2857143em 0.5em 0.2857143em 0;
}

th:last-child,
td:last-child {
  padding-right: 0;
}

thead th,
thead td {
  border-bottom: solid 2px #ccc;
}

tfoot th,
tfoot td {
  border-bottom: 0;
  padding: 0.3333333em 0.5833333em 0.3333333em 0;
}

tfoot:last-child {
  padding-right: 0;
}

/* Lists
   ========================================================================== */

/**
 * Italicise definition terms.
 */
dt {
  font-style: italic;
}

/**
 * Additional styling for article lists.
 *
 * Example HTML:
 *
 * <ul class="article-list">
 */
[role="main"] #article-list {
  list-style: none;
  margin: 0 0 2em 0;
  padding: 0 0 0.3em 2em;
/*  border-top: solid 1px #ccc; */
}

[role="complementary"] li {
  list-style: none; 
  margin-left: -2em;
}

#article-list li {
  margin-bottom: 0; 
  list-style: disc;
}

/* Forms
   ========================================================================== */

/**
 * 1. Define consistent fieldset border, margin, and padding.
 * 2. Address width being affected by wide descendants in Chrome, Firefox.
 */
fieldset {
  /* 1 */
  margin: 1em 0;
  border: 1px solid #ccc;
  padding: 1px 1em; 
  /* 2 */
  min-width: 0;
  background: #f7f7f7 url(/images/228.png) repeat-x;
  border-radius: 0.3571429em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  /* 1 */
  border: 0;
  /* 2 */
  padding: 0;
}

/**
 * 1. Correct font properties not being inherited.
 * 2. Address margins set differently in Firefox 4+, Safari, and Chrome.
 * 3. Prevent elements from spilling out of their parent.
 */
button,
input,
select,
textarea {
  /* 1 */
  font-size: 100%;
  /* 2 */
  margin: 0;
  /* 3 */
  max-width: 100%;
  vertical-align: baseline;
}

/**
 * Colour for placeholder text.
 */
input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #888888;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #888888;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #888888;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

button:focus,
a.button:focus,
input:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
select:focus,
textarea:focus {
  -webkit-box-shadow: 0 0 7px #0066ff;
  box-shadow: 0 0 7px #0066ff;
  /* Opera */
  z-index: 1;
}

input[type="file"]:focus,
input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/**
 * Styling of form input fields.
 *
 * 1. Remove iOS Safari default styling.
 */
textarea,
input[type="color"],
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  /* 1 */
  -webkit-appearance: none;
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  /* 12px */
  font-size: 0.8571429em;
  text-align: left;
  border: solid 1px #ccc;
  padding: 0.5em;
  background: #fff;
  outline: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 0;
}

/**
 * Remove padding from `color` fields.
 */
input[type="color"] {
  padding: 0;
  height: 2.33333333333333em;
}

/**
 * Inline search field on sidebar.
 */
[role="complementary"] input[type="search"] {
  margin-right: 2px;
  width: 66.666666666667%;
  display: inline-block;
}

/**
 * 1. Remove default vertical scrollbar in IE 8/9/10/11.
 * 2. Restrict to vertical resizing to prevent layout breakage.
 */
textarea {
  min-height: 3em;
  vertical-align: top;
  width: 100%;
  height: auto;
  /* 1 */
  overflow: auto;
  /* 2 */
  resize: vertical;
}

/**
 * 1. Correct `select` style inheritance in Firefox.
 */
select {
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  /* 12px */
  font-size: 0.8571429em;
  text-align: left;
  border: solid 1px #ccc;
  padding: 0.5em;
  background: #fff;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* 1 */
  text-transform: none;
}

/**
 * Override height set in a previous rule and allow auto heght.
 */
select[size],
select[multiple] {
  height: auto;
}

/**
 * Normalise styling of `optgroup`.
 */
optgroup {
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  font-style: normal;
  font-weight: normal;
  color: #333;
}

/**
 * Remove excess padding in IE 8/9/10.
 */
input[type="checkbox"],
input[type="radio"] {
  padding: 0;
}

/**
 * Make sure disabled elements really are disabled and styled appropriately.
 *
 * 1. Override default iOS opacity setting.
 * 2. Re-set default cursor for disabled elements.
 */
button[disabled],
input[disabled],
input[type="button"][disabled],
input[type="reset"][disabled],
input[type="submit"][disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
span.disabled {
  /* 1 */
  opacity: 1;
  -webkit-user-select: none;
  -moz-user-select: -moz-none;
  user-select: none;
  border: solid 1px #d2d2d2 !important;
  text-shadow: none !important;
  color: #888888 !important;
  background: #eee !important;
  top: 0 !important;
  /* 2 */
  cursor: default !important;
}

/**
 * Width display options for `input` fields. Height display options
 * for textareas.
 *
 * Example HTML:
 *
 * <input class="small">
 * <input class="large">
 */
.small input {
  width: 25%;
  min-width: 151px;
}
.small textarea {
  height: 5.5em;
}
.large input {
  width: 50%;
  min-width: 302px;
}
.large textarea {
  height: 156px;
}

.zemContactForm legend {
  display: none;
}

.zemContactForm {
  border: 0;
  margin: 0;
  padding: 0;
}

/* Buttons
   ========================================================================== */

/**
 * 1. Address `overflow` set to `hidden` in IE 8/9/10/11.
 * 2. Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 */
button {
  /* 1 */
  overflow: visible;
  /* 2 */
  text-transform: none;
}

/**
 * 1. Remove iOS Safari default styling.
 * 2. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
[role] a.button,
span.disabled,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  /* 1 */
  -webkit-appearance: none;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  width: auto;
  font-family: Ubuntu, Arial, Helvetica, sans-serif;
  /* 12px */
  font-size: 0.8571429em;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
  border: solid 1px #e1a61a;
  border-radius: 0.3571429em;
  padding: 0.5em 1em;
  display: inline-block;
  color: #333;
  outline: 0;
  background-color: #ffda44;
  background-image: -webkit-linear-gradient(#ffda44, #fabc2b);
  background-image: linear-gradient(#ffda44, #fabc2b);
  /* 2 */
  cursor: pointer;
}

button:hover,
[role] a.button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background-color: #ffe477;
  background-image: -webkit-linear-gradient(#ffe477, #fbcc5d);
  background-image: linear-gradient(#ffe477, #fbcc5d);
}

button:active,
[role] a.button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  position: relative;
  top: 1px;
  color: #1a1a1a;
  background-color: #fabc2b;
  background-image: -webkit-linear-gradient(#fabc2b, #ffda44);
  background-image: linear-gradient(#fabc2b, #ffda44);
}

#paginator {
  margin-bottom: 2em;
}

#paginator .button {
  padding: 0.25em 1em;
}

#paginator a.button {
  text-decoration: none;
  color: #333;
}

#paginator-l {
  float: left;
}

#paginator-r {
  float: right;
}

/* Comments
   ========================================================================== */

.comments {
  margin-bottom: 1em;
  border-radius: 0.3571429em;
  padding: 1em 1em 1px;
  background: #f7f7f7;
  word-wrap: break-word;
}

.comments h4 .is-author {
  font-weight: normal;
}

.comments h4 .comment-anchor {
  float: right;
  font-weight: normal;
 }

/**
 * Additional styling for article author's comments.
 */
.comments-author {
  background: #efefef;
}

/**
 * Styling for user comments preview.
 */
#cpreview {
  margin-bottom: 2px;
  border-radius: 0.3571429em;
  padding: 1em;
  background: #fff3d6;
}

/**
 * Highlight background colour for comment errors.
 */
.comments_error {
  background: #fff4f4 !important;
}

/**
 * Highlight text colour for comment errors.
 */
.error_message li {
  color: #c00;
}

/**
 * Styling for 'required' indicators.
 */
.required {
  color: #c00;
  cursor: help;
}

/* ==========================================================================
   Additional for addthis buttons
   ========================================================================== */

.addthis_toolbox {
  padding-top: 1em;
}

/* ==========================================================================
   Additional layout for screen media 490px and up
   ========================================================================== */

@media only screen and (min-width: 35em) {

nav ul {
  width: 93.75%;
} 
/* nav li {
  border-bottom: 0;
}*/
}


/* ==========================================================================
   Additional layout for screen media 672px and up
   ========================================================================== */

@media only screen and (min-width: 48em) {

[role="main"] {
  float: left;
  /* 592px / 960px */
/*  width: 61.666666666667%; */
  width: 72%;
}
[role="article"] {
  margin:0;
}

#descargas-page [role="main"] {
  width: 100%;
}

[role="complementary"] {
  float: right;
/*  border: 1px solid #e3e3e3; */
  border-radius: 0.3571429em;
  padding: 1em 1em 0;
  /* 290px / 960px */
/*  width: 30.208333333333%;*/
width: 20%;
/*  background: #f7f7f7; */
}

#contacto-page [role="complementary"] {
  background: #fff url(/images/18.gif) center 2em no-repeat;
  border:0;
  height:400px;
}

body {
  background: #fff url(/images/2.jpg) repeat;
}

#wall {
  margin: 4em auto;
  padding: 0;
  background: #fff url(/images/8.jpg) right no-repeat;
  background-position: right 220px top 20px;
  max-width: 65em;
}

#descargas-page #wall {
  background: #fff url(/images/17.gif) center 3em no-repeat;
}

#contacto-page #wall {
  background: #fff;
}

h1 {
  /* 42px */
  font-size: 3em;
}

h2 {
  /* 28px */
  font-size: 2em;
}

h3 {
  /* 21px */
  font-size: 1.5em;
}

#comments-head h2 {
  font-size: 3em;
}

blockquote {
  /* float: right; */
  margin: 0 0 0.875em 0.875em;
  /* 254px / 592px */
  /* width: 42.905405405405%; */
}

}


/* ==========================================================================
   Additional layout for screen media 1280px and up
   ========================================================================== */

@media only screen and (min-width: 80em) {

body {
  /* 16px */
  font-size: 100%;
}

header,
nav ul,
.container,
footer {
  /* 1152px / 1280px */
  width: 90%;
}

}


/* ==========================================================================
   Additional layout for screen media 1800px and up
   ========================================================================== */

@media only screen and (min-width: 112.5em) {

body {
  /* 18px */
  font-size: 112.5%;
}
}


/* ==========================================================================
   Fix for reponsive embedded content in IE8
   ========================================================================== */

@media \0screen {

img,
video {
  width: auto;
}

}


/* ==========================================================================
   Styling and layout for print media
   ========================================================================== */

@media print {

/**
 * Remove unnecessary global styling from printed media.
 *
 * 1. Black prints faster.
 */
* {
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  /* 1 */
  color: black !important;
  text-shadow: none !important;
  background: transparent !important;
}

/**
 * Use a print-friendly font and size.
 */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 8pt;
  line-height: 1.5;
  margin: 0.5cm;
  padding: 2em 5em;
}

/**
 * Visually separate header from body.
 */
header {
  border-bottom: solid 1pt black;
}

/**
 * Visually separate footer from body.
 */
footer {
  margin-top: 12pt;
  border-top: solid 1pt black;
}

/**
 * Hide unnecessary content from print.
 */
nav,
audio,
video,
form,
[role="complementary"],
#paginator,
#comments-form,
.comments h4 a:last-child {
  display: none;
}

/**
 * Make sure links are not underlined.
 */
a {
  text-decoration: none;
}

/**
 *  Show long-form for abbreviations in print.
 */
abbr[title]:after {
  content: " (" attr(title) ")";
}

h1 {
  font-size: 32pt;
  line-height: 36pt;
  font-weight: normal;
  margin: 0.5em 0;
}

h2 {
  font-size: 18pt;
  line-height: 23pt;
  page-break-after: avoid;
  orphans: 3;
  widows: 3;
  margin: 0.6666667em 0;
}

h3 {
  font-size: 12pt;
  line-height: 17pt;
  page-break-after: avoid;
  orphans: 3;
  widows: 3;
  margin: 0.6666667em 0;
}

/**
 * Prevent widows (single final paragraph line on next page) and orphans (single
 * first paragraph line on previous page).
 */
p {
  orphans: 3;
  widows: 3;
}

/**
 * Harmonise size and style of small text.
 */
footer,
figcaption,
tfoot,
small,
.footnote {
  font-size: 6pt;
}

/**
 * Simple blockquote styling.
 *
 * 1. Avoid blockquotes breaking across mutiple pages.
 */
blockquote {
  font-size: 16pt;
  border-left: 3pt solid black;
  padding: 0 0 0 8pt;
  /* 1 */
  page-break-inside: avoid;
}

/**
 * Simple preformatted text styling.
 */
pre {
  margin-bottom: 8pt;
  border: solid 1pt black;
  padding: 8pt;
}

/**
 * Avoid user comments breaking across mutiple pages.
 */
.comments {
  page-break-inside: avoid;
}

/**
 * Use a print-friendly monospaced font and size.
 */
pre,
code,
kbd,
samp,
var {
  font-family: "Courier New", Courier, monospace;
}

/**
 * Italic definitons, quotes and definition terms.
 */
dfn,
q,
dt {
  font-style: italic;
}

/**
 * 1. Ensure images are maximum possible width.
 * 2. Avoid images breaking across mutiple pages.
 */
img {
  /* 1 */
  max-width: 100% !important;
  /* 2 */
  page-break-inside: avoid;
}

/**
 * Image alignment (compatible with Textile markup syntax).
 *
 * Example HTML:
 *
 * <img class="align-left">
 * <img class="align-right">
 * <img class="align-center">
 */
img.align-left {
  float: left;
  margin: 1em 1em 1em 0;
}
img.align-right {
  float: right;
  margin: 1em 0 1em 1em;
}
img.align-center {
  display: block;
  margin: 1em auto;
}

/**
 * Ensure margin below `figure`.
 */
figure {
  margin-bottom: 8pt;
}

/**
 * Ensure margin above `figcaption`.
 */
figcaption {
  margin-top: 4pt;
}

/**
 * Simple bullet styling for `ul` unordered lists.
 */
ul {
  list-style: square;
  padding: 0 0 8pt 1.8em;
}

/**
 * Simple numerical styling for `ol` ordered lists.
 */
ol {
  list-style: decimal;
  padding: 0 0 8pt 1.8em;
}

/**
 * Normalise margins on `dl` definition lists.
 */
dl {
  padding: 0 0 8pt 1.8em;
}

/**
 * 1. Ensure margin below `table`.
 * 2. Make `table` span entire page width.
 */
table {
  /* 1 */
  margin-bottom: 8pt;
  /* 2 */
  width: 100%;
}

/**
 * Harmonise styling for `caption`.
 */
caption {
  font-weight: bold;
  text-align: left;
  margin-bottom: 4pt;
}

/**
 * Display table head across multi-page tables.
 */
thead {
  display: table-header-group;
}
thead th {
  border-top: 1pt solid black;
}

/**
 * Avoid table rows breaking across mutiple pages.
 */
tr {
  page-break-inside: avoid;
}

/**
 * Simple styling for table cells.
 */
th,
td {
  border-bottom: solid 1pt black;
  padding: 4pt 8pt;
}