*,
*::before,
*::after {
  box-sizing: border-box;
}

* { 
  color: black;
  background-color: none;
  text-align: left;
  vertical-align: top;
/**  display: block; **/
  margin: 0px;
  padding: 0px;
  font-family: Arial, serif;
  font-size: inherit;
  box-sizing: border-box;
/**  overflow: auto; **/
}

html {
  min-height:100%;
  position: relative;
}

body {
 height: 100%;
 background-color: white; /** in case bg only bg color is supported **/
 background-image: linear-gradient(lightgrey, white 20%); /** in case bg image is not supported) **/
 /** background-image: url("/resources/img/achtergrond.jpg"); **/
 background-position: center top;
 background-attachment: fixed;
 background-repeat: no-repeat;
 color: black;
}
p {
}
small {
 font-size: 12pt;
}
a {
 color: #daa520; /** Goldenrod **/
 cursor: pointer;
}
a img {
    vertical-align: middle;
}

h1, h2, h3 {
 color: #daa520; /** Goldenrod **/
}

h1 {
 text-align: left;
 font-weight: bold;
 font-size: 25pt;
}
h1 img {
 height: 80px;
 max-height: 80px;
}

h2 {
 font-weight: bold;
 font-size: 25pt;
}

#content {
 padding: 20px;
}
#subtitle {
 font-family: cursive;
 font-size: 15pt;
 text-align: center;
 color: #daa520; /** Goldenrod **/
}

section {
 margin: 30px 10px;
 border-bottom: 3px solid #daa520; /** Goldenrod **/
 padding: 10px;
 background-color: rgba(0, 0, 0, 0.1);
}
section h2 {
 display: inline-block;
 padding: 10px;
}
article {
 clear: both;
 display: block;
 margin-bottom: 10px;
 overflow: auto; 
 height: max-content;
 font-size: 15pt;
 color: #F2E6FF; /** Lavender **/
}
article h3 {
 display: block;
 margin: 10px 0px;
 font-weight: bold;
 font-size: 20pt;
}
aside {
 float: right;
   height: max-content;
/**  position: absolute;
  right: 50px; **/
}
aside img {
 display: block;
 padding: 5px;
 max-width: 250px;
 max-width: 100px;
}
p {
 display: block;
}

ul {
 list-style-image: url("/resources/icons/list.gif");
 padding: 5px;
 margin-left: 35px;
}
li {
}

input {
 cursor: pointer;
 padding: 5px;
 border: 1xp solid grey;
 border-radius: 5px;
 background-color: transparent;
 color: black;
 font-weight: bold;
}
input[type=button], input[type=submit] {
 background-color: #090033;
}

select {
  // A reset of styles, including removing the default dropdown arrow
  appearance: none;
  background-color: transparent;
 padding: 5px;
 border: 1xp solid grey;
 border-radius: 5px;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: inherit;
  line-height: inherit;

  // Stack above custom arrow
  z-index: 1;

  // Remove dropdown arrow in IE10 & IE11
  // @link https://www.filamentgroup.com/lab/select-css.html
  &::-ms-expand {
    display: none;
  }

  // Remove focus outline, will add on alternate element
  outline: none;
}
option {
    white-space: normal;

    // Only affects Chrome
    outline-color: var(--select-focus);
  background-color: black;
  color: white;
  }
.select {
  display: grid;
  grid-template-areas: "select";
  align-items: center;
  position: relative;

  select,
  &::after {
    grid-area: select;
  }

  min-width: 15ch;
  max-width: 30ch;

  border: 1px solid var(--select-border);
  border-radius: 0.25em;
  padding: 0.25em 0.5em;

  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1.1;

  // Optional styles
  // remove for transparency
  background-color: #fff;
  background-image: linear-gradient(to top, #f9f9f9, #fff 33%);

  // Custom arrow
  &:not(.select--multiple)::after {
    content: "";
    justify-self: end;
    width: 0.8em;
    height: 0.5em;
    background-color: var(--select-arrow);
    clip-path: polygon(100% 0%, 0 0%, 50% 100%);
  }
}

// Interim solution until :focus-within has better support
select:focus + .focus {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}
/**
select[multiple] {
  padding-right: 0;

  /*
   * Safari will not reveal an option
   * unless the select height has room to 
   * show all of it
   * Firefox and Chrome allow showing 
   * a partial option
   */
  height: 6rem;

  option {
    white-space: normal;

    // Only affects Chrome
    outline-color: var(--select-focus);
  background-color: black;
  color: green;
  }

  /* 
   * Experimental - styling of selected options
   * in the multiselect
   * Not supported crossbrowser
   */
  //   &:not(:disabled) option {
  //     border-radius: 12px;
  //     transition: 120ms all ease-in;

  //     &:checked {
  //       background: linear-gradient(hsl(242, 61%, 76%), hsl(242, 61%, 71%));
  //       padding-left: 0.5em;
  //       color: black !important;
  //     }
  //   }
}
**/

.select--disabled {
  cursor: not-allowed;
  background-color: #eee;
  background-image: linear-gradient(to top, #ddd, #eee 33%);
}

label {
  font-size: 1.125rem;
  font-weight: 500;
}

.select + label {
  margin-top: 2rem;
}

table {
 border-collapse: collapse;
}
th, td {
 border: 1px solid black;
 padding: 5px;
}

#footer {
}
#footer article {
 display: inline-block;
 width: auto;
 padding: 10px;
}

.clear {
 clear: both;
 display: block;
}
.error {
 width: 80%;
 border: 2px dotted red;
 margin: 10px auto;
 padding: 10px;
 color: red;
 font-weight: bold;
}

.success {
 width: 80%;
 border: 2px dotted green;
 margin: 10px auto;
 padding: 10px;
 color: green;
 font-weight: bold;
}

#languages {
 position: absolute;
 top: 10px;
 right: 10px;
}

