/* reset */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strong, sub, sup, var,
b, u, i, 
dl, dt, dd, ul, ol, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, 
section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
  display: block;
  margin: 0;
}
blockquote, q { quotes: none }
blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}
/* end reset */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6 .h6 {
  margin-top: 1.8ex;
  margin-bottom: 0.8ex;
  line-height: 130%;
  font-family: Vollkorn, serif;
  color: hsl(0, 0%, 30%);
  text-shadow: 1px 1px 1px lightgrey;
}
h1, .h1 { font-size: 24pt }
h2, .h2 { font-size: 21pt }
h3, .h3 { font-size: 18pt }
h4, .h4 { font-size: 16pt }
h5, .h5 { font-size: 14pt }
h6, .h6 { font-size: 12pt }

.header-pages, .header-index {
  padding-top: 5px;
  background-color: hsl(60, 100%, 98%);
  background-position: center 0px;
  background-repeat: no-repeat;
}
.header-index {
  min-height: 268px;
  background-image: url("../images/banner.jpg");
}
.header-pages {
  min-height: 134px;
  background-image: url("../images/banner2.jpg");
}
header .titleline {
  padding-top: 1%;
  padding-left: 20%;
}
header h1, header h2, header h3, header h4, header h5, header h6 {
  text-shadow: 3px 3px 5px lightgrey;
  color: hsl(60, 100%, 98%);
}
.header-index .titleline {
  padding-top: 110px;
  padding-right: 25px;
  padding-bottom: 0;
  padding-left: 0;
  text-align: right;
}
.header-index .titleline h1 {
  font-size: 42pt;
  text-shadow: 0px 0px white;
  margin-top: 0px;
}
.header-pages .titleline {
  padding-top: 0px;
  padding-right: 25px;
  text-align: right;
}
.header-pages .titleline h1 {
  font-size: 36pt;
  text-shadow: 0px 0px white;
  margin-top: 0px;
}

footer {
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  flex-flow: row wrap; 
  justify-content: flex-start;
  align-items: baseline;
  padding: 2ex 1em;
  background-color: hsl(0, 0%, 70%);
}
footer > div { 
  width: 18em; 
  height: 3ex;
 }
footer p, footer a {
  font-family: Vollkorn, serif;
  font-size: 12pt;
  color: hsl(0, 0%, 100%);
}
footer a { 
  color: hsl(0, 0%, 100%); 
}
footer a:hover { 
  color: hsl(0, 0%, 30%) 
}
html, body, main, header, footer { width: 100% }
body {
  max-width: 940px;
  margin: auto;
  background-color: hsl(60, 100%, 98%);
  line-height: 130%;
}
div, p, a, input, label, header, aside, menu, body {
  font-family: Vollkorn, serif;
  color: hsl(0, 0%, 13%);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6 .h6 {
  margin-top: 1.8ex;
  margin-bottom: 0.8ex;
  line-height: 130%;
  font-family: Vollkorn, serif;
  color: hsl(0, 0%, 30%);
  text-shadow: 1px 1px 1px lightgrey;
}
h1, .h1 { font-size: 24pt }
h2, .h2 { font-size: 21pt }
h3, .h3 { font-size: 18pt }
h4, .h4 { font-size: 16pt }
h5, .h5 { font-size: 14pt }
h6, .h6 { font-size: 12pt }
p, a, .p { font-size: 14pt }
ul, ol {
  list-style: none;
  margin: 0 0 20px 20px;
  font-size: 14pt;
  line-height: 130%;
}
ul.dots { list-style: initial }
ul li, ol li { margin-top: 10px }
ol {
  list-style-type: decimal;
  white-space: nowrap;
}
dl {
  padding: 0.5em;
}
dt {
  float: left;
  width: 1em;
  text-align: right;
  font-weight: bold;
  color: hsl(352, 100%, 46%);
}
dd {
  margin-left: 2em;
  padding-bottom: 0.5em;
}
.formation dt { width:6em;}
.formation dd { margin-left:7em;}
.exhibition dt { width:3em;}
.exhibition dd { margin-left:4em;}
a {
  text-decoration: none;
  color: hsl(92, 100%, 26%);
}
a:hover { color: hsl(0, 0%, 70%) }
/* Buttons */
button {
  border: none;
  border-radius: 3px;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
  cursor: pointer;
  position: relative;
  padding: 0.6ex 0.6em;
  margin: 5px;
  font-family: Vollkorn, serif;
  font-size: 14pt;
  color: hsl(60, 100%, 98%);
}
.button { background-color: hsl(352, 100%, 46%) }
.button:hover { background-color: hsl(15, 100%, 68%) }

/* Images */
.image-top { width: 100%; padding: 5px 0 6px 0 }
.image-top-left  { width: 100%; padding: 0 20px 10px 0 }
.image-top-right { width: 100%; padding: 0 0 10px 20px }

/* Gallery */
div.gallery {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  margin: 5px;
  width: 190px;
  height: auto;
}
div.gallery img {
  width: 190px;
  height: 100%;
}
div.gallery.scalew img:active {
  transform: scale(1);
  position: fixed;
  width: 940px;
  max-width: 100vw;
  height: auto;
  margin: 0;
  top: 0;
  --leftm: calc( 50vw - 478px );
  left: var(--leftm);
}
div.gallery.scaleh img:active {
  transform: scale(1);
  position: fixed;
  width: auto;
  height: 100vh;
  margin: 0;
  top: 0;
  left: calc(50vw - 478px);
}
div.gallery.scale img:hover {
  transform: scale(1.0);
  cursor: pointer;
}
div.gallery div.desc {
  padding: 1ex 0.4em;
  text-align: center;
  font-style: italic;
}
/* Columns */
.col {
   column-gap: 2em;
   -moz-column-gap: 2em;
   -webkit-column-gap: 2em;
   column-rule: 1px dotted hsl(0, 0%, 96%); 
   -moz-column-rule: 1px dotted hsl(0, 0%, 96%); 
   -webkit-column-rule: 1px dotted hsl(0, 0%, 96%); 
}
.col-3 {
   column-count: 3;
   -moz-column-count: 3;
   -webkit-column-count: 3;
}
.col-2 {   
   column-count: 2;
   -moz-column-count: 2;
   -webkit-column-count: 2;
}
.col-1 {   
   column-count: 1;
   -moz-column-count: 1;
   -webkit-column-count: 1;
}
.col p {
   margin: 0;
   padding: 0;
   font-size: 14pt; 
   line-height: 130%;
   text-align: justify; 
   -webkit-hyphens: auto;
   -moz-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
   orphans: 3; 
   widows: 3;
}
.container {
  display:-webkit-flex;
  display:-ms-flexbox;
  display:flex;
  flex-flow: row wrap; 
  justify-content: flex-start;
  align-items: flex-start;
}
nav, aside {
  flex: 1 4 13%;
}
article {
  flex: 4 1 78%;
}
article.doubleaside {
  flex: 4 1 50%;
}
article.card {
  flex: 2 1 25%;
}
section {
  width: 100%;
}
article {
  padding: 10px 0 10px 0;
  background-color: hsl(60, 100%, 98%);
  color: hsl(0, 0%, 13%);
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  min-height: 50vh;
}
article .headline {
  margin-top: 1.8ex;
  margin-bottom: 0.8ex;
  line-height: 130%;
  font-family: Vollkorn, serif;
  color: hsl(0, 0%, 30%);
  font-size: 24pt;
}
article p {
  font-size: 14pt;
  line-height: 130%;
  text-align: justify;
  padding-top: 0.8ex;
}
article p.text-marked {
  color: hsl(352, 100%, 46%);
}
article .col {
  column-count: 2;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-rule: 1px dotted hsl(0, 0%, 96%); 
  -moz-column-rule: 1px dotted hsl(0, 0%, 96%); 
  -webkit-column-rule: 1px dotted hsl(0, 0%, 96%); 
}
article .no-col {
  column-count: 1;
  -moz-column-count: 1;
  -webkit-column-count: 1;
}
article { 
}
article.card {
  margin: 6ex 0 3ex 1em; 
  padding: 1ex 1em; 
  background-color: hsl(0, 0%, 96%);
  border-radius: 10px;
}
article.card p {
  font-size: 12pt;
  margin: 0 0 1ex 0;
}
article.card p a {
  font-size: 12pt; 
}
@media print {
  @page {
    size: auto;
    margin: 5%;
  }
  body {
    transform: scale(0.95);  
    margin: 0;
  }
  header {
    height: 60px;
    background-image: none;
    color: hsl(0, 0%, 30%);
    border: 1px blue;
  } 
  footer {
    display: none;
  }
}
@media screen and (max-width: 940px) { 
  article { padding: 0 15px 10px 0}
  article.doubleaside > .col {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  article.doubleaside { padding: 0 5px 10px 0}
  div.gallery.scalew img:active {
    --leftm: 0;
  }
}
@media screen and (max-width: 640px) { 
  article > .col {
    column-count: 1;
    -moz-column-count: 1;
    -webkit-column-count: 1;
  }
  article { padding: 0 5px 10px 0}
  article.doubleaside {
    flex: 4 1 74%;
  }
  article.card {
    flex: 1 1 0%;
    margin: 0 0 1ex 0;
  }
}
@media screen and (max-width: 520px) { 
  .header-index {
    min-height: 134px;
    background-image: url("../images/banner2.jpg");
  }
  .header-index .titleline {
    padding: 0 5px 0 0;
    text-align: right;
  }
  .header-index .titleline h1 {
    font-size: 36pt;
  }
  nav, aside {
    flex: 1 1 0%;
  }
  article {
    flex: 4 1 100%;
    padding: 0 2px 5px 0;
  }
  article.doubleaside {
    flex: 4 1 100%;
  }
  article.card {
    flex: 1 1 0%;
    margin: 0 0 1ex 0;
  }
}
/* nav */
nav {
  position: relative;
}
nav ul, nav li, nav ul li {
  margin: 0;
  padding: 0;
}
nav a {
  display: block;
  font-size: 13pt;
  font-family: Vollkorn, serif;
  font-weight: 400;
  color: hsl(0, 0%, 30%);
  padding: 9px 0px 2px 12px;
  margin-right: 12px;
  text-shadow: 1px 1px 5px lightgrey;
}
nav a:hover {
  background-color: hsl(0, 0%, 70%);
  color: hsl(0, 0%, 100%);
}
@media screen and (min-width: 520px) {
  nav > ul > li {
    position: relative;
    width: auto;
  }
}
.mainmenu { display: none }
@media screen and (max-width: 520px) {
  nav {
    position: absolute;
    top: 30px;
    width: 115px;
    z-index: 7;
    transition: all 0.1s ease-out;
    transform: scaleY(0);
    transform-origin: 50% 0;
    -ms-transition: all 0.1s ease-out;
    -ms-transform: scaleY(0);
    -ms-transform-origin: 50% 0;
    -webkit-transition: all 0.1s ease-out;
    -webkit-transform: scaleY(0);
    -webkit-transform-origin: 50% 0;
  }
  nav ul, nav li, nav a { 
    display: block 
  }
  nav a { 
    background-color: hsl(0, 0%, 100%);
  }
  nav > ul { 
    position: relative;
    top: 10px
  }
  .mainmenu {
    display: block;
    position: absolute;
    z-index: 6;
    top: 0px;
    width: 50px;
    height: 40px;
    padding: 10px;
    cursor: pointer;
  }
  .mainmenu a .openbutton:before {
    display: block;
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 4px;
    background-color: hsl(0, 0%, 100%);
    content: '';
  }
  .mainmenu a .openbutton:after {
    display: block;
    position: absolute;
    top: 18px;
    right: 12px;
    width: 30px;
    height: 4px;
    border-top: 4px solid hsl(0, 0%, 100%);
    border-bottom: 4px solid hsl(0, 0%, 100%);
    content: '';
  }
  .mainmenu:hover a .openbutton:after {
    border-color: hsl(0, 0%, 100%);
  }
  .mainmenu:hover a .openbutton:before {
    background-color: hsl(0, 0%, 100%);
  }
  .mainmenu:hover ~ nav,
  .mainmenu ~ nav:hover {
    transform: scaleY(1);
    -ms-transform: scaleY(1);
    -webkit-transform: scaleY(1);
  }
}
/* utility */
* { box-sizing: border-box }
.right { float: right }
.left { float: left }
.flex { display: flex }
.flexwrap { display: flex; flex-wrap: wrap; }
.clear { clear: both }
.no-pad { padding: 0 }
.pad-left { padding-left: 20px }
.space-bottom { margin-bottom: 6pt; }
.no-margin { margin: 0 }
.no-margin-left { margin-left: 0 }
.no-margin-right { margin-right: 0 }
.no-margin-top { margin-top: 0 }
.no-margin-bottom { margin-bottom: 0 }
.no-margin-vertical {
  margin-top: 0;
  margin-bottom: 0;
}
.center { 
  -webkit-justify-content:center;
  -ms-flex-pack:center;
  justify-content: center;
  width: 100%;
}
.text-center { text-align:center }
.text-bold, b { 
  font-weight: 600;
  line-height: 18pt;
  font-size: 17pt;
}
.text-italic { font-style: italic }
.border-box { box-sizing: border-box }
.row:after {
  content: "";
  clear: both;
  display: block;
}
.no-hyphen { hyphens: none }
.subtitle {
  font-style: italic;
}
/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltiptext {
    visibility: hidden;
    
    top: 61px;
    left: 0px;
    background-color: hsl(0, 0%, 70%);
    color: hsl(60, 100%, 98%);
    text-align: center;
    font-size: 11pt;
    padding: 5px;
    border-radius: 3px;
    position: absolute;
    z-index: 1;
}
.tooltip:hover .tooltiptext {
    visibility: visible;
}