﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.app_container {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    align-items: stretch;
    height: 100%;
}



/* DO NOT CHANGE THIS NAME BECAUSE THIS SELECTOR TRIGGERS FUNCTIONALITY OF APPEAR.JS */
.app_main_section {
    width: 100%;
    /*align-self: flex-start;*/
    flex: 1 0;
    overflow-y: scroll;
    justify-content: center;
    display: flex;
    background: #005AA7; /* fallback for old browsers */
    background: -webkit-linear-gradient(to left, #FFFDE4, #005AA7); /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to left, #FFFDE4, #005AA7); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
    position: absolute;
    top: 34px;
    bottom: 0;
    left: 0px;
    right: 0px;
    overflow: auto;
}

    .app_main_section > form {
        margin: auto;
    }

.app_footer {
    flex-shrink: 0;
    background-color: #f3f3f3;
    color: gray;
    font-size: 0.8em;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    display:none;
}

.footer_container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: hidden;
}
@media screen and (max-width: 768px) {
    .footer_container {
        display:none;
    }
    .app_main_section
    {
        bottom:0;
    }
}

.app_footer_middle {
    flex: 1;
    padding: 10px;
    text-align: right;
}

.app_console {
    width: 500px;
    max-width: 40%;
    max-height: 35px;
    overflow: hidden;
    position: relative;
    color: lightgray;
}

.app_console_inner {
    position: absolute;
    left: 0;
    bottom: 0;
}

    .app_console_inner > span {
        font-size: 0.83em;
        padding: 0 2px;
    }

.warning {
    background-color: yellow !important;
    color: black !important;
}

.error {
    background-color: pink !important;
    color: black !important;
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}






.loadingoverlay {
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.3);
}



.longpress_Yes circle {
    fill: lightgreen;
}

.longpress_No circle {
    fill: pink;
}

.longpress {
    cursor: pointer;
    user-select: none;
}

    .longpress:hover {
        background-color: lightblue;
        padding: 2px 5px;
    }


.selectboxit-container .selectboxit-options {
    max-height: 340px;
}
