/*
Best Shower Thailand - CSS Stylesheet
Static Website Design
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background: url(images/img01.gif) repeat-x left top;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333333;
}

h1, h2, h3 {
    margin: 0;
    font-weight: normal;
    color: #7D7D7D;
}

h1 {
    letter-spacing: -1px;
    font-size: 32px;
}

h2 {
    font-size: 22px;
    margin-bottom: 15px;
}

p, ul, ol {
    margin: 0 0 2em 0;
    text-align: left;
    line-height: 26px;
    font-size: 11px;
}

a:link {
    color: #6DBD0B;
}

a:hover, a:active {
    text-decoration: none;
    color: #6DBD0B;
}

a:visited {
    color: #6DBD0B;
}

img {
    border: 1px dashed #86E714;
    padding: 2px;
}

img.left {
    float: left;
    margin-right: 15px;
}

img.right {
    float: right;
    margin-left: 15px;
}

input, textarea, select {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: #333333;
}

/* Header */
#header {
    width: 860px;
    height: 50px;
    margin: 0 auto;
}

/* Menu */
#menu {
    width: 860px;
    margin: 0;
    padding: 0;
}

#menu ul {
    float: right;
    display: block;
    margin: 0;
    padding: 0px 0 0 0px;
    list-style: none;
    line-height: normal;
}

#menu li {
    display: inline;
}

#menu a {
    margin-right: 3px;
    padding: 10px 15px 10px 10px;
    letter-spacing: -.5px;
    text-decoration: none;
    text-transform: lowercase;
    font: 16px "Trebuchet MS", Arial, Helvetica, sans-serif;
    color: #FFFFFF;
}

#menu a:hover { 
    text-decoration: none;
    color: #FFFFFF;
}

#menu .current_page_item a {
    color: #FFFFFF;
}

#menu .numbertxt {
    font-size: 28px;
    color: #C4F28D;
}

#menu span {
    margin: 0;
    padding: 0;
}

/** LOGO */
#logo {
    clear: both;
    width: 860px;
    height: 100px;
    margin: 0 auto;
    background: url(images/img022.gif) no-repeat left top;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-decoration-top,
.logo-decoration-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C4F28D, transparent);
    opacity: 0.6;
}

.logo-decoration-top {
    top: 15px;
}

.logo-decoration-bottom {
    bottom: 15px;
}

.logo-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#logo h1, #logo h2 {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

#logo h1 {
    margin-bottom: 5px;
    letter-spacing: 4px;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 10px rgba(196, 242, 141, 0.3);
    position: relative;
    display: inline-block;
}

#logo h1::before,
#logo h1::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #C4F28D;
    opacity: 0.5;
}

#logo h1::before {
    left: -45px;
}

#logo h1::after {
    right: -45px;
}

.logo-divider {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #C4F28D, transparent);
    margin: 3px 0 5px 0;
    opacity: 0.7;
}

#logo h2.logo-subtitle {
    font-size: 13px;
    font-weight: normal;
    color: #2c3e50;
    letter-spacing: 3px;
    margin-top: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#logo h1 a {
    text-decoration: none;
    color: #FFFFFF;
    transition: all 0.3s ease;
}

#logo h1 a:hover { 
    text-decoration: none;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(196, 242, 141, 0.5);
    transform: scale(1.02);
}

#logo p a {
    text-decoration: none;
}

#logo p a:hover { 
    text-decoration: underline;
}

/* Page */
#page {
    width: 850px;
    margin: 0 auto;
}

/* Content */
#content {
    float: right;
    width: 600px;
}

/* Post */
.post {
    padding: 15px 15px;
}

.post .title {
    margin-bottom: 20px;
    border-bottom: 1px dotted #D1D1D1;
    background: url(images/img04.jpg) repeat-x left bottom;
}

.post .meta {
    height: 70px;
    padding: 40px 15px 0px 15px;
    background: url(images/img03.jpg) repeat-x left top;
}

.post .meta p {
    margin: 0;
    line-height: normal;
    color: #999999;
}

/* Sidebar */
#sidebar {
    float: left;
    width: 215px;
}

#sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}


#sidebar li ul {
    background: url(images/img03.jpg) repeat-x left bottom;
    padding-bottom: 20px;
}

#sidebar li li {
    margin: 0;
    padding-left: 12px;
}

#sidebar h2 {
    padding-top: 20px;
    margin-bottom: 10px;
    background: url(images/img04.jpg) repeat-x left bottom;
    border-bottom: 1px dotted #D1D1D1;
    font-size: 18px;
}

/* Footer */
#footer-wrap {
    width: 860px;
    height: 52px;
    margin: 0 auto;
}

#footer {
    margin: 0 auto;
    height: 52px;
    min-height: 52px;
    padding: 0;
    background: #A0A0A3 url(images/img05.gif) repeat-x left bottom;
}

html>body #footer {
    height: auto;
}

#legal {
    clear: both;
    padding-top: 15px;
    text-align: center;
    color: #FFFFFF;
}

#legal a {
    font-weight: bold;
    color: #FFFFFF;
}

/* Class */
.comic {
    font-size:20pt;
    font-family: "Angsana New"; 
    color: #ff0000;
}

/* Marquee replacement - modern scrolling text */
.marquee-container {
    background: transparent;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-text {
    display: inline-block;
    color: #333333;
    font-size: 14px;
    animation: scroll 30s linear infinite;
    padding-left: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

table td {
    padding: 10px;
    vertical-align: top;
}
