﻿/* variables*/
:root {
    --psp-sticky-nav-offset: 99px;
    --psp-bg-dark-color: #0c1435;
    --psp-bg-blue-color: #2072b9;
    --psp-bg-blue-color-opacity40: #2072b940;
    --psp-bg-light-color: #ececec;
    --psp-bg-cop-crime-analysis: hsl(195deg 30% 90%);
    --psp-bg-cop-law-enforcement-leadership: hsl(343deg 30% 90%);
    --psp-bg-cop-prosecution: hsl(30deg 33% 85%);
    --psp-bg-cop-public-information-officer: hsl(232deg 30% 90%);
    --psp-bg-cop-technology: hsl(82deg 30% 90%);
}

template {
    display: none;
}

::placeholder {
    color: #aaa !important;
    font-style: italic;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #aaa !important;
    font-style: italic;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #aaa !important;
    font-style: italic;
}

:-ms-input-placeholder { /* IE 10+ */
    color: #aaa !important;
    font-style: italic;
}

:-moz-placeholder { /* Firefox 18- */
    color: #aaa !important;
    font-style: italic;
}

.nobr {
    white-space: nowrap;
}

.maxlength-alert {
    font-size: smaller;
    text-align: right;
    color: grey;
}
.maxlength-alert.warning {
    font-size: smaller;
    text-align: right;
    color: darkorange;
}
.maxlength-alert.danger {
    font-size: smaller;
    text-align: right;
    color: darkred;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media screen and (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

html, body {
    height: 100%;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
}

#Layout-Body {
    flex: 1 0 auto;
}

#Layout-Footer {
    flex-shrink: 0;
    width: 100%;
    padding-top: 1.5em; padding-bottom: 1.5em;
    background-color: #0d0d0d;
    color: #fff;
}
#Layout-Footer.short-footer {
    padding: 0 !important;
}

#Main-Nav {
    border-bottom: 5px solid var(--psp-bg-blue-color, #2072b9);
    box-shadow: 0px 3px 5px rgba(0,0,0,.4);
}

.anchor {
    scroll-margin-top: var(--psp-sticky-nav-offset);
}

abbr[title], abbr[data-original-title] {
    cursor: help;
    text-decoration: none !important;
    border-bottom: none !important;
}

/* 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. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a {
    color: #2b8be9;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.bg-psp-dark {
    background-color: var(--psp-bg-dark-color, darkblue);
}

.section-padding {
    padding: 85px 0;
    padding: max(2em,10vh) 0;
}

.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;
}


/* Validation */
.field-validation-valid {
    display: none;
}

.validation-summary-valid {
    display: none;
}

.field-validation-error {
    color: #b00;
    font-style: italic;
}

.input-validation-error, .indirect-validation.field-validation-error + .indirect-validation {
    border: 1px solid #b00;
    background-color: #ffeeee;
}

.validation-summary-errors {
    font-weight: bold;
    color: #b00;
}

.requiredAsterisk:after {
    content: "*";
    color: red;
}

/* Helpers */
.aspect-box-square {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    overflow: hidden;
    position: relative;
}
.aspect-box-16-9 {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative;
}
.aspect-box-letter {
    width: 100%;
    height: 0;
    padding-bottom: 129.41176471%;
    overflow: hidden;
    position: relative;
}
.aspect-box-938x600 {
    width: 100%;
    height: 0;
    padding-bottom: 63.96588486%;
    overflow: hidden;
    position: relative;
}
.aspect-box-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top;
}
.line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
.uppercase {
    text-transform: uppercase;
}
img.contain, video.contain {
    object-fit: contain;
}
.table .psp-thead-dark th {
    color: #fff;
    background-color: var(--psp-bg-dark-color, #343a40);
    border-color: var(--psp-bg-blue-color, #454d55);
}
.hr-mid {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: .75em;
}
.hr-mid:before {
    left: 50%;
    margin-left: -40px;
}
.hr-mid:before {
    content: "";
    height: 3px;
    width: 80px;
    position: absolute;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
}

.button-busy {
    display: none;
}