html
{ height: 100%;}

*
{ margin: 0;
    padding: 0;}

body
{ font: normal .80em 'trebuchet ms', arial, sans-serif;
    background: #F0EFE2;
    color: #777;}

p
{ padding: 0 0 5px 0;}

.requiredAlert
{ padding: 0 0 0 0;
    color: red;
    visibility: hidden;
}

div.container {
    box-sizing: border-box;
    width: auto;
    height: auto;
    border: 1px solid green;
    margin-top: 50px;
}

div.box, div.innerBox  {
    box-sizing: border-box;
    width: auto;
    height: auto;
    border: 1px solid red;
    float: left;
}

div.box {
    margin-top: 20px;
}

div.innerBox {
    margin-top: 5px;
}

img
{ border: 0;}

h1, h2, h3, h4, h5, h6
{ font: normal 175% 'century gothic', arial, sans-serif;
    color: #43423F;
    margin: 0 0 15px 0;
    padding: 15px 0 5px 0;}

h2
{ font: normal 175% 'century gothic', arial, sans-serif;
    color: #1293EE;}

h4, h5, h6
{ margin: 0;
    padding: 0 0 5px 0;
    font: normal 120% arial, sans-serif;
    color: #1293EE;}

h5, h6
{ font: italic 95% arial, sans-serif;
    padding: 0 0 15px 0;
    color: #000;}

h6
{ color: #362C20;}

a, a:hover
{ outline: none;
    text-decoration: underline;
    color: #A4AA04;}

a:hover
{ text-decoration: none; color: red;}

.left
{ float: left;
    width: auto;
    margin-right: 10px;}

.right
{ float: right;
    width: auto;
    margin-left: 10px;}

.center
{ display: block;
    text-align: center;
    margin: 20px auto;}

blockquote
{ margin: 20px 0;
    padding: 10px 20px 0 20px;
    border: 1px solid #E5E5DB;
    background: #FFF;}

ul
{ margin: 2px 0 22px 17px;}

ul li
{ margin: 0 0 6px 0;
    padding: 0 0 4px 5px;}

ol
{ margin: 8px 0 22px 20px;}

ol li
{ margin: 0 0 11px 0;}

#main, #logo, #site_content, #footer, #cssmenu
{ margin-left: auto;
    margin-right: auto;}

#header
{ background: #7f7b7b url(b2.jpg) no-repeat;
    height: 221px;}

#logo
{ width: 880px;
    position: relative;
    height: 168px;
    background: #9f9b9b url(sub2.jpg) no-repeat;
	opacity: 0.8;}

#logo_text
{ position: absolute;
    top: 10px;
    left: 65px;}

#logo_pic
{ position: absolute;
    top: 35px;
    left: 0px;
	color: #050505;}

#logo h1
{ font: bold 300% 'Bookman Old Style', 'Times New Roman', 'century gothic', 'arial', 'sans-serif';
    border-bottom: 0;
    text-transform: none;
    margin: 0;}

#logo h2
{ font: bold 300% 'Comic Sans MS', 'Bookman Old Style', 'Times New Roman', 'century gothic', 'arial', 'sans-serif';
    border-bottom: 0;
    text-transform: none;
    margin: 0;}

#logo_text h1, #logo_text h1 a, #logo_text h1 a:hover
{ padding: 22px 0 0 0;
    color: #050505;
    letter-spacing: 0.1em;
    text-decoration: none;}

#logo_text h1 a .logo_colour
{ color: #050505;}

#logo_text h2
{ font-size: 100%;
    padding: 4px 0 0 0;
    color: #050505;
    letter-spacing: 2px;
    word-spacing: 4px;
}


#site_content
{ width: 837px;
    overflow: hidden;
    margin: 0 auto 0 auto;
    padding: 20px 24px 20px 37px;
    background: #FFF url(content.png) repeat-y;}

.sidebar
{ float: right;
    width: 190px;
    padding: 0 15px 20px 15px;}

.sidebar ul
{ width: 178px;
    padding: 4px 0 0 0;
    margin: 4px 0 30px 0;}

.sidebar li
{ list-style: none;
    padding: 0 0 7px 0; }

.sidebar li a, .sidebar li a:hover
{ padding: 0 0 0 40px;
    display: block;
    background: transparent url(link.png) no-repeat left center;}

.sidebar li a.selected
{ color: #444;
    text-decoration: none;}

#content
{ text-align: left;
    width: 595px;
    padding: 0;}

#content ul
{ margin: 2px 0 22px 0px;}

#content ul li
{ list-style-type: none;
    background: url(bullet.png) no-repeat;
    margin: 0 0 6px 0;
    padding: 0 0 4px 25px;
    line-height: 1.5em;}

#footer
{ width: 878px;
    font: normal 100% 'lucida sans unicode', arial, sans-serif;
    height: auto;
    padding: 24px 0 5px 0;
    text-align: center;
    background: #29425E url(footer.png) repeat-x;
    color: #FFF;
    letter-spacing: 0.1em;}

#footer a
{ color: #FFF;
    text-decoration: none;}

#footer a:hover
{ color: #FFF;
    text-decoration: underline;}

.search
{ color: #5D5D5D;
    border: 1px solid #BBB;
    width: 134px;
    padding: 4px;
    font: 100% arial, sans-serif;}

#colours
{ height: 0px;
    text-align: right;
    padding: 66px 16px 0px 300px;}

.form_settings
{ margin: 15px 0 0 0;}

.form_settings p
{ padding: 0 0 4px 0;}

.form_settings span
{ float: left;
    width: 200px;
    text-align: left;}

.form_settings input, .form_settings textarea
{ padding: 5px;
    width: 299px;
    font: 100% arial;
    border: 1px solid #E5E5DB;
    background: #FFF;
    color: #47433F;}

.form_settings .submit
{ font: 100% arial;
    border: 1px solid;
    width: 99px;
    margin: 0 0 0 212px;
    height: 33px;
    padding: 2px 0 3px 0;
    cursor: pointer;
    background: #5B7102;
    color: #FFF;}

.form_settings textarea, .form_settings select
{ font: 100% arial;
    width: 299px;}

.form_settings select
{ width: 310px;}

.form_settings .checkbox
{ margin: 4px 0;
    padding: 0;
    width: 14px;
    border: 0;
    background: none;}

.separator
{ width: 100%;
    height: 0;
    border-top: 1px solid #D9D5CF;
    border-bottom: 1px solid #FFF;
    margin: 0 0 20px 0;}

table
{ margin: 1px 0 0 0;
}

table tr th, table tr td
{ background: #3B3B3B;
    color: #FFF;
    padding: 7px 4px;
    text-align: left;}

table tr td
{ background: #F0EFE2;
    color: #47433F;
    border-top: 1px solid #FFF;}

/* Search  */
#registeredHeader{
    position: relative;
    float:right;
    width: 500px;
    height: 100px;
    top: 50px;
    padding: 2px;
}
#userLogForm, #userStatusForm, #searchForm, #loginForm{
    float:right;
    padding:2px 2px;
}

#userLogForm span, #userStatusForm span, #searchForm span, #loginForm span, #registrationLink{
    color: #CDF63E;
}

#keepLoggedInCheckBox{
    float:left;
    position: relative;
    top: 6px;
}
#registrationLink{
    float:right;
    padding:2px;
}
#loginButton, #registrationLink, #keepLoggedInText{
    position: relative;
    top: 2px;
}

.searchText, #phemail, #password{
    margin: 0;
    padding: 2px 8px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:13px;
    border:1px solid #669900; border-right:0px;
}
.searchButton, .logoutButton, .statusButton, .loginButton {
    margin: 0;
    padding: 2px 3px;
    font-family: Arial, Helvetica, sans-serif;
    font-size:13px;
    width: 50px;
    outline: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border: solid 1px #669900; border-right:0;
    background: #99CC00;
    background: -webkit-gradient(linear, left top, left bottom, from(#99CC00), to(#669900));
    background: -moz-linear-gradient(top,  #669900,  #99CC00);
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
}
#password {
    border-top-right-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
}
.logoutButton, .statusButton, .searchText, #phemail, .loginButton {
    border-top-left-radius: 5px 5px;
    border-bottom-left-radius: 5px 5px;
}
.searchButton:hover, .logoutButton:hover, .statusButton:hover, .loginButton:hover  {
    text-decoration: none;
    background: #99CC00;
    background: -webkit-gradient(linear, left top, left bottom, from(#669900), to(#99CC00));
    background: -moz-linear-gradient(top,  #99CC00,  #669900);
}
/* Fixes submit button height problem in Firefox */
.searchButton::-moz-focus-inner {
    border: 0;
}
.clearSearchForm{
    clear:both;
}
/* Search End*/


#cssmenu ul,
#cssmenu li,
#cssmenu span,
#cssmenu a {
    margin: 0;
    padding: 0;
    position: relative;
}
#cssmenu {
    line-height: 1;
    border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    -webkit-border-radius: 5px 5px 0 0;
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    border-bottom: 2px solid #669900;
    width: 877px;
}
#cssmenu:after,
#cssmenu ul:after {
    content: '';
    display: block;
    clear: both;
}
#cssmenu a {
    background: #ffffff;
    background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100%);
    color: #ffffff;
    display: block;
    font-family: Helvetica, Arial, Verdana, sans-serif;
    padding: 19px 20px;
    text-decoration: none;
}
#cssmenu ul {
    list-style: none;
}
#cssmenu > ul > li {
    display: inline-block;
    float: left;
    margin: 0;
}
#cssmenu.align-center {
    text-align: center;
}
#cssmenu.align-center > ul > li {
    float: none;
}
#cssmenu.align-center ul ul {
    text-align: left;
}
#cssmenu.align-right > ul {
    float: right;
}
#cssmenu.align-right ul ul {
    text-align: right;
}
#cssmenu > ul > li > a {
    color: #000000;
    font-size: 12px;
}
#cssmenu > ul > li:hover:after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #669900;
    margin-left: -10px;
}
#cssmenu > ul > li:first-child > a {
    border-radius: 5px 0 0 0;
    -moz-border-radius: 5px 0 0 0;
    -webkit-border-radius: 5px 0 0 0;
}
#cssmenu.align-right > ul > li:first-child > a,
#cssmenu.align-center > ul > li:first-child > a {
    border-radius: 0;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
}
#cssmenu.align-right > ul > li:last-child > a {
    border-radius: 0 5px 0 0;
    -moz-border-radius: 0 5px 0 0;
    -webkit-border-radius: 0 5px 0 0;
}
#cssmenu > ul > li.active > a,
#cssmenu > ul > li:hover > a {
    color: #000000;
    box-shadow: inset 0 0 3px #d9d9d9;
    -moz-box-shadow: inset 0 0 3px #d9d9d9;
    -webkit-box-shadow: inset 0 0 3px #d9d9d9;
    background: #f2f2f2;
    background: -moz-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ffffff), color-stop(100%, #f2f2f2));
    background: -webkit-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
    background: -o-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
    background: -ms-linear-gradient(top, #ffffff 0%, #f2f2f2 100%);
    background: linear-gradient(to bottom, #ffffff 0%, #f2f2f2 100%);
}
#cssmenu .has-sub {
    z-index: 1;
}
#cssmenu .has-sub:hover > ul {
    display: block;
}
#cssmenu .has-sub ul {
    display: none;
    position: absolute;
    width: 200px;
    top: 100%;
    left: 0;
}
#cssmenu.align-right .has-sub ul {
    left: auto;
    right: 0;
}
#cssmenu .has-sub ul li {
    *margin-bottom: -1px;
}
#cssmenu .has-sub ul li a {
    background: #669900;
    border-bottom: 1px dotted #99CC00;
    font-size: 11px;
    filter: none;
    display: block;
    line-height: 120%;
    padding: 10px;
    color: #ffffff;
}
#cssmenu .has-sub ul li:hover a {
    background: #5C8A00;
}
#cssmenu ul ul li:hover > a {
    color: #ffffff;
}
#cssmenu .has-sub .has-sub:hover > ul {
    display: block;
}
#cssmenu .has-sub .has-sub ul {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
}
#cssmenu.align-right .has-sub .has-sub ul,
#cssmenu.align-right ul ul ul {
    left: auto;
    right: 100%;
}
#cssmenu .has-sub .has-sub ul li a{
    background: #5C8A00;
    border-bottom: 1px dotted #99CC00;
}
#cssmenu .has-sub .has-sub ul li a:hover {
    background: #537C00;
}
#cssmenu ul ul li.last > a,
#cssmenu ul ul li:last-child > a,
#cssmenu ul ul ul li.last > a,
#cssmenu ul ul ul li:last-child > a,
#cssmenu .has-sub ul li:last-child > a,
#cssmenu .has-sub ul li.last > a {
    border-bottom: 0;
}
