h2 {
  font-family: 'Kanit', sans-serif ;
  color: #000;
  font-weight: 900;
  font-size: 20px;
  margin-top: 15px;
}

h3 {
  font-family: 'Kanit', sans-serif ;
  color: white;
  font-size: 20px;
  margin-top: 8px;
  margin-bottom: 15px;
}

body {
  font-family: 'Kanit', sans-serif !important;
  font-size: 17;
}

.tt {
  width: 100% !important;
  margin-bottom: 0px;
  background-color: #fff;
  padding-bottom: 3px;
}

.bgcon {
  min-width: 1200px;
  background-color: #ffc107
}

.footerbo {
  width: 100% !important;
  background-color: #fff;
  /* padding-top: 50px;
  padding-bottom: 40px; */
  font-size: 20px;
  -webkit-box-shadow: 0px -11px 7px 1px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0px -11px 7px 1px rgba(0, 0, 0, 0.16);
  box-shadow: 0px -11px 19px -5px rgba(0, 0, 0, 0.06);
}

.navbar {
  /* min-width:1200px; */
  border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

label {
  font-weight: normal !important;
}

a.action_link {
  text-decoration: none;
}

li, i {
  cursor: pointer;
}

.btn-save-back {
  /* width: 150px; */
  background-color: #FFFF01;
  height: 40px;
  color: #56460B !important;
  font-size: 20px;
  font-weight: 600;
  border-radius: 30px;
}

/* START NAVBAR CSS MODIFY*/

.menu-fixed {
  /* background-color: #343A40; */
  /* height: 55px; */
  /* color: white; */
}

.fontmenu {
  font-size: 17px;
  color : white
}

.navbar .container-fluid .navbar-header .navbar-brand {
  color: #FFF;
}

.navbar .container-fluid .navbar-header .navbar-brand.active {
  background-color: #FCF001;
  color: #000;
  font-weight:bold
}

.navbar-default .nav-modify>.dropdown>.dropdown-toggle .caret {
  margin-left:6px;
}

.navbar-default .nav-modify>.dropdown.open>.dropdown-menu>.active>a, .dropdown-menu>.active>a:focus, .dropdown-menu>.active>a:hover {
  color: #000;
  text-decoration: none;
  background-color: #FCF001;
  outline: 0;
}

.navbar-default .nav-modify>.open>a, .navbar-default .nav-modify>.open>a:focus, .navbar-default .nav-modify>.open>a:hover {
  background-color: #FFFF;
}

.navbar-default .nav-modify .dropdown-toggle {
  color: #FFF !important;
}

.navbar-default .nav-modify .dropdown.open>.dropdown-toggle {
  color: #000 !important;
}

.navbar-default .nav-modify .dropdown>.dropdown-toggle.active {
  font-weight: bold;
  background-color: #FCF001;
  color: #000 !important;
}

/* END NAVBAR CSS MODIFY*/

.btn2 {
  background-color: #FCF001;
  color: #56460B;
  display: inline-block;
  padding: 1px 10px;
  margin-bottom: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.42857143;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 15px;
}

.container2 {
  margin-top: 20px;
  width: 100% !important;
}

@media screen and (min-width: 1366px) {
  .container2 {
    margin-top: 20px;
    width: 90% !important;
  }
}

@media screen and (min-width: 1700px) {
  .container2 {
    margin-top: 20px;
    width: 80% !important;
  }
}

.border {
  background-color: #ff00005c !important;
  /* border-radius: 10px;
  border: 6px solid red !important;
  margin-bottom: 10; */
}

.border-health {
  border-radius: 10px;
  border: 1px solid red !important;
  margin-bottom: 10;
}

.tableMain2 td, .tableMain2 th {
  border: 5px solid #fff;
  height: 35px;
  padding: 5px;
}

.tableMain2 th {
  background-color: #82CA9C;
  font-weight: bold;
  font-size: 17;
}

.tableMain2 td {
  background-color: #EBEBEB;
  vertical-align: top;
  font-size: 17;
}


.tableMain-school td, .tableMain-school th {
  border: 3px solid #fff;
  height: 35px;
  padding: 5px;
}

.tableMain-school th {
  background-color: #EFE7FF;
  font-weight: bold;
  font-size: 17;
}

.tableMain-school td {
  background-color: #F4F2F2;
  vertical-align: top;
  font-size: 17;
}

.card-visithome {
  font-size: 18px;
  margin-top: -15px;
  background-color: #3CB879;
  padding: 60px 60px !important;
}

.card-sdq {
  font-size: 18px;
  margin-top: -38px;
  background-color: #3CB879;
  padding: 70px 60px 30px 60px!important;
}

.font17 {
  font-size: 17px;
}

/* * {
  user-select: none;
} */

*:focus {
  outline: none;
}



.brd {
  border: 1px solid #e2eded;
  border-color: #eaf1f1 #e4eded #dbe7e7 #e4eded;
}

#info {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  color: #2d3667;
  font-size: 16px;
  text-align: center;
  padding: 14px;
  background-color: #f3f9f9;
}

#app-cover {
  position: absolute;
  top: -90;
  right: 10;
  /* left: 0; */
  width: 200px;
  height: 42px;
  margin: 100px auto 0 auto;
}

#select-button {
  position: relative;
  /* height: 16px; */
  padding: 12px 14px;
  background-color: #5b9cde;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

#options-view-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

#selected-value {
  font-size: 16px;
  line-height: 1;
  margin-right: 26px;
}

.option i {
  width: 16px;
  height: 16px;
}

.option,
.label {
  color: #2d3667;
  font-size: 16px;
}

#chevrons {
  position: absolute;
  top: 0;
  right: 10;
  bottom: 0;
  width: 12px;
  padding: 9px 25px;
  /* z-index: 3; */
}

#chevrons i {
  display: block;
  height: 100%;
  color: #fff;
  font-size: 20px;
  text-align: right;
}

#options-view-button:checked+#select-button #chevrons i {
  color: #2d3667;
}

.options {
  position: absolute;
  left: 0;
  width: 250px;
}

#options {
  position: absolute;
  top: 42px;
  right: 0;
  left: 0;
  width: 199px;
  margin: 0 auto;
  background-color: #fff;
  border-radius: 4px;
  z-index: 2;
}

#options-view-button:checked~#options {
  border: 1px solid #e2eded;
  border-color: #eaf1f1 #e4eded #dbe7e7 #e4eded;
}

.option {
  position: relative;
  line-height: 1;
  transition: 0.3s ease all;
  z-index: 2;
}

.option i {
  position: absolute;
  left: 14px;
  padding: 0;
  display: none;
}

#options-view-button:checked~#options .option i {
  display: block;
  padding: 12px 0;
}

.label {
  display: none;
  padding: 0;
  text-align: unset;
  margin-left: 27px;
}

#options-view-button:checked~#options .label {
  display: block;
  padding: 12px 17px;
}

.s-c {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
}

.s-c.top {
  top: 0;
}

.s-c.bottom {
  bottom: 0;
}

.s-c {
  position: absolute;
  right: 0;
  left: 0;
  width: 100%;
  height: 50%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.s-c:hover~i {
  color: #fff;
  opacity: 0;
}

.s-c:hover {
  height: 100%;
  z-index: 1;
}

.s-c.bottom:hover+i {
  bottom: -25px;
  animation: moveup 0.3s ease 0.1s forwards;
}

.s-c.top:hover~i {
  top: -25px;
  animation: movedown 0.3s ease 0.1s forwards;
}

@keyframes moveup {
  0% {
    bottom: -25px;
    opacity: 0;
  }

  100% {
    bottom: 0;
    opacity: 1;
  }
}

@keyframes movedown {
  0% {
    top: -25px;
    opacity: 0;
  }

  100% {
    top: 0;
    opacity: 1;
  }
}

.label {
  transition: 0.3s ease all;
}

.opt-val {
  position: absolute;
  left: 14px;
  width: 180px;
  height: 21px;
  opacity: 0;
  background-color: #fff;
  transform: scale(0);
}

.option input[type="radio"]:checked~.opt-val {
  opacity: 1;
  transform: scale(1);
}

.option input[type="radio"]:checked~i {
  top: 0;
  bottom: auto;
  opacity: 1;
  animation: unset;
}

.option input[type="radio"]:checked~i,
.option input[type="radio"]:checked~.label {
  color: #fff;
}

.option input[type="radio"]:checked~.label:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

#options-view-button:not(:checked)~#options .option input[type="radio"]:checked~.opt-val {
  top: -30px;
}

.option:nth-child(1) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
  border-radius: 4px 4px 0 0;
}

.option:nth-child(1) input[type="radio"]:checked~.opt-val {
  top: -31px;
}

.option:nth-child(2) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
}

.option:nth-child(2) input[type="radio"]:checked~.opt-val {
  top: -71px;
}

.option:nth-child(3) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
}

.option:nth-child(3) input[type="radio"]:checked~.opt-val {
  top: -111px;
}

.option:nth-child(4) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
}

.option:nth-child(4) input[type="radio"]:checked~.opt-val {
  top: -151px;
}

.option:nth-child(5) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
}

.option:nth-child(5) input[type="radio"]:checked~.opt-val {
  top: -191px;
}

.option:nth-child(6) input[type="radio"]:checked~.label:before {
  background-color: #6993a0;
  border-radius: 0 0 4px 4px;
}

.option:nth-child(6) input[type="radio"]:checked~.opt-val {
  top: -231px;
}

.option .fa-codepen {
  color: #6993a0;
}

.option .fa-dribbble {
  color: #6993a0;
}

.option .fa-behance {
  color: #6993a0;
}

.option .fa-hackerrank {
  color: #6993a0;
}

.option .fa-stack-overflow {
  color: #6993a0;
}

.option .fa-free-code-camp {
  color: #6993a0;
}

#option-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 40px;
  transition: 0.3s ease all;
  z-index: 1;
  display: none;
}

#options-view-button:checked~#options #option-bg {
  display: block;
}

.option:hover .label {
  color: #fff;
}

.option:nth-child(1):hover~#option-bg {
  top: 0;
  background-color: #6993a0;
  border-radius: 4px 4px 0 0;
}

.option:nth-child(2):hover~#option-bg {
  top: 40px;
  background-color: #6993a0;
}

.option:nth-child(3):hover~#option-bg {
  top: 80px;
  background-color: #6993a0;
}

.option:nth-child(4):hover~#option-bg {
  top: 120px;
  background-color: #6993a0;
}

.option:nth-child(5):hover~#option-bg {
  top: 160px;
  background-color: #6993a0;
}

.option:nth-child(6):hover~#option-bg {
  top: 200px;
  background-color: #6993a0;
  border-radius: 0 0 4px 4px;
}

#ytd-url {
  display: block;
  position: fixed;
  right: 0;
  bottom: 0;
  padding: 10px 14px;
  margin: 20px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  background-color: #143240;
  border-radius: 4px;
  box-shadow: 0 10px 20px -5px rgba(20, 50, 64, 0.76);
}

.redstars {
  color: red;
}

#showListschool {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 3 คอลัมน์ */
  gap: 10px; /* ระยะห่างระหว่างช่อง */
  padding: 10px;
}

#areaSelected {
  float: right;
  height: 40px;
  width: 100%;
}

.h34 {
  height: 34px !important;
}

.select2-selection {
  height: 34px !important;
}

.select2-selection__rendered {
  font-family: 'Kanit', sans-serif !important;
  font-size: 14 !important;
  line-height: 32px !important;
  padding-left: 15px !important;
}

.select2-selection__arrow {
  top: 3px !important;
}

.select2-results__option  {
  font-family: 'Kanit', sans-serif !important;
  font-size: 14 !important;
}

.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.card-logo {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

/* .card-logo:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 1);
} */

.img-new-logo {
    /* width: 100px;
    height: 100px; */
    object-fit: contain;
}
