/* theme variables */

body {
    --logo-image: url("/css/img/jwn-logo-stacked.svg");
    --logo-height: 200px;
    --mobile-logo-image: url("/css/img/jwn-logo-stacked.svg");
    --mobile-logo-height: 200px;
    --login-prompt-color: #329dde;
    --heading-color: #49a6de;
    --link-color: #49a6de;
    --input-border-color: #49a6de;
    --input-border-radius: 8px;
    --button-background-color: #49a6de;
    --button-border-radius: 8px;
    --button-hover-background-color: #7bbee7;
    --button-hover-color: white;
}

.dob-theme {
    --logo-image: url("/css/img/banner.jpg");
    --logo-height: 200px;
    --mobile-logo-image: url("/css/img/dob-logo-mobile.png");
    --mobile-logo-height: 60px;
    --login-prompt-color: #0a9496;
    --heading-color: #000000;
    --main-heading-color: #0a9496;
    --link-color: #0a9496;
    --input-border-color: #ccc;
    --input-border-radius: 3px;
    --button-background-color: #0a9496;
    --button-border-radius: 3px;
    --button-hover-background-color: white;
    --button-hover-color: #0a9496;
}

.dobe-theme {
    --logo-image: url("/css/img/DOB-Energy-Web.png");
    --logo-height: 200px;
    --mobile-logo-image: url("/css/img/dob-logo-mobile.png");
    --mobile-logo-height: 60px;
    --login-prompt-color: #052ca8;
    --heading-color: #000000;
    --main-heading-color: #052ca8;
    --link-color: #052ca8;
    --input-border-color: #ccc;
    --input-border-radius: 3px;
    --button-background-color: #052ca8;
    --button-border-radius: 3px;
    --button-hover-background-color: white;
    --button-hover-color: #052ca8;
}

.fl-theme {
    --logo-image: url("/css/img/DOB-Banner-FL.png");
    --logo-height: 200px;
    --mobile-logo-image: url("/css/img/dob-logo-mobile.png");
    --mobile-logo-height: 60px;
    --login-prompt-color: #0a9496;
    --heading-color: #000000;
    --main-heading-color: #0a9496;
    --link-color: #0a9496;
    --input-border-color: #ccc;
    --input-border-radius: 3px;
    --button-background-color: #0a9496;
    --button-border-radius: 3px;
    --button-hover-background-color: white;
    --button-hover-color: #0a9496;
}

.rig-theme {
    --logo-image: url("/css/img/rig-logo-new.png");
    --logo-height: 124px;
    --mobile-logo-image: url("/css/img/rig-logo-mobile.png");
    --mobile-logo-height: 96px;
    --login-prompt-color: #881630;
    --heading-color: #222;
    --main-heading-color: #881630;
    --link-color: #881630;
    --input-border-color: #ccc;
    --input-border-radius: 0px;
    --button-background-color: #881630;
    --button-border-radius: 0px;
    --button-hover-background-color: white;
    --button-hover-color: #881630;
}

*,
:after,
:before {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    background-color: #ffffff;
    font-family: "Open Sans", sans-serif;
    color: #222;
    line-height: 1.4;
}

a:link,
a:visited {
    color: var(--link-color);
    text-decoration: none;
}

#top-logo {
    height: var(--logo-height);
    display: block;
    background: var(--logo-image) no-repeat;
    background-position: center;
    background-size: contain;
    padding: 0;
}

.content a {
    color: #fff;
}

h1,
h2,
h3,
h4,
h5 {
    color: var(--heading-color);
    font-weight: normal;
}

h1 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
}

h2 {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
}

h3 {
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
}

h4 {
    font-size: 1.2rem;
    margin: 0 0 1rem 0;
}

h5 {
    font-size: 1rem;
    margin: 0 0 1rem 0;
}

p {
    margin: 0 0 1rem 0;
}

img {
    border: 0;
}

strong {
    font-weight: bold;
}

form {
    margin: 0;
    padding: 0;
}

hr {
    border: 1px solid #000;
    margin: 2rem 0;
}

textarea {
    width: 100%;
    overflow: auto;
    font-size: 1rem;
    line-height: 1.4rem;
}

input[type="checkbox"] {
    -webkit-appearance: none;
    background-color: #fafafa;
    border: 1px solid var(--input-border-color);
    border-radius: var(--input-border-radius);
    padding: 0.8rem;
    font-family: Arial, sans-serif;
    color: var(--button-background-color);
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    top: 0.5rem;
    margin-right: 0.5rem;
}

    input[type="checkbox"]:checked:after {
        content: "\2713";
        position: absolute;
        top: -1rem;
        left: 0;
    }

input[type="text"],
input[type="password"],
input[type="email"],
select {
    -webkit-appearance: none;
    width: 100%;
    font-size: 1rem;
    border: 1px solid var(--input-border-color);
    padding: 1rem 0.7rem;
    box-sizing: border-box;
    border-radius: var(--input-border-radius);
    background: white;
    margin-bottom: 1.5rem;
}

.errormsg {
    color: red;
}

#not-a-robot {
    margin: 2rem 0;
}

a.button,
input[type="submit"] {
    -webkit-appearance: none;
    font-family: "Open Sans", sans-serif;
    text-align: center;
    color: white;
    background: var(--button-background-color);
    font-size: 1.2rem;
    line-height: normal;
    padding: 1rem 4.3rem;
    margin-right: 1.2em;
    cursor: pointer;
    border-radius: var(--button-border-radius);
    border: 1px solid var(--button-background-color);
    font-weight: 300;
}

.cancel-btn {
    margin-right: 0 !important;
}

a.button:hover,
input[type="submit"]:hover {
    outline: 0;
    text-decoration: underline;
    background: var(--button-hover-background-color);
    color: var(--button-hover-color);
}

#body-content {
    min-height: calc(100vh - 50px);
}

.content-area {
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
    padding: 20px 0;
}

    .content-area.user-profile {
        max-width: 800px;
    }

.intro-content,
.websites {
    text-align: center;
}

.CAOEC {
    display: flex;
    background: url("/css/img/CAOECPartner.png");
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.intro-content h1 {
    font-size: 2.2rem;
}

.intro-content h1,
.intro-content h2 {
    margin: 0 0 10px 0;
    color: var(--main-heading-color);
}

.websites h2 {
    margin: 2rem 0;
}

.buttons {
    padding: 2em 0 0 0;
    text-align: center;
}

#terms {
    margin-top: 1rem;
    border: 1px solid #ccc;
    padding: 1em;
    height: 16em;
    overflow-y: auto;
}

#termsbody {
    font-family: Georgia, serif;
    font-size: 1rem;
}

    #termsbody h1,
    #termsbody h2,
    #termsbody h3 {
        margin: 0.7rem 0;
        font-size: 1rem;
        line-height: 1.4rem;
        color: #222;
        font-weight: bold;
    }

    #termsbody p {
        text-align: justify;
        margin: 0;
        margin-bottom: 0.7rem;
        line-height: 1.4rem;
    }

.col-left {
    width: 50%;
    float: left;
    padding: 0 10px;
    margin-right: 3rem;
}

.col-right {
    width: 45%;
    float: left;
    padding: 0 10px;
}

.member-login {
    border: 1px solid #ddd;
    padding: 2rem 3rem;
}

    .member-login h4 {
        color: var(--main-heading-color);
    }

.footnote {
    font-size: 0.8em;
}

/* Login Panel */

#login-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    text-align: center;
}

.wrapper {
    margin: 0 auto;
    max-width: 100%;
    height: 100%;
    width: 100%;
}

.login-form-container {
    position: absolute;
    top: 50%;
    padding: 0 50px;
    transform: translateY(-50%);
    width: 100%;
}

.login-form h2 {
    font-weight: 300;
    color: var(--login-prompt-color);
    font-size: 24px;
    margin-bottom: 1rem;
}

.login-form p {
    font-weight: 300;
    margin: 20px 0 10px 0;
    font-size: 16px;
    line-height: 1.5rem;
}

.login-form strong {
    color: #222;
}

.login-form {
    padding: 3rem 2rem;
    max-width: 510px;
    margin-right: auto;
    margin-left: auto;
    background: #fff;
    border-radius: 5px;
    box-shadow: 10px 10px 52px 1px rgba(0, 0, 0, 0.1);
}

.buttons.block a.button,
.buttons.block input[type="submit"] {
    width: 100%;
    margin: 8px 0;
    display: block;
    padding: 1rem 0;
}

footer {
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}

.footer-content {
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    z-index: 1;
}

    .footer-content p {
        margin: 0;
    }

    .footer-content ul li {
        float: left;
        list-style: none;
        margin: 0 10px;
    }

@media only screen and (max-width: 996px) {
    #login-panel {
        overflow: inherit;
    }

    #top-logo {
        background: var(--mobile-logo-image) no-repeat center center;
        height: var(--mobile-logo-height);
    }

    .wrapper {
        margin: 0 auto;
        height: auto;
    }

    .login-form-container {
        height: auto;
        display: block;
        padding: 0;
        position: relative;
        transform: none;
        -ms-transform: none;
    }

    .login-form h2 {
        font-size: 18px;
    }

    a.button,
    input[type="submit"] {
        width: 100%;
        margin: 8px 0;
        display: block;
        padding: 1rem;
    }

    .buttons {
        padding: 1em 0 0 0;
    }

    .col-left {
        width: 100%;
        float: none;
    }

    .col-right {
        width: 100%;
        float: none;
    }

    .grid-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 10px;
    }

    .grid-item {
        flex: 1 1 0px;
        padding: 10px;
        border: 1px solid #eee;
        margin-bottom: 1.5rem;
    }

        .grid-item:nth-child(2) {
            margin: inherit;
        }

    .form-group {
        width: 90%;
        margin: 0 auto;
    }

        .form-group input {
            margin: inherit;
        }
}
