@import url("variables.css");

html,
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
        sans-serif;
    scroll-behavior: smooth;
}

.hero .nav,
.hero.is-success .nav {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.hero .subtitle {
    padding: 3rem 0;
    line-height: 1.5;
}

.members-body .container {
    background-color: var(--medcog-blue);
}

.hero-head .container {
    max-width: 76%;
}

.hero-body .container {
    max-width: 85%;
}

.hero-body .title {
    color: var(--primary-color) !important;
}

.hero-body .subtitle {
    color: var(--primary-color);
    padding-top: 2rem;
    line-height: 1.5;
}

.features {
    padding: 5rem 0;
}

.box.cta {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.card-image > .fa {
    font-size: 8rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
    color: var(--medcog-blue);
}

.card-content .content {
    font-size: 14px;
    margin: 1rem 1rem;
}
.card-content .content h4 {
    font-size: 16px;
    font-weight: 700;
}

.card {
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.18);
    margin-bottom: 2rem;
}

.intro {
    padding: 5rem 0;
    text-align: center;
}
.sandbox {
    padding: 5rem 0;
}

.title-black-text .title {
    color: #363636;
}

.subtitle-black-text .subtitle {
    color: #363636;
}

.tile.notification {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.is-shady {
    animation: flyintoright 0.4s backwards;
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.1) 0 1px 0;
    border-radius: 4px;
    display: inline-block;
    margin: 10px;
    position: relative;
    transition: all 0.2s ease-in-out;
}

.is-shady:hover {
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.13), 0 6px 6px rgba(0, 0, 0, 0.19);
}

#token-count-wrapper {
    color: var(--primary-color);
}

#upload_progress_bar {
    width: 100%;
    background-color: var(--medcog-blue-dark);
    border-radius: 4px;
}

#upload_progress_bar_inner {
    width: 1%;
    height: 30px;
    background-color: white;
    text-align: center;
    line-height: 30px;
    color: white;
    border-radius: inherit;
}

#icon_container {
    display: flex;
    height: 8rem;
    flex-direction: row;
    justify-content: center;
}

#icon_container #upload-icon,
#process-icon {
    display: none;
}

/* #000000 -> #00a4d6 */
.waiting-icon-disabled {
    filter: invert(16%) sepia(86%) saturate(1318%) hue-rotate(175deg) brightness(97%) contrast(102%);
}

/* #000000 -> #ffffff */
.waiting-icon-active {
    filter: invert(91%) sepia(100%) saturate(38%) hue-rotate(272deg) brightness(110%) contrast(110%);
}

/*adds font awesome stars*/
footer li:before {
    content: "\f1b2";
    font-family: "FontAwesome";
    float: left;
    margin-left: -1.5em;
    color: var(--medcog-blue);
}

.loader {
    border: 16px solid #f3f3f3;
    border-top: 16px solid var(--medcog-blue);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    visibility: hidden;
    margin: auto;
}

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

.busy {
    visibility: visible !important;
}

.fa-search {
    color: var(--secondary-color);
}

.slider {
    -webkit-appearance: none;
    width: 70%;
    height: 10px;
    border-radius: 5px;
    background: var(--medcog-gray);
    outline: none;
    opacity: 0.7;
    -webkit-transition: 0.2s;
    transition: opacity 0.2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 0px;
    background: var(--medcog-blue);
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 0px;
    background: var(--medcog-blue);
    cursor: pointer;
}

.credit-input {
    border-radius: 4px;
    color: var(--primary-color);
    background: transparent;
    outline: 1px solid var(--primary-color);
    border: none; /* TODO Should we use border instead of outline? */
}

.credit-input:focus {
    outline: 1px solid var(--medcog-blue);
    border: none; /* TODO Should we use border instead of outline? */
}

@media screen and (max-width: 1023px) {
    .welcome-message {
        margin-bottom: -60px;
    }
}

.case-mgmt-button {
    margin-top: 5px;
}

.notification.is-relative {
    top: 11%;
    left: 8.3%;
    width: 83.4%;
    position: relative;
    z-index: 1;
    overflow-wrap: break-word;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.upload.is-relative {
    top: 20%;
}

#upload_files_wrapper {
    margin: auto;
    width: 40vw;
}

#num_files_text, #num_files_text_mobile {
    display: none;
}

.results.is-relative {
    position: relative;
    top: 50%;
    left: 5.3%;
    width: 86.8%;
}

.select select {
    background-color: var(--bg-color) !important;
}

/* Cookie Modal */
#cookie_modal_wrapper {
    background-color: rgba(0, 0, 0, 0.7);
}

#cookie_modal_wrapper .container {
    display: flex;
    align-items: flex-end;
    max-width: 100%;
    width: 100%;
}

#cookie_inner {
    margin: 0.5em;
    width: 18em;
}

#cookie_inner.expanded {
    margin: 0.5em;
    width: 21em;
}

#results_table {
    border-radius: 4px;
}
/* PDF Review Mobile Landscape Styling */
@media all and (min-height:0px) and (max-height: 850px) {
    .modal-background {
        position: fixed !important;
    }
    .modal#report_preview_modal {
        overflow: visible;
        position: absolute;
    }
    .pdf_modal_content {
        position: absolute;
        top: 0;
    }
}

/* PDF preview modal */
.pdf_modal_content {
    display: flex;
    flex-direction: row;
}

/* PDF review Modal*/
#review_notification, #invalid_review_notification {
    display: none;
    position: fixed;
    top: 80px;
    right: 30px;
    z-index: 999;
}

#pdf_review_container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#pdf_review_container object {
    pointer-events: none;
}

#pdf_review_container i {
    width: 20px;
    height: 20px;
    margin: 0px 2px;
}

#pdf_review_container a {
    display: flex;
    flex-direction: row;
    cursor: pointer;
    margin: 4px 10px;
    text-decoration: none;
}

#pdf_review_container a:hover {
    opacity: .8;
}

.pdf_preview_canvas {
    border-radius: 5px;
}

.pdf_review_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-left: .5vw;
    align-self: flex-start;
}

.pdf_review_content#pdf_review_desktop {
    justify-content: flex-start;
    height: 40%;
}

.pdf_review_content #review_form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
}


.pdf_review_content.is-hidden-touch #review_form {
    width: 100%;
    height: 100%;
}

.pdf_review_content #review_form textarea {
    resize: none;
    outline: none;
    border: none;
    border-radius: 4px;
    margin: 10px;
    width: 100%;
    height: 100px;
    padding: 5px;
}

.pdf_review_content#pdf_review_desktop #review_form textarea {
    height: 100%;
}

.thumbs_down_filled, .thumbs_up_filled {
    display: none;
}

.thumbs_down, .thumbs_up {
    display: inline-block;
}

.thumbs_down, .thumbs_down_filled {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

#form_warning_text {
    margin-bottom: 5px;
}

@keyframes shake {
    0%{
      transform: translateX(0)
    }
    25%{
      transform: translateX(15px);
    }
      
    50%{
      transform: translateX(-15px);
    }
    100%{
      transform: translateX(0px);
    }
}