@charset "UTF-8";

body {
    padding: 0;
    margin: 0;
    background-color: #EDEDED;
    font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
    overflow-x: hidden;
}   

#name {
    font-size: 4vw;
    color: #454545;
    width: auto;
    float: left;
    height: 4vw;
    line-height: 4vw;
    font-weight: 500;
    padding-right: 1vw;
    border-right: #454545 thin solid;
}
#job {
    float: left;
    color: #454545;
    height: 4vw;
    line-height: 5.2vw;
    padding-left: 10px;
    font-family: Shadows Into Light  ;
	font-size: 1.8vw;
}
#menu {
    float: right;
    font-size: 1.5vw;
    height: 4vw;
    line-height: 5.2vw;
}
#menu a {
    text-decoration: none;
    color: #454545;
}
#menu a:hover {
    border-bottom: 1px solid #454545;
}
.rule {
    width: 100%;
    padding-top: 1vw;
    padding-bottom: 1vw;
    clear: both;
}
#wrap{
    width: 90%;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 2vw;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: 0px 4px 15px -5px rgba(0,0,0,0.75);
}
#body {
    width: 100%;
    clear: both;
}
#body h1 {
    background: rgba(226,226,226,1);
    background: -moz-linear-gradient(left, rgba(226,226,226,1) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-gradient(left top, right top, color-stop(0%, rgba(226,226,226,1)), color-stop(100%, rgba(255,255,255,1)));
    background: -webkit-linear-gradient(left, rgba(226,226,226,1) 0%, rgba(255,255,255,1) 100%);
    background: -o-linear-gradient(left, rgba(226,226,226,1) 0%, rgba(255,255,255,1) 100%);
    background: -ms-linear-gradient(left, rgba(226,226,226,1) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(to right, rgba(226,226,226,1) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e2e2e2', endColorstr='#ffffff', GradientType=1 );
    color: #454545;
    padding: 0.5vw;
    font-size: 3vw;
}
#body p {
    font-size: 2vw;
    padding-left: 0.5vw
}
#body ul li{
    line-height: 1.9vw;
}
#body ul li a {
    text-decoration: none;
    color: #454545;
    font-size: 1.8vw;
}
#body ul li a:hover {
    border-bottom: 1px solid #454545;
}
#boat {
    width: 100%;
    height: 40vw;
    float: left;
    background-image:url(images/boat.jpg);
    background-size: cover;
    background-position: 50% 80%;
    margin-bottom: 1.5vw;
    background-repeat: no-repeat;
}
#boattext {
    color: white;
    border-top: solid white thin;
    border-bottom: solid white thin;
    margin-left: auto;
    margin-right: auto;
    width: 20%;
    font-size: 2vw;
    text-align: center;
    margin-top: 32vw;
    font-weight: 100;
}
#cpr, #firstaid {
    width: 49%;
    height: 30vw;
    float: left;
    background-image:url(images/cpr.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#cprtext, #firstaidtext {
    color: white;
    border-top: solid white thin;
    border-bottom: solid white thin;
    margin-left: auto;
    margin-right: auto;
    width: 40%;
    font-size: 2vw;
    text-align: center;
    margin-top: 24vw;
    font-weight: 100;
}
#firstaid {
    float: right;
    background-image:url(images/firstaid.jpg);
}
#logo {
    background-image: url(images/nationally_recognised_training.png);
    float: right;
    width: 19vw;
    height: 15vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 8.5vw;
}

.image {
    width: 32.6%;
    height: 35vw;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    float: left;
}
#img1 {
    background-image: url(images/image419.jpg);
}
#img2 {
    background-image: url(images/image422.jpg);
    margin-left: 1%;
    margin-right: 1%
}
#img3 {
    background-image: url(images/image473.jpg);
}
#img4 {
    background-image: url(images/image348.jpg);
}
#img5 {
    background-image: url(images/image426.jpg);
    background-position: left;
    margin-left: 1%;
    margin-right: 1%
}
#img6 {
    background-image: url(images/image427.jpg);
}
#footer {
    width: 100%;
    clear: both;
    margin-bottom: 1vw;
}
#contact {
    float: left;
    color: #454545;
    font-size: 1.5vw;
}
#social {
    float: right;
    background-image: url(images/facebook.png);
    background-size: cover;
    background-position: center;
    width: 2vw;
    height: 2vw;
    background-repeat: no-repeat;
}
hr {
    padding: 0;
    margin: 5px 0;
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
}
#mobilefooter {
    display: none;
}
@media screen and (min-width: 1050px) {
#header {
    margin-top: 10px;
}
#name {
    font-size: 45px;
    height: 50px;
    line-height: 50px;
    font-weight: 500;
    padding-right: 10px;
}
#job {
    height: 50px;
    line-height: 60px;
    padding-left: 10px;
	font-size: 20px;
}
#menu {
    font-size: 17px;
    height: 50px;
    line-height: 60px;
}
#menu a:hover {
    border-bottom: 1px solid #454545;
}
.rule {
    padding-top: 10px;
    padding-bottom: 10px;
}
#wrap{
    padding: 10px 20px 20px 20px;
    margin-top: 20px;
    margin-bottom: 2px;
}
#body h1 {
    padding: 5px;
    font-size: 30px;
}
#body p {
    font-size: 20px;
    padding-left: 5px;
}
#body ul li{
    line-height: 19px;
}
#body ul li a {
    font-size: 18px;
}
#boat {
    width: 100%;
    height: 420px;
    margin-bottom: 10px;
}
#boattext {
    font-size: 25px;
    margin-top: 320px;
}
#cpr, #firstaid {
    height: 320px;
    width: 49.3%;
}
#cprtext, #firstaidtext {
    font-size: 25px;
    margin-top: 230px;
}
#logo {
    width: 200px;
    height: 160px;
    margin-top: 80px;
}
.image {
    height: 350px;
}
#footer {
    margin-bottom: 10px;
}
#contact {
    font-size: 15px;
}
#social {
    width: 25px;
    height: 25px;
}
}
@media screen and (max-width: 480px){
#menu {
    display: none;
}
#name {
    font-size: 6vw;
}
#job {
    font-size: 3vw;
}
#boat {
    height: 30vw;
}
#cpr {
    margin-bottom: 1.5vw;
}
#cprtext, #firstaidtext, #boattext {
    width: 40%;
    font-size: 4vw;
     margin-top: 20vw;
}
#firstaid, #cpr {
    width: 100%;
    background-position: bottom;
}
#footer {
    display: none;
}
#mobilefooter {
    width: 100%;
    display: block;
}
.contacts a {
    width: 100%;
    text-decoration: none;
    display:inline-block;
    background-color: #454545;
    color: white;
    text-align: center;
    padding: 5px 0;
    margin-bottom: 5px;
}
}


