/*  
Theme Name: Mission
Theme URI: http://www.mission.ca/
Description: Custom theme for the District of Mission
Version: 1.0
Author: Don Sami
Author URI: http://www.donsami.com/

This theme was designed and built by Don Sami.
*/

/* Reset */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, 
pre, form, fieldset, input, textarea, p, blockquote, th, td { 
	padding: 0;
	margin: 0;
}
abbr, acronym, fieldset, img { 
	border: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

address, caption, cite, code, dfn, em, th, var {
	font-weight: normal;
	font-style: normal;
}
caption, th {
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	font-family: arial, helvetica, sans-serif;
	font-weight: bold;
	font-size: 100%;
	padding-bottom: 10px;
}

.hint {
	color: #666;
	font-size: 11px;
	padding-left: 10px;
}

.required {
	color: #ce5d44;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}

.left {
	float: left;
}
.right {
	float: right;
}
.center {
	margin:0 auto;
}
.al {
	text-align: left;
}
.ar {
	text-align: right;
}
.ac {
	text-align: center;
}
.block {
	display: block;
}
.clear {
	clear: both;
}
.half {
	float: left;
	width: 49%;
}
.third {
	width: 33%;
}
.twothirds {
	width: 66%;
}
.quarter {
	width: 25%;
}
.three-quarters {
 	width: 75%;
}
.medium {
	font-size: 12px;
}
small, .small {
	font-size: 11px;
	line-height: 15px;
	color: #666;
}
.xsmall {
	font-size: 10px;
	line-height: 14px;
	color: #4c555a;
}
.fineprint {
	font-size: 11px;
	line-height: 14px;
}
.uline {
	border-bottom: 1px solid #ddd;
	margin-bottom: 15px;
}
.normal { font-weight: normal; }
.shade { background-color: #f3f3f3; }

.hide {
	display: none;
}

.show {
	display: inline;
}
.hidden {display:none}
.shown {display:inline}

.box {
	background-color: #e4f2fd;
	border: 1px solid #d3e7f8;
	margin-bottom: 10px;
	padding: 13px;
}
.box h2 {
    color: #333;
    margin-bottom:7px;
    font-size: 15px;
}



/* Typography */
body {
	background-color: #1b1b1b;
	color:#222;
	color:#454545;
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
	line-height: 18px;
}
a { /* color: #0040b6;
	color: #01437d;
	color: #4685df;
	color: #10518b;*/
	color: #003399;
	
}
/* a:visited { color: #666; } */
a:hover {
	/* color: #0060ff;
	color: #42810e;
	color: #0066FF;*/
	text-decoration: none;
}
a:focus { 
    outline: none; 
}



a.external{
	padding-right:16px;
	background:url(images/link-external.png) no-repeat center right;
}
a.noexternal{
	padding-right:16px;
	background:none;
}
hr {
	border: 0;
	color: #ccc;
	background-color: #ddd;
	height: 1px;
	width: 100%;
	text-align: left;
	margin-bottom: 20px;
}
h1, h2, h3, h4, h5, h6 {
	color: #222;
}
h1 {
	font-size: 24px;
	letter-spacing: -1px;
	border-bottom: 1px solid #ccc;
	line-height: 26px;
	padding: 0 0 10px 0;
	margin-bottom: 20px;
}
h1.photo {
	background-color: black;
	border: none;
	color: white;
	padding: 8px 9px;
}
h1 small {
	font-size: 15px;
	text-decoration: none;
}


h2 {
	font-size: 20px;
	letter-spacing: 0px;
	line-height: 22px;
}
h3 {
	font-size: 16px;
	line-height: 18px;
}
h4 {
	font-size: 15px;
}
h5 {
	font-size: 13px;
}
h6 {
	font-size: 12px;
}

h6.contact {
	background-color: black;
	border: none;
	color: white;
	font-size: 13px;
	font-weight: bold;
	padding: 8px 0px;
	text-align: center;
	width: 150px;
}

h6.contact a {
	color: white;
	text-decoration: none;
}
h6.contact a:hover {
	text-decoration: underline;
}

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

/* Forms */
label {
	font-family: helvetica, arial, sans-serif;
	font-size: 15px;
	font-weight:normal;
	margin-bottom: 3px;
}
input[type="text"], input[type="password"], textarea {
	border: 1px solid #ccc;
	font-family: 'Lucida Grande',sans-serif;
	font-size: 13px;
	margin-bottom: 5px;
	padding: 3px;
}

input[type="text"], input[type="password"] {
	width: 200px;
}
input.blur, textarea.blur {
	color: #999;
}

input[type="button"], input[type="submit"] {
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	background-image: url('images/button-bg.gif');
	background-color: #dedede;
	background-repeat: repeat-x;
	border: 1px solid #777;
	color: #333;
	font-family: 'Lucida Grande',sans-serif;
	font-size: 13px;
	padding: 3px 10px;
	margin-bottom: 5px;
}
input[type="button"]:hover, input[type="submit"]:hover {
	border-color: black;
}

select {
	border: 1px solid #ccc;
	font-family: 'Lucida Grande',sans-serif;
	font-size: 13px;
	padding: 3px;
}

div.grippie {
	background:#EEEEEE url(images/grippie.png) no-repeat scroll center 2px;
	border-color:#DDDDDD;
	border-style:solid;
	border-width:0pt 1px 1px;
	cursor:s-resize;
	height:9px;
	overflow:hidden;
}
.resizable-textarea textarea {
	display:block;
	margin-bottom:0pt;
	width:95%;
	height: 20%;
}

.error, #error {
	background-color: #ffdaef;
	border: 1px solid #ff0000;
	color: #cc0000;
	padding: 10px;
}

#good {
	font-family: helvetica, arial, sans-serif;
	font-size: 13px;
	background-color: #008000;
	color: #fff;
	padding: 10px;
} 

/* Buttons */
.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    background-image: url('images/button-bg.gif');
    background-repeat: repeat-x;
    border:1px solid #dedede;
    border-top:1px solid #333;
    border-left:1px solid #333;
    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}


/* Layout */
.container {
	margin: 0 auto;
	max-width: 960px;
	width: 960px;
}

#header {
	width: 100%;
	/* background-image: url('images/page-top.jpg'); 
	background-color: #14538c;
	background-repeat: repeat-x;
	*/
	background: #14538c url(images/page-top.jpg) repeat-x 0 100%;
	height: 95px;
	min-width: 960px;	
}

#logo {
	float: left;
	height:95px;
	width:215px;
}


/* 
 * Navigation 
 */
 
/* 
	LEVEL ONE
*/

#nav {
	float: right;
	margin-top:35px;
	position: relative;
	z-index: 10;
	font-family: helvetica, arial, sans-serif;
	
}
#nav ul, li { 
	margin:0;
	padding: 0;
	list-style-type: none;
}
#nav ul.dropdown {
	position: relative;
	list-style-type: none;
}
#nav ul.dropdown ul {
	list-style-type: none;
	border: 1px solid #ccc; 
}

#nav ul.dropdown li { 
	font-size: 14px;
	font-weight: bold;
	float: left; 
	background-color: transparent; 
	background-image: url(images/nav-delimiter.gif);
	background-repeat: no-repeat;
	background-position: right;

	list-style-type: none;
	padding: 0 12px;
	zoom: 1;
}

#nav ul.dropdown li.last {
	background-image: none;
}

#nav ul.dropdown a:hover, #nav ul.dropdown li:hover { color: #fff; } 
#nav ul.dropdown li a { 
	display: block; 
	padding: 3px 7px;
	text-decoration: none;
	color: white;
}
#nav ul.dropdown li:last-child a { border-right: none; } /* Doesn't work in IE */
#nav ul.dropdown li.hover, #nav ul.dropdown li:hover {
	background: #07223e;
	background-color: #06476a;
	color:#fff;
	position: relative;
	/*
	-moz-border-radius-topleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topright: 5px;
	-webkit-border-top-right-radius: 5px;	
	*/
}

/* Round bottom corners for home link */
#nav ul.dropdown li.hover a              { color: white; }

#nav ul.dropdown li.search {
	padding-right: 0;
}
#nav ul.dropdown li.search:hover {
	background-color: transparent;
}
#nav ul.dropdown li.search input[type=text] {
	border: none;
	border-left: 2px solid #fff;
	background-image:none;
	color: #444;
	font-size: 12px;
	font-family: arial, helvetica, sans-serif;
	height: 18px;
	padding: 3px;
	margin: 0;
	width: 185px;
}
#nav ul.dropdown li.search input[type=text]:focus {
	color: black;
}
/* 
	LEVEL TWO
*/
#nav ul.dropdown ul 						{ 
	width: 220px; 
	visibility: hidden; 
	position: absolute; 
	top: 100%; 
	left: 0;
	z-index: 2;
	margin-top: -1px;
}

#nav ul.dropdown ul.live { 
	width: 250px; 
}
#nav ul.dropdown ul.want { 
	width: 165px; 
}

#nav ul.dropdown ul li {
	font-size: 13px; 
	font-weight: normal;
	background-color: #eee; 
	color: #000; 
	border-bottom: 1px solid #ccc; 
	float: none;
	background-image: none;
}

#nav ul.dropdown ul li.last {
	border-bottom: none;
}

#nav ul.dropdown ul li.hover, #nav ul.dropdown ul li:hover {
	background-color: #ccc; 
	color: black;
	-moz-border-radius-topleft: 0px;
	-webkit-border-top-left-radius: 0px;
	-moz-border-radius-topright: 0px;
	-webkit-border-top-right-radius: 0px;		
}




#nav ul.dropdown ul li:hover a, #nav ul.dropdown ul li a, #nav ul.dropdown ul li.hover a:hover {
	color: black;
}


#nav ul.dropdown ul li.caret {
	background-image: url('images/arrow.gif');
    	background-repeat: no-repeat;
    	background-position:right center;
    	margin: 0;
    	color: black;
}
								  
                                    /* IE 6 & 7 Needs Inline Block */
#nav ul.dropdown ul li a {
	border-right: none; 
	width: 100%; 
	display: inline-block;
	margin: 0;
} 

#nav ul.dropdown ul li, 
#nav ul.dropdown ul li a, 
#nav ul.dropdown ul li a:visited, 
#nav ul.dropdown ul li a:active, 
#nav ul.dropdown ul li a:link {
	color: black;
}

/* 
	LEVEL THREE
*/
#nav ul.dropdown ul ul { 
	left: 100%; 
	top: 0;
}
#nav ul.dropdown li:hover > ul {
	visibility: visible;
}

/*
#nav ul.dropdown ul ul li a:hover {
	cursor: pointer;
}
*/

#page {
	background-color:#fff;
	padding: 30px 0 40px 0;
	width: 100%;
	min-width: 960px;
}



#bar {
	color: #333;
	float: left;
	font-size:13px;
	font-family: helvetica, arial, sans-serif;
	margin-bottom: 30px;
	width: 230px;
	line-height: 18px;
}

#bar label {
	color: #888;
	font-size: 13px;
	margin-bottom: 3px;
}
#bar input[type="text"], input[type="pasword"] {
	margin-bottom: 10px;
	width: 202px;
}

#bar hr {
	background-color: #ddd;
	margin: 10px 0;
}

.bl {
	background: url(images/bl.gif) 0 100% no-repeat;
	background-color: #f5f5f5;
	color: #222;
	margin-bottom: 20px;
}

.bl h3, .bl h4 {
	color: #666;
	margin-bottom: 0px;
}
.bl h3, .bl h4.uline {
	border-bottom: 1px solid #ddd;
	margin-bottom: 7px;
	padding-bottom: 5px;
}
.br {background: url(images/br.gif) 100% 100% no-repeat}
.tl {background: url(images/tl.gif) 0 0 no-repeat}
.tr {background: url(images/tr.gif) 100% 0 no-repeat; padding:10px;} 

#bar h2 {
	border-bottom:none;
	margin-bottom:0;
	padding-top:0;
	padding-bottom:10px;
	color: #666;
}
#bar ul {
	margin-left: 20px;
	width:90%;
}
#bar ul li {
	padding:0;
	margin-bottom:2px;
	list-style-image:url(images/bullet.gif);
}

#bar ul li.last {
	margin-bottom:0;
}
#bar ul li a {
	text-decoration:none;
	color:#666;
}
#bar ul li a:hover {
	color:#003399;
	text-decoration:underline;
}
#bar ul li a.active {
	color:#333;
	font-weight:bold;
}

.childpages {
	float: right;
	width:690px;
}

/* Sidemenu */
#bar ul.sidemenu {

	list-style:none;

	margin:0 0 20px 0;

	padding:0;

    font-size: 12px;
    width: 230px;

}

#bar ul.sidemenu li {

	margin-bottom:1px;
	list-style:none;
	border: 1px solid #f2f2f2;

}

#bar ul.sidemenu a {
	display: block;
	font-family: helvetica, arial, sans-serif;
	font-weight: bold;
	color: #555;
	text-decoration:none;	
	padding: 3px 5px 3px 10px;
	background: #f2f2f2;
	border-left: 5px solid #CCC;	
	min-height: 18px;	
}
* html body #bar ul.sidemenu a { height: 18px; }
#bar ul.sidemenu a:hover {
	padding:3px 5px 3px 10px;
	background: #f2f2f2;

	border-left:5px solid #003399;
	text-decoration: none;
}



#content {
	font-family: verdana, arial, sans-serif;
	font-size: 12px;
}

#content table {
	border-color: #ddd;
	margin-bottom: 15px;
}
#content table td, #content table th {
	padding: 5px;
}
#content table th {
	/*background-color: #14538c;*/
	background-color: #ddd;
	font-weight: bold;
	font-family: helvetica, arial, sans-serif;
}

#content p, #content table tr td p {
	margin-bottom: 20px;
	vertical-align: top;
}

#content h1 {
	margin-bottom: 15px;
}

#content h3 {
	margin-bottom: 5px;
}

#content ul, #content ol {
	margin-bottom: 20px;
}

#content ol {
	margin-left: 20px;
}

#content ol li { list-style-type: decimal; }

#breadcrumbs .breadcrumbs {
	color: #999;
	font-size: 10px;
	margin-bottom: 15px;
}

#breadcrumbs a {
	color: #999;
	text-decoration: none;
}
#breadcrumbs a:hover {
	color: #036;
	text-decoration: underline;
}
#departments table {
	width: 100%;
}
#departments table td {
	padding: 1px 5px;
}

#footer {
	/*background-image: url('images/footer-bg.png');*/
	font-family: arial;
	background-repeat: repeat-x;
	border-top: 10px solid #ececec;
	padding: 25px 0 0 0;
	color: #ccc;
	font-size: 12px;
	line-height: 16px;
	width: 100%;
	min-width: 960px;
	margin-bottom: 40px;
}

#footer p {
	margin-bottom: 15px;
}	
#footer a {
	color: #fff;
}
#footer a:hover {
	color: #fff;
	text-decoration: none;
}

#footer .highlight {
	color: #2c85ca;
}

#footer .col {
	float: left;
	width: 230px;
}
#footer .first {
	width: 270px;
}
#content ul, #homepage ul {
	margin-left: 12px;
}

#content ul li, #homepage ul li {
	padding:0;
	font-size:12px;
	font-family: verdana, arial, sans-serif;
	margin-bottom: 5px;
	list-style-image:url(images/bullet.gif);
	line-height: 15px;
}

#homepage ul li a {
	font-size:12px;
}

#homepage .whatsnew, #homepage .notices {
	float: left;
	width: 35%;
}

#homepage .notices { 
	float: left;
	width: 33%;	
}

#homepage .quicklinks {
	float: left;
	width: 32%;
}	

#homepage #statement {
	background-color: black;
	margin-bottom: 30px;
	height: 340px;
}
#homepage .third {
	width: 32%;
	padding-right:1%: 
}

/* Video Library */
#videos ul.tabNavigation {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-bottom: 0px;
}

#videos UL.tabNavigation li {
    display: inline;
 
}

#videos UL.tabNavigation li A {
    padding: 3px 20px;
    background-color: #FFF;
    border: 1px solid #dadada;  
    color: #000;
    text-decoration: none;
}

#videos UL.tabNavigation LI A.selected,
#videos UL.tabNavigation LI A:hover {
    background-color: #ebebeb;
    border-bottom: 1px solid #ebebeb;
    padding-top: 3px;
    
}

UL.tabNavigation LI A:focus {
        outline: 0;
}

div.tabs > div {
        padding: 18px;
        margin-top: 2px;
        border: 1px solid #dadada;
}

div.tabs > div h2 {
        margin-top: 0;
}

#videos #first, #videos #second, #third, #fourth {
    background-color: #ebebeb;
}

#videos .video {
	background-color: white;
	margin-bottom: 1px;
	padding: 10px;
}
#videos .thumbnail {
	border: 1px solid #666;
	float: left;
	margin-right: 15px;
	width: 125px;
	height: 70px;
	overflow: hidden;
	position: relative;
}
#videos .thumbnail:hover {
	border: 1px solid #000;
}

#videos .play {
	background-image: url('images/play-overlay.png');
	background-repeat: no-repeat;
	height: 31px;
	width: 31px;
	position: absolute;
}

#videos .details {
	float: left;
}
#videos .video h2 {
	font-size: 18px;
	font-weight: bold;
	margin: 0 0 5px 0;
	padding: 0;
}
#videos .video h2 a {
	text-decoration: none;
}

#videos .video .duration {
	color: #9b9b9b;
	font-size: 11px;
	font-weight: normal;
}

#videos .video p {
	font-size: 11px;
	line-height: 12px;
	margin: 0;
}

.sharevideo {
		background-image: url('images/VideosIcon_48.png');
    	background-repeat: no-repeat;
    	margin: 0;
    	clear: both;
    	padding-left: 70px;
}
.sharevideo h2 {
	padding: 10px 0 0 0;
}
/*
 * Google Search Results 
 *
 */
.gs-webResult .gs-visibleUrl-short { display:none !important; }
.gs-webResult .gs-visibleUrl-long { display:block !important; }
.navigation ul.paging { list-style-image: none; padding: 0; font-weight: normal; font-size: 11px; margin: 0;}
.navigation ul.paging li { float: left; list-style-type: none; list-style-image: none; margin: 0 6px 6px 0; }
.navigation ul.paging li a, .navigation ul.paging li.active { display: block; padding: 1px 4px; background-color: #f5f5f5; border: 1px solid #ccc; text-decoration: none;font-size: 11px; }
.navigation ul.paging li.active { background-color: #004377; border-color: #000; color: #fff; }

/*
 * Wordpress
 *
 */
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
}

.bid-options {
	display: none;
	float: left;
}

/* 
 *
 * Wordpress Header
 *
 */
#wphead-info {
	margin:0 0 0 15px;
	padding-right:15px;
}
#user_info {
	color: #999;
	float:right;
	font-size:12px;
	line-height:46px;
	height:46px;
}
#user_info p {
	margin:0;
	padding:0;
	line-height:46px;
}
#user_info p a {
	color: #ccc;
}
#user_info p a:hover {
	color: #fff;
	text-decoration: underline;
}
#wphead {
	background-color:#464646;
	color:#d54e21;
	height:46px;
}
#wphead a, #adminmenu a, #sidemenu a, #taglist a, #catlist a, #show-settings a {
	text-decoration:none;
}
#header-logo {
	float:left;
	margin:7px 0 0 15px;
}
#wphead h1 {
	font:normal 22px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
	padding:10px 8px 5px;
	margin:0;
	float:left;
	letter-spacing: 0;
	border: none;
}
#wphead h1.long-title {
	font:normal 18px Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
	padding:12px 10px 5px;
}

#wphead h1 a {
	color: white;
}
#wphead #site-visit-button {
	background-repeat:repeat-x;
	background-position:0 0;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	-khtml-border-radius:3px;
	border-radius:3px;
	cursor:pointer;
	display:-moz-inline-stack;
	display:inline-block;
	font-size:50%;
	font-style:normal;
	line-height:17px;
	margin-left:5px;
	padding:0 10px;
	vertical-align:middle;
}
#wphead h1 a:hover {
	text-decoration:none;
}
#wphead h1 a:hover #site-title {
	text-decoration:underline;
}
#header-logo {
	background:transparent url(/wp-admin/images/wp-logo.gif) no-repeat scroll center center;
}
#wphead #site-visit-button {
	background-color:#585858;
	background-image:url(/wp-admin/images/visit-site-button-grad.gif);
	color:#aaa;
	text-shadow:#3F3F3F 0 -1px 0;
}
#wphead a:hover #site-visit-button {
	color:#fff;
}
#wphead a:focus #site-visit-button, #wphead a:active #site-visit-button {
	background-position:0 -27px;
}
