﻿html {
	max-width: 1024px;
	margin: 0 auto;
}

body
{
	font-family: 'Raleway', "Segoe UI", Calibri, Tahoma, Geneva, Verdana, sans-serif;
	color: rgb(0, 51, 153);
	margin-left: 20px;
	margin-right: 20px;
	background-image: url(/images/safehappy.png);
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: fixed;
	background-size: cover;
}

#bodyback
{
	border: thin solid rgb(102, 204, 255);
	background-color: rgba(244, 255, 255, 0.5);
	border-radius: 20px;
	padding-right: 20px;
	padding-left: 20px;
}

h1, h2, h3, h4 {
	margin-top: 5px;
	margin-bottom: 5px;
	text-shadow: 3px 3px 4px #aaa;
}

h5, h6 {
	margin-top: 0px;
	margin-bottom: 0px;
}

p
{
	font-size: 11pt;
	text-align: justify;
}

td
{
	font-size: 11pt;
}

ul, ol
{
	font-size: 11pt;
}

h1
{
	font-size: 30pt;
}
h2
{
	font-size: 19pt;
}
h3
{
	font-size: 15pt;
}
h4
{
	font-size: 12pt;
}
h5
{
	font-size: 11pt;
	text-align: justify;
}
h6
{
	font-size: 10pt;
	text-align: justify;
}
@media (max-width:768px) {
h1
{
	font-size: 24pt;
}
h2
{
	font-size: 16pt;
}
h3
{
	font-size: 12pt;
}
h4
{
	font-size: 11pt;
}
h5
{
	font-size: 10pt;
	text-align: justify;
}
h6
{
	font-size: 9pt;
	text-align: justify;
}
p
{
	font-size: 10pt;
	text-align: justify;
}

td
{
	font-size: 10pt;
}

ul, ol
{
	font-size: 10pt;
}
}

hr
{
	color: rgb(102, 204, 255);
	background-color: rgb(102, 204, 255);
}

/*
img {
	max-width: 100%;
	height: auto;
	width: auto;
	border-width: 0px;
}
*/

a:link
{
	color: rgb(51, 51, 204);
}

a:active
{
	color: rgb(153, 0, 153);
}

a:visited
{
	color: rgb(102, 102, 153);
}

.stoppress
{
	font-family: 'Raleway', "Segoe UI", Calibri, Tahoma, Geneva, Verdana, sans-serif;
	border: 2px solid rgb(0, 51, 153);
	margin: 10px 5px;
	padding: 10px;
	font-size: 14pt;
	font-weight: bold;
	color: rgb(0, 51, 153);
	background-color: #FFFF00;
	text-align: center;

}

.strapline
{
	color: rgb(128, 0, 0);
	text-align: center;
	font-style: italic;
}

.aligncentre
{
	text-align: center;
}

.alignleft
{
	text-align: left;
}

.alignright
{
	text-align: right;
}

.alignmiddle
{
	vertical-align: middle;
}

.margin5 {
	margin-top: 5px;
	max-width: 100%;
	height: auto;
	width: auto;
	border-width: 0px;
}

table.centre {
    margin-left:auto; 
    margin-right:auto;
}

/* added 04-Feb-19 for Twitter feed on home page */

* {
  box-sizing: border-box;
}

.column {
  float: left;
  padding: 3px;
}

.left {
  width: 75%;
}

.right {
  width: 25%;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* added 23-Apr from http://htmldog.com/techniques/dropdowns/ */

#menu li {
	display: inline;
    position: relative;
}

#menu ul ul {
    position: absolute;
    display: none;
}

#menu li:hover > ul {
    display: block;
}

#menu ul ul ul {
    left: 100%;
    top: 0;
}

/* end */

#menu ul {
	font-size: 12pt;
	margin: 0;
	padding: 0;
	list-style: none;
}
@media (max-width:768px) {
#menu ul {
	font-size: 10pt;
	margin: 0;
	padding: 0;
	list-style: none;
}
}
#menu ul li {
	display: block;
	position: relative;
	float: left;
	clip: rect(5px, 5px, 5px, 5px);
}
#menu li ul {
    display: none;
}
#menu ul li a {
	border-radius: 10px;
	display: block;
	text-decoration: none;
	color: #000066;
	border-top: 1px solid #ffffff;
	padding: 5px 10px 5px 10px;
	background: rgb(204, 204, 255);
	margin-left: 1px;
	white-space: nowrap;
}
#menu ul li a:hover {
	background: rgb(102, 204, 255);
}

/*
#menu li:hover ul {
    display: block;
    position: absolute;
}
*/

#menu li:hover li {
    float: none;
    font-size: 11pt;
}
@media (max-width:768px) {
#menu li:hover li {
    float: none;
    font-size: 10pt;
}
}
#menu li:hover a {
	background: rgb(204, 204, 255);
}
#menu li:hover li a:hover {
	background: rgb(102, 204, 255);
}

#menu {
  font-family: 'Raleway', Verdana, Arial, Helvetica;
  width: 605px ;
  height: 30px ;
  margin-left: auto ;
  margin-right: auto ;
}

@media (max-width:768px) {
#menu {
  font-family: 'Raleway', Verdana, Arial, Helvetica;
  width: 525px ;
  height: 25px ;
  margin-left: auto ;
  margin-right: auto ;
}
}