/*
Original design: andreas08 (v2.0 - Jul 07, 2008) - A free xhtml/css website template by Andreas Viklund.
For more information, see http://andreasviklund.com/templates/andreas08/

15.08.10 Heading style font weight changed from normal to bolder 
28.03.15 Width changed from 900 to 800-1200
29.12.17 Complete rework for full width design and HTML 5
03.08.18 Revised to give full width nav and header, coloured sides

*/
/* Body and tag styles */

* {
	margin: 0;
	padding: 0;
}


body {
	background-color: 	#E0E8EF; 
  	background: url(images/blueback.png); 
    box-sizing: border-box;
	color: #303030;
	font:  medium Verdana,Tahoma,Arial,sans-serif; 
	padding: 0 ;
	text-align: left;
}


.Show480 {
 display:none;
 }

.DesktopOnly {
 display:block;
}

@media (max-width: 480px) {
body {
	background: 	#E0E8EF; 
	color: #303030;
	font: medium Verdana,Tahoma,Arial,sans-serif;
	text-align: left;
	width: 98%;
}

.Show480 {
 display:block;
 }

.DesktopOnly {
 display:none;
}
}

/****************************** NAV ****************************/

nav {
/*	background-color: aliceblue; /* whitesmoke; */
    background: aliceblue; /* For browsers that do not support gradients */
/*    background: radial-gradient(circle at center, #CACACA,steelblue,slateblue,steelblue,silver);*/ /* Standard syntax */ 
    background: radial-gradient(circle at center, slateblue,steelblue,silver); /* Standard syntax */ 
	border-top: 2px solid  steelblue;/* was indigo */
	border-bottom: 4px solid lightsteelblue;  /* was indigo */
	display: block; 
/*	float:left; */
/*	height: 2.5em; */
	margin: 0 auto;
	overflow: auto;
	padding: 5px  ;
	position: fixed;
	top: 0;
	width: 100%; 
/*	max-width: 70em;  */
}

.fw {max-width: 99%;}

nav li {
	background-color: lightsteelblue; /*  #f0f0f0;   */
   border: 1px solid silver;
   color: navy;
	float: right;
	font-size: 85%;
	list-style-type: none;
	margin: 2px 5px 0 1px;
	padding: 2px 5px 4px 5px;
	text-decoration: none;
	text-transform: uppercase;
	vertical-align: middle ;
	white-space: nowrap;
}

@media (max-width: 480px) {
nav {
   background-color: blue;
	border-radius: 4px;
	min-height: 1.8em; 
	line-height: 1.4em;
	overflow: hidden;
	padding: 2px 5px 0 3px;
	width: 94%;
}

nav li {
   border: 1px solid skyblue;
   border-radius: 4px;
   display: block; 
   float: left;
   font-size: 66%;
   list-style-type: none;
   margin: 1px 2px 0 3px;
   padding: 0 2px;
}
}

nav a {
   background-color:inherit;
   color: purple;
}

nav li:hover {
	background-color: silver;
	color: red;
	border-color: lime;
/*	color: white; */
}

nav .selected {
	background-color: lightskyblue;  
   color: navy;
	border-color: skyblue;
}



/***************************** HEADER ***************************/


header {
    background: aliceblue; /* For browsers that do not support gradients */
    background: linear-gradient(to right, rgba(176,196,222,0.1),rgba(224,248,255,1.0), rgba(224,248,255,0.9),rgba(208,232,240,0.1)); 
	border-top: 2px solid lightsteelblue;
	border-bottom: none;
	clear: both;
	color: navy;
	display:block;
	font-weight: bolder;
	margin: 2.7em auto 0 auto;    
	opacity: 0.9;
	overflow: auto;
	padding: 0.2em 0.5em;
	width: 99%;
	text-align: center;
}


header h1 {
	font-family: arial,sans-serif;
	font-size: 2.2em;
	font-weight: bolder;
/*	text-align: left; */
}

header h2 {
	font-family: arial,sans-serif;
	font-size: 1.6em;
	font-weight: bolder;
}

header h1+h2 {
	margin-top: 0.2em;
}

header h1+h3 {
	margin-top: 0.2em;
}

header h2+h3 {
	margin-top: 0.2em;
}

@media (max-width: 480px) {

header {
   background: aliceblue; 
	color: navy;
	margin: 2.2em auto 0; 
	padding: 0.1em 0.4em;
	width: 98%; 
}

header h1 {
	font-size: 1.0em;
}

header h2 {
	font-size: 0.8em;
}

header h1+h2 {
	margin-top: 0.1em;
}
}

/**************************** CONTAINER **************************/

#container {
	background-color: aliceblue; 
	border: 6px solid lavender;
	border-radius: 5px;
	color: #303030;
	margin: 0 auto;
	overflow: auto;
	padding: 0.3% 0.5%;
	text-align: left;
	width: 99%;
	max-width: 72em;
}


@media (max-width: 480px) {
#container {
	background-color: linen;
    border-radius: 6px;
	color: navy;
	min-width: 0;
	width: 99%;
}
}


/********************************* MAIN was content until 1.1.18 *******************************/

main {
   clear: both;
 /*  border: 2px solid red; */
   float: left;
   font-size: inherit;
   padding: 5px 10px;
   width: 77%;
   margin: 10px 0;
}

@media (max-width: 480px) {
main {
    background-color: Lavender;
    border-radius: 4px;
	float: left;
	font-size: 0.8em; 
	margin-top: 0.2em;
	padding: 2px 3px 0 3px;
	width: 98%;
}
}

#content a:hover,#subcontent a:hover {
	text-decoration: underline;
}

main dd {
	margin: 0 0 10px 15px;
}

main dl {
	margin: 0 5px 10px 25px;
}

main dt {
	font-weight: bold;
	margin-bottom: 5px;
}

main h1 {
	background-color: transparent;
    color: #303080;
	display: block;
	font-size: 1.7em;
	font-weight: bolder;
	letter-spacing: -1px;
	padding: 0 0 8px 0;
	margin-top: 4px;
	margin-bottom: 6px;
	line-height: 140%;
	text-indent: -3%;
	margin-left: 4%;
	text-align: center;
}

main h2 {
	background-color: transparent;
   color: #303080;
	display: block;
	font-size: 1.5em; 
	font-weight: bolder;
	letter-spacing: -1px;
	margin-top: 10px;
	padding: 0px 0 8px 4px;
	line-height: 110%;
	text-align: left;
}

main h1+h2 {
	margin-top: 3px;
}


main h3 {
   color: #303080;
	display: block;
	/* font-size: 1.0em; */
	font-weight: bolder;
	letter-spacing: 0px;
	padding: 2px 0 6px 2px;
	text-align: left;
	background-color: transparent;
}

main h4 {
    color: #303080;
	display: block;
	/* font-size: 0.9em; */
	font-weight: bolder;
	letter-spacing: -1px;
	margin: 0 0 5px 0;
	text-align: left;
	background-color: transparent;
}

main ul,main ol {
	margin: 5px 5px 16px 35px;
}
main li {
	margin: 5px 0;
}


/************************* HTML 5 ASIDE replaces subcontent from 1.1.18 ********************************/

aside {
   border: 2px solid lightblue;
   border-radius: 5px;
   clear: right;
   color: black;
   background: aliceblue; /* For browsers that do not support gradients */
   background: linear-gradient(aliceblue,lightsteelblue,aliceblue,aliceblue); /* Standard syntax */ 
   float: right;
   line-height: 1.4em;
   margin: 10px 0;
   padding: 5px;
   width: 18%;
}

@media (max-width: 480px) {
aside {
display:none;
width: 0;
}
}

aside h2 {
	color: navy;
	display: block;
	font-size: 1.6em;
	font-weight: normal;
	letter-spacing: -1px;
	margin: 5px 0 15px 0;
	text-align: center;
}

aside h3 {
	color: navy;
	display: block;
	font-size: 1.2em;
	font-weight: bolder;
	letter-spacing: -1px;
	margin: 6px 0 8px 0;
	text-align: center;
}

aside p {
	font-size: 0.9em;
	margin: 0 0 6px 0;
}


/****************************** TABLE ****************************/

table td {
	padding: 10px;
}

.tdcol0 {
   background-color: inherit;
   border: 1px solid blue;
   margin: 0;
   padding: 0.3em;
   text-align:center;
   vertical-align: middle;	
}

.tdcol1 {
   background-color: snow ;
   border: 1px solid blue;
   margin: 0;
   padding: 0.3em;
   text-align:center;
   vertical-align: middle;	
}

.tdcol2 {
   background-color: cornsilk;
   border: 1px solid blue;
   margin: 0;
   padding: 0.3em;
   text-align:center;
   vertical-align: middle;	
}




img {
	max-width: 90%;
}



/***************************** FOOTER was #footer until 29.12.17 *****************************/

footer {
	background-color: darkslateblue;
	border-top : 2px  solid blue;
    background: aliceblue;  /* For browsers that do not support gradients */
    background: linear-gradient( snow,whitesmoke);  /* Standard syntax */ 
    background: linear-gradient(steelblue,slateblue,steelblue); /* Standard syntax */ 
	border-top: 2px solid  steelblue;/* was indigo */
	clear: left;
	color: white;
	display: block;
/*	float:left; */
	font: 80% Tahoma,Arial,sans-serif;
	margin: 1px auto;
	opacity: 0.9;
	padding: 8px 0;
	text-align: center;
	width: 99%;
/*	width: 70%; */
}

footer a {
    color: thistle;
}

footer a:hover {
    color: lime;
}


@media (max-width: 480px) {
footer {
   margin: 0 auto;
	width: 98%;
}
}


#changelog h2 {
/*  background-color: navy;
  border: 3px solid blue; */
   background: #0101FF; /* For browsers that do not support gradients */
   background: linear-gradient(lightsteelblue,aliceblue); /* Standard syntax */ 
	border: none;
  color: indigo;
/*  height: 1.5em; */
  margin: 10px auto;
  padding: 5px 0 10px 5px;
  text-align: left;
}

a {
	color: blue;
	text-decoration: none;
}

a img {
	border: none;
}

main h2 a {
	font-weight: bolder;
}

a:hover {
	color: red;
}


code {
	font-size: 90%;
	line-height: 1.4em;
	text-align: center;
	font-family: monospace;
	color: maroon;
}

hr {
	margin: 10px 0;
}


@media (max-width: 480px) {
img{
    max-width: 360px;
}
}
	
img.center {
	display: block;
	margin: 5px auto 15px auto;
}

img.left {
	float: left;
	margin: 0 12px 5px 0;
}

img.left,img.center,img.right {
	border: 1px solid #A0A0A0;
	padding: 6px;
}

img.right {
	float: right;
	margin: 0 0 5px 12px;
}


p {
	padding: 0 0 0.5em 0;
	font-family: Verdana,Tahoma,Arial,sans-serif;
	text-align: left;
	font-size: 1.0em;
}

p form {
	margin-bottom: 20px;
	margin-top: 0;
}

p.floatright {
	float:right;
}

.ash2 {
	color: navy;
	font-weight: bolder;
	overflow: auto;
	padding: 0.5em 0.1em;
	width: 99%;
	font-family: arial,sans-serif;
	font-size: 1.6em;
	font-weight: bolder;
}



.bold {
	font-weight: bolder;
}

.bordernone {
	border: none !important;
}

.border2px {
	border: 2px solid;
}

.box {
	background-color: gainsboro;
	background-color: #F1F2F3;
	border: 1px solid blue;
	border-radius: 5px;
	color: navy;
	display: block;
	font-size: 80%; 
	line-height: 1.5em;
	margin: 5px auto 12px auto;
	width: 90%;
	/*position: relative;*/
	padding: 8px;
}

.box h3 a {
    color:navy;
}

.box h3 a:hover {
    color:red;
}

.contentbox {
	background-color: azure;
	border: 1px solid purple;
	border-radius: 5px;
	color: navy;
	display: block;
	font-size: 80%; 
	line-height: 1.5em;
	margin: 5px 1em 12px;
	padding: 8px;
}

.warnbox {
	background-color: lavender;
	border: 2px solid red;
	border-radius: 5px;
	color: purple;
	color: darkslateblue;
	display: block;
	font-size: 80%; 
	line-height: 1.5em;
	margin: 5px 1em 12px;
	padding: 8px;
}


.changenav {
  background-color: aliceblue;
  border-top: 2px solid powderblue; 
  border-bottom: 2px solid powderblue; 
  clear:left;
  color: indigo;
  margin: 1.5em auto 0.7em auto;
  padding: 5px 0;
  text-align: center;
}

.clear {
	clear: both;
}

.enlarged{
	font-size: 125%;
}

.googlesearchbox {
  background-color: aliceblue;
/*  border: 2px solid red; */
  min-height: 2.0em;  
  margin: 0.2em auto ;
  padding: 0 ;
  width:96%;
}

.googlewait {
  background-color: aliceblue;
  padding: 1.0em ;
}


#___gcse_0 {
	background-color: yellow;
}
.gtheadertext{
    float: left;
    border: none;
    background-color: lime;
    border: 2px solid lightgreen ;
    border-radius: 0.2em;
    color: slateblue;
    font-size: 1.0em;
    font-style: italic;
    font-weight: bolder;
    margin: 0;
    padding: 0 0.4em 0.1em 0.4em;
    vertical-align: middle;
}


.gtheadertext a:hover{
    background-color:lime;
}

@media (max-width: 480px) {
 .gtheadertext{
 	display:none;
 }
}


.hide {
	display: none;
}

.important {
	background-color: transparent;
	color: #F02025;
	font-weight: bold;
}

.linkbutton {
   background-color: navy;
	border: 2px solid darkcyan;
	border-radius:4px;
	color: white;
	display: block;
	min-height: 1em;
	min-width: 100px;
	padding: 5px;
}


.red {
	background-color: transparent;
	color: Red;
}

.margin10px {
	margin: 10px;
}

.maxwid80pc {
   max-width: 80%;
}

.maxwid90pc {
	max-width: 90%;
}


/* Menublock styles */
.menublock {
	font-size: 0.9em;
	margin: 0 0 20px 8px;
}

.menublock li {
	display: block;
	list-style: none;
	margin-bottom: 2px;
	padding: 2px;
}

.menublock li a {
	font-weight: bold;
	text-decoration: none;
}

.menublock li a:hover {
	text-decoration: none;
}

.menublock li ul {
	font-size: 1em;
	font-weight: normal;
	margin: 3px 0 3px 15px;
}

.menublock li ul a {
	font-weight: normal;
}

.menublock li ul li {
	margin-bottom: 0;
}


.small80 {
	font-size: 80%;
}

.small {
	font-size: 66%;
}

/* Misc classes and styles */
.splitcontentleft {
	float: left;
	width: 48%;
}

.splitcontentright {
	float: right;
	width: 48%;
}

.symbol {
  font-family: Symbol;
}

.tdpad05em {
	padding: 0.5em;
}



.texter {
    color: black;
    background-color: yellow;
    margin: 2px 0;
    padding: 3px 4px;
}

.texteralice {
    color: black;
    background-color: aliceblue;
    margin: 3px 0;
    padding: 5px;
}

.textercyan {
    color: black;
    background-color: lightcyan;
    margin: 3px 0;
    padding: 5px;
}

.textleft {
	text-align: left;
}

.textcenter {
	text-align: center;
}

.textright {
	text-align: right;
}

.tm5px {
	margin-top: 5px;
}

.tbm10px {
	margin-top: 10px;
	margin-bottom: 10px;
}

.tm10px {
	margin-top: 10px;
}

.tm5em {
	margin-top: 0.5em;
}

.tm10em {
	margin-top: 1em;
}

.tm15em {
	margin-top: 1.5em;
}

.tm20em {
	margin-top: 2em;
}

.vamiddle {
	vertical-align: middle;
}

.vatop {
	vertical-align: top;
}

.wid80pc {
	width: 90%;
}

.wid90pc {
	width: 90%;
}





/* override Google */

.gsc-control-wrapper-cse {
  background-color: whitesmoke;
  border: 2px solid gainsboro;
  color: purple;
  padding: 0em;
  margin: 0;
  width: auto;
}

.gsc-control-cse  {
	padding: 0  !important;
}
.gsc-control-cse-en {
	padding: 0  !important;
}

.gsc-search-box {
	background-color: whitesmoke;
	margin: 0;
}

.gsc-search {
   background-color: aliceblue;
	margin-bottom: 0.6em;
	min-height: 2.0em;
}

.gcse-search {
   background-color: aliceblue;
	margin-bottom: 0.6em;
	min-height: 2.0em;
}
