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

/**
 * Grid, resets
 */

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

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

/** Buttons */
.mmt-mdp-call-to-action,
.mmt-mdp-registration-thankyou .mmt-mdp-last a {
    display: inline-block;
    *display: block;
    padding: 3px 6px;
    text-decoration: none;
    border: 1px solid #007484;
    color: #eee;
    background: #0096AB;
}

.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: #007484;
    color: #fff;
}

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

/**
 * 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 url(../../../img/snippets/steps-dotted-border.png) repeat-x 0 0;
}

/** Reset inherited setting */
.mmt-mdp-registration-form div.submit button,
.mmt-mdp-registration-form div.submit button:hover {
    margin: 0;
    padding: 5px 10px;
    text-shadow: none;
    border-radius: 0;
    box-shadow: none;
    filter: none;
    -ms-filter: none;
}

.mmt-mdp-registration-form div.submit button {
    position: absolute;
    left: 0;
    bottom: 0;
    border: 1px solid #007484;
    color: #eee;
    background: #0096AB;
}

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

/** Colors */
.mmt-mdp-registration-form div.submit button:hover {
    background: #007484;
    color: #fff;
}

#submit_confirm {
    background-color: #00A046;
    border-color: #007433;
}

#submit_confirm:hover {
    background-color: #008439;
}

.mmt-mdp-registration-form .profile-registration button.sec,
#submit_previous {
    background-color: #F8F8F8;
    border: 1px solid #ddd;
    color: #444;
}

.mmt-mdp-registration-form .profile-registration button.sec:hover,
#submit_previous:hover {
    background-color: #eee;
    color: #000;
}

/** 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-mdp-registration-form label.field {
    width: 170px;
    padding: 0;
}

.mmt-mdp-registration-form div.fieldinput,
.mmt-mdp-registration-form div.subtitle {
    margin-left: 190px;
}

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

/**
 * User info notice
 */

.mmt-mdp-user-notice {
    position: relative;
    margin: 0 20px 1.6em;
    padding: 10px 10px 10px 60px;
    border: 1px solid #ddd;
    border-top: 4px solid #0096AB;
    background-color: #f8f8f8;
    *zoom: 1;
}

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

.mmt-mdp-user-notice a {
    text-decoration: none;
    color: #000;
}

.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: 1.6em;
}

.mmt-mdp-registration-steps ol {
    height: 30px;
    margin: 0;
    padding: 0 0 0 20px;
    list-style: none;
    background: transparent url(../../../img/snippets/steps-dotted-border.png) repeat-x left 50%;
}

.mmt-mdp-registration-steps li {
    float: left;
    margin-right: 5px;
}

.mmt-mdp-registration-steps .mmt-mdp-last {
    margin-right: 0;
}

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

/** Step: not current, not finished */
.mmt-mdp-registration-steps .mmt-mdp-step {
    width: 28px;
    height: 28px;
    margin-right: 5px;
    text-align: center;
    text-shadow: 0 1px 3px #555;
    font-size: 1.3em;
    box-shadow: inset 0 0 2px #aaa;
    border: 1px solid #aaa;
    border-radius: 50%;
    color: #ececec;
    background-color: #b9b9b9;
}

/** Current step */
.mmt-mdp-current-step .mmt-mdp-step {
    text-shadow: 0 1px 3px #000;
    box-shadow: inset 0 0 2px #000;
    border-color: #0096AB;
    background-color: #0096AB;
}

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

/** Finished step */
.mmt-mdp-past-step .mmt-mdp-step {
    text-shadow: 0 1px 3px #000;
    box-shadow: inset 0 0 2px #000;
    border-color: #2F593A;
    background-color: #00A046;
}

/** Step labels */
.mmt-mdp-registration-steps .mmt-step-label {
    line-height: 30px;
    padding: 0 25px 0 2px;
    background: #fff url(../../../img/snippets/icon-arrow-right.png) no-repeat 97% 11px;
}

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

/**
 * Registration form & login process
 */

.mmt-mdp-registration-form {
    padding: 0 20px;
}

/** Login form */
.mmt-mdp-login {
    margin-bottom: 1em;
    padding-bottom: 1.5em;
    background: transparent url(../../../img/snippets/steps-dotted-border.png) 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/*,
.mmt-mdp-reg-fullwidth .mmt-mdp-registration-form */{
    width: 48%;
    float: left;
}

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

/**
 * Sidebar
 */

.mmt-mdp-reg-right .mmt-mdp-section {
    margin-bottom: 1.6em;
    border: 1px solid #ccc;
    background-color: #eee;
}

.mmt-mdp-reg-right .mmt-mdp-section-inner {
    padding: 10px;
}

.mmt-mdp-reg-right h3 {
    margin: 0;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
}

/* Add whitespace when the cancel-message is below edit-button (only when cancel is allowed) */
.mmt-mdp-cta--edit + .mmt-mdp-registration-sidebar-message {
    margin-top: 1em;
}

/**
 * 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 {
    margin-left: 20px;
    margin-right: 20px;
}

.mmt-mdp-registration-intro h3 {
    margin-bottom: 0;
}

.mmt-mdp-has-adjacent-content {
    padding-bottom: 1.6em;
    background: transparent url(../../../img/snippets/steps-dotted-border.png) repeat-x left bottom;
}

/** Large heading & intro */
.mmt-mdp-intro-large {
    margin-bottom: 1.6em;
}

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

.mmt-mdp-intro-large .mmt-mdp-registration-message {
    width: 80%;
    margin: 0 auto;
    font-size: 1.2em;
    line-height: 1.2em;
    text-align: center;
}

/** Thank you page */
.mmt-mdp-registration-has-socialmedia {
    position: relative;
    padding: 100px 0 1.6em;
}

.mmt-mdp-registration-finished h3 span {
    padding-left: 30px;
    background: transparent url(../../../img/snippets/icon-registration-success.png) no-repeat 0 5px;
}

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

/** Social media on thank you page */
.mmt-registration-social-media {
    position: absolute;
    top: 0;
    right: 0;
    padding-bottom: 120px;
    background: transparent url(../../../img/arrow-up-facing-left.png) no-repeat 25% 50%;
}
