/* START of Image slider */
/*
https://www.quora.com/What-is-the-explanation-for-this-CSS-code
http://thenewcode.com/627/Make-A-Responsive-CSS3-Image-Slider
*/
@keyframes slidy {
0% { left: 0%; }/*these values are the timing of each slide as a percentage of the total*/
20% { left: 0%; }/*the left percentage refers to the total size of the slides - example had four slides and was 400% - 500% seems tp work with six - expand if more than this*/
25% { left: -100%; }
45% { left: -100%; }
50% { left: -200%; }/*see SH Notaries for an improved version with a 99.99% addition for the last frame*/ 
70% { left: -200%; }
75% { left: -300%; }
95% { left: -300%; }
100% { left: -400%; }}
div#slider { overflow: hidden; }
div#slider figure img { width: 20%;/*100 divided by the number of slides*/ float: left; }
div#slider figure { position: relative;width: 500%;/*100 multiplied by the number of slides*/margin: 0;left: 0;text-align: left;font-size: 0;animation: 25s slidy infinite;/*total animation time*/  }
/* END of Image slider */
body, nav, ul, li, a  {margin: 0; padding: 0;}
body {font-family: 'Roboto', sans-serif;}
a[href^=tel] {color:inherit;text-decoration:none;}
a {text-decoration: none;}
a img {border:none;}
img, object, embed, video {max-width: 100%;}
.google-maps {position: relative;padding-bottom: 75%; // This is the aspect ratioheight: 0;overflow: hidden;}
.google-maps iframe {position: absolute;top: 0;left: 0;width: 96% !important;height: 100% !important;}
.wrap {margin:0 auto;width:80%;max-width:1200px;}
#redbar {width:100%;height:8px;background-color:#C02027;}
#header, #footer {width:100%;float:left;}
#header {background-color:#6B8896;}
#footer {min-height:150px;background:#6B8896;color:white;padding-bottom:10px;margin-top:100px;}
#footercolumn {width:31%;margin-left:0%;margin-right:2%;float:left;margin-top:5px;}
#footer a {text-decoration:none;color:#C02027;}
#footer a:hover {text-decoration:underline;}
#indexintro{margin: 0px auto;color:black;text-align:justify;width:95%;font-size:1.1em;padding-top:10px;line-height:1.8em;}
#indexintro a{text-decoration:none;color:#C02027;}
#indexintro a:hover {text-decoration:underline;}
#indexintro h1{font-size:1.7em;color:#C02027;font-weight:400;text-align:center;margin: 0 0 0 0;padding:0 0 0 0;}
#indexbox {float:left;width:46%;min-width:300px;margin-left:2%;margin-bottom:30px;height:170px;border:1px solid #696969;}
#indeximage {float:left;padding-top:40px;padding-bottom:30px;padding-left:3%;padding-right:3%;width:24%;}
#indextext {float:left;width:68%;padding-right:1%;padding-top:35px;text-align:left;}
#indextitle {color:black;font-size:1.3em;}
#indextitle a{color:black;font-size:1.3em;text-decoration:none;}
#indextitle a:hover {text-decoration:underline;}
#indexdescr {color:#C02027;font-size:1.1em;}
h1 {font-size:1.6em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}
h2,h3,h4,h5 {font-size:1.3em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}
#maincontent {min-height:500px;background:white;color:black;font-size:1.1em;line-height:1.8em;padding-top:20px;padding-bottom:40px;text-align:justify;}
#maincontent ul {padding:0px 0px 0px 10%;list-style-type:square;}
#maincontent a {text-decoration:none;color:#C02027;}
#maincontent a:hover {text-decoration:underline;}

/* START of NAV styling */
.toggleMenu {display:  none;background: #000000;/* menu button mobile version background colour */padding: 10px 15px;color: #fff;font-family: 'Arial', sans-serif;font-weight:300;}
.nav {list-style: none;*zoom: 1;background:#000000;/* menu bar background colour */}
.nav:before,
.nav:after {content: " "; display: table; }
.nav:after {clear: both;}
.nav ul {list-style: none;width: 18em;/* affects width of pop out nav */}
.nav a {padding: 10px 40px;/* affects width nav elements and sub elements */color:#fff;*zoom: 1;font-family: 'Roboto', sans-serif;font-weight:300;}
.nav li {position: relative;}
.nav > li {float: left;border-top: 1px solid #000000;position: relative;left: 20%;/* this position moves the whole navigation towards the centre on large screens when full width nav used - removed for mobile version below */}
.nav > li > .parent {background-image: url("images/downArrow.png");background-repeat: no-repeat;background-position: right;}
.nav > li > a {display: block;}
.nav li  ul {position: absolute;left: -9999px;}
.nav > li.hover > ul {left: 0;}
.nav li li.hover ul {left: 100%;top: 0;}
.nav li li a {display: block;background: #C02027;/* menu bar 1st sub level background colour */position: relative;z-index:100;border-top: 1px solid #ffffff;/* menu bar 1st sub level top border colour */}
.nav li li li a {background:#000000;zoom:1;/* menu bar 2nd sub level background colour */z-index:200;border-top: 1px solid #ffffff;/* menu bar 1st sub level top border colour */}
/* END of NAV styling */

@media screen and (max-width: 768px) {
/* START of NAV styling */
.active {display: block;}
.nav > li {float: none;position: relative;left: 0%;/* this position moves the whole navigation back to the left on the mobile version*/}
.nav > li > .parent {background-position: 95% 50%;}
.nav li li .parent {background-image: url("images/downArrow.png");background-repeat: no-repeat;background-position: 95% 50%;}
.nav ul {display: block; width: 100%;}
.nav > li.hover > ul , .nav li li.hover ul {position: static;}
/* END of NAV styling */
.wrap {margin:0 auto;width:90%;}
#indexintro{margin: 0px auto;color:black;text-align:justify;width:95%;font-size:1.1em;padding-top:10px;}
#indexintro h1{font-size:1.4em;color:#C02027;font-weight:400;text-align:center;margin: 0 0 0 0;padding:0 0 0 0;}
#indexbox{float:left;width:96%;min-width:300px;margin-left:2%;margin-bottom:20px;height:160px;border:1px solid #696969;}
#indextitle {color:black;font-size:1.2em;}
#indextitle a{color:black;font-size:1.2em;text-decoration:none;}
h1 {font-size:1.5em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}
h2,h3,h4,h5 {font-size:1.3em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}
#footercolumn {width:100%;text-align:center;margin-top:5px;margin-left:0%;height:auto;}
}
@media screen and (max-width: 480px) {
#footercolumn {width:100%;text-align:center;margin-top:5px;margin-left:0%;height:auto;}
#indexintro h1{font-size:1.4em;color:#C02027;font-weight:400;text-align:center;margin: 0 0 0 0;padding:0 0 0 0;}
#indeximage {float:left;padding-top:40px;padding-bottom:30px;padding-left:3%;padding-right:3%;width:29%;}
#indextitle {color:black;font-size:1.1em;line-height:1.2em;}
#indextitle a{color:black;font-size:1.1em;text-decoration:none;}
#indexdescr {color:#C02027;font-size:1em;}
#indextext {float:left;width:63%;padding-right:2%;padding-top:10px;text-align:left;}
h1 {font-size:1.4em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}
h2,h3,h4,h5 {font-size:1.2em;padding: 0 0 0 0;margin: 0px 0px 0px 0px;color:#C02027;text-align:left;font-weight:400;}

}