﻿@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

/*************************
 Single Element Selectors 
*************************/

html {
    font-size: 14px;
}
body {
    background-color: #ecf1f4;
    margin: 0;
    letter-spacing: .1rem;
}

* {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, sans-serif;
}

form {
    width: 90%;
    margin: auto;
}

a {
    text-decoration: none;
}

input, select {
    width: 100%;
    height: 3rem;
    color: #575757;
    border: .05rem solid #ddd;
    border-radius: .19rem;
    background: #fff;
    outline: none;
    padding-left: 1em;
    font-size: 1rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

select {
    -moz-appearance: none; /* Firefox */
    -webkit-appearance: none; /* Safari and Chrome */
    background: url("../images/Down Arrow.svg") no-repeat 95%;
    background-size: 1rem;
}

input:focus {
    border-color: #1073FF;
}

input:invalid, input[invalid="true"] {
    border-color: #ff421d;
}

button {
    width: 100%;
    color: #ffffff;
    border: none;
    border-radius: .3rem;
    height: 3rem;
    outline: none;
    cursor: pointer;
    font-size:1rem;
}

.main .form-input.button-input {
    padding-top:1rem;
}
h2 {
    color: #575757;
    letter-spacing: 0.05rem;
}

p, label {
    color: #575757;
    letter-spacing: 0.3px;
}

label {
    display: table-cell;
    padding-bottom: 0.5rem;
}

button:focus, button:hover {
    background-color: #2e7ac8;
}

button[disabled], button[disabled]:hover, button[disabled]:focus {
    color: #828a98;
    background-color: #e6e8ea;
    cursor: initial;
}

ul {
    padding: 1rem;
}

li {
    padding-bottom:.5rem;
}

/****************
 Class Selectors 
****************/
.form-input .error {
    text-align:left;
    margin-bottom:1rem;
    letter-spacing: 0.05rem;
}
.center {
    text-align: center;
}

.left {
    text-align: left;
}

.login-column {
    margin: auto;
    width: 25rem;
    color: #575757;
}

.auth-page.login-column {
    display: flex;
    flex-direction:column;
}

.auth-page.notice-column {
    display: flex;
    height: 100vh;
    flex-direction: column;
    justify-content: space-between;
    flex-shrink: 0;
    overflow: auto;
}

.notice-content {
    margin: auto;
}

.change-password-header {
    color: #575757;
    letter-spacing: 0.05rem;
    text-align: left;
    margin-top: 0rem;
    font-size: 1.5625rem;
    align-self: flex-start;
}

.privacy-policy {
    margin-left: 2rem;
}

.privacy-content-link {
    text-decoration: underline;
    -moz-text-decoration-color: #00c83c;
    text-decoration-color: #00c83c;
    cursor: pointer;
    color: inherit;
}

.login-header {
    color: #575757;
    letter-spacing: 0.05rem;
    text-align: left;
    margin-top: 0rem;
    font-size: 1.5625rem;
}

.white-background {
    background: #fff;
}

.justify {
    text-align: justify;
}

.header {
    padding: 2rem 0rem;
}

.form-input {
    width: 25rem;
    min-height: 4em;
    margin: auto;
    margin-bottom: 1rem;
}

.padding-top-1 {
    padding-top: 1rem;
}

.forgot-password-header {
    color: #575757;
}

.logout-text {
    margin-top: -1rem;
    margin-bottom: 2rem;
}

.button-input button {
    cursor: pointer;
    border: none;
    border-radius: 5rem;
    padding: 0 1.5em;
    color: #FFFFFF;
    text-transform: uppercase;
    background-color: #1073FF;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 3rem;
    overflow: visible;
}

.button-input:focus, .button-input > button:focus {
    outline: none;
}

.button-input > button:focus::before {
    outline: none;
    border: 0.07rem dashed #1073FF;
    opacity: 1;
    content: " ";
    background-color: transparent;
    display: inherit;
    margin: -0.2em;
    position: absolute;
    top: -0.07rem;
    right: -0.07rem;
    bottom: -0.07rem;
    left: -0.07rem;
    z-index: 1;
    border-radius: 5rem;
}

.button-secondary {
    background-color: #fff;
    background: transparent;
    color: #1073FF;
    margin-top: 1.5rem;
    border-radius: 5rem;
    border-width: 0.1rem;
    border-style: solid;
    border-color: #1073FF;
}

.button-input > button:hover {
    background: #1D69BB;
}

.button-secondary:hover {
    background: rgba(0,0,0,.1);
}

.buttons {
    margin-top: 1em;
}

.text-button {
    color: #1073FF;
    letter-spacing: normal;
}

.text-button:hover {
    text-decoration: underline;
}

.footer {
    bottom: 0;
    right: 0;
    margin: 0;
    text-align: center;
    background-color: #ecf1f4;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin-top: 2em;
}

.footer .text-button {
    padding-top: 0;
}

.footer-links {
    padding: 2em 0em;
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto;
}

.error {
    color: #F70606;
    text-align: center;
    font-style: italic;
}

#activation-header {
    text-align: center;
}

/******************
 Complex Selectors
******************/

.header .logo {
    max-width: 24em;
}

/******************
 Authentication page
******************/

#Region {
    background-image: url("../images/Down Arrow.svg"),url("../images/globe.svg");
    background-position: 95%, 1rem;
    background-repeat: no-repeat;
    background-size: 1rem,1.2rem;
    padding-left: 2.5rem;
}

#Success {
    background-image: url("../images/Check_NoWhitespace.svg");
    background-position: 75%, 1rem;
    background-repeat: no-repeat;
    background-size: 1.4rem,1.2rem;
}

.main {
    display: inline-block;
    width: 50%;
    margin: auto;
    flex-shrink: 0;
}

.success-check {
    width: 1.5rem;
    padding-left: .5rem;
}

.auth-page {
    display: flex;
    flex-direction: row;
    overflow: hidden;
}
.auth, .announcements {
    display: flex;
    width: 50vw;
    height: 100vh;
    vertical-align: middle;
    align-items: center;
}

.auth {
    flex-direction: column;
    overflow: auto;
    justify-content: space-between;
}

.auth.change-password {
    width: 100vw;
    flex-direction: column;
    justify-content: flex-start;
}


.auth.change-password .main
{
    width:25%;
    margin-top: 10rem;
}

.auth-page .footer-element .footer-links {
    width: 25%; 
}

.auth-page .change-password ~ .footer {
    width:100%;
}
.auth-2 {
    width: 25vw;
    max-height: 85vh;
    vertical-align: middle;
    margin: 5% auto;
}

.announcements {
    background-color: #ECF1F4;
    height: 100vh;
    color: #fff;
}

.announcements iframe {
    border:none;

    /*  These styles are explicitly
        defined like this due to
        Safari on iPads.

        With just height and width
        defined as 100%, the iframe
        expands past the height and
        width given to it.
    */
    height: 0;
    width:0;
    max-height:100%;
    max-width:100%;
    min-height:100%;
    min-width: 100%;
    
}

.announcements button{
    border: 1px solid #fff;
    margin: .5rem;
    width: 50%;
}

.announcements .buttons{
    display:flex;
}

.auth.center {
    background-size: cover;
    background-position: bottom;
}

.auth .form-input, .auth form, .auth-page .footer {
    width: 100%;
}
.auth-page .footer .element {
    padding: 2rem 2rem;
}

.auth-page .footer .element .links {
    width:60%;
}

.back-to-login-link {
    text-align: justify;
    font-size: 1rem;
    letter-spacing: .05rem;
}

.links {
    font-size: 1rem;
    display: flex;
    justify-content: space-between;
    margin: auto;
    letter-spacing:.05rem;
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
    .main, .auth .footer .element .links, .auth.change-password .main {
        width: 80%;
    }
}

@media only screen and (max-width: 991px) {
    .auth-page {
        display: flex;
        flex-flow: column-reverse;
    }

    .auth {
        height: 80%;
        order: 1;
    }

    .announcements {
        height: 80vh;
    }

    .auth, .announcements {
        width: 100vw;
    }

    .main {
        padding: 6rem 0rem;
    }

    .footer {
        width: 100%;
        position: relative;
    }

    .auth-page .change-password {
        height: 100vh;
        justify-content: center;
    }

        .auth-page .change-password .main {
            margin-top: 0;
        }

        .auth-page .change-password ~ .footer {
            position: fixed;
        }

    .auth-page .footer {
        width: 100%;
    }

    .auth-page .footer-element .footer-links {
        width: 100%;
        justify-content: space-around;
    }

    .auth-page .footer .element {
        display: flex;
        justify-content: center;
    }

        .auth-page .footer .element .links {
            display: flex;
            justify-content: space-between;
        }

    .auth.change-password .main {
        width: 80%;
    }
}

@media only screen and (max-width: 767px) {
    .main {
        padding: 1rem 0rem;
    }

    .header {
        padding-bottom: 2rem;
    }

    .links {
        display: inline-grid;
    }

    .auth .footer .element {
        padding: 1.5rem;
    }

        .auth .footer .element .links {
            display: flex;
        }

    .header .logo {
        max-width: 14rem;
    }

    .back-to-login-link {
        text-align: center;
    }

    .main .text-button, .main .button-input {
        margin-bottom: 1rem;
    }
}

@media only screen and (max-width: 425px) {
    .main, .auth .footer .element .links, .auth.change-password .main {
        width: 80%;
    }
}

.error-view {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin: auto;
}

.error-view * {
    font-family: Open Sans,Helvetica Neue,Helvetica,sans-serif;
}

.ui.main-container {
    overflow-y: auto;
    position: absolute;
    top: 5.714rem;
    bottom: 0;
    left: 0;
    overflow-x: hidden;
    width: 100%;
    padding: 0 2.5rem;
}

.ui.activation-error-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

/*@media only screen and (min-width: 992px) {
    .error-view {
        width: auto;
    }
}*/

.error-view > .cc-clouds-svg {
    width: 15.7142857rem;
    height: 12.2142857rem;
    margin: 0 0 -7.9rem -20.5rem;
    fill: #1073FF;
    opacity: .15;
    position: absolute;
}

@media only screen and (min-width: 480px) {
    .error-view > .cc-clouds-svg {
        margin-left: -9rem;
        margin-top: -2rem;
    }
}

@media only screen and (min-width: 768px) {
    .error-view > .cc-clouds-svg {
        margin: 0 0 -7.4rem -18.7rem;
    }
}

@media only screen and (min-width: 992px) {
    .error-view > .cc-clouds-svg {
        margin-left: -23.5rem;
    }
}

.error-view > .error-view-content {
    font-size: 0.9rem;
    z-index: 5;
}

@media only screen and (min-width: 992px) {
    .error-view > .error-view-content {
        font-size: 1rem;
    }
}

.error-view .error-view-content .error-view-header {
    margin-bottom: 0.2em;
    line-height: 1em;
    font-size: 4em;
    font-weight: bold;
    color: #575757;
}

p.error-view {
    display: block;
    margin-top: 0;
    margin-bottom: 1em;
    word-break: break-word;
    width: 100%;
}

.error-view-home-link {
    text-decoration: none;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    transition: color .3s;
    touch-action: manipulation;
}

    .error-view-home-link, .error-view-home-link:hover, .error-view-home-link:visited {
        color: #1073FF;
    }

@media only screen and (min-width: 992px) {
    .error-view .error-view-content .error-view-header {
        font-size: 5em;
    }
}

.error-view .error-view-content .error-view-body {
    font-size: 1.15em;
    font-weight: 600;
}

.error-view .error-view-content .error-view-footer {
    font-size: 1.15em;
}
 