*{
  -webkit-box-sizing:border-box;
  -moz-box-sizing:border-box;
  -o-box-sizing:border-box;
  box-sizing:border-box;
}

@font-face {
    font-family: 'Worksans';
    src:    url('font/WorkSans-Bold.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Worksans';
    src:    url('font/WorkSans-Regular.otf');
    font-weight: normal;
    font-style: normal;
}


@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

.modalDialog {
    position: fixed;
  font-family: "Gentium Plus", serif;
  font-size: 1.1em;
    line-height: 1.2em;
     color:#000000 ;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(252,243,104,0.8);
    z-index: 6000001;
    opacity:0;
    -webkit-transition: opacity 100ms ease-in;
    -moz-transition: opacity 100ms ease-in;
    transition: opacity 100ms ease-in;
    pointer-events: none;
}

.modalDialog:target {
    opacity:1;
    pointer-events: auto;
}


.modalDialog > div {
    width: 72vw;
    height: 90vh;
    overflow: scroll;
    position: relative;
    margin: 5vh auto;
    padding: 5em 70px 20px 60px;
    background-color: #f1f1f1;

}


.modalDialog > div::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.modalDialog > div::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
.modalDialog > div::-webkit-scrollbar-thumb {
  background: yellow; 
}

/* Handle on hover */
.modalDialog > div::-webkit-scrollbar-thumb:hover {
  background: yellow; 
}

.modalDialog strong{
  display: block;
  margin-bottom: 1em;
  font-size: 1.5em;
  line-height: 1em;
  text-align: center;
}

.modalDialog em{
  display: block;
  margin-bottom: 2em;
  margin-top: 3em;
  font-size: 1.1em;
  line-height: 1em;
  text-align: center;
}


#autoformation{
  margin-top: 1em;
  text-decoration: underline;
}


.close {
background: yellow;
color: black;
line-height: 50px;
text-align: center;
position: absolute;
font-size: 0.8em;
left: 0px;
top: 0px;
width: 100%;
text-decoration: none;
text-transform: uppercase;
font-family: "Share Tech Mono", monospace;
}


.close:hover {
  background: lightgrey;
  color: black;
 }






.modalDialog ul{
  margin-left: 2em;
}

.modalDialog ul li{
list-style-type: "☞ ";
  margin-top: 0.5em;
}

.modalDialog ul li ul li{
  list-style: none;
}


sup{
  font-size: 0.6em;
  text-transform: lowercase;
  position: relative;
  top: -0.7em;
}
