/*Setup*/
@import url('https://fonts.googleapis.com/css2?family=Dosis&display=swap');

html
{
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
}

body
{
    margin: 0;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    font-family: 'Dosis', sans-serif;
    font-size: 1em;
    overflow: hidden;
    position: fixed;
}

a, a:active, a:visited, a:link, a:hover, .ui-page-theme-a a, html .ui-bar-a a, html .ui-body-a a, html body .ui-group-theme-a a, .ui-page-theme-a a:hover, html .ui-bar-a a:hover, html .ui-body-a a:hover, html body .ui-group-theme-a a:hover
{
    font-weight: bold;
    text-decoration: none;
    color: #000;
}

input, label, .ui-input, .ui-label, select, .ui-select, textarea, .ui-textarea
{
    color: #000;
    font-size: 1em !important;
    font-family: 'Dosis', sans-serif;
    outline: none;
    border: 1px solid #CCC;
    padding: 5px;
    border-radius: 5px;
    background-color: #ffffff;
}

input[type=button], input[type=submit]
{
    background-color: #433E31;
    color: #FFF;
    cursor: pointer;
}

label, .ui-label
{
    color: #000;
    font-size: 0.8em !important;
    font-family: 'Dosis', sans-serif;
    outline: none;
    background-color: #FFF;
}

.ui-overlay-a, .ui-page-theme-a, .ui-page-theme-a .ui-panel-wrapper
{
    border: none;
    text-shadow: none;
    
}

.ui-header
{
    height:75px;
    position: fixed;
}

.ui-bar
{
    position: fixed;
    bottom: 0px;
    background-color: #003;
    width: 95%;
    color: #FFF;
    font-size: 0.6em;
    text-align: center;
    z-index: 1002;
}

.ui-content
{
    margin: 0px;
    padding: 0px;
    width: 100%;
}

/*Main Classes*/
.ui-page, .page, .ui-page-active, .ui-mobile [data-role=page], .ui-mobile [data-role=dialog]
{
    margin-top:226px; 
    margin-bottom:20px;
    padding:10px;
    overflow-x: hidden;
    text-align: center; 
    max-height: 50px;
}

.container
{
    margin: 10px;
    padding: 5px;
    font-size: 1.25em;
}

.center-full
{
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.row
{
    display: inline-block !important;
}

.center-text
{
    width: 100%;
    text-align: center;
}

.spacer
{
    height: 10px;
    max-height: 10px;
    min-height: 10px;
}

.hidden
{
    display: none;
    visibility: hidden;
}

.visible
{
    display: block;
    visibility: visible;
}

#loading.block-off, #orientation.block-off
{
    z-index: 9999999;
}

.block-off
{
    display: block;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 999999;
    background-color: #fff;
    background:rgb(0,0,0);
    background: transparent\9;
    background:rgba(0,0,0,0.6);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#66000000,endColorstr=#66000000);
}

.block-off-load-img
{
    width:50px;
    height: 50px;
    position: fixed;
    top: 50%;
    left: 45%;
}

/*Images*/


/*DIVS*/


/*HEADER*/
#header
{
    display: flex;
    width: 100%;
    min-width: 320px;
    height: 70px;
    background-color: #282828;
}

#logo
{
    margin-left: 17px;
    margin-top: 5px;
    cursor: pointer;
    max-height: 60px;
}

#contactInfo
{
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-gap: 5px;
    text-align: right;
    align-items: center;
    width: 90vw;
    justify-content: end;
    margin-right: 20px;
    margin-top: 10px;
    height: 15px;
}

#contactInfo a
{
    color: #FFF;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    line-height: 1em;
}

#contactInfoMobile
{
    display: none;
}


/*FOOTER*/
#footer
{
    position: absolute;
    bottom: 0px;
    width: 100%;
    height: 20px;
    background-color: #282828;
    border-top: 1px solid #433E31;
}


/*NAV BAR*/
#navBar
{
    display: flex;
    width: 100%;
    height: 30px;
    background-color: #433E31;
    color: #FFF;
    font-weight: bold;
    font-size: 1.2em;
    padding-left: 20px;
    position: sticky;
    align-items: center;
}

#navBarMenu
{
    display: grid;
    grid-template-columns: repeat(4, auto);
    grid-gap: 30px;
    list-style: none;
    text-align: center;
    width: 90vw;
    justify-content: start;
}

#navBarMenu div
{
    cursor: pointer;
}

#mobileMenuBtn, #mobileMenu
{
    display: none;
}


/*BANNERS*/
#banners
{
    overflow: hidden;
    position:fixed;
    top:100px;
    width:100%;
    max-height: 125px !important;
    min-height: 125px;
    border-bottom: 1px solid #433E31;
    z-index: 9999997;
}

#bannersInner
{
    position:relative;
    max-height: 125px !important;
    min-height: 125px;
}

.banner-img-holder
{
    min-width:125px;
    min-height:125px;
}


.homeImg
{
    display: flex;
    justify-self: center;
    width: 300px;
    height: 300px;
    border: 1px solid #CCC;
    border-radius: 10px;
    margin: auto;
}

#profilePic
{
    background: url("../images/homepage-steve.jpeg");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#randomPic
{
    background-image: url("");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}




/*CONTACT FORM*/
#contactForm input,textarea
{
    width: 100%;
    min-width: 100%;
    margin-top: 10px;
    min-height: 40px;
}


@media screen and (max-width: 480px) {
    #banners
    {
        top: 70px;
    }

    #navBar
    {
        display: none;
    }

    #footer
    {
        height: 120px;
    }

    #contactInfo
    {
        display: none;
    }

    #contactInfoMobile
    {
        display: block;
        display: grid;
        grid-template-rows: repeat(2, auto);
        grid-gap: 8px;
        text-align: center;
        align-items: center;
        width: 100vw;
        justify-content: center;
        margin-top: 5px;
        height: 15px;
    }

    #contactInfoMobile a
    {
        color: #FFF;
        font-weight: bold;
        font-size: 1.2em;
        text-decoration: none;
        line-height: 1em;
    }

    #logo
    {
        margin-left: 0px;
        position: fixed;
        left: 50%;
        transform: translate(-50%, 0%);
    }

    .ui-page, .page, .ui-page-active, .ui-mobile [data-role=page], .ui-mobile [data-role=dialog]
    {
        margin-top:196px;
        margin-bottom:60px;
    }

    #mobileMenuBtn
    {
        display: block;
        position: absolute;
        top: 18px;
        right: 15px;
        font-size: 2rem;
        cursor: pointer;
    }

    #mobileMenu
    {
        display: block;
        width: 100%;
        height: calc(100% - 256px);
        position: absolute;
        top: 196px;
        left: -100%;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 999;
    }

    #mobileMenuContent
    {
        display: flex;
        flex-direction: column;
    }

    #mobileMenu.active {
        background: #433E31;
        left: 0;
        opacity: 1;
        transition: all 0.5s ease;
        z-index: 999;
    }

    #mobileMenuContent div {
        text-align: center;
        padding: 1.6rem;
        display: table;
        color: #FFF;
        font-size: 1.5em;
        font-weight: bold;
        cursor: pointer;
    }
    
    #mobileMenuContent div:hover {
        background-color: #fff;
        color: #242424;
        border-radius: 0;
    }

    .fa-bars {
        color: #fff;
    }

    .fa-times {
        color: #fff;
        font-size: 2rem;
    }
}