@import url("matt.css");

body, caption, th, td, input, textarea, select, option, legend, fieldset, p {
	font-family:Helvetica,Verdana,Arial,"Bitstream Vera Sans",sans-serif;
}

body {
    background-color: #f1f1f1;
	padding: 0;
}

#content,
#sidebar-right {
	line-height: 1.45em;
}

#content-top > .block:first-child h2 {
	font-size: 1.85em;
}

body.front #content ul.links li:first-child {
	padding-left: 0;
}

	body.front #content ul.links li:first-child a:after {
		content: ''
	}

	

	body.front .node-teaser p:last-child {
	}

#footer {
	line-height: 1.3em;
	font-size: .84em;
	width: 800px;
	margin: auto;
	margin-top: 10px;
}

	#footer p {
		margin: 0;
	}
	
body.front .node {
	margin-top: 2.3em;
	margin-bottom: 2.3em;
}

body.front #content-area .node:first-child {
	margin-top: 0;
}

	body.front .node h2 a {
		color: black;
		text-decoration: none;
	}
	
	body.front .node h2 a:hover {
		color: blue;
		text-decoration: underline;
	}

	body.front .node img {
		margin: 0 0 0 10px;
		float: right;
	}

h2 a {
	color: blue;
}

#main {
	background-color: white;
}

#content {
	margin-bottom: 12px;
}

#sidebar-right .advertisement {
	margin-top: 13px;
	margin-bottom: 13px;
}

#top .block {
	margin-bottom: 12px;
	margin-top: 12px;
}

	#top .block p {
		margin: 0;
	}
	
	#top .block object,
	#top .block img {
		vertical-align: middle;
	}

#top .html-advertisement a[target="blank"] {
	line-height: 0em;
	font-size: 0;
}

#sidebar-left-inner .block {
	-moz-box-shadow: 3px 3px 3px #ddd;
	-webkit-box-shadow: 3px 3px 3px #ddd;
}

#header-inner {
	background-image: url(images/header_background.jpg);
	background-color: #29527E;
	background-repeat: repeat-x;
}

#page {
	-moz-box-shadow: 3px 3px 3px #ccc;
	-webkit-box-shadow: 3px 3px 3px #ccc;
}

#site-name,
#skip-to-nav {
	display: none;
}

#logo {
	line-height: 0;
	padding: 26px 0 26px 42px;
}

.with-navbar #content, .with-navbar #sidebar-left, .with-navbar #sidebar-right {
	margin-top: 3.22em;
}

#navbar {
	/* border-top: 1px solid #274E69; */
	background-image: url(images/navbar_background.png);
	background-repeat: repeat-x;
	overflow: hidden;
	height: 2.6em;
	font-size: 1.2em;
	background-color: #437E9D;
	/* background-color: #15273C; */
}
	
	#navbar ul.links li {
		padding: 0;
		border-right: 1px solid #315F79;
	}

	#navbar ul.links a {
		display: block;
		padding-top: 12px;
		padding-bottom: 12px;
		padding-left: 32px;
		padding-right: 32px;
		color: white;
		text-decoration: none;
	}

	#navbar ul.links a.active,
	#navbar ul.links a:hover {
		background-image: url(images/navbar_background_hover.png);
		background-repeat: repeat-x;
	}
	
	#navbar ul.links li:last-child {
		border-right: 0px none;
	}
	
	#primary {
		margin: 0;
	}

#sidebar-left-inner .item-list > ul {
	margin-top: 6px;
	margin-bottom: 6px;
}
	
#sidebar-left-inner {
	margin: 12px 12px 0 12px;
}

	#sidebar-right-inner {
		margin-top: 12px;
		margin-left: 0;
		margin-right: 12px;
	}
	
	#sidebar-left .block h2 {
		background: #4483A4 url(images/navbar_background.png) repeat-x;
		color:#FEFEFE;
		padding:7px 0 8px 10px;
		font-weight: normal;
		font-size: 1.15em;
	}

#content-inner {
	margin-top: 12px;
	margin-right: 20px;
	margin-left: 4px;
}

#sidebar-left .block .content {
	background-color:#EBEDEF;
	padding:8px;
}

#sidebar-left .block.block-menu .content,
#sidebar-left .block.block-user .content {
	padding-top:4px;
	padding-bottom:4px;
}

#sidebar-left .block-menu ul,
#sidebar-left .block-menu li.leaf {
	list-style: none;
	list-style-type: none;
	list-style-image: none;
}

#sidebar-left .block div.content > div ul.menu,
#sidebar-left .block div.content > ul.menu {
	list-style: none;
	padding: 0;
}

	#sidebar-left .block div.content > div > ul.menu > li,
	#sidebar-left .block div.content > ul.menu > li {
		list-style: none;
		list-style-image: none;
		list-style-type: none;
	}

#sidebar-left .block div.content div ul.menu li,
#sidebar-left .block div.content ul.menu li {
	padding: 2px 0 2px 0px;
}

.content {
	color: #3a3a3a;
}

#sidebar-left .block a {
	color:#2998D8;
	line-height:20px;
}

#sidebar-left .block,
#sidebar-right .block {
	font-size: .92em;	
}

#sidebar-left .block ul {
	margin: 0;
}

#sidebar-left div.content a.active,
#sidebar-left div.content a.active-trail {
	color:black;
	text-decoration:none;
}

#top {
	width: 1200px;
	margin: auto;
	text-align: center;
}

#page {
	font-size: .85em;
}

#search {
	width: 255px;
	height: 25px;
	padding: 2px;
	float: right;
	background-color: white;
	margin-right: 30px;
	margin-top: 24px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px; 
}

	#search form {
		white-space: nowrap;
	}

	#search .query {
		line-height: 1.2em;
		font-size: 100%;
		border: 0 none;
		width: 227px;
		padding-left: 3px;
		padding-top: 2px;
		padding-bottom: 2px;
	}

	#search .go {
		background-image: url(images/search.png);
		background-repeat: no-repeat;
		border: 0 none;
		height: 24px;
		width: 24px;
		cursor: pointer;
		vertical-align: middle;
	}

#twitter {
	width: 340px;
	height: 55px;
	padding: 2px;
	float: right;
	color: white;
	margin-right: 30px;
	margin-top: 8px;
	text-align: right;
	font-size: .9em;
	clear: right;
}
	
	#twitter a {
		color: #8EB8DD;
		background-image: url(images/twitter.png);
		background-repeat: no-repeat;
		padding-left: 18px;
		background-position: left center;
	}

.portal-preface {
	text-align: center;
}

#sidebar-right .block-portal h2 {
	text-align: center;
	margin-top: 0;
	border-bottom: 0px none;
} 

#sidebar-right .block-portal a.active {
	color: black;
	font-weight: bold;
	text-decoration: none;
}

#content-area {
	line-height: 1.4em;
}

/* low resolution */

.low-resolution #top {
	width: 760px;
	font-size: .9em;
}

.low-resolution #navbar ul.links a {
	padding: 12px 15px; 
}  

.low-resolution.two-sidebars #content {
	width: 525px;
}

.low-resolution #page, .low-resolution .no-sidebars #content {
	width: 760px;
}

.low-resolution #sidebar-right {
	display: none;
}

.block-menu h2 {
	cursor: pointer;
}

.block-menu div.content {
	display: none;
}

.block-menu.active-trail div.content {
	display: block;
}

#sidebar-left-inner div.block {
	margin-top: 1em;
}

	#sidebar-left-inner div.block-menu:first-child {
		margin-top: 0em;
	}
	
	#sidebar-left-inner div.block-menu {
		margin-bottom: 6px;
	}
	 
	#sidebar-left-inner div.block-menu + div.block-menu {
		margin-top: 6px;	
	}
	
.center {
	text-align: center;
}

.ad-image-counter {
	position: absolute;
	left: -9999999;
	top: -9999999;
}

body.front a.see_footnote {
	display: none;
}

body.front ol.footnotes {
	display: none;
}

body.front .field-field-recommended-books {
	display: none;
}

body.front .node h2.title,
body.front .block h2.title {
	/* border-bottom: 1px solid #eee; */
}

body.front #content .block {
	margin-bottom: 2.3em;
}

body.front #content-top p,
body.front #content-area p,
body.front #content-area ul,
body.front #content-area ol {
	margin-top: .5em;
	margin-bottom: .5em;
}

#sidebar-right-inner .block h2 {
	border-top: none;
}

#sidebar-right-inner .block {
	border-top: 2px solid #eee;
	padding-top: 12px;
}

#sidebar-right-inner .block:first-child {
	border-top: 0px none;
	padding-top: 0;
}

#block-menu-menu-dictionary-people ul.menu,
#block-menu-menu-minor-religions ul.menu,
#block-menu-menu-dictionary ul.menu {
	overflow: hidden;
}

#block-menu-menu-dictionary-people ul.menu li,
#block-menu-menu-minor-religions ul.menu li,
#block-menu-menu-dictionary ul.menu li {
	float: left;	
	margin-right: 8px;

	/* -moz-column-count: 3;
	-webkit-column-count: 3; */
}



#sidebar-right-inner .block-portal,
#sidebar-right-inner .block-portal:first-child {
	border: 1px solid #ccc;
	background-color: #f3f3f3;
	padding: 8px;
}

#block-portal h3 {
	color: black;
}

.block-portal p:last-child,
.block-portal p[style] {
	margin-bottom: 0;
}

.block.block-image {
	margin-top: 18px;
	margin-bottom: 16px;
}

.MIAPIC #navbar ul.links a {
	padding: 12px 30px;
}
