/* @override 
	http://ttm.primalbeta.com/wp-content/themes/primal/style.css
	http://ttmresources.ca/wp-content/themes/primal/style.css
*/

/*
Theme Name: TTM Resources
Description: Theme created for ttmresources.ca
Author: Primal Communications
Author URL: http://www.primalcommunications.com
Version: 1.0
*/

/* @group YUI CSS Reset & Base
Copyright (c) 2009, Yahoo! Inc. All rights reserved.
Code licensed under the BSD License:
http://developer.yahoo.net/yui/license.txt
version: 2.8.0r4
*/
/* reset */
html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var,optgroup{font-style:inherit;font-weight:inherit;}del,ins{text-decoration:none;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:baseline;}sub{vertical-align:baseline;}legend{color:#000;}input,button,textarea,select,optgroup,option{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;}input,button,textarea,select{*font-size:100%;}
/* base */
h1{font-size:138.5%;}h2{font-size:123.1%;}h3{font-size:108%;}h1,h2,h3{margin:1em 0;}h1,h2,h3,h4,h5,h6,strong,dt{font-weight:bold;}optgroup{font-weight:normal;}abbr,acronym{border-bottom:1px dotted #000;cursor:help;}em{font-style:italic;}del{text-decoration:line-through;}blockquote,ul,ol,dl{margin:1em;}ol,ul,dl{margin-left:2em;}ol li{list-style:decimal outside;}ul li{list-style:disc outside;}dl dd{margin-left:1em;}th,td{border:1px solid #000;padding:.5em;}th{font-weight:bold;text-align:center;}caption{margin-bottom:.5em;text-align:center;}sup{vertical-align:super;}sub{vertical-align:sub;}p,fieldset,table,pre{margin-bottom:1em;}button,input[type="checkbox"],input[type="radio"],input[type="reset"],input[type="submit"]{padding:1px;}
/* @end */

@font-face {
	font-family: 'ChunkFive';
	src: url('fonts/Chunkfive.eot');
	src: local('fonts/ChunkFive Regular'), local('?'), url('fonts/Chunkfive.woff') format('woff'), url('fonts/Chunkfive.otf') format('opentype'), url('fonts/Chunkfive.svg#ChunkFive') format('svg');
}

@font-face {
	font-family: 'MidoMedium';
	src: url('fonts/Mido.eot');
	src: local('fonts/Mido'), local('?'), url('fonts/Mido.woff') format('woff'), url('fonts/Mido.ttf') format('truetype'), url('fonts/Mido.svg#Mido-Medium') format('svg');
}

html {
	background: #000;
}

body {
	background-color: #000000;
	background-image: url("images/background.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
}

a,a:link {
	color: #513200;
}

a:hover,
a:active {
	color: #825000;
}

a:visited {
	color: #6b5e46;
}

input.mailsubmit {
	background-image: url("images/submit_button.gif");
	border: 0px;
	margin: 0px;
	width: 74px;
	background-repeat: no-repeat;
	height: 26px;
}

div.container {
	margin: 0px auto;
	position: relative;
	top: 0px;
	width: 960px;
	background-color: white;
	padding-bottom: 28px;
}

body.home div.header {
	height: 267px;
	background-position: 0 0;
	margin: 0;
}

div.header {
	height: 200px;
	width: 960px;
	background: white url("images/header.jpg") no-repeat 0 -15px;
}

div.header h1 {
	position: absolute;
	top: 10px;
	left: 20px;
	margin: 0;
}

div.header h1 a {
	display: block;
	background: transparent url(images/ttm_resources.png) no-repeat left top;
	text-decoration: none;
	width: 200px;
	height: 200px;
}

div.header h1 a span {
	display: none;
}

div.header-links {
	background-image: url("images/header_menu_background.gif");
	background-repeat: repeat-x;
	height: 38px;
	position: absolute;
	right: 0;
	top: 0;
	width: 301px;
}

div.header-links ul, div.header-links ul li {
	display: block;
	float: left;
	margin: 4px;
	padding: 0 25px 0 8px;
}

div.header-links ul li a {
	color: white;
	font-weight: bold;
	text-decoration: none;
}

div.header-stock-quote {
	background-image: url("images/stockbg.png");
	background-repeat: repeat;
	height: 68px;
	position: absolute;
	right: 0;
	text-align: center;
	top: 50px;
	width: 301px;
	padding-top: 5px;
	color: white;
}

div.header-stock-quote span.stockdown {
	
}

div.header-stock-quote span.stockup {
	color: #66FF99;
}

div.header-stock-quote span.stock-time {
	font-size: xx-small;
}

div.menu-wrapper {
	background-image: url("images/menu_background.gif");
	background-repeat: repeat-x;
	width: 960px;
	display: block;
	border-top: 4px solid #FFF;
}

div.menu {
	display: block;
	height: 50px;
	width: 960px;
}

div.menu ul {
	margin: 0;
	list-style: none;
	padding: 0 0 0 30px;
}

div.menu ul li {
	display: block;
	margin: 0;
	float: left;
	padding-right: 42px;
}

div.menu ul li a {
	display: block;
	
}

div.menu ul li img {
	border: 0 none;
}

div.content {
	padding-top: 16px;
	background-color: white;
}

div.content-current {
	border-right: 1px solid #AEAEAE;
	float: left;
	padding-left: 37px;
	padding-right: 20px;
	width: 593px;
	min-height: 400px;
	margin-bottom: 20px;
	font-size: small;
	line-height: 1.6em;
}

div.content-recent {
	float: right;
	padding-left: 20px;
	padding-right: 20px;
	width: 264px;
	min-height: 400px;
	padding-bottom: 20px;
}

div.content-recent h2 {
	margin: 11px 0px 15px 0px;
	font-weight: bold;
	font-size: large;
	color: #424242;
}

div.content-recent ul {
	list-style: none;
	margin: 0px 0px 0px -10px;
	padding: 0px 0px 15px 0px;
}

div.content-recent ul li {
	list-style: none;
}

div.content-recent ul li.current_page_item a,
div.content-recent ul li.current_page_item a:hover {
	background-color: #EEE;
	border-left-color: #666;
	color: #595959;
}

div.content-recent ul li a {
	display: block;
	text-decoration: none;
	color: #787878;
	font: normal 12pt MidoMedium;
	text-transform: uppercase;
	padding: 5px 5px;
	border-left: 5px solid #FFF;
}

div.content-recent ul li a:hover {
	color: #1b1b1b;
	border-left: 5px solid #FFF;
}

div.news-item {
	margin-top: 20px;
}

div.news-item div.title p {
	margin: 0px;
	color: #0a6e00;
	font-weight: bold;
	font-size: small;
}

div.news-item div.entry p {
	margin: 0px;
	font-size: small;
}

div.news-item div.readmore a {
	color: black;
	font-size: small;
	font-weight: bold;
}

div.content-footer {
	background-color: #D9D9D9;
	border: 1px solid #E8E8E8;
	bottom: 0;
	clear: both;
	margin: 0 auto;
	height: 130px;
	width: 890px;
}

div.c-footer-left {
	float: left;
	width: 274px;
	height: 130px;
	border-right: 1px #f0f0f0 solid;
}

div.cfl-upper {
	border-left: 15px #6f873d solid;
	border-bottom: 1px #f0f0f0 solid;
	height: 65px;
}

div.cfl-upper p {
	margin: 0px;
	padding: 13px;
	font-weight: bold;
}

div.cfl-upper p img, div.cfl-lower p img {
	margin: -5px -5px -5px 4px;
}

div.cfl-lower {
	border-left: 15px #522974 solid;
	height: 65px;
}

div.cfl-lower p {
	margin: 0px;
	padding: 13px;
	font-weight: bold;
}

div.c-footer-center {
	height: 130px;
	width: 290px;
	float: left;
}

div.c-footer-center p {
	padding: 2px 0px 0px 25px;
	font-size: small;
	font-weight: bold;
}

div.c-footer-center p.unsub {
	position: relative;
	color: #787878;
	font-size: x-small;
	right: -138px;
	top: -32px;
}

div.c-footer-center input {
	padding: 5px;
	margin: 4px 0px 0px 0px;
}

div.c-footer-right {
	border-left: 1px #f0f0f0 solid;
	float: right;
	width: 274px;
	height: 130px;
}

div.c-footer-right hr {
	width: 90%;
	color: #949494;
}

div.c-footer-right p {
	font-size: small;
	margin: 8px 0px 0px 15px;
}

h1.entry-title {
	font-size: 1.6em;
	line-height: 1.3em;
	margin: 10px 0px 0.5em 0px;
	text-transform: uppercase;
}

div.post div.entry-content {
	font-size: small;
}

div.navigation {
	padding-top: 20px;
}

div.navigation div.nav-previous {
	float: left;
}

div.navigation div.nav-next {
	float: right;
}

/* Images
-------------------------------------------------------------- */

#content img {
	margin: 0;
	max-width: 640px;
}

#content .attachment img {
	max-width: 900px;
}

#content .alignleft,
#content img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

#content .alignright,
#content img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}

#content .aligncenter,
#content img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

#content img.alignleft, 
#content img.alignright, 
#content img.aligncenter {
	margin-bottom: 12px;
}

#content .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	text-align: center;
	margin-bottom: 20px;
	padding: 4px;
}

#content .wp-caption img {
	margin: 5px 5px 0;
}

#content .wp-caption p.wp-caption-text {
	margin: 5px;
	color: #888;
	font-size: 12px;
}

#content .wp-smiley {
	margin: 0;
}

#content .gallery {
	margin: auto;
}

#content .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}

#content .gallery img {
	border: 2px solid #cfcfcf;
}

#content .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}

#content .gallery dl {
	margin: 0;
}

#content .gallery img {
	border: 10px solid #f1f1f1;
}

#content .gallery br+br {
	display: none;
}

div.cfl-upper a, div.cfl-lower a {
	text-decoration: none;
	color: #444;
}

div.cfl-upper a:hover, div.cfl-lower a:hover,
div.cfl-upper a:active, div.cfl-lower a:active {
	text-decoration: underline;
	color: #000;
}

table.noborder,
table.noborder td {
	border: none;
}


#google_translate_element {
	padding:15px 0;
}


#projects-map {
	width: 600px;
	height: 400px;
	margin: 0 0 0 -5px;
	padding: 0;
	position: relative;
	
	border: 1px solid #999;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	
	background: #FFF url(images/projects_map.png) no-repeat left top;
}

#projects-map li {
	display: block;
	list-style: none;
	padding: 0;
	margin: 0;
	position: absolute;
	font-weight: bold;
	font-size: 10pt;
}

#projects-map li a {
	display: block;
	background: transparent url(images/marker.png) no-repeat left top;
	padding-top: 2px;
	padding-left: 20px;
	text-decoration: none;
	color: #000;
}

#projects-map li a span {
	background-color: #EEE;
	padding: 2px 3px;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border: 1px solid #666;
}

#projects-map li a:hover span {
	background: #FFF;
	border-color: #900;
}

#projects-map .chu {
	top: 220px;
	left: 313px;
	z-index: 10;
}

#projects-map .deeker {
	top: 46px;
	left: 132px;
	z-index: 10;
}

#projects-map .terrace {
	top: 161px;
	left: 208px;
	z-index: 10;
}
