/*  
Theme Name: Canadensys
Description:  Canadensys 
Theme URI: http://www.canadensys.net/themes/
Version: 1.0
Author: Canadensys
Author URI: http://www.canadensys.net
Tags: candensys, two-column
This version released under the <a href="http://www.opensource.org/licenses/gpl-license.php">GPL</a>.
*/

/* HTML elements */

body {
	background-color: #ffffff;
	color: #22241e;
	font-family: "Lucida Grande", Arial, Sans-Serif;
	font-size: 10px;
	margin: 0;
	min-width: 908px;
	padding: 0;
	width: 100%;
}

a {
	color: #a82400;
	text-decoration: none;
}
a:hover {
	color: #a82400;
	text-decoration: underline;	
}

h1, h2, h3, h4, h5, h6 { line-height: 1.5em; }

form {
	margin: 0;
	padding: 0;
}

input {
	margin: 0;
	padding: 0;
}


/* Header */

#header {
	background:-moz-linear-gradient(center bottom,rgb(106,12,0) 0%,rgb(168,36,0) 100%);
	background:-webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(106,12,0)),color-stop(1, rgb(168,36,0)));
	background-color: #961b00;
	height: 120px;
	position: relative;
}

#header_content {
	color: #f0babb;
	margin: 0 auto;
	position: relative;
	width: 690px;
	z-index: 2;
}
#header_content a {
	color: #f0babb;
	text-decoration: none;	
}
#header_content a:hover { color: #ffffff; }

#nav_top {
	font-size: 1.2em;
	margin: 0;
	padding: 0;
	position: absolute;
	right: 0;
	top: 3px;
}

#nav_title {
	background: url("/wp-content/themes/canadensys/images/canadensys-logo.png") top left no-repeat;
	background-color: transparent;
	float: left;
	font-family: "Century Gothic", Arial, Sans-Serif;
	font-size: 4.2em;
	font-weight: normal;
	letter-spacing: 0.08em;
	margin: 0;
	margin-top: 15px;
	padding: 0;
	padding-left: 73px; /* for logo */
}
#nav_title a { color: #ffffff !important; }

#nav_portal {
	float: right;
	font-family: "Century Gothic", Arial, Sans-Serif;
	font-size: 2.3em;
	font-weight: normal;
	letter-spacing: 0.08em;
	margin: 0;
	margin-top: 30px; /* 15 (#nav_title) + 15 */
	padding: 0;
	text-transform: lowercase;
}
#nav_portal .selected {
	color: #ffffff;
	font-weight: bold;
}
	

/* Topmenu */

#menu {
	bottom: 0px;
	margin: 0 auto;
	overflow: hidden;
	position: absolute;
	text-align: center;
	text-transform: lowercase;
	width: 100%; /* 690px; */
	z-index: 2;
}
#menu ul {
	clear: left;
	float: left;
	margin: 0;
	left: 50%; /* http://matthewjamestaylor.com/centered-menus/ */
	padding: 0;
	position: relative;
}
#menu ul li {
	background:-moz-linear-gradient(center bottom,rgb(11,11,9) 19%,rgb(50,52,43) 57%);
	background:-webkit-gradient(linear,left bottom,left top,color-stop(0.19, rgb(11,11,9)),color-stop(0.57, rgb(50,52,43)));
	background-color :#22241e;
	display: block;
	float: left;
	font-family: "Tw Cen MT", Arial, Sans-Serif;
	font-size: 2.2em;
	letter-spacing: 0.07em;
	list-style: none;
	padding: 4px 14px 7px 14px;
	position: relative;
	right: 50%;		
}
#menu ul li.menu_first {
	border-top-left-radius: 5px;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	width: 9px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
}
#menu ul li.menu_last {
	border-top-right-radius: 5px;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	width: 9px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
}
#menu ul li a { 
	color: #c8c8c8;
	text-decoration: none;
}
#menu ul li a:hover { color: #ffffff; }
#menu ul li.current_page_ancestor, #menu ul li.current_page_parent, #menu ul li.current_page_item { background: #ffffff; }
#menu ul li.current_page_ancestor a, #menu ul li.current_page_parent a, #menu ul li.current_page_item a { color: #961b00; }
#menu ul li.menu_search { padding-right: 0!important; }
#menu ul li.menu_search a { /* looking glass */
	background: url("/wp-content/themes/canadensys/images/looking-glass.png") 10px 0px no-repeat;
	margin: 0;
	overflow: hidden;
	padding: 0;
	position: relative;
}
#menu ul li.menu_search a:hover { background: url("/wp-content/themes/canadensys/images/looking-glass.png") 10px -25px no-repeat; }

#searchform {
	margin: 0;
	padding: 0;
}
#searchform a {
	margin: 0;
	margin-top: -10px;
	padding: 0;
}
#searchform input {
	margin: 0;
	padding: 0;
}

/* Containers and content */

html, body, #wrapper { height: 100%; }
body > #wrapper {
	height: auto;
	min-height: 100%;
}

#container  {
	margin: 36px auto;
	min-width: 908px;
	position: relative;
	width: 908px; /* 36 + 560 (width of content) + 36 + 240 + 36 */
}
.fullscreen { width: 100% !important; }


#content {
	font-size: 1.35em;
	font-weight: normal;
	margin-right: 276px; /* for sidebar */
	line-height: 1.5em;
	padding: 0 36px; /* left + right */
	text-align: left!important;
}
#content.no_side_bar {
	margin-right: 0;
}


/* Sidemenu */

#side_bar {
	font-size: 1.5em;
	padding-right: 36px;
	position: absolute;
	right: 0;
	top: 0;
	width: 240px;
}
.side_menu {
	margin: 0 0 18px;
	padding: 0!important; /* overwrite .round */
}
.side_menu li {
	border-bottom: 1px solid #a8a7a5;
	list-style: none;
}
.side_menu li:last-child { border-bottom: none!important; }
.side_menu li.current_page_item > a { background: url("/wp-content/themes/canadensys/images/arrow.png") 3px 3px no-repeat transparent; }
.side_menu a { /* warning: only use <a> elements in the .side_menu */
	display: block;
	padding: 6px 15px;
}
.side_menu a:hover {
	background-color: #d3d3d3!important;
	text-decoration: none;
}
.side_menu ul { /* sublevels */
	background: #ffffff;
	border-top: 1px solid #a8a7a5;
	display: none; /* collapse menu by default */
	padding: 0;
}
.side_menu .current_page_item ul, .side_menu .current_page_ancestor ul { display: block } /* Show submenu */
.side_menu ul a { padding-left: 24px; }

#twitter_menu {
	margin: 0;
	margin-bottom: 18px;
	padding: 0;
}
#twitter_menu li { padding: 6px 15px; }
#twitter_menu li {
	border-bottom: 1px solid #a8a7a5;
	list-style: none;
}
#twitter_menu li:last-child { border-bottom: none!important; }
#twitter_menu .tweet { background-color: #ffffff; }
#twitter_menu .tweet p {
	font-size: 0.9em; /* sidebar 1.5em * 0,9em = ~1.35em */
	margin: 0;
	padding: 0;
}
#twitter_menu .tweet p.when, #twitter_menu .tweet p.when a {
	color: #707070;
	font-size: 10px;
	padding-top: 3px;
}


/* Footer */

#footer {
	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, rgb(168,36,0)),color-stop(1, rgb(106,12,0)));
	background: -moz-linear-gradient(center bottom,rgb(168,36,0) 0%,rgb(106,12,0) 100%);
	background-color: #a82400;
	clear: both;
	height: 72px;
	position: relative;
	width: 100%;
	z-index: 1;
}
#footer_content {
	color: #f0babb;
	margin: 0 auto;
	padding: 18px 0 0; /* = 36px for content */
	text-align: left;
	width: 690px;
}
#footer_content a {
	color: #f0babb;
	text-decoration: none;	
}
#footer_content a:hover { color: #ffffff; }

#nav_cc {
	background: url("/wp-content/themes/canadensys/images/ccbysa-logo.png") no-repeat;
	float: left;
	height: 44px;
	width: 90px;
}
#nav_cc a {
	display: block;
	height: 44px;
}
#nav_footer {
	float: left;
	font-size: 1.2em;
	line-height: 1.5em;
	margin: 0;
	margin-top: 6px;
	padding-left: 36px;
	width: 564px; /* 600 - 36 */
}

/* Feedback */

#feedback_bar {
	background: url("/wp-content/themes/canadensys/images/feedback.png") no-repeat #22241e;
	_display: none; /* IE 6 */
	position: fixed;
	right: 0;
	top: 40%;
	z-index: 1;
}
#feedback_bar a {
	display: block;
	height: 98px;
	width: 27px;
}


/* Breadcrumbs */

.breadcrumb {
	color: #a82400;
	font-size: 1.2em;
	height: 24px;
	margin: 0;
	left: 36px;
	padding: 0;
	position: absolute;
	top: -24px;
}

#ie { /* IE browser suggestion message */
	color: #22241e;
}


/* Content classes */

#content blockquote {
	border-left: 3px solid #e7e7e7;
	margin: 0;
	padding-left: 15px;
}
#content a:visited { color: #6a0d00; }
#content h1 { font-size: 1.8em; }
#content h2 {
	border-bottom: 2px solid #22241e;
	font-size: 1.3em;
}
#content .edit {
	float: right;
	font-size: 15px;
}
#content table {
	font-size: 13.5px;
}


/* Custom classes */

ul.custom_list { padding: 0; }
ul.custom_list.round { padding: 3px 9px; }
ul.custom_list li { list-style-type: none; }


/* Other classes */

.round { /* add to p, ul, li, div, a */
	background-color: #e7e7e7;
	border: 1px solid #a8a7a5;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 3px 9px;
}

.warning {
	background-color: #f1e300;
	margin-bottom: 18px;
}
.note { font-style: italic;	}
.note:before { content: "Note: "; }
.big_button { /* add to <a> (wrapped in <p>) */
	background-color: #e7e7e7!important;
	cursor: pointer;
	display: block;
	font-size: 15px;
	height: 48px; /* 3 + 42 + 3 */
	line-height: 48px;
	padding: 0 63px 0 15px;  /* 48 icon + 9 padding */
}
p .big_button { margin: 0 0 18px; }
.big_button:hover, .big_button a:hover .big_button.selected {
	background-color: #d3d3d3!important;
	text-decoration: none;
}
.big_button.multi_line {
	height: 100%!important;
	line-height: 22px;
	min-height: 48px;
}


/* Post classes */

.post_link {
	color: #22241e!important;
	display: block;

	text-decoration: none!important;
}
.post_link:hover {
	background-color: #d3d3d3;
	margin: 0 -9px;
	padding: 0 9px;
}

.post_date {
	color: #707070;
	font-size: 1.2em;
	font-weight: bold;
}
.post_metadata {
	border-bottom: 1px dotted #a8a7a5;
	border-top: 1px dotted #a8a7a5;
	color: #707070;
	margin: 36px 0 18px;
	padding: 9px 0;
	width: 100%;
}
.post_metadata tr {	vertical-align: top; }
.post_metadata th {
	font-weight: normal;
	width: 85px;
}


/* Reserved WordPress classes for images */

.alignright { float: right; }
.alignleft { float: left; }

p img {
	border: 0;
	max-width: 100%;
	padding: 0 0 9px;
}
img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignright {
	display: inline;
	margin: 0 0 2px 7px;
	padding: 4px;
}
img.alignleft {
	display: inline;
	margin: 0 7px 2px 0;
	padding: 4px;
}


/* Documents */

.doc_blog { background: url("/wp-content/themes/canadensys/images/doc-blog.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }
.doc_code { background: url("/wp-content/themes/canadensys/images/doc-code.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }
.doc_data { background: url("/wp-content/themes/canadensys/images/doc-data.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }
.doc_email { background: url("/wp-content/themes/canadensys/images/doc-email.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_flash { background: url("/wp-content/themes/canadensys/images/doc-flash.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_folder { background: url("/wp-content/themes/canadensys/images/doc-folder.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }
.doc_google { background: url("/wp-content/themes/canadensys/images/doc-google.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }
.doc_image { background: url("/wp-content/themes/canadensys/images/doc-image.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_office { background: url("/wp-content/themes/canadensys/images/doc-office.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_pdf { background: url("/wp-content/themes/canadensys/images/doc-pdf.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_ppt { background: url("/wp-content/themes/canadensys/images/doc-ppt.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_txt { background: url("/wp-content/themes/canadensys/images/doc-txt.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_word { background: url("/wp-content/themes/canadensys/images/doc-word.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_excel { background: url("/wp-content/themes/canadensys/images/doc-xls.png") 0 0 no-repeat; padding: 1px 1px 1px 20px; }
.doc_zip { background: url("/wp-content/themes/canadensys/images/doc-zip.png") 0 0  no-repeat; padding: 1px 1px 1px 20px; }

#rss_subscribe { background: url("/wp-content/themes/canadensys/images/button-rss.png") top right no-repeat; }
#twitter_subscribe { background: url("/wp-content/themes/canadensys/images/button-twitter.png") top right no-repeat; }
