/* START SLIDESHOW for CREATE CUSTOMER */

@media (min-width: 1024px) {
    .filter-options-content-outer .filter-options-content-inner {
        max-height: fit-content;
    }

    .slideshow_container .form.create.account {
        min-width: 1000px;
    }
}

@media (max-width: 767px) {
    .register_slides .field.field-role .control {
        flex-wrap: wrap;
    }

    .register_slides .field.field-role .visual-option {
        flex-basis: 100%;
        max-width: 300px;
    }
}

.register_slides .field.field-title.required label.label span:after {
    content: '*';
    color: #e02b27;
    font-size: 1.2rem;
    margin: 0 0 0 5px;
}

.field.field-role .control .visual-option .image-description li {
    list-style: none;
    background-image: url("../../images/check.svg");
    background-repeat: no-repeat;
    background-position: left 3px;
    background-size: 20px;
    line-height: 30px;
    padding-left: 30px;
    min-height: 30px;
    font-weight: 600;
    line-height: 25px;
    font-size: 16px;
}

.field.field-role .control .visual-option label span {
    font: normal normal bold 24px/35px Poppins;
}

.field.field-role .control .visual-option .options {
    margin-bottom: 15px;
    padding-left: 10px;
    align-self: center;
}

.field.field-role .control .visual-option .media img {
    border-radius: 24px;
    width: 90%;
    max-height: 100%;
}

.register.slideshow_container .field.field-title {
    display: flex;
}

.slideshow_container .register_slides .field.field-title>label {
    width: fit-content;
    padding-top: 0;
}

.slideshow_container fieldset.create.info,
.slideshow_container fieldset.address,
.slideshow_container fieldset.create.account {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 0;
}

.slideshow_container fieldset.create.account .field.email,
.slideshow_container fieldset.create.account .field.field-school_test {
    flex-basis: 100%;
}

.slideshow_container fieldset.create.info div.field,
.slideshow_container fieldset.address div.field,
.slideshow_container fieldset.create.account .field.password,
.slideshow_container fieldset.create.account .field.confirmation {
    flex-basis: 49%;
}

/*
flex without fieldset
.slideshow_container .create.personal_info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.slideshow_container .create.personal_info div.field {
    width: 49%;
} */
.slideshow_container .create.personal_info .control input,
.slideshow_container .create.personal_info .control select,
.slideshow_container fieldset.create.account .control input,
.slideshow_container fieldset.create.account .control select {
    border-radius: 5px;
}

.slideshow_container .field-checkbox_accepted_terms_of_use {
    margin-top: 10px !important;
}

.slideshow_container .primary.next_slide {
    margin-left: auto;
    margin-right: 0;
    display: block;
    border-radius: 5px;
    font-family: Poppins;
    text-transform: none;
    font-size: 16px;
    padding: 12px 20px;
    min-width: 200px;
}

.field-avatar .visual-option .image-description,
.field-avatar .visual-option input[type='radio'] {
    display: none;
}

.field-avatar .visual-option .media img {
    border-radius: 50%;
    padding: 1px;
}

.field-role .visual-option .image {
    border: 5px solid transparent;
}

.field-role .visual-option .selected-role {
    border: 5px solid #05B6B1;
}

.field-avatar .visual-option .avatar-img {
    opacity: 40%;
}

.field-avatar .visual-option .avatar-img.selected-avatar {
    border: 5px solid #05B6B1;
    opacity: 100%;
}

.register_slides .avatar_description {
    text-align: center;
    opacity: 60%;
    margin-bottom: 25px;
}

.slideshow_container .form.create.account {
    /* width: 65%;
    padding: 50px; */
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 85rem;
}

.field.field-role {
    display: flex;
    align-items: center;
    flex-direction: column;
}

/* .field.field-role .control {
    flex-wrap: wrap;
} */
.field.field-role .label,
.slide_title {
    font-size: x-large !important;
    font-weight: bold !important;
    margin-bottom: 3rem !important;
    text-align: center !important;
}

.field.field-role .control {
    display: flex;
    justify-content: center;
}

.field.field-role .visual-option {
    display: flex;
    flex-direction: column;
    /*flex-basis: 33%; parent enabled*/
    flex-basis: 49%;
    /* parent disabled */
}

/*.field.field-role .visual-option:last-child {
    /* parent disabled* /
    display: none;
}*/

.field.field-role .control .visual-option input.radio {
    display: none;
}

.register_slides {
    display: none
}

/* The slides_dots/bullets/indicators */
.slides_dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #EAECEF;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.slides_dot.active,
.slides_dot:hover {
    background-color: #009688;
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {

    .prev,
    .next,
    .text {
        font-size: 11px
    }
}

.register_slides .profile_summary {
    display: flex;
}

.register_slides .profile_summary .column {
    flex-basis: 50%;
}

.register_slides .column.personal_information {
    display: flex;
    flex-direction: column;
}

.register_slides .column.personal_information h3 {
    margin-top: 10px;
}

.register_slides #summary_block {
    flex-grow: 1;
}

.register_slides .personal_information .actions-toolbar {
    display: flex;
    flex-direction: column;
    align-items: end;
}

.register_slides #show_learn_more {
    font-weight: bold;
    cursor: pointer;
}

.customer-account-create .form-create-account .register_slides .personal_information .actions-toolbar>.primary {
    width: fit-content;
}

.register_slides {
    width: 100%
}

.register_slides .column.selected_role {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#summary_selected_role {
    width: 80%;
}

.register.slideshow_container {
    margin: 0 auto;
}

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

.field.field-role .control .visual-option .media {
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
}

.slideshow_container .register_slides {
    margin-top: 20px;
}

.slideshow_container .field-title .label {
    margin-right: 10px;
}

.register.slideshow_container .field-avatar {
    margin: 50px auto;
    margin-bottom: 25px;
    max-width: 640px;
    padding-left: 5px;
}

.register.slideshow_container .field-avatar label span,
.field-avatar .visual-option label span {
    display: none;
}

/*.form-edit-account .field-role .media  {
    display: none;
}*/

.visual-option .media img {
    cursor: pointer;
    border: 3px solid white;
}

.visual-option .media img:hover {
    border: 5px solid #05B6B1;
}

.field-role>label span:after {
    display: block;
    text-align: center;
    margin-top: 5px;
    font-size: 50%;
    font-weight: normal;
    color: #bbbbbb;
    content: "(bitte auswählen)";
}

.inputFieldError {
    background-color: rgba(255, 0, 0, 0.12);
    border-radius: 10px;
    padding: 7px;
}

/* teacher role specialities */

#teacher_mail_error {
    font-style: italic;
    color: grey;
    font-size: 12px;
    padding: 4px 0px;
}

#learn_more_teacher {
    margin-top: 20px;
}

#learn_more_teacher ul {
    margin-top: 20px;
}

#learn_more_teacher li {
    margin-bottom: 5px;
}

/* END SLIDESHOW for CREATE CUSTOMER */

/* TODO Remove this when parent role is possible */
.field-role .control .visual-option:nth-child(3) {
    display: none;
}

.field-role .control .visual-option:before {
    content: "Coming soon";
    text-transform: uppercase;
    margin: 0 auto;
    font-weight: bold;
    color: #05B6B1;
}

.field-role .control .visual-option:nth-child(1):before,
.field-role .control .visual-option:nth-child(2):before {
    visibility: hidden;
}

.field-role .control .visual-option:nth-child(3) .media,
.field-role .control .visual-option:nth-child(3) .options label,
.field-role .control .visual-option:nth-child(3) .image-description {
    opacity: 40%;
    cursor: default;
}

.field-role .control .visual-option:nth-child(3) label[for] {
    cursor: default;
}

.field-role .visual-option:nth-child(3) .media img,
.field-role .visual-option:nth-child(3) .media img:hover {
    border: initial;
    cursor: default;
}

/*************************************************************************************/
/*****************************  SCHOOL SELECTION  ************************************/
/*************************************************************************************/

[id^="typeaheadSelect"] .typeahead,
[id^="typeaheadSelect"] .tt-query,

[id^="typeaheadSelect"] .tt-hint {
    width: 100%;
    height: 30px;
    padding: 8px 12px;
    font-size: 24px;
    line-height: 30px;
    border: 1px solid #e1e1e1;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 5px;
    outline: none;
}

[id^="typeaheadSelect"] .typeahead {
    background-color: #fff;
}

.field input:focus,
.field select:focus,
[id^="typeaheadSelect"] .typeahead:focus {
    border: 2px solid #02b6b1;
}

[id^="typeaheadSelect"] .tt-query {
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

[id^="typeaheadSelect"] .tt-hint {
    color: #999
}

[id^="typeaheadSelect"] .tt-menu {
    width: 100%;
    margin: 12px 0;
    padding: 8px 0;
    background-color: #fff;
    border: 1px solid #ccc;
    border: 1px solid rgba(0, 0, 0, 0.2);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
}

[id^="typeaheadSelect"] .tt-suggestion {
    padding: 3px 20px;
    font-size: 18px;
    line-height: 24px;
}

[id^="typeaheadSelect"] .tt-suggestion:hover {
    cursor: pointer;
    color: #fff;
    background-color: #02b6b1;
}

[id^="typeaheadSelect"] .tt-suggestion.tt-cursor {
    color: #fff;
    background-color: #0097cf;
}

[id^="typeaheadSelect"] .tt-suggestion p,
.pageTester .tt-suggestion p {
    margin: 0;
}

/* example specific styles */
/* ----------------------- */

[id^="typeaheadSelect"] #custom-templates .empty-message {
    padding: 5px 10px;
    text-align: center;
}

[id^="typeaheadSelect"] #multiple-datasets .league-name {
    margin: 0 20px 5px 20px;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

[id^="typeaheadSelect"] #scrollable-dropdown-menu .tt-menu {
    max-height: 150px;
    overflow-y: auto;
}

[id^="typeaheadSelect"] #rtl-support .tt-menu {
    text-align: right;
}

.field-school input,
.field-school_subjects input {
    color: #9c9c9c !important;
    font-size: 15px !important;
}

.field .input-text::placeholder,
.field-school input[type="text"]::placeholder,
.field-school_subjects input[type="text"]::placeholder {
    font-style: italic;
    font-size: 15px;
    color: #aaaaaa;
}

.field-school,
.field-school [id^="typeaheadSelect"] .twitter-typeahead,
.field-school_subjects,
.field-school_subjects [id^="typeaheadSelect"] .twitter-typeahead {
    width: 100%;
}

.input-tags {
    display: inline-block;
    position: relative;
    list-style: none;
    padding: 0;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.input-tags li {
    display: inline-block;
    background-color: #02b6b1;
    color: white;
    border-radius: 20px;
    margin-right: 0.5em;
    margin-top: 0.5em;
    padding: 0.5em 1em;
}

.input-tags .delete-button {
    background-color: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0 0 0.1em 1em;
}

@media only screen and (max-width: 768px) {
    #registerDataBottomContainer {
        flex-direction: column;
    }

    #registerDataBottomContainer .next_slide {
        margin-top: 1em;
    }
}

#registerDataBottomContainer {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#registerDataBottomContainer .next_slide {
    align-self: flex-end;
    height: fit-content;
}

#registerDataBottomContainer .field.newsletter {
    margin-bottom: 0;
}

.create.account div[class*="field-checkbox_"] label {
    padding-top: 0 !important;
}

/* acount edit page */

.customer-account-edit .field-role>label span::after {
    content: '*';
    color: #e02b07;
    font-size: 1.7rem;
    margin: 0 0 0 5px;
    display: inline;
}

.customer-account-edit .field-role>label::after {
    display: block;
    margin-top: 5px !important;
    font-weight: normal;
    color: #bbbbbb !important;
    content: "(bitte auswählen)" !important;
}

.customer-account-edit .field-role .control {
    position: relative;
}

.customer-account-edit #role-error {
    position: absolute;
    bottom: 0;
}

.customer-attributes-container .customer-attributes
 {
    display:none;
}

.field-checkbox_accepted_terms_of_use .label a,
.field-checkbox_accepted_privacy_policy .label a
{
    font-weight: bold;
}

.login-container .block-title {
    margin-bottom: 0.5em !important;
}

.login-container .block-content ul {
    padding-left: 0px;
}

.block-new-customer .block-content li {
    list-style: none;
    background-image: url("../../images/check.svg");
    background-repeat: no-repeat;
    background-position: left 2px;
    background-size: 1em;
    padding-left: 23px;
}

.popup-authentication .block-content p,
.popup-authentication .block-content li {
    font-size: 13px;
}

.popup-authentication .block[class]+.block::before {
    left: -4px !important;
}

.complete-account-information.form-edit-account {
    border: 0px !important;
}

.complete-account-information-title {
    font-size: 28px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
}

.complete-account-information .actions-toolbar div.primary {
    width: 100%;
    display: block;
    margin-bottom: 1.5em !important;
}

.complete-account-information .actions-toolbar .primary .action {
    float: none !important;
    font-size: 18px !important;
    padding: 0.5em 2em !important;
}

.form-edit-account .label {
    margin: 0.3em 0em !important;
}

.form-edit-account .control .visual-option .image {
    margin-top: 0.5em;
}

.complete-account-information .field-role {
    margin: 0em 10em !important;
}

.complete-account-information .field-role .image-description li {
    font-size: 13px !important;
}

.complete-account-information .field-role .options label span {
    font-size: 20px !important;
}

.form-edit-account {
    display:none;
    border:none !important;
}


.customer-account-edit #email[readonly] {
    opacity: 0.5;
    pointer-events: none;
}

   .error-message{
    margin-top: 7px;
    color: #e02b27;
    font-size: 1.2rem;
}

#typeaheadSelect_register_source input,
#typeaheadSelect_userid_helbling input,
#typeaheadSelect_userid_google input,
#typeaheadSelect_userid_apple input,
#typeaheadSelect_userid_microsoft input,
#typeaheadSelect_username input,
.field-registration_completed,
.field-userid_apple,
.field-userid_google,
.field-userid_helbling,
.field-userid_microsoft,
.field-register_source,
.field-apple_register_date,
.field-google_register_date,
.field-helbling_register_date,
.field-microsoft_register_date
{
    display: none;
}

/* Identity-Provider Buttons */

.identity-provider-btns-title {
    text-align: center;
    padding-top: 1em;
    text-transform: uppercase;
    font-size: 16px;
}

.identity-provider-btns {
    margin-top: 10px;
}

.identity-provider-btns a{
    position: relative;
    width: 100%;
    text-align: center;
    margin: 5px 0px 5px 0px;
}

.block-content > a[href*="sendAuthorizationRequest"] {
    display: none;
}

.identity-provider-icon-email {
    background-image: url('https://cdn.eduactive.at/icons/brand-eduactive.svg');
}

.identity-provider-icon-microsoft {
    background-image: url('https://cdn.eduactive.at/icons/brand-microsoft.svg');
}

.identity-provider-icon-google {
    background-image: url('https://cdn.eduactive.at/icons/brand-google.svg');
}

.identity-provider-icon-helbling {
    background-image: url('https://cdn.eduactive.at/icons/brand-helbling.svg');
}

.identity-provider-icon-apple {
    background-image: url('https://cdn.eduactive.at/icons/brand-apple.svg');
}

h1 .identity-provider-icon-apple {
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: right;
}

/* SSO Popup */

#sso-popup-modal {
    display:none;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    align-items: center;
    max-width: 600px;
    margin: 2em auto;
}

#sso-popup-modal img {
    padding: 0.5em;
    max-width: 180px;
 }

#sso-popup-modal .sso-helbling-account img{
    max-width: 200px ;
}

#sso-popup-modal .sso-helbling-account a{
    color: #02b6b1;
    font-weight: bold;
}

#sso-popup-modal .action.remind {
    display: none;
}

#sso-popup-modal #identity-provider-grid-btns .primary{
    background-color: white;
    color: #02b6b1;
}

#sso-popup-modal #identity-provider-grid-btns .primary:hover{
    background-color: #02b6b1;
    color: white;
}

#sso-popup-modal .block-customer-login{
    text-align:left;
    min-width: 300px;
}

#sso-popup-modal .sso-explain-option {
    padding: 1em;
    font-size: 14px;
    text-align: left;
    margin-top: 1em;
}


@media screen and (max-height: 670px) {
    #sso-popup-modal img {
        display: none;
    }

    #sso-popup-modal .sso-explain-option {
        margin-top: 2em;
    }
}

#sso-popup-modal .identity-provider-btns {
    margin-top: 0px;
}

 #sso-popup-modal .identity-provider-btns a {
    padding: 7px 50px;
    font-size: 12px;
 }

 #identity-provider-grid-btns.identity-provider-btns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 30px;
}

#sso-popup-modal .sso-return-btn {
    display: none;
    margin-top: 1em;
 }

.identity-provider-btns a .identity-provider-icon-email,
.identity-provider-btns a .identity-provider-icon-microsoft,
.identity-provider-btns a .identity-provider-icon-google,
.identity-provider-btns a .identity-provider-icon-helbling,
.identity-provider-btns a .identity-provider-icon-apple {
    position: absolute;
    left: 3px;
    top: 7%;
    width: 28px;
    height: 86%;
    background-size: auto 20px;
    background-repeat: no-repeat;
    border-radius: 5px;
    background-color: #fff;
    background-position: center center;
 }

 .sso-register-btn span {
    font-size: 20px;
    display: flex;
  }

 @media (max-width: 768px) {
    #sso-popup-modal{
        margin: 2em;
    }

    #sso-popup-modal h1 {
        padding: 0em 1em;
    }

    #sso-popup-modal img {
        max-height: 160px;
    }

    #sso-popup-modal .identity-provider-btns {
        display: block;
        width: 90%;
    }

    .modal-popup.modal-slide:has(#sso-popup-modal) {
        left: 5px;
        right: 5px;
    }

    .modal-popup.modal-slide .modal-inner-wrap:has(#sso-popup-modal) {
     max-width: 100%;
    }

    .modal-content:has(#sso-popup-modal) {
      padding: 0px;
    }

    #sso-popup-modal > img {
      max-height: 120px;
      padding: 0.5em;
    }

    #sso-popup-modal strong {
      font-size: 14px;
    }
}

@media (max-width: 350px) {
    .sso-register-btn span {
        font-size: 16px;
    }
}

/* login page tweaks */

.block.block-new-customer .block-content p,
.block.block-new-customer .block-content ul {
    display: none;
}

.block.block-new-customer .primary {
    color: #02b6b1;
    background-color: white;
    border-radius: 10px;
}

.block.block-new-customer .primary:hover {

    color: white;
    background-color: #02b6b1;
    border-radius: inherit;
    border-radius: 10px;
}

#block-new-customer-heading {
    font-size: 16px;
    color: grey;
}

#sso-popup-modal a.toggle-button {
    padding: 0.5em 1em;
    border: 1px solid #05b6b1;
    border-radius: 10px;
    background-color: white;
    color: #05b6b1;
    display: inline-flex;
    min-width: 80px;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
}

#sso-popup-modal a.toggle-button:hover {
    background-color: #05b6b1;
    color: white !important;
}

#sso-popup-modal a.toggle-button.active {
    background-color: #05b6b1 !important;
    color: white !important;
}

#sso-popup-modal #merge-sso-account, #new-sso-account {
    display: none;
}

#sso-popup-modal .account-question {
    text-align:center;
    padding: 1em;
    font-size: 1.2em;
}

.complete-account-information .field.field-role .control .visual-option .media {
    margin-bottom: 15px;
}

@media only screen and (max-width: 768px) {
    .account .form.form-edit-account {
        padding: 0;
    }

    .complete-account-information .field-role {
        margin: 0 !important;
    }

    .complete-account-information .field.field-role .control .visual-option .image-description li {
        width: 42vw;
        max-width: 42vw;
        word-break: break-word;
        margin-left: -40px;
        font-size: 11px !important;
        line-height: 16px;
    }
}
