/* Colors
Bold Coral:  #F26553
Red: #D92D20
Blue: #2F80ED;
Text: #171415
Grey Text: #727272
Light grey: #E0E0E0
*/

/* User register page */

body.page-user-register header {
    margin-top: 30px;
}

@media all and (min-width: 1030px) {
    body.page-user-register .region-main-navigation a.button--ghost {
        border-color: white;
        background-color:#D85849;
        color: #fff;
    }
    body.page-user-register .region-main-navigation a.button--solid:link,
    body.page-user-register .region-main-navigation a.button--solid:visited {
        background: white;
        color:#D85849;
    }
    body.page-user-register .region-main-navigation a.button--solid:hover,
    body.page-user-register .region-main-navigation a.button--solid:active,
    body.page-user-register .region-main-navigation a.button--solid:focus {
        border-color:#D85849;
    }
}

body.page-user-register .form--wrapper {
    margin: 0 auto;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.05);
    padding: 45px 30px 20px 30px;
    max-width: 490px;
}

@media all and (max-width: 939px) {
    body.page-user-register {
        background-image: none;
    }

    body.page-user-register main.main--container {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    body.page-user-register .region-content-top {
        margin: 0 2.4rem 3.2rem 2.4rem;
    }

    body.page-user-register .region-content-top .block {
        margin: 0 7%;
    }
    
    body.page-user-register .page--second {
        background: #D85849 url(../../images/swirl--white--full.svg) no-repeat center center;
        padding: 3.2rem 1.6rem;
        width: 100vw;
        border-radius: none;
        display: flex;
        justify-content: center;
    }
}

@media all and (min-width: 940px) {
    body.page-user-register .main--wrapper {
        background-color: rgb(255,255,255);
        background-image: url(../../images/swirl--white--half-left-lg--centre.svg), linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 63%, rgba(242,101,83,1) 63%, rgba(242,101,83,1) 100%);
        background-repeat: no-repeat, no-repeat;
        background-position: center right, center right;
    }

    body.page-user-register .page--content {
        display: flex;
        justify-content: space-between;
    }
    
    body.page-user-register .region-content-top {
        flex: 0 1 50%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        padding-top: 30px;
        margin-right: 3.2rem;
    }
    
    body.page-user-register .page--second {
        flex: 0 1 42%;
    }
}

/* list with icons */
ul.icons {
    margin: 0.875rem 0 0 0;
    list-style: none;
    padding: 0;
}

ul.icons li {
    display: flex;
    align-items: center;
}

ul.icons li:not(:last-child) {
    margin-bottom: 3.4rem;
}

ul.icons li:before {
    content: '';
    width: 40px;
    height: 40px;
    margin-right: 2rem;
    flex: 0 0 40px;
}

ul.icons li.explore:before {
    background: url(../../images/icons/book--badge.svg) no-repeat center center;
}

ul.icons li.audio:before {
    background: url(../../images/icons/microphone--badge.svg) no-repeat center center;
}

ul.icons li.worldwide:before {
    background: url(../../images/icons/globe-plane--badge.svg) no-repeat center center;
}

ul.icons li.classes:before {
    background: url(../../images/icons/class--badge.svg) no-repeat center center;
}

/* Hide password match message unless pw confirm field has input */
input.password-confirm:invalid ~ .password-confirm-message {
    display: none;
}