:root {
    --site-primary-color: #0c55a5;
    --site-primary-light-color: #5fafe0;
    --default-font-size: 1.5rem;
    --input-default-width: 38rem;
    --input-default-font-size: 1.5rem;
    --label-default-width: 13rem;
    --label-default-font-size: 1.5rem;
}

*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-track {
    background-color: #dddddd;
}

::-webkit-scrollbar-thumb {
    background-color: var(--site-primary-light-color);
    border: .2rem solid #dddddd;
    border-radius: 1rem;
    height: 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes vanish {
    0% {
        opacity: 1;
    }
    71.43% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

html {
    font-size: 62.5%;
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
}

a {
    display: inline-block;
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: color 0.2s ease;
}

a:hover {
    color: #ff6600;
}

a:active,
a:visited {
    text-decoration: none;
}

.autocomplete-item {
    border-bottom: .1rem solid black;
    cursor: pointer;
    font-size: 1.2rem;
    left: 0;
    padding: .4rem .8rem;
    text-align: left;
}

.autocomplete-item:hover {
    background-color: #eeeeee;
}

.autocomplete-item>div:first-child {
    font-size: 1.4rem;
    font-weight: bold;
    padding-bottom: .5rem;
}

.autocomplete-selected-item {
    background-color: #cccccc;
}

.autocomplete-list {
    background-color: #ffffff;
    border: .1rem solid #666666;
    border-radius: .4rem;
    display: flex;
    flex-direction: column;
    left: -.1rem;
    margin: 0;
    max-height: 32.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 3.5rem;
}

.autocomplete-list * {
    z-index: 9999;
}

body {
    box-sizing: border-box;
    color: #777777;
    font-family: Lato, sans-serif;
    font-weight: 400;
    font-size: var(--default-font-size);
    height: 100%;
    line-height: 1.7;
    margin: 0;
    overflow: auto;
    padding: 0;
    width: 100%;
}

.business-card {
    display: flex;
    flex-direction: row;
    font-size: 1.2rem;
}

.business-card>div {
    margin: auto 1rem;
}

.clear-fix::after {
    content: "";
    display: table;
    clear: both;
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    color: #ff6600;
}

.enabled-link {
    cursor: pointer;
    display: inline-block;
    filter: grayscale(1);
    font-size: var(--default-font-size);
    font-weight: bold;
    width: max-content;
}

.disabled-link {
    cursor: default;
    display: inline-block;
    filter: grayscale(0.5);
    font-size: var(--default-font-size);
    font-weight: bold;
    width: max-content;
}

.flat-button {
    background-color: transparent;
    border: .2rem solid #cccccc;
    color: #333333;
    padding: 1rem 1.6rem;
    border-radius: .4rem;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.flat-button:hover {
    background-color: #eeeeee;
    color: #666666;
}

.gui-input {
    align-items: center;
    background-color: #ffffff;
    border: 0.1rem solid black;
    border-radius: 0.5rem;
    display: flex;
    flex-direction: row;
    font: var(--input-default-font-size) Lato, sans-serif;
    min-height: 3rem;
    padding: 0.2rem 0.4rem;
    position: relative;
    width: var(--input-default-width);
}

.gui-input input[type="text"] {
    border: none;
    display: flex;
    outline: none;
    padding: 0.2rem .2rem 0.2rem 0.2rem;
    width: 95%;
}

.gui-input i {
    cursor: pointer;
    font-size: 1.1rem;
    margin: .2rem .2rem .2rem .3rem;
}

.hide-all,
.hide-all::after,
.hide-all::before {
    display: none;
}

.icon {
    color: #FFFFFF;
    font-size: 1.4rem;
    letter-spacing: .4rem;
    padding: .2rem .4rem .2rem 0;
    position: relative;
}

input {
    font-size: var(--default-font-size);
}

.input-width {
    width: var(--input-default-width) !important;
}

input:checked+.slider {
    background-color: #2196f3;
}

input:checked+.slider:before {
    transform: translateX(2.6rem);
}

input[type=submit] {
    border: .1rem solid #000000;
    border-radius: .4rem;
    padding: .6rem .6rem .6rem .6rem;
    margin-top: 2rem;
    width: max-content;
}

input[readonly],
input[disabled] {
    background-color: #f0f0f0;
    color: #777777;
    cursor: text;
    outline: none;
}

.label-input-pair {
    align-items: center;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    margin-bottom: .2rem;
    position: relative;
    width: 100% !important;
}

.label-input-pair label {
    flex: 0 0 var(--label-default-width);
    font-size: var(--label-default-font-size);
    margin-right: .8rem;
    white-space: nowrap;
}

.page-body {
    align-items: flex-start;
    flex-direction: row;
    flex: 1;
    justify-content: left;
    margin: 4rem 0rem 0rem 1rem;
    min-height: 96.7rem;
    padding: .2rem;
    width: 97.4%;
}

.page-content {
    background-blend-mode: multiply;
    background-color: #ffffff;
    background-image: url(../images/splash.jpg);
    background-position: right 4rem;
    background-repeat: no-repeat;
    background-size: 30%;
    display: flex;
    flex-direction: column;
    height: max-content;
    min-width: 105rem;
    padding: 0;
    position: relative;
    width: 100%;
}

.page-column {
    flex: 1;
    padding: .2rem;
}

.page-container {
    display: flex;
    padding: 0;
    width: 97.4%;
}

.page-footer {
    align-items: flex-end;
    background-color: #ffffff;
    bottom: 0;
    color: #000000;
    flex: 1;
    font-size: 1rem;
    font-weight: 900;
    height: 2rem;
    justify-content: right;
    min-width: 20rem;
    opacity: .3;
    padding: .2rem 1rem;
    position: absolute;
    right: 0;
    width: 30%;
}

.page-header {
    background-color: var(--site-primary-color);
    flex: 1;
    height: 4rem;
    padding: .2rem;
    position: absolute;
    width: 100%;
}

.page-title {
    color: #ffffff;
    display: flex;
    font-size: 1.8rem;
    left: 4rem;
    justify-content: space-between;
    position: absolute;
    top: .2rem;
    width: 50%;
}

.report {
    background-color: #ffffff;
    border-collapse: collapse;
}

.report td,
th {
    font-size: var(--default-font-size);
    padding: 0 .4rem 0 .4rem;
    text-align: left;
    white-space: nowrap;
}

.report td {
    border: .1rem solid #888888;
}

.report th {
    padding: 0 1rem 0 1rem;
}

.section-title {
    align-items: flex-end;
    display: flex;
    font-size: var(--default-font-size);
    margin: .5rem 0 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cccccc;
    border-radius: 3.4rem;
    transition: .4s;
    width: 6rem;
}

.slider:before {
    position: absolute;
    content: "";
    height: 2.6rem;
    width: 2.6rem;
    left: .4rem;
    bottom: .4rem;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

.spinner {
    animation: spin 1s linear infinite;
    border: .4rem solid #007bff;
    border-radius: 50%;
    border-top-color: transparent;
    height: 4rem;
    width: 4rem;
}

.switch {
    position: relative;
    display: inline-block;
    width: 6rem !important;
    height: 3.4rem;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tabs {
    flex: 1;
    flex-direction: row;
    overflow: hidden;
    width: max-content;

    & button {
        background-color: inherit;
        border: .1rem solid #bbbbbb;
        float: left;
        outline: none;
        cursor: pointer;
        padding: .5rem 1rem;
        margin: 0;
        transition: .3s;
    }

    & button.active {
        background-color: #cccccc;
    }

    & button:hover {
        background-color: #dddddd;
    }


}

.tab-content {
    border: none;
    border-top: .1rem solid #cccccc;
    display: none;
    left: 0;
    min-height: 50rem;
    padding: 2rem 1rem;
    position: absolute;
    width: 140rem;

    .active {
        display: flex;
    }

    & table {
        border-collapse: collapse;
    }
}

table {

    & tbody {

        & tr:nth-child(even) {
            background-color: #ffffff;
        }

        & tr:nth-child(odd) {
            background-color: #eeeeee;
        }

        & table {
            & th {
                text-align: left;
            }

            & td,
            & th {
                font-size: var(--default-font-size);
                padding-left: .5rem;
                padding-right: .5rem;
            }



        }
    }

}

.toggle-icon {
    color: #888888;
    display: inline-block;
    font-size: 1.1rem;
    left: .2rem;
    position: relative;
}

.toggle-icon[data-hidden="true"] {
    display: none;
}

.toggle-icon-container {
    width: 100%;

    .content {
        display: none;
        margin-top: 1rem;
    }

    & input[type="checkbox"] {
        display: none;
    }

    & input[type="checkbox"]:checked+label .toggle-icon[data-hidden="true"] {
        display: inline-block;
    }

    & input[type="checkbox"]:checked+label .toggle-icon[data-hidden="false"] {
        display: none;
    }

    & input[type="checkbox"]:checked~.content {
        display: block;
    }
}

.toggle-label {
    background-color: #f0f0f0;
    border: .1rem solid #cccccc;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    height: 3rem;
    left: 49rem;
    line-height: 2.5rem;
    margin: .5rem .1rem;
    position: relative;
    text-align: center;
    width: 3rem;
}

.toggle-label::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 100%;
    width: 49rem;
    height: .1rem;
    background-color: #888888;
    transform: translateY(-50%);
}

.user-image {
    border-radius: 1rem;
    cursor: pointer;
    height: auto;
    max-width: 9.6rem;
    min-width: 9.6rem;
    width: 100%;
}

.user-image-container {
    background-color: #bbbbbb;
    border: .1rem solid #000000;
    border-radius: 1rem;
    color: #eeeeee;
    cursor: pointer;
    display: flex;
    font-size: 8rem;
    height: auto;
    justify-content: center;
    margin: 0;
    max-height: 9.6rem;
    max-width: 9.6rem;
    min-height: 9.6rem;
    min-width: 9.6rem;
    padding: .8rem 0 0 .4rem;
    width: 10rem;

}

.user-image-no-background {
    background-color: #ffffff;
    border: none;
}