﻿.loginwindow {
    position: relative;
    overflow: hidden;
    width: 350px;
    height: 200px;
    float: left;
    background-color: #f0f0f0;
    border: 1px solid black;
    color: Black;
    font-weight: normal;
    margin-right: 20px;
}

.form {
    background-color: #ccc1c1;
    text-align: center;
}

.loginWindow {
    display: inline-block;
    background-color: #FFF;
    padding: 20px;
}

.layoutimage {
    width: 100px;
    border: none;
}

.fbooktext {
    font-family: 'Coming Soon', cursive;
}

.block300 p {
    font-family: 'Coming Soon', cursive;
}

.block300 {
    display: inline-block;
    width: 300px;
    vertical-align: top;
}


@media all and (min-device-width:300px) and (max-device-width:480px) {
    .loginWindow {
        max-width: 100%;
    }

    .pageBody {
        background-color: #FFF;
    }

    .block300 {
        padding-left: 0px;
        max-width: 96%;
    }

    #fbook b {
        line-height: normal;
        width: 100%;
    }
}

.loginWindow a:link, a:visited {
    text-decoration: none;
    color: #2a2a2e;
}

.loginWindow a:hover, a:active {
    color: #c4446d;
}


th {
    font-weight: bold;
}

.textbox {
    border: 1px solid black;
    font: unset;
    height: unset;
    font-family: 'Varela Round', sans-serif;
}

#fbook b {
    font-size: 1.4em;
    font-family: 'Gloria Hallelujah', cursive;
}

.fbooktext {
    font-family: 'Coming Soon', cursive;
}

.imgAsButton{
    width: 50px;
    height: 50px;
}

.fitToCell{
    width:100%;
    height:100%;
}



.staff_member {
    width: calc(33% - 8px);
    aspect-ratio: 4/2;
    cursor: pointer;
    border: 1px solid black;
    margin: 3px;
    padding: 3px;
    vertical-align: middle;
    background-color: #fbcaca;
    position: relative;
    display: inline-block;
    font-size: calc(14px + (26 - 14) * ((100vw - 200px) / (1600 - 200)));
    max-width: 200px;
}



.selected_staff_member{
    background-color: #FF0000;
    color: #FFF;
    border-color: #FF0000;
}

.emojiLogin {
    display: inline-block;
    background-color: #FFF;
    padding: 20px;
    width:100%;
    height: 100%;
}
.staff_list {
    overflow: hidden;
    padding: 20px;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: calc(50% - 20px);
    overflow-y:auto;
}
.emojis {
    overflow: hidden;
    width: calc(50% - 20px);
    height: 100%;
    padding: 20px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
}
.emoji_table{
    max-width:100%;
    max-height:100%;
    aspect-ratio:1;
    display:inline-block;
    
}
.emojiButton{
    width: 100%;
    height: 100%;
}
.emoji_table td{
    padding:5px;
}

.pageBody{
    overflow:hidden;
}
body{
    overflow:hidden;
}
/*portrait layout*/
@media only screen and (max-aspect-ratio: 1/1) {
    .staff_list {

        width: 100%;
        height: calc(50% - 20px);
    }

    .emojis {
        width: 100%;
        top: calc(50% - 20px);
        height: calc(50% - 20px);
    }
    .emoji_table{
        margin-top:unset;
    }
}