@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600;700&display=swap');

body{
	font-family: 'Work Sans', sans-serif;
	font: 16px 'Work Sans', sans-serif;
	line-height: 26px;
	font-weight: normal;
}
a{
	font-size: 16px;
	line-height: 26px;
	font-weight: normal;
    color: #ffffff !important;
    text-decoration: none !important;
}
#login-nav .dropdown, #account-nav {
    float: none;
    height: 100%;
}
a#site-logo img {
    max-width: 230px;
}
.search-text-div input {
    line-height: 20px;
    padding: 5px 30px;
    width: 100%;
    height: 50px !important;
    border-radius: 30px;
}
.search-text-div input,
#header-search{
	float: none;
}
header#header {
    padding: 15px 0;
}
#header-search {
    width: 100%;
    margin-left: 30px;
}
.header-row.row {
    align-items: center;
}
.search-text-div {
    margin: 0;
}
button.search-submit img {
    filter: brightness(100);
}
button.search-submit {
    background-image: linear-gradient(to right, #FF0000, #D60000) ;
    background-size: auto !important;
    background-repeat: no-repeat !important;
    position: absolute;
    right: 14px;
    top: 4px;
    height: 42px;
    width: auto;
    padding: 0 40px;
    border-radius: 30px;
    line-height: 1;
}
.searchform {
    height: 100%;
}
.search-submit-div {
    width: 75px;
    height: 45px;
    position: absolute;
    right: 70px;
    top: 0px;
    padding: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.user-nav a, #footer-nav li a, footer{
	font-size: 16px;
	text-transform: capitalize;
    font-weight: 600;
    text-shadow: none;
}
#login-nav a,
input#wp-submit {
    background: #FA0000;
    color: #fff;
    height: 45px;
    line-height: 45px;
    padding: 0 35px;
    border: none;
    transition: all 0.4s ease 0s;
}
#loginform .lost-password:hover,
#account-nav:hover .dropdown-content ul li a:hover, #footer-nav li a:hover
{
	background: transparent;
	color: #FA0000;
}
#login-nav a:hover, input#wp-submit:hover {
    background: #000;
}
#account-nav:hover .display-name,
#account-nav:hover .dropdown-content ul {
    border: none;
}
#account-nav .dropdown-content {
    top: 43px;
    width: 200px !important;
}
#account-nav:hover .dropdown-content ul {
    padding: 10px 0;
}
#account-nav:hover .dropdown-content ul li a {
    padding: 7px 0;
    display: inline-block;
    width: 100%;
    color: #000;
    font-weight: 500;
}
#account-nav .dropdown-content li {
    border-bottom: 1px solid #dedede;
}
#account-nav:hover .dropdown-content {
    width: 200px;
}
#login-nav .dropdown-content{
	border: 1px solid #Dedede;
}
#login-nav .dropdown-content {
    top: 44px;
    background: #FFF;
    width: 300px;
    padding: 20px
}
#loginform .lost-password {
    float: none;
    display: inline-block;
    background: transparent;
    color: #000;
    padding: 0;
    margin: 10px 0 0;
}
input[type="text"], input[type="password"], textarea, input[type="email"] {
    width: 100% !important;
    height: 45px;
    line-height: 45px;
    color: #000;
}
form#loginform label {
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 500;
}
#account-nav .dropdown-handle .avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
}
#account-nav .dropdown-handle .display-name {
    float: none;
    font-size: 16px;
    text-transform: capitalize;
    line-height: 26px;
}
#main-nav {
    background: transparent;
    border-bottom: 1px solid #FA0000;
    padding: 20px 0;
}
#main-nav ul, #main-nav .menu>li>a: hover{
	text-shadow: none;
}
#main-nav .menu>li>a{
	color: #000;
}
#main-nav .menu>li,
#main-nav .menu{
	background: none;
	/*height: inherit;*/
	float: none;
}
ul#menu-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
#main-nav .menu>li:last-child {
    margin: 0;
}
#main-nav .menu>li {
    margin: 5px;
}
@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}
#main-nav .menu>li>a {
    color: #fff !important;
    padding: 0 20px;
    height: 40px;
    display: inline-block;
    border-radius: 30px;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
#main-nav .menu>li>a:hover,
#main-nav .menu>li.current-menu-item>a {
    background-color: #ff0000; /* สีแดง */
    animation: heartbeat 1s infinite;
}
.thumb .clip-link, .thumb .clip {
    position: relative;
    bottom: unset;
    top: unset;
    left: unset;
    right: unset;
    height: 100%;
    display: inline-block;
    width: 100%;
}
#footer {
    background: #000;
}
#footbar .wrap {
    padding: 0;
}
#footer-nav ul {
    padding: 0;
}
#footer-nav li a {
    text-decoration: none;
    color: #fff !important;
    font-weight: 400;
}
#footer{
	border: none;
}
#copyright a, #credits a, h2.entry-title a:hover {
	color: #FA0000 !important;
}
h2.entry-title a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    width: 100%;
}
#copyright, #credits {
    font-size: 14px;
    color: #fff;
    font-weight: 400;
}
.item .entry-summary {
    line-height: 20px;
    font-size: 14px;

}
.item .entry-meta, .item .stats{
	height: inherit;
}
span.author.vcard a {
    color: #000;
    margin-right: 5px;
}
.articleCol {
    margin-bottom: 35px;
}
p.stats {
    margin: 15px 0 10px !important;
    display: block;
}
.section-content {
    background: transparent;
}
a.info-toggle-button,
p.form-submit input#submit {
    background: transparent;
    border: 1px solid #ffffff;
    text-shadow: none;
    color: #fff;
    text-decoration: none;
    height: 40px;
    display: inline-block;
    line-height: 40px;
    padding: 0 45px;
    font-size: 14px;
    font-weight: 500;
}
a.info-toggle-button:hover, p.form-submit input#submit:hover {
    background: #ffffff;
    color: rgb(128, 0, 0) !important;
}
.entry-meta {
    color: #000;
    font-size: 14px;
}
div#extras a {
    color: #FA0000;
    margin-right: 5px;
}
#extras h4 {
    font-size: 16px;
    margin-bottom: 10px;
}
#author, #email, #url {
    height: 45px;
    line-height: 45px;

}
textarea#comment, 
#author, #email{
	color: #000;
    background: #f7f7f7;
}
.mob-menu, .mob-sidemenu {
    display: none;
}
span.pages {
    height: 45px;
    width: auto;
    padding: 0 25px;
    line-height: 45px;
    color: #000;
    padding: 0 !important;
}
.pag-nav a, span.current {
    height: 45px;
    width: 45px;
    line-height: 45px;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.pag-nav span{
	padding: 0 15px !important;
}
.pag-nav a, .pag-nav span {

    text-shadow: none;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px;
    font-weight: 500 !important;
    background-color: #f7f7f7 !important;
    background-image: none !important;
}
.pag-nav .current{
	background-color: #000 !important;
    color: #fff !important;
}
.pag-nav a:hover {
    background-color: #000 !important;
    color: #fff !important;
}
.item img{
	width:100% !important;
}



/* Default position for desktop */
.views-count {
    position: absolute;
    top: 5px;   /* Position counter 5px from the top */
    left: 5px;  /* Position counter 5px from the left */
    background-color: rgba(255, 0, 0, 0.7); /* Red background with transparency */
    color: white;
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
    z-index: 10; /* Make sure the counter is on top of the image */
}

/* Adjust position for mobile */
@media (max-width: 768px) {
    .views-count {
        top: 5px;   /* Position counter 5px from the top */
        left: 5px;  /* Position counter 5px from the left */
        font-size: 10px; /* Adjust size for mobile */
    }
}

/* Adjust for very small screens (extra mobile devices) */
@media (max-width: 480px) {
    .views-count {
        top: 3px;
        left: 3px;
        font-size: 8px; /* Further reduce font size for very small screens */
    }
}

.btn-joo {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px; 
    background: linear-gradient(145deg, #FF2400, #b31900); 
    color: white;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
  }
  

  @keyframes heartbeat {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.1);
    }
    100% {
      transform: scale(1);
    }
  }
  
  .btn-joo:hover {
    animation: heartbeat 1.5s ease-in-out infinite;
  }
  
  .btn-joo:focus {
    outline: none; 
  }
 

.btn-alltags {
    display: inline-block;
    background-color: #FA0000;
    color: #fff;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 5px;
    width: 100%; 
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
    max-width: 1300px;
}

.btn-alltags:hover {
    background-color: #7a0000; 
    color: #FFD700;
    text-decoration: none;
}

.pag-nav .current {
    background-color: #FA0000 !important;
    color: #fff !important;
}
.pag-nav a, .pag-nav span {
    color: #FA0000 !important;
}