﻿
/* start - Website styles only  - these styles should not interfere with the current app 06/13/17 RM */
@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600,700');

body {
    background: #fff!important;
    font-family: 'Open Sans', sans-serif;
    color: #02387a;
}

html, body
{
    margin: 0; padding: 0;
    height: 100%;
}

/*============ Reusable ============*/
.status-text {
    color: red;
    text-align: center;
    max-width: 340px;
    font-size: 14px;
}

.card {
    box-shadow: 4px 6px 40px rgba(0,0,0,0.2);
    border-radius: 4px;
}

.icon-input {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.button-primary {
    border: none;
    padding: .5rem 2rem;
    background: #ffd147;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.5s ease 0s;
    text-transform: uppercase;
    color: rgb(2, 56, 122);
    text-decoration: none;
    box-shadow: 1px 2px 20px rgba(255, 209, 71, 0.5);
    min-width: 8rem;
}

.button-primary:hover {
    background: #FFE020;
    cursor: pointer;
}

.button-primary:focus {
    outline: none;
}

.button-cancel {
    border: none;
    padding: .5rem 2rem;
    background: #E0E0E0;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.7s ease 0s;
    text-transform: uppercase;
    color: rgb(2, 56, 122);
    text-decoration: none;
    box-shadow: 1px 2px 20px rgba(224, 224, 224, 0.5);
    min-width: 8rem;
}

.button-cancel:hover {
    background: #E6E6E6;
    cursor: pointer;
}

.button-cancel:focus {
    outline: none;
}

.button-cta {
    box-shadow: 0 2px 6px rgba(255, 209, 71, 0.5);
}

.button-disabled {
    color: #828282;
    border: none;
    padding: .5rem 2rem;
    background: #E0E0E0;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    min-width: 8rem;
}

input {
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #DDDDDD;
    border-radius: 4px;
}

/*============ Navbar/BasicBanner ============*/
.navbar-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    height: 70px;
    min-height: 70px;
    width: 100%;
    background: linear-gradient(90deg, #086EA2 6.88%, #133F5D 111.95%);
}

.logo {
    width: 12rem;
    margin-left: 1.5rem;
} 

/*============ Login ============*/
.homepage-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}

.login-container-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
    max-width: 40%;
}

.login-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem 4rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    min-height: 30rem;
}

.login-input {
    display: block;
    width: 18rem;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
}

.login-input:focus {
    outline: none;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 3.5rem;
}

.login-title {
    margin: 0;
}

.login-button {
    margin-top: 1.5rem;
}

.get-account-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    align-content: center;
    margin-top: 1.5rem;
    text-align: center;
}

.get-account-header {
    margin-top: 0;
    color: #02387a;
}

.login-icon {
    font-size: 20px;
    margin-top: 6px;
    margin-right: .75rem;
}

.field-validation-error {
    color: red;
}

.validation-summary-errors {
    color: red;
}

/*============ Footer ============*/
.footer-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #086EA2;
}

.footer-mobile-wrapper {
    flex: 2;
    display: flex;
    flex-direction: row;
}

.footer-container-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: #fff;
    flex-wrap: wrap;
    text-align: center;
}

.footer-copyright-wrapper {
    flex: 1;
}

.footer-container-wrapper a:hover {
    color: #E0E0E0;
    text-decoration: none;
    transition: color 0.7s ease 0s;
}

.footer-links-wrapper {
    flex: 1.25;
}

.footer-logo-wrapper {
    flex: 1.045;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: #fff;
    margin-left: 2rem;
}

.footer-container-wrapper a {
    color: #fff;
}

.footer-container-wrapper p {
    margin: 0;
}

.footer-logo-image {
    width: 138px; 
    height: 48px;
}

/*============ Invitation Access ============*/
.invitation-section-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    text-align: center;
    padding: 4rem 3rem;
}

.icon-error {
    color: #B94A48; 
    font-size: 20px; 
    visibility: hidden;
    margin-left: 1rem;
}

.access-title {
    margin-bottom: 1rem;
}

.text-box-icon-right {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: .5rem;
    width: 28rem;
}

.text-box {
    width: 10rem;
    height: 2.5rem;
    font-size: 18px;
    margin-left: 2.5rem;
    text-align: center;
}

.text-box:focus {
    outline-color: #DDDDDD;
    outline-width: 1px;
}

.validation-wrapper {
    min-height: 2rem;
}

/*============ 404 ============*/
.not-found-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100vh;
}

.not-found-title-section {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    height: 20rem;
}

/*============ Dev Home Page ============*/
.dev-home-wrapper {
    text-align: center;
    margin-top: 10rem;
    margin-bottom: 10rem;
}

.home-buttons {
    display: flex;
    flex-direction: row;
    justify-content:space-around;
    align-items: center;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

/*============ Publish/Share ============*/
.share-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.share-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 40%;
    width: 40%;
    padding: 3rem;
}

.comic-title-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.sharecomic-buttons-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.sharecomic-button {
    margin: 1rem 1.5rem 0 1.5rem;
}

.comic-title {
    margin-right: 0.75rem;
    margin-bottom: 0;
}

.comic-title-copy {
    margin-bottom: 0;
}

.read-before-copy {
    margin: 0;
}

.description-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 1rem 0;
}

/*---------- Invitation/Open ----------*/
.open-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.open-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    max-width: 100%;
    padding: 2.5rem 3rem;
}

.comic-rules-list {
    font-size: 18px;
    max-width: 100%;
    max-height: 100%;
}

.comic-rules-list li > p:first-child {
    font-size: 18pt;
    padding-top: 0.25rem;
}

.comic-rules-list li > p:not(first-child) {
    font-size: 16pt;
    margin-bottom: 0;
}

.warning-item {
    color: darkred;
}

.rules-item {
    font-weight: bold;
    margin-top: 1rem;
}

.comic-time-header {
    font-size: 12pt;
    margin-bottom: 0.5rem;
}

.open-bottom-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
}

.open-buttons-wrapper {
    flex: 2;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.view-samples-section {
    height: 100%;
    text-align: center;
}

.open-button {
    margin: 1rem 1.5rem;
}

.modal-body {
    text-align: center;
}

.modal-header {
    background-color: #086EA2;
    color: #fff;
}

.confirm-start-copy {
    margin: 0 0.25rem 2rem 0.25rem;
}

/*---------- Revoked Access ----------*/
.revoked-access-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: auto;
}

.revoked-access-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 3rem;
    max-width: 100%;
}

.revoked-access-header {
    color: darkred;
    text-align: center;
    margin-bottom: 2rem;
    max-width: 100%;
}

.possible-reasons-header {
    margin-top: 1rem;
}

.further-assistance-copy {
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 18px;
    text-align: center;
    max-width: 100%;
}

.revoked-access-content {
    width: 100%;
}

/*---------- Reset Password Request----------*/
.reset-password-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40%;
}

.reset-password-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    align-items: center;
    padding: 3rem 2rem;
    margin: 1rem 0;
    text-align: center;
}

.reset-status-message {
    margin: 0;
    color: red;
}

/*---------- Reset Password Action ----------*/
.reset-password-action-container {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    margin-bottom: 1.5rem;
    align-items: center;
    text-align: center;
}

.password-requirements {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    width: 80%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    overflow-wrap: break-word;
}

.requirements-characters-list {
    max-width: 86%;
    width: 86%;
    word-wrap: break-word;
}

.password-request-invalid {
    text-align: center;
}

.requirements-list-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.requirements-bullet {
    font-size: 6px;
    margin-right: 6px;
}

/*---------- Not Yet Available ----------*/
.not-yet-available-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.not-yet-available-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 3rem;
    max-width: 100%;
}

.not-yet-available-content {
    width: 100%;
    margin: 2rem 0;
    max-width: 100%;
}

/*---------- No Longer Available ----------*/
.no-longer-available-page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.no-longer-available-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 3rem;
    max-width: 100%;
}

.no-longer-available-content {
    width: 100%;
    margin: 2rem 0;
    max-width: 100%;
}

/*---------- Invitation Header Partial Collapse ----------*/
#module {
    max-width: 100%;
}

#module p.collapse[aria-expanded="false"] {
    height: 42px !important;
    overflow: hidden;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

#module p.collapsing[aria-expanded="false"] {
    height: 40px !important;
}

#module a.collapsed:after  {
    content: '+ Show Description';
    font-size: 18px;
}

#module a:not(.collapsed):after {
    content: '- Hide Description';
    font-size: 18px;
}

.comic-description-copy {
    max-width: 800px;
}

/*---------- Registration ----------*/
.registration-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    margin: 1rem 0 0 0 !important;
}

.registration-wrapper input, textarea, select {
    max-width: 90%;
}

.form-horizontal { 
    width: 100%;
}

.registration-buttons-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 2rem;
}

.terms-privacy-agreement {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.required-asterisk::before {
    color: red;
    content: "* ";
    display: inline;
    font-size: 14px;
}

.required-asterisk-legend {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
    width: 66%;
    margin: 0 auto;
    text-align: right;
    font-style: italic;
    font-size: 14px;
}

.registration-stat-label {
    font-weight: bold;
    margin: 0;
}

.user-organization-stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 0;
}

.stat-group {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.desktop-img {
    display: none;
    min-height: 100%;
    min-width: 100%;
}

@media(max-width: 1260px) {
    .share-wrapper {
        min-width: 500px !important;
    }

    .revoked-access-page-wrapper {
        height: 100%;
    }
}

/*============ Overflow Styling for Invitation Open ============*/
@media(min-width: 1024px) and (min-height: 740px) {
    .open-wrapper {
        margin: 2rem 0;
    }

    .no-longer-available-wrapper {
        margin: 4rem 0;
    }

    .revoked-access-page-wrapper {
        height: 100%;
    }

    .revoked-access-wrapper {
        margin: 2rem 0;
    }

    .reset-password-wrapper {
        width: 70%;
    }
}

@media(min-width: 1024px) and (min-height: 940px) {
    .open-wrapper {
        margin: 2rem 0;
    }

    .no-longer-available-wrapper {
        margin: 6rem 0;
    }

    .revoked-access-wrapper {
        margin: 2rem 0;
    }
}

@media(min-width: 768px) and (min-height: 1000px) {
    .open-page-wrapper {
        height: 100%;
    }

    .not-yet-available-page-wrappoer {
        height: 100%;
    }

    .no-longer-available-page-wrappoer {
        height: 100%;
    }

    .revoked-access-page-wrapper {
        height: 100%;
    }
}

/*============ Mobile Styling - large ============*/
@media(max-width: 768px) {
    /*---------- Reusable ----------*/
    .card {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        border: 0 !important;
    }

    /*---------- Navbar ----------*/
    .logo {
        margin-left: 0;
    } 

    .navbar-wrapper {
        justify-content: center;
    }

    /*---------- Login ----------*/
    .homepage-wrapper {
        height: auto;
    }
    .login-container-wrapper {
        width: 100%;
        max-width: 100%;
    }

    .login-container {
        width: 100%;
    }

    .login-header {
        margin-top: 4px !important;
    }

    /*---------- Invitation Access ----------*/
    .text-box-icon-right {
        width: 100%;
        margin-bottom: 0;
    }

    .text-box {
        width: 10rem;
        height: 2.5rem;
        font-size: 18px;
        margin-left: 3rem;
        margin-right: 0.5rem;
        margin-bottom: 1rem;
    }

    .icon-error {
        margin-bottom: 1rem;
    }

    #submitAccessCodeBtn {
        margin-top: .5rem;
    }

    /*---------- Publish/Share ----------*/
    .share-wrapper {
        justify-content: flex-start;
        height: 100%;
        max-width: 100%;
        width: 100%;
        min-height: 70vh;
        min-width: 0 !important;
        padding: 2rem 1rem;
    }

    .description-wrapper {
        max-width: 100%;
    }

    .sharecomic-button {
        margin: 1rem 1rem;
        padding: 0.5rem 1.25rem;
    }

    /*---------- Invitation/Open ----------*/
    .open-wrapper {
        height: 100%;
        max-width: 100%;
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    .open-bottom-wrapper {
        flex-direction: column;
        margin-top: 2rem;
    }

    .open-buttons-wrapper {
        margin-top: 2rem;
    }

    /*---------- Footer ----------*/
    .footer-wrapper {
        flex-direction: column;
        padding: 0rem 1rem;
        height: 18em;
    }

    .footer-mobile-wrapper {
        flex: 2;
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .footer-logo-wrapper {
        margin-left: 0;
        justify-content: center;
    }

    .footer-copyright-wrapper {
        text-align: center;
    }

    /*---------- Revoked Access ----------*/
    .revoked-access-page-wrapper {
        height: auto;
    }

    .revoked-access-wrapper {
        height: 100%;
        max-width: 100%;
        min-height: 70vh;
        padding: 2rem 1rem;
    }

    /*---------- Reset Password Action ----------*/
    .password-requirements {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        max-width: 100%;
    }

    .requirements-characters-list {
        max-width: 100%;
    }

    /*---------- Self Registration ----------*/
    .terms-privacy-agreement {
        margin: 1rem 1rem 0 1rem;
    }

    .control-label {
        margin: 0 0 0 0;
    }

    /*---------- Not Yet Available ----------*/
    .not-yet-available-page-wrapper {
        height: auto;
    }

    .not-yet-available-wrapper {
        height: auto;
        max-width: 100%;
        min-height: 75vh;
        padding: 1rem 1rem;
    }

    /*---------- No Longer Available ----------*/
    .no-longer-available-page-wrapper {
        height: auto;
    }

    .no-longer-available-wrapper {
        height: auto;
        max-width: 100%;
        min-height: 75vh;
        padding: 1rem 1rem;
    }
}

/*============ Tablet Styling - small ============*/
@media(max-width: 767px) {
    .required-label-row {
        display: flex;
        flex-direction: column-reverse;
        margin-top: 6px;
    }
}

/*============ Mobile Styling - large ============*/
@media(max-width: 425px) {
    .required-asterisk-legend {
        width: 100%;
    }

    .mobile-img {
        display: none;
    }

    .desktop-img {
        display: inline-block;
    }

    .reset-password-container {
         padding: 4rem 2rem;
    }
}

/*============ Mobile Styling - small ============*/
@media(max-width: 375px) {
    /*---------- Publish/Share ----------*/
    .sharecomic-button {
        margin: 1rem 0.30rem;
        padding: 0.5rem 0.25rem;
    }

    /*---------- Invitation/Open ----------*/
    .open-button {
        margin: 1rem 0.5rem;
        padding: 0.5rem 1.5rem;
    }
}

@media(max-height: 750px) {
    .login-container {
        min-height: 10rem;
        margin: 0 0;
    }
}

