//standard elements
html, body {
  height: auto;
}
body {
  max-width:100%;
  width:75%;
  height:auto;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  background-color: #18E427;
}
div.footer{
  padding: 10px 1rem;
  margin: 1rem 0;
  background: #E9E9E9
}
.site-header {
  background: #E9E9E9;
  padding: 1rem 0
}
.site-content {
  flex: 1;
}
.site-footer {
  background: #E9E9E9;
  padding: 1rem 0;
}
.top-bar-center{
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
nav {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
  width:auto;
  
}
.help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
}
nav a{
  display: block;
  padding: 8px;
  float:left;
  width: 14%;
}
nav a.nav:hover {
  background-color: #0f9dff;
  color:#f5f5f5;
}
.heading{
  background-color:#e5e5e5;
  border:1px solid #e5e5e5;
}
div.header{
  margin-left:auto;
  margin-right:auto;
  max-height:245px;
  overflow:hidden;
}


//basic Elements
a {
    padding: 0 1.25rem;
  }
a.nav{
  font-size:24px;
}
a.nav:link {
	color: #42413C;
	text-decoration: underline;
}
a:visited {
	color: #6E6C64;
	text-decoration: underline;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}
a.shop{
  font-size:133%;
}
a.file{
  font-family:"Acme";
  font-size:133%;
  text-decoration: underline;
}
p { 
  font-family: "Georgia", Georgia, serif; 
}

h {
  font-family: "Georgia", Georgia, serif;
  font-weight: bold;
}
h2{
  font-family:"Acme";
}
h3{
  font-family:"Acme";
}
h4{
  font-family:"Acme";
}

img.head {
  max-height: 10em;
  max-width: 100%;
  width: auto;
  height: auto;
}
img.table {
  width: 100%;
  vertical-align: bottom;
}

ul.panels{
  list-style-type: none;
  margin: 0;
  padding: 1%;
}
li.panels{
  display: inline;
}



//Various Divs
div.center{
  margin:10px;
  margin-left:auto;
  margin-right:auto;
  text-align: center;
}
.line{
  margin:10px;
  border-top: 1px solid #e5e5e5;
}
.centreref{
  text-align:center;
}
.bodydiv{
  background-color: #f5f5f5;
  height:auto;
  width:auto;
  margin-left:auto;
  margin-right:auto;
}
.text{
  padding:60px;
  height:auto;
  margin-right: auto;
  margin-left: auto;
  word-wrap: break-word;
}
.left{
margin-right:20px;
}
.panel{
  border-color:#0f9dff;
  border-width:10px;
  border-style: groove;
  width:auto;
  height:auto;
  
 
}
.leftpane{
  float: left;
  width: 155px;
  padding-left:10px;
  background-color: #e5e5e5;
  max-height:100%;
  height:100%;
  bottom: 0;
}
.contact{
  padding:25px;
  width:80%;
  background-color: #E9E9E9;
}
.imgpane{
	height: 155px;
	width: 150px;
	margin-top: 40px;
}
.video{
  align: center;
}

//tables
table.foot{

  margin-left:auto;
  margin-right:auto;
}
tr.foot, td.foot{
  background-color: #E9E9E9;
}
table.about, tr.about, td.about{
  margin:auto;
  height:100%;
  background-color:#F5F5F5;
  max-height:100%;
}

//img tags
img.centre{

  margin-left:auto;
  margin-right:auto;
  display: block;
}

//Animation tags for cross fade image
div.animcontainer{
  height:40em;
  width:53em;
  margin-left:auto;
  margin-right:auto;
  position:relative;
}

div.rotate{
  height:40em;
  min-height:40em;
  max-height:40em;
  margin-left:auto;
  margin-right:auto;
  position:relative;
}
@keyframes fade {
  0% {
  opacity:1;
}
26.6% {
opacity:1;
}
33.3% {
opacity:0;
}
93.3% {
opacity:0;
}
100% {
opacity:1;
}
  
}
img.rot{
position:absolute;
animation-name: fade;
animation-timing-function: linear;
animation-iteration-count: infinite;
animation-duration: 30s;
max-height: 40em;
margin-left:auto;
margin-right:auto;
}
img.rot:nth-of-type(1) {
  animation-delay: 20s;
}
img.rot:nth-of-type(2) {
  animation-delay: 10s;
}
img.rot:nth-of-type(3) {
  animation-delay: 0s;
}

//Contact Form
.contact{
  margin:10px;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
  background-color:#bdd6ff ;
}
.contacttext{
  font-size:120%;
}
.contactform{
  font-family: "Georgia", Georgia, serif;
  width: 100%;
  background-color: #E9E9E9;
}
label {
    display: block;
    margin-bottom: 5px
}
label i {
    color: #999;
    font-size: 80%;
}
input, select {
    border: 1px solid #ccc;
    padding: 10px;
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-radius: 2px;
}
.row {
    padding-bottom: 10px;
}
.error {
    color: red;
    font-size: 90%;
}
input[type="submit"] {
    font-size: 110%;
    font-weight: 100;
    background: #006dcc;
    border-color: #016BC1;
    box-shadow: 0 3px 0 #0165b6;
    color: #fff;
    margin-top: 10px;
    cursor: pointer;
    margin-left:auto;
    margin-right:auto;
    width:100px;
}
input[type="submit"]:hover {
    background: #0165b6;
}
body, .form-control {
    font-family: 'Acme';
}
label {
    color: #333;
}
.btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}
.form-group{
  margin:45px;
}
.link{
  color:#0f9dff;
  text-decoration: underline;
  font-size: 24px;
  text-align: center;
  font-family: "Georgia", Georgia, serif;
}
.linkpanel{
  width:33%;
  text-align: center;
}
div.video{
  margin-left:auto;
  margin-right:auto;
}
table.imgarray{
  
}
tr.imgarray{
  
}
td.imgarray{

}
div.imgarray{
 
}