html {
    scroll-behavior: smooth;
}

body {
  margin: 20px;
  padding: 0px;
  font-family: Helvetica, Tahoma, Verdana, Arial;
  font-size: 1em;
  background-color: #f9f9f9;
}

/*  FORM STYLING */

#form {
  display: relative;
  width: 100%;
  overflow-x: hidden;
}

#form > #sidebar {
position: fixed;
top:0px;
left:0px;
padding: 0px 20px;
width: 220px;
height: 100%;

}

#sidebarlogo {
  width: 100%;
  margin: 20px 0px;
}
#sidebar .link {
  padding: 5px;
  font-weight: 200;
  text-transform: uppercase;
  transition: .05s all ease-out;
}
#sidebar .link:hover {
 cursor: pointer;
 text-indent: 5px;
}

#sidebar .bottomDiv {
  position: absolute;
  bottom: 0px;
  padding-bottom:20px;
}

#sidebar .bottomDiv > div.infobottom {
  margin-bottom: 1rem;
  font-size: .7rem;
  font-style: italic;
  
}
button {
  width: 100%;
  font-size: 1em;
  line-height: 1em;
  padding: 5px;
  border-radius: 3px;
  background-color: #959595;
  color: #FFF;
  border: 1px solid #959595;
  font-weight: lighter;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 2px 0px;
}
button:active {
  transform: scale(.97);
}

 #btnSave {
  margin-bottom: 20px;
}

#btnPreview {
  background-color: #97173d;
  border: 1px solid #97173d;
}

 #btnExport {
  position: fixed;
  width:235px;
  bottom: 20px;
  left: 22px;
  z-index: 30;
  background-color: #97173d;
  border: 1px solid #97173d;
}


#form > #content {
position: relative;
margin-left: 260px;
width: calc(100%-260px);

}
#form h1 {
 width: 100%;
 text-align: center;
 letter-spacing: .1em;
 font-weight: bolder;

}
#form h2 {
  font-size: 2.5em;
  margin: 0px;
  z-index: 1;
  position: relative;
  /* color: #7a7a7a; */font-weight: bold;
  font-weight: lighter;
  text-transform: uppercase;
  letter-spacing: .1em;
}


#form h2::after {
  width: 100%;
  content: '';
  background-color: #404040;
  height: 1px;
  position: absolute;
  left: 0px;
  bottom: -5px;
  z-index: -999;
}


#form section {
  margin-bottom: 50px;
  display: block;
  font-size: .8em;
  background-color: #eeeeee;
  border-radius: 10px;
  padding: 20px;
}







#form .line {
  font-weight: lighter;
  display: flex;
  width: 90%;
  margin: .9em 0em;
  line-height: 2.5em;
}


#form .line>span:nth-child(1) {
  font-size: 1.5em;
  padding-top: .9em;
  /* font-weight: bold; */
  flex: 0 0 20%;
  line-height: 1.7em;
  min-width: 150px;
}


#form .line>span:nth-child(2) {
  font-size: 1.5em;
  font-weight: bold;
  flex: 0 0 80%;
  line-height: 2.2em;
}


#form .indent {
  text-indent: 10px;
}


#form .title {
  margin-top: 25px;
  font-size: 1.5em;
  font-weight: normal;
  line-height: 2.5em;
  width: 100%;
}


#form .line>span input {
  font-weight: lighter;
  line-height: 1.7em;
  width: 100%;
  background-color: #fefefe;
  border: 0px;
  font-size: 1.2em;
  padding-left: 10px;
  border: #000 1px solid;
  border-radius: 3px;
  margin-top:10px;
  /* position: relative; */
}

#form .line>span input:disabled {
  background-color: #eeeeee;
  cursor:default;
}
#form .line>span h3 {
  width: 100%;
  line-height: 1.7em;
  font-size: 1.2em;
  font-family: inherit;
  margin: 15px 0px;

}
#form .line>span .selectWrapper {
  position: relative;
  font-weight: lighter;
  height: 2.2em;
  width: 100%;
  background-color: #fefefe;
  border: 0px;
  font-size: 1em;
  margin-top:10px;
  padding-left: 10px;
  border: #000 1px solid;
  border-radius: 3px;
}
#form .line>span .selectWrapper::before {
    color: #000;
   font-size: 20px;
   pointer-events: none;
   position: absolute;
   right: 15px;
   top: 0px;
   content: '▼'
}


#form .line>span select {
  -moz-appearance: none;
   -webkit-appearance: none;
   appearance: none;
    border: none;
   border-radius: 3px;
   /* box-shadow: 2px 2px 5px 1px rgba(0,0,0,.3); */
   line-height: 1.7em;
   cursor: pointer;
  height: 1.7em;
   outline: none;
   padding-left: 10px;
   width: 100%;
   font-size:1em;
   margin-bottom: 25px;

  /* position: relative; */
}

#form .line>span select::-ms-expand {
  display: none;
}

#form .line>span select:focus::-ms-value {
  background-color: transparent;
}


#form .line>span>img.inputimg {

  width: 120px;
  height: 120px;
  margin-right: 25px;
  margin-top: 25px;
  /* opacity: .25; */
  cursor: pointer;
  padding:5px;
  border: 2px solid transparent;
  border-radius: 10px;
}

#form .line>span>img.inputimg:hover {
  opacity: 1;
  -moz-opacity:1;
  /* background-color: #ececec; */
  border: 2px solid #dddddd;

}

#form .line>span>img.selected {
  opacity: 1;
    border: 2px solid #636363;
}

#form .line>span>img.selected:hover {
  opacity: 1;
    border: 2px solid #636363;
}
/*
.inputimg {
  position: relative;
  text-decoration: none;
}
.inputimg:after {
  content: attr(data-postfix);
  position: absolute;
  bottom: 130%;
  left: 20%;
  background: #ffcb66;
  padding: 5px 15px;
  color: black;
  -webkit-border-radius: 10px;
  -moz-border-radius : 10px;
  border-radius : 10px;
  white-space: nowrap;
  opacity: 0;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
}

.inputimg:before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-top: 20px solid #ffcb66;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  -webkit-transition: all 0.4s ease;
  -moz-transition : all 0.4s ease;
  transition : all 0.4s ease;
  opacity: 0;
  left: 30%;
  bottom: 90%;
}

.inputimg:hover:after {
  bottom: 100%;
}
.inputimg:hover:before {
  bottom: 70%;
}
.inputimg:hover:after, .inputimg:hover:before {
  opacity: 1;
} */


#form .line>span textarea {
  line-height: 1.5em;
  width: 100%;
  background-color: #fefefe;
  border: 0px;
  font-size: 1.2em;
  padding-left: 10px;
  border: #000 1px solid;
  font-weight: lighter;
  min-height: 5.4em;
  border-radius: 3px;
}


#form .line>span input[type='radio'], .line>span input[type='checkbox'] {
  /* width: auto; */
  float: left;
  margin-right: 20px;
  margin-top: .4em;
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}


#form .line>span input[type='radio']+label::before, .line>span input[type='checkbox']+label::before {
  width: 1.7em;
  height: 1.7em;
  background-color: #fefefe;
  display: block;
  content: "";
  float: left;
  margin-right: .7em;
  border-radius: 3px;
  cursor: pointer;
}


#form .line>span input[type='radio']:checked+label::before, .line>span input[type='checkbox']:checked+label::before {
  content: '✕';
  line-height: 1.7em;
  text-indent: .5em;
  /* box-shadow: inset 0px 0px 0px .5em #fff; */
  /* background-color: #000; */
}


#form .line>span .inputlist {
  -webkit-appearance: none;
  -moz-appearance: none;
}


#form input::-webkit-calendar-picker-indicator {
  /* display: none; */
}


#form .line>span .inputlist::after {
  content: '▾';
  width: 20px;
  height: 20px;
  position: relative;
  left: 20px;
  top: 22px;
  display: block;
  background-color: #000;
}


#form .line>span label {
  font-size: 1.0em;
  margin-top: .9em;
  line-height: 1.7em;
  float: left;
  font-weight: lighter;
  margin-right: 20px;
  cursor: pointer;
}


#form .line>span label+input[type='checkbox'], input[type='radio'].radionl {
  display: block;
  clear: both;
  cursor: pointer;
}


#form .inputAfterLabel {
  width: 200px;
  float: left;
  z-index: 1;
}

#pdfWrapper { 
  position: fixed;
  width: 100%;
  height: 100%;
  top:0;
  left: 0;
  display: none;
}

#pdfbackground {
  background-color: #000;
  opacity: .5;
  height: 100%;
  width: 100%;
  z-index: 5;
  position: fixed;
  top: 0;
  left: 0;
}
#pdfPreviewTitle {
  position: fixed;
  top: 15px;
  left: 50%;
  transform: translate(-50%);
  z-index: 20;
  color: #FFF;
  font-size: 1.2em;
}

#pdfbase {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translate(-50%)scale(.7);
  z-index: 20;
  transform-origin: center top;
  transition: all .2s ease;
}

#pdfbase .line {
  font-size: .8em;
  line-height: 1.5em;
  font-weight: lighter;
  display: block;
  clear: both;
  width: 100%;
  margin-top: 2px;
}
#pdfbase h2 {
 font-size: 1.2em;
 line-height: 1.5em;
 margin: 0px;
 font-weight: lighter;
 text-transform: uppercase;
 letter-spacing: 1px;
}





.icon {
  width:60px;
  height:60px;
  position: fixed;
  top: 50%;
  z-index: 25;
  transform: translateX(-50%);
  transition: ease;

}

.icon:hover{
  cursor: pointer;
}
.icon::before {
  font-size: 50px;
  color: #fff;
  position: absolute;
  top:50%;
  right:50%;
  transform:translate(50%,-50%);
}
 .aRight{
  right: 10%;
}
 .aLeft{
  left: 10%;
}
 .aRight::before {
  content: "❯";

}
 .aLeft::before {
  content: "❮";
}
.iclose {
  top: 20px;
  right: 0px;
}
.iclose::before {
 content: "✕";

}
.izoomin {
  top: 20px;
  left: 60px;
}
.izoomin::before {
 content: "+";

}
.izoomout {
  top: 20px;
  left: 120px;
}
.izoomout::before {
 content: "−";

}


#form .hidden {
  display: none;
}

#form .rot {
  color: #97173d;
}
