body {
    font-family: 'Open Sans', Arial, sans-serif;
    bottom: 0;
    height: auto;
    left: 0;
    margin: 0;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom);
    padding-top: env(safe-area-inset-top);
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    overflow: visible !important;
}
html,
body {
    min-width: 100%;
    --color-primary: #3ca22d;
    --color-link-font-secondary: #246bd4;
}
.container {
    text-align: center;
    height: auto;
    min-height: 100%;
}
.right {
    float: right;
}
#logo {
    background-image: url('../../images/logos/IQGeo_logo_header.svg');
    background-repeat: no-repeat;
    background-position: center center;
    font-size: 0;
    margin: 3.5px 10px 0 0;
    width: 125px;
    height: 70px;
}
.checkbox input {
    vertical-align: -2px;
}
/*
 * === LOGIN PAGE ===
 */
#login {
    background: none repeat scroll 0 0 #ffffff;
    margin: 50px auto 0;
    padding: 25px;
    width: 330px;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
#login-banner {
    font-weight: 600;
}
#login_message {
    color: #fe2e2e;
    font-size: 14px;
    text-align: left;
}
/*-----Login button-----*/

.login-sign-in-btn {
    min-width: 80px;
    font-family: inherit;
    font-size: 14px;
    font-weight: normal;
    height: 32px;
    padding: 4px 15px;
    border: 1px solid var(--color-primary);
    border-radius: 2px;
    color: #fff;
    background-color: var(--color-primary);
}
.login-sign-in-btn:not(:disabled):hover {
    filter: brightness(1.1);
}
#login-or-sign-in-with:not(:empty) {
    margin-bottom: 1em;
}
#login div {
    font-size: 15px;
    margin: 0 0 1.5em;
    text-align: left;
}

/*-----Input boxes-----*/

.login-input {
    direction: ltr;
    font-size: 15px;
    margin-top: 8px;
    width: 100%;
    line-height: 28px;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 4px 11px;
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    height: 32px;
}
.login-input:hover {
    border-color: var(--color-primary);
    border-inline-end-width: 1px;
}
.login-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(31, 90, 8, 0.17);
    border-inline-end-width: 1px;
    outline: 0;
}

/*-----APPLICATION LINK BOXES-----*/
#app_options {
    padding: 20px 50px 35px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: none;
    text-align: center;
}
.box {
    background-color: #fbfbfb;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    color: #000000;
    display: inline-block;
}
.app_options_box {
    height: 230px;
    margin: 10px 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    width: 180px;
    vertical-align: top;
    position: relative;
    cursor: pointer;
}
.app_options_box:hover {
    border-color: #535353;
    text-decoration: none !important;
}
.app_options_icon {
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 4px 4px 4px 4px;
    bottom: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05) inset;
    height: 64px;
    padding: 6px;
    position: absolute;
    right: 20px;
    width: 64px;
}
.app_options_description {
    display: block;
    max-height: 150px;
    padding-top: 20px;
    text-align: left;
    font-size: 1.1em;
    word-break: break-word;
}
.app_options_title {
    display: block;
    font-size: 17px;
    font-weight: 600;
    text-align: left;
}
.app_options_link {
    text-align: left;
    padding: 10px 0;
    display: block;
}
.app_options_link a {
    text-decoration: none;
}
/*-----MESSAGE-----*/
.home-page-message {
    font-family: Arial, sans-serif;
    font-size: 16px;
    margin-top: 100px;
    padding: 100px;
    text-align: center;
}

/*-----FOOTER-----*/
#footer {
    background-color: #eeeeee;
    bottom: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 19px;
}
#footer > div.left {
    margin-top: -4px;
    min-width: 25%;
    float: left;
    font-size: 14px;
    height: 100%;
    text-align: left;
}
#footer > div.left a {
    font-weight: 600;
    color: var(--color-link-font-secondary);
}
#footer > div.left span {
    margin-left: 12px;
}
#footer > div.center {
    margin-top: -4px;
    width: 50%;
    float: left;
    font-size: 14px;
}
#footer > div.center img {
    vertical-align: -2px;
    width: 54px;
    padding-left: 1px;
}
#footer > div.right {
    margin-top: -4px;
    text-align: right;
    position: absolute;
    top: 0;
    right: 8px;
}
#footer > div.right > span:not(:last-child) {
    margin-right: 2px;
}

.center {
    float: left;
    font-size: 14px;
    width: 50%;
}
.center img {
    vertical-align: -2px;
    width: 59px;
}
/*
 * === MEDIA QUERIES FOR SCREEN SIZES LOWER THAN 814px ===
 */
@media screen and (max-width: 814px) {
    body {
        background: #f9f9f9;
    }
    #logo {
        background-size: 91.5px 33.34px;
        height: 33.34px;
        width: 91.5px;
        margin: 20px;
    }
    #login {
        width: 77%;
        margin: 15px auto 0;
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.18), 0 -1px 0 rgba(0, 0, 0, 0.02);
    }
    #app_options {
        margin-left: 0;
        padding: 60px 20px 35px;
    }
    .app_options_icon {
        height: 40px;
        padding: 6px;
        right: 11px;
        top: 10px;
        width: 40px;
    }
    .app_options_icon img {
        width: 40px;
        height: 40px;
    }
    .app_options_title {
        font-size: 1.2em;
        padding-left: 5px;
        width: calc(100% - 70px);
        max-height: 2.7em;
        overflow: hidden;
    }
    .app_options_box {
        height: 54px;
        margin: 10px 8px;
        padding: 10px;
        width: calc(100% - 36px);
        display: flex;
        flex-direction: row;
        align-items: center;
        box-shadow: 0 3px 20px rgba(0, 0, 0, 0.18), 0 -1px 0 rgba(0, 0, 0, 0.02);
    }
    .app_options_description {
        display: none;
    }
}
