@font-face {
  font-family: arial;
  src: url(fonts/arial.ttf);
}
@font-face {
  font-family: CM-B;
  src: url(fonts/CardenioModern-Bold.otf);
}
@font-face {
  font-family: CM;
  src: url(fonts/CardenioModern-Regular.otf);
}
@font-face {
  font-family: Parisienne;
  src: url(fonts/Parisienne-Regular.ttf);
}
body {background-color: #123; color: white; margin: 0; padding: 0; overflow: hidden;}
#canvas , #canvas:focus {
  outline: none;
  background-color: #000;
}


.hide{display: none;}
.overlay {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgb(100,100,100);
  background-color: rgba(100,100,100, 0.4);
  font-family: Soria-Bold;
}
.overlay-content {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}
.overlay .overlay-tab {
  margin: auto;
  padding: 8px;
  font-size: 22px;
  color: #fff;
  width: 800px;
  max-width: 90%;
}
.overlay input[type='text']{width: 96%; font-size: 22px; font-family: Soria-Bold;}
.overlay input[type='button']{
  background-color: #333;
  border: 1px #eee solid;
  color: white;
  padding: 8px 32px;
  text-align: center;
  text-decoration: none;
  font-size: 30px;
  cursor: pointer;
  width: 250px;
  font-family: Soria-Bold;
}
.overlay-content .close{
  padding: 0!important;
  margin: 0!important;
  height: 50px!important;
  width: 150px!important;
  cursor: pointer;
}

.paper{
  margin: auto;
  width: 495px;
  height: 490px;
  background-image: url(tools/paper_full_size.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.paper_textarea{
  width: 430px;
  height: 484px;
  background: transparent;
  resize: none;
  border: 0 none;
  font-size: 60px;
  color: #666;
  font-family: arial;
}

.bay_leaf{
  margin: auto;
  width: 515px;
  height: 150px;
  background-image: url(ui/popup_message.png);
  background-size: contain;
  background-repeat: no-repeat;
}
.bay_leaf_textarea{
  margin-top: 30px;
  width: 450px;
  height: 90px;
  background: transparent;
  resize: none;
  border: 0 none;
  font-size: 30px;
  color: #bbb;
  font-family: arial;
}
