/**
 * Theme Name: Kinderzwerfboek
 * Description: Thema voor Kinderzwerfboek
 * Version: 1.4
 * Author: Nozem.cc
 * License: WTFPL v2.0.102.3-G
 */

/* Fonts */

@import url('assets/fonts/source-sans-pro/source-sans-pro.css');
@import url('assets/fonts/gooddog/gooddog.css');

/* General */

html,
body {
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  background-color: #fff;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
button,
input,
select,
textarea {
  color: #1d1d1b;
  font-family: 'Source Sans Pro Regular', sans-serif;
  font-size: 20px;
  line-height: 30px;
  outline: none;
}

a {
  text-decoration: none;
  transition: color 250ms ease;
}

a.button,
a.button:hover {
  display: inline-block;
  vertical-align: top;
  padding: 0 28px;
  margin: 0 16px 16px 0;
  color: #fff;
  line-height: 50px;
  text-decoration: none;
  background-color: #f39420;
  border-radius: 3px;
}

a.orange,
button.orange {
  color: #fff;
  background-color: #f09129;
}

b {
  font-family: 'Source Sans Pro Bold', sans-serif;
}

footer h3 {
  font-family: 'Source Sans Pro Bold', sans-serif;
  margin: 0;
  padding: 0;
}

b.red {
  color: #e31d2a;
}

h1, h2 {
  margin: 0;
  color: #1c88c9;
  font-family: 'GoodDog', sans-serif;
}

h1 {
  font-size: 60px;
  line-height: 70px;
}

h2 {
  font-size: 50px;
  line-height: 60px;
}

h1.center {
  display: block;
  padding: 50px 0;
}

hr {
  margin: 16px 0 21px;
  border: none;
  border-top: solid 1px rgba(255, 255, 255, .5);
}

p.quote {
  position: relative;
}

p.quote:before {
  content: '“';
}

p.quote:after {
  content: '”';
}

/* Elements */

div.line {
  width: 100%;
  height: 15px;
  background-image: url('assets/svg/line-blocks.svg');
  background-repeat: repeat-x;
  background-position: 0 0;
}

.redirect {
  cursor: pointer;
}

.break {
  display: none;
}

.center {
  text-align: center;
}

/* Icons */

.icon {
  display: inline-block;
  position: relative;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  background-image: url('assets/svg/icons.svg?v=3');
  background-repeat: no-repeat;
  background-size: 50px auto;
  cursor: pointer;
}

.icon#facebook       { background-position:   0   0; }
.icon#facebook:hover { background-position: -25px 0; }

.icon#youtube       { background-position:   0   -25px; }
.icon#youtube:hover { background-position: -25px -25px; }

.icon#twitter       { background-position:   0   -50px; }
.icon#twitter:hover { background-position: -25px -50px; }

.icon#search       { background-position:   0   -75px; }
.icon#search:hover { background-position: -25px -75px; }

.icon#instagram     { background-position:   0   -130px; }
.icon#instagram:hover { background-position: -25px -130px; }

a#login span.phone-show {
  display: none;
  position: relative;
  vertical-align: middle;
  width: 25px;
  height: 25px;
  background-image: url('assets/svg/icons.svg?v=2');
  background-repeat: no-repeat;
  background-size: 50px auto;
  background-position: 0 -100px;
  cursor: pointer;
}

/* Form */

.gform_wrapper .ginput_container input,
.gform_wrapper .ginput_container input[type="text"],
.gform_wrapper .ginput_container input[type="number"],
.gform_wrapper .ginput_container input[type="email"],
.gform_wrapper .ginput_container select,
.gform_wrapper .ginput_container textarea {
  height: 40px;
  margin: 0;
  color: #000;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}

.gform_wrapper textarea {
  height: 100px;
  padding: 5px 8px;
  line-height: 27px;
  resize: none;
}

.gform_wrapper input[type=submit],
button {
  display: inline-block;
  vertical-align: top;
  height: 50px;
  padding: 0 28px;
  margin: 0 16px 0 0;
  color: #fff;
  line-height: 50px;
  text-decoration: none;
  background-color: #f39420;
  border: none;
  border-radius: 3px;
}

button.disabled {
  background-color: #999;
  cursor: default;
}

.gform_wrapper .gform_footer {
  padding-top: 0 !important;
}

body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox,
body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
  margin-top: 0 !important;
}

/* Framework */

header {
  position: fixed;
  z-index: 2;
  left: 0;
  top: 0;
  width: 100%;
  height: 126px;
  padding: 0 20px;
  background-color: #fff;
  overflow: visible;
}

main {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 922px;
  padding: 126px 20px 0 20px;
}

footer {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 20px;
}

section {
  position: relative;
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
}

article {
  width: 100%;
}

/* Header */

header section {
  height: 100%;
}

/* Header - Logo */

header a#logo {
  position: absolute;
  z-index: 5;
  left: 2%;
  top: 0;
  height: 110px;
}

header a#logo img {
  height: 100%;
  width: auto;
}

/* Header - Cover and Shade */

header div#cover {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 0;
  left: 195px;
  height: 126px;
  background-color: #fff;
}

header div#shade {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 10px;
  left: 10px;
  height: 126px;
  box-shadow: 0 4px 2px -2px rgba(0,0,0, .06);
}

header div#shade:before { left: -10px; }
header div#shade:after  { right: -10px; }

/* Header - Icons */

header div#icons {
  position: absolute;
  z-index: 6;
  right: 0;
  top: 0;
  padding: 15px 0;
  line-height: 25px;
  opacity: .5;
  transition: opacity 250ms ease;
}

header div#icons:hover {
  opacity: 1;
}

header div#icons a#login {
  color: #1d1d1b;
  font-size: 16px;
  line-height: 25px;
}

header div#icons a#login:hover {
  color: #0d7dce;
}

.inline-block,
.inline-block ~ .textwidget {
  display: inline-block;
}

/* Header - Search */

header div#search {
  display: inline-block;
  position: relative;
  padding-right: 3px;
}

header div#search button {
  display: inline-block;
  vertical-align: top;
  width: 25px;
  height: 25px;
  padding: 0;
  margin: 0;
  line-height: 25px;
  background: none;
}

header div#search input {
  display: inline-block;
  vertical-align: middle;
  width: 150px;
  padding: 0 6px;
  font-size: 16px;
  line-height: 25px;
  border: solid 1px #ccc;
  outline: none;
}

header div#search.in input {
  opacity: 0;
}

header div#search.out input {
  opacity: 1;
}

/* Header - Navigation */

header nav {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: 21px;
  padding-left: 212px;
  font-size: 16px;
  line-height: 40px;
  white-space: nowrap;
  text-transform: uppercase;
  transition: padding 250ms ease, bottom 250ms ease;
}

header nav a {
  display: inline-block;
  position: relative;
  min-width: 100%;
  color: #4d4d4d;
  padding: 0 10px;
  line-height: 40px;
  text-rendering: geometricPrecision;
  border-radius: 3px;
  transition: color 125ms ease, background-color 250ms ease;
}

header nav a:hover,
header nav li.active > a,
header nav li.current-menu-item a,
header nav li.current-menu-parent > a,
header nav li.menu-item-has-children:hover > a {
  color: #fff;
  background-color: #f09129;
}

header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

header nav ul li {
  display: block;
}

header nav ul.menu li.menu-item {
  position: relative;
  float: left;
  margin: 0 0 0 2px;
}

header nav ul.menu li.menu-item-has-children:hover > a,
header nav ul.menu li.menu-item-has-children a:hover {
  border-radius: 3px 3px 0 0;
}

header nav ul.menu li.menu-item-has-children > a {
  padding: 0 20px 0 10px;
}

header nav ul.menu li.menu-item-has-children > a:after {
  content: '';
  display: block;
  position: absolute;
  top: 17px;
  right: 8px;
  width: 5px;
  height: 5px;
  border-top:   solid 1px #4d4d4d;
  border-right: solid 1px #4d4d4d;
  transform: rotate(135deg);
  transform-origin: 50% 50%;
  transition: border-color 250ms ease;
}

header nav ul.menu li.menu-item-has-children.active > a:after {
  border-color: #fff;
}

header nav ul.menu li.current-menu-parent > a:after,
header nav ul.menu li.menu-item-has-children:hover > a:after {
  border-color: #fff;
}

header nav ul.menu li.menu-item ul.sub-menu {
  display: none;
  position: absolute;
  z-index: 8;
  background-color: #fff;
  border-radius: 0 3px 3px 3px;
  overflow: hidden;
}

header nav ul.menu li.menu-item:nth-last-of-type(2) ul.sub-menu,
header nav ul.menu li.menu-item:nth-last-of-type(1) ul.sub-menu {
  right: 0;
}

header nav ul.menu li.menu-item:hover ul.sub-menu {
  display: block;
}

header nav ul.menu li.menu-item ul.sub-menu li {
  display: block;
  float: none;
  margin: 0;
  min-width: 100%;
}

header nav ul.menu li.menu-item ul.sub-menu li a {
  border-radius: 0;
  white-space: nowrap;
}

header nav.padded {
  bottom: 5px;
  padding-right: 155px;
}

header div#nav-icon {
  display: none;
}

/* Footer */

footer {
  font-size: 14px;
  line-height: 24px;
}

footer a {
  color: #0d7dce;
}

footer a:hover {
  text-decoration: underline;
}

footer a.none,
footer a.none:hover {
  color: inherit;
  text-decoration: none;
}

footer address {
  font-style: normal;
}

footer b {
  display: block;
  font-size: 16px;
}

footer b.big20 {
  font-size: 20px;
}

footer div#row-1 {
  display: inline-block;
  width: 100%;
  padding: 33px 0 20px 0;
}

footer div#row-1 div.box {
  position: relative;
  vertical-align: top;
  float: left;
}

footer div#row-1 div.box:last-of-type {
  border-right: none;
}

footer div#row-1.size-1 div.box { width: calc(100% / 1); }
footer div#row-1.size-2 div.box { width: calc(100% / 2); }
footer div#row-1.size-3 div.box { width: calc(100% / 3); }
footer div#row-1.size-4 div.box { width: calc(100% / 4); }
footer div#row-1.size-5 div.box { width: calc(100% / 5); }
footer div#row-1.size-6 div.box { width: calc(100% / 6); }

footer div#row-2 {
  display: inline-block;
  width: 100%;
  height: 40px;
  padding: 14px 0 0 0;
  color: #222;
  font-size: 12px;
  line-height: 12px;
  border-top: solid 1px #d3d3d3;
}

footer div#row-2 div#copyright {
  display: inline-block;
  float: left;
}

footer div#row-2 div#links {
  display: inline-block;
  float: right;
}

footer div#row-2 div#links a {
  padding: 0 3px;
  color: inherit;
}

footer div#row-2 div#links a:hover {
  color: #0d7dce;
}

/* Main */

main section {
  min-height: 796px;
}

/* Main - Intro */

main section div#intro {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 450px;
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: cover;
}

main section div#intro div.line {
  position: absolute;
  bottom: -15px;
}

main section div#intro div#map-canvas {
  width: 100%;
  height: 100%;
  background-color: #000;
}

/* Main - Aside */

main section aside {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 283px;
  width: 270px;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  background-color: #21a752;
}

main section aside h2 {
  display: block;
  margin: 0;
  color: #fff;
  font-family: 'GoodDog', sans-serif;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
}

main section aside p {
  position: relative;
  padding: 5px 20px 15px 20px;
  margin: 0;
}

main section aside input[type="text"] {
  position: relative;
  width: calc(100% - 60px);
  height: 50px;
  padding: 0 8px;
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 50px;
  background-color: #fff;
  border: none;
  border-radius: 3px;
}

main section aside button {
  position: relative;
  float: right;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0;
}

main section aside button i {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background-image: url('assets/svg/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 50px auto;
  background-position: 0 0;
}

main section aside div#switch {
  display: none;
}

main section aside div#found {
  width: 100%;
  padding: 22px 0 32px 0;
}

main section aside div#or {
  position: absolute;
  z-index: 2;
  left: 50%;
  width: 50px;
  height: 50px;
  margin: -25px 0 0 -25px;
  background-color: #e31d2a;
  border-radius: 100%;
}

main section aside div#or h2 {
  line-height: 50px;
}

main section aside div#request {
  width: 100%;
  padding: 32px 0 7px 0;
  background-color: #1c88c9;
}

main section aside div#book {
  position: absolute;
  z-index: 2;
  right: -15px;
  top: -45px;
  width: 100px;
  height: 100px;
  background-image: url('assets/img/book-orange.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100px auto;
}

/* Main - Article - Rings */

main section article.rings {
  display: inline-block;
  padding: 0 0 40px 0;
}

main section article.rings div.box {
  display: inline-block;
  position: relative;
  float: left;
  vertical-align: top;
  width: calc(100% / 3);
  min-width: 320px;
  padding-bottom: 10px;
}

main section article.rings div.box div.image {
  position: relative;
  z-index: 1;
  width: 274px;
  height: 274px;
  margin: 13px auto;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: auto 100%;
  border: none;
  border-radius: 100%;
}

main section article.rings div.box div.ring {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -13px;
  width: 300px;
  height: 300px;
  background-image: url('assets/svg/ring-1.svg');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
  transform: translateX(-50%);
}

main section article.rings div.box div.ring.ring-1 { background-image: url('assets/svg/ring-1.svg?v=2'); }
main section article.rings div.box div.ring.ring-2 { background-image: url('assets/svg/ring-3.svg?v=2'); }
main section article.rings div.box div.ring.ring-3 { background-image: url('assets/svg/ring-2.svg?v=2'); }

main section article.rings div.box div.ring div.tag {
  position: absolute;
  z-index: 3;
  left: 50%;
  max-width: 80%;
  bottom: 23px;
  padding: 10px;
  color: #fff;
  font-family: 'GoodDog', sans-serif;
  font-size: 38px;
  line-height: 30px;
  text-align: center;
  background-color: #1c88c9;
  transform-origin: 50% 50%;
  transform: translate(-50%, 50%) rotate(5deg);
}

main section article.rings div.box div.ring.ring-1 div.tag { transform: translate(-50%, 50%) rotate(5deg); }
main section article.rings div.box div.ring.ring-2 div.tag { transform: translate(-50%, 50%) rotate(-5deg); }
main section article.rings div.box div.ring.ring-3 div.tag { transform: translate(-50%, 50%) rotate(2deg); }

main section article.rings div.box div.ring div.color-1 { background-color: #f39420; }
main section article.rings div.box div.ring div.color-2 { background-color: #21a752; }
main section article.rings div.box div.ring div.color-3 { background-color: #1c88c9; }
main section article.rings div.box div.ring div.color-4 { background-color: #e31d2a; }

main section article.rings div.box div.content {
  padding: 0 10px 10px 10px;
  text-align: center;
}

main section article.rings div.box div.content.pad-1 {
  padding-top: 15px;
}

main section article.rings div.box div.content.pad-2 {
  padding-top: 45px;
}

main section article.rings div.box div.content .ring-title {
  color: #21a752;
  margin: 5px 0;
  padding-bottom: 0;
}

main section article.rings div.box:nth-child(3n+1){
  clear: left;
}

/* Main - Article - Call to Donate */

main section article.call-to-action {
  position: relative;
  padding: 0 80px;
  margin: 0 0 44px 0;
}

main section article.call-to-action div#donate {
  display: inline-block;
  position: relative;
  width: 100%;
  min-height: 270px;
  padding: 0 350px 0 20px;
}

main section article.call-to-action div#donate a#donate {
  display: block;
  position: absolute;
  right: 20px;
  top: 50%;
  width: 270px;
  height: 270px;
  padding: 86px 0 0 0;
  margin: 0;
  color: #f39420;
  font-family: 'GoodDog', sans-serif;
  font-size: 60px;
  line-height: 40px;
  text-align: center;
  text-decoration: none;
  background-color: #fff;
  background-image: url('assets/svg/ring-cover.svg?v=2');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100% 100%;
  border-radius: 100%;
  transform: translateY(-50%);
  transition: color 175ms ease, background-color 350ms ease;
}

main section article.call-to-action div#donate a#donate:hover {
  color: #fff;
  background-color: #f39420;
}

main section article.call-to-action div#block {
  display: block;
  position: relative;
  clear: both;
  padding: 20px 0;
  margin: 40px 0 0 0;
  color: #fff;
  font-size: 30px;
  line-height: 54px;
  text-align: center;
  background-color: #1c88c9;
}

main section article.call-to-action div#block span {
  font-weight: bold;
  letter-spacing: -0.01em;
}

main section article.call-to-action div#block a {
  margin: 0 5px;
  padding: 0 12px;
  font-size: 25px;
  background-color: #f39420;
}

main section article.call-to-action div#block div#book {
  position: absolute;
  z-index: 2;
  right: -25px;
  top: -45px;
  width: 100px;
  height: 100px;
  background-image: url('assets/img/book-red.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 100px auto;
}

/* Main - Article */

main section article {
  padding: 50px 0 40px 0;
}

main section article a {
  color: #0d7dce;
}

main section article a:hover {
  text-decoration: underline;
}

/* Main - Article - Text */

main section article.text {
  padding: 25px 300px 25px 20px;
  min-height: 280px;
}

/* Main - Article - Search Form */

main section article.search-form {
  padding: 70px 0 40px 0;
}

main section article.search-form label {
  display: block;
  margin: 20px 0 0;
  color: #1d1d1b;
  font-family: "Source Sans Pro Regular", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 26px;
}

main section article.search-form input {
  position: relative;

  width: calc(100% - 50px);
  height: 40px;
  padding: 0 8px;
  margin: 8px 0 0;
  color: #000;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}

main section article.search-form button {
  position: relative;
  float: right;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 8px 0 0;
}

main section article.search-form button i {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: url('assets/svg/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 40px auto;
  background-position: 0 0;
}

/* Main - Article - Search Results */

main section article.search-results {
  padding: 40px 0;
  border-top: solid 1px rgba(0, 0, 0, .1);
}

main section article.search-results div.search-result {
  width: 100%;
  padding: 20px 0 10px 0;
  border-bottom: solid 1px rgba(0, 0, 0, .1);
}

main section article.search-results div.search-result:last-of-type {
  border-bottom: none;
}

main section article.search-results div.search-result h2 {
  color: #11a54c;
  font-size: 40px;
  line-height: 50px;
}

main section article.search-results div.search-result p {
  margin-top: 10px;
}

/* Main - Article - Map */

main section article.map {
  position: relative;
  padding: 50px 0 100px 0;
}

main section article.map div#map-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 640px;
  background-color: #000;
}

main section article.map div#map-canvas .cluster {
  color: #fff;
  font-family: 'Source Sans Pro Regular', sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

main section div#map-canvas div.infowindow {
  text-align: center;
  font-size: 16px;
  line-height: 20px;
  padding: 20px;
}

main section div#map-canvas div.infowindow h2 {
  color: #11a54c;
  font-size: 30px;
  line-height: 28px;
  margin-bottom: 5px;
}

main section div#map-canvas div.infowindow h2 a,
main section div#map-canvas div.infowindow h2 a:hover {
  font: inherit;
  color: inherit;
  text-decoration: none;
}

main section div#map-canvas div.infowindow p {
  margin: 0;
}

main section article.map div#map-list {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 320px;
  height: 740px;
  padding: 10px 20px 20px;
  background-color: #e31d2a;
}

main section article.map div#map-list h2 {
  display: block;
  margin: 10px 0;
  color: #fff;
  font-size: 40px;
  line-height: 40px;
  text-align: center;
}

main section article.map div#map-list fieldset {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: none;
}

main section article.map div#map-list input[type="submit"] {
  display: none;
}

main section article.map div#map-list input[type="text"] {
  display: inline-block;
  width: calc(100% - 62px);
  height: 50px;
  padding: 0 8px;
  margin: 0;
  color: #000;
  font-size: 18px;
  line-height: 50px;
  background-color: #fff;
  border: none;
  border-radius: 3px;
}

main section article.map div#map-list button {
  display: inline-block;
  vertical-align: top;
  width: 50px;
  height: 50px;
  padding: 0;
  margin: 0 0 0 10px;
  color: #fff;
  line-height: 50px;
  text-decoration: none;
  background-color: #f39420;
  border: none;
  border-radius: 3px;
}

main section article.map div#map-list button i {
  display: block;
  width: 50px;
  height: 50px;
  background-image: url('assets/svg/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 50px auto;
  background-position: 0 0;
}

main section article.map div#map-list div#map-list-results {
  position: absolute;
  top: 230px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 0 20px 0 0;
  overflow: hidden;
  overflow-y: scroll;
}

main section article.map div#map-list div#map-list-results div.map-list-result {
  display: block;
  padding: 10px 0;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  border-top: solid 1px #fff;
  cursor: pointer;
}

main section article.map div#map-list div#map-list-results div.map-list-result.none {
  cursor: default;
}

main section article.map div#map-list div#map-list-results div.map-list-result b {
  display: block;
  font-size: 18px;
  line-height: 22px;
}

/* Main - Article - Books */

main section article.books-intro {
  padding: 70px 0 40px 0;
}

main section article.books-intro fieldset {
  min-height: 40px;
  padding: 0;
  margin: 0;
  border: none;
}

main section article.books-intro fieldset label.error {
  display: none;
  clear: both;
  padding-top: 10px;
  color: #790000;
  font-size: .813em;
  font-weight: 700;
}

main section article.books-intro fieldset.error {
  padding: 16px 0;
  color: #790000;
  background-color: rgba(255, 223, 224, .25);
  border-top: solid 1px rgb(200, 151, 151);
  border-bottom: solid 1px rgb(200, 151, 151);
}

main section article.books-intro fieldset.error label.error {
  display: block;
}

main section article.books-intro label.wait {
  display: none;
  clear: both;
  padding-top: 15px;
  font-weight: 700;
}

main section article.books-intro input {
  position: relative;
  float: left;
  width: calc(100% - 50px);
  height: 40px;
  padding: 0 8px;
  margin: 0;
  color: #000;
  line-height: 40px;
  border: 1px solid #ccc;
  border-radius: 3px;
  outline: none;
}

main section article.books-intro input[name="code"] {
  width: 100px;
}

main section article.books-intro button {
  position: relative;
  float: left;
  width: 40px;
  height: 40px;
  padding: 0;
  margin: 0 0 0 10px;
}

main section article.books-intro button i {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  background-image: url('assets/svg/icon-search.svg');
  background-repeat: no-repeat;
  background-size: 40px auto;
  background-position: 0 0;
}

main section article.books-results {
  padding: 40px 0;
  border-top: solid 1px rgba(0, 0, 0, .1);
}

main section article.books-results h2 {
  color: #11a54c;
  font-size: 40px;
  line-height: 50px;
}

main section article.books-results p {
  margin-top: 0;
}

main section article.books-results div.book {
  position: relative;
  padding: 20px 0;
}

main section article.books-results.list {
  padding: 25px 0 0;
}

main section article.books-results.list div.new {
  position: relative;
  padding: 20px 0 0;
  border-top: solid 1px rgba(0, 0, 0, .1);
}

main section article.books-results.list div.book {
  padding-bottom: 30px;
  border-top: solid 1px rgba(0, 0, 0, .1);
}

main section article.books-results div.book.has-cover {
  padding-left: 240px;
}

main section article.books-results div.book div.cover {
  position: absolute;
  left: 0;
  top: 40px;
  width: 200px;
  text-align: center;
  perspective: 100px;
  transform-style: preserve-3d;
}

main section article.books-results div.book div.cover div.item {
  display: inline-block;
  position: relative;
  transform: perspective(100px) rotateY(-3deg);
  outline: solid 1px transparent;

  /*
  box-shadow: 5px 5px 20px #333;
  margin: 10px;
  */
}

main section article.books-results div.book div.cover div.item img {
  position: relative;
  max-width: 100%;
  vertical-align: middle;
}

main section article.books-results div.book div.cover div.item:before,
main section article.books-results div.book div.cover div.item:after {
  content: ' ';
  position: absolute;
  z-index: -1;
  top: 2%;
  height: 96%;
}

main section article.books-results div.book div.cover div.item:before {
  width: 100%;
  left: 7.5%;
  background-color: #5a2d18;
  box-shadow: 0 0 30px rgba(0, 0, 0, .25), 5px 5px 20px rgba(0, 0, 0, .25);
}

main section article.books-results div.book div.cover div.item:after {
  width: 5%;
  left: 100%;
  background-color: #efefef;
  box-shadow: inset 0 0 5px #aaa;
  transform: perspective(100px) rotateY(20deg);
}

/* Article - Ambassadors - Switch */

main section article.ambassador-switch {
  padding: 0 20px 20px 20px;
  text-align: center;
}

main section article.ambassador-switch div.switch {
  display: inline-block;
  position: relative;
  padding: 0 20px;
  margin: 5px;
  text-transform: uppercase;
  line-height: 40px;
  background-color: #f9f9f9;
  border: solid 1px #999;
  border-radius: 3px;
  transition: color 175ms ease, background-color 350ms ease, border 350ms ease;
  cursor: pointer;
}

main section article.ambassador-switch div.switch:hover,
main section article.ambassador-switch div.switch.selected {
  color: #fff;
  background-color: #f39420;
  border-color: transparent;
}

main section article.ambassadors {
  overflow: hidden;
}

/* FAQ */

h3.faq-question {
  position: relative;
  padding: 10px 0 10px 30px;
  margin: 0;
  border-top: solid 1px #aaa;
  cursor: pointer;
}

body h3.faq-question:first-of-type {
  border-top: none;
}

h3.faq-question:before {
  content: '+';
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  color: #fff;
  font-size: 22px;
  line-height: 22px;
  text-align: center;
  background-color: #f39420;
  border-radius: 3px;
}

h3.faq-question.show:before {
  content: '-';
  line-height: 19px;
}

div.faq-answer {
  display: none;
  position: relative;
  clear: both;
  width: 100%;
  padding: 5px 0 20px 0;
  overflow: hidden;
}

/* Cookie banner */

div#cookie-banner {
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1c88c9;
  cursor: pointer;
}

div#cookie-banner p {
  position: relative;
  width: 100%;
  max-width: 1170px;
  padding: 15px 60px 15px 15px;
  margin: 0 auto;
  color: #fff;
}

div#cookie-banner p a {
  color: #fff;
  text-decoration: underline;
}

div#cookie-banner span#cookie-banner-close {
  position: absolute;
  right: 15px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  color: #fff;
  font-size: 35px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  background-color: #f39420;
  border-radius: 3px;
}

/* iframe */

div#books-buffer {
  display: block;
  width: 100%;
  height: 50px;
}

iframe#books-iframe {
  width: 100%;
  min-height: 736px;
  border: none;
}

/* Media Queries */

@media screen and (max-width: 1024px) { /* tablet - landscape */

  /* General */

  /* Main - Article - Text */

  main section article.text {
    padding: 25px 300px 25px 20px;
    min-height: 280px;
  }

  /* Main - Article - Call to Donate */

  main section article.call-to-action {
    padding: 0 20px;
  }

  main section article.call-to-action div#donate {
    padding: 0 350px 0 0;
  }

  /* Main - Article - Rings */

  main section article.rings {
    display: table-cell;
    text-align: center;
    padding-bottom: 20px;
  }

  main section article.rings div.box {
    float: unset;
  }

  /* Main - Articles */

  main section article.search-form,
  main section article.books-intro,
  main section article.books-results,
  main section article.books-results.list {
    padding-left: 20px;
    padding-right: 20px;
  }

  main section article.books-results div.book.has-cover {
    padding-left: 20px;
    padding-top: 220px;
  }

  main section article.books-results div.book.has-cover div.cover {
    width: 100%;
    top: 0;
  }

  /* FAQ */

  div.faq {
    width: 100%;
  }
}

@media screen and (max-width: 768px) { /* tablet - portrait */

  /* General */

  body.noscroll {
    overflow: hidden;
  }

  /* Navigation */

  body.out { overflow: hidden; }
  body.in  {}

  header div#nav-icon {
    display: block;
    position: absolute;
    z-index: 4;
    right: 0;
    top: 56px;
    width: 50px;
    height: 50px;
    background-color: #f09129;
    background-image: url('assets/svg/icon-nav.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
    border-radius: 3px;
    cursor: pointer;
    transition: background-position 350ms ease;
  }

  body.out header div#nav-icon { background-position: -50px 0; }
  body.in  header div#nav-icon { background-position:   0   0; }

  header nav {
    position: fixed;
    z-index: 2;
    top: 126px;
    bottom: 0;
    width: 50%;
    padding: 20px;
    background-color: #fff;
    border-top: solid 1px #e5e5e5;
    overflow: hidden;
    overflow-y: scroll;
    box-shadow: 0 0 7px rgba(0, 0, 0, .15);
    transition: right 350ms ease;
  }

  body.out header nav { right:   0;  }
  body.in  header nav { right: -50%; }

  header nav a {
    border: solid 1px rgba(0, 0, 0, .1);
  }

  header nav ul.menu {
    padding-bottom: 10px;
  }

  header nav ul.menu li.menu-item {
    display: block;
    float: unset;
    margin: 0 0 10px 0;
  }

  header nav ul.menu li.menu-item ul.sub-menu {
    display: block;
    position: relative;
    border-radius: 0;
    padding: 0 10px;
    margin: 0;
    box-shadow: none;
  }

  header nav ul.menu li.menu-item ul.sub-menu li a,
  header nav ul.menu li.menu-item-has-children:hover a,
  header nav ul.menu li.menu-item-has-children a:hover {
    border-radius: 3px;
  }

  header nav ul.menu li.menu-item ul.sub-menu li a {
    margin: 10px 0 0 0;
  }

  /* Main - Article - Text */

  main section article.text {
    padding: 25px 300px 25px 20px;
    min-height: 280px;
  }
}

@media screen and (max-width: 667px) { /* phone - landscape */

  /* General */

  .phone-hide {
    display: none;
  }

  .phone-show,
  a#login span.phone-show {
    display: none;
  }

  h1 {
    font-size: 50px;
    line-height: 60px;
  }

  h2 {
    font-size: 40px;
    line-height: 50px;
  }

  /* Header */

  header {
    height: 90px;
    padding: 0 20px 0 0;
  }

  header a#logo {
    height: 85px;
  }

  header div#cover {
    top: -35px;
    right: -20px;
    left: 135px;
  }

  header div#shade {
    top: -35px;
    right: -20px;
  }

  header div#icons {
    top: 16px;
    right: 75px;
  }

  header div#nav-icon {
    top: 20px;
  }

  /* Framework */

  main {
    padding: 90px 20px 0 20px;
  }
}

@media screen and (max-width: 414px) { /* phone - portrait */

  /* General */

  .phone-hide-p {
    display: none;
  }

  .break {
    display: block;
    height: 1px;
    font-size: 1px;
    line-height: 1px;
  }

  a.button,
  a.button:hover {
    padding: 14px;
    line-height: 22px;
  }

  /* Form */

  button {
    padding: 14px;
    line-height: 22px;
  }

  div.row-2 {
    display: block;
    margin: 0;
  }

  div.row-2 fieldset {
    float: unset;
    margin: 10px 0 0 0;
  }

  div.row-2 fieldset:first-of-type {
    width: 100%;
    padding-right: 0;
  }

  div.row-2 fieldset:last-of-type {
    width: 100%;
  }

  /* Header */

  header div#icons {
    right: 57px;
    padding: 4px 0 0 0;
    line-height: 50px;
    opacity: 1;
  }

  header a#logo {
    z-index: 5;
    height: 90%;
    width: auto;
  }

  /* Header - Login */

  header div#icons a#login {
    display: inline-block;
    float: left;
    color: transparent;
    font-size: 1px;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: #f09129;
    background-image: url('assets/svg/icon-login.svg');
    background-size: 50px auto;
    background-position: 0 0;
    border-radius: 3px;
  }

  /* Header - Search */

  header div#search {
    vertical-align: top;
  }

  header div#search button {
    width: 50px;
    height: 50px;
    background-color: #f09129;
  }

  header div#search button span.icon,
  header div#search button:hover span.icon {
    width: 50px;
    height: 50px;
    background-image: url('assets/svg/icon-search.svg');
    background-size: 50px auto;
    background-position: 0 0;
  }

  header div#search div#input {

    background-color: #f39420;
  }

  header div#search input {
    display: block;
    position: fixed;
    z-index: 1;
    top: 90px;
    right: 10px;
    left: 10px;
    width: calc(100% - 20px);
    height: 50px;
    padding: 0 20px;
    color: #1d1d1b;
    text-align: center;
    line-height: 20px;
    border: none;
    background-color: #fff;
    border-radius: 0;
    box-shadow: 0 0 7px rgba(0, 0, 0, .15);
  }

  /* Navigation */

  header nav {
    z-index: 4;
    top: 90px;
    bottom: unset;
    width: 100%;
    padding: 50px 0 0 0;
    box-shadow: none;
  }

  body.out header nav { right:    0;  }
  body.in  header nav { right: -100%; }

  /* Framework */

  main {
    padding: 90px 0 0 0;
  }

  /* Main - Intro */

  main section div#intro {
    z-index: 2;
    height: 250px;
  }

  /* Main - Aside */

  main section aside {
    position: relative;
    z-index: 0;
    display: inline-block;
    right: 0;
    top: unset;
    width: 100%;
  }

  main section aside div#book {
    display: none;
  }

  main section aside div#forms {
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: max-height 700ms ease;
  }

  main section aside div#switch {
    display: block;
    position: absolute;
    z-index: 2;
    width: 100%;
    top: 7px;
    background-color: #21a752;
    cursor: pointer;
    transition: margin-top 350ms ease;
  }

  main section aside div#switch h2 {
    font-size: 25px;
    line-height: 50px;
  }

  main section aside div#switch h2#found {
    display: inline-block;
    vertical-align: top;
    width: 48%;
    padding-right: 20px;
    text-align: right;
  }

  main section aside div#switch h2#or {
    position: absolute;
    z-index: 2;
    left: 48%;
    top: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    line-height: 30px;
    text-align: center;
    background-color: #e31d2a;
    border-radius: 100%;
  }

  main section aside div#switch h2#request {
    display: inline-block;
    position: absolute;
    z-index: 1;
    right: 0;
    top: 0;
    width: 52%;
    padding-left: 23px;
    text-align: left;
    white-space: nowrap;
    background-color: #1c88c9;
  }

  main section aside.in  div#switch { margin-top:   0;   }
  main section aside.out div#switch { margin-top: -50px; }

  main section aside.in  div#forms { max-height:  50px; }
  main section aside.out div#forms { max-height: 500px; }

  /* Main - Article - Text */

  main section article.text {
    padding: 20px;
  }

  main section article.text img#spacer {
    display: none;
  }

  /* Main - Article - Map */

  main section article.map {
    padding: 0 0 20px 0;
  }

  main section article.map div#map-canvas {
    height: 300px;
    background-color: #000;
  }

  main section article.map div#map-list {
    position: relative;
    display: inline-block;
    top: unset;
    left: unset;
    width: 100%;
    height: 500px;
  }

  /* Main - Article - Call to Donate */

  main section article.call-to-action {
    padding: 0 20px;
    margin: 0;
  }

  main section article.call-to-action div#donate {
    min-height: unset;
    padding: 0;
  }

  main section article.call-to-action div#donate a#donate,
  main section article.call-to-action div#donate a#donate:hover {
    position: relative;
    right: unset;
    top: unset;
    width: 270px;
    height: 270px;
    padding: 86px 0 0 0;
    margin: 0 auto;
    transform: none;
  }

  main section article.call-to-action div#block {
    width: calc(100% + 40px);
    padding: 15px 20px 20px;
    margin: 20px 0 0 -20px;
  }

  main section article.call-to-action div#block a {
    line-height: 50px;
  }

  main section article.call-to-action div#block div#book {
    display: none;
  }

  /* Footer */

  footer div.line {
    width: calc(100% + 55px);
    margin: 0 0 0 -35px;
  }

  footer div#row-1 {
    padding: 20px 0 10px 0;
  }

  footer div#row-1 div.box {
    width: 50%;
    margin: 0 0 15px 0;
  }

  /* Main - Article - Search Results */

  main section article.search-results {
    padding: 60px 20px 20px 20px;
  }

  main section article.search-results div.search-result p {
    margin: 10px 0;
  }

  main section article.search-results div.search-result a {
    margin: 10px 0;
  }
}
