@import url(./icons.css);
@import url(https://dev-songkran.github.io/CDN/fonts.min.css);
@import url(https://fonts.googleapis.com/css?family=Kanit:300|400);

/*
#61af0d
*/
/* html {
  -webkit-filter: grayscale(80%);
  filter: grayscale(80%);
} */
body {
  font-size: 1rem;
  min-width: 1340px;
  /*background-image: url(../images/bgfix.jpg);*/
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-color: #6ecbf8;
}

header {
  height: 685px;
  background-image: url(../images/head.png);
  background-position: 50% 50%;
  background-repeat: no-repeat;
}

header a:hover {
  text-decoration: none;
}

header a .sitaname {
  font-family: Kanit;
  font-weight: 300;
}

header a .sitaname h4 {
  font-size: 38px;
}

header a .sitaname h2 {
  font-size: 90px;
  line-height: 0.7;
}

header a .sitaname h4,
header a .sitaname h2 {
  text-shadow: 1px 1px 7px rgba(0, 0, 0, 0.7);
}

header .nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-top: 70px;
}

header .nav li {
  height: 60px;
  width: 132px;
  background-image: url(../images/nav01.png);
  margin: 0 -11px;
  transition: all 0.2s ease-in-out;
  position: relative;
}

header .nav li:nth-child(1) {
  z-index: 5;
}

header .nav li:nth-child(2) {
  z-index: 4;
}

header .nav li:nth-child(3) {
  z-index: 3;
}

header .nav li:nth-child(4) {
  z-index: 2;
}

header .nav li:nth-child(5) {
  z-index: 1;
}

header .nav li a {
  display: block;
  font-family: Kanit;
  font-weight: 300;
  text-align: center;
  line-height: 60px;
  color: #fff;
  transition: all 0.2s ease-in-out;
  font-size: 14px;
}

header .nav li:hover {
  background-image: url(../images/nav02.png);
}

header .nav li:hover a {
  color: #0056b3;
}

footer {
  background-image: url(../images/footeredit.png);
  height: 815px;
  background-position: center;
  padding-top: 550px;
  color: #fff;
  font-family: Kanit;
}

footer p {
  font-weight: 300;
  margin-bottom: 0;
}

.container {
  min-width: 1340px;
}

.container-1200 {
  min-width: 1200px;
  max-width: 1200px;
}

.container-fluid {
  min-width: 1340px;
}

.person_index {
  position: absolute;
  bottom: -97px;
  left: 0;
  right: 0;
  display: block;
  margin: 0 auto;
}

.max-295 {
  max-width: 295px;
}

.max-905 {
  max-width: 905px;
}

.menu .topic_menu {
  height: 126px;
  background-image: url(../images/tabL.png);
  text-align: center;
  color: #fff;
  font-family: Kanit;
  line-height: 149px;
  font-weight: 300;
  font-size: 20px;
  background-position: center;
  background-repeat: no-repeat;
}

.menu .person2 {
  margin-top: -270px;
}

.menu .person2 .flag_person {
  background: #ffe500;
  color: royalblue;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
}

.menu .person1 .flag_person {
  background: #ffe500;
  color: royalblue;
  text-align: center;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
}

.menu .person1 {
  margin-top: 0px;
}

.menu .menu_list-item {
  margin: 0 auto;
  display: block;
  margin-bottom: 15px;
  padding: 10px 12px;
  border-radius: 40px;
  background: #ffffff;
  color: #0056b3;
  font-family: Kanit;
  max-width: 225px;
  transition: all 0.2s ease-in-out;
  text-align: center;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.4);
}

.menu .menu_list-item:hover {
  text-decoration: none;
  max-width: 265px;
  background: #0056b3;
  color: #fff;
}

.menu .bn,
.menu .bn-01,
.menu .bn-02 {
  display: block;
  color: #fff;
  font-family: Kanit;
  text-align: center;
  transition: all 0.2s;
}

.menu .bn:hover,
.menu .bn-01:hover,
.menu .bn-02:hover {
  text-decoration: none;
  color: #ffe500;
  font-size: 18px;
}

.menu .bn-01 {
  height: 90px;
  background-image: url(../images/btn01.png);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px 0 40px;
}

.menu .bn-02 {
  height: 90px;
  background-image: url(../images/btn02.png);
  line-height: 82px;
}

.slider {
  width: 100%;
  height: 457px;
}

.slider img {
  height: 457px;
  width: 100%;
  object-fit: cover;
}

.radius {
  border-radius: 40px;
}

.dashed-bottom {
  border-bottom: 1px dashed #ddd;
  padding-bottom: 5px;
}

.dropdown .dropdown-item {
  color: #007bff;
  height: auto;
  line-height: 1;
  text-align: left;
  padding: 10px 12px;
}

.pin {
  position: absolute;
  top: 37px;
  width: 110px;
  left: 266px;
  z-index: 10;
  animation: downup 1s ease-out;
  animation-iteration-count: infinite;
  animation-delay: 0.8s;
}

@keyframes downup {
  0% {
    transform: translateY(10px);
  }

  50% {
    transform: translateY(0px);
  }

  100% {
    transform: translateY(10px);
  }
}

.pulse {
  background: rgba(255, 0, 0, 0.44);
  border-radius: 50%;
  height: 14px;
  width: 14px;
  position: absolute;
  margin: 11px 0px 0px -12px;
  -webkit-transform: rotateX(55deg);
  -moz-transform: rotateX(55deg);
  -o-transform: rotateX(55deg);
  -ms-transform: rotateX(55deg);
  transform: rotateX(55deg);
  bottom: 15px;
  left: 326px;
  z-index: 5;
}

.pulse:after {
  content: "";
  border-radius: 50%;
  height: 40px;
  width: 40px;
  position: absolute;
  margin: -13px 0 0 -13px;
  -webkit-animation: pulsate 1s ease-out;
  -moz-animation: pulsate 1s ease-out;
  -o-animation: pulsate 1s ease-out;
  -ms-animation: pulsate 1s ease-out;
  animation: pulsate 1s ease-out;
  -webkit-animation-iteration-count: infinite;
  -moz-animation-iteration-count: infinite;
  -o-animation-iteration-count: infinite;
  -ms-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  opacity: 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -webkit-box-shadow: 0 0 1px 2px #89849b;
  box-shadow: 0 0 1px 2px #d82a2a;
  -webkit-animation-delay: 1.1s;
  -moz-animation-delay: 1.1s;
  -o-animation-delay: 1.1s;
  -ms-animation-delay: 1.1s;
  animation-delay: 1.1s;
}

@-moz-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -o-transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    transform: scale(0.1, 0.1);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }

  50% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }

  100% {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -o-transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    transform: scale(0.1, 0.1);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }

  50% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }

  100% {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}

@-o-keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -o-transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    transform: scale(0.1, 0.1);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }

  50% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }

  100% {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}

@keyframes pulsate {
  0% {
    -webkit-transform: scale(0.1, 0.1);
    -moz-transform: scale(0.1, 0.1);
    -o-transform: scale(0.1, 0.1);
    -ms-transform: scale(0.1, 0.1);
    transform: scale(0.1, 0.1);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }

  50% {
    opacity: 1;
    -ms-filter: none;
    filter: none;
  }

  100% {
    -webkit-transform: scale(1.2, 1.2);
    -moz-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
  }
}

.esv__button {
  width: 150px !important;
  border-radius: 40px !important;
  height: 30px !important;
  line-height: 10px !important;
}
.bg_icon {
  border-radius: 50%;
  background-color: white;
  padding: 3px;
  transition: transform 0.2s; /* Animation */
}

.space-x-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.bg_icon:hover {
  transform: scale(1.2);
}
