#nextGenContainer #status ul li {
    color: red;
    font-weight: bold;
}
#nextGenLoginContainer {
    height: 480px;
}
#nextGenContainer {
    height: 470px;
}
#nextGenLoginLogo {
    width: 90px;
    float: left;
}
#nextGenLoginLogo img {
    padding: 15px;
    margin-left: 30px;
}
#nextGenLoginInstruction {
    font-family: Arial;
    font-size: 16px;
    color: #666666;
    width: 620px;
    float: right;
}
#nextGenLoginInstruction a {
    font-weight: bold;
}
#nextGenLoginInstruction p {
    margin: 0 0 1.5em;
}
.nextGenWideContainer {
    width: 410px;
}
.nextGenWideContainerTop {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_widecontainer_header_bg.gif) no-repeat;
    height: 4px;
}
.nextGenWideInnerContainer {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_widecontainer_mid_bg.gif) repeat-y;
    padding: 5px 15px 15px 15px;
    text-align: left;
}
.nextGenWideContainerBottom {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_widecontainer_footer_bg.gif) no-repeat;
    height: 44px;
}
.nextGenWideContainerBottomLine {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_widecontainer_bottom_line.gif) no-repeat;
    height: 4px;
}
#nextGenLoginForm .nextGenWideContainerBottom span {
    display: block;
    padding: 10px;
    font-family: Arial;
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
}
#nextGenLoginForm .nextGenWideContainerBottom span a {
    font-size: 12px;
    text-decoration: underline;
    color: #ffffff;
}
#nextGenLoginForm {
    padding-left: 25px;
}
#nextGenLoginForm label {
    width: 80px;
    display: block;
    float: left;
    font-family: Arial;
    font-size: 13px;
    font-weight: bold;
    color: #686868;
}
#nextGenLoginForm .styleInput {
    width: 250px;
    border: 1px solid #848484;
}
#nextGenLoginForm span.rememberMe,
#nextGenLoginForm span.loginButton {
    margin-left: 80px;
    color: #000000;
}
.nextGenNarrowContainer {
    width: 278px;
}
.nextGenNarrowContainerTop {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_narrowcontainer_top_bg.gif) no-repeat;
    height: 4px;
}
.nextGenNarrowInnerContainer {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_narrowcontainer_mid_bg.gif) repeat-y;
    padding: 5px 15px 15px 15px;
}
.nextGenNarrowContainerBottom {
    background: url(https://twimgs.com/custom/csb/images/nextgen/login_narrowcontainer_bottom_bg.gif) no-repeat;
    height: 4px;
}
#nextGenLoginForm {
    margin: 0 auto;
    width: 410px;
}
#nextGenLoginExtAuth {
    float: left;
}
#nextGenLoginForm h2,
#nextGenLoginExtAuth h2 {
    font-size: 16px;
    margin: 0px;
    padding-bottom: 15px;
    font-weight: bold;
}
#nextGenContainer #infoheading {
    color: #000000;
    font-size: 16px;
    margin: 0px;
    padding-bottom: 15px;
    padding-left: 0px;
    text-align: left;
    font-weight: bold;
}
#nextGenContainer .ngExtAuth {
    display: block;
    text-align: center;
    margin: 7px;
}
#loginStatusContainer {
    height: 25px;
    margin-left: 24px;
}
#nextGenContainer ul.loginMessages {
    margin: 0px;
    list-style: none;
    padding: 0px;
}
#nextGenContainer ul.loginMessages li {
    margin: 0px;
    padding: 0px;
    color: #ff0000;
    font-weight: bold;
    font-size: 14px;
}
#nextGenContainer .loginButton input {
    margin: 10px 0 0 0;
}
#nextGenContainer .emptyFix {
    content: ".";
    font-size: 0px;
}
#nextGenContainer #nextGenLoginForm .required {
    padding: 0px;
}
#nextGenContainer #nextGenLoginForm .rememberMe #rememberMe {
    margin: 0px;
}
#nextGenContainer #nextGenLoginForm .rememberMe a {
    text-decoration: none;
}
#nextGenContainer #nextGenLoginForm ul {
    padding: 0px;
    margin: 0px;
}
#nextGenContainer #nextGenLoginForm ul li {
    list-style: none;
}
#TWLightBoxPanel {
    width: 810px;
}
#nextGenLoginForm .styleInput {
    border-radius: 4px 4px 4px 4px;
    height: 27px !important;
    padding: 4px 6px;
}
#ngheader {
    background: none;
    min-height: 0px;
    height: auto;
}
#nextGenLoginContainer #register_full_container_inner .contents_left_forgotpw {
    width: 475px;
}
#nextGenLoginContainer #register_full_container_inner .inner_border input {
    width: 280px;
    height: 25px;
}
/*media screen*/

@media screen (min-width: 560px) and (max-width: 800px) {
    #TWLightBoxPanel,
    #nextGenLoginInstruction,
    #nextGenContainer,
    #nextGenLoginContainer {
        height: 270px;
    }
}
@media screen and (max-width: 560px) {
    #TWLightBoxPanel,
    #nextGenLoginInstruction,
    #nextGenContainer,
    #nextGenLoginContainer {
        height: auto;
    }
}
@media screen and (max-width: 800px) {
    #nextGenLoginContainer #submit-element #submit {
        margin: 0;
    }
    #nextGenFooterContainer {
        width: 320px !important;
    }
    /************ REGISTRATION ************/
    
    #TWLightBoxPanel,
    #nextGenLoginInstruction,
    #nextGenContainer,
    #nextGenLoginContainer {
        width: 320px !important;
        background: #eee !important;
    }
    #nextGenLoginContainer {
        padding: 0;
    }
    #nextGenLoginLogo,
    #nextGenLoginInstruction {
        display: none;
    }
    #nextGenLoginForm {
        width: 304px !important;
        padding-left: 0px !important;
    }
    .nextGenWideContainerBottom {
        /*display:none !important;*/
        
        background: none !important;
    }
    #nextGenLoginForm span.rememberMe,
    #nextGenLoginForm span.loginButton {
        margin-left: 0px !important;
    }
    #nextGenLoginExtAuth {
        margin-left: 0px !important;
    }
    #nextGenLoginContainer {
        //		height:auto !important;
    }
    #TWLightBoxPanel {
        border: 0 !important;
        margin-top: 0px !important;
        top: 0 !important;
        margin-left: -160px !important;
    }
    .nextGenNarrowInnerContainer {
        margin-bottom: 20px !important;
    }
    #nextGenLoginContainer #layout,
    #nextGenLoginContainer #main,
    #nextGenLoginContainer #main,
    #nextGenLoginContainer #body_container,
    #nextGenLoginContainer #body_container_inner,
    #nextGenLoginContainer #register_full_container_inner,
    #nextGenLoginContainer #register_full_container,
    #nextGenLoginContainer .contents {
        width: 320px !important;
    }
    #nextGenLoginContainer #registrationForm fieldset.logininformation,
    #nextGenLoginContainer #registrationForm fieldset.personal,
    #nextGenLoginContainer #registrationForm fieldset.businessaddress,
    #nextGenLoginContainer #registrationForm fieldset.custom-question,
    #nextGenLoginContainer #registrationForm fieldset#fieldset-s4 {
        width: 304px !important;
        padding: 0 !important;
    }
    #nextGenLoginContainer #registrationForm .formElement.elementType_text input,
    #nextGenLoginContainer #registrationForm .formElement.elementType_password input,
    #nextGenLoginContainer #registrationForm .formElement.elementType_select select,
    #nextGenLoginContainer #fieldset-s4 .multi-checkboxes,
    #nextGenLoginContainer .register_black_subhead {
        width: 100% !important;
    }
    #nextGenLoginContainer #registrationForm #footer-label {
        padding-top: 5px !important;
        margin-bottom: 30px !important;
    }
    /************ REGISTRATION - FORGOT PWD************/
    
    #nextGenLoginContainer #register_full_container_inner .benefits {
        width: 79% !important;
        padding: 0 10px;
    }
    /************ REGISTRATION - MISC************/
    
    #nextGenLoginContainer #registrationForm fieldset {
        width: 95% !important;
    }
    #nextGenLoginContainer #registrationForm {
        height: auto !important;
    }
    #nextGenLoginContainer #register_full_container_inner .benefits #register_site_links_table {
        width: 550px !important;
    }
    #nextGenLoginContainer #register_full_container_inner .contents_left_forgotpw {
        padding-left: 10px;
        width: 100% !important;
    }
    .nextGenNarrowContainerTop,
    .nextGenWideContainerTop,
    .nextGenNarrowInnerContainer,
    .nextGenWideInnerContainer {
        background: none !important;
    }
    .nextGenWideInnerContainer {
        padding-bottom: 0 !important;
    }
    #nextGenLoginForm .nextGenWideContainerBottom span {
        color: #000 !important;
        padding-left: 15px !important;
    }
    #nextGenLoginForm .nextGenWideContainerBottom span a {
        color: #000 !important;
        text-decoration: underline !important;
    }
}