:root {
    --primary-color: #0237ff;
    --cta-color: #0237ff;
    --secondary-color: #AAAAAA;
}

html, body {
    padding: 0;
    margin: 0;
    height: 100%;
}

body {
    background-color: var(--adcl-color-content-background);
}

h1 {
    line-height: 32px;
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 16px;
}

/** CUSTOMIZATION LOADING */

#page-wrapper {
    height: 100%;
    width: 100%;
    --pf-c-form__helper-text--m-error--Color: var(--adcl-snackbar-error-text);
}

.crm-content-container {
    display: none;
}
.customization-loaded .crm-content-container {
    display: block;
}
.customization-loaded .loading-info {
    display: none;
}

/** LOADING INFO */
.loading-info {
    padding-top: 200px;
    text-align: center;
}

/* CONTENT ELEMENTS */

.crm-register-container {
    max-width: 700px;
    margin: 0 auto 0 auto;
}

.aareon-card {
    margin-bottom: 16px;
    border-radius: 16px;
    border: 1px solid var(--adcl-card-border);
    background-color: #FFFFFF;
    padding: 16px;
}

.aareon-card.aareon-card-big-padding {
    padding: 36px 24px 12px 24px;
}

@media (min-width: 1024px) {
    .aareon-card.aareon-card-big-padding {
        padding-left: 48px;
        padding-right: 48px;
    }
}

.aareon-elevation-100 {
     box-shadow: 0 0 1px #3031330d,0 16px 24px #3031331a !important;
 }

.mat-typography {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    font-family: SkolarSans-Regular,Helvetica Neue,sans-serif;
    letter-spacing: .0178571429em;
    color: var(--adcl-color-primary-text);
}

.mat-typography p {
    margin: 0 0 12px;
}

a {
    text-decoration: none;
}
a, a:hover, a:visited {
    color: var(--primary-color);
}


* {
    box-sizing: border-box;
}

.login-title {
    padding-top: 12px;
}

.title-headline {
    font-size: 2.9rem;
    line-height: 60px;
    margin-bottom: 6px;
    color: var(--secondary-color);
    font-weight: 700;
}
.illustration {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 36px;
}
.illustration svg, .illustration img {
    max-width: 300px;
    height: auto;
    width: auto;
    min-height: 200px;
}

.crm-content-container {
    width: 100%;
    height: 100%;
    padding: 3vh 10vw;
}

.crm-two-col-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    gap: 48px;
    grid-template-areas: "login-column";
    height: 100%;
    padding-top: 4vh;
}

@media (min-width: 1024px) {
    .crm-content-container {
        padding: 3vh 10vw 0 10vw;
    }
    .crm-two-col-container {
        grid-template-areas: "logo-title-column login-column";
        grid-template-columns: minmax(300px,60%) 450px;
        justify-content: space-between;
    }
}

.title-text {
    text-align: justify;
}

.logo-title-column {
    grid-area: logo-title-column;
    display: none;
}

@media (min-width: 1024px) {
    .logo-title-column {
        display: block;
    }
}


.login-column {
    grid-area: login-column;
    width: 100%;
    height: 100%;
}
@media (min-width: 1024px) {
    .login-column {
        padding-top: 24px;
    }
}

.login-form {
    border-radius: 16px;
    background-color: #FFFFFF;
    border: 1px solid #EAEBED;
    /*height: 100%;*/
    width: 100%;
    padding: 48px 24px 36px 24px;
}

@media (min-width: 1024px) {
    .login-form {
        max-width: 600px;
        min-width: 400px;
        padding-left: 72px;
        padding-right: 72px;
        /*max-height: 75%;*/
    }
}

.login-header-logo {
    padding-bottom: 24px;
}
.login-header-logo img {
    width: 100%;
    object-fit: contain;
    height: 120px;
}

.login-form-bottom {
    padding: 12px 0 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.login-form-bottom-right {
    text-align: right;
}

.login-form-footer{
    padding: 10px 0 20px 0;
    text-align: center;
}
@media (min-width: 1024px) {
    .login-column .login-form-footer {
        max-width: 600px;
    }
}

/* INPUTS */
input:not([type="checkbox"]), input.form-control, .form-widget input.form-control, button {
    min-height: 48px;
    border-radius: 24px !important;
    box-sizing: border-box;
    padding: 0 16px;
    width: 100%;
    background-color: var(--adcl-formfield-background-color);
    border: 1px solid var(--adcl-formfield-outline-color);
}
input:not([type="checkbox"]):hover {
    border-color: var(--adcl-input-hover-color);
}
input:active, input:focus, input:focus-visible, input:focus-within, input:hover:focus
{
    border: 2px solid var(--primary-color);
    box-shadow: none;
    outline: none;
}

#kc-form-buttons {
    display: flex;
    gap: 15px;
    flex-direction: column;
}

@media (min-width: 576px) {
    #kc-form-buttons {
        flex-direction: row;
    }
}

.alert {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
}

.alert.altert-alert {
    background-color: var(--adcl-snackbar-error-background);
    color: var(--adcl-snackbar-error-text);
}

.alert.altert-success {
    background-color: var(--adcl-snackbar-success-background);
    color: var(--adcl-snackbar-success-text);
}

.alert.alert-warning {
    background-color: var(--adcl-snackbar-warning-background);
    color: var(--adcl-snackbar-warning-text);
}

altert.altert-info {
    background-color: var(--adcl-snackbar-info-background);
    color: var(--adcl-snackbar-info-text);
}



/*
select, .form-widget .form-select {
    min-height: 48px;
    border-radius: 8px;
    box-sizing: border-box;
    padding: 14px 16px;
    width: 100%;
    background-color: var(--adcl-formfield-background-color);
    border: 1px solid var(--adcl-formfield-outline-color);
    line-height: 48px;
}

.form-select .ts-control{
    height: 100%;
}

select:active, select:focus, select:focus-visible, select:focus-within, select:hover:focus
.form-widget .form-select:active, .form-widget .form-select:focus, .form-widget .form-select:focus-visible, .form-widget .form-select:focus-within, .form-widget .form-select:hover:focus
{
    border: 2px solid var(--primary-color);
    box-shadow: none;
    outline: none;
}
select:hover, .form-widget .form-select:hover {
    border-color: var(--adcl-input-hover-color);
}
*/
label, .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .8rem;
    font-family: SkolarSans-Bold,Helvetica Neue,sans-serif;;
}

.pf-c-button.pf-m-primary {
    background-color: var(--cta-color);
    color: #FFFFFF;
    border-radius: 24px;
}

.pf-c-form-control {
    color: var(--adcl-color-primary-text);
}
.pf-c-form-control, .pf-c-form-control[aria-invalid="true"] {
    border-width: 1px;
}

/** submit button */
.crm-register-container .pf-c-button.pf-m-block {
    width: auto;
    padding: 0 32px;
    margin-left: auto;
}

input:active, input:focus, input:focus-visible, input:focus-within, input:hover:focus {

}

.pf-c-form-control[aria-invalid="true"], .pf-c-form-control[aria-invalid="true"]:hover, .pf-c-form-control[aria-invalid="true"]:active{
    background-image: none;
    border-color: #AA2222;
}

#input-error {
    display: block;
    padding-top: 6px;
    color: #AA2222;
}

.ckEditor-view p {
    margin: 1em 0;
}
.ckEditor-view ol {
    list-style-type: decimal;
    margin: 0.25em 0 0.25em 2em;
    padding: 0;
}
.ckEditor-view ul {
    list-style-type: disc;
    margin: 0.25em 0 0.25em 1.5em;
    padding-left: 0;
    list-style-image: none;
}
.ckEditor-view blockquote {
    font-style: italic;
    overflow: hidden;
    padding-left: 1.5em;
    padding-right: 1.5em;
    font-size: 1.2em;
    position: relative;
    margin: 1rem 0;
    line-height: 2rem;
}
.ckEditor-view blockquote:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 4px;
    height: 100%;
    background-color: #0550e6;
    border-radius: 2px;
    color: #0550e6;
    font-size: 3rem;
    line-height: 1em;
    left: 0;
}
.ckEditor-view blockquote:after {
    content: no-close-quote;
}
.ckEditor-view code {
    background-color: rgba(199, 199, 199, .3);
    border-radius: 2px;
    padding: 0.15em;
    margin: 0.5em 0;
    font-size: 1em;
}
.ckEditor-view h2 {
    color: inherit !important;
    letter-spacing: -0.025em;
    font-weight: 400;
    font-size: 1.75rem;
    margin-top: 0.6em;


}
.ckEditor-view h2 span.text-tiny {
    font-size: 1.25rem;
}
.ckEditor-view h2 span.text-small {
    font-size: 1.5rem;
}
.ckEditor-view h2 span.text-big {
    font-size: 2rem;
}

.ckEditor-view h2 span.text-huge {
    font-size: 2.25rem;
}

.ckEditor-view h3 {
    letter-spacing: -0.025em;
    font-weight: 400;
    font-size: 1.5rem;


}
.ckEditor-view h3 span.text-tiny {
    font-size: 1.0rem;
}
.ckEditor-view h3 span.text-small {
    font-size: 1.25rem;
}
.ckEditor-view h3 span.text-big {
    font-size: 1.75rem;
}
.ckEditor-view h3 span.text-huge {
    font-size: 2rem;
}

.ckEditor-view h4 {
    margin: 1rem 0 0.75rem;
    font-size: 1.424rem;
    font-weight: bold;
    line-height: 1.3;


}
.ckEditor-view h4 span.text-tiny {
    font-size: 0.8rem;
}
.ckEditor-view h4 span.text-small {
    font-size: 1rem;
}
.ckEditor-view h4 span.text-big {
    font-size: 1.6rem;
}
.ckEditor-view h4 span.text-huge {
    font-size: 1.8rem;
}

.ckEditor-view h5 {
    margin: 1rem 0 0.75rem;
    font-size: 1.266rem;
    font-weight: bold;
    line-height: 1.3;


}
.ckEditor-view h5 span.text-tiny {
    font-size: 0.7rem;
}
.ckEditor-view h5 span.text-small {
    font-size: 0.9rem;
}
.ckEditor-view h5 span.text-big {
    font-size: 1.4rem;
}
.ckEditor-view h5 span.text-huge {
    font-size: 1.6rem;
}

.ckEditor-view h6 {
    margin: 1rem 0 0.75rem;
    font-size: 1.125rem;
    font-weight: bold;
    line-height: 1.3;

}
.ckEditor-view h6 span.text-tiny {
    font-size: 0.5rem;
}
.ckEditor-view h6 span.text-small {
    font-size: 0.7rem;
}
.ckEditor-view h6 span.text-big {
    font-size: 1.3rem;
}
.ckEditor-view h6 span.text-huge {
    font-size: 1.5rem;
}
.ckEditor-view .align-left {
    float: left;
}
.ckEditor-view .align-right {
    float: right;
}
.ckEditor-view .align-center {
    display: block;
    margin-right: auto;
    margin-left: auto;
}
.ckEditor-view .image {
    position: relative;
    clear: both;
    display: table;
    margin: 0.9em auto;
    min-width: 50px;
    text-align: center;
    outline-color: transparent;
    outline-style: solid;
    outline-width: 3px;
    transition: 200ms ease;
}
.ckEditor-view .image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    min-width: 100%;
}
.ckEditor-view .image > figcaption {
    background-color: transparent;
    caption-side: bottom;
    color: #545560;
    display: table-caption;
    font-size: 0.75em;
    outline-offset: -1px;
    padding: 0.6em;
    word-break: break-word;
    border: 1px solid transparent;
}
.ckEditor-view table {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-collapse: collapse;
}
.ckEditor-view table caption {
    padding: calc(1.5rem + ((1rem - 1.5rem) / 2));
    line-height: 1.5rem;
    background-color: #f7f7f7;
}
.ckEditor-view table tr td {
    padding: calc(1.5rem + ((1rem - 1.5rem) / 2));
    line-height: 1.5rem;
    border: none;
}
.register-grid {
    display: grid !important;
    grid-template-columns: 30px auto;
    margin-left: 20px;
    margin-right: 20px;
    .custom-checkbox-text {
        margin-left: 8px;
        padding-top: 5px;
    }
}

.form-group .label-with-click {
    display: inline-block;
}


.text-tiny {
    font-size: 10px;
}

.text-small {
    font-size: 12px;
}

.text-big {
    font-size: 16px;
}

.text-huge {
    font-size: 18px;
}

.text-align-center {
    text-align: center;
}

.text-align-left {
    text-align: left;
}

.text-align-right {
    text-align: right;
}

.text-align-justify {
    text-align: justify;
}

img[data-align="center"] {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

img[data-align="right"] {
    float: right;
    margin-left: 16px;
    margin-top: 15px;
}

img[data-align="left"] {
    float: left;
    margin-right: 16px;
    margin-top: 15px;
}

input[type="text"].input-error, input[type="email"] {
    border-color: #AD0000;
    outline: none;
}

input[type="checkbox"].input-error {
    outline: 2px solid #AD0000;
}

.error-message {
    color: #AD0000;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    display: block;
}

.material-checkbox-label a {
    text-decoration: none;
    font-weight: bold;
}

.material-checkbox-label a:hover {
    text-decoration: underline;
}

.material-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.material-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.material-checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #757575;
    border-radius: 4px;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    transform: translateY(5px);
    margin-right: 5px;
}

.material-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: scale(0) rotate(45deg);
    transition: all 0.3s ease;
    opacity: 0;
}

.material-checkbox-input:hover + .material-checkbox-label .material-checkbox-custom {
    border-color: var(--primary-color);
}

.material-checkbox-input:checked + .material-checkbox-label .material-checkbox-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.material-checkbox-input:checked + .material-checkbox-label .material-checkbox-custom::after {
    transform: scale(1) rotate(45deg);
    opacity: 1;
}

.material-checkbox-label {
    font-size: 1rem;
    cursor: pointer;
}

.error-message {
    color: #AD0000;
    font-size: 0.9rem;
    margin-top: 0.2rem;
    display: block;
}

img.align-left {
    margin-right: 15px;
    margin-top: 15px;
}
img.align-right {
    margin-left: 15px;
    margin-top: 15px;
}
