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

/**
 * Grid, resets
 */

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

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

.mmt-mdp-reg-left {
    margin-bottom: 2em;
}

@media (min-width: 48em) {
    /** Columns */
    .mmt-mdp-reg-left {
        float: left;
        width: calc(67% - 110px);
        margin-right: 110px;
    }

    .mmt-mdp-reg-right {
        float: left;
        width: 33%;
    }
}

/** Buttons */
.mmt-mdp-call-to-action,
.mmt-mdp-registration-thankyou .mmt-mdp-last a {
    position: relative;
    display: inline-block;
    *display: block;
    padding: 5px 35px 5px 15px;
    font-family: var(--mbase-fam-regular);
    text-decoration: none;
    color: #eee;
    background: #d52b1e;
}

.mmt-mdp-call-to-action:after {
    content: '>';
    display: block;
    position: absolute;
    top: 50%;
    right: 10px;
    margin-top: -9px;
    width: 16px;
    height: 16px;
    text-indent: -999em;
    background: transparent url(../../../img/icon--buttonArrowRight.svg) no-repeat 50% 50%;
}

.mmt-mdp-intro-large .mmt-mdp-call-to-action {
    font-size: .75em;
    margin: 3px 10px;
}

.mmt-mdp-call-to-action:hover,
.mmt-mdp-registration-thankyou .mmt-mdp-last a:hover {
    background: #ea2b1e;
    color: var(--mbase-clr-white);
}

.mmt-mdp-secondary-actions {
    font-size: .9em;
}

#submit_previous {
    overflow: hidden;
    padding: 5px 15px 5px 35px;
}

#submit_previous:after {
    right: auto;
    left: 10px;
    transform: rotate(-180deg);
}

/**
 * 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: 30px;
    padding-top: 15px;
    background: transparent none repeat-x 0 0;
}


.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;
}

/** Label sizes, mainly for the "Choose activities" step */
.mmt-mdp-registration-form .view label.field {
    padding: 0;
    font-weight: 800;
}

/** Don't use margin for singlecheckboxes */
div.singlecheckbox div.fieldinput {
    margin-left: 0;
}

div.singlecheckbox label {
    margin-left: .6em;
}

/**
 * User info notice
 */

.mmt-mdp-registration-limit {
    color: #d52b1e;
    font-weight: 700;
}

.mmt-mdp-user-notice {
    display: none; /** until we figure out the point of this notice */
    position: relative;
    margin: 0 0 1.6em;
    padding: 10px 10px 10px 60px;
    border-top: 4px solid #d52b1e;
    background-color: #f8f8f8;
    *zoom: 1;
}

.mmt-mdp-user-notice p {
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--mbase-clr-black);
}

.mmt-mdp-user-notice a {
    text-decoration: none;
    color: var(--mbase-clr-black);
}

.mmt-mdp-user-notice:hover a {
    text-decoration: underline;
    color: #007CA1;
}

.mmt-mdp-user-notice .mmt-mdp-user-data {
    font-size: .9em;
    color: #444;
}

.mmt-mdp-user-notice img {
    position: absolute;
    top: -17px;
    left: 5px;
}

/**
 * Step indicator
 */

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

.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 (min-width: 48em) {
    .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 0.3em 0 0.6em;
        width: 50px;
        border-bottom: 1px solid #f2f2f2;
        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 (min-width: 48em) {
    .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: var(--mbase-clr-white);
    background-color: #b9b9b9;
}

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

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

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

/** Step labels */
.mmt-mdp-registration-steps .mmt-step-label {
    line-height: 30px;
    padding: 0 0 0 2px;
    background: var(--mbase-clr-white) none no-repeat 97% 11px;
}

.mmt-mdp-last .mmt-step-label {
    padding-right: 2px;
    background: var(--mbase-clr-white);
}

/** Login form */
.mmt-mdp-login {
    margin-bottom: 1em;
    padding-bottom: 1.5em;
    background: transparent none repeat-x bottom left;
}

.mmt-mdp-login legend {
    font-size: 1em;
    font-weight: normal;
}

.mmt-mdp-login div.submit {
    padding-top: 0;
    background: transparent;
}

/** Fullwidth layout */
.mmt-mdp-reg-fullwidth .mmt-mdp-login {
    width: 48%;
    float: left;
}

.mmt-mdp-reg-fullwidth .mmt-mdp-login {
    margin: 0 2% 0 0;
    padding: 0;
    background: transparent;
}

.mmt-mdp-registration-form .proFormListRadio {
    padding: 0;
    list-style: none;
}

.mmt-mdp-registration-form .proFormListRadio li {
    list-style: none;
}

.mmt-mdp-registration-form .proFormListRadio label {
    display: block;
}

/**
 * Page-cases: for each page state, there should be layout support. Eg. a thank you page, and so on
 */

/** Default settings */
.mmt-mdp-registration-intro h3 {
    margin-bottom: 0;
}

.mmt-mdp-has-adjacent-content {
    padding-bottom: 1.6em;
    background: transparent none repeat-x left bottom;
}

.mmt-mdp-intro-large h3 {
    margin-bottom: .25em;
    text-align: center;
    font-size: 2em;
}

.mmt-mdp-registration-intro > .mmt-mdp-registration-message {
    padding-bottom: 1.5em;
}

/** Thank you page */
.mmt-mdp-registration-has-socialmedia {
    position: relative;
}

.mmt-mdp-registration-finished h3 span {
    padding-left: 30px;
    background: transparent none no-repeat 0 5px;
}

.mmt-mdp-registration-thankyou .mmt-mdp-last a {
    margin: 0 4px 0 6px;
}

@media screen and (min-width: 600px) {
    /** Social media on thank you page */
    .mmt-registration-social-media {
        position: absolute;
        top: 0;
        right: 0;
        background: transparent none no-repeat 25% 50%;
    }

    .mmt-mdp-registration-has-socialmedia + .mmt-mdp-reg-left + .mmt-mdp-reg-right {
        margin-top: 3em;
    }
}

/** Hide next step buttons */
.mmt-mdp-cta--divider {
    display: none;
}

/**
 * Invoice to
 */

#invoice_to li {
    display: inline-block;
    margin-right: 40px;
}
