﻿/*Don't forget to update the DB CSS file*/

body {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: .9em;}

ul.topnav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #666;
}

ul.topnav li {float: left;}

ul.topnav li a {
    display: block;
    color: white;
    text-align: center;
    padding: 10px 16px;
    text-decoration: none;
}

ul.topnav li a:hover:not(.active) {background-color: #111;}

ul.topnav li a.active {background-color: #4CAF50;}

ul.topnav li.right {float: right;}

#header {
position: relative;
width: 100%;
height: 190px;
border: 1px olive solid;
background-color: #C5C4C2;}

* {
  box-sizing: border-box;
}


#contentblock {
height: auto;
position: relative;
padding-top: 20px;
margin-left: 6px;
text-decoration: none;
min-height: 1000px;}


.main > div {
 background-image: url(images/bground.jpg);
  padding-left: 10px;
  padding-right: 5px;
  margin: 10px;
  text-align: left; 
  line-height: inherit;
}
.main {
  float: left;
  width: 66%;
  padding: 15px;
  margin-top: 7px;
}

.right {
  float: left;
  width: 30%;
  padding: 15px;
  margin-top: 7px;
  text-align: center;
}

@media only screen and (max-width: 620px) {
  /* For mobile phones: */
  .menu, .main, .right {
    width: 100%;
  }


/*#main {
	
width: 75%;
height: auto;
position: relative;
padding-top: 20px;
text-decoration: none;
float: left;
padding-right: 25px;}
	
.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-image: url(images/bground.jpg);
}

.flex-container > div {
  background-image: url(images/bground.jpg);
  padding-left:  10px;
  padding-right: 5px;
  width: 400px;
  margin: 10px;
  text-align: left 
  line-height: inherit 
  font-size: .8em;
}*/
/* This scales and centres  the images*/
.scale {
  width: 100%;
  height: auto;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
/*End*/


h1 {font-size: 2em;
	color: auto;
}

.footer {font-family: Verdana, Helvetica, Arial, sans-serif;
width: 100%;
border-bottom: 2px #171798 solid;
text-align: center;
font-size: .8em;
position: relative;}

#box {font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 2em;
width: 85%;
height: auto;
background-color: #848484;
margin-left: auto;
margin-right: auto;
margin-top: 25px;
margin-bottom: 25px;
padding-bottom: 40px;
min-height: 750px;}

#blackbox {
background-color: black;
width: auto;
height: 85px;
padding-top: 20px;
padding-left: 30px;
padding-right: 30px;
}

h1 {
font-family: Verdana, Helvetica, Arial, sans-serif;

font-size: 3em;
}

p.foot {
display: none;}

p.footer a:link, p.footer a:visited {
text-decoration: none;
color: olive;}

 /*CSS for Top button*/

#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 4px;
}

#myBtn:hover {
  background-color: #555;
}



