@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

body {
    font-family: "Nunito",Arial,Helvetica,sans-serif;
    color: #444444;
    background-color: #FAF9F6;
    /*background-image: linear-gradient(#3A5DAE, #009CDE);*/
    font-size: 1rem;
    min-height: 100svh;
    font-weight: 300;
}

.navbar {
    /*background-image: linear-gradient(#3A5DAE, #009CDE);*/
    background-color: #444444;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 65px;
}

.content-wrapper {
    margin-top: 73px;
}

.btn-primary {
    background-color: #444444 !important;
    border-color:     #444444 !important;
    border-radius: 0 !important;
}

.btn-success {
    border-radius: 0 !important;
}

.btn-primary:hover {
    background-color: #FFFFFF !important;
    border-color:     #FFFFFF !important;
    border-radius: 0 !important;
    color: #444444 !important;
}

btn-primary {
    color: #009CDE;
}

.primary-color {
    color: #009CDE;
}

.secondary-color {
    background-color: darkblue;
}

.tertiary-color {
    color: white;
}

.wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 10px;
    padding-top: 1rem;
    text-transform: none;
    margin-left: 1rem;
    margin-right: 1rem;
}

.login-wrapper {
    align-items: center;
    padding-top: 3rem;
    min-height: 100svh;
}

.login-wrapper a {
    color: #009CDE;
}

.login-box {
    color: black;
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background-color: white;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    font-size: 1rem;
}

.input-field {
    height: 2.25rem;
    border-color: #f4f4f4;
    border-width: 0.05rem;
    border-style: solid;
    border-bottom-color: #444444;
    border-radius: 0;
}

.login-box > .btn {
    width: 100%;
    text-align: center;
    position: relative;
    border-radius: 0 !important;
    background-color: #009CDE !important;
}

.login-box > .btn > i {
    margin-right: auto;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.login-box label {
    font-size: 0.875rem;
}

#page-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
}

.dropdown-list {
    /*padding-top: 5rem;*/
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 2em;
    display: none;
    overflow: hidden;
}

.filter-list {
    overflow: auto;
    height: 85%;
    font-weight: bold;
    width: 100%;
    font-size: 0.75em;
}

.dropdown-filter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: inherit;
    background-color: white;
    padding: 1rem;
    flex: 1;
    flex-basis: 67%;
}

.dropdown-filter:hover {
    cursor: pointer;
}

.filter:hover {
    cursor: pointer;
}

.filter {
    width: 100%;
    color: inherit;
    text-transform: none;
    font-weight: lighter;
    padding-top: 1em;
    padding-bottom: 1em;
    font-size: 0.85em;
    border-bottom: 1px solid lightblue;
    pointer-events: all;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: white;
    display: grid;
    text-align: center;
}

.search-button {
    background-color: white;
    color: inherit;
    font-weight: bold;
    text-transform: none;
    font-size: 3em;
    min-width: 25%;
    float: right;
}

.filter.selected {
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.filter:hover {
    background-color: lightgray;
}

.modal-outer {
    display: grid;
    background: hsla(0, 100%, 0%, 0.7);
    position: fixed;
    height: 100vh;
    width: 100vw;
    top: 0;
    left: 0;
    justify-content: end;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s;
    z-index: 2;
}

#modal-close-btn {
    position: absolute;
    top: 0;
    color: white;
    z-index: 3;
    left: -40px;
    width: 40px;
    height: 40px;
    background-color: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modal-close-btn > * {
    width: 100%;
    height: 100%;
}

#modal-close-btn:hover {
    cursor: pointer;
}

body.modal-open {
    overflow: hidden;
}

.modal-inner-left {
    position: absolute;
    height: 100svh;
    width: 100%;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2svh;
    font-size: 1em;
}

.modal-outer.open {
    opacity: 1;
    pointer-events: all;
}

.modal-outer.open .modal-inner {
    transform: translateX(0);
}

/*.modal-outer.open .modal-inner.open {*/
/*    transform: translateX(100%);*/
/*}*/

.filter-button {
    flex: 0;
    font-weight: bold;
    padding: 15px;
    font-size: 0.75em;
}

.apply-button {
    flex: 1;
}

.cancel-button {
    background-color: white;
    color: darkblue;
    flex: 1;
}

.applied-filters {
    font-size: 0.8rem;
    font-weight: lighter;
    margin-bottom: 0;
}

#back:hover {
    cursor: pointer;
}

#clear:hover {
    cursor: pointer;
}

#clear-all:hover {
    cursor: pointer;
}

.filter-options {
    z-index: 1;
    display: flex;
    align-items: center;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 0.25rem 0.125rem 0 rgb(0 0 0 / 5%);
    width: 100%;
    top: 65px;
}

.clear-button {
    width: 33%;
    height: 100%;
    cursor: pointer;
    background-color: #444444;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.clear-button:hover {
    background-color: white;
    color: #444444;
}

.logout-btn {
    background: transparent;
    border: 1px solid white;
    padding: 0.375rem 1.5rem;
    cursor: pointer;
    color: white;
    transition: 0.25s ease-in-out;
    font-size: 1.125rem;
    min-width: 175px;
    float: right;
    margin-bottom: 5px;
}

.manager-btn {
    /*position: fixed;*/
    /*top: 1rem;*/
    /*left: 1rem;*/
    float: left;
}

.info-blurb {
    max-width: 80%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
    font-size: 0.875rem;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.logo {
    padding-top: 5px;
    width: auto;
    flex: 1;
    max-height: 80px;
}

.separator {
    position: relative;
    text-align: center;
    width: 100%;
    font-size: medium;
}

.line-1 {
    position: absolute;
    top: 50%;
    left: 0;
    width: 45%;
    color: black;
    border-top: 1px solid lightgray;
}

.line-2 {
    position: absolute;
    top: 50%;
    left: 55%;
    width: 45%;
    color: black;
    border-top: 1px solid lightgray;
}

label {
    margin-bottom: 0;
}

form > input {
    width: 100%;
}

.promo-images {
    display: flex;
    width: 90%;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 10px;
}

.promo-images > img {
    aspect-ratio: auto;
}

.client-login-btn {
    position: fixed;
    top: 1rem;
    right: 1rem;
}

/* Style the tab content */
.tabcontent {
    display: none;
    border-top: none;
    grid-template-columns: 25% 75%;
    grid-template-rows: 60% 40%;
    height: 600px;
    overflow: auto;
}

.tabcontent-user {
    grid-template-columns: 40% 60%;
    grid-template-rows: 30% 70%;
}

.manage-user-content {
    position: relative;
    height: calc(100% - 25px);
    width: 100%;
}

.manage-user-content > div {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
}

.border-panel > table {
    border-collapse: collapse;
    width: 100%;
    overflow: scroll;
    display: table;
}

.user-click-count-panel {
    height: 100%;
    width: 100%;
    background-color: #dddddd;
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
}

.border-panel {
    border: 1px solid black;
    border-radius: 15px;
    overflow: auto;
    display: block;
    background-color: white;
}

.border-panel-title {
    background-color: black;
    color: white;
    width: 100%;
    height: 25px;
    padding-left: 15px;
}

.main-man-panel {
    grid-column-start: 2;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: span 2;
}

.top-left-man-panel {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 1;
    grid-row-end: 1;
}

.bottom-left-panel {
    grid-column-start: 1;
    grid-column-end: 1;
    grid-row-start: 2;
    grid-row-end: 2;
}

td, th {
    border:1px solid #dddddd;
    text-align:left;
    padding:8px;
}

tr:nth-child(even) {
    background-color: #dddddd;
}

tr:not(:first-child):hover {
    background-color: darkgray;
    cursor: pointer;
}

.panel {
    flex: 0;
    min-width: 150px;
    background-color: lightgray;
}

.panel-button {
    width: 100%;
    color: black;
    background-color: lightgray;
}

.panel-button:hover {
    background-color: white;
    cursor: pointer;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    display: flex;
}

/* Style the buttons that are used to open the tab content */
.tablinks {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    flex: 1;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

tr.selected-row {
    background-color: darkgray;
}

.home-banner {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    background: darkblue;
    align-items: center;
}

.home-banner .btn {
    padding-right: 50px;
    padding-left: 50px;
}

.frame {
    width: 100%;
    object-fit: cover;
    position: relative;
    box-shadow: 0 8px 6px -6px darkblue;
}

.frame > img {
    max-width: 100%;
    height: auto;
}

.title {
    font-size: xx-large;
    color: white;
    display: flex;
    justify-content: end;
    background-color: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    padding-right: 10px;
    text-wrap: revert;
}

.frame:after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    pointer-events: none;
    background-image: linear-gradient(to bottom, rgba(27, 117, 187, 1), rgba(27, 117, 187, 0) 90%);
    width: 100%;
    height: 80%;
}

.blurb {
    text-align: center;
    margin: 10px auto;
    color: white;
    font-size: x-large;
    width: clamp(300px, 75%, 980px);
}
#hamburger-menu {
    font-size: 1.5rem;
}

#sign-in-btn {
    color: white;
    border-radius: 0;
    border: 1px solid white;
    background-color: transparent;
    transition-duration: 150ms;
    height: 100%
}

#sign-in-btn:hover {
    color: #444444;
    background-color: white;
}

.blue-gradient-box {
    background-image: linear-gradient(to right, #050248, #004fb2);
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: x-large;
}

.blue-gradient-box-reverse {
    background-image: linear-gradient(to right, #004fb2, #050248);
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: x-large;
}

.body-text {
    color: #050248;
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.8rem;
}

.feature-icon {
    object-fit: cover;
    width: 70px;
    height: 100%;
}

.feature-block > h3 {
    font-weight: 800;
}

.feature-block > span {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 500;
}

.feature-block-dark > h3 {
    color: #004e9a;
}

.feature-block-dark > span {
    color: #050248;
}

.feature-block-light {
    color: white;
}

/* Small devices (portrait phones) */
@media (max-width: 550px) {
    .open-ar-button {
        position: static;
        transform: none;
    }

    .filter-options {
        flex-wrap: wrap;
        top: 55px;
    }

    .filter-options > .dropdown-filter {
        width: 100%;
    }

    .filter-options > .clear-button {
        width: 100%;
    }

    .info-blurb {
        max-width: 100%;
    }

    .title {
        font-size: x-large;
    }

    .blurb {
        font-size: large;
    }

    .login-box {
        width: 100%;
        min-width: 300px;
    }

    .logo {
        max-height: 45px;
    }

    .navbar {
        height: 55px;
    }

    .content-wrapper {
        margin-top: 63px;
    }

    #hamburger-menu {
        font-size: 1rem;
    }
}