html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-group.required .control-label:after {
    content: "*"; 
    color: red;
}

.event-list-pending {
    background-image: linear-gradient(#ffffff, #eeeeee);
    vertical-align: middle;
    font-weight: bold;
}

.event-list-new {
    font-weight: bold;
    vertical-align: middle;
}

.event-list-in-progress {
    background-image: linear-gradient(#f1ffea, #afffbd);
    vertical-align: middle;
}

.event-list-completed {
    color: dimgray;
    background-image: linear-gradient(#f0f6ff, #d9e8fc);
    vertical-align: middle;
}

.event-another-appraiser {
    color: dimgray;
    background-color: lightgray;
    vertical-align: middle;
}

.event-list-self-sampled {
    background-image: linear-gradient(#fafacf, #f5f5b5);
    vertical-align: middle;
}

#dt-search-0 {
    width: 25rem;
    height: 2.5rem;
}

div.dt-container div.dt-search label {
    font-size: 1.5rem;
}

.file-preview-content-container {
    display: flex;
    justify-content: center;
}

@media screen and (orientation:portrait) {
    .file-preview-content {
        max-width: 85vw;
        max-height: 85vh;
        object-fit: scale-down;
    }
}

@media screen and (orientation:landscape) {
    .file-preview-content {
        max-width: 85vw;
        max-height: 85vh;
        object-fit: scale-down;
    }
}


.file-preview-arrow-left {
    font-size: 4rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left:0;
    transform: translate(0, -50%);
    z-index: 1000;
}

.file-preview-arrow-right {
    font-size: 4rem;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    z-index: 1000;
}

.nodecor > a {
    text-decoration: none;
}

.btn-primary {
    margin-top: 0.3rem;
}

.btn-danger {
    margin-top: 0.3rem;
}

@media (min-width:1281px) {
    .header-btn{
        font-size: 1rem;
    }
}


.autocomplete-items {
    position: absolute;
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    /*position the autocomplete items to be the same width as the container:*/
    width:80%;
}

    .autocomplete-items div {
        padding: 10px;
        cursor: pointer;
        background-image: linear-gradient(#fff, #f8f8f8);
        border-bottom: 1px solid #d4d4d4;
    }

        .autocomplete-items div:hover {
            /*when hovering an item:*/
            background-image: linear-gradient(#ddd, #d8d8d8);
        }

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-image: linear-gradient(#5555dd, #4444ff) !important;
    color: #ffffff;
    font-weight:bold;
}

.floating-select {
    width: 100%;
    padding: 1rem 0.75rem;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    -webkit-appearance: none;
}

.floating-select + label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
    width: 100%;
}

span.multiselect-native-select + label {
    opacity: .65;
    transform: scale(.85) translateY(-.5rem) translateX(.15rem);
    width: 100%;
}

.multiselect-native-select .btn-group {
    width: 100%;
    height: 4rem;
}

.dropdown-toggle  {
    text-align: left !important;
    padding-top: 1.625rem;
}

.required-marker{
    color: red;
    white-space: nowrap;
}

.input-guidance {
    font-size: small;
    opacity: 0.7;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.form-floating {
    margin-bottom: 1.5rem !important;
}

.header-btn {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
}

@media only screen and (min-width: 830px) {
    #eventsSearchInputContainer {
        display: flex;
        align-items: center;
        background-color: #ccddff55;
        padding: 0.5rem;
        border-radius: 1rem;
        margin: 0 1rem;
    }
}

@media only screen and (max-width: 830px) {
    #eventsSearchInputContainer {
        display: block;
        background-color: #ccddff55;
        padding: 0 0.2rem;
        border-radius: 1rem;
        width: 20rem;
    }

    #search_label_status {
    }

    #eventsSearchInputContainer > *{
        display: inline;
        padding: 0.2rem;
        border-radius: 1rem;
        width: 100%;
    }

    #eventsSearchInputContainer > *  > *{
        display: inline-block;
        width: 7rem;
    }

    #eventsSearchInputContainer > * > :first-child {
        display: inline-block;
        width: 4rem;
    }

    #searchModel_Status {
    }
}

#eventsSearchInputContainer > * {
    line-height: 2rem;
}

.modal-backdrop {
    width: 100%;
    height: 100%;
}

.modal {
    padding-right: 0px !important;
}