@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    src: url("./Fonts/OpenSans-Regular.ttf");
}

@font-face {
    font-family: "Titillium Web";
    font-style: normal;
    font-weight: 400;
    src: url("./Fonts/TitilliumWeb-Regular.ttf");
}

* {
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box; /* Firefox, other Gecko */
    box-sizing: border-box; /* Opera/IE 8+ */
}

body {
    color: #282f66;
    font-size: 14px;
    line-height: 20px;
    background-color: #f3f4f5;
    background-image: url(background.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 700px;
    margin: 0;
    font-family: 'Open Sans';
}

/* For mobile we have an image without the characters */
@media screen and (max-width: 1000px) {
    body {
        background-image: url(background_mobile.jpg);
    }
}

.footer {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 40px;
    margin-top: 20px;
    padding: 10px;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    background-color: transparent;
    /*position: absolute;*/
    bottom: 0px;
    width: 100%;
}

.content-container{
    width: 100%;
    flex: 1;
}

.content-aligner{
    display: flex;
    justify-content: center;
}

.footer-txt-link {
    color: #009eb5;
    font-weight: 600;
    text-decoration: none;
}

    .footer-txt-link.phone {
        padding-left: 18px;
        background-image: url("./footer-phone.svg");
        background-position: 0px 50%;
        background-size: 15px;
        background-repeat: no-repeat;
    }

        .footer-txt-link.phone:hover {
            background-image: url("./footer-phone-hover.svg");
            background-size: 15px;
            color: #282f66;
        }

    .footer-txt-link.mail {
        margin-left: 10px;
        padding-left: 18px;
        background-image: url("./footer-mail.svg");
        background-position: 0px 50%;
        background-size: 15px;
        background-repeat: no-repeat;
    }

        .footer-txt-link.mail:hover {
            background-image: url("./footer-mail-hover.svg");
            background-position: 0px 50%;
            background-size: 15px;
            background-repeat: no-repeat;
            color: #282f66;
        }

.footer-txt-left {
    color: #5a6873;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}

.footer-txt-center {
    color: #97a0a7;
    font-size: 12px;
    line-height: 15px;
    text-align: center;
}


h1 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: "Titillium Web", sans-serif;
    font-size: 40px;
    line-height: 63px;
    font-weight: 600;
    color: #282f66;
}

h2 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: "Titillium Web", sans-serif;
    color: #009eb5;
    font-size: 32px;
    line-height: 36px;
    font-weight: 700;
}

h4 {
    color: #282f66;
    font-size: 14px;
    font-weight: 400;
}

a {
    color: #009eb5;
    text-decoration: none;
}



.container {
    display: flex;
    justify-content: center;
    width: 30%;
    max-width: 550px;
    background-color: #ffffff;
    padding: 50px 75px;
    border: 1px solid #edf0f6;
    margin-top: 13vh;
}

.panel-body {
    width: 80%;
    margin-bottom: 15px;
    text-align: center;
}

.form {
    display: flex;
    background-color: #ffffff;
    width: 100%;
    border: none;
}

.error {
    margin-top: 10px;
    padding: 5px 5px;
    color: #f00807;
    border-top: none;
    border-left: none;
    background-color: rgb(252,244,242);
    color: red;
    border-left: 2px solid red;
    background-image: url("./error.svg");
    background-position: 2% 50%;
    background-repeat: no-repeat;
    background-size: 20px;
}

    .error .error-message {
        padding-left: 35px;
    }


.success {
    margin-top: 10px;
    padding: 5px 5px;
    color: lightgreen;
    border-top: none;
    border-left: none;
    background-color: rgb(252,244,242);
    color: green;
    border-left: 2px solid green;
    background-position: 2% 50%;
    background-repeat: no-repeat;
    background-size: 20px;
}

    .success .success-message {
        padding-left: 10px;
    }
    


fieldset {
    border: none;
    padding: 0;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

.btn, p, span {
    font-size: 14px;
}

.btn {
    background-color: #009eb5;
    height: 2.5rem;
    color: #ffffff;
    padding: 0.25rem 2.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    border: none;
    margin: 0 auto;
    margin-top: 18px;
    font-family: inherit;
    border-radius: 5px;
    background-image: url("./lock.svg");
    background-position: 10% 50%;
    background-repeat: no-repeat;
    background-size: 20px;
}

    .btn span {
        margin-left: 10px;
    }

    .btn:hover {
        font-weight: 700;
        background-color: #32b1c3;
        color: #fff;
        text-align: center;
        padding: 0.25rem 2.5rem;
        font-weight: 700;
        border: none;
    }

    .btn:disabled {
        opacity: 0.5;
    }

    .btn:focus {
        outline: 0;
        border: none;
    }

    .btn-submit:hover {
        cursor: pointer;
    }

.no-perm {
    border-top: none;
    border-left: none;
    border-bottom: 1px solid rgb(214, 221, 236);
    padding-bottom: 23px;
}


.alert {
    display: none;
}

#username, #password, #confirmPassword, #email {
    height: 40px;
}

input {
    border: 1px solid #32b1c3;
    margin: 10px 0;
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    border-radius: 5px;
    background-color: rgb(249,252,253);
    color: #009eb5;
}

    input[type=text] {
        padding-left: 1.5px;
    }

    input[type=password] {
        padding-left: 1.5px;
    }

    input:focus {
        padding: 1px;
    }

.consent-scopecheck {
    width: 25px;
}

.btn-red {
    background-color: #ffffff;
    color: #f00807;
    border: 2px solid #f00807;
}

button.btn-red:hover {
    background-color: #f00807;
    color: #ffffff;
    border: 2px solid #f00807;
}



input:required {
    box-shadow: none;
    height: 25px;
}

input:focus {
    border: 1px solid rgb(21, 170, 222);
}

.form-group:last-child {
    border: none;
    padding: 0 0 25px 0;
    border-bottom: 1px solid #edf0f6;
}

.form-group label {
    font-weight: 600;
    font-size: 12px;
    float: left;
    margin-left: 15px;
}

::placeholder {
    padding-left: 5px;
    opacity: 1;
    color: rgb(21, 170, 222);
}

:-ms-input-placeholder {
    padding-left: 5px;
    color: rgb(21, 170, 222);
}

::-ms-input-placeholder {
    padding-left: 5px;
    color: rgb(21, 170, 222);
}

label {
    position: relative;
}

img {
    width: 10em;
    height: auto;
}

.login-text {
    margin-top: 25px;
    color: #32b1c3;
    text-align: center;
    font-weight: 400;
    font-size: 12px;
}

.request-password {
    text-decoration: none;
    white-space: nowrap;
}

    .request-password:hover {
        color: #0d325d;
    }

a.nostyle:link {
    text-decoration: none;
    cursor: auto;
}

a.nostyle:visited {
    text-decoration: none;
    cursor: auto;
}

.w-hidden-main {
    display: none !important;
}

.login-logo {
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    margin-left: 60px;
    background: white;
    border-bottom-right-radius: 10px !important;
    height: 100px;
    width: 216px;
}

    .login-logo img {
        width: 100%;
    }

@media (max-width: 1400px) {
    .container {
        width: 40%;
    }
}

@media (max-width: 991px) {
    .container {
        margin-top: 20%;
        width: 50%;
    }
}

@media (max-width: 767px) {
    .container {
        margin-top: 20%;
        width: 65%;
    }

    .login-logo {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        margin-top: 0px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        height: 100px;
        background: transparent;
        padding: 0;
        margin: 0;
        width: 110px;
    }

    .w-hidden-small {
        display: none !important;
    }

    .w-hidden-medium {
        display: inherit !important;
    }

    .footer {
        height: 60px;
        padding: 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-align-content: space-around;
        -ms-flex-line-pack: distribute;
        align-content: space-around;
        -webkit-flex-basis: 100px;
        -ms-flex-preferred-size: 100px;
        flex-basis: 100px;
    }

    .footer-txt-right {
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .footer-txt-left {
        margin-top: 5px;
        margin-bottom: 5px;
        -webkit-box-flex: 0;
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        text-align: left;
    }

    .footer-txt-center {
        margin-top: 2px;
        margin-bottom: 2px;
    }
}

@media (max-width: 479px) {
    .container {
        margin-top: 30%;
        width: 85%;
        padding: 10px 15px;
    }

    .w-hidden-tiny {
        display: none !important;
    }

    .footer {
        height: 75px;
        -webkit-box-pack: start;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .footer-txt-left {
        text-align: center;
    }
}

/* Fixes for login on tablet/landscape devices */

@media screen and (max-height: 599px) and (max-width: 1499px) {
    /* Your CSS rules go here */
    body { line-height: 10px; height: 1vh; overflow: hidden; width: 100%; font-size: 10px;  }
    div.login-logo img { width: 60px; }
    div.content-container { height: 270px; max-height: 270px; }
    div.content-container div.container { 
        margin-top: 10px;
        height: 290px;
        width: 75%;
    } 
    div.login-text { margin-top: 0; font-size: 10px; }
    h1 { 
        margin-top: 10px; 
        line-height: 20px; 
        font-size: 16px; 
    }
    
    h4 { font-size: 12px; }
    .btn { height: 25px; }
    .btn, p, span, .form-group label, .footer-txt-center  {font-size: 10px; }
    #username, #password, #confirmPassword, #email { height: 20px; font-size: 10px; }

    .footer { display: none;}
}
