/*
 *   Copyright (c) 2023 Luxembourg Institute of Science and Technology
 *   All rights reserved.
 *   See License in the LICENSE file
 */
@import url('https://fonts.googleapis.com/css?family=Poppins');

/** colors:
#F4F4F7 - lighter grey
#E3E3E3 - light grey
#C9C9C9 - base grey
#414042 - text-grey
#3EBA8E - primary (green)
#8083DF - secondary (link)
color: #FF715B;
**/

/** common styles **/
html {
    font-size: 62.5%;
    height: 100%;
}

body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.4rem;
    color: #414042;
    background-color: #3EBA8E;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
}

* {
    box-sizing: border-box;
}

h1 {
    font-size: 2.4rem;
    margin: 0 0 3.2rem;
    letter-spacing: 0.04px;
    line-height: 1.5;
}

h1 .subline {
    font-size: 1.4rem;
    color: #646366;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: #8083DF;
}

a:hover, a:focus {
    text-decoration: underline;
    color: #8083DF;
}

body > [class*="page"], body > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 623px;
    padding: 4rem 10.4rem;
    border: 1px solid #E3E3E3;
    border-radius: 2px;
    background-color: #FFFFFF;
}

body > [class*="page"] > div, body > .container > div {
    width: 100%
}

.card-pf > * {
    width: 100%
}

.kc-header-wrapper {
    display: flex;
    align-items: center;
}

.kc-logo-text {
    height: 120px;
    width: 138.5px;
    position: absolute;
    top: 4rem;
    left: 4rem;
    background: url(../img/logo.svg) no-repeat center;
}

.kc-logo-text > span {
    display:none;
}

#kc-info-wrapper {
    font-size: 1.4rem;
    max-width: 600px;
}

input[type="text"],input[type="password"],input[type="number"] {
    height: 4rem;
    width: 100%;
    border: 1px solid #C9C9C9;
    border-radius: 2px;
    padding: 1rem 1.6rem;
    margin-bottom: 2.4rem;
    background-color: #F4F4F7;
    font-size: 1.4rem;
    letter-spacing: 0.02px;
    line-height: 1.5;
    outline: none;
}

input[type="text"]:focus,input[type="password"]:focus,input[type="number"]:focus {
    border-color: #BBB;
}

label {
    display: inline-block;
    margin: 0 0 .4rem .3rem;
    color: #A7A9AC;
    font-size: 1.2rem;
    letter-spacing: 0.02px;
    line-height: 1.5;
}

.checkbox label {
    color:#414042;
    font-size: 1.4rem;
    cursor: default;
}

.form-box {
    padding: 1.6rem 1.2rem;
    margin-bottom:  .4rem;
    border: 1px solid #A7A9AC;
    border-radius: 2px;
}

.pf-c-button {
    cursor: pointer;
    min-height: 4rem;
    width: 100%;
    padding: 1rem;
    border: 1px solid #D8D8D8;
    border-radius: 2px;
    background: linear-gradient(0deg, #F4F4F7 0%, #FFFFFF 100%);
    color: #FFFFFF;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.02px;
    line-height: 1.5;
    text-align: center;
    outline: none;
}

.pf-c-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.pf-c-button.pf-m-primary {
    background: #3EBA8E;
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: inset 0 -1px 1px 0 rgba(255,255,255,0.1), 0 2px 3px 0 rgba(59,161,127,0.3);
}

.pf-c-button.pf-m-primary:hover, .pf-c-button.pf-m-primary:active {
    background: #39a37e;
}

.pf-c-button.pf-m-primary:active {
    border: 1px solid rgba(0,0,0,.2);
}

.alert {
    text-align: center;
}

.alert-error, .alert-success  {
    padding: 16px;
    border: 1px solid #FF715B;
    color: #646366;
    font-size: 1.4rem;
    margin-bottom: 3.2rem;
    text-align: left;
}

.alert-success {
    border-color: #3EBA8E
}

.alert-error .kc-feedback-title {
    margin-bottom: .8rem;
    color: #414042;
    font-size: 1.6rem;
    letter-spacing: 0.03px;
    vertical-align: super;
}

.alert-error .kc-feedback-title .pficon {
    vertical-align: super;
}


.pficon-error-circle-o {
    background: url(../img/error.svg) no-repeat center;
    height: 1.6rem;
    width: 2rem;
    margin-right: .4rem;
    display: inline-block;
}

.center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.navbar-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    height: 75px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 5vw;
    z-index: 10;
    background-color: white;
    font-size: 1.6rem;
}

.navbar-main .container {
    width: 100%;
    margin: 0 5vw;
}

ul.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style-type: none;
}

ul.nav a {
    color: #414042;
    font-size: 16px;
    letter-spacing: 0.03px;
    text-decoration: none;
    opacity: .6;
}

ul.nav .active a {
    opacity: 1;
    font-weight: bold;
}

ul.nav  a:hover {
    opacity: 1;
}