@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&display=swap');

body {
    font-family: 'Ubuntu', sans-serif;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    margin: 0 !important;
}

img, svg {
    vertical-align: middle;
}

a{
    text-decoration: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.btn-primary{
    background-color: #00AFAE !important;
    border: #00AFAE !important;
}

.btn{
    font-size: 1rem !important;
    border-radius: 0 !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    padding: 0.375rem 1rem !important;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    font-weight: 500;
}

h5 b{
    color: #00AFAE;
}

label{
    font-size: 12px;
    color: #222;
    font-weight: 500;
}

p{
    font-size: 12px;
}

input{
    font-size: 15px !important;
    border-radius: 0 !important;
}

.pic-box{
    width: 200px;
    height: 200px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pic-box img{
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* Language dropdown */

.dropdown button {
    background-color: #253849;
    min-width: 130px;
    width: max-content;
    height: 40px;
    border-radius: 5px;
    color: white;
    padding: 10px;
    font-size: 12px;
    border: none;
    cursor: pointer;
    justify-content: space-evenly;
  }
  .dropdown button img {
    margin: 0 5px 0 0;
  }
  .dropdown button img,
  .dropdown-content li img {
    width: 20px;
  }
  .dropdown button,
  .dropdown-content li {
    display: flex;
    align-items: center;
    font-size: 12px;
    font-family: "Open Sans", sans-serif;
    font-family: "Noto Sans JP", sans-serif;
    font-family: "Noto Sans Arabic", sans-serif;
    font-family: "Noto Sans KR", sans-serif;
    font-weight: 500;
  }
  .arrow-down {
    width: 0;
    height: 0;
    display: inline-block;
    vertical-align: middle;
    border-style: solid;
    border-width: 4px 4px 0 4px;
    border-color: #fff transparent transparent transparent;
    margin: 0 0 0 5px;
  }
  
  .dropdown button:hover {
    cursor: pointer;
    background-color: #3c5b77;
  }
  /* Style for the dropdown content */
  .dropdown-content {
    display: none;
    position: absolute;
    margin: 0 0 0 0;
    padding: 0;
    background-color: #f5f5f5;
    /* min-width: 150px; */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    overflow-y: scroll;
    max-height: 315px;
  }
  /* Style for the dropdown content items */
  .dropdown-content li {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    justify-content: end;
  }
  .dropdown-content li img {
    margin: 0 20px 0px 20px;
  }
  /* Style for the dropdown content items on hover */
  .dropdown-content li:hover {
    background-color: #f1f1f1;
    cursor: pointer;
    color: blue;
    border-radius: 5px;
  }
  /* Show the dropdown content when the dropdown button is clicked */
  .dropdown:focus-within .dropdown-content {
    display: block;
  }
  /* Animate the dropdown content */
  @keyframes slideIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .dropdown-content {
    animation: slideIn 0.3s ease-out;
  }
  /* Scrollbar styles */
  ::-webkit-scrollbar {
    width: 8px;
    height: 10px;
  }
  ::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #c2c9d2;
  }

  .navbar {
    background-color: #1A2731 !important;
    color: #fff !important;
}

.navbar-light .navbar-nav .nav-link{
    color: #fff !important;
}

select{
    border-radius: 0 !important;
}

/* Progress bar */

@media (min-width: 600px){
  .progress {
    left: 0;
    width: auto;
  }
  .progress li:first-child {
    padding-left: 20px;
    flex: 0 1 25%;
}
.progress li:first-child span {
  margin-left: 0;
}
.progress li span {
  text-indent: 0;
  width: auto;
}
.progress li.is-active {
  flex: 0 1 25%;
}
}

.progress {
    position: relative;
    left: 0;
    right: 0;
    margin: 0 auto 35px auto;
    padding: 0;
    height: 43px !important;
    overflow: hidden;
    width: 100vw;
    max-width: 800px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    background-color: #A2E2E2 !important;
}

.progress li {
  position: relative;
  display: block;
  width: auto;
  margin: 0 22px 0 0;
  padding: 3px 0 3px 9px;
  color: white;
  background-color: #A2E2E2;
  font-family: Calibri;
  color: white;
  font-size: 16px;
  line-height: 38px;
  font-style: normal;
  font-variant: normal;
  font-weight: 400;
  list-style: none;
  counter-increment: step-counter;
  flex: 0 1 38px;
}

.progress li span {
  position: relative;
  display: block;
  padding-left: 34px;
  /* width: 0;
  text-indent: -20000px; */
}

.progress li span:before {
  position: absolute;
  left: 0;
  top: 7px;
  z-index: 4;
  display: block;
  height: 24px;
  width: 24px;
  padding: 0;
  background-color: white;
  color: #07d9a3;
  font-weight: bold;
  font-size: 15px;
  line-height: 23px;
  text-align: center;
  text-indent: 0;
  content: counter(step-counter);
  border-radius: 50%;
}

.progress li:before {
  position: absolute;
  top: 0;
  left: -18px;
  border-width: 22px 0 22px 18px;
  display: block;
  border-style: solid;
  border-color: #A2E2E2 !important;
  content: "";
  transform: scale(0.9999);
}

.progress li:after {
  position: absolute;
  right: -18px;
  top: 0;
  display: block;
  border: solid;
  border-width: 22px 0 22px 18px;
  border-color: #A2E2E2;
  content: "";
  transform: scale(0.9999);
  z-index: 999999;
}

.progress li.is-active {
  padding-right: 12px;
  color: white;
  background-color: #00AFAE;
  flex: 1 0 auto;
}

.progress li.is-active:after{
  border-color: transparent #00AFAE;
}

.progress li.is-active:before {
  border-color: rgba(255, 255, 255, 0.5) transparent;
}

.steps-main{
  display: flex;
}

.steps-one{
  display: flex;
  width: 100%;
  background-color: #00AFAE;
  color: #fff;
  padding: 10px;
  align-items: center;
  border-right: 1px dashed #fff;
  padding-left: 10px;
}

.steps-one-healing{
  font-size: 15px;
  font-weight: 700;
}

.steps-one:after{
  font-family: "Font Awesome 5 free";
  font-weight: 900;
  content: "\f101";
  z-index: 99999 !important;
  font-size: 20px;
}

.steps-one:last-child:after{
  display: none;
  margin-right: 0;
}

.preview-cont p{
  font-size: 15px;
  font-weight: 700;
}

small{
  font-size: 12px !important;
}

table thead tr th{
  background-color: #00AFAE !important;
  color: #fff;
  font-size: 12px;
}

table tbody tr td{
  font-size: 12px ;
}

footer{
  position: fixed;
  width: 100%;
  bottom: 0;
  padding: 1rem;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px 20px;
}

.modal-title{
  font-size: 1rem !important;
}

/* Custom input field */

.custom-field {
  position: relative;
  /* font-size: 14px; */
  border-top: 24px solid transparent;
  margin-bottom: 5px;
  display: block;
  --field-padding: 12px;
}

.custom-field input {
  border: none;
  -webkit-appearance: none;
  -ms-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #f2f2f2;
  padding: var(--field-padding);
  border-radius: 3px;
  width: 100%;
  outline: none;
  font-size: 14px;
}

.custom-field .placeholder {
  position: absolute;
  left: var(--field-padding);
  width: calc(100% - (var(--field-padding) * 2));
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  top: 22px;
  line-height: 100%;
  transform: translateY(-50%);
  color: #aaa;
  transition: 
    top 0.3s ease,
    color 0.3s ease,
    font-size 0.3s ease;
}

.custom-field input.dirty + .placeholder,
.custom-field input:focus + .placeholder,
.custom-field input:not(:placeholder-shown) + .placeholder {
  top: -10px;
  font-size: 12px;
  color: #222;
}

.custom-field .error-message {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 12px;
  background: #d30909;
  color: #fff;
  height: 24px;
}

.custom-field .error-message:empty {
  opacity: 0;
}

/* ONE */
.custom-field.one input {
  background: none;
  border: 2px solid #ddd;
  transition: border-color 0.3s ease;
}

.custom-field.one input + .placeholder {
  left: 8px;
  padding: 0 5px;
}

.custom-field.one input.dirty,
.custom-field.one input:not(:placeholder-shown),
.custom-field.one input:focus {
  border-color: #222;
  transition-delay: 0.1s
}

.custom-field.one input.dirty + .placeholder,
.custom-field.one input:not(:placeholder-shown) + .placeholder,
.custom-field.one input:focus + .placeholder {
  top: 0;
  font-size: 12px;
  color: #222;
  background: #fff;
  width: auto
}

/* TWO */
.custom-field.two input {
  border-radius: 0;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  background:
    linear-gradient(90deg, #222, #222) center bottom/0 0.15em no-repeat,
    linear-gradient(90deg, #ccc, #ccc) left bottom/100% 0.15em no-repeat,
    linear-gradient(90deg, #fafafa, #fafafa) left bottom/100% no-repeat;
  transition: background-size 0.3s ease;
}

.custom-field.two input.dirty,
.custom-field.two input:not(:placeholder-shown),
.custom-field.two input:focus {
  background-size: 100% 0.15em, 100% 0.1em, 100%;
}

/* THREE */
.custom-field.three {
  --draw-duration: 0.1s;
  --draw-color: #222;
  --draw-line-width: 2px;
  --draw-easing: linear;
}

.custom-field.three .border {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  transform: none;
  display: flex;
  align-items: center;
  padding-left: 12px;
  border-radius: 3px;
}

.custom-field.three .border::after, 
.custom-field.three .border::before {
  content: "";
  width: 0;
  height: 0;
  display: inline-block;
  position: absolute;
  border-radius: 3px;
}

.custom-field.three .border::before {
  left: 0;
  bottom: 0;
  border-right: 0px solid var(--draw-color);
  border-bottom: 0px solid var(--draw-color);
  transition: 
    border 0s linear calc(var(--draw-duration) * 4),
    height var(--draw-duration) var(--draw-easing) calc(var(--draw-duration) * 2),
    width var(--draw-duration) var(--draw-easing) calc(var(--draw-duration) * 3);
}

.custom-field.three .border::after {
  right: 0;
  top: 0;
  border-left: 0px solid var(--draw-color);
  border-top: 0px solid var(--draw-color);
  transition: 
    border 0s linear calc(var(--draw-duration) * 2),
    height var(--draw-duration) var(--draw-easing),
    width var(--draw-duration) var(--draw-easing) var(--draw-duration);
}

.custom-field.three input:focus ~ .border::before,
.custom-field.three input:not(:placeholder-shown) ~ .border::before,
.custom-field.three input.dirty ~ .border::before,
.custom-field.three input:focus ~ .border::after,
.custom-field.three input:not(:placeholder-shown) ~ .border::after,
.custom-field.three input.dirty ~ .border::after {
  width: 100%;
  height: 100%;
  border-width: var(--draw-line-width);
}

.custom-field.three input:not(:placeholder-shown) ~ .border::before,
.custom-field.three input.dirty ~ .border::before,
.custom-field.three input:focus ~ .border::before {
  transition-delay: 0s, var(--draw-duration), 0s;
}

.custom-field.three input:not(:placeholder-shown) ~ .border::after,
.custom-field.three input.dirty ~ .border::after,
.custom-field.three input:focus ~ .border::after {
  transition-delay: 
    calc(var(--draw-duration) * 2), 
    calc(var(--draw-duration) * 3), 
    calc(var(--draw-duration) * 2);
}

select{
  background: linear-gradient(90deg, #222, #222) center bottom / 0 0.15em no-repeat, linear-gradient(90deg, #ccc, #ccc) left bottom / 100% 0.15em no-repeat, linear-gradient(90deg, #fafafa, #fafafa) left bottom / 100% no-repeat;
  border: none !important;
  padding: 12px !important;
  /* width: 196px !important; */
}

.modal-dialog{
  transform: translate(-50%, -50%); 
  top: 50%; left: 50%; 
  position: absolute;
}

.modal-header{
  border-bottom: 0 !important;
}

.complete-txt{
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.complete-txt h5{
  font-family: "Dancing Script", cursive;
  font-size: 50px !important;
  color: #00AFAE;
}

.modal-dialog h5{
  font-size: 15px !important;
}

.ribbon-nav{
  background-color: #FFCA2C;
  padding: 5px 10px;
}

.form-check-input[type=radio] {
  border-radius: 50% !important;
}

.alert {
  position: relative;
  padding: 5px 10px !important;
  border: 1px solid transparent;
  border-radius: .25rem;
  margin-top: 10px;
  width: fit-content;
  font-size: 15px;
  font-weight: 500;
}

.container{
  margin-bottom: 7rem;
}

.change-lang{
  font-size: 12px !important;
}

/* steps */

.hexa{
  border: 0px;
  float: left;
  text-align: center;
  height: 35px;
  width: 60px;
  font-size: 22px;
  background: #f0f0f0;
  color: #3c3c3c;
  position: relative;
  margin-top: 15px;
}

.hexa:before{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-bottom: 15px solid #f0f0f0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  top: -15px;
}

.hexa:after{
  content: ""; 
  position: absolute; 
  left: 0; 
  width: 0; 
  height: 0;
  border-left: 30px solid transparent;
  border-right: 30px solid transparent;
  border-top: 15px solid #f0f0f0;
  bottom: -15px;
}

.timeline {
  position: relative;
  padding: 0;
  width: 100%;
  margin-top: 20px;
  list-style-type: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  content: ' ';
  display: block;
  width: 2px;
  height: 100%;
  margin-left: -1px;
  background: rgb(213,213,213);
  background: -moz-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(30,87,153,1)), color-stop(100%,rgba(125,185,232,1)));
  background: -webkit-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -o-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: -ms-linear-gradient(top, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  background: linear-gradient(to bottom, rgba(213,213,213,0) 0%, rgb(213,213,213) 8%, rgb(213,213,213) 92%, rgba(213,213,213,0) 100%);
  z-index: 5;
}

.timeline li {
  padding: 2em 0;
}

.timeline .hexa{
  width: 16px;
  height: 10px;
  position: absolute;
  background: #00c4f3;
  z-index: 5;
  left: 0;
  right: 0;
  margin-left:auto;
  margin-right:auto;
  top: -30px;
  margin-top: 0;
}

.timeline .hexa:before {
  border-bottom: 4px solid #00c4f3;
  border-left-width: 8px;
  border-right-width: 8px;
  top: -4px;
}

.timeline .hexa:after {
  border-left-width: 8px;
  border-right-width: 8px;
  border-top: 4px solid #00c4f3;
  bottom: -4px;
}

.direction-l,
.direction-r {
  float: none;
  width: 100%;
  text-align: center;
}

.flag-wrapper {
  text-align: center;
  position: relative;
}

.flag {
  position: relative;
  display: inline;
  background: rgb(255,255,255);
  font-weight: 600;
  z-index: 15;
  padding: 6px 10px;
  text-align: left;
  border-radius: 5px;
}

.direction-l .flag:after,
.direction-r .flag:after {
  content: "";
  position: absolute;
  left: 50%;
  top: -15px;
  height: 0;
  width: 0;
  margin-left: -8px;
  border: solid transparent;
  border-bottom-color: rgb(255,255,255);
  border-width: 8px;
  pointer-events: none;
}

.direction-l .flag {
  -webkit-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: -1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.direction-r .flag {
  -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  -moz-box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
  box-shadow: 1px 1px 1px rgba(0,0,0,0.15), 0 0 1px rgba(0,0,0,0.15);
}

.time-wrapper {
  display: block;
  position: relative;
  margin: 4px 0 0 0;
  z-index: 14;
  line-height: 1em;
  vertical-align: middle;
  color: #fff;
}

.direction-l .time-wrapper {
  float: none;
}

.direction-r .time-wrapper {
  float: none;
}

.time {
  background: #00c4f3;
  display: inline-block;
  padding: 8px;
}

.desc {
  position: relative;
  margin: 1em 0 0 0;
  padding: 1em;
  background: rgb(254,254,254);
  -webkit-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  -moz-box-shadow: 0 0 1px rgba(0,0,0,0.20);
  box-shadow: 0 0 1px rgba(0,0,0,0.20);
  z-index: 15;
}

.direction-l .desc,
.direction-r .desc {
  position: relative;
  margin: 1em 1em 0 1em;
  padding: 1em;
  z-index: 15;
  width: fit-content;
  background-color: #f1f1f1;
}

@media(min-width: 768px){
  .timeline {
    /* width: 660px; */
    margin: 0 auto;
    margin-top: 20px;
  }

  .timeline li:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
  }
  
  .timeline .hexa {
    left: -28px;
    right: auto;
    top: 8px;
  }

  .timeline .direction-l .hexa {
    left: auto;
    right: -28px;
  }

  .direction-l {
    position: relative;
    /* width: 310px; */
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    /* width: 310px; */
    float: right;
    text-align: left;
  }

  .flag-wrapper {
    display: inline-block;
  }
  
  .flag {
    font-size: 18px;
  }

  .direction-l .flag:after {
    left: auto;
    right: -16px;
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-left-color: rgb(254,254,254);
    border-width: 8px;
  }

  .direction-r .flag:after {
    top: 50%;
    margin-top: -8px;
    border: solid transparent;
    border-right-color: rgb(254,254,254);
    border-width: 8px;
    left: -8px;
  }

  .time-wrapper {
    display: inline;
    vertical-align: middle;
    margin: 0;
  }

  .direction-l .time-wrapper {
    float: left;
  }

  .direction-r .time-wrapper {
    float: right;
  }

  .time {
    padding: 5px 10px;
  }

  .direction-r .desc {
    margin: 1em 0 0 0.75em;
    width: fit-content;
    background-color: #f1f1f1;
  }
}

@media(min-width: 992px){
  .timeline {
    /* width: 800px; */
    margin: 0 auto;
    margin-top: 20px;
  }

  .direction-l {
    position: relative;
    /* width: 380px; */
    float: left;
    text-align: right;
  }

  .direction-r {
    position: relative;
    width: 526px;
    float: right;
    text-align: left;
  }
}