html, body {
  margin:0px;
  width:100%;
  height:100%;
  border: 0;
  overflow: hidden;
  /*  Disable scrollbars */
  display: block;
  /* No floating content on sides */
}

* {
  font-family: "Amazon Ember",sans-serif;
}

#logo-area {
  margin-top: 18px;
  text-align:center;
  position: relative;
}

#versionNum {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 51px;
  left: 270px;
  font-family: "Amazon Ember",sans-serif;
  font-size: 10px;
  color: #dcbeb3;
}

#container {
    display: flex;               /* establish flex container */
}

#left {
  flex: 0 0 360px;             /* don't grow, don't shrink, fixed width */
  background-color: #666666;
  height:100vh;
}
#right {
  flex: 1;
  height:100vh;
  background-color: #CCCCCC;
  position: relative;
}

#menu {
  background: url(menu.png) no-repeat;
  opacity: 1.0;
  background-size: 40px;
  width: 40px;
  height: 40px;
  margin-left: 0px;
  margin-right: 10px;
  margin-top: 0px;
  margin-bottom: 8px;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 2px;
  left: 12px;
}

#buttonForeground {
  background: url(icon_foreground_off.png) no-repeat;
  opacity: 1.0;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 2px;
  right: 12px;
}

#buttonBackground {
  background: url(icon_background_off.png) no-repeat;
  opacity: 1.0;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 47px;
  right: 12px;
}

#buttonErase {
  background: url(icon_erase_off.png) no-repeat;
  opacity: 1.0;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 92px;
  right: 12px;
}

#buttonPaint {
  background: url(icon_paint_off.png) no-repeat;
  opacity: 1.0;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  outline: none;
  position: absolute;
  top: 137px;
  right: 12px;
}

#zoomOut {
  background: url(zoom_out.png) no-repeat;
  opacity: 0.5;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 18px;
  left: 20px;
  outline: none;
}

#zoomIn {
  background: url(zoom_in.png) no-repeat;
  opacity: 0.5;
  background-size: 40px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 18px;
  left: 62px;
  outline: none;
}

#overlay{
    opacity:1.0;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index:1000;
}

#overlayBG{
    opacity:1.0;
    background-image: linear-gradient(to bottom right, rgba(136,178,202,1), rgba(152,179,146,1));
    //background-color: rgba(152, 179, 146, 0.8);
    //background-color:#e8c0b1;
    position:fixed;
    width:100%;
    height:100%;
    top:0px;
    left:0px;
    z-index:1001;
}

#centeredMessage {
  position: fixed; /* or absolute */
  top: 50%;
  left: 50%;
  /* bring your own prefixes */
  transform: translate(-50%, -50%);
  color: white;
  z-index:1002;
}

#link-panel {
  border-radius: 15px;
  background: #666666;
  padding: 0px;
  width: 280px;
  height: 170px;
  position: absolute;
  top: 150px;
  left: 20px;
  font-size: 13px;
  color: white;
  overflow: hidden;
}

#panel {
  border-radius: 15px;
  background: #888888;
  padding: 22px;
  width: 286px;
  height: 239px;
  position: absolute;
  top: 150px;
  left: 17px;
  font-size: 13px;
  color: white;
  overflow: hidden;
}

#brushSizeLarge {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0px;
  left: 0px;
}

#brushSizeSmall {
  width: 25px;
  height: 25px;
  position: absolute;
  top: 118px;
  left: 0px;
}

.slidecontainer {
  border-radius: 5px;
  background: #b9988e;
  position: absolute;
  width: 25px;
  height: 140px;
  top: 190px;
  right: 19px;
}

.slider {
  /*-webkit-appearance: none;*/
  width: 15px;
  height: 100px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
  position: absolute;
  writing-mode: bt-lr; /* IE */
  -webkit-appearance: slider-vertical; /* Chromium */
  top: 21px;
  right: 3px;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #3d2c31;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background-color: #3d2c31;
  cursor: pointer;
}

#sponsor-text {
  padding: 0px;
  width: 360px;
  height: 20px;
  position: absolute;
  bottom: 330px;
  left: 0px;
  font-size: 12px;
  color: #3d2c31;
  padding-left: 20px;
  overflow: hidden;
}

#ad-panel {
  padding: 0px;
  width: 360px;
  height: 350px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  font-size: 13px;
  color: white;
  overflow: hidden;
}

.ad-topaz {
  padding: 0px;
  width: 360px;
  height: 350px;
  position: absolute;
  bottom: 0px;
  left: 0px;
  font-size: 13px;
  color: white;
  overflow: hidden;
}

.ad-topaz-text {
  padding: 0px;
  height: 50px;
  position: absolute;
  top: 0px;
  left: 0px;
  margin-left: 20px;
  text-align: center;
  display: inline-block;
}

#ad-denoise, #ad-gigapixel, #ad-sharpen, #ad-mask {
  opacity: 1.0;
}

.ad-split-container {
  padding: 0px;
  width: 360px;
  height: 300px;
  position: absolute;
  top: 50px;
}

#ad-denoise-split, #ad-gigapixel-split, #ad-sharpen-split, #ad-mask-split {
  padding: 0px;
  width: 360px;
  height: 300px;
  top: 0px;
  left: 0px;
  overflow: hidden;
}

#doneButton {
  margin-top: 8px;
  float: right;
}

.hover-container {
  text-align: center;
  display: inline-block;
  margin-bottom: 5px;
  height: 30px;
}

a:link { text-decoration: none; color: #f5dadd; }


a:visited { text-decoration: none;  color: #f5dadd; }


a:hover { text-decoration: none;  color: #f5dadd; }


a:active { text-decoration: none;  color: #f5dadd; }

h4 {
  border-bottom: 3px solid #98b293;
  font-size: 14px;
  font-weight: normal;
  transition: all 0.25s linear;
  position: relative;
  text-docoration: none;
}

h4:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #61a3ff;
  position: absolute;
  left: 0;
  bottom: -3px; /* this is to match where the border is */
  transform-origin: left;
  transform: scale(0);
  transition: 0.25s linear;
/*   will-change: transform; */
}

h4:hover:before {
  transform: scale(1);
}

h5 {
  border-bottom: 3px solid #98b293;
  font-size: 14px;
  font-weight: normal;
  transition: all 0.25s linear;
  position: relative;
}

h5:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #61a3ff;
  position: absolute;
  left: 0;
  bottom: -3px; /* this is to match where the border is */
  transform-origin: left;
  transform: scale(0);
  transition: 0.25s linear;
/*   will-change: transform; */
}

h5:hover:before {
  transform: scale(1);
}

h6 {
  border-bottom: 3px solid #98b293;
  font-size: 14px;
  font-weight: normal;
  transition: all 0.25s linear;
  position: relative;
}

h6:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background-color: #61a3ff;
  position: absolute;
  left: 0;
  bottom: -3px; /* this is to match where the border is */
  transform-origin: left;
  transform: scale(0);
  transition: 0.25s linear;
/*   will-change: transform; */
}

h6:hover:before {
  transform: scale(1);
}

/* CSS */
.button-11 {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 14px;
  font-size: 13px;
  border-radius: 6px;
  color: #3D3D3D;
  background: #fff;
  border: none;
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-11:focus {
  box-shadow: 0px 0.5px 1px rgba(0, 0, 0, 0.1), 0px 0px 0px 3.5px rgba(217, 217, 217, 0.5);
  outline: 0;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  font-size: 12px;
  margin-left: 0px;
  margin-right: 8px;
  margin-top: 6px;
  margin-bottom: 0px;
  -moz-appearance: textfield;
}
