@import url(fonts/thsarabunnew.css);
@import url(font/th_fahkwang.css);

BODY {
    font-size: 14px;
    margin: 0;
    color: #000000;
    font-family: 'THSarabunNew', 'THFahkwang', sans-serif;
}
TD {
    font-size: 14px;
    margin: 0;
    color: #000000;
    font-family: 'THSarabunNew', 'THFahkwang', sans-serif;
}
A, A:hover, A:link, A:visited {
    color: #000000;
    text-decoration: none;
}
FORM {
    padding: 0;
    margin: 0;
}
UL {
    margin-top: 5px;
    padding-top: 0;
}
IMG {
    border: 0;
}
INPUT, SELECT, TEXTAREA {
	 font-size: 14px;
    color: #000000;
    font-family: MS sans-serif, Tahoma, Arial, Helvetica, sans-serif;
    border: 1px solid #868686;
    border-radius: 3px; /* ÁØÁâ¤é§Á¹ */
    padding: 3px;
    font-family: MS sans-serif, Tahoma, Arial, Helvetica, sans-serif;
}
.dotline {
    background: url(images/dotline.gif) #ffffff repeat-x left top;
}
.topicicon {
    margin: 3px;
    border: 2px solid #336699;
}
.tablecomment {
    border: 1px solid #339999;
}
.foottext {
    color: #0000FF;
}

/* ===== Calendar Styles ===== */
.calendarsHeader {
    font-weight: bolder;
    font-size: 12pt;
    color: #FFFFFF;
    background-color: #006666;
}
.calendarsToday {
    font-size: 12pt;
    color: #FF0000;
    font-weight: bold;
    background-color: #d7fef6;
}
.calendars {
    width: 550px;
    height: 30px;
    font-size: 12pt;
    color: #0000FF;
    background-color: #d7fef6;
}
.calendarHeader {
    font-weight: bolder;
    font-size: 10pt;
    color: #FFFFFF;
    background-color: #339999;
}
.calendarToday {
    font-size: 10pt;
    color: #FF0000;
    font-weight: bold;
}
.calendar {
    width: 600px;
    height: 30px;
    font-size: 10pt;
    color: #000000;
    background-image: url("images/123.jpg");
}
.calendarcarHeader {
    font-weight: bolder;
    font-size: 12pt;
    color: #FFFFFF;
    background-color: #006666;
}
.calendarcarToday {
    font-size: 12pt;
    color: #FF0000;
    font-weight: bold;
    background-color: #d7fef6;
}
.calendarcar {
    width: 550px;
    height: 30px;
    font-size: 12pt;
    color: #0000FF;
    background-color: #d7fef6;
}
.calendarsworkHeader {
    font-weight: bolder;
    font-size: 14pt;
    color: #FFFFFF;
    background-color: #006666;
}
.calendarsworkToday {
    font-size: 14pt;
    color: #FF0000;
    font-weight: bold;
    background-color: #d7fef6;
}
.calendarswork {
    width: 550px;
    height: 30px;
    font-size: 14pt;
    color: #0000FF;
    background-color: #d7fef6;
}

/* ===== Highslide Styles ===== */
.highslide-html {
    background-color: white;
}
.highslide-html-content {
    position: absolute;
    display: none;
    height: 1344px;
    left: 4px;
    top: 5px;
}
.highslide-loading {
    display: block;
    color: black;
    font-size: 8pt;
    font-family: sans-serif;
    font-weight: bold;
    text-decoration: none;
    padding: 2px 0 2px 22px;
    border: 1px solid black;
    background-color: white;
    background-image: url(highslide/graphics/loader.white.gif);
    background-repeat: no-repeat;
    background-position: 3px 1px;
}
.control {
    float: right;
    display: block;
    margin: 0 5px;
    font-size: 9pt;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    color: #999;
}
.control:hover {
    color: black !important;
}
.highslide-move {
    cursor: move;
}
.highslide-display-block {
    display: block;
}
.highslide-display-none {
    display: none;
}

/* ===== Tooltip ===== */
#dhtmltooltip {
    position: absolute;
    width: 153px;
    border: 1px solid black;
    padding: 2px;
    background-color: #FFFFFF;
    visibility: hidden;
    z-index: 100;
    filter: Alpha(Opacity=80);
    font-weight: bold;
    color: #000000;
    font-family: MS Sans Serif;
    font-size: 10px;
    height: 53px;
}
.transp {
    filter: Alpha(Opacity=100);
}

/* Form Tooltip */
#DHTMLgoodies_formTooltipDiv {
    color: #FFF;
    font-family: Tahoma;
    font-weight: bold;
    font-size: 12px;
    line-height: 120%;
}
.DHTMLgoodies_formTooltip_closeMessage {
    color: #FFFFFF;
    font-weight: normal;
    font-size: 12px;
}

/* ===== Date Picker ===== */
.dpTable {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
    color: #505050;
    background-color: #ece9d8;
    border: 1px solid #AAAAAA;
}
.dpTD {
    border: 1px solid #ece9d8;
}
.dpDayHighlightTD {
    background-color: #CCCCCC;
    border: 1px solid #AAAAAA;
}
.dpTDHover {
    background-color: #aca998;
    border: 1px solid #888888;
    cursor: pointer;
    color: red;
}
.dpDayTD {
    background-color: #CCCCCC;
    border: 1px solid #AAAAAA;
    color: white;
}
.dpTitleText {
    font-size: 14px;
    color: gray;
    font-weight: bold;
}
.dpDayHighlight {
    color: #4060ff;
    font-weight: bold;
}
.dpButton, .dpTodayButton {
    font-family: Verdana, Tahoma, Arial, Helvetica, sans-serif;
    font-size: 14px;
    color: gray;
    background: #d8e8ff;
    font-weight: bold;
    padding: 0;
}

/* ===== Search & Pagination ===== */
.search-form {
    background: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.pagination {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}
.pagination a {
    color: #17a294;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid #ddd;
    margin: 0 4px;
}
.pagination a.active {
    background-color: #17a294;
    color: white;
    border: 1px solid #17a294;
}
.pagination a:hover:not(.active) {
    background-color: #ddd;
}
.btn {
    background-color: #17a294;
    color: white;
    border: none;
    padding: 2px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'THSarabunNew', Geneva, Verdana, sans-serif;
    font-size: 14px;
}
.btn:hover {
    background-color: #13867b;
}

.current-date {
    font-size: 1.2em;
    margin: 10px 0;
    color: #d9534f;
    font-weight: bold;
}
