/* Base styles */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

/* Layout */
#space {
    width: 1px;
    height: 50%;
    margin-bottom: -581px;
    float: left;
}

#container {
    width: 1000px;
    height: 1162px;
    margin: 0 auto;
    position: relative;
    clear: left;
    max-width: 100%;
    background-color: #1a1a1a;
}

/* Background */
#backgroundimage {
    border-width: 0;
    height: auto;
    left: 0;
    margin: 0;
    min-height: 100%;
    min-width: 100%;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: -1;
    object-fit: cover;
}

/* Navigation */
#TabMenu1 {
    text-align: left;
    float: left;
    margin: 0;
    width: 100%;
    font-family: Arial;
    font-size: 13px;
    font-weight: normal;
    border-bottom: 1px solid #FFFF00;
    list-style-type: none;
    padding: 14px 0px 4px 10px;
    overflow: hidden;
    box-sizing: border-box;
}

#TabMenu1 li {
    float: left;
}

#TabMenu1 li a {
    padding: 5px 14px 8px 14px;
    border: 0px solid #FFFF00;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    background-color: #EEEEEE;
    color: #666666;
    margin-right: 5px;
    text-decoration: none;
    border-bottom: none;
    position: relative;
    top: 0;
    transition: 200ms all ease;
    -webkit-transition: 200ms all ease;
    -moz-transition: 200ms all ease;
    -ms-transition: 200ms all ease;
    display: block;
}

#TabMenu1 li a:hover {
    background: #8B0000;
    color: #F5FFFA;
    font-weight: bold;
    text-decoration: none;
    top: -4px;
}

#TabMenu1 li a.active, 
#TabMenu1 li a:hover.active {
    background-color: #FFFFFF;
    color: #666666;
    position: relative;
    font-weight: normal;
    text-decoration: none;
    z-index: 2;
}

/* Common text styles */
.text-base {
    background-color: transparent;
    border: 0px #000000 solid;
    padding: 0;
    text-align: left;
    word-wrap: break-word;
}

.text-base div {
    text-align: left;
}

/* Form elements */
input[type="text"], 
textarea {
    border: 1px #A9A9A9 solid;
    background-color: #FFFFFF;
    color: #000000;
    font-family: Arial;
    font-size: 16px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
}

input[type="text"] {
    vertical-align: middle;
    line-height: 23px;
}

textarea {
    resize: none;
    min-height: 100px;
}

input[type="submit"] {
    border: 1px #A9A9A9 solid;
    background-color: #FF8C00;
    color: #000000;
    font-family: Arial;
    font-size: 16px;
    padding: 10px 20px;
    cursor: pointer;
    width: auto;
}

/* Links */
a {
    color: #0000FF;
    text-decoration: underline;
    word-wrap: break-word;
}

a:visited {
    color: #800080;
}

a:active {
    color: #FF0000;
}

a:hover {
    color: #0000FF;
    text-decoration: underline;
}

/* Images */
img {
    border: 0px #000000 solid;
    max-width: 100%;
    height: auto;
}

/* Slideshow */
#SlideShow1 .image {
    border-width: 0;
    left: 0;
    top: 0;
    max-width: 100%;
    height: auto;
} 