﻿/* BASICSITE.CSS ************************************************** */
html {
    /* height: 100%; */
}
#PageContent {
    /*
    background-color: white;
    border-radius: 0 0 8px 8px;
    */
    padding-top: 135px;
    /*padding-bottom: 60px;*/
}
.PageTitle {
	font-size: 45px;
	font-weight: 300;
    margin-bottom: 30px;
}
.IconButton {
    cursor: pointer !important;
}
.admin-content-block {
    background-color: maroon;
    border-radius: 4px;
    box-shadow: 2px 2px 4px #333;
    color: white;
    display: inline;
    font-weight: bold;
    left: -10px;
    opacity: 25%;
    padding: 4px;
    position: absolute;
    text-align: left;
    top: -30px;
}
.admin-content-block:hover {
    cursor: zoom-in !important;
    opacity: 100%;
}
/*
body {
    background-attachment: fixed;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    color: var(--body-foreground);
    font-family: sans-serif !important;
    height: 100%;
    margin: 0;
}
#HeaderBar {
    background-color: var(--header-background) !important;
    color: var(--header-foreground) !important;
}
.SiteTitle {
    color: var(--header-foreground);
    text-align: right;
}
    .SiteTitle div:first-of-type {
        font-size: large;
        font-weight: bold;
    }
#PageContent {
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: #333 8px 8px 12px;
}
a.MenuButton {
    border-radius: 8px;
    color: #333;
    cursor: pointer;
    display: block;
    font-size: 1.25em;
    margin-bottom: 10px;
    padding: 4px 0 4px 4px;
    text-decoration: none;
}
    a.MenuButton:hover {
        background: var(--gray-gradient);
    }
    a.MenuButton > div {
        border-radius: 50%;
        color: white;
        display: inline-block;
        font-size: 1em;
        height: 40px;
        margin-right: 10px;
        padding-top: 6px;
        text-align: center;
        width: 40px;
    }
a.dashed {
    text-decoration-style: dotted;
}
*/
#systemMessage,
.warning-message {
    background-color: maroon;
    border-radius: 10px;
    box-shadow: 2px 2px 4px silver;
    color: white;
    font-weight: bold;
    font-size: 14pt;
    margin-bottom: 20px;
    /* margin-top: 10px; */
    padding: 10px;
    text-shadow: 0 1px #333;
    width: 100%;
}
#waiting {
    background-color: white;
    height: 100% !important;
    left: 0;
    opacity: 0.8;
    padding-top: 100px;
    position: fixed;
    text-align: center;
    top: 0;
    width: 100%;
    z-index: 20000;
}
#waiting_text {
    color: #333;
    font-size: x-large;
    font-weight: bold;
    margin-bottom: 50px;
    text-align: center;
}
option:disabled {
    background-color: #F0F0F0 !important;
}
.glow {
    box-shadow: 0 0 16px var(--glow-color);
}
.list-limiter {
    font-size: 1.25em;
    font-weight: bold;
}
/*
.PageHeader {
    background-color: #f6f6f6;
    background: linear-gradient(to bottom, #ffffff 0%,#e5e5e5 100%);
    border-radius: 10px;
    box-shadow: 2px 2px 4px silver;
    margin-bottom: 20px;
    padding-bottom: 10px;
    padding-top: 10px;
}
*/
.PossibleAnswer {
    border-top: solid 1px silver;
    margin-top: 20px;
    padding-top: 10px;
}
    .PossibleAnswer:first-of-type {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
#ProfilePicture {
    border-radius: 10px;
    box-shadow: 4px 2px 2px silver;
    cursor: pointer;
    max-height: 100px;
    max-width: 100px;
    margin-bottom: 10px;
    margin-top: 10px;
}
/* ******************** */
/* My Card              */
/* ******************** */
.my-card {
    border-radius: 8px;
    box-shadow: 4px 2px 2px silver;
    cursor: pointer;
    position: relative;
}
    .my-card:hover {
        background: var(--gray-gradient);
    }
    .my-card label {
        cursor: pointer !important;
    }
.my-card-color {
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}
.my-static-card {
    border-radius: 8px;
    box-shadow: 4px 2px 2px silver;
    position: relative;
}
.my-card-color {
    border-bottom-left-radius: 8px;
    border-top-left-radius: 8px;
}
/* ******************** */
/* Validation           */
/* ******************** */
.validation-message {
    background-color: red;
    color: white;
    font-size: 12pt;
}
    .validation-message ul {
        /* remove indentation */
        margin-left: 10px;
        padding-left: 10px;
    }
    .validation-message li {
        /* remove indentation */
        margin-left: 0;
        padding-left: 0;
    }
/* ******************** */
/* Required             */
/* ******************** */
/*
select:required,
input[type=text]:required,
input[type=email]:required,
input[type=number]:required,
input[type=password]:required,
input[type=tel]:required,
textarea:required,
.honeycomb input[type=text]:required {
    border-color: blue;
}
select.error,
input.error,
select.error:focus,
input.error:focus,
.honeycomb input[type=text].error,
.honeycomb input[type=text].error :focus {
    border-color: red !important;
    border-width: 2px;
}
.required {
    border-color: blue;
}
.required-radio input {}
div.required {
    border: solid 1px;
    border-color: blue;
    border-radius: 0.25rem;
    display: inline;
    padding: 0.375rem 0.75rem;
}
.required-failed {
    border-color: red !important;
}
*/
.error-message,
.required-notice {
    background-color: red;
    border-radius: 4px;
    color: white;
    display: inline;
    font-size: 9pt;
    margin-left: 10px;
    padding: 2px 4px 2px 4px;
    text-shadow: 0 1px #333;
}
select.error,
input.error,
select.error:focus,
input.error:focus,
.honeycomb input[type=text].error,
.honeycomb input[type=text].error :focus {
	border-color: var(--required-failed-border) !important;
}
/*
label.required {
    color: blue;
}
label.error {
    color: red !important;
}
*/
/* ******************** */
/* Honeycomb            */
/* ******************** */
.honeycomb {
    white-space: nowrap;
}
    .honeycomb input[type=text] {
        border: 1px solid #ced4da;
        border-radius: 0;
        display: inline;
        margin-left: 0;
        margin-right: 1px;
        padding-left: 4px;
        padding-right: 4px;
        text-align: center;
        width: calc(1rem + 8px);
    }
        .honeycomb input[type=text]:first-of-type {
            border-top-left-radius: 4px;
            border-bottom-left-radius: 4px;
        }
        .honeycomb input[type=text]:last-of-type {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }
/* ******************** */
/* Generic Classes      */
/* ******************** */
@media print {
    .noprint {
        display: none;
    }
}
.cancelled {
    text-decoration: line-through;
}
.bottom10 {
    margin-bottom: 10px !important;
}
.bottom20 {
    margin-bottom: 20px !important;
}
.bottom30 {
    margin-bottom: 30px !important;
}
.top10 {
    margin-top: 10px !important;
}
.top20 {
    margin-top: 20px !important;
}
.top30 {
    margin-top: 30px !important;
}
.form-switch label {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
table {
    border-spacing: 0px; /* replaces cellspacing */
}
th, td {
    padding: 2px; /* replaces cellpadding */
}
/*
th {
    background: var(--gray-gradient);
    border: solid 1px silver;
    color: black;
    font-weight: normal;
}
table.columns td + td {
    border-left: solid 1px silver;
}
*/
.HeaderFooterTable {
    border: solid 1px gray;
    box-shadow: 2px 2px 4px silver;
}
.HeaderFooterTable thead tr {
    background-color: gray;
}
.HeaderFooterTable thead th {
    font-weight: bold;
    color: white;
    text-decoration: none;
}
.HeaderFooterTable tbody tr:nth-of-type(even) {
    background-color: gainsboro;
    color: black;
}
.HeaderFooterTable tfoot tr {
    background-color: silver;
    color: black;
}
label {
    font-size: smaller;
    display: block;
    /* font-weight: bold; */
    margin-bottom: 4px;
    padding-top: 4px;
}
label.inline {
    display: inline;
}
/*
.site-map-path {
    background: var(--site-path-bg);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    color: var(--site-path-fg);
    font-size: 11pt;
    margin-bottom: 10px;
    padding: 8px;
}
    .site-map-path a {
        color: var(--site-path-a-fg) !important;
    }
.information {
    background-color: var(--information-bg);
    border-radius: 10px;
    box-shadow: 1px 1px gainsboro;
    color: var(--information-fg);
    padding: 10px;
}
*/
.field-comments {
    background-color: lightgoldenrodyellow;
    border-radius: 4px;
    box-shadow: gainsboro 1px 1px;
    color: gray;
    font-size: smaller;
    padding: 4px;
    font-style: italic;
}
.my-badge {
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: 1.1em;
    font-weight: 700;
    left: 100% !important;
    line-height: 1;
    padding: .35em .65em;
    position: absolute;
    text-align: center;
    top: 0 !important;
    transform: translate(-50%,-50%) !important;
    vertical-align: baseline;
    white-space: nowrap;
}
.my-other-badge {
    border-radius: .25rem;
    color: #fff;
    display: inline-block;
    font-size: 1.1em;
    font-weight: 700;
    left: 0 !important;
    line-height: 1;
    padding: .35em .65em;
    position: absolute;
    text-align: center;
    top: 0 !important;
    transform: translate(-50%,-50%) !important;
    vertical-align: baseline;
    white-space: nowrap;
}
/* ******************** */
/* Bootstrap Overrides  */
/* ******************** */
/*
.btn-warning {
	color: white !important;
	-- text-shadow: 1px 1px gray;
}
.container {
	padding-left: 0 !important;
	padding-right: 0 !important;
}
*/
/*
.offcanvas-header {
    background-color: var(--header-background) !important;
    color: var(--header-foreground) !important
}
.accordion-button {
    color: white !important;
}
    .accordion-button.collapsed {
        background-color: var(--bs-info);
        color: white !important;
    }
    .accordion-button:not(.collapsed) {
        background-color: var(--bs-primary);
        color: white !important;
    }
    .accordion-button.collapsed::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    }
    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
        transform: rotate(-180deg);
    }
.custom-checkbox,
.custom-checkbox label {
    cursor: pointer;
}
.modal-header {
    background-color: var(--modal-header-background) !important;
    color: var(--modal-header-foreground) !important;
}
.modal-footer {
    background-color: var(--modal-footer-background) !important;
    color: var(--modal-footer-foreground) !important;
}
label {
    margin-bottom: 6px !important;
    margin-top: 6px !important;
}
.btn-info {
    color: white !important;
}
*/
/* ******************** */
/* FLOAT LABELS         */
/* ******************** */
/*
.form-control:invalid {
    border-color: red;
    // offset-x | offset-y | blur-radius | spread-radius | color
    box-shadow: 1px 1px 2px red;
}
// Powered by: https://github.com/tonystar/float-label-css
.float-label {
    display: block;
    position: relative
}
    .float-label label, .float-label > span {
        background-color: #fff;
        color: gray;
        cursor: text;
        font-size: 85%;
        left: .75rem;
        line-height: 1;
        opacity: 1;
        padding: 3px;
        border-radius: 3px;
        position: absolute;
        top: -.5em;
        transition: all .2s;
        z-index: 3;
    }
        .float-label label, .float-label > span > span.required {
            color: red;
        }
    .float-label .form-control::placeholder {
        opacity: 1;
        transition: all .2s
    }
    .float-label .form-control:placeholder-shown:not(:focus)::placeholder {
        opacity: 0
    }
    .float-label .form-control:placeholder-shown:not(:focus) + * {
        font-size: 100%;
        opacity: .5;
        top: .5em
    }
*/
/* ******************** */
/* Tables               */
/* ******************** */
/*
.basicListTable {
    width: 100%;
}
    .basicListTable tr:nth-of-type(odd) {
        background-color: #eee;
    }
    .basicListTable td {
        padding: 4px;
        vertical-align: middle;
    }
*/
/* ******************** */
/* Busy Animations      */
/* ******************** */
.busy-dots {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 8px;
}
    .busy-dots div {
        position: absolute;
        top: 0px;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #fff;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }
        .busy-dots div:nth-child(1) {
            left: 8px;
            animation: busy-dots1 0.6s infinite;
        }
        .busy-dots div:nth-child(2) {
            left: 8px;
            animation: busy-dots2 0.6s infinite;
        }
        .busy-dots div:nth-child(3) {
            left: 22px;
            animation: busy-dots2 0.6s infinite;
        }
        .busy-dots div:nth-child(4) {
            left: 36px;
            animation: busy-dots3 0.6s infinite;
        }
@keyframes busy-dots1 {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}
@keyframes busy-dots2 {
    0% { transform: translate(0, 0); }
    100% { transform: translate(14px, 0); }
}
@keyframes busy-dots3 {
    0% { transform: scale(1); }
    100% { transform: scale(0); }
}
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255,0,0,.3);
    border-radius: 50%;
    border-top-color: red;
    animation: loading 1s ease-in-out infinite;
}
@keyframes loading {
    to { transform: rotate(360deg); }
}