﻿
* {
    box-sizing: border-box;
    float: none;
}

body {
    font-family: Arial;
    margin: 0;
    background-color: whitesmoke;
}

.header {
    padding: 10px;
    text-align: center;
    background: #6699FF;
    color: white;
}

.navbar {
    display: flex;
    background-color: #333;
}

    .navbar a {
        color: white;
        padding: 14px 20px;
        text-decoration: none;
        text-align: center;
    }

        .navbar a:hover {
            background-color: #ddd;
            color: black;
        }

.row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    position: relative;
}

.side {
    flex: 30%;
    background-color: silver;
    padding: 5px;
    font-weight: bold;
}

.main {
    flex: 70%;
    background-color: white;
    padding: 0px,20px,0px,20px;
}

.footer {
    padding: 5px;
    text-align: center;
    background: #6699FF;
    font-weight: bold;
    font-size: medium;
    color: #FFFFFF;
}

@media (max-width: 700px) {
    .row, .navbar {
        flex-direction: column;
    }
}

.subheader {
    background-color: gray;
    font-size: medium;
    font-weight: bold;
    padding-left: 5px;
    padding-bottom: 2px;
    padding-top: 2px;
    margin: 5px;
}

.subtext {
    padding: 5px;
    margin: 0px;
    font-size: medium;
    list-style-type: disc;
    list-style-position: outside;
    text-align: left;
    line-height: normal;
}

p {
    margin-top: 0px;
    margin-bottom: 5px;
}

ul {
    margin-top: 0px;
    margin-bottom: 5px;
}

#ContactBox {
    position: absolute;
    width: 75%;
    max-width: 800px;
    top: 50%;
    left: 50%;
    font-size: medium;
    color: black;
    transform: translate(-50%,-50%);
    background-color: aqua;
    display: none;
}

#Overlay {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.7);
    z-index: 2;
    visibility: hidden;
}

.ErrorLbl {
    color: red;
    font-weight: bold;
    text-align: left;
}

.SendBtn {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background-color: #C0C0C0;
}

    .SendBtn:hover {
        background-color: red;
    }

.ContactBtn {
    font-weight: bold;
    background-color: #C0C0C0;
}

    .ContactBtn:hover {
        background-color: red;
    }
