@font-face {
    font-family: 'Lato-Light';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/lato-v11-latin-ext_latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/lato-v11-latin-ext_latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/lato-v11-latin-ext_latin-300.woff') format('woff'), /* Modern Browsers */ url('../fonts/lato-v11-latin-ext_latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/lato-v11-latin-ext_latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

@font-face {
    font-family: 'Lato-Regular';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/lato-v11-latin-ext_latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('../fonts/lato-v11-latin-ext_latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('../fonts/lato-v11-latin-ext_latin-regular.woff') format('woff'), /* Modern Browsers */ url('../fonts/lato-v11-latin-ext_latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('../fonts/lato-v11-latin-ext_latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

:root {
    --pf-v5-global--FontFamily--text: 'Lato-Regular', sans-serif;
    --pf-v5-global--FontFamily--heading: 'Lato-Regular', sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    font-size: 14px;
    color: #333333;
    height: auto;
}

h1, h2, h3 {
    color: #333333;
}

a, a:visited {
    color: #333333;
    text-decoration: underline;
}

a:hover {
    text-decoration: underline;
}

.login-pf {
    background: none;
}

.login-pf body {
    background: url(../img/string.svg) calc((100% / 2) + 865px) 12px no-repeat, linear-gradient(158.39deg, #23249c 0, #5379d2 100%);
/*    min-height: 100vh; */
}

.pf-v5-c-login {
    padding-top: 0;
    padding-bottom: 0;
    display: block;
}

.pf-v5-c-login__container {
    display: block;
    max-width: none;
}

.pf-v5-c-login__header,
.pf-v5-c-login .pf-v5-c-login__header {
    width: 667px;
    height: 100px;
    background: url(../img/logo-solvio-wit.svg) right center no-repeat;
    margin: 20px auto 0px;
}

.pf-v5-c-login .pf-v5-c-login__main-header h1 {
    font-size: 16px;
    text-align: left;
    display: inline;
    margin: 0;
}

.pf-v5-c-button.pf-m-block {
    width: auto;
    padding: 1px 21px 1px 21px;
    border-radius: 5px;
}

.pf-v5-c-form__group {
    margin-bottom: 15px;
}

.pf-v5-c-form-control {
    padding: 6px 12px;
}

form input[type=text],
form input[type=password] {
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #cfcfcf;
    border-right-color: white;
    border-bottom-color: white;
}

.pf-v5-c-button.pf-m-primary {
    background: linear-gradient(to bottom, #09d3ff 0%, #00bbe3 100%);
    min-width: 150px;
    height: 32px;
}

.pf-v5-c-button.pf-m-block:hover {
    background: #fdf22d;
    background: -moz-linear-gradient(top, #fdf22d 0%, #fe9a12 100%);
    background: -webkit-linear-gradient(top, #fdf22d 0%, #fe9a12 100%);
    background: linear-gradient(to bottom, #fdf22d 0%, #fe9a12 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdf22d', endColorstr='#fe9a12', GradientType=0);
}

#kc-form-buttons {
    display: flex;
    justify-content: flex-end;
}

.login-help  {
    display: inline-block;
    min-height: 32px;
    max-height: 32px;
/*    min-width: 40px; */
    line-height: 29px;
    cursor: pointer;
    margin-left: auto;
    margin-right: 10px;
    border-radius: 5px;
    color: #969494;
    text-shadow: 0 0 white;
    border: 1px solid #969494;
    padding: 1px 21px 1px 21px;
    text-decoration: none;
}

.login-extra {
    vertical-align: middle;
    font-size: 12px;
}

.pf-v5-c-login .pf-v5-c-login__main,
.pf-v5-c-login__main {
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
    padding: 0;
    width: 550px;
    border-radius: 5px;
    background-color: #f7f7f7;
    border: none;
}

.pf-v5-c-login__main > * {
    margin: 20px;
}

.pf-v5-c-login__main > .pf-v5-c-login__main-header {
    display: block;
    height: 62px;
    line-height: 62px;
    font-size: 16px;
    padding: 0 25px 0 25px;
    margin: 0px;
    background: #f0f0f0 url(../img/lock.svg) no-repeat calc(100% - 30px) 23px;
    border-radius: 5px 5px 0 0;
}

#kc-header-wrapper {
    display: none;
}

#top-environment-banner {
    z-index: 999999999;
    position: absolute;
    top: 32px;
    left: -40px;
    display: block;
    white-space: nowrap;
    font-size: 30px;
    color: #fff;
    transform: rotate(321deg);
    width: 230px;
    max-width: 230px;
    background: rgba(0, 0, 0, .3);
    padding-right: 20px;
    text-align: center;
    overflow: hidden;
}

.pf-v5-c-login__main-body {
    padding-bottom: 1px;
    padding-inline: 0;
}

.kc-login-tooltip {
    display: inline-block;
    position: relative;
    margin-left: 5px;
}

.kc-login-tooltip .kc-tooltip-text {
    top: 15px;
    left: 160%;
    background-color: #fdf22d;
    visibility: hidden;
    color: black;
    line-height: 29px;

    min-width: 200px;
    text-align: center;
    border-radius: 2px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.6);
    padding: 5px;

    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
}

/* Show tooltip */
.kc-login-tooltip:hover .kc-tooltip-text {
    visibility: visible;
    opacity: 0.7;
}

/* Arrow for tooltip */
.kc-login-tooltip .kc-tooltip-text::after {
    content: " ";
    position: absolute;
    top: 15px;
    right: 100%;
    margin-top: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent black transparent transparent;
}

.pf-m-error {
    color: var(--pf-v5-global--danger-color--100);
}

@media screen and (max-width: 675px) {
    .login-pf body {
        background: url(../img/string.svg) calc((100% / 2) + 750px) 12px no-repeat, linear-gradient(158.39deg, #23249c 0, #5379d2 100%);
    }

    .pf-v5-c-login__header,
    .pf-v5-c-login .pf-v5-c-login__header {
        width: 446px;
    }

    .pf-v5-c-login .pf-v5-c-login__main,
    .pf-v5-c-login__main {
        width: 320px;
    }

    .login-help {
        padding: 1px 15px 1px 15px;
    }

    .pf-v5-c-button.pf-m-primary {
        min-width: 115px;
    }

    .pf-v5-c-button.pf-m-block {
        padding: 1px 15px 1px 15px;
    }
}

@media screen and (max-width: 446px) {
    .login-pf body {
        background: linear-gradient(158.39deg, #23249c 0, #5379d2 100%);
    }

    .pf-v5-c-login__header,
    .pf-v5-c-login .pf-v5-c-login__header {
        width: 320px;
        background-position: center center;
    }
}

@media screen and (max-width: 320px) {
    .pf-v5-c-login__main {
        width: 300px;
    }
}
