/*

Theme Name: kingsfood

Theme URI: http://www.topresultsonline.com.au/

Description: kingsfood

Author: Top Results Online

Author URI: http://www.topresultsonline.com.au/

Tags: kingsfood

*/

/* 整体 */

body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend
{	margin: 0;
	padding: 0;
	border: 0;
	font-family:Arial;list-style: none;
}
html {
min-height: 100%;
height:100%;margin: 0;
	padding: 0;
}
body{background-image:url(images/bg.jpg);min-height: 100%;height:100%;margin: 0;padding: 0;font-size:12px; line-height:180%; }
#wai{width:100%;min-height:100%;background-image:url(images/left.png); background-position:left; background-repeat:repeat-y;}
#nei{width:100%;min-height:100%;background-image:url(images/right.png); background-position:right; background-repeat:repeat-y;}
#bg8{width:100%;min-height:100%;background-image:url(images/bg2.jpg);background-position:top center; background-repeat:no-repeat; }
a img { border: none; }
td, p{line-height:180%; color:#000; font-size:14px;}
/* LAYOUT*/

#mynav{border-bottom:1px solid #b60005; line-height:22px; font-size:11px;color:#b60005; text-align:center; background-color:#7d0000;}
#mynav a{font-size:11px; color:#b60005;}
#primary,#secondary {
	float: left;
	width: 220px; border-right:0px solid #b60005;  
}
/* =Structure-------------------------------------------------------------- */
#wrapper {width:1000px;margin:0 auto;}
#logo {width:260px; height:261px;  margin:0 auto; padding-top:20px; position:absolute;left: 50%; margin-left:-130px;}
#wrapperfix1 {width:1000px; background-image:url(images/t1.png); height:29px;}
#wrapperfix2 {width:1000px; background-image:url(images/t2.png); min-height:500px;}
#wrapperfix3 {width:1000px; background-image:url(images/t3.png); height:54px; color:#fff; line-height:50px;}
#wrapperfix3 td{color:#fff;}
#wrapperfix3 td a{color:#fff;}
#mcenter{padding-top:30px; text-align:center;}
#menu{text-align:center;}
#container{width:960px; padding:20px; min-height:900px;}
#content{
	padding:20px; 
}
#mslide{width:960px; height:390px;}

#tel{text-align:right; width:100%;}

#FeedBackForm{padding:0; margin:0; width:209px; height:408px; background-image:url(images/formbg.jpg);}
#FeedBackForm td{color:#fff; font-size:12px;}
#FeedBackForm .minput{border:1px solid #333; color:#000; width:160px; height:15px; font-weight:normal;}
#FeedBackForm .mtext{border:1px solid #333; color:#000; width:158px; height:50px;font-weight:normal; font-size:12px;}

h1,h2,h3,h4,h5,h6{color:#000;}

hr {
	background-color: #E7E7E7;
	border:0;
	height: 1px;
	margin-bottom: 18px;
	clear:both;
}

/* Text elements */

a:link{

	color:#b60005;

	text-decoration:none;

}

a:visited {

	color:#b60005;text-decoration:none;

}

a:active,

a:hover {

	color:#b60005;text-decoration:underline;

}

/* =Header-------------------------------------------------------------- */

#header {

	padding: 0;

	margin:0;

	z-index:5000;

}

/* =Menu-------------------------------------------------------------- */

#access {

	width: 100%;

	display:block;

	z-index:3000;

	background-color:#7d0000;

	line-height:56px;

	height:56px;

}

#access .menu-header,div.menu {font-size: 14px;}

#access #wrapperfix { width:980px; height:56px;}

#access .menu-header ul,

div.menu ul {

	list-style: none;

	margin: 0;

}

#access ul li {

	float:left;

	position: relative;

}

#access a {

	display:block;

	text-decoration:none;

	color:#b60005;

	padding:0 25px;

	line-height:56px;

	font-size:16px;

	font-weight:bold;

	text-transform:uppercase;



}

#access ul ul {

	display:none;

	position:absolute;

	top:56px;

	left:0px;

	float:left;

	box-shadow: 0px 1px 1px rgba(0,0,0,0.2);-moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.2);

	border:1px solid #b60005;

	border-top:0px; border-bottom:0px;

	width: 240px;

	z-index: 2000;

}

#access ul ul li {

	min-width: 240px;

	border-bottom:1px solid #b60005;

	border-left:0px;

}

#access ul ul ul {

	left:100%;

	top:0;

}



#access ul ul a {

	background:#7d0000;

	height:auto;

	padding-left:10px;

	padding-right:10px;

	line-height:26px;

	width: 220px;

	text-transform:none; font-weight:normal;

}

#access li:hover > a,

#access ul ul :hover > a {

	color: #fff;

}



#access ul li:hover > ul {

	display:block;

}

#access ul ul :hover > a {

	background:#b60005;

	color:#000;

}

#access ul ul a {color:#b60005;}

#access ul ul  a:hover {

	color:#b60005;

}

#access ul li.current_page_item > a,

#access ul li.current-menu-ancestor > a,

#access ul li.current-menu-item > a,

#access ul li.current-menu-parent > a {

	color: #fff;

	



}

* html #access ul li.current_page_item a,

* html #access ul li.current-menu-ancestor a,

* html #access ul li.current-menu-item a,

* html #access ul li.current-menu-parent a,

* html #access ul li a:hover {

	color: #fff;

	

}

#access ul ul li.current_page_item > a,

#access ul ul li.current-menu-ancestor > a,

#access ul ul li.current-menu-item > a,

#access ul ul li.current-menu-parent > a {

	background:#d29b43;

	color:#000;

	line-height:26px;



}

html #access ul ul li a:hover {background:#d29b43;

	color:#000;}

* html #access ul ul li a:hover {background:#d29b43;

	color:#000;}

* html #access ul ul li.current_page_item a,

* html #access ul ul li.current-menu-ancestor a,

* html #access ul ul li.current-menu-item a,

* html #access ul ul li.current-menu-parent a,

* html #access ul ul li a:hover {

	background:#d29b43;

	color:#000;

	line-height:26px;

}

#access li{z-index:6000;}



/* =Content

-------------------------------------------------------------- */

#content ul,#content ol{margin-left:25px; margin-top:15px;}

#content li{list-style:square;}

#content,

#content input,

#content textarea {

	color: #333;

	font-size: 12px;

	line-height: 150%;

}


/* =Navigation-------------------------------------------------------------- */

.navigation {

	font-size:  12px;

	line-height: 18px;

	overflow: hidden;

	color: #888;



}



.navigation a:link,

.navigation a:visited {

	color: #888;

	text-decoration: none;

}

.navigation a:active,

.navigation a:hover {

	color: #FF4B33;

}

.nav-previous {

	float: left;

	width: 50%;

}

.nav-next {

	float: right;

	width: 50%;

	text-align:right;

}

#nav-above {

	margin: 0 0 18px 0;

}

.paged #nav-above,

.single #nav-above {

	display: block;

}

/* =Footer-------------------------------------------------------------- */

#footer {

	margin-bottom: 0px;

}



/* =Custom Style

-------------------------------------------------------------- */



#primary li a{color:#363636;}

#primary h1,

#primary h2,

#primary h3,

#primary h4,

#primary h5,

#primary h6 {

color: #fff; font-size:14px; clear:both; margin:0; padding:0; padding-left:15px; font-weight:bold; line-height:30px; text-align:left; border-bottom:1px solid #b60005; border-top:1px solid #b60005;background-color:#e1342d;}

#primary li{list-style:none;  margin-bottom:5px;}



#primary li ul li {list-style-image:url(images/dot.gif);   margin-bottom:5px; margin-left:10px; border-bottom:1px solid #efefef; padding-bottom:3px;}

#primary li ul{ background-image:url(images/ltd.gif); background-repeat:no-repeat;padding:10px; 	background-position:bottom; }



#primary li ul li.children{clear:both; margin-bottom:1px;}



#primary li ul li.children li{list-style-image:url(images/dot.gif); height:20px;  margin-bottom:0px; margin-left:20px;}

#primary li form{ padding:10px; background-position:bottom;  text-align:center;}

#searchsubmit{margin-top:10px;}

#primary li .textwidget{ padding:10px; 	background-position:bottom;  text-align:left;line-height:150%;}



img.alignright{float:right}

img.alignleft{float:left}

.alignright{float:right}

.alignleft{float:left}

#primary li.widget_tag_cloud div{padding:10px; text-align:left;}

#primary li.widget_tag_cloud div a{line-height:150%; display:inline-block; border-bottom:1px solid #f0f0f0; margin-right:5px;}



#mge{height:8px; clear:both; font-size:1px; line-height:8px;}

#titlep{ border-bottom:1px solid #b60005;padding-bottom:5px;}

#titlep h1{ font-size:28px; padding:0; margin:0; font-weight:bold; text-align:center}



#sitemap ul{ margin-left:30px; margin-bottom:20px;}

p{margin:0; padding:0; line-height:150%; margin-bottom:10px;}

#linksa{width:998px; border-top:1px solid #b60005; border-bottom:1px solid #b60005; height:auto; background-color:#f4f4f4; height:30px; text-align:center;}

#linksa span{margin-left:12px; line-height:20px;}

#linksa a{color:#666666;line-height:30px;}

#linksa a:hover{color:#b60005;}

#tag_cloud-3 a{font-size:11px;}

#copyright{font-size:11px; line-height:22px; padding-top:8px; padding-bottom:8px; color:#b60005;}


#mleft{float:left;}
#mright{float:right;}
#mnews{border-bottom:1px dashed #b60005; padding-bottom:2px;  padding-top:3px;}
#mynewslist a{line-height:22px;}
#mclear{height:0px; clear:both; font-size:0px; line-height:0px;}



/*pagenavi*/

.wp-pagenavi { display:block; clear:both;}

.wp-pagenavi a, .wp-pagenavi a:link, .wp-pagenavi a:visited, .wp-pagenavi a:active  { padding: 4px 8px !important; margin: 2px !important; text-decoration: none !important; border: 1px solid #ddd !important; background: #FFFFFF !important; color: #999 !important; }

.wp-pagenavi a:hover { border: 1px solid #3399cc !important; color: #3399cc !important; }

.wp-pagenavi span.pages { border: 1px solid #3399cc;padding: 4px 8px !important; margin: 2px !important; font-style: italic !important; color: #999 !important; font-size: 11px !important; }

.wp-pagenavi span.current { padding: 4px 8px !important; margin: 2px !important; font-weight: bold !important; border: 1px solid #3399cc !important; background: #3399cc !important; color: #fff !important; }

.wp-pagenavi span.extend { padding: 4px 8px !important; margin: 2px !important; border: 1px solid #ddd !important; background-color: #FFFFFF !important; }



#mynews a{font-size:24px; line-height:30px;}

#cmetia h2{font-size:12px;font-weight:normal; padding:0; margin:0;}



#qlinks td{color:#000; height:22px;font-size:18px;line-height:24px; text-align:center; background-color:#ebebeb;}

#qlinks td a{color:#000; font-size:18px; line-height:24px;}

.ourcampus{font-size:24px; color:#fff;}



#menuleft{ width:242px; overflow:hidden; float:left; margin-left:10px;}

#menuleft ul li{ width:242px; text-align:left;}

#menuleft ul li a { line-height:22px;} 

.ftitle{font-weight:bold; font-size:16px; width:160px; border-bottom:2px solid #000; line-height:24px;}

.footer,.footer a{color:#000; font-size:14px; }

#mcr,#mcr td,#mcr td p{color:#fff; font-size:16px;}
#mypic div.bg{ background-image:url(images/sunnybank-home-page-body-content.jpg); background-repeat:no-repeat; width:731px; height:411px;} #mypic{padding-left:20px;}