body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Bai Jamjuree", sans-serif;
}
*{
  font-family: "Bai Jamjuree", sans-serif;
}
.header {
  background-image: url('https://ratchakitcha.soc.go.th/wp-content/themes/soc/images/banner06.jpg'); /* ใส่ URL รูปภาพของคุณ */
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  color: white;
  text-align: center;
}

.logo {
  width: 150px; /* ปรับขนาดโลโก้ได้ตามต้องการ */
  margin-bottom: 20px;
}

.header h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.search-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.search-container input {
  padding: 10px;
  width: 300px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  margin-right: 10px;
}

.search-container button {
  padding: 10px;
  border: none;
  border-radius: 5px;
  background-color: white;
  color: #333;
  font-size: 1rem;
  cursor: pointer;
}

.search-container button i {
  font-size: 1.2rem;
}



.p-t-10 {
    padding-top: 10px !important;
}
.p-b-0 {
    padding-bottom: 0 !important;
}
section {
    padding: 80px 0;
    position: relative;
    z-index: auto;
    width: -webkit-fill-available;
    overflow: hidden;
    z-index: 1;
    background-color: #fff;
}

@media (min-width: 768px) {
    .container {
        max-width: 750px;
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.bg-light {
    background-color: #f8f7f4 !important;
}
.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11, .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

.announce100 {
    position: relative;
}
.p-t-40 {
    padding-top: 40px !important;
}
.p-b-20 {
    padding-bottom: 20px !important;
}
.m-b-0 {
    margin-bottom: 0 !important;
}
.announce100:after, .announce100:before {
    clear: both;
    content: " ";
    display: table;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.no-padding {
    padding: 0 !important;
}
@media (min-width: 768px) {
    .col-md-9 {
        -ms-flex: 0 0 75%;
        flex: 0 0 75%;
        max-width: 75%;
    }
}

@media (min-width: 768px) {
    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.seperator, .separator {
    color: #ad9e71;
    width: 100%;
    margin: 20px auto;
    overflow: hidden;
    text-align: center;
    line-height: 1.2em;
}

.p-b-20 {
    padding-bottom: 20px !important;
}
.post-thumbnail-list {
    position: relative;
}
.announce100:after, .announce100:before {
    clear: both;
    content: " ";
    display: table;
}

element.style {
    font-size: 1.78571em;
}
.top10 {
    position: relative;
    top: 10px;
}
.font-red {
    color: #792024 !important;
}
h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
}

.no-padding {
    padding: 0 !important;
}
@media (min-width: 768px) {
    .col-md-3 {
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

element.style {
}
select.form-control:not([size]):not([multiple]) {
    height: auto;
}
select.form-control:not([size]):not([multiple]) {
    height: calc(2.25rem + 2px);
}
.search-slt {
    background-color: #fff !important;
}
.bor-l-3 {
    border: solid 3px #efece3 !important;
}
.search-slt {
    display: block;
    width: 100%;
    line-height: 1.5;
    color: #000;
    background-color: #f9f7f4;
    height: calc(3rem + 10px) !important;
    border-radius: 0;
    margin: 5px 0;
}
.form-control, input, select {
    border-radius: 0;
    box-shadow: none;
    height: auto;
    line-height: 1.33333;
    padding: 12px 18px;
    border-radius: 0;
    border: 3px solid #efece3;
    transition: all .3s ease;
    font-size: 1rem;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
select {
    width: 100%;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url(https://i.postimg.cc/3r0KMQx5/dropdown-arrow.png);
    background-repeat: no-repeat;
    background-position: right center;
}
button, select {
    text-transform: none;
}
.seperator::before, .seperator::after, .separator::before, .separator::after {
    border-bottom: 3px solid #efece3;
    content: "";
    display: inline-block;
    height: .65em;
    margin: 0 -4px 0 -100%;
    vertical-align: top;
    width: 50%;
}
.seperator::after, .separator::after {
    margin: 0 -100% 0 0;
}
.seperator::before, .seperator::after, .separator::before, .separator::after {
    border-bottom: 3px solid #efece3;
    content: "";
    display: inline-block;
    height: .65em;
    margin: 0 -4px 0 -100%;
    vertical-align: top;
    width: 50%;
}

.post-thumbnail-list .post-thumbnail-entry .post-thumbnail-content a {
    font-size: 16px;
    font-weight: 400;
    margin: -4px 0 0;
}
.post-thumbnail-entry .post-thumbnail-content>a {
}
.post-thumbnail-content a {
    color: #404041;
}
.announce100 a {
    font-size: 15px;
    color: #231f20;
    font-weight: 400;
}
.m-b-10 {
    margin-bottom: 10px !important;
}


.post-thumbnail-entry .post-thumbnail-content>a.post-copy {
    color: #792024;
    margin-left: 4px;
}
.post-thumbnail-list .post-thumbnail-entry .post-thumbnail-content a {
    font-size: 16px;
    font-weight: 400;
    margin: -4px 0 0;
}

.post-thumbnail-entry .post-thumbnail-content .post-date, .post-thumbnail-entry .post-thumbnail-content .post-category {
    color: #792024;
    font-size: 14px;
}

.post-thumbnail-entry .post-thumbnail-content .post-date~.post-category {
    margin-left: 6px;
}
.sidebar .widget .post-thumbnail-entry .post-thumbnail-content .post-date, .post-thumbnail-entry .post-thumbnail-content .post-category {
    font-size: 14px;
}
.post-thumbnail-entry .post-thumbnail-content .post-date, .post-thumbnail-entry .post-thumbnail-content .post-category {
    color: #792024;
    font-size: 14px;
}
