﻿/* CSS Document */
/* ==================將預設值歸零================== */
#Left,.Title,#News,#HotNews,h3,#Left ul,#ele,#ju,#se,#colgra,#publan,.NewsBox,.NewsBox ul,#From,#NewsContents,#Contents,#ContentsTitle{margin:0; padding:0;}
img{border:0; }

/* ==================設定右邊區塊================== */

/* ------- "新聞區" 大標題 ------ */
.Title-ele,.Title-ju,.Title-se,.Title-colgra,.Title-publan,.Title-search{text-align:right; height:26px; width:100%; padding:18px 0 0 0; margin-bottom:8px;}

.Title-ele{background:url(/images/topnews/title-topnews-ele1x1.gif) no-repeat left top;} /* 國小 */
.Title-ju{background:url(/images/topnews/title-topnews-ju1x1.gif) no-repeat left top;}   /* 國中 */
.Title-se{background:url(/images/topnews/title-topnews-se1x1.gif) no-repeat left top;}   /* 高中 */
.Title-search{background:url(/images/topnews/title-topnews-search1x1.gif) no-repeat left top;} /* 搜尋 */
.Title-colgra{background:url(/images/topnews/title-topnews-colgra.gif) no-repeat left top;}   /* 大學‧研究所 */
.Title-publan{background:url(/images/topnews/title-topnews-publan.gif) no-repeat left top;} /* 公職‧語言 */

/* "新聞列表" 和 "新聞內容" 標題 */
#News h3,#HotNews h3,#NewsContents{ display:block;  width:715px; height:35px; text-indent:-9999px; margin:0 auto;}

#News h3{background:url(/images/topnews/topnews-tab-t1x1.gif);}
#HotNews h3{background:url(/images/topnews/topnews-tab-t2x1.gif);}
#NewsContents{ background:url(/images/topnews/topnews-tab-t3x1.gif);}

/* ------ 設定 "新聞列表" 表格內容 ------ */
#News,#HotNews{ border:1px solid #c5cba3; margin-bottom:7px;  padding:5px; }
#News td,#HotNews td{ /*background:url(/images/img-icon/dot-green.gif) repeat-x bottom;*/height:30px;line-height:30px;}
#News .Seperator { border-bottom: solid 1px #d2e1b5; }
#HotNews .Seperator { border-bottom: solid 1px #ffddaa; }
#News .NewsDate {color: #90a15d; font-size: 12px;}
#HotNews .NewsDate {color: #d3af67; font-size: 12px;}
.SearchContent { font-size: 12px; color: #336666;}
/* -------------頁數格式設定------------- */
#News .Pager td { background:url();height:22px!important ;line-height:22px!important ;}
.Pager table {float:left; padding: 0; margin: 0;}
.Pager span {float: right;} /* 頁數訊息 */
.Pager a{color:#444; border:1px solid #ddd; text-decoration:none; padding:2px 6px;margin:0 2px; font-size:11px;}
.Pager a:hover{ color:#fff; BACKGROUND:#84974A; text-decoration:none;}
/* 設定停在該頁 頁數的樣子 */
.Pager table span{ color:#cf0505!important ;padding:2px 6px!important;margin:0 2px!important; height:auto!important ;line-height:normal!important ;}

/* ------ 新聞內容相關設定------  */
/* 列表標題 */
#NewsContents{width:715px; height:35px; text-indent:-9999px; margin:0 auto;background:url(/images/topnews/topnews-tab-t3x1.gif);}
/* 文章標題 */
#ContentsTitle{padding:5px 5px 5px 5px; margin-bottom:12px;background:url(/images/img-icon/dot-green.gif) repeat-x bottom;}
#ContentsTitle span{ font-weight:normal; float:right;}
/* 文章內容 */
#Contents{width:705px; margin:0 auto; padding:0 5px; font-size: 12pt;}
/*#Contents img{ float:left; margin:0 15px 15px 0;}*/
#Contents td { background:url();}
#Contents td p { margin-bottom: 16px;}
/* 新聞內容的新聞來源格式設定 */
#From{ display:block;text-align:right; background:url(/images/img-icon/dot-green.gif) repeat-x top;color:#84974A; font:13px Verdana, Arial; letter-spacing:1px; padding-top:10px; margin-top:15px;}
#From img,#From img a{ text-align:right; margin:0 0 0 5px}
#From a:hover img{ position:relative; left:1px; top:1px;}


/* ==================設定左邊區塊================== */
/* 輸入關鍵字的輸入框 */
.InputBox{ font-size:11px; height:18px; color:#666666; border:1px solid #c0cd97;}
/* 左邊區塊的共同設定 */
.NewsBox{ font-size:12px; color:#446502; background:url('/images/topnews/news-box-long.gif') no-repeat bottom left; margin-top:7px; line-height:20px; overflow: hidden; position: relative; width: 225px; }
.NewsBox a img{margin:5px; float: right;} /*more按鈕*/
.NewsBox a:hover img{position: relative; left: 1px; top: 1px;}
.NewsBox ul{margin:5px 7px 10px 7px; list-style:none;}
.NewsBox li{}

/* 左邊區標題設定：未連結呈現橘字；有連結，滑鼠移過綠字變橘字 */
.ele, .ju ,.se ,.colgra ,.publan { display:block; width:225px; height:35px; text-indent:-9999px;} /* 沒有連結 */
.ele a,.ju a,.se a,.colgra a,.publan a{ display:block; width:225px; height:35px; text-indent:-9999px;} /* 有連結 */

.ele a{ background-image:url(/images/topnews/title-ele.gif);} /* 國小 */
.ele ,.ele a:hover{ background-image:url(/images/topnews/title-elef2.gif);}
.ju a{ background-image:url(/images/topnews/title-ju.gif);}   /* 國中 */
.ju ,.ju a:hover{ background-image:url(/images/topnews/title-juf2.gif);}
.se a{ background-image:url(/images/topnews/title-se.gif);}   /* 高中 */
.se ,.se a:hover{ background-image:url(/images/topnews/title-sef2.gif);}
.colgra a{ background-image:url(/images/topnews/title-colgra.gif);} /* 大學‧研究所 */
.colgra ,.colgra a:hover{ background-image:url(/images/topnews/title-colgraf2.gif);}
.publan a{ background-image:url(/images/topnews/title-publan.gif);} /* 公職‧語言 */
.publan ,.publan a:hover{ background-image:url(/images/topnews/title-publanf2.gif);}
