/* --------------------------------- */
/* BASIC SETUP */
/* --------------------------------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
h1,
h2 {
    background-color: #fff;
    color: #555;
    font-family: 'lato', 'Arial', sans-serif;
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

.clearfix {zoom: 1}
.clearfix:after {
    content: '.';
    clear: both;
    height: 0;
    visibility: hidden;
}

/* ----------------------------- */
/* HEADER */
/* ----------------------------- */

header img {
    max-width: 100%;
    height: auto;
}

.titleName,
h1,
h2,
h3 {
    background-color: #014785;
    color: rgb(255, 255, 255);
    font-weight: 400;
    font-size: 120%;
    padding: 1px;
    margin: 0;
    display: inline-block;
    float: right;
    list-style: none;
    margin-top: 35px;
    margin-right: 520px;
    position: fixed;
    top: 0;
    right: 0;
    letter-spacing: 1px;
}

.titleName h2 {
    margin-top: 70px;
    margin-right: 580px;
}

.phonenumber h3 {
    font-size: 80%;
    margin-top: 35px;
    margin-right: 170px;
}

.nav {
    float: right;
    list-style: none;
    margin-top: 170px;
    margin-right: 70px;
    position: fixed;
    top: 0;
    right: 0;
}

.Info {
    display: inline-block;
    width: 290px;
    padding: 10px;
    border: 1px solid gray;
    margin: 0px;
    float: right;
    position: absolute;
    top: 250px;
    right: 85px;
    text-align: left;
    font-size: 110%;
    font-weight: 400;
}

/* ----------------------------- */
/* NAVIGATION */
/* ----------------------------- */

.nav {
    float: right;
    list-style: none;
    margin-top: 170px;
    margin-right: 70px;
    position: fixed;
    top: 0;
    right: 0;
}

.nav li {
    display: inline-block;
    margin-left: 10px;
    padding: 5px 1px 5px 1px;
    background-color: rgb(133, 198, 198);
    border: 1px solid rgb(190, 214, 216);
    border-radius: 10px;
}

.nav li a:link,
.nav li a:visited {
    padding: 8px 0px;
    color: #fff;
    text-decoration: none;
    font-size: 90%;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.2s;
}

.nav li a:hover,
.nav li a:active {
    border: 1px solid rgb(133, 198, 198);
    border-radius: 10px;
    transition: 0.2s;
}

.nav a:hover {
    background-color: #20c7c7;
}

/* Mobile navi */

.mobile-nav-icon {
    float: right;
/*    margin-top: 30px;*/
    cursor: pointer;
    display: none;
}

.mobile-nav-icon i {
    font-size: 200%;
    color: #fff;
}

/* ----------------------------- */
/* TRAINING BOXES */
/* ----------------------------- */

.span-1-of-4 {
/*  padding-top: 0px;*/
    margin-top: 10px;
    margin-bottom: 20px;
    text-align: center
}

/* ----------------------------- */
/* FOOTER */
/* ----------------------------- */

footer p {
    background-color: rgba(255, 255, 255, 0.74);
    color: #262525;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 80%;
}

/* ----------------------------- */
/* OTHER PAGES */
/* ----------------------------- */

.TitleName {
    color: #FFF;
    font-size: 36px;
}


.blue {
    color: #039;
}

.red {
    color: red;
}

.orange {
    color: orange;
}

.green {
    color: green;
}

.black {
    color: black;
}

.headingtext {
    font-family: sans-serif;
    font-size: 120%;
    padding-left: 25px;
    color: #C30;
}

.bodytext p {
    font-weight: 600;
    font-size: 120%;
    padding-left: 60px;

}

.bodytext p em {
    font-family: sans-serif;
/*  font-weight: 500;*/
    color: #0C0;
    font-size: 100%;
}

.signature {
    font-family: sans-serif;
    font-size: 100%;
    color: #000;
    word-spacing: normal;
    padding-left: 25px;
    line-height: 130%;
}

.world {
    padding-right: 80px;
}

/* ----------------------------- */
/* Links to Other Pages */
/* ----------------------------- */

.trainingBoxes {
/*    display: inline-block;*/
}

.trainingBoxes img {
/*  max-width: 100%;*/
/*  max-height: 100%;*/
    transition: 0.75s;
}

.Construction:hover img {
    transform: scale(1.2);
}

.Tree:hover img {
    transform: scale(1.2);
}

.Transmission:hover img {
    transform: scale(1.2);
}

.Violence:hover img {
    transform: scale(1.2);
}

.trainingBoxes1 img {
/*  max-width: 100%;*/
/*  max-height: 100%;*/
    transition: 0.75s;
}

.FirstAid:hover img {
    transform: scale(1.2);
}

.Safety:hover img {
    transform: scale(1.2);
}
