* {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    background-color: #010101 !important;
    font-family: 'Arial', sans-serif !important;
    margin: 0;
    padding: 0;
}

/* Fallback background image for browser without webp or avif support */
.no-avif.no-webp.login:before {
    background-image: url(../img/muninn_login_bg2.jpg), url(../img/muninn_login_bg2_blurry.jpg) !important;
}

/* WebP background image for browser WITH webp but WITHOUT avif support */
.no-avif.webp.login:before {
    background-image: url(../img/muninn_login_bg2.webp), url(../img/muninn_login_bg2_blurry.jpg) !important;
}

.login:before {
    content: ' ';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto 100%;  /* cover in y-direction, allow empty space on left side */
    background-image: url(../img/muninn_login_bg2.avif), url(../img/muninn_login_bg2_blurry.jpg);  /* default avif background */
    -webkit-animation: fadein 4s ; /* Chrome, Safari, Opera */
    animation: fadein 4s ;
}

/* Fade animation used for hiding slow loading of large background image */
/* Chrome, Safari, Opera */
@-webkit-keyframes fadein {
    from {opacity: 0.0;}
    to {opacity: 1;}
}

/* Standard syntax */
@keyframes fadein {
    from {
        opacity: 0.0;
    }
    to {
        opacity: 1;
    }
}

.login-content {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 30rem;
}

.ui.grid {
    height: 100vh;
    margin: 0; !important
}


.ui.segment {
    padding: 5rem;
    box-shadow: 0 0 20px rgba(255, 255, 255, .5);
    background-color: white;
    visibility: visible;
    width: unset;
    max-width: 50rem;
}

.card * {
    margin-bottom: 5%;
}

input {
    border-radius: 4px !important;
    border: 1px solid #D9D9D9;
    font-family: 'Arial', sans-serif !important;
    font-weight: 2 !important;
}

button {
    border-radius: 4px !important;
    background: #007173 !important;
    font-family: 'Arial', sans-serif !important;
    color: white !important;
    font-weight: 550 !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

button:hover {
    background: #00585a !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: #146bf6;
    background-color: #1c3d72;
}


.login-header {
    font-size: x-large;
    font-family: 'Arial', sans-serif;
    font-weight: 20;
    color: dimgrey;
    text-align: center;
    padding-bottom: 8rem;
}

.occlude {
    height: 100%;
    background-color:  #DFE4E8;
}

.slogan {
    font-size: 2rem;
    color: #fff;
    text-align: right;
    line-height: 1;
    font-weight: 50;
    max-width: 590px;
    margin: 0 auto;
    /*margin-top: 20%;*/
    margin-right: 2rem;
}

#sso-login-info {
    text-align: center;
    margin-top: 30px;
    font-weight: 550;
}

#sso-login-info > a {
    text-decoration: none;
    color: #44BBCA;
}

#sso-login-info > a:hover {
    text-decoration: underline;
}

[data-tooltip][data-inverted]:after, [data-inverted][data-position~=top][data-tooltip]:before {
    background-color: #767676;
}

#login-options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}


/* RESULOTION DEPENDENT STYLES */

/*For resolution <1400 wide we need to use less padding around the login form */
@media screen
and (max-width: 1400px)
{
    .row>.login-padding.column.four.wide {
        width: 12.5% !important;
    }

    .row>.login-content.column.eight.wide{
        width: 75% !important;
    }
}
