
/* ===========================================
(c) 2010-2011 Queen's Accounting Association
Theme by Siyuan Tang
==============================================*/

/* ========== Generic ============*/
* {
    font-family: Arial,Helvetica,sans-serif;
    font-size:11pt;
    color:#222;
}
html, body, div, p, table, tr, td, h1, h2, h3 {
    margin:0;
    border:0;
    padding:0;
}
table, tr, td {
    border-collapse:collapse;
}

body, html {
    background-color:#ccc;
}
body {
    height:100%;
}
a, a:active, a:hover {
    color:#640000;
}
a:visited {
    color:#646464;
}

/* ========= Outer Divs ===========*/
#main, #footer, #nav, #header {
    width:950px;
    text-align:left;
    margin-left:auto;
    margin-right:auto;
}
#pagewrapper{
    width:100%;
    height:100%;
    border-collapse:collapse;
}
#top, #middle, #bot {
    width:100%;
}
#top {
    height:150px;
    overflow:visible;
}
#middle, #bot {
    text-align:center;
    background-color:#ccc;
}
#middle {
   height:100%;
   background-image:url("/imgs/bg_navshadow.png");
   background-repeat:repeat-x;
}
#bot{
    height:75px;
}
/* ========== Header =========== */
#header {
    height:100px;
    overflow:visible;
}
#headerwrapper {
    height:100px;
    background-color:black;
    background-image:url("/imgs/bg_headertop.png");
    background-repeat:repeat-x;
}
#header_logowrapper {
    width:306px;
    height:80px;/* keep this in... its important for some reason */
    padding-top:20px;
    float:left;
}
#header_logo {
    height:110px;
   /* background-color:#ddd;
    background-color:white;*/
    background-image:url("/imgs/bg_sidebar_top.png");
    background-repeat:no-repeat;
    width:250px;
    padding:20px 26px 0 30px;
    position:relative;
    z-index:5;
}
#header_logoimg {
    display:block;
    background-image:url("/imgs/logo_qaa_med_80.png");
    height:80px;
    width:130px;
    padding-left:120px;
    background-repeat:no-repeat;
    font-size:18pt;
    color:#640000;
    overflow:hidden;
    text-decoration:none;
}
/*(Deprecated) #qaa_title {
    font-size:18pt;
    width:130px;
    float:right;
    color:maroon;
    display:block;
    overflow:hidden;
}*/
#header_other {
    width:644px;
    height:90px;
    padding-top:10px;/* added together should be 100px */
    float:right;
}
#header_comsoc_link {
    background-image:url("/imgs/logo_comsoc_w_small2.png");
    width:196px;
    height:40px;
    margin-top:20px;
    position:relative;
    float:right;
    display:block;
}

/* ========== Nav/Menu ============== */
#headerwrapper, #navwrapper {
    width:100%;
}
#navwrapper {
    height:50px;
    background-color:#902010;
    background-image:url("/imgs/bg_nav2.png");
    background-repeat:repeat-x;
    position:relative;
    z-index:0;
    overflow:visible;
    z-index:4;
}
#nav {
    height:100%;
}
#menu {
    margin-left:20px;
    height:100%;
    position:relative;
    z-index:4;
    left:300px;
    /*border-right:1px solid #a03030;*/
    border-left:1px solid #700000;
}
#menu td, #menu tr {
    height:100%;
}
a.menubutton {
    height:25px;
    text-decoration:none;
    color:#d4d4d4;
    display:block;
    font-size:11pt;
    padding-left:17px;
    padding-right:17px;
    /*line-height:25px;*/
    padding-top:20px;
    padding-bottom:5px;
    /*border-left:1px solid #a03030;*/
    border-right:1px solid #700000;
}
a.menubutton:hover {
    background-color:#a04030;
    background-image:url("/imgs/bg_nav2_hl2.png");
    color:white;
}
a.menubutton:visited {
    color:#d4d4d4
}
a.menubutton:active {
    color:white;
}
div.dropdownmenu {
    position:absolute;
    background-color:#800000;
    display:none;
    z-index:4;
}
div.dropdownmenu ul {
    list-style:none;
    margin:0;
    padding:0;
    padding-top:5px;
    padding-bottom:5px;
}
div.dropdownmenu li {
    padding:0;
    margin:0;
    height:auto;
    display:block;
}
a.dropdownmenubutton {
    padding-top:5px;
    padding-bottom:5px;
    text-decoration:none;
    color:#ccc;
    display:block;
    width:180px;
    padding-left:20px;
    padding-right:20px;
}
a.dropdownmenubutton:hover {
    background-color:#903030;
    color:white;
}
#preload_menu_hover {
    background-image:url("/imgs/bg_nav2_hl2.png");
    width:1px;
    height:1px;
    position:fixed;
    top:-100px;
    left:-100px;
}

/* ========== Main section =========== */
#main {
    background-image:url("/imgs/bg_navshadow.png");
    background-repeat:repeat-x;
    height:100%;
    padding-left:5px;
    padding-right:5px;
    background-color:white;
    border-left:2px solid #aaa;
    border-right:2px solid #aaa;
    border-bottom:2px solid #aaa;
}
#contentwrapper {
    width:100%;
    height:100%;
}
#mainsection {
    width:644px;
    vertical-align:top;
}
/*#navshadow {
   background-image:url("/imgs/bg_navshadow.png");
   background-repeat:repeat-x;
   width:649px;
   height:28px;
   position:relative;
   z-index:1;
}*/
#maincontent {
    margin-top:28px;
    height:100%;
    width:578px;
    padding-left:36px;
    padding-right:30px;
    padding-bottom:75px;
    text-align:justify;
}
#maincontent h1 {
    font-size:18pt;
    color:#640000;
    font-weight:normal;
    padding-bottom:15px;
    padding-top:15px;
}
#maincontent .article {
    padding-top:15px;
    padding-bottom:20px;
    border-top:2px solid #aaa;
}
#maincontent .article h2 {
    color:#640000;
    font-weight:normal;
    font-size:14pt;
    padding-bottom:10px;
}
#maincontent .article h2 a{
    font-size:14pt;
    color:#640000;
}
#maincontent .notopborder {
    border-top:0;
}
#maincontent .timestamp {
    font-size:9pt;
    font-weight:normal;
    font-style:italic;
    color:#777;
    padding-top:10px;
    text-align:right;
}
#maincontent p {
    padding-top:5px;
    padding-bottom:10px;
}
#maincontent h3 {
    font-weight:bold;
    font-size:11pt;
    padding-top:10px;
    padding-bottom:5px;
}

/* ========= SIDEBAR ============= */
#sidebarwrapper {
    width:306px;
    /*background-color:#ddd;*/
    height:100%;
    vertical-align:top;
}
#sidebar {
    background-image:url("/imgs/bg_sidebar_mid.png");
    background-repeat:repeat-y;
    z-index:3;
    width:100%;
    height:100%;
    position:relative;
}
#sidebarcontent {
    padding-top:15px;
    padding-bottom:50px;
    padding-left:30px;
    padding-right:36px;
    width:240px;
}
#sidebarbot {
    width:100%;
    height:42px;
    background-image:url("/imgs/bg_sidebar_bot.png");
    background-repeat:no-repeat;
    background-color:white;
    position:absolute;
    bottom:0;
    top:auto;
}
#sidebar h2 {
    color:#640000;
    font-size:11pt;
    font-weight:bold;
    padding-bottom:10px;
}
#sidebar h3 {
    color:black;
}
#sidebar li {
    list-style:none;
    margin:0;
    padding:0;
    padding-bottom:6px;
}
#sidebar ul {
    margin:0;
    padding:0;
    padding-left:10px;
}
#sidebar div {
    font-size:10pt;
}
.sidebarSection {
    padding-top:15px;
    padding-bottom:15px;
    border-top:1px solid #bbb;
}
#twitter h2, #facebook h2 {
    padding:0;
    margin:0 auto 0 auto;
}
#twitter a, #facebook a {
    padding-left:30px;
    background-repeat:no-repeat;
    display:block;
    line-height:20px;
    text-decoration:none;
    width:180px;
    margin-left:auto;
    margin-right:auto;
}
#sidebar a:visited {
    color:#640000;
}
#twitter a {
    background-image:url("/imgs/logos/tw.jpg");
}
#facebook a {
    background-image:url("/imgs/logos/fb.jpg");
}
#sponsor_wrapper {
    margin-left:auto;
    margin-right:auto;
    width:200px;
    height:60px;
    position:relative;
    background-color:white;
}
#sponsor_wrapper a.sponsor {
    display:none;
    background-color:white;
    width:100%;
    height:100%;
    position:absolute;
    background-position:center center;
    background-repeat:no-repeat;
    left:0;
    top:0;
}
/* ============= FOOTER =============*/
#footer {
    height:65px;
    padding-top:10px;
}
#footer_qu_link, #footer_comsoc_link, #footer_qaa_link {
    margin-left:20px;
    display:block;
    background-repeat:no-repeat;
    height:44px;
    background-position:center;
    float:left;
}
#footer_qu_link {
    background-image:url("/imgs/logo_queens_bw.png");
    width:132px;
}
#footer_comsoc_link {
    background-image:url("/imgs/logo_comsoc_bw.png");
    width:218px;
}
#footer_qaa_link {
    background-image:url("/imgs/logo_qaa_bw.png");
    width:60px;
}
#footer_copynotice {
    display:block;
    float:right;
    text-align:right;
    margin-right:10px;
}
#footer_copynotice * {
    color:#000;
}
#footer_copynotice span {
    display:inline;
}

/* ============= SEARCH BAR ============= */
#searchbox {
    text-align:center;
}
#searchbox form {
    padding:0;
    margin:0;
    width:auto;
}
#searchbar, #searchbutton {
    margin:0;
    vertical-align:middle;
    border:1px solid #bbb;
}
#searchbar {
    line-height:20px;
    width:140px;
    height:20px;
    padding:2px;
    padding-left:5px;
    border-top-left-radius:5px;
    border-bottom-left-radius:5px;
    -moz-border-radius-topleft:5px;
    -moz-border-radius-bottomleft:5px;
    -webkit-border-top-left-radius:5px;
    -webkit-border-bottom-left-radius:5px;
}
#searchbutton {
    background-image:url("/imgs/search-normal.png");
    background-repeat:repeat-x;
    height:26px;
    padding-left:10px;
    padding-right:10px;
    font-size:10pt;
    background-color:#ffffff;
    border-left:0;
    width:auto;
    overflow:visible;
    border-top-right-radius:5px;
    border-bottom-right-radius:5px;
    -moz-border-radius-topright:5px;
    -moz-border-radius-bottomright:5px;
    -webkit-border-top-right-radius:5px;
    -webkit-border-bottom-right-radius:5px;
}
#searchbutton:hover {
    background-image:url("/imgs/search-hl.png");
}
#searchbutton:active {
    background-image:url("/imgs/search-active.png");
}



