/* MGA Who We Are Template */
/*ID related to divs */

#MGAContainer {
	width: 800px;
	margin-right: auto;
	margin-left: auto;
	left: 5px;
	*left: 14px; /* target only IE7 and older browsers */
	top: 5px;
	*top: -2px; /* target only IE7 and older browsers */
	background-color: #EEE;
	position: relative;
}
#MGAMasthead {
	height: 80px;
	width: 790px;
	padding-top: 10px;
	padding-left: 10px;
	background-image: url(http://www.mgacommunications.com/themes/mga2010/images/2009-web-banner_nb.gif);
	background-repeat: no-repeat;
	background-position: center;
}
#MGANavTop {
	background-color: #D8D8D8;
	width: 780px;
	position: relative;
	text-align: center;
	margin-right: 10px;
	margin-left: 10px;
	margin-bottom: 10px;
	height: 36px;
	z-index: 99;
}

.mgahistory {
	z-index: 1;
}

.blogLayer {
	z-index: 1;
}


#MGAcontent {
	background-color: #FFF;
	float: left;
	width: 545px;
	position: relative;
	padding-right: 15px;
	padding-left: 10px;
	margin-top: 20px;
	margin-left: 10px;
	margin-bottom: 10px;
}

#MGAcontentRightSide {
	background-color: #fff;
	float: left;
	width: 545px;
	position: relative;
	padding-right: 0px;
	padding-left: 0px;
	margin-top: 0px;
	margin-left: 10px;
	margin-bottom: 10px;
}

#MGAcontentTopBoxFull {
	background-color: #FFFFFF;
	width: 540px;
	height: 410px;
	position: relative;
	top: 0px;
	left: 0px;
	margin-left: 0px;
	clear: both;
	float: center;
	padding-top: 0px;
}

#MGAcontentTopBoxFullImage {
	background-color: #FFFFFF;
	width: 545px;
	position: relative;
	top: 0px;
	left: 0px;
	margin-left: 0px;
	margin-bottom: 25px;
	clear: both;
	float: center;
	padding-top: 0px;
}


#MGAcontentTopBox {
	background-color: #BA9F45;
	width: 545px;
	position: relative;
	top: 0px;
	clear: both;
	float: left;
	height: 130px;
	margin-top: 0px;
	margin-bottom: 20px;
}

#MGAcontentTopBoxFullPage {
	background-color: #FFFFFF;
	width: 780px;
	position: relative;
	top: 0px;
	clear: both;
	float: left;
	margin-top: 0px;
	margin-left: 10px;
	margin-bottom: 20px;
}

#MGAcontentHomeTopBoxLeft {
	width: 488px;
	position: absolute;
	top: 0px;
	height: 197px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#MGAcontentHomeTopBoxRight {
	width: 292px;
	position: relative;
	top: 0px;
	left: 488px;
	height: 197px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#MGAcontentTopBoxLeft {
	width: 316px;
	position: absolute;
	top: 0px;
	height: 130px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#MGAcontentTopBoxLeftPeople {
	width: 216px;
	position: absolute;
	top: 0px;
	height: 130px;
	margin-top: 0px;
	margin-bottom: 0px;
}


#MGAcontentTopBoxRight {
	width: 229px;
	position: relative;
	top: 0px;
	left: 316px;
	height: 130px;
	margin-top: 0px;
	margin-bottom: 0px;
}

#MGAcontentTopBoxRightPeople {
	width: 317px;
	position: relative;
	top: 7px;
	*top: 0px;
	left: 223px;
	height: 135px;
	margin-top: 0px;
	margin-bottom: 0px;
	vertical-align: text-bottom;
	vertical-align: bottom;
	
	
}

#MGAcontentTopBoxSecond {
	background-color: #FFFFFF;
	width: 515px;
	position: relative;
	top: -10px;
	left: 15px;
	clear: both;
	float: center;
	padding-top: 0px;
	padding-bottom: 10px;
	*padding-bottom: 10px; /* target only IE7 and older browsers */
	margin-right: 10px;
}

#MGAcontentTopBoxViewPage {
	background-color: #FFFFFF;
	width: 515px;
	position: relative;
	left: 15px;
	clear: both;
	float: center;
	*padding-top: 10px;
	padding-bottom: 16px;
	*padding-bottom: 18px; /* target only IE7 and older browsers */
	margin-right: 10px;
	z-index: 1;
}


#MGAcontentTopBox table tr td img {
	position: absolute;
	top: 0px;
	left: 0px;
}

#MGANavRight {
	float: right;
	width: 190px;
	position: relative;
	margin-top: 0px;
	padding-left: 10px;
	line-height:12px;
}


#MGABottomInfo {
	background-color: #FFF;
	width: 760px;
	clear: both;
	position: relative;
	left: 10px;
	margin-bottom: 0px;
	margin-top: 0px;
	*margin-top: 10px;  /* target only IE7 and older browsers */
	border-bottom-width: 10px;
	border-bottom-style: solid;
	border-bottom-color: #EEE;
	padding-top: 0px;
	padding-right: 10px;
	padding-bottom: 0px;
	padding-left: 10px;
}


/************* #search styles ***************/

#mga #topsearchbar{
	float: right;
	padding-right: 0px;
	background-color: none;
	vertical-align: top;
	width: 200px;
	height: 67px;
	position: absolute;
	top: 0px;
	right: 10px;
}


#mga #search{
	padding: 5px 5px 5px 10px;
	border-bottom: 0;
	font-size: 90%;
}

#mga #search form{
 margin: 0px;
 padding: 0px;
}

#mga #search label{
	display: block;
	margin: 0px;
	padding: 0px;
}


/* MGA Home Page */

#MGAHomeTopBox {
	width: 780px;
	padding-right: 10px;
	padding-left: 10px;
	float: left;
	position: relative;
	margin: 0px;
	
}
#MGAHomeMiddleBox {
	width: 780px;
	position: relative;
	background-color: #FFF;
	float: left;
	margin-right: 10px;
	margin-left: 10px;
	margin-top: 25px;
	margin-bottom: 15px;
	}


#MGAHomeContent_Left {
	float: left;
	width: 243px;
	margin-right: 10px;
	position: relative;
	padding-left: 0px;
	left: 2px;
	top: 0px;
}
#MGAHomeContent_Center {
	float: center;
	width: 243px;
	margin-right: 5px;
	margin-left: 5px;
	position: absolute;
	left: 259px;
	top: 0px;
	clear: both;
}
#MGAHomeContent_Right {
	float: right;
	width: 243px;
	position: absolute;
	left: 529px;
	top: 0px;
}

/* Tweet styles */

#latest_tweet small, #latest_tweet a {
    color: #7aa6cb;
}

.loading {
    background: url(http://www.mgacommunications.com/themes/mga2010/images/ajax-loader.gif) center no-repeat;
    height: 60px;
}

/* Blog Styles */
#MGAblogInfo {
	float: left;
	height: 60px;
	width: 545px;
	margin-bottom: 10px;
    position: relative;
}

#MGAblogDate {
	text-align: center;
	position: relative;
	float: left;
	height: 60px;
	width: 70px;
	border-right-width: 3px;
	border-right-style: solid;
	border-right-color: #CCC;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-top-style: none;
	border-bottom-style: none;
	border-left-style: none;
	vertical-align: top;
	}
#MGAblogEntry {
	position: relative;
	float: left;
	text-align: left;
	vertical-align: middle;
	height: 60px;
	width: 455px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	*padding-bottom: 10px; /* target only IE7 and older browsers */
	padding-left: 10px;
}
