﻿/*- 公用樣式表--------------------------- */
body
{
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    font-size: 13px;
    color: #00008b;
    background-color: #fff; /*width: 100%;*/
    line-height: 1.5em;
    text-align: center;
}


.all_body{
	width: 980px;
	margin: 0 auto 0 auto;
	background-color: #ffffff;
}

A:link
{
	color: #393939;
	font-style: normal;
	text-decoration: none;
}
A:visited
{
	color: #393939;
	font-style: normal;
	text-decoration: none;
}
A:active {
	COLOR: #414141; FONT-STYLE: normal; TEXT-DECORATION: none
}
A:hover {
	COLOR: #ff8000; FONT-STYLE: normal; 
	/*TEXT-DECORATION: underline*/
}
img
{
	border: none;
}

.img_border
{
border-right: #dcdcdc 2px solid; 
border-top: #dcdcdc 2px solid; 
border-left: #dcdcdc 2px solid; 
border-bottom: #dcdcdc 2px solid; 
/*float: left;*/
margin-right: 8px; 
}

.hr_line
{
	border-top: #808080 1px dashed;
	width: 100%;
	margin: 10px 0 15px 0;
	*margin: 15px 0 0 0;
}

/*- 右邊欄上方廣告與MENU距離的修正--------------*/
.adspace
{
line-height: 30px;
}


/*- 推文書籤區樣式表--------------------------- */
.bookmarks
{
    text-align: right;
    margin-top: 5px;
    margin-bottom: 5px;
    float: none;
}

/*- 主要配置區樣式表--------------------------- */
#main
{
	width: 950px;
	margin: 0 auto;
	background-color: #ffffff;
 	/*position: relative;*/
 }
#MasterPage
{
	width: 980px;
	margin: 0 auto;
	background-color: #ffffff;
 }
#Title
{
    width: 980px;
    height: 80px;
    background-color: #EBEBEB; 
    background-image: url(image/diy_banner.gif) ;
}
#main_content
{   
	width: 710px;
	*width: 710px;
	/*height: 100%;
	*height: 100%;*/
	/*margin: 10px 0 0px 0;*/
    float: left;	
    /*background-color: #CCFFFF;
	margin-top: 10px; */
 }


#main_layout, #main_layout1, #main_layout2
{ 
    float: left;
    width: 705px;
    *width: 705px;
	margin-top: 10px; 
    text-align: left; margin-bottom: 30px; }


#contentcolumn, #contentcolumn1
{  
margin-right: 510px; /*Margin for content column. Should be (RightColumnWidth + LeftColumnWidth)*/
*margin-right: 510px;
/*background-color: #11ffcc;*/
text-align: left;
 }

#leftcolumn, #leftcolumn1
{
	float: left;
	width: 510px; /*Width of left column in pixel*/
	margin-left: -510px; /*Set margin to -(LeftColumnWidth + RightColumnWidth)*/
	margin-top: 10px; 
	margin-bottom: 10px;
	text-align: left;
	/*background-color: #ccffff;*/
	color: #696969;
	
}

#rightcolumn
{
    float: right;
    width: 230px; /*Width of right column in pixels*/ /*margin-left: -250px; Set margin to -RightColumnWidth*/
    text-align: left;
    /*background-color: #FFCCFF;*/
    margin-top: 10px;
}

#about_link
{   
    font-size: 13px;
    color: #09A6CD;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    width: 100%;
    height: 35px;
    *height: 35px;
    background: url(image/004.jpg) top;
	background-repeat:no-repeat;
    line-height: 35px;
	clear: both;
}

 
 #about_link A
{
    color: #09A6CD;
    font-style: normal;
}
 
#about_link A:hover
{
    color: #666666;
    font-style: normal;
   /* text-decoration: underline;*/
}

#Copyright
{
    font-size: 12px;
    width: 100%; /*background-color: #666666;*/
    color: #808080;
    text-align: center;
    padding: 4px 0;
}
/*- 廣告版位用樣式表--------------------------- */
.topone_ad
{
	height: 100px;
	width: 900px;
	vertical-align: middle;
	display: block;
	margin: 5px auto 5px auto;
	z-index: 1;
}

.topone_ad_ref
{
	height: 100px;
	width: 900px;
	background-color: #ffffcc;
	/*border-right: #cd853f 1px dashed;
	border-top: #cd853f 1px dashed;
	border-left: #cd853f 1px dashed;
	border-bottom: #cd853f 1px dashed;*/
	position: absolute;
	vertical-align: middle;
	display: block;
	margin: 5px auto 5px auto;
	z-index: 10;
}

.Diamond_block
{
	height: 150px;
	width: 230px;
	margin-bottom: 15px;
	margin-left: 0px;
	text-align: center;
	z-index: 1;
}

.Diamond_block_ref
{
	height: 150px;
	width: 230px; 
	/*background-color: #ffffcc;*/
	position: absolute;
	margin-bottom: 15px;
	margin-left: 0px;
	text-align: center;
	z-index: 10;
}

 
.mid_ad
{ 
	height: 80px;
	width: 670px;
	/*background-color: #ffffcc;
	border-right: #cd853f 1px dashed;
	border-top: #cd853f 1px dashed;
	border-left: #cd853f 1px dashed;
	border-bottom: #cd853f 1px dashed;*/
	clear: both;
	vertical-align: middle;
	margin-left: 13px;
	*margin-left: 3px;
	margin-top: 0px;
	margin-bottom: 0px;
	z-index: 1; 
}

.mid_ad_ref
{
	height: 80px;
	width: 670px;
	/*background-color: #ffffcc;
	border-right: #cd853f 1px dashed;
	border-top: #cd853f 1px dashed;
	border-left: #cd853f 1px dashed;
	border-bottom: #cd853f 1px dashed;*/
	position: absolute;
	clear: both;
	vertical-align: middle;
	margin-left: 13px;
	*margin-left: 3px;
	margin-top: 0px;
	margin-bottom: 0px;
	z-index: 10;
}

.ad_img_border
{
border-right: #dcdcdc 1px solid; 
border-top: #dcdcdc 1px solid; 
border-left: #dcdcdc 1px solid; 
border-bottom: #dcdcdc 1px solid;
}

/*- 選單用樣式表--------------------------- */
    #navcontainer
{
    width: 980px;
    height: 30px;
    /*background-color: #999999;*/
	background-image:url(image/002.jpg);
}

#navcontainer ul
{
    margin:0 0 0 -25px;
    *margin:0 0 0 10px;
    list-style-type: none; /*去掉項目符號*/
}
#navcontainer li
{
    display: inline; /*讓項目變成水平排列*/

}
#navcontainer a
{
    float: left; /*將項目向右排列*/
    padding: 4px 12px 0px 12px; /*讓文字跟邊框分開*/
	*padding: 5px 12px 0px 12px; 
     /*background: url("images/new_style/menu_button.gif" ) no-repeat right top;*/
    text-decoration: none;
   /* background-color: #999999;*/
}
#navcontainer a span
{
    font-family: Arial, Helvetica, sans-serif;
	font-weight:700;
    font-size: 13px;
    color: #FFFFFF;
    display: block;
}
#navcontainer a:hover
{
      background-position:0% -55px;
}
#navcontainer a:hover span
{
    background-position: 100% -55px;
    color: #333333;
}

#navcontainer a:active
{
      background-position:0% -110px;
}

#navcontainer a:active span
{
    background-position: 100% -110px;
    color: #009900;
}

/*選單用樣式表--------------------------- */
/*- TITLE內的物件--------------------------- */

#Google_searchBar
{
    width: 250px;
    height: 25px;
    top: 30px;
    *top: 28px;
    left: 550px;
    *left: 200px;
    position: relative;
}
#facebook
{
    width: 130px;
    height: 25px;
    top: 5px;
    *top: 5px;
    left: 800px;
    *left: 390px;
    position: relative;
}

/*- 集團連結用樣式表--------------------------- */
#group_link
{ 
    color: #595959;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    position: relative;
 	width: 500px;
    left: 450px;
    *left: 230px;
    top: 5px;
font-size: 13px; 
}

#group_link A:link
{
    color: #808080;
    font-style: normal;
    text-decoration: none;
}
#group_link A:visited {
	COLOR: #808080; FONT-STYLE: normal; TEXT-DECORATION: none
}
#group_link A:active
{
    color: #FFFF66;
    font-style: normal;
    text-decoration: none;
}
#group_link A:hover
{
    color: #FF9900;
    font-style: normal;
    text-decoration: underline;
}

/*- 第二層更多內容頁面樣式表------------------------------ */
#main_more_content
{
	width: 700px;
	margin: 10px 0 15px 0;
	float: left;
	text-align: center;
}
#sec_main_more_content
{
	position: relative;
	width: 650px;
	margin: 0 auto 0px; 
	/*float: left;*/
	text-align: left;
}


/*- 新版網頁內容用樣式表--------------------------- */
/*- 各區塊標題列樣式表--------------------------- */
.blocktitle_180
{
    padding: 2px 0 0 0; 
	background-image: url(image/005-180.jpg);
    height: 20px;
    background-repeat: no-repeat;
	text-align: left;
   /* background-color: #EBEBEB;*/
}


.blocktitle_510
{
    padding: 2px 0 0 0; 
	background-image: url(image/005-510.jpg);
    height: 20px;
    background-repeat: no-repeat;
	text-align: left;
   /* background-color: #EBEBEB;*/
}

.blocktitle_230
{
    padding: 2px 0 0 0; 
	background-image: url(image/005-230.jpg);
    height: 20px;
    background-repeat: no-repeat;
	text-align: left;
   /* background-color: #EBEBEB;*/
}

.blocktitle_650
{
    padding: 2px 0 0 0; 
	background-image: url(image/005-650.jpg);
    height: 20px;
    background-repeat: no-repeat;
	text-align: left;
   /* background-color: #EBEBEB;*/
}


.blocktitle_txt
{  
    font-weight: bold;
	padding: 0 0 0 20px;
	*padding: 0 0 0 20px;
    font-size: 13px;
    color: #72BCD0; 
}




/*- 即時樣式表--------------------------- */
#rt_news
{
	width: 230px;
	clear: both;
	/*background-color: #ccff66;
	margin-left: 15px;
	*margin-left: 0px;*/
}

.news_block
{
	font-size: 13px;
	text-align: left;
	line-height: 1.5em;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	vertical-align: top;
	overflow: hidden;
	text-align: left; 
	width: 230px;
	border-bottom: #ebebeb 1px solid;
	color: #696969;
	margin-bottom: 5px;
}
.news_title
{
	font-size: 13px;
	color: #000000;
	line-height: 1.5em;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	text-decoration: none;
}

.date_txt
{
    font-size: 11px;
    color: #AFAFAF;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}

.news_art
{
	font-size: 11px;
	color: #FF6600;
	background-color:#f5f5f5;
	border-right: #dcdcdc 1px solid;
	border-top: #dcdcdc 1px solid;
	border-left: #dcdcdc 1px solid;
	border-bottom: #dcdcdc 1px solid;
	margin-right: 5px;
	padding: 1px 1px 1px 1px;
}
/*當期雜誌樣式表--------------------------- */

#currentissue
{ 
	vertical-align: top;
	text-align: left;
	/*background-color: #cccc66;*/
	margin: 0 15px 0 0;
	*margin: 0 5px 0 0;
	 width: 180px;

}

.currentissue_block
{
	TEXT-ALIGN: left;
	 LINE-HEIGHT: 1.7em;
	  WIDTH: 180px;
	   FONT-FAMILY: "Arial" , "Times New Roman" , Georgia, Times, serif; 
	   COLOR: #cc6600;
	    FONT-SIZE: 13px;
		 VERTICAL-ALIGN: top;
		  OVERFLOW: hidden
}
.currentissue_txt
{
	font-size: 13px;
	line-height: 1.7em;
	text-align: justify; 
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}
.currentissue_sub_txt
{
    font-size: 13px;
    color: #003333;
    line-height: 1.5em;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    width: 180px;
}
.currentissue_img_border
{
    padding: 2px;
    border-right: #dcdcdc 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #dcdcdc 2px solid;
    border-width: 1px;
    width: 170px;
    height: 232px;
    margin: 5px 10px 0 0 ;
    /*float: left; */

}
.currentissue_title
{
	font-size: 13px;
	color: #000000;
	line-height: 1.5em;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	text-decoration: none;
}

.currentissue_art
{
	font-size: 11px;
	color: #669999;
	background-color: #f5f5f5;
	border-right: #dcdcdc 1px solid;
	border-top: #dcdcdc 1px solid;
	border-left: #dcdcdc 1px solid;
	margin-right: 5px;
	border-bottom: #dcdcdc 1px solid;
	padding: 1px 1px 1px 1px;
}

/*首頁最新採購情報樣式表--------------------------- */
.diy_shop
{
    margin: 0 0 10px 0; /*height: 100px;*/
    width: 510px;
    float: left;
    text-align: left;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #C0C0C0;
    padding-bottom: 5px;
}

.diy_shop_title
{
    color: #CC6600;
    width: 50px;
    height: 100px;
    background-color: #FFFFCC;
}

.diy_shop_block
{
    font-size: 13px;
    text-align: left;
    line-height: 1.5em;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    vertical-align: top;
    overflow: hidden;
    text-align: left;
    width: 345px; /*border-bottom: #ebebeb 1px solid;
	margin-bottom: 5px;*/
    color: #696969;
    float: left;
}

.diy_shop_txt
{
	font-size: 13px;
	line-height: 1.5em;
	text-align: justify; 
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}

.diy_shop_date_txt
{
	font-size: 11px;
	color: #c0c0c0;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}
.diy_shop_img_border
{ 
    padding: 2px;
    border-right: #dcdcdc 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #dcdcdc 2px solid;
    float: left;
    margin-right: 8px;
    border-width: 1px;
    max-width:150px;
    _width:150px;
    /*max-height:150px;
    width: expression(this.width > 150px && this.width > this.height ? 150px : auto);*/
    /*height: expresion(this.height > 150px ? 150px : auto);*/
    overflow: hidden;
     
     }
     
/*.diy_shop_img_border
{ 
    padding: 3px;
    border-right: #808080 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #808080 2px solid;
    border-width: 1px 3px 3px 1px;
    max-width:500px;
    width: expression(this.width > 500px && this.width > this.height ? 500px : auto);
    border-width: 1px;

     }*/
.diy_shop_art
{
	font-size: 11px;
	color: #FF6600;
	background-color:#f5f5f5;
	border-right: #dcdcdc 1px solid;
	border-top: #dcdcdc 1px solid;
	border-left: #dcdcdc 1px solid;
	border-bottom: #dcdcdc 1px solid;
	margin-right: 5px;
	padding: 1px 1px 1px 1px;
}
     


/*資訊櫥窗樣式表--------------------------- */

.diy_news
{
    margin: 0 0 10px 0; /*height: 100px;*/
    width: 230px;
    float: left;
    text-align: left;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
    border-bottom-color: #C0C0C0;
    padding-bottom: 5px;
}

.diy_news_title
{
    color: #CC6600;
    width: 50px;
    height: 100px;
    background-color: #FFFFCC;
}

.diy_news_block
{
    font-size: 13px;
    text-align: left;
    line-height: 1.5em;
    font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
    vertical-align: top;
    overflow: hidden;
    text-align: left;
    width: 120px; /*border-bottom: #ebebeb 1px solid;
	margin-bottom: 5px;*/
    color: #696969;
    float: left;
}

.diy_news_txt
{
	font-size: 13px;
	line-height: 1.5em;
	text-align: justify; 
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}

.diy_news_date_txt
{
	font-size: 11px;
	color: #c0c0c0;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}
.diy_news_img_border
{ 
    padding: 2px;
    border-right: #dcdcdc 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #dcdcdc 2px solid;
    float: left;
    margin-right: 8px;
    border-width: 1px;
    max-width:90px;
    _width:80px;
    max-height:90px;
    _height:80px;
    /*width:expression(this.width > 90px && this.width > this.height ? 90px : auto);
    height:expresion(this.height > 90px ? 90px : auto);*/
    overflow: hidden;
     
     }
.news_img_border
{ 
    padding: 3px;
    border-right: #808080 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #808080 2px solid;
     max-width:250px;
    border-width: 1px;
    margin: 0 10px 0px 0;
    float: left;
}     
.contetnt_img_border
{ 
    padding: 3px;
    border-right: #808080 2px solid;
    border-top: #dcdcdc 2px solid;
    border-left: #dcdcdc 2px solid;
    border-bottom: #808080 2px solid;
    border-width: 1px 3px 3px 1px;
    border-width: 1px;
    max-width:500px;
    height:auto;
    zoom:expression( function(elm)

       {     if (elm.width>500) 

               {  var oldVW = elm.width; elm.width=500;             

                   elm.height = elm.height*(500 /oldVW);        

                }         elm.style.zoom = '1';     

      }

(this));
}

/*文章免責聲明*/
.declare_txt
{
    font-size: 11px;
    color: #FF6600;
    margin-left: 10px;
}

.other_news_list
{
	font-size: 13px;
	line-height: 1.8em;
	color: #696969;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	margin-left: 10px;
}

#about_other_news
{
	/*background-image: url(http://www.pcdiy.com.tw/images/new_style/about_link.gif);*/
	width: 100%;
	height: 20px;
	font-weight: normal;
	color: #696969;
	text-align: center;
	margin: 10px 0px;
    background-color: #EBEBEB;
	
}

#writer_time
{
	width: 500px;
	text-align: justify;
}

.correlation
{
    width: 250px;
    height: auto;
    padding: 10px;
    border: 1px double #66CCFF;
    background-color: #CCFFFF;
    line-height: 1.5em;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    word-break:break-all;
    overflow:hidden;
}

/*- 最新活動動態樣式表--------------------------- */
.act_ind_block
{
	font-size: 13px;
	line-height: 1.7em;
	color: #cc6600;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	vertical-align: top;
	overflow: hidden;
	width: 230px;
	text-align: left;

}

/*- 公告樣式表--------------------------- */
.anm_ind_block
{
	font-size: 13px;
	line-height: 1.7em;
	color: #cc6600;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	vertical-align: top;
	overflow: hidden;
	width: 180px;
	text-align: left;

}

/*-  標準內文版型樣式表--------------------------- */
#sec_main_content
{
	text-align: left;
	margin: 0 0 0 30px;
	*margin: 0 0 0 0;
	width: 630px;
}
/*- .NET控制項-GridView用樣式--------------------------- */
.GridView_Css TD
{
	font-size: 13px;
	color: #696969;
}

.GridView_Css TD SPAN
{
	font-weight: bold;
	font-size: 20px;
	color: #ffd700;
	text-decoration: underline;
}

.GridView_Css A:hover
{
    font-size: 15px;
    background-color: #D9FFFF;
    color: #ff9933;
    text-decoration: none;
}


/*- .NET控制項-Menu用樣式--------------------------- */
.Menu_Css A:link
{
	font-size: 13px;
	color: #ffffff;
}

.Menu_Css TD:hover
{
	background-color: #a9a9a9;
}
.Menu_Css A:hover
{
	font-size: 14px;
	color: #000000;
}

/*- .NET控制項-Menu TEST用樣式--------------------------- */
.Menu_Css1 A:link
{
    font-size: 13px;
    color: #FFFFFF;
}

.Menu_Css1 TD:hover
{
    background-color: #00B8EA;
    color: #000000;
    font-weight: bolder;

}
.Menu_Css1 A:hover
{
    font-size: 13px;
    color: #000000;
}

/*- 內文樣式表--------------------------- */
.sub_txt
{
	font-size: 15px;
	color: #003333;
	line-height: 1.5em;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
}

.more_link
{
	font-size: 11px;
	font-family: "Arial" , "Times New Roman" , Georgia, Times, serif;
	text-align: right;
}


.大標
{
	font-weight: bold;
	font-size: 26px;
	line-height: 1.2em;
	color: #6DB932;
}
.副標
{
	font-weight: bold;
	font-size: 22px;
	line-height: 1.2em;
	color: #696969;
}
.引言
{
	font-size: 13px;
	color: #414141;
	line-height: 1.8em;
}
.小標
{
	font-weight: bold;
	font-size: 18px;
	color: #2F65AD;
	line-height: 1.8em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.小小標
{
    font-size: 14px;
    line-height: 1.5em;
    color: #000000;
    font-weight: bold;
}
.作者
{
    font-size: 13px;
    color: #808080;
    line-height: 1.8em;
}
.圖說
{
	font-size: 13px;
	color: #336633;
	line-height: 1.5em;
	margin-left: 0px;
}
.內文
{
	FONT-SIZE: 13px;
	COLOR: #393939;
	LINE-HEIGHT: 1.8em;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	text-align: justify;
    word-break:break-all;
    overflow:hidden;

}

.內文 a
{
	color: #0033ff;
	text-decoration: underline;
}

.內文 a:hover
{
	color: #FF6000;
	FONT-SIZE: 14px;
}

.超連結
{
	font-size: 13px;
	color: #0033ff;
	line-height: 1.5em;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-decoration: underline;
}
