/*
  sv5 Layout
  Created: LEX, 2009-2010
*/
body {
  font: 85%/1.3 Arial, "Helvetica Neue", Helvetica, sans-serif;
  color: rgb(0,0,0);
  background: rgb(245,245,245);
}
h1, p.h1, h2, h3, h4, dt, #servername, #servertitle {
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}
h1, p.h1 {
  margin: 0 0 0.5em 0;
  color: rgb(204,17,0);
  font-size: 2.8em;  
}
h2 {
  margin: 0.8em 0 0.6em 0;
  color: rgb(102,102,102);
  font-size: 1.8em;  
}
h3 {
  margin: 0.6em 0 0.6em 0;
  color: rgb(102,102,102);
  font-size: 1.35em;  
}
h4, dt, .motto {
  margin: 0.6em 0 0.6em 0;
  color: rgb(80,80,80);
  font-size: 1.1em;  
}
h1 .subheading { font-size: 70%; color: rgb(153,0,0);     font-style: italic; }
h2 .subheading { font-size: 80%; color: rgb(102,102,102); font-style: italic; }

p, ol, ul {
  margin: 0 0 0.6em 0;
}
li {
  margin: 0 0 0.1em 1.2em;
}
dt {
  font-size: 1.0em;
  font-weight: bold;
}
dd, blockquote {
  margin: 0 0 0.6em 2em;
}
a img { border: none; }


.clearboth { clear: both; }
.centered  { text-align: center; }
.raligned  { text-align: right; }
.small, small { font-size: 85%; }
.arrow {
  color: rgb(204,17,0);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-weight: 900;
}
img.floatleft {
  float: left;
  margin: 3px 10px 6px 0;
}
img.floatright {
  float: right;
  margin: 3px 0 6px 10px;
}

p.clearboth {
  margin: 0; height: 10px; font-size: 5px;
}


/* LAYOUT ELEMENTS */

#top {
  display: block;  position: absolute;
  top: 0; left:0;  width: 1px;  height: 1px;
}
#page {
}
#header, #header2, .hbar, .leaderbox0, #wrapper, #bottom {
  width: 770px;
  margin: 0 auto;
}
.w960px #header, .w960px #header2, .w960px .hbar, .w960px .leaderbox0, .w960px #wrapper, .w960px #bottom,
.cols2  #header, .cols2  #header2, .cols2  .hbar, .cols2  .leaderbox0, .cols2  #wrapper, .cols2  #bottom {
  width: 960px;
}
#header0 {
 background: rgb(102,102,102);
}
#header {
  position: relative;
  background: rgb(51,51,51);
}
#header img {
  position: absolute;
  top: 10px; left: 10px;
}
#servername {
  margin: 0; 
  padding: 8px 10px 8px 200px;
  font-size: 0.9em;
  color: rgb(255,240,204);
  letter-spacing: 1px;
}
#header20 {
  background: rgb(102,102,102);
}
#header2 {
  height: 80px;
  background: rgb(51,51,51);
  overflow: hidden;
}
body.logo160x160 #header2 {
  height: 120px;
} 
#servertitle {
  margin: 0;
  font-size: 2.2em;
  padding: 10px 10px 0 200px;
  color: rgb(255,224,102);
  letter-spacing: 1px;
  font-style: normal;
  font-weight: bold;
}
#slogan {
  font-size: 1.2em;
  padding: 0px 10px 2px 200px;
  color: rgb(255,240,204);
  letter-spacing: 1px;
  font-style: italic;
  font-weight: bold;
}
body.logo160x160 #servertitle {
  font-size: 3.0em;
  padding-top: 18px;
} 
body.logo160x160 #slogan {
  font-size: 1.5em;
}
.hbar0 {
  background: rgb(224,224,224);
}
.hbar {
  background: rgb(204,204,204);
  color: rgb(102,102,102);
}
.hbar p {
  margin: 0;
  padding: 5px 10px 5px 200px;
}

.wmenu300 #servername, .wmenu300 #servertitle, .wmenu300 #slogan, .wmenu300 .hbar p {
  padding-left: 340px;
}
.wmenu250 #servername, .wmenu250 #servertitle, .wmenu250 #slogan, .wmenu250 .hbar p {
  padding-left: 290px;
}

div.hheader #header2 {
  height: 110px;
}
body.logo160x160 div.hheader #header2 {
  height: 150px;
} 
div.hheader #servertitle {
  padding-top: 12px;
}
body.logo160x160 div.hheader #servertitle {
  padding-top: 24px;
}
div.hheader .hbar p {
  padding-left: 10px;
}
body.rightmenu div.hheader .hbar p {
  padding-left: 0;
}
.leaderbox0  {
  background-color: white;
  border: none;
  border-bottom:  1px solid rgb(204,202,204);
}
.leaderbox  {
  padding: 10px 9px 10px 9px;
  border-left:  1px solid rgb(204,204,204);
  border-right: 1px solid rgb(204,204,204);
}
body.noleaderbox .leaderbox0  {
  display: none;
}
body.rightmenu .leaderbox  {
  padding: 10px 9px 10px 9px;
}
#wrapper0 {
  background: rgb(245,245,245);
}
#wrapper {
  background: white url("imgsys/bgwrap-770-left.png") repeat-y left top;
}

.wmenu300 #wrapper     { background: white url("imgsys/bgwrap-770-w300left.png") repeat-y left top; }
.wmenu250 #wrapper     { background: white url("imgsys/bgwrap-770-w250left.png") repeat-y left top; }

.sidebox1 { 
  float: left;
  width: 180px;
}
.wmenu300 .sidebox1 { width: 320px; }
.wmenu250 .sidebox1 { width: 270px; }

.sidebox2 {  
  float: left;
  width: 180px;
  display: none;
}
.mainbox { 
  float: right;
  width: 580px;
}
.wmenu300 .mainbox { width: 440px; }
.wmenu250 .mainbox { width: 490px; }

p.gotop {
  clear: both;
  margin: 0;
  padding: 5px 10px 10px 10px;
  text-align: right;
}
.w960px #wrapper     { background: white url("imgsys/bgwrap-960-left.png") repeat-y left top; }
.w960px .wmenu300 #wrapper     { background: white url("imgsys/bgwrap-960-w300left.png") repeat-y left top; }
.w960px .wmenu250 #wrapper     { background: white url("imgsys/bgwrap-960-w250left.png") repeat-y left top; }
.w960px .mainbox     { width: 770px; }
.w960px .wmenu300 .mainbox     { width: 630px; }
.w960px .wmenu250 .mainbox     { width: 680px; }

.rightmenu #wrapper  { background: white url("imgsys/bgwrap-770-right.png") repeat-y right top; }
.rightmenu .wmenu300 #wrapper     { background: white url("imgsys/bgwrap-770-w300right.png") repeat-y right top; }
.rightmenu .wmenu250 #wrapper     { background: white url("imgsys/bgwrap-770-w250right.png") repeat-y right top; }
.rightmenu .w960px #wrapper  { background: white url("imgsys/bgwrap-960-right.png") repeat-y right top; }
.rightmenu .w960px .wmenu300 #wrapper     { background: white url("imgsys/bgwrap-960-w300right.png") repeat-y right top; }
.rightmenu .w960px .wmenu250 #wrapper     { background: white url("imgsys/bgwrap-960-w250right.png") repeat-y right top; }

.rightmenu .sidebox1 { float: right; }
.rightmenu .sidebox2 { float: right; }
.rightmenu .mainbox  { float: left; }
.rightmenu p.gotop   { padding-right: 200px; }
.rightmenu .wmenu300 p.gotop   { padding-right: 340px; }
.rightmenu .wmenu250 p.gotop   { padding-right: 290px; }

.cols2 .sidebox2  { display: block; }
.cols2 #wrapper   { background: white url("imgsys/bgwrap-960-2c-left.png") repeat-y left top; }
.cols2 .mainbox   { width: 590px; }
.cols2 div.rightmenu #wrapper  { background: white url("imgsys/bgwrap-960-2c-right.png") repeat-y right top; }
.cols2 div.rightmenu p.gotop   { padding-right: 380px; }
.cols0 .sidebox1 { display: none; }
.cols0 #wrapper  { background: white; }
.cols0 .mainbox  { width: inherit; }
.cols0 div.rightmenu p.gotop   { padding-right: 0px; }


.rside #wrapper  { position: relative; }
.rside .sidebox2 { display: block; position: absolute; top: 40px; right: 0; border: 1px solid silver; background: #ffeeee; margin: 0; }

.rside  .mainbox     { width: 380px; margin-right:200px; }
.rside  .wmenu300 .mainbox     { width: 240px; margin-right:200px;}
.rside  .wmenu250 .mainbox     { width: 290px; margin-right:200px;}

.rside  .mainbox     { width: 388px; margin-right:192px; }
.rside  .wmenu300 .mainbox     { width: 248px; margin-right:192px;}
.rside  .wmenu250 .mainbox     { width: 298px; margin-right:192px;}

.rside .w960px .mainbox     { width: 570px; margin-right:190px; }
.rside .w960px .wmenu300 .mainbox     { width: 438px; margin-right:192px;}
.rside .w960px .wmenu250 .mainbox     { width: 488px; margin-right:192px; }


.container {
  padding: 10px;
}
.sidebox1 .container {
  padding-bottom: 0px;
}
.menubox, .whitebox {
  margin: 0 0 20px 0;
  padding: 0 0 4px 0;
  font-size: 90%;
}
.menubox {
  background-color: white;
  border: 1px solid rgb(204,204,204);
}
.menubox h3 {
  margin: 0 0 10px 0; 
  padding: 2px 6px 2px 6px;
  background: rgb(204,204,204);
}
.active h3 {
  color: rgb(153,0,0);
  background: rgb(204,204,204);
}
.menubox h4 {
  margin: 10px 0 8px 0; 
  padding: 3px 6px 3px 6px;
  color: rgb(80,80,80);
  background: rgb(232,232,232);
  font-weight: normal;
}
.menubox h4.strong {
  font-weight: bold;
  color: rgb(20,40,80);
  background: rgb(244,226,240);
}
.menubox ul {
  margin: 8px 0 6px 0; 
  padding: 0 8px;
}
.menubox ul.bottomborder {
  padding-bottom: 8px;
  border-bottom: 2px solid rgb(232,232,232);
}
.menubox ul.topborder {
  padding-top: 8px;
  border-top: 2px solid rgb(232,232,232);
}
.menubox li {
  list-style: square;
}
.menubox hr {
  display: none;
}
.whitebox {
}
.whitebox h3 {
  margin: 1px 0 6px 0; 
  padding: 0 0 1px 0;
  border-bottom: 3px double silver;
}
.whitebox h4 {
  margin: 6px 0 2px 0; 
  padding: 0;
  border-bottom: 0px solid silver;
}
.whitebox ul {
  margin: 0 0 6px 0px; 
  padding: 0;
}
.whitebox li {
  list-style: square;
}


.linkbox, .linkbox2 {
  xwidth: 160px;
}
.linkbox h3, .linkbox2 h3  {
  margin: 16px 0 12px 0;
  padding: 1px 2px;
  font-size: 14px;
  color: rgb(102,102,128);
  background-color: rgb(224,224,224);
  text-decoration: none; 
}
.linkbox h4, .linkbox2 h4  {
  margin: 12px 0 2px 0;
  padding: 1px 2px;
  font-size: 12px;
  line-height: 16px;
  color: black;
  background-color: rgb(238,238,238);
}
.linkbox2 h4  {
  margin: 12px 0 4px 0;
  font-size: 13px;
  line-height: 17px;
}
.linkbox h4 a, .linkbox2 h4 a {
  color: black;
}


.linkbox ul, .linkbox2 ul {
  margin: 0 12px 0 0;
}
.linkbox2 ul {
  margin: 0 12px 0 2px;
  border-left: 2px dotted silver;
}
.linkbox li, .linkbox2 li {
  margin: 0 0 0 8px;
  list-style-type: none;
  font-size: 12px;
  line-height: 16px
}
.linkbox2 li {
  margin: 0 0 0 8px;
  font-size: 13px;
  line-height: 17px
}




#bottom0 {
  background: rgb(224,224,224);
}
#bottom {
  background: rgb(204,204,204);
}
#bottom2 {
  padding: 10px;
}
.bottombox0l {
  width: 234px;
  float: left;
} 
.bottombox0r {
  width: 234px;
  float: right;
} 
.wmenu250 .bottombox0r { width: 245px; } 
.wmenu300 .bottombox0r { width: 220px; } 

.w960px .wmenu250 .bottombox0r { width: 227px; } 
.w960px .wmenu300 .bottombox0r { width: 315px; }

.bottombox {
}
.bottombox0l .bottombox {

}
.bottombox0r .bottombox {
  padding: 0 10px;
  border-left: 1px dotted rgb(128,128,128);
}
 
#footer {
  clear: both;
  font-size: 90%;
  padding-top: 8px;
  margin-top: 10px;
  border-top: 1px dotted rgb(128,128,128);
  text-align: center;
}
#footersimple {
  font-size: 90%;
  text-align: center;
}


ul.linkbox li {
  margin: 0 0 0 7px;
  list-style-type: none;
  font-size: 85%;
}
div.advsidebox {
  margin:20px 0; 
}
div.advleaderbox {
  margin:0;
}
div.advmiddlebanner {
  margin: 0 0 0.6em 0; 
}
div.advmiddlebox300 {
  width: 300px;  
  margin: 12px 0 12px 10px;
  float: right;
}
div.advmiddlebox336 {
  width: 336px;  
  margin: 12px 0 12px 10px;
  float: right; 
}
.rightmenu div.advmiddlebox300,
.rightmenu div.advmiddlebox336 {
  float: left; margin: 12px 12px 12px 0;
}

table.advdouble {
  margin: 12px 0; border: none;
}
table.advdouble th {
  padding: 0 10px 0 0;
  border-right: 1px dotted silver;
  vertical-align: top;
}
table.advdouble td {
  padding: 0 0 0 10px;
}


a:link    { color: rgb(0,51,204); }
a:visited { color: rgb(0,51,204); }
a:hover   { color: rgb(204,17,0); }
a:active, 
a:focus   { color: rgb(255,102,0); }

.hbar a:link    { color: rgb(0,51,204);  text-decoration: none; }
.hbar a:visited { color: rgb(0,51,204);  text-decoration: none; }
.hbar a:hover   { color: rgb(204,17,0);  text-decoration: underline; }
.hbar a:active, 
.hbar a:focus   { color: rgb(255,102,0); text-decoration: underline; }

#bottom a:link    { color: rgb(51,51,102); }
#bottom a:visited { color: rgb(51,51,102); }
#bottom a:hover   { color: rgb(204,17,0); }
#bottom a:active, 
#bottom a:focus   { color: rgb(204,17,0); }

#bottom #footer a:link    { color: rgb(80,80,80); text-decoration: none; }
#bottom #footer a:visited { color: rgb(80,80,80); text-decoration: none; }
#bottom #footer a:hover   { color: rgb(204,17,0); text-decoration: underline; }
#bottom #footer a:active, 
#bottom #footer a:focus   { color: rgb(204,17,0); text-decoration: underline; }

.graylinks a:link    { color: rgb(80,80,80); }
.graylinks a:visited { color: rgb(80,80,80); }
.graylinks a:hover   { color: rgb(204,17,0); }
.graylinks a:active, 
.graylinks a:focus   { color: rgb(204,17,0); }


