@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@500;700&display=swap");
@font-face {
  font-family: "ThaiBevSans-Regular";
  src: url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Regular.eot?#iefix") format("embedded-opentype"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Regular.woff") format("woff"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Regular.ttf") format("truetype"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Regular.svg#ThaiBevSans-Regular") format("svg");
  font-weight: normal;
}

@font-face {
  font-family: "ThaiBevSans-Bold";
  src: url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Bold.eot?#iefix") format("embedded-opentype"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Bold.woff") format("woff"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Bold.ttf") format("truetype"), url("https://sustainability.thaibev.com/fonts/ThaiBevSans-Bold.svg#ThaiBevSans-Regular") format("svg");
  font-weight: normal;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

html {
  overflow-x: hidden;
}

body {
  background-color: #447844;
  color: #2c2c2c;
    font-family: "Open Sans", sans-serif;
    font-weight: 300;
    font-size: 14px;
    line-height: 18px;
}

a {
  color: #447844;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: #447844;
  outline: none;
  text-decoration: none;
}

::-webkit-selection {
  color: #ffffff;
  background: #447844;
}

::-moz-selection {
  color: #ffffff;
  background: #447844;
}

::selection {
  color: #ffffff;
  background: #447844;
}

.container {
  max-width: 650px;
}

.bordercurve {
  background-color: #ffffff;
  margin-top: 20px;
  margin-bottom: 40px;
  padding: 20px;
  padding-bottom: 60px;
  border-radius: 12px;
}

.title {
  font-size: 24px;
  line-height: 24px;
  font-family: "ThaiBevSans-Bold", "Open Sans", sans-serif;
}

.subheader {
    font-weight: 700;
}

.small {
  font-size: 12px;
  line-height: 16px;
}

.green {
  color: #447844;
}

.red {
  color: #c02a0c;
}


.black {
  color: #000000;
}
.bgtab {
  padding: 10px;
  font-size: 24px;
  line-height: 24px;
  font-family: "ThaiBevSans-Bold", "Open Sans", sans-serif;
  color: #ffffff;
  background-color: #447844;
  width: 99%;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
}

input.larger {
  border: 1px solid rgba(144, 144, 144, 0.5);
  padding: 10px;
  width: 100%;
}

.input-text {
  border: 1px solid rgba(144, 144, 144, 0.5);
  padding: 10px;
  width: 100%;
}

.drop {
  border: 1px solid rgba(144, 144, 144, 0.5);
  padding: 10px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0px;
  color: #000000;
  padding: 5px;
}

.label {
  font-size: 12px;
}

.enter {
  text-transform: uppercase;
  margin-bottom: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  font-family: "Open Sans", sans-serif; 
  font-weight: 700;
  padding: 10px;
  border-radius: 6px;
  font-size: 18px;
  line-height: 22px;
  text-align: center;
  border: 1px solid #a2832e;
  color: #ffffff;
  text-decoration: none;
  background-color: #a2832e;
  margin-top: 20px;
  width: 100%;
}

.enter:hover {
  padding: 10px;
  border: 1px solid #a2832e;
  color: #a2832e;
  text-decoration: none;
  background-color: #ffffff;
}

.enter:active {
  padding: 10px;
  border: 1px solid #a2832e;
  color: #a2832e;
  text-decoration: none;
  background-color: #ffffff;
}

/* Rounded sliders */
.switch {
  position: relative;
  display: inline-block;
  width: 120px;
  height: 34px;
  float: left;
  margin-right: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

/*------ ADDED CSS ---------*/
.on {
  display: none;
}

.on,
.off {
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 12px;
  font-weight: 700;
}

input:checked + .slider .on {
  display: block;
}

input:checked + .slider .off {
  display: none;
}

/*--------- END --------*/
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* Rounded sliders */
.switch {
  position: relative;
  display: inline-block;
  width: 70px;
  height: 34px;
  float: left;
  margin-right: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ca2222;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2ab934;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(35px);
  -ms-transform: translateX(35px);
  transform: translateX(35px);
}

/*------ ADDED CSS ---------*/
.on {
  display: none;
}

.on,
.off {
  color: white;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  font-size: 12px;
  font-weight: 700;
}

input:checked + .slider .on {
  display: block;
}

input:checked + .slider .off {
  display: none;
}

/*--------- END --------*/
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.container1 .checkmark {
  top: 10px;
  left: 10px;
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 1px solid #447844;
}

input[type="radio"]:checked:after {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  top: -1px;
  left: -1px;
  border: 1px solid #6e6e6e;
  position: relative;
  background-color: #447844;
  content: "";
  display: inline-block;
  visibility: visible;
}

.modal-header {
  display: block;
  font-family: thaibevsansnew-medium !important;
  background-color: #d7b677;
  color: white;
  font-size: 1.2rem;
}

.alertMessage {
  color: #636363;
  font-size: 1rem;
  margin: 15px 0 20px 0;
}

.modal-content {
  width: 80%;
  margin: 0 auto;
  border-radius: 1rem !important;
}
