/*
    Layout styles
    nait.ca --- discere, efficere, praestare
    
    table of contents --- copy the =header and
    use "find" to jump to the appropriate section
    
    =header
      ==portal-control
      ==navigation
      ==search
    =left-column
    =center-column
      ==columns
      ===program-pages
      ==tables
      ==forms
      ==campus-map
    =right-column
      ==bookflap
    =footer
    
*/
#wrapper {
    margin: 0 auto;
    width: 971px;
}
#content_main_n {
    background: url(http://www.nait.ca/images/interface/fauxbg.gif) repeat-y top left;
    border-top: 1px solid #c7cfdd;
    border-bottom: 2px solid #C7CFDD;
    margin-top: 1px;
    /*overflow: auto;*/
}
.imgswp {
    display: block;
    font-size:1px;
    height: 0 !important;
    margin: 0;
    overflow: hidden;
    text-indent: -9000px;
}
/*
  =HEADER
---------------------------------------- */
#header_tall {
    background: #1e4b8a url(http://www.nait.ca/images/interface/bg-mast.gif) no-repeat top left;
    height: 197px;
    position: relative;
}
#logo {
    background: #fff;
    height: 100px;
    position: absolute;
    top: 22px;
    width: 184px;
}
/* ==portal-control */
#navpanel {
    float: right;
}
* html #portalcontrol, * html #searchfield {
    height: 1%;
}
*:first-child+html #portalcontrol, *:first-child+html #searchfield {
    min-height: 1px;
}
/* ==navigation */
#global_nav {
    background: url(http://www.nait.ca/images/interface/bg-menu.gif) repeat-x top left;
    border-bottom: 2px solid #c7cfdd;
    border-top: 1px solid #fff;
    height: 46px;
    position: absolute;
    top: 148px;
    width: 971px;
}
#global_nav span {
    background: urlhttp://www.nait.ca/images/interface/bg-menudivide.gif) no-repeat 50% 10px;
    display: block;
    float: left;
    margin: 0 0 0 10px;
    overflow: hidden;
    text-indent: -9000px;
    width: 2px;
}
#global_nav #nav {
    float: left;
}
#navlist {
    padding: 7pt 0 11px 10px;
}

/* ==search */
#searchbox {  
    float: right;
    padding: 8px 5px 0 0;
}
#searchbox #search_text_but {
    background: url(http://www.nait.ca/images/interface/search.gif) no-repeat 0px 2px;
    border:0;
    color: #fff;
    height: 20px;
    width: 57px;
}
#searchbox #textfield {
    background: url(http://www.nait.ca/images/interface/navsearch_bg.gif) #fff repeat-x;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #c1c1c1;
    border-right: 1px solid #c1c1c1;
    border-top: 1px solid #848484;
    height: 14px;
}

/*
  =LEFT-COLUMN
---------------------------------------- */
#left_sidebar {
    background: #f6f6ff;
    float: left;
    width: 190px;
}
#nocollapse {
    background: #fff;
    height: 10px;
}
#infosignpost {
    background: #f6f6ff;
    height: 624px;
    width: 190px;
}
#infocontainer {
    background: #fff;
}
/*
  =CENTER-COLUMN
---------------------------------------- */
#main-content {
    border-bottom: 2px solid #c7cfdd;
    margin-top: 1px;
    padding: 0 0 11px 0;
    position: relative;
}
#center_content {
    border-left: 1px solid #c7cfdd;
    border-right: 1px solid #c7cfdd;
    float: left;
    padding: 10px 10px 0 10px;
    width: 573px;
    min-height:600px;
}
#breadcrumb {
    margin-bottom: 10px;
}
/* ==columns */
#one_right, #one_left, #two_left, #two_right, #three_left, #three_center, #three_right, #twospan_left, #twospan_right {
    float: left;
    margin-bottom: -32767px;
    padding-bottom: 32767px;
}
#one_left, #three_left, #three_center {
    margin-right: 11px;
    width: 181px;
}
#one_right, #three_right {
    width: 182px;
}
#twospan_left {
    margin-right: 12px;
    width: 375px;
}
#twospan_right {
    width: 375px;
}
#two_left {
    margin-right: 11px;
    width: 281px;
}
#two_right {
    width: 281px;
}
/* ===program-pages */
#column_element_wrapper {
    float: left;
    margin-bottom: 20px;
    overflow: hidden;
}
.matchBG_Orange, .matchBG_Blue {
    border-bottom: 6px solid #fff;
}
.columnBG_Orange, .columnBG_Blue, .columnBG_Grey {
    background-color: #f6f6ff;
}
#col_head_blu_one, #col_head_gry_one, #col_head_org_one, #col_head_blu_two, #col_head_gry_two, #col_head_org_two, #col_head_blu_twospan, #col_head_gry_twospan, #col_head_org_twospan, #col_head_blu_threespan, #col_head_gry_threespan, #col_head_org_threespan {
    padding: 0 0 0 10px;
}
#content_blu, #content_gry, #content_org, #col_head_blu_one, #col_head_gry_one, #col_head_org_one, #col_head_blu_two, #col_head_gry_two, #col_head_org_two, #col_head_blu_twospan, #col_head_gry_twospan, #col_head_org_twospan, #col_head_blu_threespan, #col_head_gry_threspan, #col_head_org_threespan {
    background: #f6f6ff;
}
#content_blu, #content_gry, #content_org {
    padding: 10px;
}
#newscontent {
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}
#newswrapper {
    clear: both;
    margin-top: 10px;
}
/* ==tables */

/*
table {
    border-collapse: collapse;
    border:1px solid #ccc;
    margin:10px 0;
    }
th {
    background:#ccc;
    padding: 0 0.5em;
    text-align: left;
    }
tr { 
    border-bottom: 1px solid #CCC;
}
td {
    border-left: 1px solid #CCC;
    padding:0.5em;
}
*/

#column_element_wrapper table {border:none;}
#column_element_wrapper tr {border:none;}
#column_element_wrapper td {border:none;}
#column_element_wrapper th {background:none;}

#tablewrap {
    float:left;
    padding-bottom:20px;
    padding-top:20px;
    width:573px;
}
#tablewrap td, #tablewrap th {
    border-bottom:1px solid #fff;
    border-right:1px solid #fff;
    padding: 5px 5px 5px 15px;
    text-align:left;
}
#tablewrap table {
    border-left:1px solid #fff;
    border-top:1px solid #fff;
    width:573px;
}
.table_head_orange {
    background:#3180b0;
    color:#fff;
}
.table_row_blue {
    background:#f8f8ff;
    
}
.table_row_grey {
    background:#d9e2f0;
    font-size: 12px;
    
}
.table_row_darkGrey {
    background:#ccc;
}
/* ==campus-map */
.a-building, .b-building, .c-building, .d-building, .e-building, .f-building, .g-building, .h-building, .j-building, .k-building, .l-building, .m-building, .n-building, .o-building, .q-building, .s-building, .t-building, .u-building, .v-building, .w-building, .x-building, .y-building {
    font-weight: bold;
    padding-right: 20px;
}
.a-building, .b-building, .c-building, .d-building, .n-building, .q-building, .t-building, .u-building, .v-building {
    background-color: #579CB6;
}
.e-building, .f-building, .g-building, .h-building, .j-building, .s-building, .x-building {
    background-color: #C0D56B;
}
.k-building, .l-building, .m-building {
    background-color: #D5B175;
}
.o-building {
    background-color: #FF993B;
}
.w-building, .y-building {
    background-color: #F0E757;
}
/*
  =RIGHT-COLUMN
---------------------------------------- */
/* ==bookflap */
#right_sidebar {
    float: right;
    padding-top: 10px;
    width: 186px;
}
.bookflap_footer {
    clear: both;
}
.bookflap_wrapper {
    background: #F6f6ff;
    margin-bottom: 10px;
    width: 186px;
}
.bookflap_header_app, .bookflap_header {
    padding: 9px;
}
.bookflap_content {
    padding: 0 9px 0 9px;
    clear: both;
}
.bookflap_content li {
    margin: 0 0 10px 0;
}
.bookflap_content img {
    margin: 0 5px 0px 0;
}
.contenthighlight {
    background: #F6F6FF;
}
/*
  =FOOTER
---------------------------------------- */
#footer {
    border-top: 1px solid #c7cfdd;
    margin-top: 1px;
    padding-bottom: 100px;
    padding-top: 9px;
}
