/**
 * @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: 30px;
}

#submit_confirm:after,
#submit_next:after {
    margin-left: .5em;
    content: "\27f6";
    font: normal 16px/26px "fjell";
}

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

/**
 * User info notice
 */

.mmt-mdp-user-notice {
    position: relative;
    padding: 7px 10px;
    border: 1px solid #ddd;
    background-color: #f1f1f1;
    font-size: .8em;
}

.mmt-mdp-user-notice p {
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.mmt-mdp-user-notice img {
    position: absolute;
    top: -23px;
    left: 50%;
    transform: translateX(-16px);
}

/**
 * Step indicator
 */

.mmt-mdp-registration-steps ol {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 50px 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.mmt-mdp-registration-steps li {
    position: relative;
    -webkit-box-flex: 1 1 25%;
    -webkit-flex: 1 1 25%;
    -ms-flex: 1 1 25%;
    flex: 1 1 25%;
}

.mmt-mdp-registration-steps li:after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 19px;
    left: 50%;
    width: 100%;
    height: 4px;
    background: transparent url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAFCAAAAAB6VHNhAAAAMklEQVR4AV3GMRZAUBRDwex/bckuQO+jvM5rU82ItS+AVivOrNVl+wJavXE+oBXfNdL+U8NwMD6gZEAAAAAASUVORK5CYII=') repeat-x 0 50%;
}

.mmt-mdp-last:after {
    display: none;
}

.mmt-mdp-registration-steps li:before {
    position: absolute;
    top: 0;
    left: 6px;
    font: normal 16px/26px "fjell";
}

/** Circles */
.mmt-mdp-registration-steps .mmt-mdp-step {
    position: relative;
    z-index: 1;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0 auto .5em;
    border-radius: 50%;
    background-color: #f1f1f1;
}

.mmt-mdp-past-step .mmt-mdp-step {
    color: #fff;
}

.mmt-step-label {
    display: none;
}

.mmt-mdp-registration-steps a,
.mmt-mdp-registration-steps span {
    line-height: 40px;
    color: #000;
}

/** 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";
}
