@font-face {
    font-family: "MainFont";
    src: url(fonts/OpenSans-Light.ttf) format('truetype');
}
@font-face {
    font-family: "HeaderFont";
    src: url(fonts/OpenSans-Regular.ttf) format('truetype');
}

#headerBackground {
    width: 100%;
    height: 100px;
    justify-content: center
    margin: 0px;
    padding: 0px;
    background-color: black;
    background-image: url("images/header_bg.jpg");
    background-position: center top;
    background-repeat: repeat-x;
}

#headerContents {
    position: relative;
    margin: auto;
    width: 100%;
    max-width: 1100px;
    height: 100px;
}

#titleButton
{
    position: relative;
    top: 15px;
    opacity: 0.75;
}
#titleButton:hover {
    filter: brightness(1.3);
}
#titleButton:active {
    opacity: 0.5;
}

#indexBody {
    margin: 0px;
    padding: 0px;
    background: black;
}

body {
    color: #eeeeee;
    font-family: MainFont, Arial, Helvetica, sans-serif;
    font-size: 13pt;
}

#backgroundLayer1 {
    position: absolute;
    top: 120px;
    width: 100%;
    height: 100%;
    background: url("images/land_bg.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}

#backgroundLayer2 {
    position: absolute;
    top: 120px;
    width: 100%;
    height: 100%;
    background-repeat: repeat-x;
    background: url(images/sky_bg-dark.jpg);
    mix-blend-mode: lighten;
    pointer-events: none;
}

#mainContentDiv {
    position: relative;
    width: 100%;
    height: 100%;
}

#mainContent {
    border: none;
    width: 94%;
    height: 100%;
    max-width: 700px;
}

.mainContentBody {
    margin: 0px;
    padding: 0px;
    overflow: hidden;
}

.frameBorderCorner {
    width: 25px;
    min-width: 25px;
    height: 25px;
    background: url("images/frame/frame_border-corner.png") no-repeat;
}

.frameBorderLeft {
    width: 25px;
    min-width: 25px;
    background: url("images/frame/frame_border-left.png") repeat-y;
}

.frameBorderRight {
    width: 25px;
    min-width: 25px;
    background: url("images/frame/frame_border-right.png") repeat-y;
}

.frameBorderTop {
    height: 25px;
    background: url("images/frame/frame_border-top.png") repeat-x;
}

.frameBorderBottom {
    height: 25px;
    background: url("images/frame/frame_border-bottom.png") repeat-x;
}

.framedContent {
    background: #1d1f2e;
}

a.link {
    color: #b3c8ff;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    text-decoration: none;
}
a.link:hover {
    color: #ffd880;
    filter: brightness(1.1);
}
a.link:active {
    color: #ffd880;
    filter: brightness(0.5);
}
a.link:visited {
    color: #989ed9;
}

a.button {
    display: inline-block;
    width: 175px;
    height: 52px;
    line-height: 50px;
    background: black;
    background-size: cover;
    border-radius: 8px;
    border: 2px solid #a6a6a6;
    color: white;
    cursor: pointer;
    margin: 10px;
    font-size: 14pt;
    text-align: center;
    text-decoration: none;
}
a.button:hover {
    filter: brightness(1.1);
}
a.button:active, input:active[type=button] {
    filter: brightness(0.5);
}

a.buttonFilter {
    cursor: pointer;
}
a.buttonFilter:hover {
    filter: brightness(1.1);
}
a.buttonFilter:active {
    filter: brightness(0.5);
}

a.appDownloadButton {
    display: inline-block;
    width: 175px;
    height: 52px;
    line-height: 50px;
    background-color: transparent;
    background-position: -3px -1px;
    background-size: 182px 54px;
    border-radius: 8px;
    border: 2px solid #a6a6a6;
    cursor: pointer;
/* 
    <ToDo> consider Google requirements for space around button
 */
    margin: 10px;
    font-size: 14pt;
    text-decoration: none;
}
a.appDownloadButton:hover {
    filter: brightness(1.1);
}
a.appDownloadButton:active {
    filter: brightness(0.5);
}

input.button {
    background: black;
    background-size: cover;
    border-radius: 8px;
    border: 2px solid #a6a6a6;
    color: white;
    cursor: pointer;
    margin: 10px;
    padding: 8px;
    font-size: 12pt;
    text-align: center;
    text-decoration: none;
}
input.button:active {
    filter: brightness(0.5);
}

a.submitButton {
    display: block;
    width: 175px;
    height: 44px;
    line-height: 42px;
    background: black;
    background-size: cover;
    border-radius: 8px;
    border: 2px solid #a6a6a6;
    color: white;
    cursor: pointer;
    margin: 10px;
    font-size: 14pt;
    text-align: center;
    text-decoration: none;
}
a.submitButton:hover {
    filter: brightness(1.1);
}
a.submitButton:active {
    filter: brightness(0.5);
}

.slideContainer {
    position: relative;
    display: inline-block;
}

.slideButton {
    display: block;
    position: absolute;
    top: 50%;
    cursor: pointer;
    opacity: 0.75;
}
.slideButton:hover {
    opacity: 1.0;
}
.slideButton:active {
    opacity: 0.5;
}

input[type=button] {
    display: block;
    width: 175px;
    height: 52px;
    line-height: 50px;
    background: black;
    background-size: cover;
    border-radius: 8px;
    border: 2px solid #a6a6a6;
    color: white;
    cursor: pointer;
    margin: 10px auto;
    font-size: 14pt;
    text-decoration: none;
}

td {
    margin: 0px;
    padding: 0px;
}

h1 {
    color: white;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    font-size: 15pt;
    font-weight: normal;
    margin: 20px 0px;
}

h2 {
    color: #e6edff;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: normal;
    margin: 20px 0px;
}

h3 {
    color: white;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    font-size: 13pt;
    font-weight: normal;
    margin: 20px 0px;
}

h4 {
    color: white;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    font-size: 13pt;
    font-weight: normal;
    margin: 0;
}

li {
    line-height: 25px;
}

input {
    font-size: 11pt;
    padding: 5px;
}

select {
    width: 100%;
    font-size: 11pt;
    padding: 5px;
}

option {
    font-size: 11pt;
    padding: 5px;
}

#mainButtonBar {
    position: relative;
    left: 0px;
    top: -20px;
    width: 100%;
    height: 60px;
    padding-top: 5px;
    background-image: url('images/button_bar_bg.png');
    background-repeat: repeat-x;
}

.buttonBarButton {
    height: 30px;
}
.buttonBarButton:hover {
    filter: brightness(1.1);
}
.buttonBarButton:active {
    filter: brightness(0.5);
}

#homeButton {
    display: block;
    width: 58px;
    background: url("images/buttons/home_button.png") no-repeat 0px 0px;
}

#appsButton {
    display: block;
    width: 47px;
    background: url("images/buttons/apps_button.png") no-repeat 0px 0px;
}

#gamesButton {
    display: block;
    width: 66px;
    background: url("images/buttons/games_button.png") no-repeat 0px 0px;
}

#aboutButton {
    display: block;
    width: 55px;
    background: url("images/buttons/about_button.png") no-repeat 0px 0px;
}

#contactButton {
    display: block;
    width: 101px;
    background: url("images/buttons/contact_button.png") no-repeat 0px 0px;
}

#headshot {
    float: right;
    max-width: 120px;
    min-width: 80px;
    margin: 0px 0px 8px 8px;
    border: 3px solid #dddddd;
    border-radius: 4px;
}

.newsIcon {
    display: block;
    border: 2px solid #a6a6a6;
    border-radius: 28%;
}
.newsIcon:hover {
    filter: brightness(1.1);
}
.newsIcon:active {
    filter: brightness(0.5);
}

a.newsTitle {
    color: #b3c8ff;
    font-family: HeaderFont, Arial, Helvetica, sans-serif;
    font-size: 14pt;
    text-decoration: none;
}
a.newsTitle:hover {
    color: #ffd880;
    filter: brightness(1.1);
}
a.newsTitle:active {
    color: #ffd880;
    filter: brightness(0.5);
}

.newsDate {
    color: #aaaaaa;
    font-size: 10pt;
}

#videoOverlay {
    background: black;
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 5;
}

#videoFrame {
    position: absolute;
    width: 100%;
    height: 100%;
}

#closeVideoButton {
    display: block;
    position: absolute;
    float: right;  
    right: 5px;
    top: 5px;
    z-index: 8;
}

.helpImage {
    border: 1px solid #895900;
    width: 100%;
    max-width: 350px;
}
