/* GENERAL */
body {
  background: #f7f9ff;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: #555;
}
#loader {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
	display: flex;
	background-color: #fff;
	align-items: center;
	justify-content: center;
}

#loader>div>img {
	width: 100px;
}
h1, h2, h3, h4, h5, h6 {
  color: #00011c;
}

p {
  margin-bottom: 24px;
  line-height: 1.9;
}
label {
  font-size: 16px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00011c;
}

.cover, .logo, .qrcode,.gallery {
  position: relative;
  background-image: url('../images/preview.jpg');
  background-size: cover;
  overflow: hidden;
}
.close-btn{
  position: absolute;
    top: 0;
    right: 2px;
    z-index: 999;
    padding: 1px 9px;
    margin: 4px;
    border-radius: 50%;
    background-color: #fff;
    color: #000000;
    font-size: large;
    text-decoration: none;
}
.close-btn > img, .close-gal > img{
  width:20px;
  cursor: pointer;
}
.gallery-preview{
  position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 10px;
    width: 100%;
}
.gallery-preview > .gallery {
  position: relative;
  flex-basis: 166px;
  width:170px;
  height: 160px;

}


/* TITLE */
#title-container {
  min-height: 460px;
  height: 100%;
  color: #fff;
  background-color: #082550;
  text-align: center;
  padding: 105px 28px 28px 28px;
  box-sizing: border-box;
  position: relative;
  box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
#title-container h2 {
  font-size: 45px;
  font-weight: 800;
  color: #fff;
  padding: 0;
  margin-bottom: 0px;
}
#title-container h3 {
  font-size: 25px;
  font-weight: 600;
  color: #82000a;
  padding: 0;
}
#title-container p {
  font-size: 13px;
  padding: 0 25px;
  line-height: 20px;
}
.covid-image {
  width: 214px;
  margin-bottom: 15px;
}

/* FORMS */
.days > div {
  margin: 10px 10px 10px 0;
  flex-basis: 135px;
}

.days-wrapper{
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.days-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  left:0;  
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.days-wrapper input ~ .checkmark {
  background-color: #fff;
  border: 1px solid #ababab;
}

/* When the checkbox is checked, add a blue background */
.days-wrapper input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.days-wrapper input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.days-wrapper .checkmark:after {
  left: 9px;
  top: 2px;
  width: 7px;
  height: 15px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#qbox-container {
  background: url(../img/corona.png);
  background-repeat: repeat;
  position: relative;
  padding: 62px;
  min-height: 630px;
  box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -webkit-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
  -moz-box-shadow: 10px 8px 21px 0px rgba(204, 204, 204, 0.75);
}
#steps-container {
  margin: auto;
  min-height: 420px;
  vertical-align: middle;
  align-items: center;
}
.step h4 {
  margin: 0 0 26px 0;
  padding: 0;
  position: relative;
  font-weight: 500;
  font-size: 23px;
  font-size: 1.4375rem;
  line-height: 1.6;
}
.step h4 > span{
  color:#bd0707;
  padding-bottom:8px;
  border-bottom: 1px solid #ffbbc1;
}
 .step h4 > div{
  padding-bottom:5px;
  border-bottom: 1px solid #ff9898;
}
button#prev-btn, button#next-btn, button#submit-btn {
  font-size: 17px;
  font-weight: bold;
  position: relative;
  width: 130px;
  height: 50px;
  background: #DC3545;
  margin: 0 auto;
  margin-top: 40px;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
  transition: color .3s;
  text-align: center;
  color: #fff;
  border: 0;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}
button#prev-btn:after, button#next-btn:after, button#submit-btn:after {
  position: absolute;
  top: 90%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #cc0616;
  content: "";
  z-index: -2;
  transition: transform .3s;
}
button#prev-btn:hover::after, button#next-btn:hover::after, button#submit-btn:hover::after {
  transform: translateY(-80%);
  transition: transform .3s;
}
.progress {
  border-radius: 0px !important;
}
.q__question {
  position: relative;
}
.q__question:not(:last-child) {
  margin-bottom: 10px;
}
.question__label {
  position: relative;
  display: block;
  line-height: 20px;
}

input:focus {
  outline: none;
}
#input-container {
  display: inline-block;
  box-shadow: none !important;
  margin-top: 36px !important;
}

#q-box__buttons {
  text-align: center;
}

form .form-check{
  margin-bottom: 1.2em;
}

input[type="text"], input[type="email"], input[type="number"]{
  padding: 8px 14px;
  width:100%;
  border: 1px solid #757575;
}
select {
  padding: 11px 14px;
  width:100%;
}
input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus {
  border: 1px solid #DC3545;
  border-radius: 5px;
  outline: 0px !important;
  -webkit-appearance: none;
  box-shadow: none !important;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  -o-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
#category{
  text-transform: capitalize;
}
#success {
  display: none;
  height: 50vh;
  align-items: center;
}
#success h4 {
  color: #DC3545;
}
.back-link {
  font-weight: 700;
  color: #DC3545;
  text-decoration: none;
  font-size: 18px;
}
.back-link:hover {
  color: #82000a;
}


/* MEDIA QUERIES */
@media (min-width: 990px) and (max-width: 1199px) {
  #title-container {
    padding: 80px 28px 28px 28px;
  }
  #steps-container {
    width: 85%;
  }
}
@media (max-width: 991px) {
  #title-container {
    padding: 30px;
    min-height: inherit;
  }
}
@media (max-width: 767px) {
  #qbox-container {
    padding: 30px;
  }
  #steps-container {
    width: 100%;
    min-height: 400px;
  }
  #title-container {
    padding-top: 50px;
  }
}
@media (max-width: 560px) {
  #title-container h2{
    font-size: 25px;    
  }
  .step h4 {
    font-size: 1.2rem;
  }
  #qbox-container {
    padding: 20px;
  }
  #title-container {
    padding-top: 45px;
  }
}