﻿* {
    box-sizing: border-box;
}

html {
    overflow-y: scroll;
    /*scroll-behavior: smooth;*/
}

body {
    margin: 0px;
    -webkit-text-size-adjust: 100%;
    font-size: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.wrapper {
    width: 100vw;
    max-width: 740px;
    margin-right: auto;
    margin-left: auto;
    height: 100vh;
    position: relative;
    background-color: #FFFFFF;
}

.header {
    height: 3.0em;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.headercontent {
    line-height: 1.0em;
    padding-top: 0.1em;
    padding-bottom: 0.0em;
    width: 100%;
    height: 100%;
    text-align: center;
}

.content {
    clear: both;
    height: calc(100vh - 5.0em);
    overflow: auto;
    width: 100%;
    top: 3em;
    left: 0;
    position: absolute;
    padding-left: 2px;
    padding-right: 4px;
}

.footer {
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: #666666;
    text-align: right;
    font-size: smaller;
    height: 1.6em;
    width: 100%;
/*    bottom: 0;
    left: 0;
    position: absolute;*/
}

.textcol {
    width: 100%;
    max-width: 1000px;
    min-width: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background-color: transparent;
}

input[type=button],
input[type=submit] {
    background-color: #FFFFFF;
    border: solid 1px #000000;
    color: #000000;
    padding: 2px 4px;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 80%;
}

    input[type=button]:hover,
    input[type=submit]:hover {
        background-color: #CDE6F7;
    }


textarea {
    font-family: inherit;
    font-size: inherit;
}

.gridhdr
{
    font-size: smaller;
    font-weight: normal;
    color: #808080;
}
td
{
/*    font-weight: normal;
    color: #808080;
*/}
th
{
    font-weight: normal;
    color: #000000;
}

.dates
{
font-size: 105%}
.events
{

}

.gridalloc {
    margin-bottom: 13px;
}

.gridreqd {
    margin-bottom: 25px;
}

    .gridreqd th {
        font-size: smaller;
        text-align: left;
    }

.smallfont {
    font-size: smaller;
}

.headercontent td {
    color: inherit
}

.btnawesome {
    background: #ffffff;
    color: #000000;
    border: 3px solid #51a7fe;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    vertical-align: middle;
    position: relative;
}

    .btnawesome:hover {
        background-color: #D8D8D8;
    }

    .btnawesome i {
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

.centrevh {
    position: relative;
}

    .centrevh div {
        max-width: 100%;
        max-height: 100%;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
    }

.stickyheader {
    width: 100%;
    background-color: #51a7fe;
    clear: both;
    height: auto;
    overflow: hidden;
}

/* Page content */
.stickycontent {
}

/* The sticky class is added to the header with JS when it reaches its scroll position */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 99999;
}

    /* Add some top padding to the page content to prevent sudden quick movement (as the header gets a new position at the top of the page (position:fixed and top:0) */
/*    .sticky + .stickycontent {
        padding-top: 102px;
    }*/

.eventlab {
    float: left;
    width: 40%
}

.eventgrid {
    float: right;
    width: 60%
}

.selnone {
    width: 400px; max-width: 80%; border: 1px solid #999999; border-radius: 5px; padding: 1em; margin-right: auto; margin-left: auto; text-align: center;
}

@media screen and (max-width: 479px) {
    .eventlab {
        width: 100%
    }

    .eventgrid {
        width: 100%
    }
}

/* touch screen vs computer */

/* touch */
.click {
    display: none;
}

.tap {
    display: inline-block;
}

/* computer */
@media (pointer: fine) {
    .click {
        display: inline-block;
    }

    .tap {
        display: none;
    }
}