/**********************************************************
CSS-file for Orams Marine Services
Developed by Phosphor Essence Ltd.
Layout Styles
 **********************************************************/
img { behavior: url(pngbehavior.htc); }

* {
    padding: 0;
    margin: 0;
    border: 0;
}

body, html { height: 100%; }

body {
    color: #999;
    font-size: 70%;
    font-family: Arial, Verdana, Tahoma, sans-serif;
    background: #12192d url(backgrounds/bkgd.gif) top center repeat;
    padding-bottom: 1px;
    /*** Prevents jumping from side-to-side in Firefox when a page does/doesn't scroll ***/
}

p {
    font-size: 110%;
    line-height: 140%;
    padding: 7px 0;
}

a {
    color: #CCC;
    text-decoration: none;
}

a:hover {
    color: #FFF;
    text-decoration: underline;
}

h1, h2, h3, h4, h5 {
    font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Arial, Verdana, Tahoma, sans-serif;
    font-weight: 400;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding: 8px 0 0;
    line-height: 1.4;
}

h1 {
    font-size: 1.6em;
    padding: 8px 0 5px;
}

h2 {
    font-size: 1.5em;
    padding: 15px 0 4px;
}

h3 {
    font-size: 1.3em;
}

h4 {
    font-size: 1.1em;
}

hr {
    margin-top: 12px;
    border-bottom: solid 1px #666;
}

.bodytext-small {
    font-size: 90%;
    line-height: 90%;
    margin: 0;
    padding: 0 0 3px;
}

.clear {
    clear: both;
}

#mainContainer {
    width: 860px;
    margin: 0 auto;
    padding: 0;
    min-height: 100%;
}

/**************************
HEADER
 **************************/
#header {
    margin: 0;
    padding: 20px 0 6px;
}

#title {
    float: left;
    margin: 49px 0 0;
}

#logo {
    text-align: right;
}

/**************************
CONTENT AND COLUMNS
 **************************/
.outer {
    width: 860px;
    margin: 34px 0 0;
    /*** Make some space for our top menu ***/
    padding: 0 0 35px;
    /*** Same as footer height ***/
}


/*** div.inner is wider than its container, div.outer, and so overlaps to the right, pushing
div.right into the proper position. IE expands div.outer instead, requiring a Tan hack to avoid 
blowing the layout apart. IE gets the original 100% width as in the Livingstone layout.
 ***/
.float-wrap {
    height: 100%;
    margin: 0;
    padding: 0 0 10px;
}

#content {
    float: right;
    width: 660px;
    margin: 0;
    padding: 0;
}

.contentWrap {
    margin: 0 0 35px;
    /*** Added to prevent overlap of last few lines of content and footer ***/
    padding: 0;
}

.contentWrap ol,
.contentWrap ul {
    margin: 3px 0 5px 25px;
}

.contentWrap li {
    font-size: 110%;
    line-height: 140%;
    padding-bottom: 2px;
}

/**************************
NAV
 **************************/
#nav {
    margin: -129px -500px 0 200px;
    /* top = -height, right = -width, bottom = none, left = -(subnav width + subnav right margin) */
    padding: 0;
    display: inline;
    /*** to fix the infamous "double-margin bug" ***/
    float: left;
}

#nav ul {
    list-style: none;
}

#nav li {
    margin: 0 10px 0 0;
    padding: 0;
    float: left;

}
#nav li a {
    display: block;
    background:#D04C41;
    padding:8px 22px;
    color:#fff;
    font-weight:bold;
    font-size: 14px;

    -moz-border-radius:0 0 4px 4px;
    -webkit-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;

    -moz-box-shadow:rgba(0,0,0,0.3) 2px 2px 1px 3px;
    -webkit-box-shadow:rgba(0,0,0,0.3) 2px 2px 1px 3px;
    box-shadow:rgba(0,0,0,0.3) 2px 2px 1px 3px;

    text-shadow:rgba(0,0,0,0.3) 1px 1px 1px;

}
#nav li a:hover {
    text-decoration: none;
    background:#fff;
    color:#D04C41;
}
#nav li.selected a { 
    background:#fff;
    color:#D04C41;
}

/**************************
SUBNAV COLUMN
 **************************/
#subnav {
    width: 160px;
    min-height: 100%;
    margin: 25px 20px 0 0;
    padding: 0;
    text-transform: uppercase;
}

#subnav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#subnav li {
    width: 180px;
    margin: 0;
    padding: 0;
}

/**************************
navBox - HOME
 **************************/
.navBox {
    width: 860px;
    height: 200px;
    margin: 0 0 40px -200px;
    padding: 0;
    position: relative;
}

.navBox a.contactDetails {
    position: absolute;
    bottom: 0; left: 0;
    font-size: 1.3em;
    font-weight: bold;
    padding-left: 20px;
    background: transparent url(/userfiles/image/contactDetailsLink.png) bottom left no-repeat;
}

.navBox .heading {
    width: 180px;
    float: left;
    margin: 0 20px 0 0;
    padding: 0;
}

.navBox .img {
    width: 660px;
    float: left;
    margin: 0;
    padding: 0;
    background: url(/media/images/bkgd_lines.gif) top left repeat;
}

.navBox .img img {
    float: left;
    border-right: 1px solid #858993;
}

.navBox .pgnav {
    float: left;
    margin: 13px 0 0 10px;
}

/**************************
bottomFrontpage
 **************************/
.bottomFrontpage {

    margin: 0;
    padding: 0;
    clear:both;
}

.bottomFrontpage .heading {
    float:left;
    width: 400px;
    margin: 0;
    padding: 0;
    background: url(/media/images/bkgd_lines.gif) top left repeat; 
}

.bottomFrontpage .heading .inner {
    background:url(/media/images/cnr_blockbkgd.gif) top left no-repeat;
    padding:0 40px 20px 0;
}

.bottomFrontpage .awards {
    float:left;
    width:220px;
    overflow:hidden;
    margin:0 0 0 40px;

}
.bottomFrontpage .heading h1 {
    color: #FFF;
    font-size: 130%;
    text-transform: none;
    width: 180px;
    margin: 0 0 15px 0;
    padding: 2px 0 2px 14px;
    background-color: #404248;
    background: #404248 url(../media/images/cnr_blockhead.gif) top left no-repeat;
}
/**************************
sectionFrontpage, textpage
 **************************/
.sectionFrontpage,
.textpage {
    width: 660px;
    margin: 0 0 0 -200px;
    padding: 0 0 0 200px;
    text-align: justify;
    /*** to JUSTIFY text ***/
}

.sectionFrontpage .heading,
.textpage .heading {
    width: 180px;
    float: left;
    margin: 0 0 0 -200px;
    padding: 0;
    display: inline;
    /*** to fix the infamous "double-margin bug" ***/
}

.sectionFrontpage .img,
.textpage .img {
    color: #AAA;
    width: 660px;
    float: left;
    margin: 0;
    padding: 0;
    background: url(/media/images/bkgd_lines.gif) top left repeat;
}

.sectionFrontpage .img img,
.textpage .img img {
    float: left;
    border-right: 1px solid #858993;
    width: 320px;
}

.sectionFrontpage .pgnav,
.textpage .pgnav {
    float: left;
    margin: 20px 0 0 25px;
}

.sectionFrontpage #contentcol a,
.textpage #contentcol a {
    text-decoration: underline;
}

.textpage .img .newsText {
    float: left;
    margin: 10px 0 0 20px;
    width: 290px;
}

.textpage .img .newsText h2 {
    font-size: 14px;
}

.textpage .img .newsText p {
    line-height: 22px;
    font-size: 12.2px;
}

.textpage .img .newsText a {
    font-weight: 400;
    text-decoration: none;
}

.textpage .img .newsText .moreLink {
    float: right;
}

/**************************
sectionFrontpage CONTENT DIV's
 **************************/
.sectionFrontpage #contentcol {
    width: 660px;
    float: left;
    margin: 40px 0 0;
    padding: 0;
}

.sectionFrontpage #leftcol {
    width: 140px;
    float: left;
    margin: 0;
    padding: 0;
}

.sectionFrontpage #rightcol {
    width: 480px;
    float: left;
    margin: 0;
}

.sectionFrontpage #leftcol img {
    margin: 0 0 10px;
    padding: 0;
    border: 1px solid #858993;
}

.sectionNav {
    width: 190px;
    float: left;
    margin: 0 30px 0 0;
    padding: 0;
}

.sectionNav h2 {
    font-size: 120%;
    /*line-height: 80%;
    margin: -1px 0 0 0;*/
margin: 0 0 10px;
padding: 0;
}

.sectionNav h2 a,
.sectionNav h2 a:hover {
    text-decoration: none!important;
}

.sectionNav h2 a {
    color: #AAA;
    background: url(/media/images/bullet_arw.gif) 0 3px no-repeat;
    padding: 0 0 0 18px;
}

.sectionNav h2 a:hover {
    color: #FFF;
    background: url(/media/images/bullet_arw_f2.gif) 0 3px no-repeat;
}

.sectionNav h3 {
    font-size: 110%;
    text-transform: none;
    margin: 4px 0 18px;
    padding: 0;
}

/**************************
Textpage CONTENT DIV's
 **************************/
.textpage #contentcol {
    width: 520px;
    float: left;
    margin: 40px 0 0;
    padding: 0 0 0 115px;
}

.textpage #contentcol img {
    float: left;
    margin: 3px 2px 5px 0;
    border: 1px solid #858993;
}

.textpage #leftcol {
    width: 225px;
    float: left;
    margin: 0;
    padding: 0;
}

.textpage #rightcol {
    width: 250px;
    float: left;
    margin: 8px 0 0 20px;
    padding: 0;
}

.textpage #leftcol img {
    margin: 0 0 10px;
    padding: 0;
}

/**************************
REFERENCS PAGE LIST STYLES
 **************************/
#references h5 {
    font-size: 90%;
    font-weight: 700;
    margin: 10px 0 0;
    padding: 0;
}

#references p {
    margin: 0;
    padding: 0;
}

.textpage #references #leftcol {
    width: 160px;
    margin: 0;
    float: left;
}

.textpage #references #midcol {
    width: 160px;
    margin: 0 0 0 20px;
    float: left;
}

.textpage #references #rightcol {
    width: 160px;
    margin: 0 0 0 20px;
    float: left;
}

/**************************
MAP DIV
 **************************/
#mapview {
    width: 542px;
    height: 500px;
    border-top: 7px solid #ccc;
}

#mapview img {
    border: none!important;
}

/**************************
SITEMAP STYLES
 **************************/
.sitemap a {
    text-decoration: none!important;
}

ul.sitemap {
    margin: 8px 0 0;
    padding: 0;
}

.sitemap li {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.sitemap li li {
    list-style: circle;
    line-height: 100%;
    margin: 0 0 0 25px;
    padding: 0;
}

/**************************
FOOTER
 **************************/
#footer {
    clear: both;
    width: 860px;
    height: 30px;
    margin: -35px auto 0;
    font-size: 90%;
    text-transform: uppercase;
    text-align: left;
    border-top-width: 4px;
    border-top-style: solid;
    border-top-color: #858993;
}

/**************************
SLIDESHOW
 **************************/
ul#slideshow li,
ul#slideshow {
    margin: 0;
    padding: 0;
    display: block;
    width: 600px;
    height: 200px;
    overflow: hidden;
    text-align: left;
}

ul#slideshow li {
}

ul#slideshow li img {
    margin: 0 40px 0 0;
}

ul#slideshow h2 {
    font-size: 115%;
    line-height: 100%;
    margin: 60px 0 10px;
    padding: 0;
}

.img {
    min-height: 200px;
    overflow: hidden;
}

#slideshow-controls {
    float: left;
    margin: -30px 0 0 360px;
    display: inline;
}

#slideshow-controls img {
    border: none;
}

.prev, .next {
    width: 70px;
    float: left;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline;
}

.next {
    margin: 0;
    text-align: right;
}

.prev a:hover,
.next a:hover {
    text-decoration: none;
}

.prev img {
    margin: 2px 5px 0 0;
}

.next img {
    margin: 2px 0 0 2px;
    float: none!important;
}

/****************
NEWS SECTION   
 ****************/
.newsItems {
    list-style: none;
    margin: 0!important;
    padding: 0;
}

.newsItems li {
}

.newsItems a {
    font-weight: 400;
    text-decoration: none!important;
}

.newsItems .moreLink {
    float: right;
}

.newsItems .newsText {
    float: left;
    margin: 0 0 0 20px;
    width: 290px;
}

.newsItems .noImage {
    margin: 0;
    width: 518px;
}

.newsItems .newsText p {
    line-height: 22px;
    font-size: 12.2px;
}

.newsItems .newsText h2 {
    font-size: 16.73px;
}

.newsItems img {
    width: 204px;
}

.newsItem .img img,
.newsSection .img img {
    float: left;
}

.newsItem .img h2,
.newsSection .img h2 {
    float: left;
    width: 300px;
    margin: 25px 0 0 20px;
    font-size: 20px!important;
}

.newsItem .img p {
    float: left;
    width: 300px;
    margin: 0 0 0 20px;
}

.newsSection .img p {
    float: left;
    margin: 110px 0 0 340px;
    width: 300px;
}

.newsSection small,
.newsItem small {
    margin: 180px 0 0 341px;
    padding: 10px 0;
    display: block;
    font-size: 12px;
}

