/* Global */
@font-face {
    font-family: IBMPlexSansThai;
    src: url(IBMPlexSansThai-Regular.ttf);
}

@font-face {
    font-family: IBMPlexSansThaiLooped;
    src: url(IBMPlexSansThaiLooped-Regular.ttf);
}

html, body {
    font-family: IBMPlexSansThai;
    font-size: 1em;
    margin: 0px;
    padding: 0px;
    line-height: 1.5em;
    scroll-behavior: smooth;
}

.body-wrapper {
    color: #4D4D4D;
    font-size: 1em;
    background-color: #F3FAF3;
}

/* User sub-system */

.flash-message {
    background-color: #ffffff;
    border-bottom: 2px solid #E6E6E6;
}

.flash-message p {
    color: #62C161;
    text-align: center;
    padding: 1em;
}

.loggedin-only {
    color: #808080;
    background-color: #FFFFFF;
    padding: 5px;
}

.login-wrapper {
    margin: auto;
    max-width: 400px;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.login-wrapper h1, .login-wrapper p {
    text-align: center;
}

/* Content */
p, ul, ol {
    font-family: IBMPlexSansThaiLooped;
}

h1 {
    color: #000000;
    -webkit-text-stroke: 1px #000000;
    font-size: 2.3em;
    line-height: 1.3em;
    font-weight: bolder;
}

h2 {
    -webkit-text-stroke: 1px #4d4d4d;
    font-size: 1.8em;
    line-height: 1.3em;
}

h3 {
    font-size: 1.5em;
    line-height: 1.3em;
}

h4 {
    font-size: 1.2em;
    line-height: 1.3em;
}

h4.service {
    font-size: 1.2em;
    line-height: 1.3em;
    margin-bottom: 0em;
}

img {
    max-width: 60%;
    height: auto;
    border-radius: 8px;
}

hr {
    border: 1px solid #e6e6e6;
}

.spacer-small {
    height: 0.2em;
}

.spacer-big {
    height: 0.4em;
}

.float-left {
    float: left;
    clear: both;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

.flex-break {
    flex-basis: 100%;
    height: 0;
}

.bigger {
    font-size: 1.1em;
}

a:link, a:visited {
    color: #404040;
    text-decoration: underline dotted #999999;
}

a:hover, a:active {
    color: #62C161;
    text-decoration: underline dotted #000000;
    transition: color 0.3s;
}

a.no-decoration:link, a.no-decoration:visited {
    color: #404040;
    text-decoration: none;
}

a.no-decoration:hover, a.no-decoration:active {
    color: #62C161;
    text-decoration: none;
    transition: color 0.3s;
}

a.admin:link, a.admin:visited {
    display: inline-block;
    color: #ff0000;
    text-decoration: none;
}

a.admin:hover, a.admin:active {
    display: inline-block;
    color: #ff0000;
    text-decoration: none;
    transition: color 0.3s;
}

.box-link {
    width: 200px;
    font-size: 1.2em;
    text-align: center;
    background-color: #cbbfae;
    padding: 20px;
    border: 1px solid #4d4d4d;
}

.continue a:link, .continue a:visited {
    display: inline-block;
    font-family: IBMPlexSansThai;
    color: #f2f2f2;
    font-size: 1em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #62C161;
    opacity: 1;
    padding: 10px;
    margin: 8px 0px;
}

.continue a:hover, .continue a:active {
    color: #f2f2f2;
    font-family: IBMPlexSansThai;
    font-size: 1em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: #62C161;
    opacity: 1;
    padding: 10px;
    transition: opacity 0.3s;
}

.continue-outline a:link, .continue-outline a:visited {
    display: inline-block;
    font-family: IBMPlexSansThai;
    color: #62C161;
    font-size: 1em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #62C161;
    opacity: 1;
    padding: 10px;
    margin: 8px 0px;
}

.continue-outline a:hover, .continue-outline a:active {
    color: #62C161;
    font-family: IBMPlexSansThai;
    font-size: 1em;
    text-decoration: none;
    border-bottom: none;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid #62C161;
    opacity: 1;
    padding: 10px;
    transition: opacity 0.3s;
}

.passed-zone {
    background-color: #D0ECD0;
    padding: 0px 15px;
    border: 1px solid #62C161;
    border-radius: 8px;
}

.caution-zone {
    background-color: #fbe9ea;
    padding: 5px 15px;
    border: 1px solid #efa9ac;
    border-radius: 8px;
}

.share-zone {
    line-height: 2.5em;
    padding: 0.25em 0em;
}

.caution a:link, .caution a:visited {
    display: inline-block;
    font-family: IBMPlexSansThai;
    color: #d9282b;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: 1px dotted #FF0000;
    background-color: none;
    margin: 0px 15px 0px 0px;
}

.caution a:hover, .caution a:active {
    display: inline-block;
    font-family: IBMPlexSansThai;
    color: #FF0000;
    font-size: 0.9em;
    text-decoration: none;
    border-bottom: 1px dotted #FF0000;
    background-color: none;
    margin: 0px 15px 0px 0px;
    transition: color 0.3s;
}

.blue-em {
    color:  #29548c;
    font-weight: normal;
}

.red-em {
    color:  #FF0000;
    font-weight: normal;
}

.red-required {
    display: block;
    float: left;
    color:  #FF0000;
    margin-right: 0.2em;
}

.gray-normal {
    color: #666666;
}

.gray-em {
    color: #666666;
    font-weight: bold;
}

.green-em {
    color: #62C161;
    font-weight: normal;
}

hr.green-em {
    border: 2px solid #62C161;
}

hr.green {
    border: 1px solid #62C161;
}

.url {
    display: inline-block;
    font-family: monospace;
    font-size: 0.8em;
    line-height: 2.7em;
    background-color: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 0em 0.5em;
}

table {
    font-size: 0.85em;
    border-collapse: separate;
    border-spacing: 0px 10px;
}

table.full-width {
    width: 100%;
}

th {
    border-bottom: 1px solid #cccccc;
    text-align: left;
    padding: 7px;
}

td {
    vertical-align: top;
    padding: 7px;
}

.circle-with-text {
    display: flex;
    margin: auto;
    margin-top: -2em;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    height: 1.5em;
    width: 1.5em;
    border: 2px solid #e6e6e6;
    border-radius: 100%;
    padding: 10px;
}

.help-text {
    display: inline;
    font-size: 0.8em;
    color: #b3b3b3;
}

.help-text-light {
    display: inline;
    font-size: 0.8em;
    color: #E6E6E6;
}

.sidebar-section {
    padding: 10px;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

/* Video */

.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  }
  
.iframe-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

/* Input and Form */

.input-wrapper {
    display: table;
    margin: 0 auto;
}

.instruction {
    font-size: 0.75em;
    color: #666666;
    padding: 0px 10px 0px 10px;
    border: 1px dotted #666666;
    margin: 0px 0px 15px 0px;
}

.instruction table {
    margin-left: 10px;
}

.instruction td {
    padding: 3px 6px 3px 6px;
    margin: 3px;
    border: 1px solid #cccccc;
}

.info-box {
    background: #FFFFFF;
    padding: 10px 15px 10px 20px;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

label {
    display: block;
    margin-bottom: 10px;
}

input {
    padding: 10px;
    margin-bottom: 1em;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

input.edit-tool {
    display: inline-block;
    width: 280px;
    background-color: #E6E6E6;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: none;
}

input[type="radio"] {
    display: block;
    float: left;
    margin: 5px 10px 10px 10px;
    clear: both;
}

input[type="checkbox"] {
    display: block;
    float: left;
    margin: 5px 10px 10px 10px;
    clear: both;
}

textarea {
    width: 80%;
    height: 200px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 8px;
}

.text-gray {
    color: #cccccc;
}

.button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

button {
    cursor: pointer;
}

.button {
    font-family: IBMPlexSansThai;
    font-size: 1.1em;
    text-align: center;
    color: #FFFFFF;
    padding: 5px 25px;
    background-color: #62C161;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    cursor: pointer;
}

.button:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.button-url {
    font-family: IBMPlexSansThai;
    font-size: 0.9em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #000000;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-url:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.button-fb {
    font-family: IBMPlexSansThai;
    font-size: 0.9em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #1877F2;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-fb:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.button-line {
    font-family: IBMPlexSansThai;
    font-size: 0.9em;
    text-align: center;
    color: #FFFFFF;
    vertical-align: middle;
    padding: 5px 10px;
    background-color: #06C755;
    opacity: 0.8;
    border: none;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-line:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

/* Uploader */

.uploader-wrapper {
    display: flex;
    width: 33%;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
    margin-bottom: 15px;
}

.uploader-content {
    flex: 1 1 65%;
    padding: 10px 10px 10px 15px;
    border-left: 1px solid #E6E6E6;
}

.uploader-content img {
    display: block;
    max-width: 100%;
    height: auto;
}

.uploader-content p {
    font-size: 0.8em;
    color: #999999;
}

.uploader-tool {
    flex: 1 1 35%;
    position: relative;
}

.uploader-tool-vertical-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

button.uploader {
    background-color: #ffffff;
    border: none;
}

.arrow-up {
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #808080;
}

.arrow-up:hover {
    border-bottom: 10px solid #AB9EE8;
}

.arrow-down {
    width: 0; 
    height: 0; 
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #4d4d4d;
}

.arrow-down:hover {
    border-top: 10px solid #AB9EE8;
}

span.arrow-text {
    font-size: 0.8em;
    color: #999999;
}

/* Header */

header {
    background-color: #62C161;
    width: 100%;
    position: relative;
    box-shadow: 0 1px 6px 4px #E6E6E6;
    z-index: 2;
}

.header-flex-wrap {
    display: flex;
    align-items: flex-end;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 35px 0px 35px;
}

.header-logo-block {
    flex: 0 0 200px;
}

.header-logo-block a:link, .header-logo-block a:hover, .header-logo-block a:active {
    text-decoration: none;
    border-bottom: none;
}

.header-logo-block img {
    display: block;
    max-width: none;
    width: 90px;
    padding-bottom: 10px;
    height: auto;
}

.header-content-block {
    flex: 1 1 auto;
    padding-top: 0px;
}

.header-content-block h2 {
    color: #EBF7EB;
    -webkit-text-stroke: 0px #EBF7EB;
    font-weight: normal;
    margin: 0em 0em 1em 0em;
}

.header-nav-block {
    flex: 1 1 75%;
    padding: 64px 0 0 0;
}

.nav-item {
    display: inline-block;
    background-color: #62C161;
    padding: 20px;
}

.nav-item:hover {
    background-color: #15d192;
    transition: background-color 0.3s;
}

.nav-item a:link, .nav-item a:visited {
    color: #EBF7EB;
    text-decoration: none;
    border-bottom: none;
}

.nav-item a:hover, .nav-item a:active {
    color: #EBF7EB;
    text-decoration: none;
    border-bottom: none;
}

/* Main content area */
main {
    background: #FFFFFF;
}

main.print {
    font-size: 1.5em;
}

.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 35px 25px 35px;
    background: #F3FAF3;
}

.municipality-header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 35px 25px 35px;
    background: #F3FAF3;
    border-bottom: 1px solid #cccccc;
}

.main-white-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 35px 25px 35px;
    background: #FFFFFF;
}

.home-flex-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.home-flex-municipality {
    max-width: 260px;
    flex: 1 1 100%;
    position: relative;
    background-color: #FFFFFF;
    border: 1px solid #cccccc;
    border-radius: 8px;
    margin: 10px;
}

.home-flex-municipality:hover {
    box-shadow: 0px 0px 3px #cccccc;
}

a.no-color:hover {
    color: #4d4d4d;
}

.home-flex-municipality-title {
    background-color: #F7F7F7;
    padding: 1em 1em 0em 1em;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom: 1px solid #cccccc;
}

.home-flex-municipality-title h3 {
    margin-top: 0em;
}

.home-flex-municipality-body {
    height: auto;
    overflow: visible;
    background-color: #FFFFFF;
    padding: 1em 1em 4em 1em;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.home-flex-municipality-button h2 {
    color: #FFFFFF;
    -webkit-text-stroke: 1px #FFFFFF;
}

.button-bottom {
    text-align: center;
    position: absolute;
    left: 1em;
    right: 1em;
    bottom: 1em;
}

.button-full {
    width: 100%;
    font-size: 1em;
    font-weight: bold;
}

.main-flex-municipality:hover {
    background-color: #FFFCED;
    transition: background-color 0.3s;
}

.main-flex-wrapper {
    display: flex;
    align-items: flex-start;
}

.main-flex-left {
    flex: 1 1 65%;
}

.main-flex-right {
    flex: 1 1 35%;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #cccccc;
    padding: 15px;
    margin-left: 2em;
}

/* Municipality menu */
.municipality-menu-wrapper {
    display: flex;
    gap: 1em;
}

.municipality-menu-item {
    flex: 1 1 25%;
    border-radius: 8px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    padding: 1em;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}

/* Municipality */
.municipality-intro-wrapper {
    display: flex;
}

.municipality-intro-body {
    flex: 1 1 60%;
}

.municipality-intro-img {
    flex: 1 1 40%;
    padding: 1em 0em 1em 2em;
}

.municipality-split-wrapper {
    display: flex;
}

.municipality-split-announcement {
    flex: 1 1 60%;
}

.municipality-split-vote {
    flex: 1 1 40%;
    padding: 0em 0em 0em 2em;
}

.municipality-case-wrapper {
    display: flex;
}

.municipality-case-intro {
    flex: 1 1 50%;
}

.municipality-case-body {
    flex: 1 1 50%;
    padding: 0em 0em 0em 2em;
}

.municipality-service-wrapper {
    display: flex;
}

.municipality-service-body {
    flex: 1 1 50%;
}

.municipality-service-intro {
    flex: 1 1 50%;
    padding: 0em 0em 0em 2em;
}

img.announcement {
    float: left;
    height: 60px;
    width: auto;
    margin: 0.5em 1em 0em 0em;
    clear: both;
}

h2.announcement {
    display: inline-block;
    margin-bottom: -1px;
}

/* Vote */
.vote-split-wrapper {
    display: flex;
}

.vote-split-left {
    flex: 1 1 50%;
    padding-right: 2em;
}

.vote-split-right {
    flex: 1 1 50%;
    padding-right: 2em;
}

.vote-item-wrapper {
    display: flex;
}

.vote-item-yes {
    flex: 1 1 50%;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #62C161;
    opacity: 0.8;
    cursor: pointer;
}

.vote-item-yes:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.vote-detail-yes {
    padding: 10px;
    color: #ffffff;
    background-color: #62C161;
    opacity: 1;
}

.vote-item-no {
    flex: 1 1 50%;
    padding: 10px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #ffffff;
    background-color: #62C161;
    opacity: 0.8;
    cursor: pointer;
}

.vote-item-no:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.vote-detail-no {
    padding: 10px;
    color: #ffffff;
    background-color: #62C161;
    opacity: 1;
}

.button-vote {
    text-align: center;
    font-family: IBMPlexSansThai;
    font-size: 1em;
    color: #4d4d4d;
    padding: 10px 25px 10px 25px;
    background-color: #ffffff;
    opacity: 1;
    border: 2px solid #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 3px #cccccc;
}

.button-vote:hover {
    opacity: 1;
    transition: opacity 0.3s;
}

.vote-result-flex-wrapper {
    display: flex;
}

.vote-result-yes {
    flex: 1 1 50%;
    padding: 10px;
    border-right: 1px solid #cccccc;
}

.vote-result-no {
    flex: 1 1 50%;
    padding: 10px;
}

span.vote-comment-yes {
    display: inline-block;
    background-color: #D0ECD0;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 15px;
}

span.vote-comment-no {
    display: inline-block;
    background-color: #D0ECD0;
    padding: 10px;
    border-radius: 16px;
    margin-bottom: 15px;
}

img.full-width {
    max-width: 100%;
}

img.onethird-width {
    max-width: 33%;
}

p.double-space {
    line-height: 2em;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
     }
}

.vote-comment-new {
    animation: fadeInAnimation ease 0.7s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

/* Profile and Admin */
.profile-flex-wrapper {
    display: flex;
    align-items: flex-start;
}

.profile-flex-left {
    flex: 1 1 30%;
}

.profile-flex-right {
    flex: 1 1 70%;
    background-color: #FFFFFF;
    border-radius: 8px;
    border: 1px solid #cccccc;
    padding: 15px;
    margin-left: 2em;
}

a.admin-link:link, a.admin-link:visited {
    display: block;
    color: #4d4d4d;
    text-decoration: none;
    font-size: 1.2em;
    padding: 1em;
    border-bottom: 1px solid #62C161;
}

a.admin-link:hover, a.admin-link:active {
    display: block;
    color: #4d4d4d;
    background-color: #D0ECD0;
    text-decoration: none;
    font-size: 1.2em;
    padding: 1em;
    transition: color 0.3s;
    border-bottom: 1px solid #62C161;
}

a.admin-link-selected:link, a.admin-link-selected:visited {
    display: block;
    color: #4d4d4d;
    background-color: #D0ECD0;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 1em;
    border-bottom: 1px solid #62C161;
}

a.admin-link-selected:hover, a.admin-link-selected:active {
    display: block;
    color: #4d4d4d;
    background-color: #D0ECD0;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    padding: 1em;
    transition: color 0.3s;
    border-bottom: 1px solid #62C161;
}

td.vertical-align {
    vertical-align: middle;
}

/* Footer */
footer {
    width: 100%;
    background-color: #62C161;
}

.footer-wrapper {
    margin: 0 auto;
    overflow: auto;
    max-width: 1200px;
    padding: 10px 35px 10px 35px;
    background-color: #62C161;
}

.footer-wrapper h1 {
    color: #EBF7EB;
    -webkit-text-stroke: 1px #EBF7EB;
    font-size: 2.2em;
    font-weight: bolder;
}

.footer-wrapper h2 {
    color: #EBF7EB;
    -webkit-text-stroke: 0px #EBF7EB;
    font-size: 1.2em;
    font-weight: normal;
}

.footer-wrapper p {
    font-family: IBMPlexSansThai;
    color: #EBF7EB;
    font-size: 1em;
    font-weight: normal;
}

.footer-logo {
    color: #FFFFFF;
    font-size: 1.5em;
}

.footer-wrapper a:link, .footer-wrapper a:visited {
    color: #EBF7EB;
    text-decoration: none;
}

.footer-wrapper a:hover, .footer-wrapper a:active {
    color: #EBF7EB;
    text-decoration: none;
    transition: color 0.3s;
}

/* Sponsor Area */
.sponsor-container {
    width: 100%;
    background-color: #FFFFFF;
}

.sponsor-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 35px 10px 35px;
    background-color: #FFFFFF;
}

img.thaihealth-logo {
    width: auto;
    height: 100px;
    padding: 10px;
}

img.cf-logo {
    width: auto;
    height: 75px;
    padding: 10px;
}

.sponsor-wrapper a:link, .sponsor-wrapper a:visited, .sponsor-wrapper a:hover, .sponsor-wrapper a:active {
    border-bottom: none;
}

/* Search */

.search-box {
    border: 1px solid #cccccc;
}

button.search-button {
    font-family: IBMPlexSansThai;
    color: #ffffff;
    background-color: #62C161;
    opacity: 0.8;
    padding: 0.5em;
    border-radius: 8px;
    box-shadow: 0 0 3px #cccccc;
    border: none;
}

button.search-button:hover {
    font-family: IBMPlexSansThai;
    color: #ffffff;
    background-color: #62C161;
    opacity: 1;
    padding: 0.5em;
    border-radius: 8px;
    box-shadow: 0 0 3px #cccccc;
    border: none;
    transition: opacity 0.3s;
}

button.search-clear-button {
    font-family: IBMPlexSansThai;
    font-size: 0.7em;
    color: #4d4d4d;
    background-color: #cccccc;
    opacity: 0.6;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #666666;
    border: none;
    margin-top: 1em;
}

button.search-clear-button:hover {
    font-family: IBMPlexSansThai;
    font-size: 0.7em;
    color: #4d4d4d;
    background-color: #cccccc;
    opacity: 0.8;
    padding: 4px;
    border-radius: 8px;
    border: 1px solid #666666;
    border: none;
    transition: opacity 0.3s;
}

.search-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1em;
}

.search-result-item {
    flex: 1 1 100%;
    /* width: 100%; */
    background-color: #ffffff;
    padding: 0.25em 1em;
    border: 1px solid #cccccc;
    border-radius: 8px;
    margin: 0;
    animation: fadeInAnimation ease 0.7s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.search-result-item h2 {
    font-family: IBMPlexSansThai;
}

a.search-result-item:link, a.search-result-item:visited {
    font-family: IBMPlexSansThai;
    text-decoration: none;
}

a.search-result-item:hover, a.search-result-item:active {
    font-family: IBMPlexSansThai;
    text-decoration: none;
    color: #4d4d4d;
}

.search-result-tag {
    font-family: IBMPlexSansThai;
    vertical-align: middle;
    font-size: 0.66em;
    background-color: #62C161;
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 9px;
    margin-right: 10px;
    opacity: 0.8;
}

/* Maps */

#map {
    height: 400px;
    width: 100%;
}

/* Media sizing */

@media screen and (max-width: 1024px) {
    textarea {
        width: 80%;
        height: 180px;
    }

    .header-logo-block {
        flex: 0 0 180px;
    }

    .municipality-intro-body {
        flex: 1 1 50%;
    }

    .municipality-intro-img {
        flex: 1 1 50%;
    }
}

@media screen and (max-width: 800px) {
    textarea {
        width: 90%;
        height: 160px;
    }

    .header-logo-block {
        flex: 0 0 160px;
    }

    .home-flex-municipality {
        max-width: 100%;
        width: 90%;
    }

    .main-flex-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .main-flex-left {
        flex: 1 1 100%;
        padding-right: 0px;
    }

    .main-flex-right {
        flex: 1 1 100%;
        margin: 0;
    }

    .profile-flex-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .profile-flex-left {
        flex: 1 1 100%;
        padding-right: 0px;
    }

    .profile-flex-right {
        flex: 1 1 100%;
        margin: 0;
    }

    .municipality-intro-wrapper {
        display: flex;
        flex-direction: column;
    }

    .municipality-intro-img {
        padding: 0em;
    }

    .municipality-split-wrapper {
        display: flex;
        flex-direction: column;
    }

    .municipality-split-vote {
        padding: 0em;
    }

    .municipality-case-wrapper {
        display: flex;
        flex-direction: column;
    }

    .municipality-case-body {
        padding: 0em;
    }

    .municipality-service-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .municipality-service-intro {
        padding: 0em;
    }

    .vote-split-wrapper {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 600px) {
    textarea {
        width: 90%;
        height: 120px;
    }

    .header-flex-wrap {
        flex-direction: column-reverse;
        align-items: center;
    }

    .header-logo-block {
        flex: 0 0 100%;
    }

    .header-content-block {
        display: none;
    }

    .home-flex-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .municipality-menu-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5em;
    }

    .municipality-menu-item {
        flex: 1 1 100%;
        width: 82%;
        padding: 0.5em 2em;
    }

    .uploader-wrapper {
        width: 90%;
    }

    img {
        max-width: 100%;
    }
}

@media screen and (max-width: 400px) {
    textarea {
        width: 90%;
        height: 100px;
    }

    .main-wrapper, .main-white-wrapper {
        padding: 15px;
    }
}

@media screen and (max-width: 320px) {
    textarea {
        width: 90%;
        height: 80px;
    }
}

@media print {
    .no-print {
        display: none;
    }
}