::-ms-reveal {
    display: none
}

.flex-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    padding-top: 10px;
    padding-bottom: 6px;
}

.flex33 {
    flex: 0 1 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-left {
    justify-content: left;
}

.flex-left a img, .flex-left img {
    margin-left: 20px;
}

.flex-right a img, .flex-right img {
    margin-right: 20px;
}

.flex-right a img, .flex-right img {
    height: 60px;
}

.flex-right {
    justify-content: right;
}


.logoCenter {
    padding-top: 40px;
    padding-bottom: 40px;
}

.login-box {
    position: relative;
    top: unset;
    left: unset;
    margin: 0;
    background-color: var(--color-white);
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%) !important;
    border-radius: 5px !important;
    padding: 1rem !important;
    border: none;
    width: 350px;
}

.login-header {
    border-color: var(--primary-color);
}

.login-table, .login-footer, .login-table2 {
    margin-top: 40px;
}

.login-input input {
    width: auto;
    border-bottom-color: var(--primary-color);
}

.login-input .userIco {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: var(--primary-color);
    -webkit-mask: url(../svg/user.svg) no-repeat center;
    mask: url(../svg/user.svg) no-repeat center;
    -webkit-mask-size: 20px 20px !important;
    mask-size: 20px 20px !important;
    vertical-align: middle;
}

.login-input .passwordIco {
    width: 20px;
    height: 20px;
    display: inline-block;
    background-color: var(--primary-color);
    -webkit-mask: url(../svg/password.svg) no-repeat center;
    mask: url(../svg/password.svg) no-repeat center;
    -webkit-mask-size: 20px 20px !important;
    mask-size: 20px 20px !important;
    vertical-align: middle;
}

.login-button input, .login-button a {
    background-color: var(--primary-color);
    color: var(--neg-color);
    cursor: pointer;
}

.login-button {
    padding-bottom: 0;
    border-radius: 4px;
    box-shadow: 3px 3px 3px #808080;
    border: 1px solid var(--primary-color);

}


.login-body {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.login-input, .login-button {
    padding: 0;
    margin: 0;
    left: unset;
    width: unset;
}

.login-button {
    margin-bottom: 10px;
}

#footer {
    background-color: var(--primary-color);
    color: var(--neg-color);
}

#footer p,
#footer a,
#footer span {
    color: var(--neg-color);
}

.container.middle {
    height: 80vh !important;
    background-color: #ffffff;
    background-image: url(../img/swspace_2.png);
    background-position: left top;
    background-repeat: repeat-x;
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    align-items: center;
    padding: 0;
}

.login-error {
    color: var(--color-font-error);
    background-color: var(--color-background-error);
}

.width100 {
    width: 100%;
}

@media (max-width: 599px) {

    #top .container {
        height: unset;
    }

    #top .container .row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-content: center;
        justify-content: center;
        align-items: center;
    }

    #top .container .row div {
        width: 33.33%;
    }

    #top .container .row .col #logo img, #top .container .row div:last-child img {
        height: unset !important;
        width: 100%;
    }

    #footer .copyright{
        display: none;
    }

    /****/
    .logoCenter {
        padding: 0;
        position: fixed;
        bottom: 25px;
        z-index: 1;
        right: 20px;
    }

    .flex-container {
        padding: 2px !important;
    }

    .flex33 {
        flex-basis: 50%;
    }

    .flex-container img:not(.btnShowPss) {
        height: 80px !important;
        width: 150px !important;
        object-fit: scale-down;
    }

    .spot {
        top: 14% !important;
    }

    .login-box {
        /*top: 6% !important;*/
        width: calc(100vw - 20%) !important;
    }

    .flex-right {
        padding: 10px !important;
    }

    #footer {
        bottom: 0;
    }

    .btnShowPss {
        bottom: 10px;
    }

    .login-input input {
        width: calc(100% - 15%);
    }
}

@media (max-height: 640px) {
    #footer {
        bottom: 5px;
    }
}

@media (max-width: 800px) and (orientation: landscape) {

    .flex-container {
        padding: 0 !important;
        flex-direction: row !important;
        height: 50px !important;
    }

    .flex-left {
        justify-content: left !important;
        flex: 0 0 50% !important;
    }

    .flex-left img {
        margin-left: 20px !important;
        height: 35px !important;
    }

    .flex-right {
        position: relative !important;
        padding: 0 !important;
        flex: 0 0 50% !important;
        bottom: unset !important;
        right: unset !important;
    }

    .flex-right a img {
        height: 35px !important;
        width: unset !important;
        margin-right: 20px !important;
    }

    .flex-container img {
        height: 80px !important;
        width: 100px !important;
        object-fit: scale-down;
    }

    .bg-asp {
        position: absolute !important;
        top: 50px !important;
        bottom: 22px !important;
        right: 0 !important;
        left: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .container.main-login.middle {
        height: unset !important;
        display: flex !important;
        justify-content: center;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        padding: 0 !important;
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        left: 0;
    }

    .login-box {
        width: 350px !important;
        margin-top: 0 !important;
        padding: 0 !important;
    }

    .login-header {
        padding: 4px 7px 4px 7px !important;
    }

    .login-table, .login-footer, .login-table2 {
        margin-top: 20px !important;
    }

    .login-button {
        margin-bottom: 10px !important;
    }

    .spot {
        white-space: break-spaces !important;
        width: 38% !important;
        line-height: 50px !important;
        text-align: left !important;
        left: 20px !important;
        top: unset !important;
    }

    #footer {
        bottom: 0 !important;
    }
}
