*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html,
body {
  height: 100%;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  font-size: 18px;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  overflow-wrap: break-word;
}

ul li {
  list-style: none;
  transition: all 0.3s ease 0s;
}

a {
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

#root,
#__next {
  isolation: isolate;
}

.container-box {
  max-width: 786px;
  width: 100%;
}

nav {
  height: 50px;
  border-top: 3px solid rgb(32, 88, 194);
  border-bottom: 3px solid rgb(32, 88, 194);
}

.logo img {
  height: 45px;
}

.navlink {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 45px;
  padding: 0 16px;
}

.navlink:nth-child(1):hover {
  background-color: #ffd400;
}
.navlink:nth-child(2):hover {
  background-color: #30b3bf;
}
.navlink:nth-child(3):hover {
  background-color: #3640b3;
}
.navlink:nth-child(4):hover {
  background-color: #09f;
}
.navlink:nth-child(5):hover {
  background-color: #001;
}
.bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.navlink a {
  color: black;
}
.navlink a:hover {
  color: white;
}
.thai-eng a {
  color: #001;
}
.bg-text-date {
  border-right: 2px solid white;
}
.text-icon {
  color: white;
}
.text-icon:hover {
  color: #09f;
  text-decoration: underline;
}
.image-center {
  max-width: 450px;
  margin: 2.4rem auto;
  text-align: center;
}
.bg-icon {
  display: flex;
}
.size {
  font-size: 18px;
}
.image-blur {
  filter: blur(10px);
  cursor: pointer;
}
.remove-blur {
  filter: blur(0);
  cursor: default;
}

.list li {
  list-style-type: disc;
}
.yellow-box {
  background: rgb(255, 255, 130);
  padding: 1rem;
  border: 3px solid red;
}
.yellow-box p {
  margin: 0;
}

.order-form {
  max-width: 600px;
  padding: 20px;
  margin: 20px auto;
  background: #fff url(../images/formbg.jpg) no-repeat;
  background-size: 100% 100%;
}
.order-form .top {
  padding-top: 100px;
  background: url(../images/med.png) top center no-repeat;
  background-size: 100px auto;
}
.frame {
  margin: 45px 10px 25px;
  border: 2px solid #0299ff;
  padding: 10px;
}
.frame p {
  margin: 0;
}
.order-form label {
  width: 230px;
  display: block;
  margin: 0 auto;
  padding: 5px 0;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
}
.order-form input {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 0 auto;
  padding: 15px;
  border-radius: 3px;
  border: 2px solid #e9d7dc;
  font-size: 21px;
}
.btn {
  padding: 1rem 1.5rem;
  margin: 20px auto;
}
.timer {
  display: inline-block;
  background: url(../images/timerIcon2.png) no-repeat;
  padding-left: 14px;
  color: red;
  font-weight: 700;
  line-height: 15px;
}
.order-form .timelimit {
  font-size: 14px;
  margin: 0 0 10px;
}
.title::after {
  display: block;
  content: "";
  margin: 15px 0 0;
  width: 62px;
  height: 5px;
  background: url(../images/separator_red.png) center no-repeat;
}
.vote_section {
  padding: 30px 0 0;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}
.vote_section .vote_block {
  padding: 20px;
  background: #fff;
  -webkit-box-shadow: 0 0 27px rgb(2 2 2 / 10%);
  -moz-box-shadow: 0 0 27px rgba(2, 2, 2, 0.1);
  box-shadow: 0 0 27px rgb(2 2 2 / 10%);
}
.vote_section .questions_list {
  margin: 0 0 22px;
}
.vote_section .question_item {
  margin: 0 0 20px;
  height: 50px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  background: #f0f0f0;
  -webkit-box-shadow: 0 0 0 1px #dedede inset;
  -moz-box-shadow: 0 0 0 1px #dedede inset;
  box-shadow: 0 0 0 1px #dedede inset;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.vote_section .question_item .question_text {
  float: left;
  padding: 0 0 0 20px;
  line-height: 50px;
  position: relative;
}
.vote_section .question_item .percents {
  float: right;
  padding: 0 20px 0 0;
  font-weight: 700;
  line-height: 50px;
  text-align: right;
  position: relative;
}
.vote_section .question_item .line {
  height: 50px;
  position: absolute;
  top: 0;
  left: 0;
}
.vote_section .questions_list.active .question_item .line {
  display: block;
}
.vote_section .question_item:nth-child(1) .line {
  background: #7ac700;
}
.vote_section .question_item:nth-child(2) .line {
  background: #e43315;
}
.vote_section .question_item:nth-child(3) .line {
  background: #f5ca16;
}
.vote_section .questions_list.active .question_item .percents {
  display: block;
}
.vote_section .voice_count {
  text-align: center;
}
.vote_section .voice_count b {
  margin: 0 0 0 5px;
  padding: 3px 5px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  background: #7ac700;
  color: #fff;
}
#comment-component-text #comment_num {
  border-bottom: 1px dashed #365398;
  color: #365398;
  font-weight: bold;
}
#comment-component-text .text-cmt {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  margin: 0 -5px;
}
#comment-component-text .text-cmt .form-comment_img {
  padding: 0 5px;
  width: 80px;
}
#comment-component-text img {
  max-width: 100%;
  line-height: 1;
  display: inline-block;
  border-radius: 50%;
}
#comment-component-text .form-comment_content {
  width: 100%;
  padding: 0 5px;
}
#comment-component-text .your-name {
  border: 1px solid #ddd;
  padding: 5px 10px;
  width: auto !important;
  margin-bottom: 0;
  font-family: Arial, sans-serif;
}
#comment-component-text .text-content {
  width: 100%;
  min-height: 40px;
  display: block;
  margin: 15px 0;
  padding: 10px;
  resize: none;
  border: 1px solid #ddd;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
.comment-btn {
  outline: none;
  border: none;
  padding: 4px 6px;
}
#comment-component-text .comment {
  border-bottom: 1px dashed #ccc;
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  margin: 0 -10px;
}
#comment-component-text .comment-image {
  flex-grow: 0;
  padding: 0 10px;
  width: 70px;
  height: 50px;
  border-radius: 50%;
}
#comment-component-text .comment-content {
  padding: 0 10px;
  width: 100%;
}
#comment-component-text .comment-content .comment-name {
  margin-top: 0;
  color: #365398;
  font-size: 18px;
  text-align: left;
  text-align-last: left;
  font-weight: 700;
}
#comment-component-text .comment .comment-text {
  margin: 8px 0;
  font-size: 16px;
  line-height: 1.4;
}
#comment-component-text .comment-details {
  font-size: 14px;
  color: #365398;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 4px;
}
#comment-component-text .comment-details a,
#comment-component-text .comment-details span {
  text-decoration: none;
  color: #365398;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  cursor: pointer;
}
#comment-component-text .comment-details img {
  width: 15px;
  border-radius: 0;
}
#comment-component-text .comm-image img {
  border-radius: 0;
  width: 100%;
  max-width: 250px;
  margin: 10px 0;
}

.bottom-btn {
  font-size: 24px;
  text-align: center;
  margin: 20px auto;
  display: block;
  padding: 1.6rem;
  color: white;
  background: #365398;
  max-width: 375px;
  border-radius: 10px;
  font-weight: 700;
  animation: 1s pulse infinite alternate ease-in-out;
}
.footer {
  background-color: #4c4c4c;
  padding: 0px 0 2px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center;
}
.footer .text-footer,
.footer .text-footer p {
  font-size: 14px;
}

@keyframes pulse {
  from {
    transform: scale(0.7);
  }
  to {
    transform: scale(0.9);
  }
}

@media screen and (max-width: 625px) {
  p,
  .size {
    font-size: 16px;
  }
  .navlink {
    display: none;
  }
  .bar-menu {
    display: flex;
    justify-content: start;
  }
  .bg-icon {
    display: none;
  }
  .bottom-btn {
    font-size: 20px;
    max-width: 320px;
  }
}
