/* ==========================================================================
   Styling and layout for all media
   ========================================================================== */
/* HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined for any HTML5 element in older browsers.
 * Correct `block` display not defined for `details` or `summary` in IE 11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */
article,
details,
figcaption,
figure,
footer,
header,
site-navigation,
section,
summary {
  display: block;
}

/**
 * Remove tap delay in modern browsers.
 */
a,
input,
button {
  -ms-touch-action: none;
      touch-action: none;
}

/* Clearfix
   ========================================================================== */
/**
 * Clearfix using method.
 *
 */
header::after,
footer::after,
.paginator::after, {
  display: table;
  clear: both;
  content: "";
}

* {
  box-sizing: border-box;
}

body {
  padding: 10px;
  background: #f7f7f7;
}

#body a {
	color:#6590bd;
	text-decoration:none;
}

#body a:hover {
	color:#333;
}

img { border:.2px solid #696969; }

.responsive {
  width: 100%;
  height: auto;
}

.header {
  padding: 30px;
  text-align: center;
  color: #6590bd;
  background: #f7f7f7;
}

.header h1 {
  font-size: 50px;
  font-family: 'Noto Serif', serif;
}

  /* Typography
   ========================================================================== */
  /**
 * Establish baseline.
 */
  html {
    font-size: 16px;
    line-height: 1.5em;
  }
  /**
 * Global font and text colour.
 */
  body {
    color: #333333;
    font-family: 'Noto Serif', serif;
  }
  /**
 * Sans-serif font for main navigation menu.
 */
  .site-navigation {
    font-family: 'Noto Sans', sans-serif;
    font-weight: bold;
  }
  /**
 * Harmonize size, style and vertical margin of headings.
 */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    clear: both;
    font-family: 'Noto Sans', sans-serif;
  }
  h1 {
    margin: 0.6315789em 0;
    font-size: 2.375em;
    line-height: 1.1842105em;
  }
  h2 {
    margin: 0.8em 0;
    font-size: 1.875em;
    line-height: 1.2666667em;
  }
  h3 {
    margin: 1em 0;
    font-size: 1.5em;
    line-height: 1.3333333em;
  }
  h4 {
    margin: 1em 0;
    font-size: 1.25em;
    line-height: 1.4em;
  }
  h5 {
    margin: 1em 0;
    font-size: 1.125em;
    line-height: 1.4444444em;
  }
  h6 {
    margin: 1em 0;
    font-size: 1em;
    line-height: 1.5em;
  }
  /**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */
  b,
  strong {
    font-weight: bold;
  }
  /**
 * Add vertical margin to addresses.
 */
  address {
    margin: 1em 0;
  }
  /**
 * Additional styling for blockquotes.
 */
  blockquote {
    margin: 0.8em 0;
    font-size: 1.25em;
    font-style: italic;
    line-height: 1.4em;
    text-align: center;
  }
  /**
 * Address styling not present in Safari and Chrome.
 */
  abbr[title],
  dfn[title] {
    text-decoration: dotted underline;
    cursor: help;
  }
  /**
 * Consistent styling for `mark` and `var` tags.
 */
  mark,
  var {
    padding: 0 0.25em;
    border-radius: 0.25em;
    background: #fff9e1;
    color: #333333;
  }
  /**
 * Harmonize size and style of computer text.
 */
  pre,
  code,
  kbd,
  samp {
    border: 1px solid #e3e3e3;
    border-radius: 0.2857143em;
    background-color: #f7f7f7;
    color: #333333;
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 0.875em;
    line-height: 1.5em;
  }
  code,
  kbd,
  samp {
    padding: 1px 0.21429em;
  }
  /**
 * Additional stylng for preformatted text/code.
 *
 * 1. Don't wrap long words.
 * 2. Contain overflow in all browsers.
 * 3. Set tab size to 4 spaces.
 */
  pre {
    padding: 0.5714286em 1.1428571em;
    /* 1 */
    word-wrap: normal;
    /* 2 */
    overflow-x: auto;
    /* 3 */
    -moz-tab-size: 4;
         tab-size: 4;
  }
  pre code {
    padding: 0;
    border: 0;
    background-color: transparent;
    font-size: 1em;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    direction: ltr;
    -webkit-hyphens: none;
        -ms-hyphens: none;
            hyphens: none;
  }
  /**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
  sub,
  sup.footnote,
  sup {
    position: relative;
    font-size: 0.625em;
    line-height: 0;
    vertical-align: baseline;
  }
  sup {
    top: -0.5em;
  }
  sub {
    bottom: -0.25em;
  }
  /**
 * Harmonize size and style of small text.
 */
  small,
  figcaption,
  tfoot,
  .footnote {
    font-size: 0.75em;
    line-height: 1.5em;
  }
  figcaption,
  tfoot,
  .footnote {
    color: #777777;
  }
  figcaption {
    margin-top: 0.5em;
    font-style: italic;
  }
  /**
 * Address differences between Firefox and other browsers.
 */
  hr {
    height: 0;
    border: 0;
    border-bottom: 1px solid #cccccc;
    box-sizing: content-box;
  }
  /* Navigation
   ========================================================================== */
  /**
 * Style mobile first version of the navigation menu. 
 */
#site-navigation {
  overflow: hidden;
  background-color: #dddddd;
  border-bottom: 1px solid #cccccc;
  border-top: 1px solid #cccccc;
}

#site-navigation a {
  float: left;
  display: block;
  color: #6590bd;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#site-navigation a:hover {
  background-color: #dddddd;
  color: black;
}

#site-navigation .search-container {
  float: right;
  padding: 1em 2% 1em;
}

#site-navigation input[type=text] {
    width: 16em;
    height: 2.125em;
    padding-right: 0.1875em;
    padding-left: 2em;
    border-radius: 0.5em;
    background: url("data:image/svg+xml;charset=utf-8;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSczMnB4JyBoZWlnaHQ9JzMycHgnIHZpZXdCb3g9JzAgMCAzMiAzMic+PGcgZmlsbD0nJTIzMzMzJz48cGF0aCBkPSdNNCwxM2MwLTUsNC05LDktOWM1LDAsOSw0LDksOWMwLDUtNCw5LTksOUM4LDIyLDQsMTgsNCwxM3ogTTEzLDE5YzMuMywwLDYtMi43LDYtNnMtMi43LTYtNi02cy02LDIuNy02LDZTOS43LDE5LDEzLDE5eicvPjxwYXRoIGQ9J00xNy41LDE5bDEuNS0xLjVsNC41LDNMMjgsMjVjMCwwLDAsMS41LTAuNzUsMi4yNVMyNSwyOCwyNSwyOGwtNC41LTQuNUwxNy41LDE5eicvPjwvZz48L3N2Zz4=") no-repeat left center #ffffff;
    background-size: 2em 2em;
}

#site-navigation .search-container button {
  float: right;
  padding: 6px 10px;
  margin-top: 8px;
  margin-right: 16px;
  background: #ddd;
  font-size: 17px;
  border: none;
  cursor: pointer;
}

#site-navigation .search-container button:hover {
  background: #ccc;
}

@media screen and (max-width: 600px) {
  #site-navigation .search-container {
    float: none;
  }
  #site-navigation a, #site-navigation input[type=text], #site-navigation .search-container button {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    margin: 0;
    padding: 14px;
  }
  #site-navigation input[type=text] {
    border: 1px solid #ccc;  
  }
}

/* Left column */
.left {   
  float: left;
  width: 75%;
}

/* Right column */
.right {
  float: left;
  width: 25%;
  background-color: #f7f7f7;
  padding-left: 20px;
}

.right a.logo {
        padding: 20px;
	display: block;
        border: none;
}

.right img { 
        border: none;
}

.right ul { 
        padding: 0px; 
        margin: 0px;
}
.right li { 
        padding: 1px 0px 1px 13px; 
        margin: 0px; 
        list-style-type: none; 
}

/* The price font  */
.price { background: none;
	 font-size: 22px;
         font-family: 'Noto Serif', serif;
}

/* The divider  */
.divider img { border:none;
}

/* Content in a white background */
.card {
  background-color: white;
  padding: 18px;
  margin-top: 20px;
  overflow: auto;
}

/* Responsive layout */
@media screen and (max-width: 1150px) {
  .left, .right {   
    width: 100%;
    padding: 0;
  }
}

/* Responsive layout */
@media screen and (max-width: 590px) {
  .site-navigation a {
    float: none;
    width: 100%;
  }
}

/* Clear floats */
.canvas:after {
  content: "";
  display: table;
  clear: both;
}

 * Additional styling for `h1` heading links.
 */
  h1 a {
    border-radius: 0.125em;
    color: #6590bd;
  }
  h1 a:visited {
    color: #6590bd;
  }
  h1 a:hover, h1 a:active {
    background-color: #f7f7f7;
    color: #6590bd;
    text-decoration: none;
  }

  /**
 * Paginator (prev/next) navigation links on articles/article lists.
 *
 * Example HTML:
 *
 * <nav class="paginator">
 *     <a rel="prev">
 *     <a rel="next">
 */
  .paginator {
    clear: both;
  }
  .paginator a {
    padding: 12px 16px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #6590bd;
  }
  .paginator [rel="prev"] {
    float: left;
  }
  .paginator [rel="next"] {
    float: right;
  }
  
 /**
 * Swap paginator (prev/next) navigation links on articles/article lists.
 */
  [dir="rtl"] .paginator [rel="prev"] {
    float: right;
  }
  [dir="rtl"] .paginator [rel="next"] {
    float: left;
  }

@media screen and (max-width: 590px) {
  .paginator a {
    text-align: center;
    width: 100%;
    display: inline-block;
  }
}

  /* Tables
   ========================================================================== */
  /**
 * Consistent tables.
 */
  table {
    width: 100%;
    margin-bottom: 1em;
    border-collapse: collapse;
    border-spacing: 0;
  }
  /**
 * Styling of table captions.
 */
  caption {
    margin-bottom: 0.5em;
    font-style: italic;
    text-align: left;
  }
  /**
 * Make table cells align top and left by default.
 */
  th,
  td {
    padding: 0.25em;
    border-bottom: 1px solid #cccccc;
    text-align: left;
    vertical-align: top;
  }
  /**
 * 1. Remove padding from top cells of table header.
 * 2. Thicker border at bottom of `thead`.
 */
  thead tr:first-child th,
  thead tr:first-child td {
    /* 1 */
    padding-top: 0;
  }
  thead tr:last-child th,
  thead tr:last-child td {
    /* 2 */
    border-bottom: 2px solid #cccccc;
  }
  /**
 * 1. Adjust padding of table footer due to smaller font size.
 * 2. Remove padding from bottom cells of table footer.
 */
  tfoot th,
  tfoot td {
    /* 1 */
    padding: 0.3333333em;
  }
  tfoot tr:last-child th,
  tfoot tr:last-child td {
    /* 2 */
    padding-bottom: 0;
    border-bottom: 0;
  }
  /**
 * Border at top of each new table row.
 */
  tbody tr:first-child td,
  tbody tr:first-child th {
    border-top: 1px solid #cccccc;
  }
  /**
 * Multi-row span vertical cell alignments.
 */
  [rowspan] {
    vertical-align: middle;
  }

/* Catalog style for books and journals ------------------------------------------ */

.gallery {
  box-shadow: 0 4px 2px 0 rgba(0, 0, 0, 0.2);
  max-width: 400px;
  margin: auto;
  text-align: center;
  font-size: 18px;
   padding: 12px 10px 12px 10px;
}

.gallery img {
  width: 100%;
  height: auto;
  max-width: 275px;
}

.desc {
  color: #6590bd;
  font-size: 28px;
}

.gallery title {
  color: #6590bd;
  font-size: 28px;
}

.gallery button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 12px;
  color: white;
  background-color: #6590bd;
  text-align: center;
  width: 100%;
  font-size: 18px;
}

.gallery button:hover, a:hover {
  opacity: 0.7;
}

/* Responsive layout */
@media screen and (max-width: 1500px) {
  .gallery, .desc {
    width: 100%;
  }
}

/* ==========================================================================
   Product Card
   ========================================================================== */

.product-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 400px;
  padding: 12px;
  margin: auto;
  text-align: center;
}

.product-price {
  color: grey;
  font-size: 22px;
}

.product-card button {
  border: none;
  outline: 0;
  padding: 12px;
  color: white;
  background-color: #6590bd;
  text-align: center;
  min-width: 100%;
  font-size: 18px;
}

.product-card button:hover {
  opacity: 0.7;
}

/* Responsive layout */
@media screen and (max-width: 1500px) {
  .product-card {
    width: 100%;
  }
}

/* ==========================================================================
   Some more product card
   ========================================================================== */
.container {
  border: 0px solid #ccc;
  background-color: #fff;
  border-radius: 1px;
  padding: 16px;
  margin: 16px 0;
}

.container::after {
  content: "";
  clear: both;
  display: table;
}

.container img {
  float: left;
  margin-right: 20px;
  border-radius: 50%;
}

.container span {
  font-size: 20px;
  margin-right: 15px;
}

/* Add media queries for responsiveness. This will center both the text and the image inside the container */
@media (max-width: 500px) {
  .container {
    text-align: center;
  }
  .container img {
    margin: auto;
    float: none;
    display: block;
  }
}

/* ==========================================================================
   Footer Three Column Lists
   ========================================================================== */

.column {
  margin-top: 20px;
  margin-bottom: 20px;
  float: left;
  padding: 35px;
  overflow: visible;
  background: #fff;
}

.column.side {
  width: 30%;
}

.column.middle {
  width: 20%;
}

.column h3 { 
        padding: 0px 0px 10px 0px; 
        margin: 0px 0px 10px 0px;
}

.column ul { 
        padding: 0px; 
        margin: 0px;
}
.column li { 
        padding: 1px 0px 1px 13px; 
        margin: 0px; 
        list-style-type: none; 
}

/* Responsive layout */
@media screen and (max-width: 1500px) {
  .column.middle, .column.side {
    width: 100%;
    float: left;
  }
}

/* ==========================================================================
   More Columns for Listing Products
   ========================================================================== */

.col-container {
  float: left;
}
.col.left {
  width: 20%;
  padding: 20px;
}
.col.right {
  width: 80%;
  padding: 20px;
  background: #fff;
}

/* Clear floats */
.row:after, {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout */
@media screen and (max-width: 1500px) {
  .col.left, .col.right {
    width: 100%;
  }
}

/* Footer on the very end */

#footer {
  padding: 15px;
  text-align: center;
  background: #dddddd;;
  margin-top: 40px;
}

#footer a {
	color:#6590bd;
	text-decoration:none;
}

/* Cookie message box ----------------------------------------------- */

#cookie-bar {
  position: fixed;
  z-index: 1;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  height: relative;
  text-align: center;
  line-height: 45px;
  background: #333;
  color: white;
  font-size: 16px;
  font-family: 'Arial', san-serif;
  .message {
    white-space: nowrap;
    text-shadow: 0 1px 0;
    @media (max-width: 100%){
      display: none;
    }
  }
  .mobile {
    display: none;
    @media (max-width: 100%){
      display: inline-block;
    }
  }
}
.checkbox-cb {
  display: none;
  &:checked + .cookie-bar {
    transform: translateY(-50px);
  }
}
#cookie-bar a {
  color: dddddd;
}
#cookie-bar a:hover {
    color: f7f7f7;
}

#cookie-bar button {
  background-color: #dddddd;
  border: none;
  padding: 20px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  border-radius: 12px;
}

/* Dropdown CSS List ----------------------------------------------- */

.dropbtn {
  color: white;
  background-color: #6590bd;
  padding: 24px;
  font-size: 12px;
  border: none;
  width: 100%;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: 100%;
}

.dropdown-content {
  display: none;
  position: relative;
  overflow: auto;
  background-color: #f9f9f9;
  width: 100%;
}

.dropdown-content a {
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #dddddd}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .dropbtn {
    opacity: 0.7;
}

@media screen and (max-width: 590px) {
  .dropbtn, .dropdown, .dropdown-content, .dropdown-content a {
    width: 100%;
  }
}

/* ==========================================================================
   Notes
   ========================================================================== */

.success {
    margin-bottom: 15px;
    padding: 4px 12px;
    background-color: #ddffdd;
    border-top: 3px solid #4CAF50;
}

.info {
    margin-bottom: 15px;
    padding: 4px 12px;
    background-color: #e7f3fe;
    border-top: 3px solid #2196F3;
}


.important {
    margin-bottom: 15px;
    padding: 4px 12px;
    background-color: #ffffcc;
    border-top: 3px solid #ffeb3b;
}

/* ==========================================================================
   Social Media 
   ========================================================================== */

#so a:link {
  padding: 12px;
  font-size: 16px;
  width: 50%;
  text-align: center;
  text-decoration: none;
  margin: 2px 2px 2px 2px;
  display: inline;
  color: white;
}

@media screen and (max-width: 790px) {
  #so a:link {
    width: 100%;
    display: inline-block;
  }
}

#so a:visited {
  color: white;
}

.so:hover {
    opacity: 0.7;
}

.so-abebooks {
  background: #dd4b39;
  color: white;
}

.so-meduse {
  background: #6590bd;
  color: white;
}

.so-rss {
  background: #ff6600;
  color: white;
}

/* ==========================================================================
   Meet the team
   ========================================================================== */

#member-card {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  max-width: 410px;
  margin: auto;
  text-align: center;
  font-size: 16px;
  padding: 8px;
}

#member-card title {
  color: #6590bd;
  font-size: 28px;
}

#member-card button {
  border: none;
  outline: 0;
  display: inline-block;
  padding: 8px;
  color: white;
  background-color: #6590bd;
  text-align: center;
  width: 100%;
  font-size: 18px;
}

#member-card a {
  text-decoration: none;
  font-size: 18px;
  color: black;
}

#member-card button:hover, a:hover {
  opacity: 0.7;
}

#member-card img {
  border-radius: 50%;
}