﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,100;0,200;0,300;0,400;0,500;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap");

html, body {
    font-family: "Rubik", sans-serif;
    color: #343a40;
    background: #ffffff;
    scroll-behavior: smooth;
    
    /* added new stuff below on 08/30/2021 */
    min-height: 100vh;
    margin: 0;
    position: relative;
}

a {
    outline: none;
    color: #0DB14B;
    text-decoration: none !important;
}

a:hover {
    color: #086d2e;
}

p {
    line-height: 1.9;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Rubik", sans-serif;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.search-results-header {
    background-color: #0DB14B;
    color: white;
    border-radius: 3px;
    padding: 8px;
}

.input-file-image {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.input-file-image + label {
    font-size: 0.8em;
    font-weight: 400;
    padding: 8px;
    border-radius: 5px;
    color: white;
    background-color: #434345;
    display: inline-block;
}

.input-file-image:focus + label,
.input-file-image + label:hover {
    background-color: #0DB14B;    
}

.input-file-image + label {
    cursor: pointer; /* "hand" cursor */
}

.custom-image-input::-webkit-file-upload-button {
    visibility: hidden;
}
.custom-image-input::before {
    content: 'Select some files';
    display: inline-block;
    background: linear-gradient(top, #f9f9f9, #e3e3e3) !important;
    border: 1px solid #999;
    border-radius: 3px;
    padding: 5px 8px;
    outline: none;
    white-space: nowrap;
    -webkit-user-select: none;
    cursor: pointer;
    text-shadow: 1px 1px #fff;
    font-weight: 700;
    font-size: 10pt;
}
.custom-image-input:hover::before {
    border-color: black;
}
.custom-image-input:active::before {
    background: -webkit-linear-gradient(top, #e3e3e3, #f9f9f9);
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.validation-message {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}

.invalid ~ .validation-message {
    display: block;
}

.form-control.invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.form-control.invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

textarea.form-control.invalid {
    padding-right: calc(1.5em + 0.75rem);
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}

.form-check-input.invalid ~ .form-check-label {
    color: #dc3545;
}

.form-check-input.invalid ~ .validation-message {
    display: block;
}

/* CUSTOM STUFF WE NEED */
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1380px;
    }
}

@media (min-width: 1500px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1480px;
    }
}

.spinner {
    color: #0DB14B;
    display: block;
    position: fixed;
    z-index: 1031; /* High z-index so it is on top of the page */
    top: calc(50% - (50px / 2)); /* where ... is the element's height */
    right: calc(50% - (50px / 2)); /* where ... is the element's width */
}

.section {
    padding: 120px 0 120px 0;
    position: relative;
    min-height: 100vh;
}

.bg-grey {
    background-color: #F8F6FA !important;
}

/* lists etc */
.avi-ul {
    list-style-type: none;
    margin-left: .5em;
    padding-left: 0;
}

.avi-ul > li {
    position: relative;
}

/* loading dots */
.loading {
    color: #0DB14B;
}

.loading:after {
    content: ' .';
    animation: dots 1s steps(5, end) infinite;
}

.avi-card-header {
    background-color: #434345 !important;
    color: #0DB14B !important;
}

.avi-list-item__title {
    color: #0DB14B;
    font-weight: 400;
}

.avi-list-item__subtitle {
    color: #343a40;
    font-weight: 400;
}

.avi-list-item__description {
    color: #000;
}

.news__item {
    padding: 10px;
    margin-bottom: 10px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border: 1px solid #ddd;
}

.news__item--even {
    background: #eee;
}

.news__item--odd {
    background: #fff;
}

.news__item--even:active,
.news__item--even:hover,
.news__item--odd:active,
.news__item--odd:hover {
    box-shadow: 1px 1px rgba(13, 177, 75, 0.5);
    cursor: pointer;
}

@keyframes dots {
    0%, 20% {
        color: #0DB14B;
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0),
        .5em 0 0 rgba(0, 0, 0, 0);
    }
    40% {
        color: #0DB14B;
        text-shadow: .25em 0 0 rgba(0, 0, 0, 0),
        .5em 0 0 rgba(0, 0, 0, 0);
    }
    60% {
        text-shadow: .25em 0 0 #0DB14B,
        .5em 0 0 rgba(0, 0, 0, 0);
    }
    80%, 100% {
        text-shadow: .25em 0 0 #0DB14B,
        .5em 0 0 #0DB14B;
    }
}

.tab-content {
    border: lightgrey solid 1px;
    border-top: none;
}

.nav-item .nav-link {
    text-decoration: none;
    display: inline-block;
    color: #343a40 !important;
}

.nav-item .nav-link.avi-no-results-tab {
    text-decoration: none;
    display: inline-block;
    color: #cccccc !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #0DB14B !important;
}

.nav-tabs .nav-link:hover {
    background-color: #0DB14B;
    color: white !important;
}

.nav-tabs .nav-link.active:hover {
    background-color: inherit;
    color: #0DB14B !important;
}

.video-custom-modal {
    width: 605px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.lightbox-custom-modal {
    /*width: 70vw;*/    
    /*margin-left: auto !important;*/
    /*margin-right: auto !important;*/
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    background-color: #ffffff !important;
    padding: 1rem !important;
    border-radius: 5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    max-width: 70vw !important;    
}

.lightbox-centered-image {
    display: block;
    max-width: 100%;
    max-height: 72vh !important;
}
