/* Main structural elements */

body {
    font-family: "Times New Roman", Serif;
    font-size: 14px;
    width: 977px;
    margin: 10px auto 10px auto;
    padding: 0px;
    background-color: #F4F4FF;    /* Each sub-site will be coloured differently */
}

#pagewidth {
    margin: 0px;
    padding: 0px;
    background-color: #FFFFFF;
}
#pagewidth div.top {
    background-image: url(/images/CMC/PageTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    height: 9px;
    font-size: 1px;
}
#pagewidth div.bottom {
    background-image: url(/images/CMC/PageBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    height: 9px;
    font-size: 1px;
}

#wrapper {
    background-image: url(/images/CMC/PageSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}
.clearfix {
    display: inline-table;
}
/* Hides from IE-mac \*/
* html .clearfix{height: 1%;}
.clearfix{display: block;}
/* End hide from IE-mac */

#header {
    font-family: Verdana, Arial, Sans-serif;
    color: #000000;
    height: 125px;
    background-image: url(/images/CMC/Logo.jpg);   /* Each sub-site will have a different logo */
    background-position: 180px 10px;
    background-repeat: no-repeat;
}
#header h1 {
    display: none;
}
#header h2 {
    font-weight: normal;
    margin: 0px;
    padding: 100px 0px 0px 350px;
}
#header span.versiondate {
    font-size: 10px;
}
#header span.versionnumber {
    font-size: 8px;
    padding-left: 10px;
}

#middle {
    float: left; 
}

#footer {
    font-family: Verdana, Arial, Sans-serif;
    font-size: 9px;
    font-weight: normal;
    color: #000000;
    padding: 5px 0px 0px 170px;
    clear: both;
}
#footer div {
    height: 9px;
    width: 600px;
    font-size: 1px;
}
#footer div.top {
    background-image: url(/images/CMC/MainTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#footer div.bottom {
    background-image: url(/images/CMC/MainBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#footer p {
    background-image: url(/images/CMC/MainSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    width: 600px;
    text-align: center;
}

#lefthalf {
    float: left;
    width: 155px;
    padding: 0px 5px 0px 7px;
}

#righthalf {
    float: left; 
    width: 810px;
}

#centrebit {
    float: left;
    width: 600px;
}

#rightbit {
    float: right; 
    width: 200px;
    padding: 0px 5px 0px 5px;
}

#navheader div {
    height: 9px;
    font-size: 1px;
}
#navheader div.top {
    background-image: url(/images/CMC/MenuTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#navheader div.bottom {
    background-image: url(/images/CMC/MenuBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#navheader h3 {
    background-image: url(/images/CMC/MenuSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}

#navmenu {
    font-family: Verdana, Arial, Sans-serif;
}
#navmenu div {
    height: 9px;
    font-size: 1px;
}
#navmenu div.top {
    background-image: url(/images/CMC/MenuTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#navmenu div.bottom {
    background-image: url(/images/CMC/MenuBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#navmenu h4, #navmenu ul, #navmenu p {
    background-image: url(/images/CMC/MenuSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}
#navmenu h4 {
    font-size: 14px;
    padding-top: 8px;
    overflow: hidden;
}
#navmenu p {
    font-size: 10px;
    line-height: 1.6;
    padding-right: 10px;
}
#navmenu p.infonote {
    line-height: 1.2;
    color: #A0A0A0;
}
#navmenu ul {
    list-style: none;
    line-height: 1.4;
    margin: 0px;
}
#navmenu li {
    font-size: 12px;
    margin-left: 10px;
}
#navmenu span {
    font-size: 10px;
    display: block;
    height: 13px;
    color: #A0A0A0;	
}

#newsheader div {
    height: 9px;
    font-size: 1px;
}
#newsheader div.top {
    background-image: url(/images/CMC/NewsTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#newsheader div.bottom {
    background-image: url(/images/CMC/NewsBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#newsheader h3 {
    background-image: url(/images/CMC/NewsSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}

#newsmenu div {
    height: 9px;
    font-size: 1px;
}
#newsmenu div.top {
    background-image: url(/images/CMC/NewsTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#newsmenu div.bottom {
    background-image: url(/images/CMC/NewsBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#newsmenu h4, #newsmenu h5, #newsmenu h6, #newsmenu ul, #newsmenu p {
    background-image: url(/images/CMC/NewsSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}
#newsmenu h4 {
    height: 35px;
    padding-left: 10px;
}
#newsmenu h4 span {
    background-image: url(/images/NewsBox.gif);
    background-repeat: no-repeat;
    font-family: Verdana, Arial, Sans-serif;
    font-size: 18px;
    font-weight: bold;
    color: #FF0000;
    display: block;
    height: 35px;
    width: 65px;
    padding: 5px 2px 0px 4px;
}
#newsmenu h5 {
    font-size: 16px;
}
#newsmenu h6 {
    height: 5px;
    font-size: 1px;
}
#newsmenu p {
    margin: 0px;
    padding-bottom: 2px;
    padding-right: 10px;
}
#newsmenu p span {
    font-weight: bold;
    margin: 0px;
    padding: 0px;
}

#contentheader div {
    height: 9px;
    font-size: 1px;
}
#contentheader div.top {
    background-image: url(/images/CMC/MainTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#contentheader div.bottom {
    background-image: url(/images/CMC/MainBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#contentheader h3 {
    background-image: url(/images/CMC/MainSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}

#contentsubheader {
    margin: 0px -20px 0px -20px;
    width: 600px;
}
#contentsubheader div {
    height: 9px;
    font-size: 1px;
}
#contentsubheader div.top {
    background-image: url(/images/CMC/MainTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#contentsubheader div.bottom {
    background-image: url(/images/CMC/MainBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
    padding-bottom: 5px;
}
#contentsubheader h3 {
    background-image: url(/images/CMC/MainSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    padding-left: 13px;
}

#content {
    margin: 0px 20px 10px 20px;
    line-height: 1.3;
}
#content h4, #content h5 {
    font-weight: bold;	
    color: #00007C;    /* Each sub-site will be coloured differently */
    padding-top: 5px;
}
#content h4 {
    font-size: 18px;
    padding-bottom: 12px;
}
#content h5 {
    font-size: 16px;
    padding-bottom: 5px;
    margin-top: 10px;
}
#content p {
    line-height: 1.3;
    margin-bottom: 10px;
}
#content br {
    font-size: 7px;
}
#content ul {
    font-family: Verdana, Arial, Sans-serif;
    font-size: 12px;
    font-weight: bold;
    list-style: none;
    margin: 10px;
    padding: 0px;
}
#content ul li {
    background-image: url(/images/CMC/TabLine.gif);
    background-repeat: repeat-x;
    background-color: #F4F4FF;
    background-position: bottom;
    line-height: 1.7;
    margin: 0px;
    padding: 0px 15px 2px 15px;
}
#content img.home {
    border: 2px solid #000000;
    margin: 15px 25px 15px 25px;
}

#contact {
    margin: 0px;
    padding: 0px 0px 5px 0px;
}
#contact div.top {
    background-image: url(/images/CMC/CardTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#contact div.bottom {
    background-image: url(/images/CMC/CardBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#contact form, #contact table, #contact h4, #contact p {
    background-image: url(/images/CMC/CardSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    margin: 0px;
    padding: 0px;
}
#contact fieldset {
    border: none;
    margin: 0px;
    padding: 5px 0px 0px 0px;
}
#contact legend {
    font-size: 16px;
    font-weight: bold;
    color: #00007C;    /* Each sub-site will be coloured differently */
    padding: 5px 0px 5px 70px;
}
#contact label {
    display: block;
    float: left;
    clear: left;
    width: 70px;
    padding-right: 10px;
    text-align: right;
    line-height: 1.8;
}
#contact input {
    display: block;
    float: left;
}
#contact span {
    padding-left: 5px;
    line-height: 1.4;
}
#contact br {
    clear: both;
}

#cardlist {
    font-family: Verdana, Arial, Sans-serif;
    margin: 0px;
    padding: 0px;
}
#cardlist div.top {
    background-image: url(/images/CMC/CardTop.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#cardlist div.bottom {
    background-image: url(/images/CMC/CardBottom.gif);    /* Each sub-site will be coloured differently */
    background-repeat: no-repeat;
}
#cardlist h5, #cardlist ul li, #cardlist p {
    background-image: url(/images/CMC/CardSides.gif);    /* Each sub-site will be coloured differently */
    background-repeat: repeat-y;
    background-color: #FFFFFF;
    padding: 0px 0px 0px 10px;
}
#cardlist h5 {
    font-size: 14px;
    padding-bottom: 10px;
    margin: 0px;
}
#cardlist ul {
    list-style: none;
    margin: 0px;
}
#cardlist ul li {
    margin: 0px;
    padding: 0px;
    padding-left: 10px;
}
#cardlist ul li div.full {
    float: left;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    width: 530px;
    margin-right: 5px;
}
#cardlist ul li div.left {
    float: left;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    width: 295px;
    margin-right: 5px;
}
#cardlist ul li div.right {
    font-size: 11px;
    font-weight: bold;
    line-height: 1.3;
    float: left;
    width: 235px;
    margin-right: 5px;
    text-align: right;
}
#cardlist ul li div.clear {
    clear: left;
}
#cardlist p {
    clear: left;
    font-size: 10px;
    margin: 0px;
    padding: 10px 20px 0px 10px;
}
#cardlist a {
    text-decoration: none;
}

#caltab {
    font-family: Verdana, Arial, Sans-serif;
    width: 560px;
}
#caltab td {
    font-size: 12px;
    color: #000000;
    padding: 0px;
}
#caltab .rowbold {
    font-weight: bold;
}
#caltab .rowminor {
    font-style: italic;
    color: #707070;
}
#caltab .rownormal {
    font-weight: normal;
}
#caltab .buttl {
    border: 0px;
    float: left;
}
#caltab .buttr {
    border: 0px;
    float: right;
}
#caltab .col1d {width: 50px; }
#caltab .col2d {width: 415px; }
#caltab .col3d {width: 55px; text-align: right; }
#caltab .col4d {width: 40px; text-align: right; }
#caltab .col1a {width: 420px; }
#caltab .col2a {width: 100px; text-align: right; }
#caltab .col3a {width: 40px; text-align: right; }
#caltab .col1n {width: 30px; text-align: right; font-size: 10px; line-height: 2; }
#caltab .col2n {width: 530px; font-size: 10px; line-height: 2; }

#fadecontainer {
    display: block;
    float: left;
    width: 500px;
    height: 300px;
    padding: 0px 0px 0px 35px;
    margin: 0px;
}
#fadecontainer img {
    position: absolute;
    border: 1px solid #000000;
}
#showcontainer {
    width: 560px;
    height: 465px;
    border: none;
    padding: 10px 0px 20px 0px;
    margin: 50px 0px 0px 0px;
}
#showcontainer img {
    position: absolute;
}
#showcontrols {
    clear: both;
    width: 78px;
    padding: 0px;
    margin: 0px;
    border: 1px solid #000052;
}
#ctrlprevious, #ctrlstopstart, #ctrlnext {
    height: 20px;
    width: 20px;
    border: 1px solid #000052;
    float: left;
    margin: 2px;
    padding: 0px;
}

/* Some useful classes */
.boxedtext, .buttontext {
    font-size: 12px;
    font-weight: bold;
    line-height: 2.0;
    border: solid 2px;
    padding: 2px;
}
.buttontext {
    border-color: #0033FF;    /* Each sub-site will be coloured differently */
}
.buttontext a {
    text-decoration: none;
}

.smallgap {
    margin-top: 20px;
}

.iconlink {
    display: inline-block;
    background-image: none;
    background-repeat: no-repeat;
    height: 20px;
    padding: 0px 0px 0px 25px;
    cursor: pointer;
}
.iconshow { background-image: url(/images/iconshow.gif); }
.iconthumbs { background-image: url(/images/iconthumbs.gif); }
.iconfull { background-image: url(/images/iconfull.gif); }

/* Classes for multi-column line listing */
.itemline .col1 { float: left; width: 130px; }
.itemline .col2 { float: left; width: 380px; }
.itemline .col3 { clear: both; }
.datedline .col1 { float: left; width: 175px; }
.datedline .col2 { float: left; width: 335px; }
.datedline .col3 { clear: both; }
.detailsline .col1 { float: left; width: 460px; }
.detailsline .col2 { float: left; width: 50px; }
.detailsline .col3 { clear: both; }
.detailsline span { font-size: 9px; }
.dateddetailsline .col1 { float: left; width: 100px; }
.dateddetailsline .col2 { float: left; width: 360px; }
.dateddetailsline .col3 { float: left; width: 50px; }
.dateddetailsline .col4 { clear: both; }
.pricedline .col1 { float: left; width: 100px; }
.pricedline .col2 { float: left; width: 270px; }
.pricedline .col3 { float: left; width: 90px; }
.pricedline .col4 { float: left; width: 50px; }
.pricedline .col5 { clear: both; }


/* Classes for image handling in the main text */
.imgfull {
    padding: 7px 10px 0px 0px;
    margin: 0px;
    mmargin-top: 7px;
    mmargin-right: 10px;
    mmargin-left: 0px;
    clear: both;
}
.imgright {
    padding: 7px 10px 0px 15px;
    margin: 0px;
    mmargin-top: 7px;
    mmargin-right: 10px;
    mmargin-left: 15px;
    float: right;
}
.imgleft {
    padding: 7px 15px 0px 0px;
    margin: 0px;
    mmargin-top: 7px;
    mmargin-right: 15px;
    mmargin-left: 0px;
    float: left;
}
.imgcap {
    font-family: Verdana, Arial, Sans-serif;
    font-size: 10px;
    margin-left: 1px;
    margin-right: 1px;
    text-align: center;
}
.imgclear {
    margin: 0px;
    padding: 0px;
    clear: both;
}
.magthumb {
    float: left;
}

/* div-based simple tabulation classes */
.column {
    display: block;
    float: left;
    line-height: 1.3;
    width: 100px;
    margin: 0px;
    padding: 0px 0px 0px 10px;
}
.narrow { width: 50px; }
.narrower { width: 20px; }
.narrowest { width: 10px; }
.wide { width: 200px; }
.wider { width: 300px; }
.widest { width: 400px; }
.alignright { text-align: right; }
.aligncentre { text-align: center; }
.rowend {
    display: block;
    font-size: 1px;
    height: 1px;
    line-height: 1px;
    margin: 0px;
    padding: 0px;
    clear: both;
}

/* Class for highlighting an important message */
.highlight {
    font-size: 16px;
    font-weight: bold;
    color: #FF0000;
    line-height: 20px;
    text-align: center;
    border: solid red 2px;
    padding: 5px;
}


/* Global HTML elements */

h1, h2, h3, h4, h5, h6 {
    margin: 0px;
    padding: 0px;
	color: #00007C;    /* Each sub-site will be coloured differently */
}
h1 {
    font-size: 26px;
    font-weight: normal;
    margin-bottom: 5px;
}
h2 {
    font-size: 18px;
    margin-bottom: 10px;
}
h3 {
    font-size: 18px;
}
h4 {
    font-size: 16px;
}
p {
    margin: 0px;
    padding: 0px;
}
a {
    font-weight: bold;
    color: #0033FF;    /* Each sub-site will be coloured differently */
    text-decoration: none;
}
a img {
    border: 0px;
}