/* imjm -- 2021-11-15, 11:00 */

.hidescrollbars {
    overflow: hidden;
}

#paramcontainer {
  width: 540px;
}

#phototool-container {
  position: relative;
}

#phototool-container span.required:after {
  content: "*";
  color: #f00;
}

#phototool-container input, button {
    margin-bottom: 10px;
    border-radius: 3px;
}

#phototool-container input, textarea, select {
    background-color: #f8f8f8;
    border-radius: 3px;
    border: 1px solid #ccc;
    padding: 5px;
}


#phototool-container textarea {
    width: 100%;
}

#phototool-container div.textselector {
  background-color: #f8f8f8; 
  border: 1px solid #ccc;
  padding: 5px;
  margin-bottom: 5px;
  cursor: pointer;
}

#phototool-container div.logocorner {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #888;
    cursor: pointer;
}

#phototool-container div.logocorner.active {
    background-color: #e2001a;
}


#phototool-container .logoposbubble {
    position: absolute;
    right: 105px;
    top: 0px;
    display: none;
    background-color: #eee;
    color: #444;
    text-align: center;
    width: 180px;
    height: 80px;
    border-radius: 10px;
    //border: 1px solid #888;
    padding: 10px;
}

#phototool-container #logocontainer {
  position: absolute;
  right: 15px;
  bottom: 15px;
  width: 25%;
  text-align: center;
}

#phototool-container #paramcontainer {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 490px;
}

#phototool-container #paramdiv {
    width: 490px;
    display: inline-block;
    padding-left: 20px;
    vertical-align: top;
}

#phototool-container #paramdiv a {
    text-decoration: underline;
}


#phototool-container #paramoverlay {
    position: absolute;
    width: 540px;
    height: 100%;
    top: 0px;
    left: 0px;
    background-color: #888;
    opacity: 1;
    display: none;
    text-align: center;
    padding-top: 20px;
}

#phototool-container #userimage {
  overflow: hidden;
  width: 500px;
  height: 500px;
  object-fit: cover;
}

#phototool-container #imagecontainer {
  width: 500px;
}

#phototool-container button {
  background-color: #E2001A;
  color: #fff;
  padding: 10px;
  border: 0px;
  font-weight: bold;
  width: 200px;
  cursor: pointer;
  }

#phototool-container #screenshotoverlay {
  width: 1050px;
  position: absolute;
  display: none;
}

#phototool-curtain {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: #ececec;
  display: none;
  z-index: 9999;
  text-align: center;
  padding-top: 49vh;
}

#usertext {
   margin-top: -4px;
   background-color: #E2001A;
   color: #fff;
   padding: 10px;
   padding-left: 20px;
   font-weight: bold;
   padding-right: 29%;
   font-size: 20px;
   min-height: 115px;
   max-height: 115px;
   overflow: hidden;
   line-height: 1.2;
}

#uth_underlined {
  display: inline-block;
  border-bottom: 2px solid #fff;
  margin-bottom: 5px;
}

#usertextheader {
  font-size: 20px;
}

#phototool-container #screenshotoverlay #userimagecontainer {
  width: unset;
}

#phototool-container #userimagecontainer {
  background-position: bottom center;
  background-size: cover;
  width: 500px;
  height: 500px;
}

#phototool-container #modaloverlay {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 10000;
  background-color: #000;
  opacity: 0.8;
  display: none;
}

#phototool-container #modaloverlay #modalbuttons {
  float: right;
  width: 18rem;
}

#phototool-container #modaloverlay #modalimagecontainer {
  max-width: calc(100% - 20rem);
  width: calc(100% - 20rem);
  height: 100%;
}

#phototool-container #workspace-container {
  position: relative;
  display: inline-block;
}

@media only screen and (max-width: 1150px) {
      #paramcontainer {
        width: 90%;
      }

      #phototool-container #paramdiv {
        margin-top: 20px;
      }

      #phototool-container #modaloverlay #modalbuttons {
        float: none;
        text-align: center;
        width: 100%;
      }

      #phototool-container #modaloverlay #modalimagecontainer {
        width: 100%;
        max-width: 100%;
        height: 80%;
      }
  }


/* Processing animation */
.lds-default {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-default div {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00599D;
  border-radius: 50%;
  animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
  animation-delay: 0s;
  top: 37px;
  left: 66px;
}
.lds-default div:nth-child(2) {
  animation-delay: -0.1s;
  top: 22px;
  left: 62px;
}
.lds-default div:nth-child(3) {
  animation-delay: -0.2s;
  top: 11px;
  left: 52px;
}
.lds-default div:nth-child(4) {
  animation-delay: -0.3s;
  top: 7px;
  left: 37px;
}
.lds-default div:nth-child(5) {
  animation-delay: -0.4s;
  top: 11px;
  left: 22px;
}
.lds-default div:nth-child(6) {
  animation-delay: -0.5s;
  top: 22px;
  left: 11px;
}
.lds-default div:nth-child(7) {
  animation-delay: -0.6s;
  top: 37px;
  left: 7px;
}
.lds-default div:nth-child(8) {
  animation-delay: -0.7s;
  top: 52px;
  left: 11px;
}
.lds-default div:nth-child(9) {
  animation-delay: -0.8s;
  top: 62px;
  left: 22px;
}
.lds-default div:nth-child(10) {
  animation-delay: -0.9s;
  top: 66px;
  left: 37px;
}
.lds-default div:nth-child(11) {
  animation-delay: -1s;
  top: 62px;
  left: 52px;
}
.lds-default div:nth-child(12) {
  animation-delay: -1.1s;
  top: 52px;
  left: 62px;
}
@keyframes lds-default {
  0%, 20%, 80%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}
