/*
Theme Name: cadan
Theme URI: http://cadanresources.com/
Description: Custom theme for cadanresources.com
Version: 1.0
Author: Cameron Cavers
Author URI: http://www.reactionlab.com/
Tags: custom

	cadan 1.0
	 

*/


body {
	background:#ffffff url(images/bg_body.png) repeat 0 0;
	margin:0;
	padding:0;
	text-align:center;
	font-family:Verdana, Helvetica, sans-serif;
	font-size:10px;
	line-height:18px;
}
p, ol, ul, li, dl, dt, dd, h1, h2, h3, h4, h5, h6 {margin:0;padding:0}
a:link, a:visited { text-decoration:none; outline:none; color:#1c75bc}
a:hover {text-decoration:underline; color:#ed1c24}
img {border:none;}


#container {
	background-position:134px 1px;
	background-repeat:no-repeat;
	background-color:#ffffff;
	margin:0 auto;
	text-align:left;
	width:950px;
	position:relative;
}
	#header {
		background:url(images/bg_header.png) no-repeat 0 0;
		width:936px;
		height:250px;
		margin-bottom:40px;
		width:0 10px 0 4px;
		position:relative;
	}
	#header h1 a:link, #header h1 a:visited {
		width:260px;
		height:75px;
		position:absolute;
		top:80px;
		left:28px;
	}
	#stockinfo {
		position:absolute;
		right:22px;
		bottom:42px;
		color:#ffffff;
		font-size:1.1em;
		text-align:right;
	}
	#stockinfo dl {
		width:10em;
		display:inline;
	}
	#stockinfo dt {
		display:inline;
	}
	#stockinfo dd {
		display:inline;
		font-weight:bold;
	}
	#stockinfo a:link, #stockinfo a:visited {
		color:#fff;
	}
	
#nav {
	position:absolute;
	width:645px;
	height:28px;
	left:92px;
	top:192px;
	font-size:1.1em;
	line-height:1.182em;
}
	#nav ul {
		margin-right:12px;
	}
	#nav li {
		list-style:none;
		display:block;
		float:left;
		padding:0 10px;
		height:14px;
		border-left:1px solid #fdc232;
		position:relative;
	}
	#nav li ul {
		background:url(images/bg_nav_dropdown.png) no-repeat 0 0;
		visibility:hidden;
		float:none;
		margin:5px 0 0;
		padding:2px 0 5px;
		top:15px;
		left:0;
		position:absolute;
		z-index:10000;
	}
	#nav li li {
		float:none;
		display:block;
		border:none;
		white-space:nowrap;
		padding:2px 10px;
	}
	#nav li.page-item-2 {
		border:none;
	}
	#nav li a:link, #nav li a:visited {
		color:#666;
	}
	#nav li.current_page_item a:link, #nav li.current_page_item a:visited,
	#nav li.current_page_parent li.current_page_item a:link, #nav li.current_page_parent li.current_page_item a:visited,
	#nav li.current_page_parent a:link, #nav li.current_page_parent a:visited {
		color:#1c75bc;
	}
	#nav li.current_page_item li a:link, #nav li.current_page_item li a:visited,
	#nav li.current_page_parent li a:link, #nav li.current_page_parent li a:visited {
		color:#1c75bc;
	}
	

	
	#content {
		padding-bottom:40px;
		position:relative;
		font-size:1.1em;
		line-height:1.636em;
		overflow:auto;
	}
	#contentSecondary {
			line-height:1.0909em;
			margin-left:22px;
			float:left;
			width:205px;
			padding-top:3px;
	}
		#contentSecondary h3 {
			color:#ed1c24;
			font-size:1.0em;
			font-weight:normal;
			margin-bottom:6px;
		}
		#contentSecondary ul {
			list-style:none;
		}
		#contentSecondary li {
			list-style:none;
		}
		#contentSecondary li a:link, #contentSecondary li a:visited {
			padding-bottom:6px;
			display:block;
		}
		#contentSecondary li.newspost a:link, #contentSecondary li.newspost a:visited {
			padding-bottom:0;
		}
		#subnav {
			width:240px;
		}
			#subnav ul {
				width:240px;
				float:left;
			}
			#subnav li {
				list-style:none;
				clear:both;
				display:block;
			}
			#subnav li a:link, #subnav li a:visited {
				cursor:pointer;
				color:#666;
			}
			#subnav li ul {
			}
			#subnav li.selected ul {
				display:block;
			}
			#subnav li.current_page_item li a:link, #subnav li.current_page_item li a:visited {
				color:#666;
			}
			#subnav li.current_page_item a:link, #subnav li.current_page_item a:visited, 
			#subnav li.current_page_item li.current_page_item a:link, #subnav li.current_page_item li.current_page_item a:visited,
			.breaking-news #subnav li.page-item-63 a:link, .breaking-news #subnav li.page-item-63 a:visited, 
			.events #subnav li.page-item-65 a:link, .events #subnav li.page-item-65 a:visited {
				color:#1C75BC;
			}
			.sub-of-15 #subnav li.selected a:link, .sub-of-15 #subnav li.selected a:visited,
			#subnav li.selected li a:link, #subnav li.selected li a:visited {
				color:#ffffff;
			}
			#subnav li a:hover {
			}
			#subnav li li a:link, #subnav li li a:visited {
				padding:2px 3px 6px 15px;
				font-size:11px;
				font-style:italic;
			}
			
			
		#breakingnews {
		}
			#breakingnews li {
				list-style:none;
				padding:10px 0;
				line-height:1.5454em;
			}
			#breakingnews h3 {
				color:#ed1c24;
				font-weight:normal;
				font-size:1.0em;
				margin-bottom:10px;
			}
			#breakingnews h3 a:link, #breakingnews h3 a:visited {
				color:#ed1c24;
			}
			#breakingnews h5.date {
				color:#1c75bc;
				font-weight:normal;
				font-size:1.0em;
			}
			#breakingnews h4 a:link, #breakingnews h4 a:visited {
				color:#241F20;
				font-size:1.0em;
			}
			#breakingnews p {
				color:#666;
			}
			#breakingnews a.permalink:link, #breakingnews a.permalink:visited {
				color:#ed1c24;
				font-weight:normal;
				font-size:1.0em;
				font-style:italic;
				display:block;
			}
		#tools {
			padding-top:52px;
			clear:both;
			line-height:1.5454em;
		}
			#tools li a:link, #tools li a:visited {
				color:#1C75BC;
			}
			#tools form {
				margin-top:2em;
			}
			#tools form label {
				width:235px;
			}
		
		#article {
			width:612px;
			min-height:220px;
			color:#262626;
			float:right;
			margin-right:22px;
		}
		.post {
			padding-bottom:21px;
		}
		.articlepic {
			bottom:0;
			position:absolute;
			right:0;
		}
		#article p {
			margin: 0 0 9px;
		}
		#article p.minor {
			color:#000000;
		}
		#article p span.minor {
		}
		#article p.date {
			color:#666;
		}
		#article ul {
			margin:0;
		}
		#article ul li {
			background:url(images/icon_bullet.png) no-repeat 0 0;
			list-style:none;
			margin:0;
			padding:0 0 1em 15px;
		}
		#article ol {
			margin:0 0 1em 20px;
		}
		#article ol li {
			margin:0 0 10px;
			padding:0;
		}
		#article h2 {
			font-size:1.0em;
			color:#ED1C24;
		}
		#article h3 {
			font-weight:normal;
			font-size:1.0em;
			color:#ED1C24;
		}
		#article h4 {
			font-size:1.0em;
		}
		#article img.inline {
			float:right;
			margin:0 0 5px 15px;
		}
		#article p.hint {
			width:172px;
		}
		#article table.infoTable {
			width:440px;
			border-bottom:1px solid #1c75bc;
			margin:6px 0 12px;
		}
		#article table.infoTable thead tr {
			background-color:#efefef;
		}
		#article td, #article th {
			border-top:1px solid #1c75bc;
			vertical-align:top;
			padding:2px 10px 3px 5px;
			text-align:left;
		}
		#article table .work {
			width:392px;
		}
		#article table td.numeric {
			text-align:right;
		}
		#article table .year, #article table .company {
			padding-right:10px;
		}
		#article .alignright {
			margin:0 0 15px 15px;
			float:right;
		}
		#article .alignleft {
			margin:0 15px 15px 0;
			float:right;
		}
		.caption {
			color:#ed1c24;
			font-style:italic;
		}
		.section {
			margin-bottom:1em;
		}
		
/***** FORMS *****/

		fieldset {
			width:275px;
			float:left;
			border:none;
			padding:0;
			margin:0;
			position:relative;
		}
		label {
			float:left;
			width:160px;
			display:block;
		}
		input, textarea {
			border:none;
			font-family:Verdana, Helvetica, sans-serif;
			font-size:1.0em;
		}
		.labelValue {
			margin-bottom:10px;
			clear:both;
		}
		.labelValue:after {
			content: "";
			display: block;
			clear: both;
		}
		.labelValue input {
			background:url(images/bg_input.png) repeat-x 0 0;
			width: 235px;
			padding:0;
			height:18px;
			display:block;
			float:left;
		}
		.labelValue textarea {
			background:url(images/bg_input.png) repeat 0 0;
			width: 235px;
			padding:0;
			height:72px;
			display:block;
			line-height:1.636em;
			float:left;
		}
		.labelValue textarea#address {
			height:54px;
		}
		.inputCheck {
		}
		.inputCheck label {
			display:inline;
			vertical-align:top;
		}
		.inputCheck input {
			margin: 0;
			width:auto;
		}
		.inputCheck .mmf-list-item {
			clear:both;
			display:block;
			margin:0 0 2px;
		}
		.inputCheck .mmf-form-control-wrap {
			float:left;
			width:235px;
		}
		.formButtons {
			position:relative;
			width:225px;
		}
		.formButtons input {
			font-family:Verdana, Geneva, sans-serif;
			background:none;
			padding:2px 5px;
			margin-left:150px;
			color:#1C75BC;
			font-style:italic;
			font-weight:bold;
			cursor:pointer;
		}
		
/* page styles */
	.news #article h2 {
		font-weight:bold;
	}
	.news #article h4 {
		font-weight:normal;
		color:#1c75bc;
	}
	.news  h2 a:link, .news  h2 a:visited {
		color:#241F20;
		font-weight:bold;
	}
	.news  a.permalink:link, .news a.permalink:visited {
		color:#ed1c24;
		font-weight:normal;
		font-size:1.0em;
		font-style:italic;
		display:block;
		margin-top:-10px;
	}

		
		
	#footer {
		background-color:#ffffff;
		color:#999999;
		padding:4px 22px;
		font-size:0.9em;
		height:18px;
		position:relative;
		clear:both;
	}
	#footer a:link, #footer a:visited {
	}
	#footer .copyright {
	}
	#footer .legal, #footer .legal li {
		list-style:none;
		display:inline;
	}

.photos .galleryContainer {
	width:595px;
	overflow-x:scroll!important;
	margin-bottom:30px;
}
.photos .ngg-galleryoverview {
	height:95px;
	width:20000px!important;
}
.maps .ngg-gallery-thumbnail-box {
	width:119px;
	height:270px;
}
.models .ngg-gallery-thumbnail-box {
	width:119px;
	height:220px;
}
.ngg-gallery-thumbnail span {
text-align:left;
}
#news #article h2, .news #article h2 {
	margin-bottom:0.5em;
}

#container {background-image:url(images/bg_container_home.jpg);}
#about-us #container {background-image:url(images/bg_container_about-us.jpg);}
#investors #container {background-image:url(images/bg_container_investors.jpg);}
#projects #container {background-image:url(images/bg_container_projects.jpg);}
#news #container {background-image:url(images/bg_container_news.jpg);}
#gallery #container {background-image:url(images/bg_container_gallery.jpg);}
#contact-us #container {background-image:url(images/bg_container_contact-us.jpg);}