html,body {
      margin: 0;
      padding: 0;
      text-align: center;
      font-size: 14px;
      background: #FFF url(../images/border.jpg) repeat-y center;
}
    
img { border: none; }
a { text-decoration: none; color: #2965a6; font-weight: bold;}
a:hover { text-decoration: underline; color: #fca00e; }

/*---------- Divs ----------*/
#header {
      background: url(../images/header.jpg) no-repeat center;
      height: 120px;
      width: 100%;
      margin: 0 auto;
}

#logo{
      padding-top: 30px;
      margin: 0 auto;
      width: 850px;
}
html>body #logo { width: 850px }  /* for opera */

#logo a:hover {
      text-decoration: none;
}

#logo a {
      float: left;
      background: url(../images/logo.png) no-repeat 0px 0px;
      width: 850px;
      height: 85px;
}

#container {
      width: 890px;
      overflow: hidden;
      text-align: left;
      font-size: 90% ;
      margin: 0px auto;
      border-top: 3px solid #6fb2e6;
      border-bottom: 3px solid #ffb93f;
      background: #e5e5e5;
	  padding-bottom: 20px;
}
#container:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
    font-size: 0.1em;
}


#content{
      float: right;
      width: 630px;
      background: #fff url(../images/nav-edge.jpg) repeat-y;
      padding-bottom: 40px;
      min-height: 380px;
}

#maincontent {
      float: right;
      padding: 30px 20px 0px 20px;
      overflow: hidden;
      width: 550px; 
}
.box {
	padding-bottom: 20px;
}
.box:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
    font-size: 0.1em;
}

.imgleft {
	float: left;
	max-width: 280px;
	height: auto;
	margin: 0 10px 10px 0;
}
.imgright {
	float: right;
	max-width: 280px;
	height: auto;
	margin: 0 0 10px 10px;
}
.image {
	float: none;
	max-width: 100%;
	height: auto;
	margin: 0 0 10px 0;
}


#rightdiv{
      padding-top: 30px;
      float: right;
      width: 230px;
}

#rightdiv img{
      padding: 1px;
      border: 1px solid #6fb2e6;
}

#news{
      width: 210px;
      margin: 0 auto;
}

/*---------- Navigation Menu ----------*/
#navcontainer {
      padding-top: 30px;
      padding-left: 15px;
      min-height: 380px;
      float: left;
      overflow: hidden;
      width: 240px;
}
* html #navcontainer {height: 380px;}

.nav {
      width: 230px;
      position: relative;
      list-style-type: none;
      margin: 0;
      padding: 0px;
      font-size: 105%;
}

.nav li {
      text-align: left;
      margin: 3px 1px;
      padding: 0;
      
}

.nav li a {
      border: 1px solid #52a3e2;
      display: block;
      padding: 4px 0 4px 10px;
      background: #6fb2e6;
      color: #e5ffff;
      font-weight: bold;
      text-decoration: none;
      width: 200px;
}

.nav li a:hover {
      background: #ffb93f;
      color: #949494;
      font-weight: bold;
      cursor: pointer;
}
.navti {
	font-size: 14px;
	font-weight: bold;
	padding: 4px 0;
}

/*---------- Footer ----------*/
#footer {
      height: 30px;
      margin: 0 auto;
      padding: 10px 0 10px 0;
      font-size: 80%;
      text-align: center;
      color: #6a6666;
      width: 890px;
      background: #fff;
}

#footertextleft{
      margin-left: 10px;
      text-align: left;
      width: 450px;
      float: left;
}

#footertextright{
      margin-right: 10px;
      text-align: right;
      width: 350px;
      float: right;
}

/*---------- Headings ----------*/
h1 { 
      padding-top: 0;
      margin-top: 0;  
      font: 120% Arial;
      font-weight: bold;
      color: #5c94bf;
}

.box h1 {
	font-weight: bold;
      font-size: 26px; 
	  color: #5c94bf;
}
.box h2 {
	font-weight: bold;
      font-size: 24px;
	  color: #5c94bf;
}
.box h3 {
	font-weight: bold;
      font-size: 22px;
	  color: #5c94bf; 
}
.box h4 {
	font-weight: bold;
      font-size: 21px;
	  color: #5c94bf;
}


h2 {
      padding-top: 0px;
      margin-top: 0px;
      font: 110% arial;
      font-weight: bold;
      color: #5c94bf;
}

/*---------- Classes ----------*/
.underline{
      padding-bottom: 3px;
      width: 180px;
      border-bottom: 2px solid #ffb93f;
}

.subheading{
      font-weight: bold;
}

.submitbox{
      width: 215px;
      background: #b8d1e4;
      padding: 5px;
      text-align: left;
      border: 1px solid #e5e5e5;
}

.submitbox p{
      margin-top: 3px;
      margin-bottom: 5px;
}

.submitbox button{
      font-size: 95%;
      background: #e5e5e5;
      color: #949494;
      border: none;
      padding: 3px 8px;
      font-weight: bold;
}

#maincontent ul{
      list-style-image: url(../images/bullet.png)}

.advert{
      width: 160px;
      padding: 5px;
      background: #fff;
      border: 1px solid #c8c8c8;
}









@media screen and (max-width: 680px) {

html,body {
      margin: 0;
      padding: 0;
      text-align: center;
      font-size: 14px;
	  background-image: none;
}
    
img { border: none; }
a { text-decoration: none; color: #2965a6; font-weight: bold;}
a:hover { text-decoration: underline; color: #fca00e; }

/*---------- Divs ----------*/
#header {
      background: url("../images/header.jpg") no-repeat right;
      height: 120px;
      width: 100%;
      margin: 0 auto;
}

#logo{
      padding-top: 30px;
      margin: 0 auto;
      width: 100%;
}
html>body #logo { width: 100% }  /* for opera */

#logo a:hover {
      text-decoration: none;
}

#logo a {
      float: left;
      background: url("../images/logo.png") no-repeat 0px 0px;
      width: 100%;
      height: 85px;
}

#container {
      width: 100%;
      overflow: hidden;
      text-align: left;
      font-size: 100% ;
      margin: 0px auto;
      border-top: 3px solid #6fb2e6;
      border-bottom: 3px solid #ffb93f;
      background: #e5e5e5;
	  padding-bottom: 20px;
}
#container:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
    font-size: 0.1em;
}


#content{
      float: none;
      width: 100%;
      background: #fff url(../images/nav-edge.jpg) repeat-y;
      padding-bottom: 40px;
      min-height: 380px;
}

#maincontent {
      float: none;
      padding: 30px 10px 0px 10px;
      overflow: hidden;
      width: calc(100% - 20px); 
}
.box {
	padding-bottom: 20px;
}
.box:after {
    content: "";
    clear: both;
    height: 0;
    display: block;
    visibility: hidden;
    font-size: 0.1em;
}

.imgleft {
	float: left;
	max-width: 45%;
	height: auto;
	margin: 0 10px 10px 0;
}
.imgright {
	float: right;
	max-width: 45%;
	height: auto;
	margin: 0 0 10px 10px;
}
.image {
	float: none;
	max-width: 100%;
	height: auto;
	margin: 0 0 10px 0;
}


#rightdiv{
      padding-top: 30px;
      float: none;
      width: 100%;
}

#rightdiv img{
      padding: 1px;
      border: 1px solid #6fb2e6;
}

#news{
      width: 210px;
      margin: 0 auto;
}

/*---------- Navigation Menu ----------*/
#navcontainer {
      padding-top: 30px;
      padding-left: 15px;
	  padding-right: 15px;
      min-height: 380px;
      float: none;
      overflow: hidden;
      width: calc(100% - 30px);
}
* html #navcontainer {height: 380px;}

.nav {
      width: 100%;
      position: relative;
      list-style-type: none;
      margin: 0;
      padding: 0px;
      font-size: 105%;
}

.nav li {
      text-align: left;
      margin: 6px 1px;
      padding: 0;
      
}

.nav li a {
      border: 1px solid #52a3e2;
      display: block;
      padding: 8px 0 8px 10px;
      background: #6fb2e6;
      color: #e5ffff;
      font-weight: bold;
      text-decoration: none;
      width: calc(100% - 10px);
}

.nav li a:hover {
      background: #ffb93f;
      color: #949494;
      font-weight: bold;
      cursor: pointer;
}
.navti {
	font-size: 14px;
	font-weight: bold;
	padding: 4px 0;
}

/*---------- Footer ----------*/
#footer {
      height: 30px;
      margin: 0 auto;
      padding: 10px 0 10px 0;
      font-size: 80%;
      text-align: center;
      color: #6a6666;
      width: 100%;
      background: #fff;
}

#footertextleft{
      margin-left: 10px;
      text-align: left;
      width: calc(100% - 10px);
      float: none;
}

#footertextright{
      margin-right: 10px;
      text-align: right;
      width: calc(100% - 10px);
      float: none;
}

/*---------- Headings ----------*/
h1 { 
      padding-top: 0;
      margin-top: 0;  
      font: 120% Arial;
      font-weight: bold;
      color: #5c94bf;
}

.box h1 {
	font-weight: bold;
      font-size: 26px; 
	  color: #5c94bf;
}
.box h2 {
	font-weight: bold;
      font-size: 24px;
	  color: #5c94bf;
}
.box h3 {
	font-weight: bold;
      font-size: 22px;
	  color: #5c94bf; 
}
.box h4 {
	font-weight: bold;
      font-size: 21px;
	  color: #5c94bf;
}


h2 {
      padding-top: 0px;
      margin-top: 0px;
      font: 110% arial;
      font-weight: bold;
      color: #5c94bf;
}

/*---------- Classes ----------*/
.underline{
      padding-bottom: 3px;
      width: 180px;
      border-bottom: 2px solid #ffb93f;
}

.subheading{
      font-weight: bold;
}

.submitbox{
      width: 215px;
      background: #b8d1e4;
      padding: 5px;
      text-align: left;
      border: 1px solid #e5e5e5;
}

.submitbox p{
      margin-top: 3px;
      margin-bottom: 5px;
}

.submitbox button{
      font-size: 95%;
      background: #e5e5e5;
      color: #949494;
      border: none;
      padding: 3px 8px;
      font-weight: bold;
}

#maincontent ul{
      list-style-image: url(../images/bullet.png)
}

.advert{
      width: 160px;
      padding: 5px;
      background: #fff;
      border: 1px solid #c8c8c8;
}


}
