body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Arial;
}

.d-none {
  display: none !important;
}

/* LOAD PAGE */
.loading-page {
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: black;
  z-index: 1500;
}

.loader {
  display: block;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #FFFFFF;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

.loader:before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #FFFFFF;
  -webkit-animation: spin 3s linear infinite;
  animation: spin 3s linear infinite;
}

.loader:after {
  content: "";
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #FFFFFF;
  -webkit-animation: spin 1.5s linear infinite;
  animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.loader-text {
  color: #000;
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 40px);
}

#main_container{
  background-size: cover;
  background-repeat: no-repeat;
}

#main_image, #subtitle, #form_section {
  width: 100%;
  max-width: 320px !important;
}

#subtitle {
  margin: 2vh;
  color: white;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

#terms_and_conditions_button_container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

#terms_and_conditions_button{
  color:black;
}

#form_section {
  min-height: 300px;
  background-color: rgb(255, 255, 255);
  color: rgb(0, 0, 0);
  border-radius: 12px;
  width: 100%;
  float: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.02), 0px 16px 24px 0px rgba(11, 39, 57, 0.21), 0px 6px 30px 0px rgba(11, 39, 57, 0.12);
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  padding-bottom: 32px;
}

#voucher_input {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#voucher_input>label {
  font-size: 2rem;
  font-weight: bold;
  padding: 5px;
  text-align:center;
}

#voucher_input>label>span {
  color: #005DAC !important;
}



#voucher_input>label>small {
  font-size: 1rem;
  font-weight: normal;
  padding: 5px;
  line-height: 1;
}

#voucher_input>input {
  background-color: #fff;
  border: 1px solid #cfdadd;
  border-radius: 8px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
  color: #555;
  display: block;
  font-size: 18px;
  font-weight: bold;
  height: 25px;
  line-height: 1.42857;
  padding: 8px 12px;
  transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
  text-align: center;
  margin-bottom: 2.5vh;
  margin-top: 2.5vh;
}

#button_submit {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#button_submit>button {
  font-size: 1rem;
  height: 3.125rem;
  padding: 1.83rem;
  width: 3.125rem;
  line-height: 1.6;
  position: relative;
  text-align: center;
  cursor: pointer;
  border-radius: 50% !important;
  margin-bottom: .5rem !important;
  background-color: #0db10d;
  color: white;
  font-weight: bold;
  border:0;

}

#button_submit>button>svg{
  font-size: 1rem !important;
    left: 0;
    margin: 0 !important;
    padding: 0 !important;
    position: absolute;
    right: 0;
    text-align: center;
    top: 50%;
    transform: translateY(-45%) translateX(50%);
    display: inline-block;

}

#main_container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  align-items: center;
  justify-content: center;
}

#footer_section {
  position: fixed;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 8px;
  width: 100%;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

#error_message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  color: red;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

#terms_and_conditions_modal{
  position: fixed;
  width: 100%;
  height: 100%;
  margin:0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: black;
}

#modal_window {
  width: 100%;
  max-width: 320px !important;
  height: 100%;
  max-height: 400px;
  background-color: white;
}

#close_terms_and_conditions_button {
  position: relative;
  top: 5px;
  left: 85%;
  font-size: 1.5rem;
  height: 2.5rem;
  padding: 0.5rem;

  width: 2.5rem;
  line-height: 1;
  position: relative;
  text-align: center;
  cursor: pointer;
  border-radius: 50% !important;
  margin-bottom: .5rem !important;
  padding-left: .58rem !important;
  background-color: black;
  color: white;
  font-weight: bold;
  border:0;
}

#voucher_form {
  margin: 17px;
  margin-top: 22px;
}

#terms_and_conditions_modal_content {
  width: 90%;
  height: 75%;
  padding: 15px;
  overflow: scroll;
}
