﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Nunito Sans","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

body {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f7f7f7;
    margin-top: 50px;
    height: 100%;
}

.header {
    width: 100%;
    background-color: white;
    color: white;
    text-align: center;
    position: fixed;
    top: 0;
    
    z-index: 10;
}

nav {
    width: 100%;
    background-color: #fefefe;
    
    height: 46px;
}

.login-container {
    padding: 5px;
    float: right;
    display: flex;
    align-items: center;
}

.login-container a {
    text-decoration: none;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
a {
    color: #333333;
    text-decoration: none;
}

nav li {
    float: left;
}

.NavLink {
    display: block;
    color: #333333;
    text-align: center;
    padding: 10px 24px 10px 26px;
    text-decoration: none;
}

    .NavLink:hover {
        background-color: #f6f9fc;
    }

nav .submenu {
    display: none;
    position: absolute;
    z-index: 3;
    background-color: white;
    width: 100%;
    left: 0;
    min-height: 200px;
    padding: 20px;
}

nav li:hover .submenu {
    display: flex;
    flex-direction: row;
}

.nav-list-item {
    flex: 1;
    text-align: left;
    margin: 10px;
    color: #000000;
}

    .nav-list-item a {
        font-size: 1.2em;
    }

    .nav-list-item a.SmallLink {
        font-weight: bold;
        font-size: .9em;
    }

    .nav-list-item a:hover {
        color: #3a9bfb;
    }

.ServiceImage {
    width: 100%;
}

.ServiceImageSmall {
    width: 300px;
    float: left;
    margin-right: 30px;
    margin-bottom:50px;
}

.clarity {
    width:70px;
    display: inline;
    float: left;
    margin-top:3px;
    margin-right:3px;
}

.nav-container {
    float: left;
    display: flex;
    align-items: center;
    z-index: 5;
}

.logo-container {
    float: left;
    display: flex;
    align-items: center;
}

    .logo-container img {
        border: none;
        margin-left: 20px;
        margin-top:10px;
        height: 27px;
    }

.login-btn {
    background-color: #0080ff;
    color: white;
    border: none;
    padding: 5px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.0em;
    margin-right: 20px;
    display: block;
    width: 100%;
}

    .login-btn:hover {
        background-color: #3a9bfb;
    }

.login-top {
    display: none;
    position: absolute;
    z-index: 1;
    right: 0;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 10px;
}

.main-container {
    z-index: 0;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    
    display: block;
}

.content {
    left: 0;
    width: 100%;
}

.LearnMoreButton {
    background-color: #0080ff;
    color: white;
    border: none;
    padding: 19px 39px 19px 39px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.3em;
    margin-right: 20px;
    margin:5px;
}

    .LearnMoreButton:hover {
        background-color: #3a9bfb;
    }

.TextOver a {
    color: #ffffff;
}

.TextOver {
    position: absolute;
    top: 30%;
    left: 20%;
    z-index: 2;
    color: #ffffff;
    font-size: 3.3em;
    text-shadow: 0 0 3px #000000, 0 0 5px #000000;
    font-family: Arial,sans-serif;
}
    .TextOver * {
        font-family: inherit;
    }

    .TextOver b {
        font-size: 1.2em;
        display: block;
    }

    .TextOver p {
        font-size: .4em;
        display: block;
    }

video {
    width: 100%;
    height: calc(100vh - 90px);
    left: 0;
    object-fit: cover;
    z-index: 1;
    
}

section {
    width: 100%;
    margin-bottom: 40px;
}

h2 {
    color: #0080ff;
    font-size: 2em;
    margin-bottom: 10px;
}

form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

    form label {
        display: block;
        font-size: 1.2em;
        margin-bottom: 10px;
    }

    form input[type="text"], form input[type="email"], form input[type="tel"], form select, form textarea {
        width: 100%;
        padding: 10px;
        border-radius: 5px;
        border: 1px solid #cccccc;
        margin-bottom: 20px;
    }

    form input[type="submit"], form button {
        background-color: #0080ff;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1.2em;
        transition: all 0.2s ease-in-out;
    }

        form input[type="submit"]:hover {
            background-color: #0066cc;
        }

footer {
    background-color: #5cb1f8;
    color: white;
    text-align: center;
    padding: 10px;
    bottom: 0;
    display: block;
    width: 100%;
    z-index: 1;
    align-content: center;
    height:60px;
}

.error {
    color:#bb0000;
}

footer p {
    width: 50%;
    display: block;
    margin: auto;
    padding-top: 10px;
}


    footer img {
        height: 35px;
        border: none;
        display: inline;
        float: left;
        margin-top: -10px;
        margin-right: 3px;
    }

.HalfPage {
    width: 50%;
    margin-left:25%;
    clear: both;
}

.MiniCont {
    flex-direction: row;
    display: flex;
    padding-left: 10%;
    padding-right: 10%;
    min-height: 250px;
}

.MiniBox {
    flex: 1;
    background-color: #f9f9f9;
    margin: 20px;
    filter: drop-shadow(0px 3px 5px #dcdcdc);
    border-radius: 5px;
    padding: 30px;
    text-align: center;
    align-content: center;
    padding-bottom:60px;
}
    .MiniBox img {
        width: 60%;
    }
    .MiniBox a {
        display: block;
    }
    .MiniBox a.login-btn {
        position: absolute;
        bottom: 0;
        left: 0;
    }

.bigger {
    font-size: 3.5em;
}

.CTAHome {
    background-color: #000000;
    min-height: 150px;
    color: #ffffff;
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 50px;
    padding-bottom: 50px;
}

    .CTAHome b {
        font-size: 3.5em;
        display: block;
    }

    .CTAHome form {
        color: #111111;
    }

    .CTAHome img {
        float: left;
        width:170px;
    }

    .CTAHome img {
        height: 100%;
    }

@media only screen and (max-width: 1000px) {
    .MiniCont {
        flex-direction: column;
    }
    .MiniBox img {
        width: 40%;
    }
}

.ToolTip {
    display: none;
    position: absolute;
    margin-left: 150px;
    transform: translateX(-30%);
    width: 400px;
    height: 50px;
    background-color: #ffffff;
    color: #000000;
    text-align: center;
    line-height: 50px;
    border-radius: 5px;
    text-shadow: none;
}

.LearnMoreButton:hover .ToolTip {
    display: block;
}