﻿.accountformfield.create-account-error-input,
.accountformfield.create-account-error-input + .createaccount-form-checkbox-checkmark {
    border-color: #F00;
}

.createaccount-form-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 200px;
    padding-bottom: 200px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

    .createaccount-form-modal.showed {
        display: block;
    }

.createaccount-form-modal-content {
    background-color: #fff;
    margin: auto;
    border: 1px solid #2156A2;
    width: 100%;
    max-width: 1000px;
    border-radius: 0px;
    text-align: left;
    line-height: 40px;
}

    .createaccount-form-modal-content #createaccountsuccess {
        padding: 40px;
        position: relative;
        display: none;
    }

        .createaccount-form-modal-content #createaccountsuccess p {
            line-height: 1.5;
            font-size: 16px;
        }

        .createaccount-form-modal-content #createaccountsuccess h2 {
            font-family: 'Roboto-Bold', 'Roboto Bold', 'Roboto', sans-serif;
            font-size: 32px;
            padding-bottom: 20px;
        }

        .createaccount-form-modal-content #createaccountsuccess p.success-grey-text {
            font-size: 14px;
            color: #757575;
        }

        .createaccount-form-modal-content #createaccountsuccess .createaccount-form-close span {
            font-size: 50px;
            font-weight: 100;
            position: absolute;
            top: 10px;
            right: 20px;
        }

#createaccountform ul {
  text-align: left;
  list-style: none;
  padding: 0;
}

#createaccountform li {
    font-weight: bold;
    color: #333;
}

#createaccountform li::before {
    content: '\2713';
    font-weight: bold;
    padding-right: 10px;
}

.createaccount-form-modal button {
    background-color: #2156A2;
}

.createaccount-form-modal input,
.createaccount-form-modal select {
    border-radius: 0px;
    box-shadow: none;
    border: 1px solid #888;
}

.createaccount-form-checkbox-container {
    position: relative;
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    /* Hide the browser's default checkbox */
    .createaccount-form-checkbox-container input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 26px !important;
        width: 26px !important;
        z-index: 999;
    }

/* Create a custom checkbox */
.createaccount-form-checkbox-checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 26px;
    width: 26px;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(204, 204, 204, 1);
    border-radius: 3px;
    display: block;
    z-index: 0;
}

/* On mouse-over, add a custom background color */
.createaccount-form-checkbox-container:hover input ~ .createaccount-form-checkbox-checkmark {
    background-color: #F0F3FA;
    box-sizing: border-box;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(204, 204, 204, 1);
    border-radius: 3px;
}

/* When the checkbox is checked, add a orange background */
.createaccount-form-checkbox-container input:checked ~ .createaccount-form-checkbox-checkmark {
    background-color: #2156A2;
}

/* Create the checkmark/indicator (hidden when not checked) */
.createaccount-form-checkbox-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.createaccount-form-checkbox-container input:checked ~ .createaccount-form-checkbox-checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.createaccount-form-checkbox-container .createaccount-form-checkbox-checkmark:after {
    left: 9px;
    top: 0px;
    width: 10px;
    height: 20px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.createaccount-form-checkbox-container label {
    margin-left: 35px;
    font-size: 16px;
    color: #3F3F3F;
    text-align: left;
    line-height: 24px;
    font-family: 'Roboto-Regular', 'Roboto', sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: pointer;
    text-transform: none;
}

.createaccount-form-checkbox-checkmark.accountaggreement ~ label {
    cursor: auto;
}

.createaccount-form-modal-bottom-link {
    text-align: center;
    font-size: large;
    display: none;
}

.createaccount-form-close {
    cursor: pointer;
}

    .createaccount-form-close span {
        font-size: 40px;
        font-weight: 100;
    }

.createaccount-form-require-sign {
    color: red;
}

@media screen and (max-width:768px) {
    .createaccount-form-modal-button {
        text-align: center;
    }

    .createaccount-form-modal-bottom-link {
        display: block;
    }

    .createaccount-form-modal {
        top: 0px;
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media screen and (max-width:558px) {
    .createaccount-form-modal-content #createaccountsuccess img {
        max-width: 350px;
    }

    .createaccount-form-modal-content #createaccountsuccess h2 {
        margin-top: 25px;
    }
}
