/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

dfn,
cite,
em,
i {
  font-style: italic;
}


/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: none;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:visited {
  color: #800080;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}



/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/* ————————————————————————————————————————————————————————————————————
  v2.0 | Studio Guillaume Ruiz
*/

:root {
  --primary-regular-size: 1rem;
  --primary-italic-size: 1.1rem;
  --primary-lineheight: 1.2rem;
  --primary-padding: 1.2rem; 
  --secondary-padding: 2.4rem; 
  --secondary-regular-size: 0.7rem;
  --secondary-lineheight: 1rem;
  --primary-padding: 1rem;    
}

::selection {
  color: white;
  background-color: black;
}

::-moz-selection {
  color: black;
  background-color: black;
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x:
  hidden;
  font-size: 100%;
  -webkit-font-smoothing : subpixel-antialiased;
  -moz-osx-font-smoothing : auto;
}

h1, h2, h3, h4, h5, h6, p, li, a, span, .symbol {
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: var(--primary-regular-size);
  line-height: var(--primary-lineheight);
  overflow-wrap: break-word;
  list-style: none;
  text-transform: lowercase;
}

.italic {
  font-size: var(--primary-italic-size);
  font-family: TimesNewRoman,Times New Roman,Times,Baskerville,Georgia,serif;
  font-style: italic;
  font-weight: normal;
}

footer *, span {
  font-size: var(--secondary-regular-size);
  line-height: var(--secondary-lineheight);
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: gray;
}

section h1:hover {
  color: gray;
}

.symbol {
  float: right;
}

section .symbol:after {
    content: "+";
}

section.open .symbol:after {
    content: "-";
}


/* ———————————————————————————————————————————————————————————————————— */

#page {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  height: 100%;
}

#page .left {
  padding-left: 1rem;
}

#page .right {
  padding: 1rem;
  padding-top: 0;
  border-left: 4px solid black;
}

/* ———————————————————————————————————————————————————————————————————— */
section {
  position: relative;
  outline: 0;
}

.bottom article {
  padding-left: 4rem;
}

section h1 {
    padding-top: .2rem;
    padding-bottom: var(--primary-padding);
    cursor: pointer;
}

article h2 {
    padding-top: .2rem;
    padding-bottom: var(--primary-padding);
    border-top: 1px solid black;
}

.section-accordion {
  display: none;
  padding-left: 0;
}

.article-accordion {
  position: relative;
  padding-bottom: var(--secondary-padding);
}

/*.top {
  padding-bottom: var(--secondary-padding);
}*/

.rows{
  padding-bottom: var(--primary-padding);
  border-top: 1px solid black;
}

/* ———————————————————————————————————————————————————————————————————— */

.twocol {
    display: grid;
    height: 100%;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
}

/* ———————————————————————————————————————————————————————————————————— */

footer {
  display: none;
  margin-top: auto;
  padding: 1rem 0rem;
}

/* ———————————————————————————————————————————————————————————————————— */

.icon {
  display: block;
  margin:1em;
  width: 18.481px;
  height: 17.446px;
  background: url(icon.svg);
  background-size: 18.481px 17.446px;
  transform: scale(1.8);
  position: relative;
  z-index: 999;
  position: fixed;
  top:.5em;
  left: .5em;
}

/* ———————————————————————————————————————————————————————————————————— */

.contact {
  position: fixed;
  bottom: 1rem;
}

/* ———————————————————————————————————————————————————————————————————— */

figure {
    position: relative;
    display: block;
    margin-right: 0em;
 }

 /* ———————————————————————————————————————————————————————————————————— */

@media screen and (min-width: 1300px) {

        figure {
          position: fixed;
          display: none;
          bottom: .7rem;
          left: 1rem;
          width: auto;
          max-width: calc(50vw - 2rem);
          height: calc(50vh - 2rem);
          margin-right: 0em;
        }

        article:hover figure {
          display: block;
        }

        /* ———————————————————————————————————————————————————————————————————— */

        figcaption{
          display: inline-block;
          vertical-align: top;
        }

        figure img {
          display: inline-block;
          vertical-align: top;
          width: 100%;
          height: calc(50vh - 2rem);
          object-fit: contain;
        }

        figure span {
          display: none;
          position: absolute;
          top: -1.4rem;
          height: auto;
          margin-top: 0;
         z-index: 9999999;
          width: 100%;
          padding: 0.2rem 0;
          padding-left: 0.2rem;
          background: #fff;
        }

        article:hover figure span {
          border-top: 1px solid black;
          display: block
        }
}


@media screen and (max-width: 1300px) and (min-width: 1001px) {

  #page {
    grid-template-columns: 33.333vw 1fr;
  }

  figure {
    padding-bottom: 2rem;
  }

  figure img {
    width: 100%;
  }

  section {
    padding-left: 0;
  }

}

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

:root {
  --primary-regular-size: 2rem;
  --primary-italic-size: 2.2rem;
  --primary-lineheight: 2.4rem;
  --primary-padding: 2.4rem; 
  --secondary-padding: 4.8rem; 
  --secondary-regular-size: 1.4rem;
  --secondary-lineheight: 2rem;
  --primary-padding: 2rem;    
}

  .symbol {
    padding-right: 1rem;
  }

  .contact {
    display: none;
  }

  #page {
    padding: 0rem;
    display: grid;
    height: auto;
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }

  #page .left, #page .right {
    padding: 0 1rem;
    border: 0px;
  }

  #page .left {
    display: none;
  }

  figure {
    padding-bottom: var(--secondary-padding);
  }

	figure img {
		width: 100%;
	}

  section {
    padding-left: 0;
  }

	.special {
	  height: auto;
	  width: 50%;
	}

	.portrait {
	    width: 50%;
	    height: auto;
	}

.twocol {
    display: initial;
    height: 100%;
    grid-template-columns: auto;
    width: 100%;
}

  .twocol>div:last-child {
/*    padding-top: 2rem;*/
  }

  article {
      border-left: 0px solid black;
      padding: 0;
  }

  .top {
      padding-bottom: var(--secondary-padding);
  }

  .top section {
	     margin-top:28rem;
	}

  .icon, .fixed {
      position: relative;
  }

  .icon {
    top:1rem;
    padding-top:1rem;
    padding-left: 1rem;
    transform: scale(3);
  }

}



