:root {
    --ice-border: #D5D5D5;
    --ice-success: #138636;
    --ice-warning: #ffc107;
    --ice-danger: #6d000d;
    --ice-alert: #343C3D;
}

body {
    font-family: Arial, sans-serif;
    font-size: 1em;
}

.login-pf body {
    min-height: 100%;
    height: auto;
}

div.kc-logo-text {
    color: #ffffff;
    background-repeat: no-repeat;
    background-position: center;
}

.login-pf-page .login-pf-signup {
    font-size: inherit;
}

.phplivechat-wrapper {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    width: 250px;
}

.card-pf {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    box-shadow: none;
    border-top: none;
}

.pf-c-alert {
    margin: 20px;
}

legend {
    font-size: inherit;
}

.g-recaptcha[data-size="normal"] {
    overflow: hidden;
}

.date-selection {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1em;
}

.date-selection > * {
    flex: 1 1 0%;
}

/* Portal Styling */
.form-horizontal .form-group {
    margin: 0 0 15px;
}

.form-group .ice-text-label:not(input[type="radio"] + *) {
    cursor: text;
}

.ice-text-input {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    outline: 0 none transparent;
    font-size: 1em;
    text-overflow: ellipsis;
    overflow: hidden;

    box-shadow: none;
    width: 100%;
}

/*.textbox::-webkit-calendar-picker-indicator,*/
.ice-text-input::-webkit-inner-spin-button,
.ice-text-input::-webkit-clear-button {
    display: none;
}

/*.textbox:required {*/
/*border-bottom: 1px solid black;*/
/*box-shadow: 0 1px 0 0 black;*/
/*}*/

/*.textbox[type=date]:not(:focus):not(.valid):not(.invalid) {*/
/*color: transparent;*/
/*}*/
.ice-text-input:focus, .ice-text-input:active, .ice-text-input:hover {
    outline: 0 none transparent;
}

/** hide the IE "x" on INPUT elements **/

.ice-text-input::-ms-clear, .ice-text-input:focus::-ms-clear, .ice-text-input:active::-ms-clear, .ice-text-input:hover::-ms-clear {
    display: none !important;
}

.pf-m-primary {
    transition: background-color 0.3s;
}

.password-requirements-list {
    list-style: inside disc;
}

.password-requirements-list > * > :nth-child(2) {
    margin-left: 1em;
}

#kc-content {
    padding-bottom: 30px;
}

#kc-info-wrapper {
    font-size: inherit;
    background: none;
    padding-left: 0;
    padding-right: 0;
}

#kc-info-message {
    text-align: center;
}

#cookie-accept-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
}

.ice-popup-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 auto;
    box-shadow: none;
    border-top: none;
    max-height: 100%;
    overflow-y: auto;
    background: white;
    padding: 20px;
}

.info-icon {
    height: 2em;
    padding-right: 16px;
}

.info-panel {
    margin: 16px 0;
    padding: 16px;
    border: 1px solid var(--ice-border);
    display: flex;
    align-items: center;
    font-size: 1em;
    box-shadow: 2px 2px 8px -2px rgba(0, 0, 0, 0.15);
}

.account-set-up-type-switch-container {
    padding: 0 20px 15px;
}

.account-set-up-type-switch-message {
    padding-bottom: 20px;
}

.loginFieldContainer {
    overflow: hidden;
    height: 170px;
}

.username {
    display: flex;
    height: 190px;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    margin-bottom: 0;
}

.password {
    display: none;
    height: 190px;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    position: relative;
    transform: translateX(100%) translateY(-90%);
    padding-bottom: 15px;
    box-sizing: border-box;
    margin-top: 10px;
}

.backToUsernameButton {
    margin: 10px 0;
}

.fieldInRight {
    animation: fieldInRightAnimation 0.7s linear;
    transform: translateX(0) translateY(-100%)
}

@keyframes fieldInRightAnimation {
    0% {
        transform: translateX(100%) translateY(-100%);
    }
    50% {
        transform: translateX(50%) translateY(-100%);
    }
    100% {
        transform: translateX(0%) translateY(-100%);
    }
}

.fieldOutLeft {
    animation: fieldOutLeftAnimation 0.7s linear;
    transform: translateX(-100%);
}

@keyframes fieldOutLeftAnimation {
    0% {
        transform: translateX(0%);
    }
    50% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.fieldInLeft {
    animation: fieldInLeftAnimation 0.7s linear;
}

@keyframes fieldInLeftAnimation {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0%);
    }
}

.fieldOutRight {
    animation: fieldOutRightAnimation 0.7s linear;
}

@keyframes fieldOutRightAnimation {
    0% {
        transform: translateX(0%) translateY(-100%);
    }
    50% {
        transform: translateX(50%) translateY(-100%);
    }
    100% {
        transform: translateX(100%) translateY(-100%);
    }
}

.pf-m-error {
    display: block;
}

.cookie-disclaimer {
    max-width: 500px;
}

.ice-popup-card > a {
    padding: 4px 4px 4px 0;
}

#cookie-accept-popup tbody tr:nth-child(even) {
    background-color: #eee;
}

.button-row {
    margin-top: 1em;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

#cookie-table {
    border-collapse: collapse;
    border: 1px solid black;
}

#cookie-table th, #cookie-table td {
    border: 1px solid black;
    padding: 4px;
}

.ice-form-header {
    color: #757575;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.ice-form-header > :not(:first-child) {
    margin-left: 1em;
}

.ice-backup-content {
    text-align: center;
    padding: 8px;
}

@media (max-width: 762px) {

    .login-pf-page {
        background: none;
        padding-bottom: 0;
    }

    .phplivechat-wrapper {
        position: static;
        width: 30px;
        height: 30px;
    }

    .phplivechat-wrapper > span {
        position: static;
        display: inline-block;
        height: 30px;
        width: 30px;
        background-size: 30px 30px;
        background-position: center;
        background-image: url("../img/question_answer_white_24dp.svg");
    }

    .phplivechat-wrapper > span > * {
        display: none;
    }

    .phplivechat-wrapper > span > img {
        display: none;
    }

    #kc-page-title {
        font-size: inherit;
    }

    #kc-info {
        margin: 20px 0px -30px;
    }

    #cookie-table {
        font-size: 14px;
    }

}
