* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.mySlides {display: none;}
img {vertical-align: middle;}



.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 600;
  top: 0;
  right: 0;
  background-color: rgba(0,0,0, 0.9);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlayboard {
	display: none; /* ªì©lÁôÂÃ */
  height: 90%;
  width: 0;
  position: fixed;
  z-index: 500;
  top: 5%;
  right: 0;
  background-color: rgba(255,255,255,0);
  overflow-x: hidden;
  transition: 0.5s;
}


.overlaywhiteboard {
  height: 80%;
  width: 0;
  position: fixed;
  z-index: 510;
  top: 5%;
  right: 0;
  background-color: rgba(255,255,255,0);
  overflow-x: hidden;
  transition: 0.5s;
}


.overlay-content {
  position: fixed;
  top: 2%;
  color: #8CEA00;
  width: 100%;
  text-align: center;
  margin-top: 0px;
}

.overlay-boardcontent {
  position: fixed;
  z-index: 480;
  color: #FFFFFE;
  width: 100%;
  height: 90%;
}

.wboard {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.overlay-ncontent {
  position: relative;
  top: 3%;
  color: #8CEA00;
  width: 100%;
  text-align: center;
  margin-top: 5px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 20px;
  color: #F9F900;
  display: block;
  transition: 0.3s;
}

.overlay .linka {
  padding: 8px;
  text-decoration: none;
  font-size: 15px;
  color: #0080FF;
  display: block;
  transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
  color: #f1f1f1;
}

.overlay .closebtn {
  position: absolute;
  z-index: 600;  
  bottom: 45px;
  right: 10px;
  font-size: 40px;
  color: #FF0000;
}

.overlayboard .closebtn {
  position: absolute;
  z-index: 500;
  bottom: 45px;
  right: 10px;
  font-size: 40px;
  color: #FF0000;
}

.overlaywhiteboard .closebtn {
  position: absolute;
  z-index: 600;
  bottom: 45px;
  right: 10px;
  font-size: 40px;
  color: #FF0000;
}




@media screen and (max-height: 450px) {
  .overlay a {font-size: 20px}
  .overlay .closebtn {
  font-size: 40px;
  top: 15px;
  right: 35px;
  }
}