﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

#page-container{
    position: relative;
    /*min-height: 100vh;*/
}

#content-wrap{
    padding-bottom: 2.5rem;
}
a.navbar-brand {
    display: flex;
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #0c2340;
    border-color: #0c2340;
    border-width:1px;
    font-size:14px;
}
    .btn-primary:hover {
        color: #fff;
        background-color: #e87722;
        border-color: #e87722;
        border-width: 1px;
        font-size: 14px;
    }   



.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 2.5rem;
    overflow-x: auto;
}
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  /*line-height: 2.5rem;*/ /* Vertically center the text there */
  text-align: center;
}

.spinner {
    background-image: url("/images/spinner.gif");
    color: red;
}

.pageloader {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: dimgrey;
    filter: alpha(opacity=60);
    opacity: 0.6;
    display: none;
}

.pageloader img {   
    height: 100px;
    width: 100px;
}

.center {
    z-index: -1;
    margin: 300px auto;
    padding: 10px;
    width: 130px;
    filter: alpha(opacity=100);
    opacity: 1;
}

.fileUploader {
    position: fixed;
    z-index: 999;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background-color: #dee2e6;
    filter: alpha(opacity=60);
    opacity: 0.9;
    display: none;
}

.centerDiv {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
}

.progress-clock {
    word-wrap: break-word;
}


.newRow {
    display: none;
}

hr {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    color: darkgray;
    border-top: 1.5px solid rgba(0,0,0,.1);
}

.modal-dialog {
    overflow-y: initial !important
}

/* Add a scroll to Incident View. */
.modal-body {
    overflow-y: auto;
}

/* Overriding smartWizard tab-content height to auto to adjust height for dynamic content. */
.sw > .tab-content {
    height: auto !important;
}

/* Red text for placeholders. */
textarea[type="text"].red::-webkit-input-placeholder, input[type="text"].red::-webkit-input-placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: red !important;
    opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: red !important;
}

::-moz-placeholder { /* firefox 19+ */
    color: red !important;
}
:-moz-placeholder { /* firefox 18- */
    color: red !important;
}

/* CSS for select city option. */
select.colorMeRed {
    color: red;
}

.btn-danger-cancel {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}
/* Ends */

.form-row {
    flex-wrap: nowrap !important;
}

.form-width {
    width: 150px !important;
}

.div-indent {
    margin-left: 2em;
}

.div-indent-left {
    margin-left: 5px;
}
.upload-file{
    background-color:lightgray;
    color:black;
    padding:0.5rem;
    font-family:sans-serif;
    border-radius:0.3rem;
    cursor:pointer;

}

select[multiple] option:checked {
    background: linear-gradient(#34eb6e,#34eb6e);
    background-color: #34eb6e !important; /* for IE */
}

select[multiple]:focus {
    box-shadow: none !important;
}


.viewContainer {
    display: flex;
    flex-direction:row;
    align-items:flex-start;
    column-gap:normal;
}

.itemContainer {
    flex-grow: 1;
    align-self:auto;
    
}
.downloadlink {
    text-align:center;
}


    .evidenceFileDiv {
    /* margin-left: auto;
    margin-right: auto;
    margin-top: 25%;
    vertical-align: middle;*/
    margin: 6em auto 0;
    max-width: 720px;
    min-width: 320px;
    position: relative;
}

a img.icon {
    vertical-align: top;
    margin-bottom: 0.25em
}

.input {
    position: relative;
    left: 11em;
}

.input textarea, .input label {
        position: static
}

.video-logo {
    position: relative;
    top: 5em;
    left: 40em;
    z-index: 100;
}
.video-player {
    position: relative
}

.evidenceFileDiv video {
    height: auto;
    vertical-align: middle;
    width: 100%;
}
.video-description {
    background: transparent;
    position: absolute;
    top: -72%;
    right: 0;
    bottom: 0;
    left: -55%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.custom-file {
    overflow: hidden;
    height: calc(3.25rem + 2px);
}

.custom-file-input {
    white-space:nowrap;
}

.colOverflow {
    max-width: 50em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-width25 {
    width: 25% !important;
}

span.field-validation-error {
    white-space: pre-line;
    font-size: 12px;
}

input::-ms-reveal {
    display: none;
}

.nav-item-callout {
    font-size: 11px;
    margin-right: 8px;
    margin-top: -3px;
    color: #ffffff;
    background-color: #e87722;
    padding: 3px 4px;
    border-radius: 3px;
}

#btn-back-to-top {
    position: fixed;
    bottom: 52px;
    right: 20px;
    display: none;
    background-color: #e87722;
}

/* Fix for System Admin dropdown menu width */
.dropdown-toggle.text-darkblue + .dropdown-menu {
    min-width: 220px; /* Wider dropdown menu to prevent text wrapping */
    white-space: nowrap; /* Prevent text from wrapping */
}

/* CSP compliant styles that replace inline styles */
.navbar-end-justify {
    justify-content: end;
}

.hidden {
    display: none;
}

@media (min-width: 913px) and (max-width: 1024px) {
    .container {
        max-width: 80%;
        padding-left: 0;
        padding-right: 0;
        margin-top: 0px;
    }
}

@media (min-width: 1025px) and (max-width: 1199px) {
    .container {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-top: 0px;
    }
}
@media (min-width: 560px) and (max-width: 912px) {
    .container {
        max-width: 720px;
        padding-left: 0;
        padding-right: 0;
        margin-top: 0px;
    }
}