﻿html, body {
    height: 100%;
}

body {
    background-color: white;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    font-family: archivo, sans-serif; /*Use Fantasy if can't work out which is being applied*/
    font-weight: 400;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

/* put universal focus changes here */
input:focus {
    outline: 0 !important;
    box-shadow: 0 0 0 0.25rem rgb(216, 200, 217) !important;
    border: 1px solid rgba(0, 0, 0, 0.25) !important;
}


main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

p, ul li, label, table {
    font-size: 14px;
}

h1 {
    font-weight: bold;
}

@media (max-width: 575.98px) {
    h1 {
        font-size: 1.75rem;
    }
}

h2, h3, h4 {
    font-weight: bold;
}

h2 {
    color: #622567;
}

@media (max-width: 575.98px) {
    h2 {
        font-size: 1.5rem;
    }
}

h3, h4 {
    color: black;
}

@media (max-width: 575.98px) {
    h3 {
        font-size: 1.25rem;
    }
}

@media (max-width: 575.98px) {
    h4 {
        font-size: 1rem;
    }
}

img {
    max-width: 100%;
    /* needed for cropperjs */
}

a {
    font-weight: 500;
}


.site-header {
    color: white;
}

    .site-header svg {
        fill: white;
    }

.logout-container {
    position: absolute;
    top: 20px;
    right: 15px;
}

.footer {
    padding-bottom: 1rem !important;
    background: #181818;
}

@media (min-width: 768px) {
    .footer {
        background: black;
    }
}

.footer p {
    color: white;
}

    .footer p a {
        color: #adadad;
    }

.footer-title {
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
}

.footer-copyright {
    background-color: black;
    color: #adadad;
    text-transform: uppercase;
    font-size: 10px;
}

.social-buttons {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .social-buttons {
        justify-content: start;
    }
}

.social-buttons :not(:last-child) {
    margin-right: 20px;
}

.social-buttons a {
    color: white;
    text-decoration: none;
    background: #252525;
    height: 32px;
    width: 32px;
    justify-content: center;
    align-items: center;
    display: flex;
}

    .social-buttons a svg {
        fill: white;
    }

    .social-buttons a:hover {
        text-decoration: none;
    }

        .social-buttons a:hover.facebook {
            background: #3b5998;
        }

        .social-buttons a:hover.twitter {
            background: #55acee;
            color: white;
        }

        .social-buttons a:hover.youtube {
            background: #b00;
        }

        .social-buttons a:hover.linkedin {
            background: #007bb5;
        }

        .social-buttons a:hover.instagram {
            background: linear-gradient(90deg, #7649c2 0, #bc00b8 43%, #faba58);
        }

@media (max-width: 767.98px) {
    .footer-seperator:after {
        content: &#39;
        display: inline-block;
        width: 40px;
        height: 3px;
        margin: 30px 0 20px;
        background: #333;
    }
}

.btn {
    font-weight: 600;
    font-size: 14px;
}

input[disabled] {
    cursor: not-allowed;
}

a.btn.disabled {
    cursor: not-allowed !important;
    pointer-events: unset !important;
}

a.disabled {
    cursor: not-allowed !important;
    pointer-events: unset !important;
}

.input-group-text {
    color: #622567;
    background-color: white;
}


.card-header, .card-footer {
    padding: 0.5rem;
}

@media (max-width: 450px) {
    .card-footer {
        padding: 0.4rem;
    }
}

.card-body {
    padding: 0.75rem;
}

/*label {
    font-weight: 600;
}*/

.row > label{
    margin-top: 10px;
    margin-bottom: 5px;
}

select {
    text-overflow: ellipsis;
}

.question-icon {
    position: relative;
    top: 7px;
}

.input-validation-error ~ .field-validation-error {
    display: block;
}

.field-validation-error {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.validation-summary-errors {
    color: red;
}


input input::placeholder {
    color: #adb5bd !important;
}

input::-webkit-input-placeholder {
    color: #adb5bd !important;
}

input:-ms-input-placeholder {
    color: #adb5bd !important;
}

/* Blazor Standard Css*/
app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.invalid {
    outline: 1px solid #cd202c;
}

.validation-message {
    color: #cd202c;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.4rem;
    }




.checkbox-label {
    font-weight: unset !important;
}

.checkbox-list-label {
    font-weight: unset !important;
}

.ml-md-5 {
    margin-left: 3rem !important;
}

a {
    color: #622567;
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: #2c112f;
    text-decoration: underline;
}

.btn-primary {
    color: #fff;
    background-color: #622567;
    border-color: #622567;
}

.btn-outline-primary {
    color: #622567;
    background-color: #fff;
    border-color: #622567;
}


.btn-check:checked + .btn-outline-primary {
    color: #fff;
    background-color: #622567;
    border-color: #622567;
}

.btn-primary.focus, .btn-primary:focus, .btn-primary:hover, .btn-outline-primary:hover {
    color: #fff;
    background-color: #471b4b;
    border-color: #3e1841;
}

.btn-outline-primary:active:hover {
    color: #fff;
    background-color: #471b4b;
    border-color: #3e1841;
}


.btn:hover {
    text-decoration: none;
}


.btn-block {
    display: block;
    width: 100%;
}

.text-success {
    color: #58a618 !important;
}

.text-danger {
    color: red !important;
}


.bg-danger  {
    background-color: #cd202c !important;
}
.bg-success {
    background-color: #58a618 !important;
}

.bg-dark {
    background-color: #343a40 !important;
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #622567;
    border-color: #622567;
}

.btn-info {
    color: #fff;
    background-color: #da3d7e;
    border-color: #da3d7e;
}

.btn-info.focus, .btn-info:focus, .btn-info:hover {
    color: #fff;
    background-color: #ca276a;
    border-color: #bf2565;
}

.btn-info.focus, .btn-info:focus {
    box-shadow: 0 0 0 0.2rem rgb(224 90 145 / 50%);
}

    .btn-info.active, .show > .btn-info.dropdown-toggle {
        color: #000;
        background-color: #ca276a;
        border-color: #bf2565;
    }


.asterisk:after, label.required:after {
    content: " *";
    font-size: medium;
    color: red;
    font-weight: bolder;
}

.form-check-input:checked {
    background-color: #622567;
    border-color: #622567;
}

.hide{
    display:none;
}

.progress-bar {
    background-color: #622567;
}

.innerTable .btn{
    margin: 10px;
}

.card{
    margin-top: 10px;
}

.card-header h5{
    display:inline;
}

.ml-1{
    margin-left: 1em;
}

.validation-message {
    color: red;
}