﻿
@import "./_variables.css";
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: var(--font-family),Arial,Helvetica,sans-serif;
    font-size: var(--font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    background-color: var(--background-color);
}
html, body {
    height: 100%;
}
.main-wrapper { 
    flex: 1;     
   /*TODO: confirm this on mobile and other dimension padding-bottom: 20px; */
}
.footer {
    width: 100%;   
    padding: 10px 0; 
}
.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}
    .footer .row {
        margin-left: 0;
        margin-right: 0;
    }
.footer-col-content {
    display: flex;
    align-items: center; 
    min-height: 60px; 
}
footer a {
    color: #ffffff;
    cursor: pointer;
}

.footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-link:visited, .footer-link:active {
    color: #ffffff;
}
/*--Reset fonts for relevant elements--*/ 
input,
button,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}



/* --------------- Override Bootstrap --------------- */
.navbar-header {
    margin-left: 0 !important;
}

.navbar-nav {
    margin: 0;
}

.navbar {
    background-color: #ffffff;
    border: none;
    margin-bottom: 20px;
    border-bottom: 3px solid #d7d6d6;
}
.btn {
    font-size: var(--font-size);
}
.btn-default-custom {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    margin-bottom:10px;
}
.navbar-header .navbar-toggle .icon-bar {
    background-color: #0073d0;
}
.navbar-form {
    border-bottom: 0px;
}
.btn-info {
    color: white;
}

h1 {
    font-size: 2.5em !important;
    font-weight: 300 !important;
}

p {
    font-size: 1.2em;
}


#uploadModal .card {
    box-shadow: none;
    margin-bottom: 0;
}
.search-result.card{
    border-color:transparent;
}
.search-result.card .card-body{
    padding:0;
}
label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 15px;
}
#userSearchForm .form-group{
    margin-bottom: 0;
}

.primary-text {
    font-size: 1.5em;
    color: #1a2188;
}

.primary-bg {
    background-color: #1a2188;
    color: #ffffff;
}

.secondary-bg {
    background-color: #2998e3;
    color: #ffffff;
}

.tertiary-bg {
    background-color: #1a2188;
    color: #ffffff;
}

.secondary-text {
    color: #2998e3;
}

.tertiary-text {
    color: #1a2188;
}

iframe.signout {
    border-width: 0px;
}

#registration-form button {
    margin-top: 20px;
}

.non-bold {
    font-weight: normal;
}

.receive-reminders {
    display: none;
}

.form-control {
    height: 34px;
}
#userRoleSelect.form-control {
    height: 88px !important;
}

select.form-select {
    font-size: var(--font-size);
    max-width:344px;
}
.form-control[readonly=readonly] {
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}
/* Update to Bootstrap's .modal .modal-body hierarchy class*/
.modal .modal-body {
    max-height: 75vh;
    overflow-y: auto;
}


/* --------------- Custom Styles --------------- */
.client-logo {
    background-image: url(logo.gif);
    background-repeat: no-repeat;
    width: 230px;
    height: 30px;
    display: inline-block;
}

.client-nav-userwelcome {
    text-align: right;
    margin: 0 30px 10px 0;
}

.client-panel {
    /*background-color: #dc1431;
    color: white;*/
}

.client-panel-introduction {
    font-size: medium;
    padding: 20px 5px 5px;
    margin: 0;
}

.client-panelbody {
    padding: 0 15px 0 15px;
}

.client-commandbar {
    background-color: #e5e2da;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 5px 0;
    text-align: center;
}

.client-modal-closesymbol {
    font-size: x-large;
    color: white;
}

/* Service Box Upload/Download */
.client-servicebox {
    background-color: #e5e2da;
    padding: 10px 20px 10px;
    margin: 25px auto 0 auto;
    display: block;
    height: 200px;
    max-width: 400px;
}

    .client-servicebox p {
        font-size: medium;
        color: #444445;
        font-style: italic;
        height: 40%;
        padding: 0 5px;
    }

    .client-servicebox .expire-date {
        color: #444445;
        font-weight: bold;
        font-size: medium;
        text-align: right;
        height: 15%;
    }

/* Buttons */
.client-btn {
    font-size: small;
    color: white;
    background-image: linear-gradient(#007dc3, #0067b1);
    padding: 0 10px;
}

    .client-btn:focus,
    .client-btn.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn:hover {
        color: white;
        background-image: linear-gradient(#0067b1,#007dc3);
    }

.client-btn-standard {
    font-size: medium;
    color: white;
    background-image: linear-gradient(#007dc3, #0067b1);
    width: 100%;
    height: 20%;
}

    .client-btn-standard:focus,
    .client-btn-standard.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn-standard:hover {
        color: white;
        background-image: linear-gradient(#0067b1,#007dc3);
    }

.client-btn-command {
    font-size: small;
    font-weight: bold;
    color: black;
    background-image: linear-gradient(#f5f5f5, #ddd);
    height: 20%;
    border: solid black 0.5px;
}

    .client-btn-command:focus,
    .client-btn-command.focus {
        background-image: linear-gradient(#ddd, #f5f5f5);
        border: solid black 1px;
    }

    .client-btn-command:hover {
        color: white;
        background-image: linear-gradient(#0067b1,#007dc3);
    }

.client-btn-upload {
    font-size: medium;
    color: white;
    background-image: linear-gradient(#dc1431, #a90e24);
    width: 100%;
    height: 20%;
}

    .client-btn-upload:focus,
    .client-btn-upload.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn-upload:hover {
        color: white;
        background-image: linear-gradient(#a90e24, #dc1431);
    }

.client-btn-file {
    color: white;
    position: relative;
    overflow: hidden;
    width: 200px;
    background-image: linear-gradient(#dc1431, #a90e24);
}

    .client-btn-file:focus,
    .client-btn-file.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn-file:hover {
        color: white;
        background-image: linear-gradient(#a90e24, #dc1431);
    }

    .client-btn-file input[type=file] {
        position: absolute;
        top: 0;
        right: 0;
        min-width: 100%;
        min-height: 100%;
        font-size: 100px;
        text-align: right;
        filter: alpha(opacity=0);
        opacity: 0;
        outline: none;
        background: white;
        cursor: inherit;
        display: block;
    }

.client-btn-file-disabled {
    background-color: lightgrey;
    color: white;
    width: 200px;
}

    .client-btn-file-disabled:hover {
        background-color: lightgrey;
        color: white;
        width: 200px;
    }

.client-btn-primary {
    padding: 0.5rem 1rem;
    font-size: small;
    color: white;
    background-image: linear-gradient(#007dc3, #0067b1);
}

    .client-btn-primary:focus,
    .client-btn-primary.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn-primary:hover {
        color: white;
        background-image: linear-gradient(#0067b1,#007dc3);
    }

.client-btn-standard-dialog {
    font-size: medium;
    color: white;
    background-image: linear-gradient(#007dc3, #0067b1);
    height: 20%;
}

    .client-btn-standard-dialog:focus,
    .client-btn-standard-dialog.focus {
        color: white;
        background-color: #c9302c;
        border-color: #761c19;
    }

    .client-btn-standard-dialog:hover {
        color: white;
        background-image: linear-gradient(#0067b1,#007dc3);
    }

.client-uploader {
    border: 2px dotted #A5A5C7;
    width: 100%;
    color: #92AAB0;
    text-align: center;
    vertical-align: middle;
    padding: 30px 0;
    margin-bottom: 10px;
    font-size: 200%;
    cursor: default;
}

/* Upload Modal */
.client-uploadmodal-header {
    background-color: #0067b1;
}

.client-file-status {
    font-weight: bold;
}

.client-file-status-success {
    color: forestgreen;
}

.client-file-status-fail {
    color: #dc1431; /* red */
}

#permittedFileTypes.allowedFileTypes {
    font-style: italic;
}

/* Participant Profile */
tbody.client-information > tr {
    margin: 5px auto;
}

    tbody.client-information > tr > td {
        padding-left: 10px;
    }

.client-borderedFrame {
    border: solid lightgrey;
    margin: 15px auto;
}

/* Logout Reminder */
.client-logout-reminder {
    border: 1px #00a8c6;
    border-radius: 4px;
    background-color: #40c0cb;
    color: white;
    font-size: 1.2em;
    font-weight: 300;
    text-align: center;
    padding: 10px 0px;
    margin: 20px 0px;
}

.client-logout-reminder-bold {
    font-weight: 600;
}

/* Standard classes */
.wcs-text-italic {
    font-style: italic;
}

.wcs-text-bold {
    font-weight: bold;
}

.wcs-text-medium {
    font-size: medium;
}

.wcs-errortext-sm {
    color: red;
    font-size: small;
}

.wcs-required {
    color: red;
    font-size: 7px;
    top: -3px;
    right: -2px;
}

.wcs-helptext {
    display: block;
    color: darkgray;
    font-style: italic;
    font-weight: bold;
}

.wcs-scrollable-modalbody {
    max-height: 450px;
    overflow-y: auto;
    overflow-x: hidden;
}

.wcs-modal-wide {
    width: auto;
}

.wcs-header-section {
    font-weight: normal;
    font-size: large;
    text-decoration: underline;
}

.wcs-header-sectiongroup {
    font-size: larger;
    font-style: italic;
    font-weight: bold;
}

.wcs-sectionGroup {
    margin: 5px auto;
}

/* Default block size for show waiting animations */
.wait-block {
    min-height: 225px;
}

/* Media Queries */
@media (max-width: 767px) {
    .client-nav-userwelcome {
        display: none;
    }
}

@media (min-width: 768px) {
    .wcs-modal-wide {
        max-width: 80%;
        max-height: 100%;
    }
}

.row-legend {
    position: relative;
}

.col-legend {
    position: absolute;
    bottom: 15px;
    right: 0;
}

a, a.dropdown-item {
    text-decoration: none;
}

    a:hover, a:focus {
        text-decoration: underline;
    }

    a:hover, a:focus {
        text-decoration: none;
    }

a {
    color: #337ab7;   
}
.legend {
    border-top: solid 1px;
    border-bottom: solid 1px;
    border-left: solid 1px;
    border-right: solid 1px;
    border-color: #bfbfbf;
    padding: 7px;
    margin: 3px;
}

.badge.badge-visitor {
    background-color: #444444 !important;
}

.badge.badge-eligible {
    background-color: #265cea !important;
}

.badge.badge-verified {
    background-color: #098a17 !important;
}

.badge.badge-unverified {
    background-color: #d87616 !important;
}

.badge-inactive {
    background-color: #f54843 !important;
}
/*we use the placeholder css to replace app content. bootstrap v5.3 default styling breaks this feature*/
input.placeholder {
    background-color: #fff;
    cursor: inherit;
    opacity: 1
}

/*
    heading

*/
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}
h4, .h4{
    font-size: 18px;
}
#suggestion-box {
    position: absolute;
    width:344px; /* keeping this in line with other input fields*/
    border: 1px solid #ccc;
    display: none;
    background-color: white;
    z-index: 1000;
}

.suggestion-item {
    padding: 5px;
    cursor: pointer;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}
.h-90{
    height:90%;
}

.form-control {
    font-size: var(--font-size);
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
}
.custom-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8, %3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.custom-toggler.navbar-toggler {
    border-color: var(--color-primary);
}
.hidden{
    display:none;
}
input.form-control{
    max-width:344px;
}