/*
Theme Name: MGA
Description: Semantic, SEO Optimised, Custom Wordpress Theme for MGA
Author: Gatorworks
Author URI: http://www.gatorworks.net
*/

/* Reset */
a, abbr, acronym, address, area, b, bdo, big, blockquote, body, button, caption, cite,
code, col, colgroup, dd, del, dfn, div, dl, dt, em, fieldset, form, h1, h2, h3, h4,
h5, h6, hr, html, i, images, ins, kbd, label, legend, li, map, object, ol, p, param, pre,
q, samp, small, span, strong, sub, sup, table, tbody, td, textarea, tfoot, th, thead,
tr, tt, ul, var {margin:0;padding:0;vertical-align:baseline}

/* Defaults */
:focus {outline:0}
a, a:visited {color:#191919}
a:hover {}
abbr, acronym, dfn {border-bottom:1px dotted;cursor:help}
blockquote {background:#EEE;border-left:2px solid #CCC;margin:0 0 1em}
blockquote p {margin:.5em}
body {background:#007aa7 url(images/bg.png) left top repeat-x;color:#191919;font:75%/125% Arial, Sans-Serif}
code, pre {font-size:1em}
del {text-decoration:line-through}
dfn {font-style:italic;font-weight:bold}
dt {font-weight:bold}
dd {margin:0 0 1em 10px}
fieldset {border:0}
fieldset p {margin:0 0 5px}
img {border:0;vertical-align:bottom}
ins {text-decoration:none}
h1 {font:bold 1.75em/1.25em Arial, Sans-Serif;margin:10px 0 0 10px}
h2 {font:1.5em/1.25em Arial, Sans-Serif;letter-spacing:-1px;}
h3 {font:bold 1.25em/1.25em Arial, Sans-Serif;}
h4 {font:bold 1em/1.25em Arial, Sans-Serif}
hr {margin:0 0 0.5em}
p {margin:0 0 1em}
ul, ol {list-style:none;margin:0 0 1em}
textarea {font:1em Arial;overflow:auto}
tt {display:block;margin:0.5em 0;padding: 0.5em 1em}
th {background:#EEE;border:solid #CCC;border-width:1px 0 0 1px;padding:3px}
td {border:none #CCC;border-width:1px 0 0 1px;padding:3px}
table {border:none;border-width:0 1px 1px 0}

/* Containers */
#page {margin:10px auto;width:821px}

/* Header */
#header {color:#fff;overflow:hidden;position:relative;width:100%}
#header #logo {color:#fff;float:left;font:italic bold 2.25em/1.2em Georgia, Garamond, Serif;margin:18px 0 0 8px}
#header p#slogan {display:block;float:right;font-size:1.165em;font-style:italic;height:15px;overflow:hidden;position:absolute;right:24px;top:45px;width:228px}
* html #header p#slogan {display:inline}
#header p#slogan span {background:url(images/slogan.png) left top no-repeat;height:100%;left:0;position:absolute;top:0;width:100%}
#header #navigation {clear:both;width:100%}
#header ul#nav {background:url(images/nav-bg.png) left top no-repeat;clear:both;float:right;height:28px;list-style:none;margin:-10px 0 0;position:relative;width:708px}
#header ul#nav li {background:url(images/top-nav-divider.png) left center no-repeat;float:left;height:28px;padding:0 17px 0 19px}
#header ul#nav li.home {background:none}
#header ul#nav li a {color:#fff;float:left;font-weight:700;padding:7px 0 0;text-decoration:none}

	/* Top Nav*/
	ul#top-nav {background:url(images/top-tab.png) left top no-repeat;height:21px;position:absolute;right:0px;top:0;padding:0 0 0 10px;width:262px}
	ul#top-nav li {background:url(images/top-nav-divider.png) left top no-repeat;float:left;padding:0 15px 0 17px}
	ul#top-nav li.first {background:none}
	ul#top-nav li a {color:#fff;font-size:.915em;font-weight:700;text-decoration:none;text-transform:uppercase}

/*Main*/
#main {background:#fff url(images/main-bg.png) left top no-repeat;line-height:21px;overflow:hidden;position:relative;width:821px}
#main div {background:url(images/main-bg.png) right bottom no-repeat;overflow:hidden;position:relative;width:821px}
#main div div {background:none;width:auto}
	
	/*Homepage Main Post*/
	#main div #post-6 {padding:24px 26px 22px 27px}
	* html #main div #post-6 {height:1%;overflow:visible}
	#main div #post-6 h1 {font-size:3.75em;font-weight:400;height:34px;margin:0 0 13px;overflow:hidden;position:relative;width:376px}
	#main div #post-6 h1 span {background:url(images/welcome-to-mga.png) left top no-repeat;height:100%;left:0;position:absolute;top:0;width:100%}
	#main div #post-6 .homeslide {background:#eaeaea;line-height:15px;padding:9px 9px 6px 9px;margin:0 0 0 30px}
	#main div #post-6 p.links {margin:0 0 0 97px;padding:10px 0 0;text-align:right;width:320px}
	#main div #post-6 a#find {background:url(images/buttons-bg.png) left top no-repeat;color:#006699;float:left;font-size:1.165em;height:29px;padding:5px 0 0;position:relative;text-align:center;text-decoration:none;width:145px}
	#main div #post-6 a#meet {background:url(images/buttons-bg.png) right -34px no-repeat;color:#053e5b;float:left;font-size:1.165em;height:29px;padding:5px 0 0;position:relative;text-align:center;text-decoration:none;width:174px}
	* html #main div #post-6 a .cufon-vml {top:3px}
	*+html #main div #post-6 a .cufon-vml {top:3px}
	
	/*Hompage Content*/
	#main div #technologies {background:url(images/technology-bg.png) left top no-repeat;clear:both;height:118px;overflow:hidden;padding: 0 16px 0 30px;width:775px}
	#main div #technologies h2 {color:#fff;font-size:1.835em;font-weight:400;float:left;height:37px;overflow:hidden;position:relative;margin:33px 22px 0 0;width:193px}
	#main div #technologies h2 em {display:block;font-size:.635em;text-align:right}
	#main div #technologies h2 span {background:url(images/new-technologies.png) left top no-repeat;height:100%;left:0;position:absolute;top:0;width:100%}
	#main div #technologies .post {color:#fff;float:right;font-size:.915em;line-height:24px;padding:16px 0 0 2px;width:531px}
	#main div #technologies .post a#read-more {background:url(images/read-more.png) left top no-repeat;color:#fff;display:block;height:19px;letter-spacing:-0.5px;line-height:14px;padding:2px 20px 0 0;text-align:center;text-decoration:none;width:267px}
	
/* Content*/
#main div #content {float:right;overflow:hidden;padding:15px 22px 20px 0;width:519px}
#homepage #main div #content {padding:33px 18px 20px 0;width:456px}
#content ul {list-style:disc;margin:0 0 1em 18px}
#content ol {list-style:decimal;margin:0 0 1em 22px}
	
	/* Post */
	#main div #content .post {border-bottom:1px solid #CCC;margin:0 0 25px}
	#homepage #main div #content .post {border:0;margin:0 0 0;padding:0 7px}
	#main div #content .post .meta {font-size:0.8em}
	#main div #content .post h1 {border:0;margin:0}
	#main div #content .sticky {background:#f5efca}
	#content h1 {background:url(images/h1-bg.png) left bottom repeat-x;color:#191919;font-size:2em;margin:0 0 7px;padding:0 0 9px}
	
	/*Headers*/
	#main div #content h2, #main div #sidebar h2 {color:#053e5b;font-size:1.583em;font-weight:350}
	#homepage #main div #content h2 {padding:0 0 8px 7px}
	
	/*News Container*/
	#main div #content #news {background:#e5e5e5 url(images/news-bg.png) left top no-repeat;width:456px}
	#main div #content #news div {background:url(images/news-bg.png) right bottom no-repeat;overflow:hidden;padding:10px 13px;width:430px}	
	#main div #content #news div h2 {color:#006699;padding-left:0}
	#main div #content #news div a.more {color:#2f363a;font-size:.925em}
	#main div #content #news div #news-container .news-post {background:none;color:#34393c;float:left;font-size:.925em;line-height:17px;padding:3px 0 0;width:196px}
	#main div #content #news div #news-container .first {background:url(images/news-post-bg.gif) right 5px repeat-y;clear:both;margin:0 16px 0 0;padding:3px 18px 0 0}
	#main div #content #news div #news-container .news-post .meta {color:#034769;font-weight:700;margin:0 0 0}
	#main div #content #news div #news-container {background:none;clear:both;padding:0;width:430px}

/* Pagination */
#content ul#prev-next {list-style:none}
#content ul#prev-next #prev {float:left}
#content ul#prev-next #next {float:right}

/* Sidebar */
#main div #sidebar {float:left;line-height:14px;padding:15px 0 20px 12px;width:252px}
#homepage #main div #sidebar {float:left;line-height:14px;padding:33px 0 20px 25px;width:305px}
#main div #sidebar ul {list-style:none;margin:0 0 1em 0}
#main div #sidebar ul ul {list-style:disc}
#main div #sidebar h3 {font-size:1em;font-weight:700}
#main div #sidebar img.alignleft {margin:2px 10px 0 0;padding:0}
#homepage #main div #sidebar img.alignleft {margin:2px 14px 0 0;}
#single #main div #sidebar li#text-4 {padding:0 0 0 8px}
#single #main div #sidebar .textwidget {font-size:.865em}

	/*Flexipages Widget*/
	#main div #sidebar ul li.flexipages_widget h2 {background:url(images/sidebar-menu-top.png) left top no-repeat;color:#053e5b;line-height:18px;height:27px;padding:9px 0 0 14px;width:221px}
	#main div #sidebar ul li.flexipages_widget ul {background:#e6e6e6 url(images/sidebar-menu-bottom.png) left bottom no-repeat;list-style:none;margin:0 0 25px;padding:0 0 9px;width:235px} 
	#main div #sidebar ul li.flexipages_widget ul li {background:url(images/sidebar-divider.png) left bottom no-repeat;border:1px solid #d6d6d6;border-bottom:0px;border-top:0;line-height:24px;padding:0 0 2px;width:233px}
	#main div #sidebar ul li.flexipages_widget ul li a {margin:0 0 0 16px;text-decoration:none}
	#main div #sidebar ul li.flexipages_widget ul li.current_page_item a, #main div #sidebar ul li.flexipages_widget ul li.current_page_parent a, 
	#main div #sidebar ul li.flexipages_widget ul li.current_page_ancestor a, #main div #sidebar ul li.flexipages_widget ul li.current_page_parent ul li.current_page_item a, 
	#main div #sidebar ul li.flexipages_widget ul li.current_page_ancestor ul li.current_page_item a  {font-weight:700}
	#main div #sidebar ul li.flexipages_widget ul li ul {background:none;margin:0;padding:0}
	#main div #sidebar ul li.flexipages_widget ul li ul li {background:url(images/sidebar-divider.png) left top no-repeat;border:0}
	#main div #sidebar ul li.flexipages_widget ul li ul li a {background:url(images/sub-bg.png) left center no-repeat;margin:0 0 0 15px;padding:0 0 0 15px}
	#main div #sidebar ul li.flexipages_widget ul li.current_page_item ul li a, #main div #sidebar ul li.flexipages_widget ul li.current_page_parent ul li a, 
	#main div #sidebar ul li.flexipages_widget ul li.current_page_ancestor ul li a {font-weight:400}
	
/* Footer */
#footer {clear:both;height:1%;padding:15px 0;overflow:hidden}
#footer p {color:#fff;float:left}
#footer ul {float:right;font-size:.925em;list-style:none;margin:0 -19px 0 0}
#footer ul li {background:url(images/footer-divider.gif) left center no-repeat;float:left;padding:0 19px 0 20px}
#footer ul li.home {background:none}
#footer ul li a {color:#fff;text-decoration:none}

/* Image Alignment */
img.centered {display:block;margin-left:auto;margin-right:auto}
img.alignright {display:inline;margin:0 0 2px 12px;padding:4px}
img.alignleft {display:inline;margin:2px 12px 0 0;padding:4px}
.alignright {float:right}
.alignleft {float:left}

/* Legacy Comments */
#comments #commentlist {list-style:none;margin:0 0 1em;padding:0;text-align:justify}
#comments #commentlist li {list-style:none;margin:15px 0 3px;padding:5px 10px 3px}
#comments #commentlist li.alt {background:#EEE}
#comments #commentlist li .avatar {background:#fff;border:1px solid #eee;float:right;padding:2px}
#comments #commentlist cite, #commentlist cite a {font-style:normal;font-weight:bold}
#comments #commentlist p {margin:10px 5px 10px 0}
#comments #commentmetadata {font-weight:normal}
#comments #commentform input.input {border:1px solid #CCC;font-size:1.1em;margin:5px 5px 1px 0;padding:2px;width:170px}
#comments #commentform input.input:hover {background:#EEE}
#comments #commentform textarea {border:1px solid #CCC;padding:2px;width:98%}
#comments #commentform textarea:hover {background:#EEE}
#comments #commentform #submit {}
#comments #commentform p {margin:0 0 .5em}
#comments #allowed-tags strong {display:block}
#comments .nocomments {margin:0;padding:0;text-align:center}
#comments .commentmetadata {display:block;margin:0}

/* 2.7+ Comments */
#comments_wrap ol {list-style:none}
#comments_wrap ol li {border-bottom:1px solid #CCC;margin:0 0 5px}
#comments_wrap .commentmetadata {margin:0 0 10px}
#comments_wrap .comment-author {border-bottom:1px solid #CCC;width:100%;overflow:hidden;padding:0 0 3px;line-height:32px;}
#comments_wrap .comment-author img {float:left;margin:0 10px 0 0}
#comments_wrap .comment-author cite {font-weight:bold}

/* Captions */
.wp-caption {background:#f3f3f3;border:1px solid #ddd;border-radius:3px;khtml-border-radius:3px;margin:10px;moz-border-radius:3px;padding-top:4px;text-align:center;webkit-border-radius:3px}
.wp-caption img {border:0 none;margin:0;padding:0}
.wp-caption p.wp-caption-text {font-size:11px;line-height:17px;margin:0;padding:0 4px 5px}