/* Layout stylesheet
----------------------------------------------
    Name: Joshua Deidun
    Date: 20th May 2012
*/

/* 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: #085789;*/
}

.apaceSection {
    background: #fff;
}

.wrapper {
    position: relative;
    width: 980px;
    margin: 0 auto;
}

#head {
    float: left;
    position: relative;
    height: 178px;
    width: 980px;
    z-index: 99;
}

#grain {
    background: url(../images/bg-body.jpg) 0 0 repeat;
}

.wrapper #bgLight {
    z-index: 1;
    position: absolute;
    top: 0;
    left: -566px;
    height: 800px;
    width: 1520px;
    /*background: url(../images/bg-light.jpg) 0 0 no-repeat;*/
}

.apaceSection #bgLight {/*background: url(../images/apace-bg-light.jpg) 0 0 no-repeat;*/
}

#content {
    width: 980px;
    position: relative;
    z-index: 98;
    min-height: 785px;
    height: auto !important;
    height: 785px;
    margin: 0 auto;
    padding: 0 0 1em;
}

#foot {
    margin: 0 auto;
    height: 278px;
    background: url(../images/bg-footer.jpg) center bottom repeat-x;
}

/*
.apaceSection #foot {
    height: 269px;
    background: url(../images/apace-footer.jpg) center bottom repeat-x;
}
*/

/* 2. Head
----------------------------------------------*/

/* This area should include logo, search and main navigation */

div#head img#logo {
    position: absolute;
    top: 16px;
    left: 5px;
}

.apaceSection div#head img#logo {
    top: 36px;
    left: 0;
}

div#head h1 {
    float: left;
    margin: 12px 0px;
    padding: 0;
    background: none;
    font: bold 24px Arial, Helvetica, sans-serif;
    color: #005386;
    text-shadow: 0px 1px 3px #ffffff;
    position: relative;
    left: 0;
}

#minicart {
    float: left;
    margin: 5px 15px 0;
}

.apaceSection div#head h1 {
    float: left;
    display: block;
    margin: 20px 0 0;
    font: 600 18px Arial, Helvetica, sans-serif;
    color: #b91f25;
    width: 650px;
}

div#head #myAccountTopBar {
    position: absolute;
    top: 59px;
    left: 110px;
    color: #fff;
}

#myAccountTopBar strong {
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    display: block;
}

#myAccountTopBar a {
    color: #fff;
}

div#head form {
    position: absolute;
    bottom: 10px;
    right: 5px;
    width: 230px;
    height: 30px;
}

div#head form input {
    width: 180px;
    padding: 8px 15px 8px 35px;
    background: url(../images/bg-search.gif) 0 0 no-repeat;
    border: 0;
    color: #999;
    z-index: 98;
    margin: -130px 0 0 0;
    float: right;
}

#topMenu {
    float: right;
    height: 40px;
    width: 50%;
    margin: 5px 245px 0 0;
    /*border: 1px solid red; */
}

#topMenuLogin {
    color: #000;
}

#topMenu p {
    margin: 8px 0 0 0;
    color: #000;
}

#topMenu a {
    color: #000;
}

#topMenu a:hover {
    color: #10568c;
}

#topMenu #topMenuLinks {
    float: right;
    font-size: 13px;
    margin: 1px 25px 0 0;
}

#topMenu ul {
    list-style: none !important;
}

#topMenu ul li {
    display: inline;
    list-style: none !important;
    /* border-right: 1px solid #000; */
    padding: 0 10px;
}

#topMenu ul li:last-child {
    border-right: none;
    padding: 0 7px 0 7px;
}

#topMenu #topMenuLoginLink {
    float: left;
    /*border: 1px solid #ECECEC;*/
}

#joinNow {
    background-color: #D81A2A;
    color: #FFF;
    font-size: 20px;
    padding: 12px 8px 2px 8px;
    height: 30px;
    width: 204px;
    text-align: center;
    margin: 41px 0 0 0;
}

#joinNow a {
    color: #FFF;
}

#joinNow a:hover {
    color: #FFF;
}

.clear {
    clear: both;
}

#apace-navigation {
    float: right;
    width: 735px;
    height: 80px;
    background: url(../images/bg-header.jpg) 0 0 no-repeat;
    /*background: #10568c;*//*border: 6px solid #fff;*/
    margin: 0 0 0;
    -webkit-box-shadow: 0px 1px 3px 0px #455273;
       -moz-box-shadow: 0px 1px 3px 0px #455273;
            box-shadow: 0px 1px 3px 0px #455273;
    z-index: 99;
    /*border: 1px solid orange;*/
}

#apace-logo {
    position: absolute;
    top: 45px;
    left: 0;
    /*border: 1px solid orange;*/
}

#navigation {
    float: right;
    width: 980px;
    height: 80px;
    background: url(../images/bg-header.jpg) 0 0 no-repeat;
    /* 
    background: #10568c;
    border: 6px solid #fff;
    */
    margin: 0 0 0;
    -webkit-box-shadow: 0px 1px 3px 0px #455273;
       -moz-box-shadow: 0px 1px 3px 0px #455273;
            box-shadow: 0px 1px 3px 0px #455273;
    z-index: 99;
}

#loginMenuBtn {
    background-color: #d81a2a;
    padding: 29px 12px;
}

.apaceSection #navigation {
    width: 724px;
    height: 72px;
    background: url(../images/apace-nav-bg.gif) 0 0 no-repeat;
    border: 6px solid #9bc7e2;
}

/* --- main navigation */

ul.ddMenu {
    position: absolute;
    bottom: 52px;
    right: 0;
    margin: 0;
    padding: 0;
    z-index: 99;
}

.apaceSection ul.ddMenu {
    right: 0px;
    top: 45px;
    /*border: 1px solid orange;*/
}

ul.ddMenu li {
    float: left;
    position: relative;
    margin: 0;
    padding: 0 !important;
    list-style: none !important;
    height: 80px;
    z-index: 99;
}

ul.ddMenu li a {
    display: block;
    padding: 29px 12px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    z-index: 99;
}

.apaceSection ul.ddMenu li a {
    display: block;
    padding: 29px 12px;
    font-size: 14px;
    text-decoration: none;
    color: #fff;
    z-index: 99;
}

.apaceSection ul.ddMenu li.on a, .apaceSection ul.ddMenu li a:hover,
.apaceSection ul.ddMenu li:hover a, .apaceSection ul.ddMenu li.ddHover a {
    padding: 29px 12px;
}

.apaceSection ul.ddMenu li:hover a, .apaceSection ul.ddMenu li.ddHover a,
.apaceSection ul.ddMenu li a:hover, .apaceSection ul.ddMenu li.on a:hover,
.apaceSection ul.ddMenu li.on:hover a, .apaceSection ul.ddMenu li.ddHover.on a {
    background: #114767;
}

/* --- drop down navigation on states */

ul.ddMenu li:hover a, ul.ddMenu li.ddHover a, ul.ddMenu li a:hover,
ul.ddMenu li.on a:hover, ul.ddMenu li.on:hover a, ul.ddMenu li.ddHover.on a {
    background: #10568c;
}

ul.ddMenu li.on a, ul.ddMenu li a:hover, ul.ddMenu li:hover a,
ul.ddMenu li.ddHover a {
    padding: 29px 12px;
    /*background: #0d4571; This changes the background colour of the menus hover state *//*border-top: 5px solid #eb1c2e;*/
}

ul.ddMenu li ul {/*border-bottom: 5px solid #eb1c2e;*/
}

/* The below styles from lines 243 - 279 are no longer used */

ul.ddMenu li.ddHover:nth-child(2) a, ul.ddMenu li:nth-child(2):hover a,
ul.ddMenu li:nth-child(2) a:hover, ul.ddMenu li.on:nth-child(2) a,
ul.ddMenu li:nth-child(2) a:hover, ul.ddMenu li:nth-child(2) ul {
    border-color: #a048a3;
}

ul.ddMenu li.ddHover:nth-child(3) a, ul.ddMenu li:nth-child(3):hover a,
ul.ddMenu li:nth-child(3) a:hover, ul.ddMenu li.on:nth-child(3) a,
ul.ddMenu li:nth-child(3) a:hover, ul.ddMenu li:nth-child(3) ul {
    border-color: #fbed36;
}

ul.ddMenu li.ddHover:nth-child(4) a, ul.ddMenu li:nth-child(4):hover a,
ul.ddMenu li:nth-child(4) a:hover, ul.ddMenu li.on:nth-child(4) a,
ul.ddMenu li:nth-child(4) a:hover, ul.ddMenu li:nth-child(4) ul {
    border-color: #00b461;
}

ul.ddMenu li.ddHover:nth-child(5) a, ul.ddMenu li:nth-child(5):hover a,
ul.ddMenu li:nth-child(5) a:hover, ul.ddMenu li.on:nth-child(5) a,
ul.ddMenu li:nth-child(5) a:hover, ul.ddMenu li:nth-child(5) ul {
    border-color: #f6a33b;
}

ul.ddMenu li.ddHover:nth-child(6) a, ul.ddMenu li:nth-child(6):hover a,
ul.ddMenu li:nth-child(6) a:hover, ul.ddMenu li.on:nth-child(6) a,
ul.ddMenu li:nth-child(6) a:hover, ul.ddMenu li:nth-child(6) ul {
    border-color: #00bbd2;
}

ul.ddMenu li.ddHover:nth-child(7) a, ul.ddMenu li:nth-child(7):hover a,
ul.ddMenu li:nth-child(7) a:hover, ul.ddMenu li.on:nth-child(7) a,
ul.ddMenu li:nth-child(7) a:hover, ul.ddMenu li:nth-child(7) ul {
    border-color: #f27913;
}

/* --- drop down navigation */

ul.ddMenu ul {
    position: absolute;
    top: -999em;
    left: 0;
    width: 200px;
    height: auto;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 99;
}

ul.ddMenu li:hover ul, ul.ddMenu li.ddHover ul {
    top: 79px; /* input your own value, value in height of the main menu, your dropdown is attached to */
    left: 0;
    z-index: 99;
}

ul.ddMenu li li:hover ul, ul.ddMenu li li.ddHover ul {
    top: 0;
    left: 200px; /* input your own value */
}

ul.ddMenu li li {
    width: 200px; /* input your own value */
    height: auto;
    margin: 0 !important;
    background: #10568c; /* input your own value */
}

ul.ddMenu li li a, ul.ddMenu li li.ddHover a {
    float: none !important;
    display: block;
    height: auto;
    padding: 8px 15px !important; /* input your own value */
    font-size: 13px !important; /* input your own value */
    background: #10568c !important; /* input your own value */
    border: 0 !important;
}

ul.ddMenu li li a:hover, ul.ddMenu li li.ddHover a:hover {
    background: #00679d !important;
    padding: 8px 15px !important;
    border: 0 !important;
}

/* 3. Content
----------------------------------------------*/

.landing h2 {
    font-size: 19px;
    text-transform: uppercase;
}

#homeBanner {
    position: relative;
    float: left;
    width: 980px;
    height: 240px;
}

#bannerOverlay1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 281px;
    height: 224px;
    background: url(../images/banner-overlay-1.png) 0 0 no-repeat;
    z-index: 98;
}

#bannerOverlay2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 304px;
    height: 224px;
    background: url(../images/banner-overlay-2.png) 0 0 no-repeat;
    z-index: 98;
}

#bannerOverlay3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 964px;
    height: 16px;
    background: url(../images/banner-overlay-3.png) 0 0 no-repeat;
    z-index: 98;
}

.landing h2 {
    font-weight: normal;
    color: #ffd83f;
    background: none;
    margin: 0;
    padding: 0;
}

.landing .col {
    position: relative;
    float: left;
    padding: 25px 30px;
    width: 190px;
    z-index: 99;
    color: #fff;
}

#homeBanner a {
    color: #fff;
}

.landing .editableboxes {
    float: left;
    width: 650px;
}

.landing .editbox1, .landing .editbox2 {
    color: #333;
}

.landing .col.welcome {
    padding: 25px 10px 10px 30px;
}

.welcome p {
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.6em;
}

#homeBanner .banner {
    float: left;
    width: 502px;
    height: 224px;
    padding: 0;
    overflow: hidden;
    z-index: 1 !important;
}

#memberBanner .login {
    float: right;
}

#memberBanner .login a {
    color: #fff;
}

.landing .login {
    padding: 20px 10px !important;
}

.login h3 {
    color: #fff;
    font-weight: normal;
    margin: 15px 0 0;
    padding: 0;
    background: none;
}

.login ul li {
    list-style: disc;
    font-size: 14px;
}

.col.login {
    width: 208px;
}

#memberBanner .col.login.loggedin {
    width: 298px;
}

.col.login p {
    margin-bottom: 0;
    padding-bottom: 0;
}

.col.login ol {
    margin: 20px 0 0;
}

.col.login ol li {
    margin: 0 0 10px;
}

.login input {
    width: 197px;
    padding: 5px;
}

.login button, .loginTemplate #login button {
    float: right;
    width: 118px;
    height: 40px;
    background: url(../images/btn-login.gif) 0 0 no-repeat;
    display: block;
    text-indent: -999em;
    -webkit-box-shadow: 1px 2px 5px 0 #333;
       -moz-box-shadow: 1px 2px 5px 0 #333;
            box-shadow: 1px 2px 5px 0 #333;
}

.loginTemplate #login button {
    float: left;
}

.login p#forgottenPassword {
    float: left;
    width: 50px;
    margin: 10px 0;
}

.loginTemplate .form {
    width: 340px;
}

.loginTemplate #login input {
    width: 250px;
}

.loginTemplate p#forgottenPassword {/*
    float: right;
    width: 150px;
    */
    margin: 10px 0 0;
    padding-top: 60px;
}

.loginTemplate ol {
    margin: 20px 0 0;
}

.loginTemplate ol li {
    margin: 0 0 15px;
}

#homeBanner .banner ul, #homeBanner .banner li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.banner li {
    list-style-image: none;
    background: none;
}

#actionButtons {
    float: left;
    width: 996px;
    margin: 15px 0 25px;
}

#actionButtons ul {
    margin: 0;
    padding: 0;
}

#actionButtons ul li, #actionButtons ul li a {
    float: left;
    display: block;
    margin: 0;
    padding: 0;
}

#actionButtons ul li {
    margin: 0 19px 0 0;
    padding: 0;
    background: url(../images/bg-action-button.gif) 0 0 repeat-x;
    height: 67px;
    width: 230px;
    -webkit-box-shadow: 1px 1px 5px 0px #455273;
       -moz-box-shadow: 1px 1px 5px 0px #455273;
            box-shadow: 1px 1px 5px 0px #455273;
}

#actionButtons ul li a {
    background: url(../images/blue-arrow-big.png) 11px 8px no-repeat;
    height: 67px;
    width: 170px;
    padding: 0 15px 0 45px;
    text-decoration: none;
}

#actionButtons li.yellowDot a {
    background: url(../images/yellow-arrow-big.png) 11px 8px no-repeat;
}

#actionButtons li.redDot a {
    background: url(../images/red-arrow-big.png) 11px 8px no-repeat;
}

#actionButtons h3 {
    text-transform: uppercase;
    margin: 15px 0 0;
    padding: 0;
    background: none;
    font-size: 19px;
    line-height: 15px;
    color: #005285;
}

#actionButtons p {
    float: left;
    font-size: 14px;
    margin: 8px 0;
    padding: 0;
    line-height: 18px;
    color: #005285;
}

#actionButtons .buttonWithImage img {
    float: right;
    vertical-align: middle;
    max-width: 75px;
    width: auto !important;
    width: 75px;
    margin: 15px 0 0 10px;
    vertical-align: middle;
}

#actionButtons .buttonWithImage p {
    width: 85px;
}

#homeContent #top {
    float: left;
    background: url(../images/bg-dots.gif) 490px 0 repeat-y;
}

#memberContent #top {
    float: left;
    background: url(../images/bg-2-col.png) 323px 0 repeat-y;
}

#homeContent .col, #memberContent .col {
    float: left;
    width: 450px;
    padding: 5px 20px 0;
}

#memberContent .col {
    width: 285px;
}

#memberContent .memberNav {
    width: 305px;
    padding: 0 20px 0 0;
}

.memberNav #sideNav {
    width: 245px;
    border-top: 5px solid #01629f;
}

#homeContent .col h2, #memberContent .col h2 {
    text-shadow: 0px 1px 3px #ffffff;
    font-weight: bold;
    margin: 0;
    padding: 0;
    background: none;
}

#homeContent .col h2 a, #memberContent .col h2 a {
    color: #93928a;
}

#homeContent .col h3, #memberContent .col h3 {
    font-weight: bold;
    margin: 0;
    padding: 0;
    background: none;
}

#homeContent .col ul, #memberContent .col ul {
    margin: 0;
    padding: 0;
}

#homeContent .events ul li.list a, #memberContent .events ul li.list a {
    display: block;
    background: url(../images/red-arrow-big.png) 0 0 no-repeat;
}

#memberBanner {
    float: left;
    position: relative;
    width: 980px;
    height: 240px;
    margin: 0 0 20px;
    background: url(../images/banner-shadow.png) bottom left no-repeat;
}

.nswhomeSection #memberBanner {
    background: none;
}

#memberBanner .welcome {
    width: 300px;
}

#memberBanner .welcome p {
    font-size: 13px;
}

#memberBanner .welcome h2 {
    font-size: 28px;
    text-shadow: 0px 1px 3px #00436e;
    text-transform: none;
    margin: 0 0 20px;
}

#memberBanner ul.banner {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 1;
}

#memberBanner ul.banner li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#memberBanner #bannerText {
    position: relative;
    z-index: 1;
}

#memberBanner #bannerText h2.title {
    position: absolute;
    top: 96px;
    left: 168px;
    font-size: 24px;
    text-transform: none;
    text-shadow: 0px 1px 3px #000;
}

#logoutButton {
    display: block;
    text-indent: -999em;
    width: 134px;
    height: 40px;
    background: url(../images/btn-logout.gif) 0 0 no-repeat;
    -webkit-box-shadow: 1px 2px 5px 0 #333;
       -moz-box-shadow: 1px 2px 5px 0 #333;
            box-shadow: 1px 2px 5px 0 #333;
}

.events .small {
    float: left;
    display: inline-block;
    color: #10558C;
    padding: 0 0 0 40px;
}

.events .state {
    float: left;
    display: inline-block;
    color: #fff;
    text-transform: uppercase;
    background: #bcbaba;
    margin: 0 5px;
    padding: 0 2px;
    -webkit-box-shadow: 1px 2px 5px 0 #fff;
       -moz-box-shadow: 1px 2px 5px 0 #fff;
            box-shadow: 1px 2px 5px 0 #fff;
}

.eventsSection ul {
    padding-left: 0;
}

.eventsSection #mainBar .padme ul li {
    border-bottom: 1px solid #e8e8e8;
    padding: 20px 0;
}

.eventsSection .branches ul li {
    border-bottom: none;
}

.eventList .left {
    width: 200px;
}

.eventList .right {
    width: calc(100% - 240px);
}

#top ul li.list {
    list-style-image: none !important;
    list-style-type: none;
    margin: 0;
    padding: 15px 0;
    /* background: url(../images/dots.png) bottom left repeat-x !important; */
}

#top li:last-child {
    background: none;
}

#top ul li.list a {
    display: block;
    padding: 5px 0 5px 40px;
    background: url(../images/yellow-arrow-big.png) 0 0 no-repeat;
}

#bottom {
    float: left;
    padding: 15px 0;
}

#memberContent #bottom {
    float: right;
    margin: 0 5px;
}

#bottom .col li {
    float: left;
    width: 200px;
    margin: 0;
    padding: 0;
}

.col li.rss, .col li.view {
    padding: 0;
}

#memberContent .col li.rss {
    margin: 10px 0;
}

.col li.rss a, .col li.view a {
    float: left;
    font-weight: bold;
    font-size: 13px;
    padding: 2px 0 3px 35px;
    text-transform: uppercase;
    background: url(../images/blue-arrow-small.png) 0 0 no-repeat;
}

.col li.rss a {
    color: #93928a;
    background: url(../images/rss-icon.gif) 2px 3px no-repeat;
}

#content #sideBar {
    float: left;
    width: 215px;
}

.apaceSection #sideBar {
    margin: 4px 0 0;
}

#sideBanner, #sideBanner li, #sideBanner li a {
    float: left;
    display: block;
    margin: 15px 0 60px;
    padding: 0;
    list-style: none;
    list-style-image: none;
    line-height: 0;
    height: 147px;
}

h2#sectionTitle {
    float: left;
    width: 220px;
    height: 65px;
    display: block;
    margin: 0;
    padding: 0;
    background: url(../images/bg-section-title.png) 0 0 no-repeat;
    color: #fff;
    text-transform: uppercase;
    font: 16px/20px Georgia, Arial, Helvetica, sans-serif;
}

.apaceSection h2#sectionTitle {
    font: 600 14px/20px "Open Sans", sans-serif;
    background: url(../images/apace-section-title.png) 0 0 no-repeat;
}

h2#sectionTitle a {
    padding: 15px 20px;
    display: block;
    text-decoration: none;
    color: #fff;
}

#content #sideNav {
    float: left;
    margin: 15px 0 0 0;
    padding: 0;
    background: #ECECEC;
}

#content #sideNav li {
    list-style: none;
    list-style-image: none;
    margin: 0;
    padding: 0;
}

/*#content #sideNav li ul {
    float: left;
    margin: 0 0 10px;
    padding: 5px 0;
    background: #10568c;
    position: relative;
    top: -1px;
}*/

#content #sideNav li ul li {
    float: left;
    margin: -10px 0  10px -21px;
    padding: -5px 0;
    background: #FFF;
    /* background: url(../images/nav-dots.gif) bottom left repeat-x; */
    position: relative;
}

.apaceSection  #content #sideNav li ul, .apaceSection  #content #sideNav li.on a {
    background-color: #ba1f25;
}

#content #sideNav li a {
    display: block;
    width: 150px;
    padding: 10px 50px 10px 20px;
    /* background: url(../images/nav-dots.gif) bottom left repeat-x; */
    color: #10568c;
    text-decoration: none;
}

#content #sideNav li:last-child a {
    background: none;
}

#content #sideNav li a:hover {
    color: #10568c;
}

#content #sideNav li.on li a:hover, #content #sideNav li.on li.on a {
    color: #ffd83f;
}

#content #sideNav li.on a, #content #sideNav.membership li a,
#content #sideNav.eventsMenu li a.view-by-date, #content #sideNav.cart li a,
.abstractsSection #content #sideNav .addapaper {
    background: #10568c url(../images/nav-arrow.png) 195px center no-repeat;
    color: #fff;
    position: relative;
    top: -1px;
}

#content .memberNav #sideNav li.on a {/* background: url(../images/nav-dots.gif) bottom left repeat-x; */
    color: #10568c;
}

#content #sideNav li.on li a, #content #sideNav.membership li li a,
#content #sideNav.eventsMenu li li a.view-by-date,
#content #sideNav.cart li li a {
    width: 180px;
    margin: 0;
    padding: 0px 20px 10px 20px;
    color: #fff;
    font-size: 12px;
    background-image: none;
}

#content #mainBar {
    width: 735px;
    margin: 0;
}

h1.recordTitle {
    width: 685px;
    height: 30px;
    margin: 0 0 15px;
    padding: 25px 30px 0px;
    display: block;
    font-size: 28px;
    /*
    color: #ffd83f;
    text-shadow: 0px 1px 3px #00436e;
    background: url(../images/record-title.png) 0 0 no-repeat;
    */
}

.apaceSection h1.recordTitle {
    color: #10558c;
    /*
    color: #fff;
    height: 40px;
    background: url(../images/apace-record-title.png) 0 0 no-repeat;
    */
}

.padme {
    padding: 0 20px 0 30px;
}

.breadcrumb {
    display: none;
    font-size: .8em;
    margin: 0 0 1.8em;
}

/* 4. Foot
----------------------------------------------*/

#foot .col {
    float: left;
    display: inline;
    width: 245px;
    padding: 30px 0 0;
}

#foot ul, #foot li {
    margin: 0;
    padding: 0;
    list-style: none;
    /*display: inline;*/
}

#foot h2 {/*color: #bcbaba;*/
    color: #ffcd06;
    font-size: 18px;
    margin: 0 0 15px;
    padding: 0;
    background: none;
    text-transform: uppercase;
}

#foot .branches, #foot .unicourses {
    color: #fff;
}

.apaceSection #foot h2 {
    color: #ffcd06;
    font-family: "Open Sans", sans-serif;
}

#foot p {
    margin: 0 0 .4em;
    font-size: 1em;
    line-height: 1.7em;
    color: #fff;
}

#foot p a {
    text-decoration: none;
}

#foot p a:hover {
    text-decoration: underline;
}

#foot .nopad {
    padding: 0;
}

#foot a {
    color: #fff;
}

.partners {
    float: left;
}

#partnersSlider li {
    float: left;
    margin: 0;
    padding: 0;
}

#partnersSlider li a {
    display: block;
}

#partnersSlider li iframe {
    display: none;
}

#partnersSliderWrap {
    position: relative;
    left: -15px;
    width: 240px;
    height: 120px;
    display: block;
    clear: both;
    overflow: hidden;
    padding: 0 15px;
}

#partnersSlider {
    position: relative;
    display: block;
    width: 240px;
    height: 120px;
    -webkit-box-shadow: 1px 2px 5px 0 #333;
       -moz-box-shadow: 1px 2px 5px 0 #333;
            box-shadow: 1px 2px 5px 0 #333;
}

#partnersSlider li {
    float: left;
    display: block;
    margin: 0;
    padding: 0 20px 0 30px;
    list-style: none;
    width: 240px;
    height: 120px;
    background-color: #FFF;
}

#partnersSlider li a {
    float: left;
    display: block;
    width: 240px;
    height: 120px;
    margin: 0;
    padding: 10px 20px 0 0;
}

#partnersSlider iframe {
    display: none;
}

.slidernav {/*position: absolute;
    top: 35px;
    display: block;
    width: 28px;
    height: 30px;
    background: url("../images/red-arrow-big.png") 0 0 no-repeat;
    text-indent: -999em;
    z-index: 99;
    cursor: pointer;*/
    display: none;
}

.prev {
    left: 0;
    background: url("../images/red-arrow-left.png") 0 0 no-repeat;
}

.next {
    right: 0;
}

#foot ul.links_list li a {
    padding: 2px 0 2px 30px;
    margin: 3px 0;
    font-weight: bold;
    font-size: 14px;
    color: #ffcd06;
    background: url(../images/yellow-arrow-small.png) 0 0 no-repeat;
}

.apaceSection #foot ul.links_list li a {
    color: #fff;
    font-weight: normal;
    background: url(../images/apace-red-arrow.png) 0 2px no-repeat;
}

.branches {
    margin: 0 0 0 50px;
    float: left;
}

.branches img {
    margin: 0 10px 10px;
    vertical-align: middle;
}

.branches ul li, .unicourses ul li {
    display: block;
    float: left;
    color: #FFFFFF;
    float: left;
    display: block;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 10px 20px 0 0;
}

.branchForm {
    height: 40px;
    width: 207px;
    background: url(../images/bg-branch-search.png) 0 0 no-repeat;
}

.apaceSection .branchForm {
    background: url(../images/apace-branch-search.png) 0 0 no-repeat;
}

.branchForm input {
    float: right;
    width: 79px;
    height: 40px;
    display: inline-block;
    border: 0;
    background: none;
    -webkit-box-shadow: 1px 2px 5px 0 #333;
       -moz-box-shadow: 1px 2px 5px 0 #333;
            box-shadow: 1px 2px 5px 0 #333;
    text-indent: -999em;
    margin: 0;
    padding: 0;
    text-transform: capitalize;
}

.branchForm input:hover {
    background: none;
}

.branchForm .stateSelect {
    float: left;
    width: 126px;
    height: 40px;
    overflow: hidden;
    background: none;
}

.branchForm select {
    font-size: 14px;
    color: #5d5d5d;
    width: 155px;
    height: 40px;
    background: none !important;
    border: 0;
    padding: 10px !important;
    cursor: pointer;
    -webkit-appearance: none;
}

.branchForm select option {
    padding: 5px 10px;
}

.connect {
    margin: 30px 0 0 0;
    float: right;
}

.connect ul {
    display: block;
    margin: 0 0 15px !important;
}

.connect li a {
    float: left;
    display: block;
    width: 25%;
    margin: 0 8px 0 0;
    text-indent: -999em;
    -webkit-box-shadow: 1px 2px 5px 0 #333;
       -moz-box-shadow: 1px 2px 5px 0 #333;
            box-shadow: 1px 2px 5px 0 #333;
}

.connectFacebook a {
    margin: 1px 8px 0 0 !important;
    width: 39px;
    height: 39px;
    background: url(../images/facebook-icon.png) 0 0 no-repeat;
}

.connectLinkedIn a {
    margin: 1px 8px 0 0 !important;
    width: 39px;
    height: 39px;
    background: url(../images/linkedin-icon.png) 0 0 no-repeat;
}

.connectTwitter a {
    width: 42px;
    height: 42px;
    background: url(../images/twitter-icon.png) 0 0 no-repeat;
}

.connectRSS a {
    width: 42px;
    height: 42px;
    background: url(../images/rss-icon-big.png) 0 0 no-repeat;
}

.copyright {
    display: block;
    text-align: right;
    width: 185px;
    float: right;
}

.copyright img {
    float: right;
    margin: 10px 0;
    display: block;
}

#foot a.contactLink {
    font-size: 16px;
    color: #FFCD06;
    display: block;
    margin: 0 0 -10px 0;
}

/* 5. General Styles
----------------------------------------------*/

.left {
    float: left;
}

.right {
    float: right;
}

img.imageRight {
    float: right;
    margin: 0 15px 10px 0;
    padding: 5px;
    border: 1px solid #ddd;
    -moz-box-shadow: 0 3px 3px #DDDDDD;
}

img.imageLeft {
    float: left;
    margin: 0 20px 10px 0;
            box-shadow: 0 7px 5px #b8b7b0;
    -webkit-box-shadow: 0 7px 5px #b8b7b0;
       -moz-box-shadow: 0 7px 5px #b8b7b0;
}

.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: Arial, Helvetica, sans-serif !important;
    font-weight: bold !important;
}

#TB_window img#TB_Image {
    border: 0 !important;
}
