* {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

body {
     font-size: 20px;
     text-align: center;
}

#main{
    width: 80%;
    margin: 50 auto;
    text-align: left;
}

.element-group {
    margin-top: 20;
}

.element {
    margin-top: 40;
}

.header {

}
.question {
    padding:5 10;
}
.multiSelect {
    padding:0 10 10 10;
    font-size: 0.8em;
}
.content {

}
.answer {
    padding:5 10;
}

.answer .fa-star {
   color: #cecec8;
   font-size: 1.2em;
}

.alertMsg {

}

.errMsg {
    color:red;
    padding: 10;
    font-size: 0.8em;
}

.description {
    font-size: 0.8em;
    padding: 10 0;
}

.image {
    margin: 10;
}

.text {
    margin: 10;
}

.radio {
    padding-right: 30;
    display: inline-block;
}

.check {
    padding-right: 30;
    display: inline-block;
}

.input {
    width:100%;
    height:  2.5em;
    border: 1px solid #aaa;
}

.textarea {
    width:100%;
    height: 7em;
    line-height: 1.2em;
    resize:none;
}

.select {
    width:100%;
    height:  2.5em;
}

.button {
    padding: 10px 25px;
    color: rgba(238, 238, 238, 1);
    border-style: none;
    cursor: pointer;
    border-radius: 5px;
    margin-right:10;
    background-color: #98cccd;
}
.imgButton {
    cursor: pointer;
    margin-right:30;
}
.pageBreak {
    width:100%;
    text-align:center;
    margin:10 0 0 0;
    padding:40;
}

.prevButton{

}

.nextButton{

}

.required {
    margin:0 3;
    color:red;
}

.otherAnswerTitle {
    padding: 5 0;
}

.otherAnswer {
    padding: 5 2;
}

/* image selection element */
.imageFrame {
    margin: 0px;
    padding: 0px;
}
.imageFrame .imageDiv {
    display: inline-block;
    position: relative;
    width: fit-content;
    margin: 0 20 20 0;
}
.imageFrame .checkImageDiv {
    display: none;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(249 249 249 / 40%);
}
.imageFrame .checkImageDiv .checkImage {
    color: #4c4c4c;
    font-size: 25px;
    position: absolute;
    /* right: 0; */
    padding: 5;
}
.imageFrame .imageDescription {
    display:block;
    font-size:0.7em;
}
.imageFrame .checked {
    display: block;
}

/* list element */
.listFrame {
    margin: 0px;
    padding: 0px;
}
.listDiv {
    display: inline-block;
}
.listItem {
    padding: 5 20;
    background-color: #d2dfe8;
    color: #6f6f6f;
    margin: 0 10 10 0;
    border-radius: 8px;
    cursor: pointer;
}

.listFrame .checked {
    background-color: #3b93d4;
    color:white;
}

.buttionDiv {
   display:inline-flex;
}

/* radio */
.radio input[type=radio] {
  display: none;
}

.radio span {
  position: relative;
  padding-left: 25px;
}

.radio input[type=radio] + span::before {
  position: absolute;
  content: '';
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #606060;
  left: 0;
  top: 0;
}

.radio input[type=radio] + span::after {
  position: absolute;
  content: '';
  display: block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2e3175;
  left: 3px;
  top: 3px;
  opacity: 0;
  transition: .3s;
}

.radio input[type=radio]:checked + span::after {
 opacity: 1;
}

/* checkbox */
.check input[type=checkbox] {
  display: none;
}

.check span {
  position: relative;
  padding-left: 30px;
}

.check input[type=checkbox]  + span::before {
  position: absolute;
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: #fff;
  border:1px solid #606060;
  left: 0;
  top: 3px;
}

.check input[type=checkbox]  + span::after {
  position: absolute;
  content: '';
  display: block;
  width: 8px;
  height: 10px;
  transform: rotate(45deg) scale(0, 0);
  border-right: 2px solid #2e3175;
  border-bottom: 2px solid #2e3175;
  left: 5px;
  top: 3px;
  transition: .3s;
}

.check input[type=checkbox]:checked + span::after {
    transform: rotate(45deg) scale(1, 1);
}

.range-control-widget {
    padding: 0 20;
}

@media screen and (max-width: 768px) {
  #main {
   width: 98%;
   margin: 3;
  }

  .question {
    padding: 5 0;
  }
}
