/*Main CSS file for MMG site.*/
/*CSS reset*/
@import 'reset.css';
/*Site CSS*/
body {
	background: #000014 url(../images/design/page_bg.png) repeat-x top left;
	font-size: 62.5%;
	color: #77787a;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
#container {
	margin: 2.25em auto 0;
	width: 87em;
	padding: 0.5em 4.5em 3.5em;
	background-color: #fff;
	-moz-border-radius-topleft: 20px;
	-webkit-border-top-left-radius: 20px;
	border-top-left-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-bottom-right-radius: 20px;
	border-bottom-right-radius: 20px;
}
#container:after, #content-right:after, #header:after, #footer ul:after, div.row:after, #portfolio div.portRow:after, .private:after {
	content: '.';
	display: block;
	clear:both;
	visibility: hidden;
	height: 0;
}
/*Header styling*/
ul#accessibility {
	visibility: hidden;
	height: 0;
}
#header {
	margin-bottom: 3em;
	position: relative;
}
#header-inner {
	background: transparent url(../images/design/home_header_img.jpg) top right no-repeat;
	width: 870px;
	height: 208px;
}
#header h1 {
	font-size: 2em;
	font-weight: bold;
	color: #fff;
	text-align: right;
	height: 130px;
	margin: 40px 50px 0 0;
}
#header h1 span {
	display: block;
	position: relative;
	top: 175px;
}

#header h2 {
	width: 90px;
	height: 90px;
	position: absolute;
	top: 5%;
	left: 85%;
}

#header h2 a {
	display: block;
	width: 100%;
	height: 100%;
	text-indent: -9000px;
	background: transparent url('../images/design/Take_the_Pledge.png') top left no-repeat;
}
#homewords {
	margin: 30px 0;
	padding-bottom: 30px;
	width: 857px;
	background: transparent url(../images/design/MMG_pgbttm.jpg) bottom left no-repeat;
	-webkit-transform: rotate(-1deg);
	-moz-transform: rotate(-1deg);
	-o-transform: rotate(-1deg);
	-ms-transform: rotate(-1deg);
	transform: rotate(-1deg);
}
#homewords p {
	background: transparent url(../images/design/MMG_pgtop.jpg) top left no-repeat;
	padding: 35px 25px 0;
	line-height: 1.5em;
	font-size: 1.2em;
	color: #79280b;
}
#content-right { 
	float: right;
	width: 64.5em;
	margin-left: 5em;
}
#home #content-right {
	width: 54.3em;
}
#home h3 a, #nav a, #staff a {
	opacity: 0.9;
	-webkit-transition: all 0.3s ease-in-out; 
	-moz-transition: all 0.3s ease-in-out;
	-o-transition: all 0.3s ease-in-out;
	-ms-transition: all 0.3s ease-in-out; 
	transition: all 0.3s ease-in-out; 
	color: #fff;
}
#home h3#homeport, #staff a {
	-webkit-transition: text-shadow 0.3s ease-in; /*Due to a bug in the way Chrome renders the transition on the image*/
}
#home #left-col h3 a:hover, #nav a:hover, #staff a:hover, #home h3#homeport a:hover {
	opacity: 1;
	-webkit-text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-moz-text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-o-text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-ms-text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	text-shadow: 1px 1px 1px rgba(0,0,0,0.3);
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
	color: #79280b;
	text-decoration: none;
}
#homeport h3 a:hover {
	border: none;
}
/*Homepage*/
#home #left-col h3#homeblog {
	width: 330px;
	height: 97px;
	background: #fff url(../images/design/home_blog.gif) no-repeat top left;
	border-bottom: none;
}
#home #left-col h3#story  {
	width: 330px;
	height: 178px;
	border-bottom: none;
	padding-top: 20px;
}
#home #left-col h3#story a {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff url(../images/design/home_story.gif) no-repeat;
	text-indent: 200px;
	padding-top: 10px;
}
#home #left-col p#first {
	margin: 2.4em 0;
}
#home #left-col h3#homeblog a {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff url(../images/design/home_blog.gif) no-repeat;
	text-indent: 200px;
	padding-top: 20px;
}
/*Content*/
#content {
	width: 44.2em;
	float: left;
}
div.colorBox {
	width: 45em;
	margin: auto;
}
div.colorBox img {
	display: block;
	margin: auto;
}
#blog #content h3, #blog #content h4, .colorBox h3, .colorBox h4 {
	clear: both;
}
#home #content {
	width: 32.1em;
}
#homeport {
background-image: url(../images/design/home_port.png);
margin-left: 30px;
}

#content > p:first-child, #content > h2:first-child, #left-col > h3:first-child, #content .BlogPost > h2:first-child, dl#superhero dt, #content > div.portfolio h3:first-child, .colorBox > h3:first-child {
	margin-top: 0;
	padding-top: 0;
}
/*Portfolio Section*/
#portfolio #content {
	width: 45em;
}
#portfolio #content h3, .colorBox h3 {
	line-height: normal;
}
#portfolio div.portfolio {
	margin-bottom: 6.5em;
	position: relative;
}
#portfolio #content > div.portfolio:first-child, #portfolio #content > h3:first-child {
	margin-top: -15px;
}
#portfolio div.portfolio a {
	border: 2px solid #000;
	display: block;
	width: 440px;
	height: 164px;
}
#portfolio div.portRow a {
	float: left;
	border: 2px solid #000;
	display: block;
	margin: 0 1em 1em 0;
}
#portfolio div.portfolio a{
	 -webkit-transition: all 0.3s ease-in;
	 -moz-transition: all 0.3s ease-in;
	 -o-transition: all 0.3s ease-in;
	 -ms-transition: all 0.3s ease-in;
	 transition: all 0.3s ease-in;
 }
#portfolio div.portfolio a:hover, #portfolio #left-col a:hover, #portfolio div.portRow a:hover {
	border-color: #834049;
	-moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	-webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	-o-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	-ms-box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	box-shadow: 5px 5px 5px #d3c69b;
	text-decoration: none;
}
#portfolio.portfolioMain div.portfolio h3 {
	margin: 0;
	font-size: 1.8em;
	color: #fff;
	background: #000;
	background: rgba(0,0,0,0.65);
	padding: .3em;
	position: absolute;
	font-style: italic;
}
a:active {
	outline: none;
}
/*Right column*/
#right-col {
	float: right;
}
/*Navigation*/
#right-col ul#nav {
	margin-left: 20px;
}
#right-col li {
	margin: 0 0 2.5em;
	position: relative;
}
#right-col a{
	background-image: url(../images/design/nav_icons.jpg);
	background-repeat: no-repeat;
	width: 160px;
	height: 77px;
	display: block;
	text-decoration: none;
}
#right-col a span {
	font-size: 1.25em;
	text-align: right;
	padding: 12px 12px 0 0;
	float: right;
}
a#home-link {
	background-position: 0 -462px;
}
a#blog-link {
	background-position: 0 -77px;
}
a#portfolio-link {
	background-position: 0 -154px;
}
a#about-link {
	background-position: 0 -308px;
}
a#news-link {
	background-position: 0 -231px;
}
a#contact-link {
	background-position: 0px -385px;
}
/*Left column*/
#left-col{
	width:17.5em;
	float: left;
}
#home #left-col {
	width: 22.8em;
	padding-right: 4.4em;
}
#portfolio #left-col ul {
	margin-top: 1em;
}
#portfolio #left-col li a {
	display: block;
	width: 100%;
	height: 100%;
	border: 2px solid #cfbe8d;
	border-left: none;
}
#portfolio #left-col li a span {
	font-size: 1.5em;
	padding-right: .5em;
	position: relative;
	top: -.8em;
	background: #fff;
	color: #3b97bd;
}
/*Footer*/
#footer {
	width: 96em;
	margin: 2em auto 10em;
	color: #fff;
}
#footer p {
	width: 28%;
	float: left;
	height: 44px;
	padding-left: 48px;
	background: transparent url("../images/design/MMG_comics_small.jpg") no-repeat center left;
}
#footer ul {
	width: 65%;
	float: right;
	text-transform: lowercase;
}
#footer li {
	float: left;
	margin-left: 1em;
}
#footer p, #footer li {
	padding-top: .5em;
}
#footer a {
	opacity: 0.8;
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	-o-transition: opacity 0.3s ease-in;
	-ms-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
	color: #fff;
	text-decoration: none;
	font-weight: normal;
}
#footer a:hover {
	opacity: 1;
	text-decoration: underline;
}
#footer #facebook_ftr, #footer li#linkedin_ftr, #footer li#rss_ftr, #footer li#twitter_ftr{
	display:block;
	background-repeat: no-repeat;
	width: 17px;
	height: 16px;
}
#footer #facebook_ftr {
	background-image: url(../images/design/mmg_facebook.png);
}
#footer li#linkedin_ftr {
	background-image: url(../images/design/mmg_linkedin.png);
}
#footer li#rss_ftr {
	background-image: url(../images/design/mmg_rss.png);
}
#footer li#twitter_ftr {
	background-image: url(../images/design/mmg_twitter.png);
}
#facebook_ftr a, #rss_ftr a, #twitter_ftr a, #linkedin_ftr a {
	display:block;
	text-indent:-9000px;
	width: 100%;
	height: 100%;
}
/*Content styling*/
#home h3, #nav li {
	text-transform: lowercase;
}
#home #content h3, #home #left-col h3, .colorBox h3 {
	color: #3b97bd;
	margin-top: -10px;
}
#home #content h3 {
	width: 327px;
	height: 261px;
	margin-left: 30px;
	text-transform: lowercase;
}
#home #content h3 a {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff url(../images/design/port_bg.gif) no-repeat;
	text-indent: -9000px;
}
#content h2, #content h3, #content h4, #content dt, #left-col h3, .colorBox h3, .colorBox h4, #content legend {
	color: #834049;
	margin: 2em 0 1em;
}
#content h2 {
	font-size: 2.5em;
	line-height: 1.3em;
}
#content h3, #left-col h3, .colorBox h3, #about #content dt {
	font-size: 2em;
	line-height: 1.3em;
}
#left-col h3 {
	border-bottom: 1px solid;
	padding-bottom: 0.25em;
}
#content h4, #content dt, .colorBox h4, #content legend {
	font-size: 1.6em;
}
#content p, #content ul, #content ol, #content span, #content dd, #left-col p, .colorBox p {
	font-size: 1.2em;
	line-height: 1.9em;
	margin: 1.5em 0;
}
#content dd * {
	font-size: 1em;
}
#content ol {
	list-style-type: decimal;
	list-style-position: inside;
}
#content ul {
	list-style-type: disc;
	list-style-position: outside;
}
#content ul li {
	margin-left: 1.2em;
}
#content p.author {
	font-weight: bold;
}
#content a#home_port_link  {
	display: block;
	text-indent: -9000px;
	width: 269px;
	height: 219px;
	background: transparent url(../images/design/home_port.gif) no-repeat top left;
	position: relative;
	left: 65px;
	top: 20px;
}
#content a#home_port_link:hover {
	background-position: -269px 0;
}
.rightFloat {
	float: right;
	margin: 0 35px 20px 20px;
}
.leftFloat {
	float: left;
	margin: 20px 20px 20px 0;
}
/*Link styles*/
a:link {
	color: #00aeef;
	text-decoration: none;
}
a:visited {
	color: #BFAD77;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #834049;
}
a:active {
	color: #834049;
	text-decoration: underline;
}
strong, p.error {
	font-weight: bold;
	color: #79280b;
}
em {
	font-style: italic;
}
/*Staff Biography Links*/
table#staff th {
	font-size: 1.5em;
	text-align: center;
	color: #3b97bd;
	padding-top: 1em;
}
table#staff th.first {
	padding-top: 0;
}
table#staff td {
	padding: 1em 0 0;
}
table#staff a {
	display: block;
	margin: auto;
	width: 72px;
	height: 72px;
	text-indent: -9000px;
	background-image : url(../images/mmg_icons.png);
	background-repeat: no-repeat;
}
table#staff a#Cathy {
	background-position: 0 0;
}
table#staff a#Doug {
	background-position: -132px 0;
}
table#staff a#Tova {
	margin: 0 auto;
	background-position: 0 -396px;
}
table#staff a#Stenna {
	background-position: 0 -132px;
}
table#staff a#JulieBH {
	background-position: -132px -132px;
}
table#staff a#John {
	background-position: -132px -264px;
}
table#staff a#Blake {
	background-position: 0 -264px;
}
table#staff a#Jaime {
	background-position: -132px -396px;
}
table#staff a#Stacey {
	background-position: 0 -528px;
}
table#staff a#Caroline {
	background-position: 0 -660px;
}
table#staff a#DannyW {
	background-position: -132px -528px;
}
table#staff a#Natasha {
	background-position: -132px -660px;
}
table#staff a#Lisa {
	background-position: 0 -924px;
}
table#staff a#Dave {
	background-position: -132px -924px;
}
table#staff a#Melissa {
	background-position: -132px -792px;
}
table#staff a#Diane {
	background-position: 0 -792px;
}
/*Contact info styling*/
div.vcard {
	line-height: 1.2em;
	font-size: 1.2em;
}
div.vcard span {
	display: block;
	margin: 1em 0;
}
div.vcard address span {
	margin: .6em 0;
}
div.vcard span.region, div.vcard span.locality {
	display: inline;
}
div.vcard span.fn, div.vcard span.tel {
	color: #834049;
}
div.vcard span.fn, div.vcard span.tel span.type {
	display: none;
}
div#left-col p {
	margin: 1em 0;
}
div.vcard a {
	display: block;
	padding-bottom: 4px;
}
div.vcard a.url {
	display: none;
}
div.vcard span.tel {
	font-size: 2em;
	margin: 0 0 .5em;
	padding-bottom: .5em;
	border-bottom: 1px solid;
}
div.vcard address {
	border-bottom: 1px solid #834049;
	padding: 1.5em 0;
	margin-bottom: 1.5em;
}
a#microformat {
	background: transparent url(../images/hcard.png) no-repeat top right;
	display: block;
	padding-right: 22px;
}
span.tel span.value {
	padding-top: .4em;
	margin-top: 0;
}
/*Form styling*/
#content legend {
	margin: 0;
	padding: 2em 0 1em;
}
div.row {
	margin: 1em 0;
}
label {
	display: block;
	font-size: 1.3em;
	color: #834049;
	font-weight: bold;
	margin: 0 0 1em;
}
input[type=text], textarea, input[type=password], select {
	color: #4A4C4F;
	font-style: italic;
	border: 1px solid #417FA9;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	padding: .5em;
}
input[type=text], input[type=password], select {
	width: 17em;
}
#left-col select {
	width: 13em;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
	background: #EFFBFF;
	font-style: normal;
	border: 1px solid #834049;
}
textarea {
	margin-bottom: 1em;
	font: 1.2em Verdana, Arial, Helvetica, sans-serif;
}
#contact legend {
	display: none;
}
/*Styling for lightbox content*/
#GMap, #GuelphMap {
	width: 700px; 
	height: 550px;
	margin:auto 10px;
	float: right;
}
#GuelphMap {
	float: none;
	margin: auto;
}
#directions {
	width: 150px;
	margin: auto 0;
	float: left;
}
p#lbLink {
	font-size: 1.4em;
	text-align: center;
	padding: 1em 0;
	clear: both;
}
abbr {
	border-bottom: 1px dotted;
}

