@charset "utf-8";
/**
 * PEI UPSE HOME PAGE
 *
 * @file		css/main.css
 * @link		http://www.matthodder.com/
 * @copyright	PEI UPSE, Matt Hodder 2009
 *
 */
* {
	padding: 0;
	margin: 0;
	list-style-type: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	border:0;
}

a:active {
	outline: none;
}

a:focus {
	-moz-outline-style: none;
}

.center {
	text-align: center;
}

/**/

table th {
	text-align: left;
}

body {
	text-align: center;
	background: url(../images/headerbg.jpg) repeat-x;
	background-color: #1d2121;
}
#header {
	height: 100px;
	margin-top: 10px;
	margin-bottom: 5px;
	float:left;
}
#header img.logo {
	margin-top: 15px;
	margin-left: 0px;
}
#topnav {
	text-align: right;
	float: right;
	max-width: 600px;
	padding-top: 90px;
}
#topnav a {
	padding: 0px 15px;
	color: #4b5363;
	font-weight: bold;
	text-decoration: none;
	font-size: 1em;
}
#topnav a.linkon {
	color: #FFFFFF;
}
#topnav a:hover, #topnav a:active {
	color: #73829d;
}
#topnav a.linkon:hover, #topnav a.linkon:active {
	color: #DFE6EA;
}

/**/

.mainline {
	height: 1px;
	background: #CECECE;
	width: 100%;
	margin-top: 5px;
}

hr {
display:none;
}

#maincontent {
	width: 590px;
	margin: 10px 0px 0px 10px;
	padding: 20px 0px 24px 24px;
	float: left;
	overflow: visible;
}
#sidebar {
	margin: 30px 0px 0px 650px;
}
#mainandside {
	background: url(../images/bgmain.gif);
	float: left;
	width: 900px;
	overflow: visible;
	overflow: auto;
}
.wrapper {
	text-align: left;
	width: 900px;
	margin: 0 auto;
}
.headerimg {
	vertical-align: middle;
	padding: 0px 10px;
}

/* Image Fade */
#imagefade { 
	height: 220px auto;
}
#imagefade img {
	border: 1px solid #CCCCCC;
	padding: 1px;
}
#maincontent h1 {
	font-size: 3em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #414345;
	padding-top: 0px;
}
#maincontent h2 {
	font-size: 1.7em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #2c5c7c;
	padding-top: 15px;
}
#maincontent h3 {
	font-size: .9em;
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	color: #2c5c7c;
	padding-top: 1px;
}
#maincontent p {
	font-family: Arial, Helvetica, sans-serif;
	color: #3f4949;
	line-height: 1.6em;
	padding-top: 10px;
	padding-bottom: 10px;
}
#maincontent a {
	color: #6b99b7; 
	}
#maincontent a:hover {
	color: #2c5c7c; }
#maincontent a:active {
	color: #a2d2f2; }

.arrowlink a {
	padding: 0px 0px 0px 15px;
	font-weight: bold;
	font-size: 1em;
	background: url(../images/navarrowwhite.gif) no-repeat left center;
	text-decoration: none;
} 
#maincontent .arrowlink {
	border-bottom: 0px white;
	text-align: right;
	padding-top: 5px;
}
#maincontent ul {
	padding: 2.5px 10px;
	color: #3f4949;
	}
#maincontent ul li {
	padding: 5px;
	}
	
#maincontent ul ul {
padding:0px;
padding-bottom: 10px;
	}
	
#maincontent #imagefade, #maincontent #imagefade li {
padding: 0px;
}

#maincontent img {
	margin: 0px 10px 0px 0px;
	float:left;
}

#maincontent .image {
	margin: 15px 15px 5px 0px;
	float:left;
	font-size: .8em;
	text-align: center;
	color: #666;
}

#maincontent .image img {
	border: 1px solid #CECECE;
}

blockquote {
	padding: 0px 0px 0px 20px;
	border-left: 6px solid #8f939a;
	margin: 5px 0px 5px 0px;
}

#maincontent blockquote p {
	font-weight: bold;
	color: #8f939a;
	margin: 5px 0px;
	padding: 0px;
	font-size: .9em;
}

.image-left {
	background: #F2F4F7;
	border-top: 1px solid #e2e4e9;
	padding: 10px 0px;
	margin: 10px 0px;
	width: 100%;
}
.image-left img {
	float:left;
	padding-left: 20px;
	border-right: 1px solid #e2e4e9;
	padding-right: 20px;
}
.image-left p, .image-left a {
	font-weight: bold;
	text-decoration: none;
}

.clear {
clear:both;
}

#maincontent .post_image_right {
border:1px solid #CCCCCC; 
padding: 1px;
float: right;
margin-left: 5px;
}

#maincontent .post_image_left {
border:1px solid #CCCCCC; 
padding: 1px;
float: left;
}

	
/*
* Image Gallery
*
*
*/

#maincontent #gallerybox img {
	float:none;
}
.gallerydiv {
	text-align: center;
}
#maincontent #gallerybox a {
	text-decoration: none;
}
#maincontent .titlegallery {
color:#353E48;
font-family:Georgia,"Times New Roman",Times,serif;
font-size:1.5em;
}

#maincontent #gallerybox table {
	padding: 0px;
	margin: 0px;
}
#maincontent #gallerybox a {
	font-weight: bold;
}
#maincontent #gallerybox .galleryitem {
	padding: 5px 0px;
}
#maincontent #gallerybox .galleryitem a {
	padding: 10px 0px 10px 40px;
	background: url(../gallery/gallery-files/images/books_25.png) no-repeat left;
}

#maincontent #gallerybox table td {
	background: #FFF;
	border: 0px;
}

#maincontent #gallerybox td {
	border: 0px;
}

/*
* FORM STYLING
*
*/

.success {
	background-color: #e0f2c8;
	border: 1px solid #b2cf8c;
	padding: 0px 10px;
	margin-top: 10px;
}

.success p {
	background: url(../images/success.gif) no-repeat left;
	color: #73914a;
	font-weight: bold;
	font-size: 1.2em;
	padding-left: 20px;
}

.error {
	background-color: #f0b8b8;
	border: 1px solid #b37a7a;
	padding: 0px 10px;
	margin-top: 10px;
}

.error p {
	background: url(../images/error.gif) no-repeat left;
	color: #934a4a;
	font-weight: bold;
	font-size: 1.2em;
	padding-left: 20px;
}

.formcontent .standfield {
	width: 100%;
	border: 1px solid #bdc1ca;
	color: #666666;
	background:  url(../images/fieldbg.gif) repeat-x;
	background-color: #FFFFFF;
	padding: 5px 0px;
}
.formcontent .longfield {
	width: 100%;
	border: 1px solid #bdc1ca;
	color: #666666;
	padding: 5px 0px;
	background:  url(../images/fieldbg.gif) repeat-x;
	background-color: #FFFFFF;
	height: 150px;
}
.formcontent .standbutton {
	width: 100px;
	border: 1px solid #bdc1ca;
	background-color: #EFEFEF;
	padding: 5px; 
	height: 2.5em;
	color: #333;
	font-weight: bold;
}

.formcontent .formtable .button {
	text-align: center;
	border: 0px;
	background: #e2e4e9;
}

.formcontent .formtable td{
	vertical-align: top;
	text-align: right;
	font-weight: bold;
}

.formcontent .formtabletwo td{
	font-weight: bold;
}

.formcontent .formtabletwo .button {
	text-align: center;
	border: 0px;
	background: #e2e4e9;
}


table {
	width: 100%;
	padding: 10px;
	border-collapse: collapse;
	margin-top: 20px;
}

table th {
	font-weight: bold;
	font-size: 1.2em;
	border-bottom: 1px solid #FFF;
	padding: 10px 10px;
	color: #353e48;
	background: #e2e4e9;
	text-align: center;
}

table td {
	padding: 10px 10px;
	color: #3f4949;
		background: #F2F4F7;
	border-top: 1px solid #e2e4e9;
}

/**/

#sidebar form {
	padding-left: 30px;
}

#sidebar .sideinfobox {
	padding:0px 30px;
	}
#sidebar .sideinfobox a {
	font-weight:bold;
	color: #577095;
	text-decoration:none;
}
#sidebar .sideinfobox a:hover, #sidebar .sideinfobox a:active {
	color: #91acd5;
	text-decoration:none;
}

#sidebar form #searchbar {
border: 1px solid #bdc1ca;
width: 175px;
height: 15px;
color: #b0b7b3;
padding: 5px; 
background: url(../images/search.jpg) right no-repeat ;
background-color: #FFFFFF;
}

#sidebar h2 {
	font-size: 1.6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #353e48;
	padding-bottom: 10px;
}
#sidebar .sideinfobox-headline h3 a { font-size: 16px; font-weight:bold; color: #4B5363; text-decoration: none; }
#sidebar .sideinfobox-headline h3 a:hover { color: #fff; }
#sidebar .sideinfobox-headline { text-align: center; background: url("../images/headerbg.jpg") repeat-x scroll 0 0 #1D2121; border-top: 2px solid #fff; border-bottom: 2px solid #fff; padding: 20px 0; margin: 20px 0; }

#sidebar ul li {
	padding: 0px 0px 0px 15px;
	margin: 0px 0px 5px 0px;
	font-weight: bold;
	font-size: 1.1em;
	background: url(../images/navarrow.jpg) no-repeat left center;
} 
#sidebar ul li a{
	color: #577095;
	text-decoration: none;
}
#sidebar ul li a:hover, #sidebar ul li a:active {
	color: #91acd5; }
#sidebar h3 {
	font-size: 1.1em;
	color: #353e48;
	font-weight: bold;
	padding: 0px;
}
#sidebar p {
	font-size: .9em;
	color: #353e48;
}
#sidebar img {
	border: 1px solid #bdc1ca;
	margin: 5px 8px 5px 0px;
	float: left;
}
#sidebar a:hover img {
	border: 1px solid #919aae;
}
#sidebar .sideline {
background: url(../images/sidebarline.gif) left repeat-x;	
height: 3px;
width: auto;
padding: 15px 0px;
}
#sidebar form {
padding-bottom: 10px;
}

#sidebar img.titleimage {
border:none; margin-right:5px;
}

/**/

.footer a {
	color: #e2c876;
	text-decoration: none;
	font-size: 1em;
}
.footer a:hover, .footerin a:active {
	color: #eadbad;
}
.footer div {
	padding: 15px 20px 0px 20px;
	color: white;
}
.footer div p {
	font-size: .9em;
	line-height: 1.5em;
	word-spacing: .1em;
}
.footer .footerbox-one {
	padding-left: 0px;
	float: left;
	height: 75px;
	width: 225px;
	background: url(../images/footerbar.gif) no-repeat right bottom;
}
.footerbox-two {
	float: left;
	height: 75px;
	width: 110px;
	background: url(../images/footerbar.gif) no-repeat right bottom;
}
.footerbox-three {
	float: left;
	height: 75px;
	width: 315px;
	background: url(../images/footerbar.gif) no-repeat right bottom;
}
.footerbox-four {
	float: left;
	height: 75px;
	width: 110px;
}
.footerbox-one .footerbox-contactone {
	float: left;
	margin: 0px;
	padding: 0px;
}
.footerbox-one .footerbox-contacttwo {
	float: right;
	margin: 0px;
	padding: 0px;
}

.videothumb { float: left; width: 279px; text-align: center; margin-bottom: 10px; }
.videocenter { width: 100%; }
	#maincontent .videothumb p { padding: 0; margin-bottom: 10px; }
	#maincontent .videothumb img { padding: 1px; border:1px solid #CCCCCC; margin-bottom: 5px; float: none; }
	.videoright { float: right; }

.note { padding: 10px 15px; background: #FFFFA0; border: 1px solid #E5E597; margin-top: 0; margin-bottom: 20px; text-align: center; }
#maincontent .note p { padding: 0; }