body {
  background: #fff !important;
  overflow-x: hidden;
}

* {
  font-family: 'Sarabun', sans-serif !important;
  /* color: #333; */
}

.fa {
  font-family: 'FontAwesome', sans-serif !important;
  margin-top: -15px !important;
}

h1,
h2,
h3,
h4,
h5,
h3 span {
  font-family: 'Sarabun', sans-serif !important;
  font-weight: bold !important;
  color: #333
    /*6d0eb1;*/
}

#banner {
  margin: 15px;

}

#banner .block {
  text-align: center;
  padding: 10px;
}

#banner .block {
  font-size: 1.4vw;
  color: #fff;
  font-family: 'Sarabun', sans-serif !important;
}

#banner .number {
  display: block;
  text-align: center;
  width: 70%;
  margin: 0 auto;
  border-radius: 1em;
  background-color: rgba(0, 0, 0, 0.1);
  color: #fff;
  margin-top: 5px;
  font-size: 2vw;
  font-family: 'Sarabun', sans-serif !important;

}

#banner img {
  width: 54px;
  display: block;
  margin: 0 auto;
  fill: "white";
  margin-bottom: 5px;
}

#banner .title {
  font-size: 1.5vw;
  font-family: 'Sarabun', sans-serif !important;
  font-weight: bold;

}

#banner .row,
.cover>div {
  padding: 10px 0 0 10px;

  border: solid #d5d5d5 1px;
  -moz-border-radius: 0.4em;
  border-radius: 0.4em;
  box-shadow: 0 0 4px #ccc;
  background-color: #fff;
}

#banner .col-lg-2 {
  padding-left: 0 !important;
  margin-bottom: 10px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: solid 1px #ccc;
  background-image: none;

}

/* Remove IE arrow */
select::-ms-expand {
  display: none;
}

/* Custom Select */
.select {
  position: relative;
  display: flex;
  width: calc(100% - 10px);
  height: 3em;
  line-height: 3;
  overflow: hidden;
  border-radius: .25em;
  margin-bottom: 10px;
}

select {
  flex: 1;
  padding: 0 .5em;
  color: #333;
  cursor: pointer;
}

/* Arrow */
.select::after {
  content: '\25BC';
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 1em;
  background: #34495e;
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}

/* Transition */
.select:hover::after {
  color: #f39c12;
}

.flex-contrainer {
  display: flex;
  justify-content: space-between;
}

.flex-contrainer div {
  flex: 0 1 20%;
}

.flex-contrainer div:not(:last-child) {
  margin-right: 15px;
}

.block {
  border-radius: 4px;
}


.block.lv1 {
  background-color: #208ffa;
}

.block.lv2 {
  background-color: #0eaa6a;
}

.block.lv3 {
  background-color: #efdf57;
}

.block.lv4 {
  background-color: #ffaa4f;
}

.block.lv5 {
  background-color: #ec433c;
}

.fullH {
  height: 100%;
}






#header {
  padding: 0 15px 0 20px;
  background-color: #fff;
  /* box-shadow: 0 1px 10px 0 rgba(32,33,36,.28);*/
}

#header h3 {
  font-family: 'Sarabun', sans-serif !important;
  font-weight: bold;
  font-size: 1.6vw;
  color: #00622e;
  margin-top: -5px;
  /*text-shadow: 2px 1.5px #17838f;*/
}

#header h3:first-child {
  margin-top: 10px;
}

.btn-custom {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 1vw;
  background-color: #3a4ed5;
  color: #fff;
  border-radius: 20px;
  padding: 5px 40px;
  margin-top: 10px;
  transition: opacity 0.22s ease 0.24s, transform 0.22s ease 0.24s, color 0.22s ease 0s;
}

.btn-custom:active,
.btn-custom:hover {
  color: #ffffff;
  background: #030a6e;
}

hr {
  overflow: hidden;
  clear: both;
}

.top-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 60px;
  margin: 0;
}

.top-nav * {
  font-family: 'Sarabun', sans-serif !important;
  font-size: 1.2vw;
  font-weight: bold;
}

.top-nav a {
  color: #333;
}

.top-nav li {
  position: relative;
}

.top-nav>li {
  display: inline-block;
  padding: 5px 15px;
}

.dropbtn {
  padding: 16px;
  font-size: 1.1vm;
  border: none;
  background-color: transparent;
}

.submenu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 120px;
  margin-top: 5px;
  margin-left: 15px;
  padding: 5px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 99;
}

.submenu li {
  display: block;
  padding: 5px;
  line-height: 20px;

}

.submenu li:first-child {
  border-bottom: solid 1px #efefef;
}

.submenu a {
  padding: 2px;
  text-decoration: none;
  display: block;
  font-size: 0.8vm !important;
}

.top-nav li:hover .submenu {
  display: block;
}


.top-nav li>a::before {
  position: absolute;
  bottom: 0;
  width: 0;
  height: 3px;
  content: "";
  -webkit-transition: .3s;
  transition: .3s;
  background: #3a4ed5;
}

.top-nav li:hover>a:before {
  width: 70%
}

.top-nav li:hover .fa {
  color: #3a4ed5 !important;
}

.top-nav li.active>a {
  color: #3a4ed5 !important;
}

.top-nav li.active>a:before {
  width: 70%
}

#footer {
  /* margin-top: 20px; */
  /*background-color:#111a3a;
	29293a;*/
  text-align: center;
  /* color: #fff; */
  /* padding: 20px; */
  width: 100%;
}

#cover {
  width: 70%;
  margin: 0 auto;
  min-height: 605px;
}

.cover div {
  padding: 15px;
}

table {
  border: 0;
}

tbody tr:hover {
  background-color: #f2f3f9;
}

thead th {
  border-bottom: solid 1px #000 !important;
  border-top: 0;
}

th,
td {
  background-color: transparent !important;
  border-left: 0;
  border-right: 0;
}

#cover h3 {
  margin-top: 30px;
  margin-bottom: 30px;
  color: #6d0eb1;
}

#cover h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.5vw;
  overflow: hidden;
}

.form-input,
.select-dash {
  box-shadow: none;
  display: block;
  padding: 10px 10px 10px 10px;
  color: #29293a;
  background-color: #f2f3f9;
  background-image: none;
  border: 0px solid #f2f3f9;
  border-radius: 35px;
  -webkit-appearance: button;
  -moz-appearance: button;
  appearance: button;
  text-align: center;
  text-align-last: center;
}

.select-dash {
  background-color: #f2f3f9;
  border: 2px solid #F0542D;
  border-radius: 0;
}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
}


.resultPercent *,
.resultPercent3 * {
  font-size: 1.2vw !important;
  color: #fff;
}

.flex div {
  display: inline-block;
  border-radius: 20px;
  border: solid 1px #efefef;
  padding: 30px 0;
  width: 20%;
  text-align: center;
}

.flex div:not(:first-child) {
  margin-left: 20px;
}

.resultPercent3 div {
  width: 33%;
}

.dash-cover {
  margin-top: 20px;
  border-radius: 9px;
  padding: 0 20px 20px 20px;
  text-align: left;
  font-size: 15px;
  color: #29293a;
  background: #f2f3f9;
  border: 2px solid rgba(131, 131, 134, 0.1);
  /*dashed*/
}
