/* Layout stylesheet
----------------------------------------------
    Name: Firstname Lastname
    Date: Day Month Year
*/

/* Index
----------------------------------------------
    1. Layout
    2. Head
    3. Content
    4. Foot
    5. General Styles
*/

/* 1. Layout
----------------------------------------------*/

body {
    padding: 0;
    min-width: 272px;
}

/* 2. Head
----------------------------------------------*/

#header1 {
    background: url(../images/aacb-header1bg.png) no-repeat center top #006baa;
    padding: 10px 0;
}

.branchhomelayout #header1, .branchlayout #header1 {
    background: url(../images/aacb-header1bg-c6332d.png) no-repeat center top #c6332d;
    padding: 10px 0;
}

#header1 form {
    float: right;
}

#header1 form label {
    color: #fff;
    margin-right: 10px;
    font-size: 14px;
}

#header1 form input {
    border: 0;
    background: url(../images/aacb-headersearchbg.png);
    padding: 5px 4px 5px 30px;
    width: 211px;
}

.branchhomelayout #header1 form input, .branchlayout #header1 form input {
    background: url(../images/aacb-headersearchbg2.png);
}

#header2 {
    border-bottom: 1px solid #006baa;
    z-index: 101;
}

#logo {
    display: block;
    margin: 0 0 5px;
    width: 235px;
}

.loginpage #header2 {
    border: none;
}

/* --- top navigation */

ul#topNav {
    margin: 30px 0 35px;
    padding: 0;
    text-transform: lowercase;
    background: none;
    width: auto;
    float: right;
}

ul#topNav li {
    float: right;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul#topNav li a {
    font-size: 14px;
    margin: 0 0 0 4px;
    text-decoration: none;
}

ul#topNav li.on a {
    color: #C6332D;
}

/* --- main navigation */

#mainNav {
    margin: 0;
    padding: 0;
    text-transform: lowercase;
    z-index: 101;
    background: none;
    width: auto;
    float: right;
}

ul.ddMenu li {
    float: right;
    position: relative;
    margin: 0 0 0 30px;
    padding: 0 !important;
    list-style: none !important;
    z-index: 101;
}

ul.ddMenu > li:last-child {
    margin: 0 0 0 10px;
}

.branchlayout ul.ddMenu li, .branchhomelayout ul.ddMenu li {
    float: left;
}

ul.ddMenu li a {
    display: block;
    padding: 8px 0;
    font-size: 16px;
    color: #C6332D;
    height: 28px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 0 3px 0;
    text-transform: lowercase;
}

ul.ddMenu li.on a {
    border-color: #8fccef;
    color: #006BAA;
}

ul.ddMenu li a:hover, ul.ddMenu li.on a:hover {
    color: #006BAA;
    text-decoration: none;
    border-color: #006BAA;
}

/* --- drop down navigation */

ul.ddMenu ul {
    display: none;
    padding: 0;
    position: absolute;
    width: 200px;
    right: 0;
    top: 47px;
    z-index: 101;
    background: #cce1ee;
    border-top: 1px solid #006baa;
    border-right: 3px solid #8FCCEF;
}

ul.ddMenu ul li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 0;
    height: auto;
    border-bottom: 1px solid #e5f0f6;
    list-style-image: none;
}

ul.ddMenu ul li:last-child {
    border-bottom: none;
}

ul.ddMenu ul li a {
    padding: 6px 20px;
    height: auto;
    font-size: 13px;
    text-align: right;
    border: 0;
    text-transform: none;
}

ul.ddMenu ul li a:hover {
    background: #8fccef;
}

ul.ddMenu ul ul {
    right: 200px;
    top: 0;
    border-top: 0;
}

/* 3. Content
----------------------------------------------*/

#bluebar {
    background: url(../images/aacb-watermark-e5f0f6.png) no-repeat center top #e5f0f6;
    padding: 20px 0;
    position: relative;
}

.nothome #bluebar {
    background-position: center 75px;
    padding: 10px 0 20px;
    min-height: 400px;
}

.nothome.branchhomelayout #bluebar {
    background-position: center top;
    padding: 20px 0;
    min-height: inherit;
}

.nothome.loginpage #bluebar {
    min-height: inherit;
    border-top: 1px solid #006BAA;
}

#whitespace {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    background: #fff;
    z-index: 2;
}

.section52ndasc #whitespace, .section52ndascabs #whitespace,
.conferenceModule #whitespace {
    height: 90px;
}

.section52ndasc #sideBar .button, .section52ndascabs #sideBar .button,
.conferenceModule #sideBar .button {
    margin: 25px 0 0;
}

.section52ndasc .padmemore, .section52ndascabs .padmemore,
.conferenceModule .padmemore {
    padding: 15px 40px 0;
}

#content {
    z-index: 2;
}

/* --- homepage */

.welcome p {
    font-size: 13px;
    line-height: 21px;
}

.welcome h1, .welcome h1:first-child {
    background: none;
    padding: 0;
    right: auto;
}

.welcome h1, .news h2, .events h2 {
    color: #C6332D;
    font-size: 22px;
    margin: 0 0 10px;
    line-height: 25px;
}

.homeSection h2, .homeSection h3, .homeSection h4, .homeSection h5,
.homeSection h6, .branchhomelayout h2, .branchhomelayout h3,
.branchhomelayout h4, .branchhomelayout h5, .branchhomelayout h6, #footer h4 {
    border: 0;
}

.news ul#newsfrontlist, .events ul#eventsfrontlist, form ol {
    padding: 0;
    background: none;
}

.news h2 a, .events h2 a {
    color: #C6332D;
}

.news h2 a:hover, .events h2 a:hover {
    color: #E93931;
}

#newsfrontlist, #eventsfrontlist, #newsfrontlist li.clearfix,
#eventsfrontlist li.clearfix {
    padding: 0;
}

#newsfrontlist h3, #eventsfrontlist h3 {
    margin-bottom: 0;
}

#eventsfrontlist .small {
    color: #C6332D;
}

#eventsfrontlist img {
    display: none;
}

#eventsfrontlist p {
    margin-top: 0;
}

/* --- Banner */

ul#banner {
    position: relative;
    overflow: hidden;
    margin: 14px auto;
    padding: 0;
    background: none;
}

.branchhomelayout ul#banner {
}

ul#banner li {
    list-style: none;
    padding: 0;
}

ul#banner li img {
    display: block;
    width: 100%;
}

.branchhomelayout ul#banner li {
    float: left;
    margin: 0 14px 0 0;
}

ul#banner #bannerNav {
    padding: 0;
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    list-style: none;
}

ul#banner #bannerNav a {
    display: inline-block;
    margin: 0 0 0 5px;
    padding: 2px 10px;
    background: #8FCCEF;
            border-radius: 2px;
       -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    color: #fff;
    font-size: 1.1em;
    text-decoration: none;
}

ul#banner #bannerNav a:hover, ul#banner #bannerNav a.activeSlide {
    background: #fff;
    color: #006BAA;
}

ul#confBanner {
    margin: 0;
    padding: 0;
}

ul#confBanner li {
    list-style: none;
    padding: 0;
}

h2#branchtitle {
    position: absolute;
    top: 104px;
    left: 250px;
    width: 236px;
    text-align: center;
    font-size: 25px;
    color: #fff;
}

#myAccountSideBar {
    background: url(../images/aacb-homeloginboxbg.png) no-repeat;
    margin: 14px 0;
    float: right;
    width: 23.6%;
    height: 329px;
    overflow-y: hidden;
    color: #fff;
}

.branchhomelayout #myAccountSideBar {
    height: 157px;
}

#myAccountSideBar ul {
    background: none;
}

.branchhomelayout #myAccountSideBar ul {
    display: none;
}

#myAccountSideBar form {
    width: auto;
}

#myAccountSideBar a {
    color: #8fccef;
    display: inline-block;
    margin: 3px 0 0;
}

#myAccountSideBar a:hover, #myAccountSideBar h2 {
    color: #fff;
}

#myAccountSideBar label {
    display: none;
}

#myAccountSideBar input {
    border: 0;
    padding: 10px 6px;
    margin: 0 0 15px;
    max-width: none;
}

.branchhomelayout #myAccountSideBar input {
    padding: 4px;
}

#myAccountSideBar button {
    float: right;
    margin: 0;
}

#myAccountSideBar .calltoact {
    background: url(../images/aacb-subnavbg.png) no-repeat;
    background-position: right -400px top 50%;
    display: block;
    width: 86%;
    padding: 10px 5%;
    color: #006baa;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 15px;
}

#myAccountSideBar .calltoact:hover {
    color: #c6332d;
    text-decoration: none;
}

/* --- inner pages */

#mainBar {
    float: right;
}

.breadcrumb {
    display: none;
    font-size: .8em;
    margin: 0 0 1.8em;
}

#innernav {
    margin: 0 0 20px;
    padding: 0 !important;
    width: 96%;
    background: none !important;
}

#innernav, #innernav ul {
    padding: 0;
    background: none;
    list-style: none;
}

#innernav li {
    padding: 0;
    list-style: none;
    list-style-image: none;
}

#innernav li a {
    display: block;
    background: #c6332d;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    padding: 19px 0 0 5%;
    height: 37px;
    margin: 0 0 9px;
}

#innernav a.categoryimage {
    padding: 7px;
    margin: 0 0 10px;
    height: auto;
    width: auto;
    background: #006baa;
}

#innernav a.categoryimage:hover {
    background: #007fba;
}

#innernav a.categoryimage img {
    display: block;
    width: 221px;
}

#innernav li a:hover {
    background: #E93931;
}

#innernav ul ul {
    width: auto;
}

#innernav li li a {
    background: none;
    color: #006baa;
    font-size: 14px;
    padding: 10px 0 10px 5%;
    height: auto;
    width: 95%;
    max-width: 360px;
    margin: 0 !important;
}

#innernav li li.on a {
    background: url(../images/aacb-subnavbg.png) right 50%;
    color: #fff;
}

#innernav li li a:hover, #innernav li li.on a:hover {
    background: url(../images/aacb-subnavbg.png) left 50%;
    color: #006baa;
}

#innernav li li li {
    list-style: disc;
    margin: 0 0 0 34px;
    color: #006baa;
}

#innernav li li li a, #innernav li li.on li a {
    background: none;
    color: #006baa;
    font-size: 12px;
    padding: 5px 0;
    width: auto;
}

#innernav li li li.on {
    color: #C6332D;
}

#innernav li li li.on a {
    background: none;
    color: #C6332D;
}

#innernav li li li a:hover, #innernav li li li.on a:hover,
#innernav li li.on li a:hover {
    background: none;
    color: #8fccef;
}

#innernav li li li.on:hover, #innernav li li li.on a:hover {
    color: #E93931;
}

#innernav li li li li {
    margin: 0 0 0 20px;
    list-style: circle;
}

#innernav li li li li li {
    list-style: square;
}

h1:first-child, h1.pageTitle {
    width: 100%;
    position: relative;
    right: 40px;
}

.loginpage #mainBar label {
    display: block;
}

/* --- my memberships */

#myMembershipDetai {
    margin-top: 20px;
}

#membershipDetailData ol {
    padding-top: 15px;
    padding-left: 15px;
}

#membershipDetailData label {
    font-weight: 600;
}

.row-membership {
    width: 35%;
}

.row-status {
    width: 25%;
}

/* 4. Foot
----------------------------------------------*/

#footer p {
    margin: 0;
    color: #006baa;
    line-height: 22px;
}

#footer .grid_9 p a {
    display: inline-block;
    margin: 0 5px;
}

#footericons p {
    float: right;
}

#aolink {
    background: url(../images/aacb-aologo.png) 0 0;
    display: block;
    width: 97px;
    height: 33px;
    margin: 0 20px 0 0;
    position: relative;
    bottom: 5px;
}

#aolink:hover {
    background-position: 0 -33px;
}

#aolink span {
    display: none;
}

#affiliations {
    margin: 0 0 40px;
    overflow: hidden;
    height: 100px;
    width: 100% !important;
}

#affiliations ul {
    padding: 0;
}

#affiliations li {
    display: inline-block;
    float: left;
    padding: 0;
    list-style: none;
    margin: 0 24px 0 0;
    height: 90px !important;
    width: 175px !important;
}

#affiliations a {
    display: block;
}

#affiliations a img {
    display: block;
    height: 90px !important;
    width: auto !important;
}

/* 5. General Styles
----------------------------------------------*/

.left {
    float: left;
}

.right {
    float: right;
}

img.imageRight {
    float: right;
    display: inline;
    margin: 0 0 10px 15px;
    padding: 5px;
    border: 1px solid #ddd;
    -moz-box-shadow: 0 3px 3px #DDDDDD;
}

img.imageLeft {
    float: left;
    margin: 0 15px 10px 0;
    padding: 5px;
    border: 1px solid #ddd;
    -moz-box-shadow: 0 3px 3px #DDDDDD;
}

.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', Arial, Helvetica, sans-serif !important;
    font-weight: bold !important;
}

#TB_window img#TB_Image {
    border: 0 !important;
}

.ui-widget-content, .ui-widget-header {
    border: 0;
    background: none;
}

ui-state-active, .ui-widget-content .ui-state-active {
    background: #c6332d;
}
