/**
 * @author: Procurios
 * @about:  mmt-mdp-register.css
 *          Additional layout settings for the "registration"-page
 */

/**
 * Grid, resets
 */

.mmt-mdp-main {
    width: 100%;
    /*margin-right: 0;*/
}


@media screen and (min-width: 740px) {
    /** Columns */
    .mmt-mdp-reg-left {
        float: left;
        width: 70%;
        margin-right: 5%;
    }

    .mmt-mdp-reg-fullwidth {
        float: none;
        width: 100%;
        margin: 0;
    }

    .mmt-mdp-reg-right {
        float: left;
        width: 25%;
        font-size: .8em;
    }
}

/**
 * Form styles
 * Some UI styles are harmed to make sure that some interaction is maintained, like the position and color of previous / next buttons
 */

/** Position of prev / next buttons */
.mmt-mdp-registration-form div.submit {
    position: relative;
    width: 100%;
    height: 55px;

}

.mmt-mdp-registration-form div.submit button {
    position: absolute;
    left: 0;
    bottom: 0;
}

.mmt-mdp-registration-form .profile-registration button.pri,
#submit_next,
#submit_confirm {
    left: auto;
    right: 0;
}

/** Case: when activity is full */
.mmt-mdp-registration-form .mmt-choose-activities input[type='radio']:disabled + label {
    opacity: 0.5;
    cursor: default;
}

/** Label sizes, mainly for the "Choose activities" step */
.mmt-choose-activities label.field {
    display: table-cell;
    padding-right: 1em;
}

.mmt-choose-activities div.fieldinput,
.mmt-choose-activities div.subtitle {
    display: table-cell;
}

.mmt-mdp-registration-form textarea {
    width: 100%;
}

.mmt-mdp-registration-form.mmt-mdp-register-new-account {
    display: flex;
    flex-direction: column;
}

@media screen and (min-width: 768px) {
    .mmt-mdp-registration-form.mmt-mdp-register-new-account {
        flex-direction: row;
    }

    .mmt-mdp-registration-form.mmt-mdp-register-new-account > .mmt-mdp-login {
        width: 50%;
    }
}

/**
 * User info notice
 */

.mmt-mdp-user-notice {
    display: none;
}

/**
 *Step indicator
 */

.mmt-mdp-registration-steps {
    margin-bottom: 2.4em;
}

.mmt-mdp-registration-steps ol {
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent none repeat-x left 50%;
}

.mmt-mdp-registration-steps li {
    display: block;
    width: 100%;
    margin-bottom: .2em;
}

@media screen and (min-width: 768px) {
    .mmt-mdp-registration-steps ol {
        text-align: center;
    }

    .mmt-mdp-registration-steps li {
        position: relative;
        display: inline-block;
        width: auto;
        margin-bottom: 0;
        vertical-align: middle;
    }

    .mmt-mdp-registration-steps li:before {
        content: '';
        display: inline-block;
        margin: 0.3em 0.3em 0 0.6em;
        width: 50px;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }

    .mmt-mdp-registration-steps .mmt-mdp-last:before {
        content: none;
    }
}

/** Default settings for all steps */
.mmt-mdp-registration-steps a,
.mmt-mdp-registration-steps span {
    display: inline-block;
    line-height: 28px;
    text-decoration: none;
    color: #4a4a4a;
}

@media screen and (min-width: 768px) {
    .mmt-mdp-registration-steps a,
    .mmt-mdp-registration-steps span {
        display: block;
        float: left;
    }
}

/** Step: not current, not finished */
.mmt-mdp-registration-steps .mmt-mdp-step {
    width: 28px;
    height: 28px;
    margin-right: 5px;
    text-align: center;
    font-size: 1.1em;
    border-radius: 50%;
    color: #fff;
    background-color: #b9b9b9;
}

/** Finished step */
.mmt-mdp-past-step .mmt-mdp-step {
    background-color: #00507C;
    color: #fff;
}

/** Current step */
.mmt-mdp-current-step .mmt-mdp-step {
    background-color: #FAA51B;
    color: #000;
}

.mmt-mdp-current-step .mmt-step-label {
    font-weight: bold;
}

/** Step labels */
.mmt-mdp-registration-steps .mmt-step-label {
    line-height: 30px;
    padding: 0 0 0 2px;
    background: #fff none no-repeat 97% 11px;
}

.mmt-mdp-last .mmt-step-label {
    padding-right: 2px;
    background: #fff;
}

/** Labels */
@media screen and (min-width: 740px) {
    .mmt-mdp-registration-steps a,
    .mmt-mdp-registration-steps span {
        display: inline-block;
    }
}

.mmt-mdp-current-step .mmt-step-label {
    font-weight: bold;
}

/**
 * Sidebar
 */

.mmt-mdp-reg-right .mmt-mdp-section-inner p:last-child {
    margin-bottom: 0;
}

/**
 * ThankYou page
 */

.mmt-mdp-registration-thankyou p,
.mmt-mdp-secondary-actions {
    visibility: hidden;
}

.mmt-mdp-registration-thankyou p:first-of-type,
.mmt-mdp-registration-thankyou p a,
.mmt-mdp-secondary-actions a {
    visibility: visible;
}

.mmt-mdp-link--invite:before {
    content: "\1f4e7";
}

.mmt-mdp-link--calendar:before {
    content: "\1f4c6";
}

.mmt-mdp-cta--divider {
    display: none;
}
