/* Index
----------------------------------------------
	1. Layout
	2. Head
	3. Content
	4. Foot
	5. General Styles
*/

/* 1. Layout
----------------------------------------------*/

body {
    padding: 0;
    min-width: 960px; /* This sets the viewport width for mobiles */
    background: #003568;
}

.wrapper {
    width: 980px;
    margin: 0 auto;
}

#head {
    position: relative;
    height: 167px;
    z-index: 99;
    background: #fff;
}

#head .wrapper {
    position: relative;
}

#content {
    min-height: 500px;
    height: auto !important;
    height: 500px;
    padding: 0x;
    background: #fff;
}

#content .wrapper {
    position: relative;
}

#home {
}

#foot {
    clear: both;
}

/* 2. Head
----------------------------------------------*/

/* This area should include logo, search and main navigation */

div#head img#logo {
    float: left;
    padding: 31px 0 0;
}

div#head ul, div#head ol {
    margin: 0;
    padding: 0;
}

div#head form {
    width: 395px;
    height: 35px;
    margin: 10px 0;
    background: url(../images/bg-login.gif) 0 0 no-repeat;
}

div#head form ol {
    float: left;
    width: 316px;
}

div#head form ol li {
    float: left;
    width: 158px;
    margin: 3px 0 0 0;
    padding: 0;
}

div#head form input {
    width: 130px;
    padding: 5px 10px;
    background: none;
    border: none;
}

div#head button {
    float: right;
    width: 79px;
    height: 35px;
    margin: 0;
    padding: 0;
    background: none;
    text-indent: -999em;
}

/* --- top navigation */

#topNav {
    position: absolute;
    top: 25px;
    right: 0;
    width: 395px;
    height: 60px;
    color: #003468;
}

#topNav h4 {
    margin: 0;
    padding: 0;
}

#topNav p {
    float: left;
    width: 300px;
    padding: 10px 0;
}

#topNav .button {
    float: right;
    margin: 6px 0;
}

#topNav .button:hover {
    color: #fff;
    background: #00336A;
}

/* --- main navigation */

#nav {
    position: absolute;
    top: 115px;
    background: #003569;
    height: 52px;
    width: 100%;
}

#mainNav {
    margin: 0;
    padding: 0;
    display: block;
}

#mainNav li {
    float: left;
    position: relative;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
}

#mainNav li a {
    position: relative;
    z-index: 99;
    display: block;
    padding: 18px 56px 18px 3px;
    font: normal 20px/17px "Times New Roman",sans-serif;
    text-transform: uppercase;
    color: #fff;
    text-decoration: none;
    height: 16px;
}

#mainNav li.last a {
    padding: 18px 0 18px 3px;
}

#mainNav li.on a, #mainNav li a:hover, #mainNav li.on a:hover,
#mainNav li:hover a {
    color: #aebb21;
}

/* --- drop down navigation */

#mainNav ul {
    display: none;
    width: 243px;
    position: absolute;
    top: 42px;
    left: 0;
    z-index: 99;
    background: #ebeff3 url(../images/nav-arrow.gif) 0 0 no-repeat;
    margin: 0;
    padding: 10px 0 0 !important;
    -webkit-border-bottom-right-radius: 7px;
    -webkit-border-bottom-left-radius: 7px;
    -moz-border-radius-bottomright: 7px;
    -moz-border-radius-bottomleft: 7px;
            border-bottom-right-radius: 7px;
            border-bottom-left-radius: 7px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, .4);
            box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, .4);
    border: 8px solid #00336A;
    border-top: none;
}

#mainNav ul li {
    margin: 0;
    float: none;
    display: block;
}

#mainNav ul li a, #mainNav li.on ul li a, #mainNav li li:hover a,
#mainNav li.last li a {
    padding: 8px 17px;
    background: none;
    font-size: 13px;
    font-weight: normal;
    height: auto;
    color: #003367 !important;
}

#mainNav ul li a:hover, #mainNav li.on ul li a:hover {
    color: #fff !important;
    background: #aebb21;
}

/* 3. Content
----------------------------------------------*/

/* --- Banner */

div#banner {
    position: relative;
    background: #003569;
    color: #fff;
    overflow: auto;
    overflow-x: hidden;
}

div#banner #fade {
    position: absolute;
    top: 0;
    height: 282px;
    display: block;
    width: 100%;
    background: transparent url(../images/banner-fade.png) top center no-repeat;
    z-index: 97;
}

div#banner .wrapper {
    position: relative;
}

div#banner  #frames {
    position: relative;
    width: 980px;
    margin: 0 auto;
    z-index: 98;
}

#frames a.slideNav {
    position: absolute;
    top: 127px;
    cursor: pointer;
    z-index: 99 !important;
    width: 10px;
    height: 19px;
    text-indent: -999em;
}

a.prevSlide {
    left: -15px;
    background: url(../images/arrow-left.png) no-repeat;
}

a.nextSlide {
    right: -15px;
    background: url(../images/arrow-right.png) no-repeat;
}

.wrapper div#blueFrameLeft {
    position: absolute;
    top: 0;
    left: -94px;
    background: url(../images/fade-left.png) top left repeat-y;
    height: 282px;
    width: 378px;
    z-index: 97;
}

.wrapper div#blueFrameRight {
    position: absolute;
    top: 0;
    right: -94px;
    background: url(../images/fade-right.png) top left repeat-y;
    height: 282px;
    width: 379px;
    z-index: 97;
}

div#banner .welcome {
    position: absolute;
    top: 0;
    left: 0;
    width: 225px;
    height: 257px;
    overflow: hidden;
    margin: 0 auto;
    padding: 25px 30px 0;
    z-index: 98;
}

.welcome img.left {
    margin: 0 10px 0 0;
}

.welcome i {
    display: block;
    padding: 5px 0;
    color: #afbc22;
}

#slider {
    position: absolute;
    margin-left: -1030px;
    top: 0;
    left: 50%;
    z-index: 1 !important;
    height: 282px;
    width: 2060px !important;
    overflow: hidden !important;
}

#slider ul {
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    height: 282px;
}

#slider li {
    height: 282px;
    width: 412px;
    margin: 0;
    padding: 0;
    z-index: 1;
    line-height: 1;
    overflow: hidden;
}

#slider li a {
    display: block;
}

#banner .button {
    color: #00336A !important;
    background: #aebb21 !important;
}

#banner .button:hover {
    background: #fff !important;
}

#slider li img {
    position: relative;
}

#slider a {
    position: relative;
    z-index: 98;
}

#banner #slider .slideDescription {
    display: none;
    z-index: 98;
}

#banner .slideDescription {
    padding: 25px 30px;
    width: 225px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 98;
}

#memberBanner {
    height: 175px;
    background: #aebb21;
}

#memberBanner ul {
    float: left;
    width: 735px;
    height: 175px;
    background: #aebb21;
}

#memberBanner ul, #memberBanner ul li {
    margin: 0;
    padding: 0;
}

#userWelcome {
    float: right;
    width: 205px;
    height: 135px;
    overflow: hidden;
    padding: 20px;
}

#userWelcome h2 {
    color: #fff;
    font-size: 16px;
}

#userWelcome strong {
    margin: 10px 0 0;
    display: block;
    font-size: 22px;
    color: #003367;
}

#userWelcome p {
    color: #003367;
    font-size: 16px;
    margin: 0;
}

.membercentreSection .col {
    float: left;
    width: 330px;
    padding: 15px 0;
}

.memberButtons ul {
    margin: 0;
    padding: 0;
}

.memberButtons ul li {
    margin: 0 0 20px;
    padding: 0;
}

/* --- Welcome / Events / News Columns */

#home {
    padding: 15px 15px 5px;
    color: #003367;
}

.shadow.greenBg {
    background: #aebb21 url(../images/shadow.png) center -45px no-repeat;
}

.shadow {
    background: #fff url(../images/shadow.png) center -45px no-repeat;
}

#home .button {
    margin: 0;
}

#home .button:hover, #home .button.white {
    color: #003367;
    background: #fff;
}

#home .button.white:hover {
    background: #003367;
    color: #fff;
}

#home .col {
    float: left;
    width: 230px;
    padding: 15px;
}

#home .col h2 {
    font-size: 21px;
    margin: 0 0 20px;
}

#home .events h3 {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "Open Sans", sans-serif;
    text-transform: none;
    color: #003367;
}

.events li a {
    float: left;
    display: block;
    width: 388px;
    background: #C3CD58;
    padding: 6px;
            border-radius: 5px;
       -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.events li a:hover {
    background: #BFD630;
}

#home .col.events {
    width: 400px;
}

#home .col.events ul, #home .col.news ul {
    padding: 0;
}

ul#advertBlock {
    float: left;
    margin: 20px 0 0;
    padding: 0;
    clear: both;
    overflow: hidden;
}

ul#advertBlock li {
    margin: 0 !important;
    padding: 0 !important;
    background: none;
}

#home .col.events li {
    color: #003367;
    display: block;
}

.events li a {
    display: block;
}

.calendarDay {
    float: left;
    display: inline-block;
    width: 44px;
    height: 36px;
    color: #003367;
    overflow: hidden;
    position: relative;
    border-top: 5px solid #003468;
            border-radius: 3px;
       -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    background: #fff;
}

.calendarDay span {
    font-size: 11px;
    padding: 3px 0 0 11px;
    text-transform: uppercase;
    font-weight: bold;
    width: 26px;
    height: 21px;
    display: block;
    overflow: hidden;
}

.calendarDay strong {
    position: absolute;
    bottom: 0;
    left: 7px;
    height: 20px;
    width: 30px;
    overflow: hidden;
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: normal;
}

.upcomingRight {
    float: right;
    width: 335px;
}

.member ul {
    padding: 0;
}

.member ul li {
    padding: 0 0 0 25px !important;
    background: url(../images/blue-arrow.png) 0 2px no-repeat;
}

#home ul li {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

#home .news li {
    margin: 0;
}

#home .news .date, #home .newsListThumb {
    display: none;
}

#home h3 {
    margin: 0;
}

#home .col .small {
    font-size: 10px;
}

#home .newsListImage {
    margin: 0 0 5px;
}

#partners {
    height: 165px;
    overflow: hidden;
}

#slidePartner {
    position: relative;
    overflow: hidden;
    height: 165px;
}

#sliderWrap {
    width: 860px !important;
    margin: 0 auto;
    overflow: hidden;
    height: 165px;
}

#sliderWrap ul {
    float: left;
    margin: 0 0 0 4px;
    padding: 0;
}

#sliderWrap li {
    float: left;
    list-style: none;
    background: none;
    margin: 38px 9px 38px 8px;
    padding: 0;
    display: inline-block;
}

#sliderWrap li a {
    float: left;
    width: 150px;
    height: 85px;
    display: inline-block;
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
    -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
       -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
            box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #b9b9c8;
    margin: 0;
    padding: 1px;
}

#sliderWrap iframe {
    display: none;
}

.slidernav {
    position: absolute;
    display: block;
    width: 15px;
    height: 28px;
    text-indent: -999em;
    top: 70px;
    cursor: pointer;
}

.prev {
    left: 30px;
    background: url(../images/arrow-left.gif) no-repeat;
}

.next {
    right: 30px;
    background: url(../images/arrow-right.gif) no-repeat;
}

/* --- Inner pages */

#content #sideBar {
    float: right;
    width: 245px;
    margin: 0;
}

#sideBanner, #sideBanner li {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 10px;
}

#sideBanner li a {
    display: block;
}

#sideBanner iframe {
    display: none;
}

#innernav {
    margin: 0;
    padding: 0;
}

#innernav li {
    position: relative;
    list-style: none;
    margin: 0 0 0 20px;
    padding: 10px 0;
    background: url(../images/nav-line.gif) bottom left no-repeat;
}

#innernav li:last-child {
    background: none;
}

#innernav li.sectionName {
    margin: 0;
    padding: 0 0 12px;
    background: url(../images/pic-shadow.png) bottom center no-repeat;
}

#innernav li.sectionName a, #innernav li.sectionName a:hover {
    color: #fff !important;
    font: normal 18px "Times New Roman", sans-serif;
    text-transform: uppercase;
    background: #00336A !important;
    padding: 17px 20px 15px;
}

#innernav li a {
    display: block;
    padding: 0 20px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    background: url(../images/nav-arrow.png) 0 3px no-repeat;
}

#innernav li a:hover {
    color: #888;
    background: url(../images/nav-hover-arrow.png) 0 2px no-repeat;
}

#innernav li.on a {
    color: #00336A;
    background: url(../images/nav-on-arrow.png) 0 2px no-repeat;
}

#innernav li > ul li {
    padding: 0 !important;
}

#innernav li > ul li a {
    padding: 5px 20px !important;
}

#innernav li > ul li, #innernav li > ul li a {
    background: none !important;
}

#innernav li ul {
    padding: 0;
    margin: 10px 0 0;
}

#innernav li li a {
    background: none;
    color: #333 !important;
    padding: 10px 20px;
    font-size: 12px;
    width: auto;
    margin: 0 !important;
}

#innernav li li a:before {
    position: absolute;
    top: 3px;
    left: 25px;
    margin: 7px 0 0 -22px;
    vertical-align: middle;
    display: inline-block;
    width: 5px;
    height: 5px;
    border: 1px solid #333;
    content: "";
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

#innernav li li.on a:before {
    background: #00336A;
    border-color: #00336A !important;
}

#innernav li li a:hover:before {
    border-color: #888;
}

#innernav li li a:hover {
    color: #888 !important;
}

#innernav li li.on a, #innernav li li.on a:hover {
    color: #00336A !important;
}

#innernav li li ul {
    padding: 8px 0;
    margin: 0;
}

#innernav li li li {
    margin: 0 0 4px 34px;
    color: #444;
    border: 0;
}

#innernav li li li a, #innernav li li.on li a {
    background: none;
    color: #444;
    font-size: 13px;
    padding: 0;
    width: auto;
    font-weight: normal;
}

#innernav li li li.on {
    color: #27479E;
}

#innernav li li li.on a, #innernav li li li.on li.on a,
#innernav li li li.on li.on li.on a {
    color: #27479E;
    font-weight: bold;
}

#innernav li li li a:hover, #innernav li li li.on a:hover,
#innernav li li.on li a:hover, #innernav li li.on li.on a:hover {
    background: none;
    color: #27479E;
}

#innernav li li li.on:hover, #innernav li li li.on a:hover {
    color: #27479E;
}

#innernav li li li.on li a, #innernav li li li.on li.on li a {
    color: #444;
    font-weight: normal;
}

#innernav li li li li {
    margin: 0 0 0 20px;
    list-style: circle;
}

#innernav li li li li li {
    list-style: square;
}

#innernav li ul {
    display: none;
}

#innernav li.on > ul {
    display: block;
}

#content #sideBar p {
    margin: 10px 10px 0;
}

#content #mainBar {
    width: 735px;
}

.padme {
    padding: 0 30px 30px;
}

.membercentreSection .padme {
    padding: 30px;
}

#mainBar .pageTitle {
    display: block;
    color: #fff;
    font-size: 26px;
    background: url(../images/bg-page-title.gif) bottom left no-repeat;
    margin: 0 0 15px;
    padding: 25px 30px 35px;
    text-transform: uppercase;
}

#mainBar .recordDetail .pageTitle {
    display: none;
}

.bannerOverlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 245px;
    height: 175px;
    overflow: hidden;
}

.breadcrumb {
    display: none;
    font-size: .8em;
    margin: 0 0 1.8em;
}

/* 4. Foot
----------------------------------------------*/

#foot h3 {
    font-size: 16px;
    color: #fff;
    padding: 0;
}

#foot .col {
    float: left;
}

#foot .looking {
    width: 244px;
    padding: 20px 0 20px 30px;
}

.looking form {
    width: 244px;
    height: 35px;
    background: url(../images/bg-search-form.gif) no-repeat;
    margin: 0 0 15px;
}

.looking input {
    width: 110px;
    padding: 8px 5px 8px 35px;
    background: none;
    border: 0;
    color: #858594;
}

.looking button {
    float: right;
    width: 86px;
    height: 35px;
    background: none;
    margin: 0;
    padding: 0;
    text-indent: -999em;
}

#foot .state {
    width: 358px;
    padding: 20px 29px;
}

.state li {
    float: left;
    width: 150px;
}

#foot .siteinfo {
    width: 260px;
    padding: 20px 30px 20px 0;
}

.siteinfo .external {
    float: right;
    display: block;
    width: 76px;
    height: 26px;
    margin: 15px 0 10px;
    background: url(../images/ao-logo.png) no-repeat;
    text-indent: -999em;
}

#foot p {
    color: #fff;
}

#foot a {
    color: #afbc22;
    text-decoration: none;
}

#foot a:hover {
    text-decoration: underline;
}

#foot ul {
    float: left;
    margin: 0;
    padding: 0;
}

#foot li {
    margin: 0;
    padding: 0 0 15px 20px;
    background: url(../images/foot-arrow.png) 0 3px no-repeat;
    list-style: none;
}

#foot ul#socialNetworking {
    float: right;
    margin: 0;
}

#socialNetworking li {
    float: left;
    list-style: none;
    background: none;
    margin: 0 0 0 10px;
    padding: 0;
}

#socialNetworking li a {
    display: block;
    width: 32px;
    height: 32px;
    text-indent: -999em;
}

#socialNetworking li.linkFacebook a {
    background: url(../images/facebook-icon.png) no-repeat;
}

#socialNetworking li.linkLinkedIn a {
    background: url(../images/linkedin-icon.png) no-repeat;
}

#socialNetworking li.linkTwitter a {
    background: url(../images/twitter-icon.png) no-repeat;
}

#socialNetworking li.linkYouTube a
{
	background: url(../images/youtube-icon.png) no-repeat;
}


/* 5. General Styles
----------------------------------------------*/

.left {
    float: left;
}

.right {
    float: right;
}

img.imageRight {
    float: right;
    display: inline;
    margin: 0 0 10px 15px;
}

img.imageLeft {
    float: left;
    margin: 0 15px 10px 0;
}

.form-link {
    display: block;
    margin: 0 0 1em;
}

#TB_window {
    border: 4px solid #fff !important;
}

#TB_window #TB_title, #TB_window #TB_closeAjaxWindow {
    height: auto !important;
    padding: 0 !important;
    background: none !important;
    text-indent: -999em !important;
}

#TB_window #TB_closeWindowButton {
    display: block;
    width: 30px;
    height: 30px;
    background: url(../images/fancy_closebox.png) no-repeat 0 0;
    color: transparent;
    font-size: 0 !important;
    text-indent: -999em !important;
    cursor: pointer;
    position: absolute !important;
    top: -15px !important;
    right: -15px !important;
}

#TB_ajaxContent {
    padding: 25px !important;
}

#TB_ajaxContent h3 {
    margin: 0 !important;
    font-size: 20px !important;
}

#TB_ajaxContent p {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    font-family: "Open Sans", sans-serif !important;
    font-weight: bold !important;
}

#TB_window img#TB_Image {
    border: 0 !important;
}

.ui-jcoverflip {
    position: relative;
}

.ui-jcoverflip--item {
    position: absolute;
    display: block;
}
