@import 'https://fonts.googleapis.com/css?family=Kanit|Prompt';
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body{
  /* height: 100vh; */
  height:auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  /*background: linear-gradient(#e57200, #F7D4B2, #FFFFFF); */
  background-image:url(bg_form.png); 
  font-family: 'Kanit', sans-serif;
}
.container{
  max-width: 700px;
  width: 100%;
  background-color: #fff;
  padding: 25px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}
.container .title{
  font-size: 25px;
  font-weight: 500;
  position: relative;
}

.container .title::before{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  border-radius: 5px;
  background:linear-gradient(#e57200, #F7D4B2, #FFFFFF);
}
.content form .user-details{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
}
form .user-details .input-box{
  margin-bottom: 15px;
  width: calc(100% / 2 - 20px);
}
form .input-box span.details{
  display: block;
  font-weight: 300;
  margin-bottom: 5px;
}

form .input-box span.details2{
  color:#e57200;
  font-size:16px;
  display: block;
  font-weight: 300;
  margin-bottom: 5px;
}

form .input-box span.details3{
  color:#e57200;
  font-size:16px;
  display: block;
  font-weight: 300;
  margin-bottom: 5px;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  font-family: 'Kanit', sans-serif;
  font-size: 16px;
  font-weight: normal;
  border-radius: 5px;
  padding-left: 15px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: all 0.3s ease;
}

.user-details .input-box select {
  height: 45px;
  width: 100%;
  font-family: 'Kanit', sans-serif;
  font-weight:normal;
  font-size: 16px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
}

.user-details .input-box textarea {
  resize:none; 
  width: 100%;
  outline: none;
  font-family: 'Kanit', sans-serif;
  font-weight:normal;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
}

.user-details .input-box input:focus{
  border-color: #e57200;
}

.user-details .input-box select:focus{
  border-color: #e57200;
}

.user-details .input-box textarea:focus{
  border-color: #e57200;
}

form .gender-details .gender-title{
  font-size: 20px;
  font-weight: 500;
 }

 form .payby-details .payby-title{
  font-size: 20px;
  font-weight: 500;
 } 

 form .category{
   display: flex;
   width: 100%;
   margin: 14px 0 ;
   justify-content: space-around;
 }
 form .category label{
   display: flex;
   /*align-items: center;*/
   cursor: pointer;
 }
 form .category label .dot{
  height: 18px;
  width: 18px;
  border-radius: 50%;
  margin-right: 10px;
  background: #d9d9d9;
  border: 5px solid transparent;
  transition: all 0.3s ease;
}
 #dot-1:checked ~ .category label .one,
 #dot-2:checked ~ .category label .two,
 #dot-3:checked ~ .category label .three,
 #dot-4:checked ~ .category label .four,
 #dot-5:checked ~ .category label .five,
 #dot-6:checked ~ .category label .six{
   background: #e57200;
   border-color: #d9d9d9;
 }
 form input[type="radio"]{
   display: none; 
 }
 form .button{
   height: 45px;
   margin: 35px 0
 }
 form .button input{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: #fff;
   font-family: 'Kanit', sans-serif;
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: linear-gradient(#e57200, #e57200);
 }
 form .button input:hover{
  /* transform: scale(0.99); */
  background: linear-gradient(#e57200, #F7D4B2);
  }
form .button2{
   height: 45px;
   margin: 35px 0
 }
 form .button2 input{
   height: 100%;
   width: 100%;
   border-radius: 5px;
   border: none;
   color: #000;
   font-family: 'Kanit', sans-serif;
   font-size: 18px;
   font-weight: 500;
   letter-spacing: 1px;
   cursor: pointer;
   transition: all 0.3s ease;
   background: linear-gradient(#C0C0C0, #FFFFFF);
 }
 form .button2 input:hover{
  /* transform: scale(0.99); */
  background: linear-gradient(#e57200, #F7D4B2);
  }


 @media(max-width: 584px){
 .container{
  max-width: 100%;
}
form .user-details .input-box{
    margin-bottom: 15px;
    width: 100%;
  }

  form .category{
    width: 100%;
  }
  .content form .user-details{
    max-height: 350px;
    overflow-y: scroll;
  }
  .user-details::-webkit-scrollbar{
    width: 5px;
  }
  }
  @media(max-width: 459px){
  .container .content .category{
    flex-direction: column; 
  }
}

orange {
	color: #e57200;
}
red {
	color: #FF0000;
}

/* progress bar */
h1 {
  text-align: center;
  margin-top: 30vh;
  font-size: 2.3em;
}

/* INDIVIDUAL BAR HOLDER */

.bar-holder {
  width: 100%;
  background-color: rgb(231, 231, 231);
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  margin: 0 auto;
}

/* INDIVIDUAL BAR'S STYLING, SAME GOES WITH OTHER BARS */

.bar-1 {
  background-color: #FFD700;
  color: #fff;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  text-align: center;
  margin-top: 15px;
  font-weight: 400;
}

.bar-2 {
  background-color: #E57200;
  color: #fff;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  text-align: center;
  margin-top: 15px;
  font-weight: 400;
}

