/*
Theme Name: UGAMM_theme
Theme URI: http://metaarchit.com/ 
Description: 澳門街坊會聯合總會30周年紀念主題
Author: 澳門元架構軟件技術有限公司
Author URI: http://metaarchit.com/
Version: 1.0
Tags: blue,UGAMM, anniversary,
*/
@charset "utf-8";


    
/*	--------------------------------------------------
	Global Reset & Standards
	-------------------------------------------------- */

	table { border-collapse: collapse; border-spacing: 0; }
	ol, ul { list-style: none; }
	
	h4 {
		font-weight: bold; 
		color: #222;
		font-size: 15px; }
		
	a:hover { text-decoration: underline; }
/* demo-style結束  */


* {
    border: 0;
    margin: 0;
    padding: 0;
}

body{
	font-family: 'Microsoft Yahei', Arial, Helvetica, Georgia, Sans-serif;
	font-size: 13px;
	color: #333;	
	background: url(images/body.gif); repeat;
	margin: 0;
    padding: 0;
	text-align:center;
}

a:link, a:visited{
	text-decoration: none;
	color: #3b8dd1;
}

a:hover{
	text-decoration: underline;
	color: #8cac52;
}

.h2{
	height: 18px;
	line-height: 30px;
	font-size: 20px;
	color: #000;
	margin-top: 10px;
}

#body {
	height: auto;
	width: 1024px;
	margin-right: auto;
	margin-left: auto;
}

.clearfix {
	clear:both;
	height:0;
	overflow:hidden;
}


#body-content-all {
	width: 1024px;
	margin-right: auto;
	margin-left: auto;
	overflow: hidden;
	margin-top:20px;
	text-align:left;
}

#header{
	height:98px;
	background-color: #fff;
	margin-right: auto;
	margin-left: auto;
}


/* logo */
.logo{
	float:left;
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	margin-top: 20px;
	margin-right: 10px;
	margin-bottom: 0;
	margin-left: 20px;
	display:block;
	width:377px;
	height:68px;
	line-height:50px;
}

.logo h1{
	font-size:24px;
}

.logo a{
	display:block;
	width:377px;
	height:68px;
	line-height:50px;
}

.logo a:hover{
	text-decoration: none;	
}

/* search-form */
.search-form{
	font-family: 'Microsoft Yahei', Arial, Helvetica, Georgia, Sans-serif;
	float:right;
	margin-top: 35px;
	margin-right: 20px;
	margin-bottom: 0;
	margin-left: 10px;
}

.search-form input{
	float: left;
}

.search-input{
	border-radius:2px 0 0 2px;
	border:none;
	display:block;
	font-size:13px;
	height:20px;
	line-height:20px;
	padding:4px 8px;
	background-color:#eee;
	width:140px;
	color:#B3B3B3;
}

.search-input:focus{
	color:#444;
	background-color: #fff;
}

.search-submit{
	background-color: #3b8dd1;
	border-radius: 0 2px 2px 0;
	height: 28px;
	color:#fff;
	padding:0 10px;
	border: none;
	cursor: pointer;
}

.search-submit:hover{
	background-color: #8cac52;
}

/* =Menu
-------------------------------------------------------------- */


#access {
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	float: left;
	width: 1024px;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 6px;
	padding-left: 15px;
	background-image: url(images/menu-bg.png);
	background-repeat: repeat-x;
}
#access ul {
	font-size: 13px;
	list-style: none;
	padding-left: 0;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #FFF;
	display: block;
	line-height: 3.333em;
	padding: 0 1.2125em;
	text-decoration: none;
	font-size: 14px;
}
#access ul ul {
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 3.333em;
	left: 0;
	width: 188px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #f9f9f9;
	border-bottom: 1px dotted #ddd;
	color: #000000;
	font-size: 13px;
	font-weight: normal;
	height: auto;
	line-height: 1.4em;
	padding: 10px 10px;
	width: 168px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #efefef;
}
#access li:hover > a,
#access a:focus {
	color: #373737;
	background-image: url(images/menu-bg-hover.png);
	background-repeat: repeat-y;
}
#access ul li:hover > ul {
	display: block;
}
#access .current-menu-item > a,
#access .current-menu-ancestor > a,
#access .current_page_item > a,
#access .current_page_ancestor > a {
	font-weight: bold;
}



#wrapper{
	width: 1024px;
	float: left;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	padding-top: 20px;
	overflow: hidden;
}

#all-container{
	float: left;
	width: 710px
}

.post{
	float:left;
	width:678px;
	padding: 15px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	border:1px solid #dedede;
	background:#fafafa;
	position: relative;
	overflow:hidden;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
}

.post:hover{
	border:1px solid #8cac52;
}

.post h2{
	height: 18px;
	line-height: 18px;
	font-size: 18px;
	padding:0 0 10px 0;
}

.post .readmore{
	position:absolute;
	top:10px;
	right: 10px;
}
.title {
	height: 40px;
	padding-left: 10px;
}


.post .thumbnail_box .thumbnail{
	float: left;
	width: 140px;
	height:100px;
	margin: 6px 10px 0 0;
	padding: 4px;
	border:1px solid #ccc;
}

.post .thumbnail_box .thumbnail img{
	width: 140px;
	height:100px;
}

#gallery-content{
	width: 150px;
	height:200px;
	margin-bottom: 10px;
}
.thumbnail_box .thumbnail img{
	width: 250px;
	height:155px;
	margin-bottom: 5px;
}

.entry p{
	text-indent:25px;
	line-height: 28px;
}

.entry .postmetadata{
	height:34px;
	line-height:34px;
	border-top: 1px dashed #dedede;	
}

.entry .postmetadata span{
	color:#3b8dd1;
}


/* 文章声明、相关文章 */
#post_box,#post_boxs,#post_box_related {
	clear:both;
	width:auto;
	margin-bottom:10px;
	line-height:24px;
	background:#fafafa;
	border:1px solid #dedede;
	padding:5px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}

#post_box .authorbio {
	float:left;
	width:107px;
	text-align:center;
	border:1px solid #dedede;
	margin:2px 10px 2px 0;
	padding:2px;
}

#post_box .author_pic {
	width:48px;
	height:48px;
	margin:5px auto;
	padding:0;
	border:1px solid #ccc;
}

#post_box .author_description {
	width:auto;
	margin:5px auto;
}

#post_box .author_text {
	width:auto;
	line-height:22px;
	padding:5px 0 3px 0;
}

#post_box h3, #page_error h3, #post_box_related h3 {
	font-size:14px;
	line-height:24px;
	border-bottom:1px dashed #dedede;
	color:#3b8dd1;
	padding-left:22px;
}

#post_box_related h3{
	background:url(images/all_icon.png) no-repeat 0 -589px;
}

#post_box ul, #post_boxs ul, #post_box_related ul {
	float:left;
	height:auto;
	margin-top:5px;
}

#post_box ul li,#post_box_related ul li {
	overflow:hidden;
	border:none;
	height:25px;
	background:url(images/all_icon.png) no-repeat 0 -1445px;	
	padding-left:12px;
}

#post_box_related ul li {
	width:400px;
}

#post_box_related a {
	color:#333;
	text-decoration:none;
}
#post_box_related a:hover {
	color:#8cac52;
	text-decoration:underline;
}

#post_boxs ul li {
	overflow:hidden;
	border:none;
	height:25px;
	padding-left:12px;
}

#post_box .google_related {
	margin-top:5px;
	float:right;
	height:auto;
}

#post_box .img {
	width:200px;
	height:200px;
}

#post_alipay {
	width:auto;
	margin-bottom:10px;
}
/* 文章声明、相关文章结束 */


/* sidebar側邊欄 */
.sidebar{
	float: right;
	width: 290px;
	display: inline;
	color:#666;
}

.sidebar .widget{
	margin-bottom:10px;
	border:1px solid #dedede;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background:#fafafa;
}

.sidebar .widget ul.tags a{
	display:inline;
	float:left;
	margin:2px 2px 2px 0;
	padding:2px 5px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
	background:#e8e8e8;
}

.sidebar .widget ul.tags a:hover{
	text-decoration:none;
	color:#fff;
	background:#8cac52;
}

.sidebar .widget ul.sidebar_archives li,.sidebar .widget ul.links a{
	display:inline;
	float:left;
	width:50%;
}

.sidebar h2.widgettitle{
	margin:0 10px;
	padding:10px 0;
	border-bottom:1px solid #ddd;
}

.sidebar ul{
	list-style-type: none;
}

.sidebar ul li ul{
	margin:0 10px;
	padding:5px 0;
}

.sidebar ul li h2{
	font-family: Georgia, Sans-serif;
	font-size: 14px;
}

.sidebar ul ul li{
	line-height: 24px;
}

table#wp-calendar{
	width: 100%;
}
/* 側邊欄結束 */





/*404-error-page開始*/
.errors_404 {
	position:relative;
	width:700px;
	height:300px;
	background-image: url(images/404.png);
	background-repeat: no-repeat;
}

.to_home {
	position:absolute;
	top:340px;
	left:310px;
	width:80px;
	height:28px;
}

.to_back {
	position:absolute;
	top:340px;
	left:410px;
	width:100px;
	height:28px;
}

/*404-error-page結束*/


/*評論框樣式開始*/
.comments-template{
	margin: 0;
	padding: 0;
}

.comments-template ol{
	list-style: none;
}

.comments-template ol li{
	margin:0 0 10px 0;
	padding:10px;
	background:#fafafa;
	border:1px solid #dedede;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;	
}

.comments-template h2, .comments-template h3{
	font-size: 16px;
}

.comments-template h3,#respond h3{
	margin:0 0 10px 0;
	padding:0 0 10px 0;
	border-bottom: 1px dashed #dedede;
}

#respond #comment{
	background:#fff url(images/comment.gif) no-repeat center;
}

.commentlist li{
	list-style:none;
}

.commentlist .comment-author img.avatar,.sidebar .widget ul li img.avatar{
	float:left;
	border:1px solid #e7e7e7;
	display:inline;
	margin:0 10px 0 0;
	padding:2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;	
}

.sidebar .widget ul li img.avatar{
	display:inline;
	margin:5px 10px 0 0;
}

.commenttext{
	padding-left:48px;
}

.comments-template p{
	line-height:30px;
}

.comments-template #commentform{
	margin:0 0 10px 0;
	padding:10px;
	background:#fafafa;
	border:1px solid #dedede;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;		
}

.comments-template textarea{
	margin:10px 0 0 0;
	padding:6px;
	color:#666;	
	border:1px solid #dedede;
}

.comments-template input{
	height:30px;
	padding-left:6px;
	border:1px solid #dedede;	
}

.comments-template #author, .comments-template #email, .comments-template #url{
	margin:0 10px 10px 0;
	color:#888;	
}

.comments-template #author:hover, .comments-template #email:hover, .comments-template #url:hover, .comments-template textarea:hover{
	border:1px solid #8cac52;
}

.comments-template p input#submit, .comments-template p input#reset{
	margin:10px 0 0 0;
	padding:5px 10px;
	color:#fff;
	font-weight:700;
	background:#8cac52;
	cursor:pointer;
}

/*評論框樣式結束*/



/* 文章底部分页样式 */
.navigation {
	text-align:center;
	font-weight:700;
	margin:5px 0 10px 0;
}

.navigation a {
	width: 16px;
	background:#fff;
	color:#000;
	border:1px solid #ccc;
	padding:4px 8px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.navigation a:hover {
	background:#8cac52;
	color:#fff;
	text-decoration:none;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.navigation .pages {
	color:#fff;
	margin-right:5px;
	background:#8cac52;
	padding:4px 8px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}

.navigation .current {
	color:#fff;
	background:#8cac52;
	padding:4px 8px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
}
/* 分页结束 */



/* footer */
#footer{
	clear:both;
	text-align:center;
	height:34px;
	padding-top:22px;
	color:#5a8ea9;
	background-image: url(images/footer.gif);
	background-repeat: repeat-x;
	background-position: top;
}
	
#footer a:link, #footer a:visited{
	color:#5a8ea9;
}

#footer a:hover{
	color:#ecf8ff;
}
/* footer結束 */


/** 现在位置開始 **/
#map {
	height: 27px;
	width: 708px;
	margin-top: 0;
	margin-right: 0;
	margin-bottom: 10px;
	margin-left: 0;
	float:left;
	border-radius: 6px;
	border:1px solid #dedede;
	background:#fafafa;
	overflow:hidden;
	}
#feed{ text-indent:-10000px;}
#feed a  {
	float:right;
	width:27px;
	line-height:15px; 
	margin: 6px 8px 0 0;
	}
.browse {
	text-shadow: 0px 1px 0px #d1d1d1;
	width:450px;
	float:left;
	line-height:27px; 
	padding:0 0 0 10px;
	}
.browse a,.browse{
	text-shadow: 0px 1px 0px #fff;
	}
.browse a:hover {
 	color: #0196e3;
	}
/** 现在位置結束 **/

/**分類文章標題樣式開始**/

	
.article-title {
	line-height:30px;
	text-indent:20px;
	height:30px;
	border-top: 1px dashed #dedede;
	background-image: url(images/article-title-icon.png);
	background-repeat: no-repeat;
	background-position: left;
	}
/**分類文章標題樣式結束**/

