/* -------------------------------------- HIDDEN FIELDS - Begin ---------------------------------------------- */

/* Hide custom fields from registrant record in frontend */
#field_storno_percent, #field_storno_amount, #field_credit, #field_deposit_amount_new, #field_credit_actual, #field_storno_confirm, #field_beopassword {
    display: none !important;
}

/* Initially hide payment fields on registration form */
#eb-admin-form-wrapper-left {
    display: none;
    margin: 7% 0 0 20%;
}

/* Hide category links on page 'seminare' */
#eb-category-page-default #eb-categories {
    display: none;
}

#eb-message #adminForm div:nth-child(24) {
    display: none!important;
}

.eb-save-to-calendar-buttons {
    display: none;
}

#dsgvo .eb-privacy-policy-message {
    display: none;
}

#cancellation-details .eb-cancellation-policy-message {
    display: none;
    max-width: 395px;
}

#return-policy-details {
		margin: 20px 0;
}

#return-policy-1,
#return-policy-2 {
		margin-top: 20px;
}

#field_internal_notes {
    display: none!important;
}

/* -------------------------------------- HIDDEN FIELDS - End -------------------------------------- */


/* -------------------------------------- REGISTRATION FORM - BEGIN ---------------------------------------------- */
#eb-registration-header h1 {
    color: #fff;
}

/* Registration wizard - Begin */
#adminForm {
    display: flex;
}

#registration-wrapper {
    margin-top: 3%;
}

#eb-default-fields-custom .control-group,
#eb-register-custom .control-group {
    display: flex;
    justify-content: end;
}


@media (max-width: 1199px) {
    #adminForm {
        display: flex;
        flex-direction: column;
    }

    #registration-wrapper {
        margin-left: 20%;
    }
}

/* Registration wizard - End */

/* RegistrationForm - Elements  */
#eb-register-custom .controls input,
#eb-individual-registration-page .controls select {
    height: 30px !important;
}

#eb-register-custom .control-label {
    margin-right: 15px;
}

#eb-individual-registration-page .controls input[type=text],
#eb-individual-registration-page .controls input[type=password],
.controls select {
    width: 360px;
    border: 1px solid black !important;
}

.eb-container .input-large {
    width: 360px !important;
    border: 1px solid black !important;
}

#eb-default-fields-custom .control-label {
    margin-right: 15px;
}

/* Fixes */
#field_salutation {
    margin-right: 150px;
}

#eb-default-fields-custom #field_default_address {
    justify-content: start !important;
}

#eb-default-fields-custom #salutation {
    display: flex;
}

#eb-default-fields-custom #occupation {
    height: auto !important;
}

#eb-default-fields-custom #occupation_einfuehrungsseminar {
    height: auto !important;
}

#salutation label {
    margin-left: 10px;
}

#default_address1 {
    margin-right: 5px;
}

#cancellation-details {
    margin-top: 5%;
}

#dsgvo {
    width: 400px;
}

/* Module Upcoming Events (Page Gesamtausbildung) - BEGIN */
#module-405 {
    width: 100%;
}
#module-405 h2 {
    color:rgb(24, 105, 216);
}
.ebm-upcoming-events .flex-item {
    height: 420px;
}
.ebm-upcoming-events .flex-item img {
    width: 100%;
}
.ebm-upcoming-events .flex-item .upcoming-event-title,
.ebm-upcoming-events .flex-item .ebm-event-date,
.ebm-upcoming-events .flex-item .upcoming-event-location {
    padding: 5px 10px 0 10px;
}
/* Module Upcoming Events - END */

/* Search result - BEGIN */
#eb-search-result-page #adminForm {
    display: flex;
    flex-direction: column;
}
/* Search result - END */

/* Registration history - BEGIN */
#eb-registration-history-page #adminForm {
    display: block!important;
}
/* Registration history - END */

/* Large To Extra Large Device (Laptop, Desktop) */
@media (max-width: 767px) { /*max-width: 1100px*/


    #eb-register-custom {
        margin-top: 40px;
    }

    #eb-custom-form-wrapper {
        flex-direction: column;
    }

    #eb-custom-form-left {
        width: 100%;
    }

    #eb-custom-form-right {
        width: 100%;
    }

    #eb-default-fields-custom .control-group, #eb-register-custom .control-group {
        flex-direction: column;
        justify-content: flex-start;
    }
    #eb-default-fields-custom #field_salutation {
        margin-left: 0;
    }
    #eb-default-fields-custom #salutation {
        justify-content: flex-start;
    }

    #eb-admin-form-wrapper-left {
        position: relative;
    }

    #dsgvo {
        width: 70%;
    }
}

/* ----------------------------------------------------------- */
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    #eb-custom-form-wrapper {
        flex-direction: column;
    }

    #eb-custom-form-left, #eb-custom-form-right {
        width: 100%;
    }

    .eb-user-login, .eb-pwd-login {
        flex-direction: column;
    }

    #eb-admin-form-wrapper-left {
        left: 0;
    }

    #eb-register-custom {
        margin-top: 25px;
    }

    #eb-individual-registration-page .controls input[type=text],
    #eb-individual-registration-page .controls input[type=password],
    .controls select,
    #eb-default-fields-custom .input-large {
        width: 285px !important;
    }

    .eb-pwd-label, .eb-login-btn-wrapper, .eb-login-btn-wrapper {
        margin-left: 0;
    }

    #eb-forgot-username-password {
        padding-left: 0;
        margin-left: 0;
    }

    #eb-register-header-custom, #eb-register-button-wrapper {
        margin-left: 0;
    }

    .form-actions {
        display: flex;
        flex-direction: column;
    }

    .form-actions input[type=button]{
        width: 57%;
        margin-bottom: 5px;
    }

    #registration-wrapper {
        margin-left: 10% !important;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    #eb-register-custom {
        margin-top: 35px;
    }

    #eb-individual-registration-page .controls input[type=text],
    #eb-individual-registration-page .controls input[type=password],
    #eb-individual-registration-page .controls select,
    .eb-container .input-large {
        width: 340px !important;
    }

    .eb-pwd-label {
        margin-left: 39px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
/* Medium To Large Device (Tablet, Laptop) */
@media only screen and (min-width: 768px) and (max-width: 1199px) {
    
    #eb-custom-form-wrapper {
        flex-direction: column;
    }

    #eb-custom-form-left {
        width: 100%;
    }

    #eb-custom-form-right {
        width: 100%;
    }

    #eb-register-custom {
        margin-top: 40px;
        width: 75%;
    }

    #eb-default-fields-custom {
        width: 75%;
    }

    #eb-default-fields-custom .control-group, #eb-register-custom .control-group {
        flex-direction: row;
        justify-content: flex-end;
    }

    #eb-default-fields-custom #field_salutation {
        margin-left: 29%;
    }
    #eb-default-fields-custom #salutation {
        justify-content: flex-start;
    }

    #eb-admin-form-wrapper-left {
        position: relative;
    }

    #dsgvo {
        width: 70%;
    }
}

/* Large devices (laptops/desktops, 992px and up)
@media only screen and (min-width: 992px) {}*/

/* Extra large devices (large desktops, 1650px and up) */
@media only screen and (min-width: 1650px) {
    #eb-admin-form-wrapper-left {
        left: 19%;
    }
}

#eb-register-button-wrapper .btn-secondary {
    background-color: #903!important;
    color: #fff;
}
#eb-register-button-wrapper .btn-secondary:hover {
    background-color: #602!important;
    color: #fff;
}

/* Registration complete */
#eb-message #adminForm {
    flex-direction: column;
}

