﻿:root {
    --fonts: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --primary: #6699CC;
    --primary-hover: #407fbf;
}

.primary-blue-color {
    color: #6699CC;
}

.primary-grey-color {
    color: #9a9b9c;
}

.primary-dark-grey-color {
    color: #57585b;
}

.primary-blue-background {
    background-color: #6699CC;
}

.primary-grey-background {
    background-color: #9a9b9c;
}

.primary-dark-grey-background {
    background-color: #57585b;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: var(--fonts);
    margin: 0;
    padding: 0;
    background-color: whitesmoke;
}

@media (min-height:650px) {
    body {
        padding-top: 0;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
}

.icon {
    position: relative;
    top: -10px;
}

.logged-out iframe {
    display: none;
    width: 0;
    height: 0;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.body-content {
    width: 100%;
    min-height: 100vh;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.login-page,
.standard-page,
.logout-page,
.error-page {
    margin: 40px auto;
    width: 80%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
}

.login-page,
.logout-page,
.error-page {
    max-width: 370px;
}

    .login-page.logout-page {
        max-width: 322px;
    }

    .login-page .page-header,
    .standard-page .page-header,
    .logout-page .page-header {
        padding: 40px 0;
    }

@media (min-width:600px) {
    .login-page .page-header,
    .standard-page .page-header,
    .logout-page .page-header {
        padding: 60px 0 60px;
    }
}

.login-page .page-header img,
.standard-page .page-header img,
.logout-page .page-header img {
    margin: auto;
    width: 90%;
    max-width: 260px;
    display: block;
}

.login-page .page-header--smaller,
.standard-page .page-header--smaller,
.logout-page .page-header--smaller {
    padding: 30px 0;
}

    .login-page .page-header--smaller img,
    .standard-page .page-header--smaller img,
    .logout-page .page-header--smaller img {
        width: 200px;
    }

.search-page .page-body {
    padding: 0 40px;
}

.form-component h1,
.form-component p {
    margin: 0 auto 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    width: 80%;
    font-size: 1em;
    color: #333;
}

.form-component p {
    border: 0;
    color: #222;
}

.form-component fieldset {
    outline: 0;
    border: 0;
    padding: 0;
    display: block;
}

.form-group {
    margin: 0 auto 10px;
    width: 80%;
}

    .form-group label {
        padding: 0 0 5px;
        display: block;
    }

    .form-group input {
        font-family: var(--fonts);
        width: 100%;
        line-height: 35px;
        padding: 0 10px;
        border-radius: 4px;
        border: 1px solid rgba(0,0,0,0.1);
        display: block;
    }

.primary-button {
    background: var(--primary);
    border: 0;
    color: #fff;
}

    .primary-button:hover {
        background: var(--primary-hover);
    }

.login-button-container button,
.login-cancel-button-container a,
.login-button-container a {
    width: 100%;
    line-height: 40px;
    text-align: center;
    border: 0;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    -webkit-box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 15px 15px -10px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    font-family: var(--fonts);
    color: #fff;
    display: block;
    cursor: pointer;
}

.login-button-container button,
.login-button-container a {
    margin: 30px auto;
    background: var(--primary);
}

    .login-button-container button:hover,
    .login-button-container a:hover {
        background: var(--primary-hover);
    }

.login-cancel-button-container button {
    margin: auto;
}

.login-button-container--gray a {
    background: white;
    color: #2d2d2d;
}

.login-page.logged-out-page .login-button-container {
    width: 80%;
    margin: auto;
    font-size: 0.9em;
}

    .login-page.logged-out-page .login-button-container a {
        letter-spacing: 0;
    }

.dashboard-page .icon-link {
    opacity: 1;
    -o-transition: opacity 0.25s ease-in-out;
    -webkit-transition: opacity 0.25s ease-in-out;
    transition: opacity 0.25s ease-in-out;
}

    .dashboard-page .icon-link:hover {
        opacity: 0.8;
    }

.dashboard-page .action-link {
    width: 100%;
    padding-top: 100%;
    position: relative;
}

    .dashboard-page .action-link .card-img-top {
        position: absolute;
        height: 100%;
        top: 0;
        color: white;
    }

        .dashboard-page .action-link .card-img-top svg {
            height: 80%;
            width: 80%;
            top: 10%;
            left: 10%;
            position: relative;
            color: white;
        }

        .dashboard-page .action-link .card-img-top.login-icon-link svg {
            left: 5%;
        }

.standard-page .inline-icon svg {
    height: 1em;
    width: 1em;
}

.standard-page .inline-icon.icon-large svg {
    height: 1.5em;
    width: 1.5em;
}

.forgot {
    margin: 0 auto 30px;
    text-align: center;
}

    .forgot a {
        line-height: 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        text-decoration: none;
        display: inline-block;
        color: var(--primary);
    }

.error-title {
    font-size: 1.1em;
    font-weight: 700;
    padding-bottom: 20px;
    text-align: center;
}

.error-subtitle {
}

.error-description {
}

.login-page .alert {
    margin: 0 auto 20px;
    width: 80%;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid rgba(0,0,0,0.1);
}

    .login-page .alert.alert-danger {
        background: #ffd0d0;
        z-index: 1;
    }

.alert.toast-alert {
    position: fixed;
    width: 430px;
    -webkit-animation: toastFixed 5000ms ease-in-out forwards;
    animation: toastFixed 10000ms ease-in-out forwards;
}

.alert.toast-alert--center {
    margin: auto;
    left: 20px;
    right: 20px;
    bottom: 20px;
}

.alert.toast-alert--right {
    margin: 0;
    right: 20px;
    bottom: 20px;
}

@-webkit-keyframes toastFixed {
    0% {
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0)
    }

    20%, 80% {
        -webkit-transform: translate3d(0, 0%, 0);
        transform: translate3d(0, 0%, 0);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes toastFixed {
    0% {
        -webkit-transform: translate3d(0,100%,0);
        transform: translate3d(0,100%,0)
    }

    20%, 80% {
        -webkit-transform: translate3d(0, 0%, 0);
        transform: translate3d(0, 0%, 0);
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.login-page .alert.alert-danger ul {
    list-style: none;
    padding: 0;
}

    .login-page .alert.alert-danger ul li {
        margin: 5px 0;
        font-size: 0.9em;
    }

.email-confirmation {
    background: #fff;
    margin-top: 30px;
    padding: 40px;
    border-radius: 4px;
    font-size: 1.1em;
}

.email-confirmation__text {
    text-align: center;
}

.email-confirmation h3 {
    display: inline-block;
}

.email-confirmation .tick {
    position: relative;
    margin: 20px auto 50px;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    display: block;
}

    .email-confirmation .tick:before {
        position: absolute;
        margin: auto;
        top: -5px;
        left: 0;
        right: 0;
        bottom: 0;
        width: 20px;
        height: 40px;
        border: 5px solid #fff;
        border-width: 0 5px 5px 0;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        content: '';
    }

.close.cookie-close {
    color: #000;
    font-size: 1.2em;
}

.btn.close.cookie-close {
    background-color: whitesmoke;
    opacity: inherit;
    margin-top: 4px;
    padding: 0.55em 0.75em;
}
