* { font-family: arial, helvetica, sans-serif; line-height: 1.5em; }

body{
margin:0;
padding: 20px 0px 0px 0px;
line-height: 1.5em;
background: #ffffff url('http://www.boatoperatorcard.ca/images/background.jpg') repeat-x fixed top center;
}

b{font-size: 110%;}

#outerframe 
{
    width:100%;
}

#maincontainer{
    border: solid 1px #006699; 
    width: 765px; 
    margin: 0 auto; 
    background-color: White; 
    padding: 0px 40px 40px 40px;
}

#header {
border: 0px; 
width: 100%;
}

.txtRight {
    text-align: right;
}  

a.txtRight {
    text-align: right;
}  

#contentcolumn{
    width: 515px; 
}

#rightcolumn{
    border-left: solid 1px #cccccc;
    border-bottom: solid 1px #cccccc;
    width:200px; 
    padding-left:20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-left: 15px;
    float:right;
}

#footer{
    clear: left;
    width: 100%;
    color: #666666;
    padding: 0px 10px 10px 30px;
    text-decoration: none;
	border-left:1px solid #006699;
	border-right:1px solid #006699;
	border-bottom:1px solid #006699;
	margin:0 auto;
	width:805px;
	background:#f5f5f5;
	font-size:small;
}
#footer div{
	float:left;
	width:380px;
	margin:10px;
}

p { font-size:small;}
h1 { font-size:large; }
h2 { margin-bottom: 5px; margin-top:30px; color: #CC3333; font-size:medium }
h3 { font-size: small; font-weight:bold;}
LEGEND { color: #CC3333; font-size: 14pt; font-weight: bold; }
H4 { font-weight: bold; text-decoration: underline; }
A { color: #006699; }
A.mainmenu { color: #FFFFFF; font-size: 12pt; font-weight: bold; text-decoration: none; }
A.mainmenu:Hover { color: #FFFF00; }
TD.mainmenu { background: #FFFFFF url('/images/menubg.jpg') repeat-x top center; }
A.exammenu { color: #006699; font-weight: bold; text-decoration: none; }
TD.exammenu { background-color: #E1E1E1; }
#txt { border: 3px double #CC3333; background-color: #F5B4B4; font-size:16pt; font-weight:bold; width: 75px; } 



/*   STUDY GUIDE STYLES    */
#studyguide h1 {
    color: #CC3333; 
    background-color: #fcfde5;
    border: 1px dashed #CC3333;
    font-size: 16pt;
    width: 499px; 
    padding: 5px 0px 5px 10px;
}

#studyguide h1 .subtitle{
    font-size: 17px;
    color: #0b244f;
    display: block;
}

#studyguide .contentLeft {
    float: left;
    margin-right: 25px;
    width: 250px;
}

#studyguide .contentLeft2 {
    float: left;
    margin-right: 25px;
    width: 370px;
}

#studyguide em {
    color: #CC3333;
    font-style: normal;
    font-weight: bold;
}

#studyguide .textRight em {
    font-size: 16px;
}

#studyguide .textRight {
    text-align: right;
}

#studyguide table.table1 {
    width: 511px;
    text-align: center;
}

#studyguide table {
    text-align: center;
}

#studyguide ol.letter {
    list-style-type: upper-alpha;
}

#studyguide ol.letterSmall {
    list-style-type: lower-alpha;
}

#studyguide ol.customList {
    list-style-type: none;
	padding-left: 77px;
	text-indent: -50px;
}

ul {
    list-style-type: disc;  
}

ul.noBullet {
    list-style-type: none;
}

ul.noBullet li {
    padding-top: 10px;
}

.noBulletSpace {
    padding-top: 0px !important;
}

#studyguide img.imgRight {
    float: right;
    padding: 0 0 10px 10px;
}

#studyguide img.imgLeft {
    float: left;
    padding: 0 10px 10px 0 ;
}

.imgCenter {
    margin-left: 50px;
}

.floatLeft {
    float: left;
    margin-right:68px;
}

.floatLeft p, .floatRight p {
    text-align: center;
}

.floatRight {
    float: left;
    margin-right:20px;
}

.clear {
    clear: left;
}

#sailPlan {
    border: solid 1px #000;
    width: 515px;
    padding: 15px;
}

.video {
    margin: 20px 0px 20px 65px;
}


/*   STUDY GUIDE NAVIGATION    */
.nav {width:511px; height:32px; position:relative; z-index:100; border-right:1px solid #000; font-family:arial, sans-serif;}
/* hack to correct IE5.5 faulty box model */
* html .nav {width:512px; w\idth:511px;}
/* remove all the bullets, borders and padding from the default list styling */
.nav ul {padding:0; margin:0; list-style-type:none;}
.nav ul ul {width:80px;}
/* float the list to make it horizontal and a relative positon so that you can control the dropdown menu positon */
.nav li {float:left; width:102px; position:relative; text-align: center; padding: 0px;}
/* style the links for the top level */
.nav a, .nav a:visited {display:block; font-size:12px; text-decoration:none; color:#000; width:102px; height:30px; border:1px solid #000; border-width:1px 0 1px 1px; background:#ddf0ff; line-height:29px; font-weight:bold;}
/* a hack so that IE5.5 faulty box model is corrected */
* html .nav a, * html .nav a:visited {width:102px; w\idth:101px;}
 
/* hide the sub levels and give them a positon absolute so that they take up no room */
.nav ul ul {visibility: hidden; position:absolute; height:0 ;top:31px; left:0px; width:80px; border-top:1px solid #000;}
 
/* style the table so that it takes no part in the layout - required for IE to work */
.nav table {position:absolute; top:0; left:0; border-collapse:collapse;}
 
/* style the second level links */
.nav ul ul a, .nav ul ul a:visited {background:#fcfde5; color:#000; height:auto; line-height:1em; padding:5px 10px; width:81px; border-width:0 1px 1px 1px;}
 
/* style the top level hover */
.nav a:hover, .nav ul ul a:hover{color:#000; background:#e3e3e3;}
.nav :hover > a, .nav ul ul :hover > a {color:#000; background:#e3e3e3;}
 
/* make the second level visible when hover on first level list OR link */
.nav ul li:hover ul,
.nav ul a:hover ul{visibility:visible; }

.button,.button:visited {
    font: 700 18px "myriad-pro-condensed-1","myriad-pro-condensed-2",Arial,Sans-serif;
    padding: .25em 1em;
    margin: 3px;
    display:inline-block;
    width:auto;       /* ie 6/7 width fix */
    overflow:visible; /* ie 6/7 width fix */
    outline:0;
    border: 1px solid #000;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px; 
    border-radius: 5px; 
    -webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5),
        inset 0px 1px 0px rgba(255, 255, 255, 0.5);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5),
        inset 0px 1px 0px rgba(255, 255, 255, 0.5);
    background-image: -webkit-gradient(linear, left top, left bottom,
            color-stop(0.0, rgba(255, 255, 255, 0.8)),
            color-stop(0.01, rgba(255, 255, 255, 0.6)),
            color-stop(0.5, rgba(255, 255, 255, 0.3)),
            color-stop(0.5, rgba(255, 255, 255, 0.2)),
            color-stop(1.0, rgba(255, 255, 255, 0.0)));
    background-image: -moz-linear-gradient(top,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.0) 100%);
    background-image: -o-linear-gradient(top,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.0) 100%);             
    background-color: #000;
    color: #fff !important;
    text-shadow: 0px 0px 4px rgba(0,0,0,0.80);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    cursor:pointer;
}
