﻿body {
    background-color: #006998;
    font-family: "Fira Sans", sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

p {
    color: #343A40;
    font-size: 18px;
    line-height: 36px;
    font-weight: 300;
}

h2.authorize-header {
    font-size: 36px;
    line-height: 48px;
    font-weight: 200;
}

h3.authorize-header {
    font-size: 18px;
    line-height: 26px;
    font-weight: 500;
    text-transform: uppercase;
}

.container {
    margin: 60px auto;
    min-width: 320px;
    max-width: 1000px;
}

#login-content, #authorize-content {
    display: none;
    max-width: 360px;
    margin: 0 auto;
}

#login, #reset {
    display: none;
    font-family: inherit;
}

.active {
    display: block !important;
}

.sensi-btn {
    border: none !important;
    color: #FFF;
    padding: 10px;
    border-radius: 4px;
    width: 100%;
    font-size: 14px;
    font-weight: 600;
    display: block;
    text-align: center;
    text-decoration: none !important;
}

.sensi-btn.primary {
    background-color: #006998;
}

.sensi-btn.secondary {
    background-color: #868E96;
}

.sensi-btn:hover {
    cursor: pointer;
    color: #FFF;
}

.sensi-btn.primary:hover {
    background-color: #008ccb;
}

.sensi-btn.secondary:hover {
    background-color: #ADB5BD;
}

.sensi-btn.primary:active, .sensi-btn.primary:focus {
    background-color: #005479;
    color: #FFF;
}

.sensi-btn.secondary:active, .sensi-btn.secondary:focus {
    background-color: #495057;
    color: #FFF;
}

.sensi-btn:disabled {
    background-color: #007bff;
    border-color: #007bff;
    opacity: .65;
    cursor: not-allowed;
}

.sensi-btn.enroll-btn {
    padding: 10px 30px;
    width: auto;
    margin-top: 35px;
}

.sensi-logo-oauth-wrapper img {
    margin: 0 auto 10px;
    max-width: 175px;
    display: block;
}

.sensi-logo-wrapper img {
    margin-bottom: 15px;
    width: 135px;
}

h1.hero-text {
    color: #FFF;
    font-size: 48px;
    font-weight: 200;
    line-height: 1.1;
    text-align: left
}

#enrollmentForm h1.hero-text {
    color: #343A40;
    margin-bottom: 17px;
}

.hero-paragraph {
    color: #FFF;
    text-align: left;
    line-height: 30px;
    padding: 10px 50px 10px 0;
    font-size: 16px;
    font-weight: 300;
}

.partner-text-pane {
    padding-right: 50px;
}

.login-container {
    background-color: #FFF;
    border-radius: 5px;
    color: #697175;
    padding: 10px 20px;
    margin: 20px auto 10px;
    overflow: hidden;
}

.important-text {
    font-weight: 300;
    font-size: 28px;
    color: #343A40;
    margin: 5px auto;
    line-height: 40px;
}

.important-text.big-login {
    font-size: 28px;
    color: #343A40;
    margin: 5px auto;
    line-height: 40px;
    width: 310px;
}

.important-text.login {
    padding: 5px 38px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.important-text.reset {
    padding: 5px 0 15px;
    margin: 0;
    font-size: 16px;
    line-height: 24px;
}

.enrollment-container .important-text {
    margin-top: 17px;
    color: #697175;
}

.col-md-12 {
    overflow: hidden;
}

#loginForm a {
    margin: 10px 0;
    clear: both;
    float: left;
}

input {
    outline: none;
    background: none;
    border: 2px solid #868e96 !important;
    border-radius: 4px;
    font-size: 18px;
    padding: 5px 10px;
}

ul li.list-item-padding {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    font-size: 15px;
    color: #343A40;
    line-height: 26px;
    width: 88%;
    display: block;
    float: left;
}

label.password {
    margin-top: 10px;
}

label input {
    float: left;
    margin-right: 8px;
    width: auto;
    transition: border-color .5s ease-out;
}

input[type="checkbox"] {
    display: none;
}

.sensi-checkbox {
    cursor: pointer;
    float: left;
    height: 24px;
    width: 24px;
    margin: 0 10px 0 0;
    background-image: url(../images/checkbox-group-unchecked.svg);
    background-repeat: no-repeat;
}

.sensi-checkbox.checked {
    background-image: url(../images/checkbox-group-checked.svg);
    background-repeat: no-repeat;
}

/* styles for reset password */


.login-container .forgot-password-link {
    text-decoration: underline;
    font-size: 12px;
}

#username-input-reset {
    padding-left: 35px !important;
}

#remove-after-submit {
    position: relative;
    margin-bottom: 15px;
}

.input-icon {
    left: 12px;
    top: 10px;
    position: absolute;
}

.reset-btns {
    overflow: hidden;
    margin-bottom: 10px;
}

.reset-btns .sensi-btn {
    width: 48% !important;
    float: left;
    margin: 5px 2% 0 0;
}

.reset-btns a:hover {
    color: #FFF;
    text-decoration: none;
}

/* styles for enrollment page */

.sensi-logo-wrapper {
    display: block;
    overflow: hidden;
}

.enrollment-container {
    background-color: #FFF;
    color: #343A40;
    border-radius: 4px;
    padding: 25px 35px;
    overflow: hidden;
}

#thermostat-list {
    clear: both;
}

#enrollmentForm .thermostat-check-wrapper {
    padding: 5px;
    border: 2px solid #ADB5BD;
    border-radius: 4px;
    line-height: 24px;
    font-size: 14px;
    font-weight: 200;
    color: #343A40;
    margin-bottom: 15px;
    overflow: hidden;
    width: 100%;
}

.thermostat-check-wrapper label {
    padding-left: 0;
}

#permission-check-wrapper {
    margin-top: 30px !important;
    overflow: hidden;
}

#permission-check-wrapper label {
    font-weight: 400;
}

/* styles for validation helpers */

.invalid-input {
    border: 3px solid #F03E3E !important;
    outline: none !important;
}

.invalid-input-text {
    color: #F03E3E !important;
    font-weight: 600;
    display: none;
    clear: both;
    margin-bottom: 0;
}

.alert {
    display: none;
}

.alert.alert-danger {
    background-image: url(../images/icon-caution-red.svg);
    margin-bottom: 10px;
    padding: 10px 10px 10px 65px;
    background-repeat: no-repeat;
    background-position: left center;
    background-position-x: 13px;
    background-position-y: 13px;
    color: #343A40;
    background-color: #fac5c5;
    border-color: #f5c6cb;
    border: 0;
}

.alert h3 {
    margin: 10px 0;
    font-size: 18px;
    line-height: 20px;
}

.alert ul {
    padding: 0;
}

.alert ul li {
    text-decoration: underline;
    list-style-type: initial;
    margin-left: 16px;
}

.alert > ul {
    margin-bottom: 5px;
}

.alert ul li:first-child {
    margin-top: 10px;
}

.display-error {
    display: block;
}

.validation-summary-errors {
    color: #b94a48;
}

/* Authorize Page Styles */


@media only screen and (max-width: 480px) {

    .container {
        margin: 15px auto;
    }

    .sensi-logo-oauth-wrapper img {
        margin: 0 auto 10px;
        max-width: 175px;
        display: block;
    }

    .sensi-logo-wrapper img {
        width: 110px;
    }

    h1.hero-text {
        font-size: 40px;
    }

    .important-text {
        width: auto !important;
    }

    .important-text.big-login {
        font-size: 20px;
        line-height: 30px;
    }

    .hero-paragraph {
        padding: 10px 0;
    }

    .alert h3 {
        font-size: 16px;
    }

    .enrollment-container {
        padding: 0 0 25px 0 !important;
    }

    #permission-check-wrapper {
        margin-top: 10px !important;
    }

    .enroll-btn {
        width: 85% !important;
        margin: 15px auto 5px !important;
        display: block;
    }
}

