@font-face {
  font-family: 'CgFuturaMaxiDe';
  src: url('fonts/CgFutMaxDe-NR.eot'); /* IE9 Compat Modes */
  src: url('fonts/CgFutMaxDe-NR.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/CgFutMaxDe-NR.woff') format('woff'), /* Modern Browsers */
       url('fonts/CgFutMaxDe-NR.woff2') format('woff2'), /* Modern Browsers */
       url('fonts/CgFutMaxDe-NR.ttf') format('truetype'); /* Safari, Android, iOS */
           font-style: normal;
  font-weight: normal;
  /* text-rendering: optimizeSpeed; */
}

* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #f0f0e9;
  --color-orange: #ff6a00;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-ligh);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: CgFuturaMaxiDe,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-light);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
  letter-spacing: 1.5px;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}
button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 2rem;
}

.logo {
  padding: 1rem;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  color: var(--color-orange);
  text-transform: uppercase;
}

.menu {
  display:block;
  line-height: 1.6em;
}
.menu a {
  padding: 1rem;
  /* display: block; */
  text-transform: uppercase;
}


.menu a:hover {
  color: var(--color-orange);
}

.menu a:hover[aria-current] {
  color: var(--color-orange);
}

.menu a[aria-current] {
  color: var(--color-orange);
}

.social {
  display: flex;
  padding: 0 .5rem;
}
.social a {
  padding: 1rem .5rem;
}

.section {
  padding: 3rem 0;
}

.grid {
  --columns: 12;
  --gutter: 2rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
  margin-top: 2em;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.grid a {
  color: var(--color-orange);
}

.grid a:hover {
  color: var(--color-black);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-transform: uppercase;
}

h1 {
  color: var(--color-orange);
}

h2 {
  color: var(--color-black);
  text-transform: none;
}

h2 a {
  color: var(--color-orange);
}
h2 a:hover {
  color: var(--color-grey);
}

.dt-highlight {
color: var(--color-code-orange);
}

.text {
  line-height: 1.5em;
  font-size: 1.1em;
  max-width: 50rem;
}

.authors {
  line-height: 1.5em;
  font-size: 0.8em;
  max-width: 50rem;
  text-transform: uppercase;
  margin-bottom: 2em;
}

.authors a {
 color: var(--color-orange);
}

.authors a:hover {
  color: var(--color-black);
 }

.infos {
  line-height: 1.5em;
  font-size: 0.8em;
  max-width: 50rem;
  color: var(--color-orange);
  margin-top: 2em;
}

.text a {
  border-bottom: 1px;
  color: var(--color-orange);
}

.text a:hover {
  color: var(--color-black);
}

.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 0rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: none;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  font-style: italic;
  color: var(--color-grey);
  /* border-left: 2px solid var(--color-black); */
  margin: 3rem 0;
  max-width: 35rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: normal;
  /* padding-left: 1rem; */
}
.text figure {
  margin: 3rem 0;
  margin-top: 0px;
  margin-bottom: 0px;
}

.text figcaption {
  font-size: 0.75em;
  padding-top: .75rem;
  color: var(--color-text-grey);
  margin-top: -1em;
}


/* Home */

.color-grey p {
  margin-top: 20px;
}

.color-grey figure {
  margin-top: 20px;
}

.color-grey figcaption {
  text-align: right;
  margin-top: -10px;
  font-size: 0.5em
}



hr {
  border: 0;
  background: currentColor;
  height: 2px;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-black);
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 4px solid var(--color-white);
  outline: 2px solid var(--color-light);
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  margin-top: -1em;
  padding-top: .75rem;
  line-height: 1.5em;
}

.img-caption,
.video-caption a {
  margin-top: -0.2em;
}


.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: var(--color-text-grey);
    text-transform: uppercase 
}

.footer p {
  max-width: 15rem;
}

.footer a {
  color: var(--color-orange);
}

.footer a:hover {
  color: var(--color-black);
}

.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 0rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}

.note-excerpt a {
  color: var(--color-orange);
}

.note-excerpt a:hover {
  color: var(--color-black);
}

.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

/* Mobile menu */

@media only screen and (max-width: 400px) {

  .menu a {
    display: block;
    line-height: 0px;
  }

}

  

/* BOOKS - PAYPAL FORM */

.caption-field.price.white {
  font-size: 1.2em;
  margin-top: 1em
}


.buy-frame:hover button,
.buy-frame.open button,
.buy-frame:hover input[type=submit],
.buy-frame.open input[type=submit] {
	visibility: visible;
}
.buy-frame .buy-title {
	font-size:14px;
	color: #fc4513;
	position:relative;
}
.buy-frame .buy-title::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 5px;
	width: 0;
	height: 0;
	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 10px solid #fc4513;
	border-bottom:none;
}
.buy-frame.open .buy-title::after,
.buy-frame:hover .buy-title::after {
	border-bottom: 10px solid #fc4513;
	border-top:none;
}
.buy-frame {
    width: 120px;
  }

.buy-title,
.buy-frame button,
.buy-frame input {
	background-color: #ffe919;
	box-sizing: border-box;
	padding:4px 4px 2px 4px;
    width: 120px;
    margin-top: 20px
}
.buy-frame button,
.buy-frame input {
	visibility: hidden;
	display:block;
	cursor:pointer;
	border:none;
	margin-top:1px;
	width:100%;
	text-align: left;
    width: 120px;
    font: inherit;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0 !important;
  color: black;
}
.buy-frame input:hover,
.buy-frame input:hover {
	color: #fc4513;
}


@media screen and (max-width:480px) { 
  .buy-frame:hover button,
.buy-frame.open button,
.buy-frame:hover input[type=submit],
.buy-frame.open input[type=submit] {
	visibility: visible;
}
.buy-frame .buy-title {
	font-size:14px;
	color: #fc4513;
	position:relative;
}
.buy-frame .buy-title::after {
	content: '';
	position: absolute;
	right: 4px;
	top: 5px;

	border-left: 7px solid transparent;
	border-right: 7px solid transparent;
	border-top: 10px solid #fc4513;
	border-bottom:none;
}
.buy-frame.open .buy-title::after,
.buy-frame:hover .buy-title::after {
	border-bottom: 10px solid #fc4513;
	border-top:none;
}
.buy-frame {
    width: 120px;
  }

.buy-title,
.buy-frame button,
.buy-frame input {
	background-color: #ffe919;
	padding:4px 4px 2px 4px;
    width: 120px;
    margin-top: 20px
}
.buy-frame button,
.buy-frame input {
	visibility: hidden;
	display:block;
	cursor:pointer;
	border:none;
	margin-top:1px;
	width:100%;
	text-align: left;
    width: 120px;
    font: inherit;
}
.buy-frame input:hover,
.buy-frame input:hover {
	color: #fc4513;
}
}

