/* General Page & Tag Styling */
html,
body {
    /* Blue Gradient */
    background: #003E51;
    background: linear-gradient(223.47deg, #003E51 0%, #003E51 55%, #48A9C5 100%);
    background: -webkit-linear-gradient(223.47deg, #003E51 0%, #003E51 55%, #48A9C5 100%);

    margin: 0;
    padding: 0;
    border: 0;

    position: fixed;
    width: 100%;
    height: 100vh;

    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

img {
    border: 0;
}

p {
    margin: 0;
    margin-top: 20px;
}

input {
    margin-bottom: 5px;
}

h1,
h2 {
    margin: 0;
    margin-bottom: 8px;
}

h1 {
    font-size: 24px;
    font-weight: 600;
}

h2 {
    font-size: 20px;
}

span {
    display: block;
    float: right;
    text-align: left;
    padding: 0 3px 0 3px;
}

.g-recaptcha {
    display: inline-block;
    padding: 5px 0;
}

.left {
    text-align: left !important;
}

.no-padding {
    padding: 0;
}

input.justification {
    width: 280px;
}

body,
html {
    overflow: hidden;
    overflow-y: auto;
    position: fixed;
    width: 100%;
    align-items: center;
    margin: 0;
    padding: 0;
}

/* General Text Styling */
h1,
h2,
h3,
p,
a,
b,
strong,
input,
i,
ul,
li,
div,
span,
label,
html,
body {
    font-family: 'Netcraft Open Sans', 'Open Sans', sans-serif !important;
}

p,
label,
span {
    color: #666;
}

p,
label,
span,
a {
    line-height: 24px;
    font-size: 14px;
}

/* Links */
a:hover {
    color: #4895C5 !important;
    text-decoration: underline !important;
}

a:visited,
a:link {
    color: #4895C5;
    text-decoration: none;
    font-weight: 500;
}

/*
 *  Page Content & Containers
 */
#parent {
    height: 100%;
    width: 30%;
    max-width: min(95vw, 520px);
    min-width: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;

    padding: 0 5px;
}

#parent > *:last-child {
    margin-bottom: auto;
}

/*** Login Pane ***/
.login-pane {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    width: 100%;
    background: white;

    min-height: 570px;

    border-radius: 12px;
    padding: 48px;
    margin-bottom: 48px;
}

.login-pane h1,
h2,
p {
    color: #1A1A1A;
}

.login-pane h1 {
    margin-bottom: 8px;
}

#login-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    height: 100%;
}

.back-to-login {
    margin-top: 16px;
}

#copyright-footer p {
    color: #424242;
    text-align: left;

    font-size: 12px;
    font-weight: bold;
    line-height: 16px;

    text-transform: uppercase;

    margin-bottom: 2px;
}


.login-table input[type="checkbox"] {
    width: auto;
    margin-top: 6px;
    margin-right: 4px;
    vertical-align: middle;
}

.login-table label.form-check-label {
    font-weight: normal;
    color: #424242;
    vertical-align: middle;
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 0;
}

.message {
    text-align: justify;
    background-color: #EEEEEE;
    border: 1px solid #CCCCCC;
    margin-bottom: 20px;
    padding: 10px;
    padding-bottom: 0;

    border-radius: 4px;
}

.message p {
    margin-top: 0;
    margin-bottom: 10px;
}


label {
    width: 240px;
    padding-right: 20px;
}

#header h1 {
    padding-left: 20px;
    padding-top: 14px;
}

#header a {
    padding-top: 0;
}

#header img {
    margin-top: 7px;
    margin-bottom: 7px;
}

#menu {
    background-color: #003E51;
    padding: 2px 0 3px 0;
}

p.reminder {
    width: 100%;
    text-align: justify;
    margin-bottom: 20px;
}

#form input,
#form span {
    font-size: 14px;
    margin-bottom: 0;
}

#form span.sub-label {
    font-size: 12px;
}

#form input[type='submit'] {
    font-weight: 600;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
}

form {
    text-align: left;
    width: 100%;
    margin-top: 20px;
    box-sizing: border-box;
    margin: 0;
}

#form {
    text-align: left;
    box-sizing: border-box;
    margin: 0;
    margin-bottom: 24px;
}

/* Show/Hide Password Toggle */
.password-toggle {
    width: 40px;
    height: 40px;
    display: inline-block;
    cursor: pointer;
    padding: 8px;
    color: #5e5e5e;

    margin-left: -45px;
}

.password-toggle img {
    vertical-align: bottom;
}

.contact {
    color: #424242;
    padding: 0px;
    max-width: 70%;
}

.login-table p {
    font-size: 14px;
    margin: 0;
}

.login-table {
    display: flex;
    flex-direction: column;

    text-align: left;

    margin-top: 24px;
}

.login-table label {
    color: #1A1A1A;

    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;

    padding-bottom: 2px;
    padding-right: 0;
    margin-bottom: 2px;

    width: 100%;
}

.login-table label .sub-label {
    color: #424242;

    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;

    padding: 0;
    margin-bottom: 2px;
    margin-top: 4px;
}

#login-details {
    margin-top: 0;
    margin-bottom: 24px;
    word-break: break-word;
    text-overflow: ellipsis;
    white-space: normal;
}

.login-table .spaced-label {
    margin-top: 18px;
}

/*
 * Text Input Styles
 */

.login-input {
    display: flex;
}

.login-input input {
    height: 40px;
    width: 100%;

    border-radius: 8px;
    border: 1px solid #BCBCBC;
    background: #FFF;

    padding: 8px;
    padding-left: 16px;

    color: #424242;
}

::placeholder,
::-ms-input-placeholder {
    color: #424242;
    opacity: 74%;
}

.login-input input:placeholder-shown {
    color: rgba(66, 66, 66, 0.74);
    border: 1px solid #BCBCBC;
    background: #FFF;
}

.login-input input:disabled {
    color: rgba(66, 66, 66, 0.80);
    border: 1px solid #BCBCBC;
    background: #D9D9D6;
}

.login-input input:hover {
    outline: none;
    color: #424242;
    border: 1px solid #BCBCBC;
    background: #E5F1F2;
}

.login-input input:focus {
    outline: 2px solid #48A9C5;
    color: #424242;
    background: #E5F1F2;
}

.login-input input:active {
    outline: 2px solid #003E51;
    color: #424242;
    background: #FFF;
}

#password,
#password1,
#password2 {
    padding-right: 42px;
}

/*** Text Input Status Styles ***/

.login-input input.input-error {
    color: #424242;
    border: 1px solid #B3424F;
    background: #F9EDEE;
}

.login-input input.input-success {
    color: #424242;
    border: 1px solid #4FB342;
    background: #EEF9ED;
}


/*** Logo Pane ***/

#logo-link {
    margin: auto;
    max-width: 300px;
    min-width: 160px;

    margin-bottom: 48px;
}

.logomark {
    width: 200px;
}

/*** Carousel ***/

#text-carousel {
    margin: 0;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;

    max-width: 95vw;
    width: 100%;
}

.carousel-content {
    width: 100%;
    min-height: 150px;
}

.carousel-content .btn {
    border-radius: 8px;
    border: 1px solid white;

    padding: 8px 24px;

    width: 130px;
    max-width: 160px;

    background: none;
    color: white;
    font-weight: 500;
    font-size: 14px;

    text-wrap: nowrap;
    max-height: 42px;
}

.carousel-content a.btn:hover {
    color: white !important;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

.carousel-content h2 {
    color: white;
    font-family: inherit;
    letter-spacing: 0em;

    line-height: 16px;
    font-size: 20px;
    font-weight: bold;

    margin-bottom: 12px;
}

.carousel-content p {
    color: white;
    font-family: inherit;
    letter-spacing: 0em;

    line-height: 24px;
    font-size: 14px;
    font-weight: 500;

    margin-top: 0;
    margin-bottom: 24px;

    width: 96%;
}

/* Make carousel pips circular */
.carousel-indicators li {
    width: 16px;
    height: 16px;
    border-radius: 50%;

    margin: 4px;
    pointer-events: auto;
}

.carousel-indicators {
    position: relative;
    bottom: 0;
    width: 100%;
    height: 40px;
    margin: 0;
    pointer-events: none;
}

/*** Button Styles ***/

.go-button {
    text-align: center;
    margin-top: 24px;
    margin-bottom: 8px;
}

.go-button input {
    height: 40px;
    width: 100%;

    border-radius: 8px;
    background: #007681;
    border: none;

    color: white;
}

.go-button input:hover {
    background: linear-gradient(90deg, #007681 0%, #48A9C5 100%);
}

.go-button input:disabled {
    background: #D9D9D6 !important;
    color: rgba(66, 66, 66, 0.80) !important;
    box-shadow: none !important;
}

.go-button input:focus {
    border: 2px solid #48A9C5;
    background: #007681;
}

.go-button input:active {
    background: #006B75;
    box-shadow: 0px 2px 4px 0px rgba(26, 26, 26, 0.20);
}

/*** Alerts ***/

.alert {
    padding: 16px 24px;
    border-radius: 8px;
    margin-top: 24px;
    margin-bottom: 24px;
    border: none;
}

.alert h2 {
    color: #1A1A1A;
    font-weight: 700;
}

.alert p {
    color: #424242;
    margin: 0;
}

.alert-warning {
    background: rgba(249, 242, 237, 1);
}

.alert-error {
    background: rgba(249, 237, 238, 1);
}

.alert-success {
    background: rgba(238, 249, 237, 1)
}

/*** Input Status Text ***/

.input-message {
    display: flex;
    margin-top: 4px;
}

.input-message p {
    font-size: 12px !important;
    line-height: 16px;
    max-width: 80%;
}

.input-message .icon {
    display: flex;
    align-items: center;

    margin: 0;
    margin-right: 3px;
    margin-left: 1px;

    width: 16px;
    height: 16px;
}

.text-danger,
.text-success {
    padding-bottom: 0;
}

.text-success p {
    color: rgba(48, 108, 40, 1) !important;
}

.text-danger p {
    color: rgba(108, 40, 48, 1) !important;
}

/*
 * Small/Mobile Styles
 */
@media (max-height: 1000px),
(max-width: 700px) {
    #logo-link {
        margin-bottom: 0;
        padding: 28px 14px;
        padding-top: 14px;
        max-width: 240px;
    }

    .carousel-content {
        min-height: 100px;
    }

    #parent {
        min-width: unset;
        width: 100%;
        max-width: min(98vw, 512px);
    }

    .contact {
        max-width: 100%;
        width: 100%;
    }

    .login-pane {
        padding: 32px;
        min-height: 472px;
        max-height: unset;
        height: unset;
        margin-bottom: 28px;
    }

    /* Adjust padding */
    .login-table {
        margin-bottom: 20px;
    }

    #login-details {
        margin-bottom: 20px;
        max-width: 92%;
    }

    /* Remove input text zoom */
    #form input {
        font-size: 16px;
    }
}

@media (max-width: 500px) {
    .login-pane {
        padding: 30px;
    }

    #copyright-footer p {
        font-size: 11.5px;
    }
}
