html, body {
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  font-size: 16px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, p, a, main li, span, strong, b, u, label, th, td, button {
  font-family: sukhumvitmedium, sans-serif;
  color: white;
  padding: 0;
  margin: 0;
}

.datepicker-panel li {
  font-family: sukhumvitmedium, sans-serif;
  font-size: 14px;
}

h1, .h1 { font-size: 32px; }
h2, .h2 { font-size: 30px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 24px; }
h5, .h5 { font-size: 22px; }
h6, .h6 { font-size: 20px; }
p, a, li { font-size: 16px; }
a { text-decoration: none; }

main {
  z-index: 200;

  background: url(/assets/image/bg-desktop.jpg);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: center;
  background-attachment: fixed;
}

main[data-role="dashboard"]:before {
  content: "";
  position: fixed;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.7);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.9) 100%);
}

@media screen and (max-width: 991px) {
  main {
    background: url(/assets/image/bg-mobile.jpg);
    background-repeat: no-repeat;
    background-size: 100%;
    background-position: bottom center;
    background-attachment: fixed;
  }
}

main[data-role="dashboard"] {
  padding-top: 83px;
}

@media screen and (max-width: 767px) {
  main {
    z-index: 200;
  }
}

img {
  max-width: 100%;
  vertical-align: middle;
}

.c-white { color: white !important; }
.c-black { color: black !important; }
.c-transparent { color: transparent !important; }

.c-theme { color: #E7D08C !important; }
.c-theme-2 { color: #610811 !important; }
.c-theme-3 { color: #00312F !important; }
.c-theme-4 { color: #F1AAA1 !important; }

.c-light-yellow { color: #E7D08C !important; }
.c-yellow { color: #FFD700 !important; }
.c-dark-red { color: #610811 !important; }
.c-red { color: #DA212C !important; }
.c-blue { color: #4ED8D6 !important; }
.c-navy { color: #1B5369 !important; }
.c-dark-blue { color: #381463 !important; }
.c-pink { color: #FD64FD !important; }
.c-gold { color: #DD9D18 !important; }
.c-light-blue { color: #00FFFF !important; }

.text-bold { font-weight: bold !important; }

.font-s { font-family: sukhumvitmedium, sans-serif; }
.font-capitalis { font-family: Capitalis; }

.a-left { text-align: left !important; }
.a-right { text-align: right !important; }
.a-center { text-align: center !important; }

.link {
  text-decoration: underline;
}

.link.next:after {
  content: "\e905";
  font-family: icon;

  display: inline-block;
  font-size: 0.6em;
  margin-left: 3px;
}

.link.prev:before {
  content: "\e904";
  font-family: icon;

  display: inline-block;
  font-size: 0.6em;
  margin-right: 3px;
}

.btn {
  display: inline-block;
  font-weight: bold;
  font-size: 14px;

  margin-left: auto;
  margin-right: auto;
  padding: 5px 15px;
  min-width: 120px;
  max-width: 120px;
  text-align: center;

  border: solid 2px white;
  border-radius: 20px;
  background: white;
  color: #2BC5FF;

  outline: none;
  cursor: pointer;
}

.btn.wide {
  min-width: 200px;
}

.btn.outline {
  background: transparent;
  color: #2BC5FF;
}

.btn.gold {
  border-color: #DD9D18;
  background-color: #DD9D18;
  color: white;
}

.btn.navy {
  border-color: #1B5369;
  background: #1B5369;
  color: white;
}

.btn.blue {
  border-color: #00A1DD;
  background: #00A1DD;
  color: white;
}

.btn.yellow {
  border-color: #FFD700;
  background: #FFD700;
  color: white;
}

.btn.light-yellow {
  border-color: #F2D76D;
  background: #F2D76D;
  color: white;
}

.btn.red {
  border-color: #DA212C;
  background: #DA212C;
  color: white;
}

.btn.green {
  padding: 6px 16px;
  border: none;
  background: #057773;
  background: -moz-linear-gradient(top, #057773 0%, #00312F 100%);
  background: -webkit-linear-gradient(top, #057773 0%, #00312F 100%);
  background: linear-gradient(to bottom, #057773 0%, #00312F 100%);
}

.btn.pink {
  border-color: #B954C0;
  background: #B954C0;
  color: white;
}

.btn.purple {
  border-color: #581877;
  background: #581877;
  color: white;
}

.btn.sm {
  padding: 3px 15px;
  min-width: 90px;
}

.inner {
  width: 100%;
  
  padding-top: 45px;
  padding-bottom: 45px;
}

.input {
  width: 100%;
  max-width: 350px;

  margin-left: auto;
  margin-right: auto;
}

.input label,
.input label + input {
  display: block;
}

.input label {
  font-size: 14px;
}

.input input {
  font-family: sukhumvitmedium, sans-serif;

  width: 100%;
  padding: 7px 10px;

  box-sizing: border-box;
  border-radius: 3px;
  border: none;
  outline: none;
}

.input input.error {
  border: solid 1px #DA212C;
}

.input input.error + .error {
  font-size: 12px;
  color: #DA212C;
}

.input input::placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input input:-ms-input-placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input input::-ms-input-placeholder {
  font-family: sukhumvitmedium, sans-serif;
}

.input .select2-selection {
  padding: 3px 2px;
  height: auto;
  border-radius: 3px;
  border-color: white;

  outline: none;
}

.input .select2-selection .select2-selection__rendered > span {
  font-size: 14px;
}

.input .select2-container--open .select2-selection {
  border: solid 1px #AAAAAA;
  border-bottom: none;
}

.input .select2-container--open .select2-selection .select2-selection__arrow b,
.input .select2-selection .select2-selection__arrow b {
  width: 15px;
  height: 15px;

  left: 5px;
  margin: 0;
  border-width: 0px;

  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.input .select2-container--open .select2-selection .select2-selection__arrow b:before {
  content: "\e90d";
  font-family: icon;
  font-size: 10px;

  display: inline-block;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input .select2-selection .select2-selection__arrow b:before {
  content: "\e90d";
  font-family: icon;
  font-size: 10px;
  color: black;
}

.input .select2-selection span,
.select2-dropdown li span {
  color: black;
}

.input .select2-selection span img,
.select2-dropdown li span img {
  width: 20px;
  margin-right: 10px;
}

.input.transparent input {
  background: transparent;
  border-radius: 0;
  border-bottom: solid 1px white;

  color: white;
}

.input.transparent input::placeholder {
  color: white;
}

.input.transparent input:-ms-input-placeholder {
  color: white;
}

.input.transparent input::-ms-input-placeholder {
  color: white;
}

.input.transparent .select2-selection {
  border: none;
  border-bottom: solid 1px white;
  border-radius: 0;
  background: transparent;
}

.input.transparent .select2-selection .select2-selection__arrow b:before {
  color: white;
}

.input.transparent .select2-selection span  {
  color: white;
}

.slick-dots li {
  margin: 0;
}

.slick-dots li button:before {
  font-size: 10px;
  color: white;
  opacity: 1;
}

.slick-dots li.slick-active button:before {
  color: black;
  opacity: 1;
}

.mfp-content {
  max-width: 450px;
  border-radius: 10px;
  margin: 40px 0;

  background: #8731D2;
  background: -moz-linear-gradient(top, #8731D2 0%, #DB6BB5 100%);
  background: -webkit-linear-gradient(top, #8731D2 0%, #DB6BB5 100%);
  background: linear-gradient(to bottom, #8731D2 0%, #DB6BB5 100%);
}

.popup-content {
  padding: 20px;
}

.popup-content h3 + p {
  font-size: 18px;
}

.popup-content .action {
  margin-top: 20px;
}

@media screen and (max-width: 767px) {
  .popup-content {
    padding: 20px 0;
  }
}

.error_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:red;
  margin-top:7px;
}

.alert_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:#2c40a2;
  margin-top:7px;
}

.success_msg{
  font-family: sukhumvitmedium, sans-serif;
  text-align:center;
  font-size:14px;
  color:green;
  margin-top:7px;
}
