﻿/* 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;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}



/* 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: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}



/* begin customizations */

.color-red {
    color: red;
}

.appstatuscolor-inprocess {
    color: #0366d6;
}

.appstatuscolor-approved {
    color: #208537;
}

#county-seal {
    height: 60px; /* 80px */
    margin: 0;
}

label {
    margin-bottom: .1rem;
    font-weight: 600;
}

.input-inline-block {
    width: auto;
    display: inline-block;
}
/*label span {
    padding-left: .2rem;
}*/
.form-group {
    margin-bottom: .6rem;
}

.form-section {
    margin-bottom: 1.7rem;
}


.sidebar-callout {
    border-top: 3px solid #e4b41e;
    background: #041e42;
    color: white;
    padding: .8em .4em;
    text-align: center;
    margin-bottom: 1em;
}
    .sidebar-callout a, .sidebar-callout a:link, .sidebar-callout a:hover, .sidebar-callout a:visited {
        color: white;
        text-decoration: none;
    }


    .sidebar-callout:hover {
        background-color: #0066FF;
    }

/*.dropdown-customblue, .dropdown-customblue:hover, .dropdown-customblue:focus {
    background-color: #1e3555;
    border: none;
}
.dropdown-toggle {
    background-color: #1e3555 !important;
}*/


/* From Dutchess main site */
.circle-icons {
    border: 2px solid;
    padding: 0.6em 0.6em;
    border-radius: 50%;
    color: #172335
}
.list-item-sidebar {
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid #e0e0e0;
    border-left: 0;
    padding: 0 0 20px;
    margin: 0 0 20px;
}




.file-upload-savedname, .hidden-offscreen {
    /* do it this way instead of using input type=hidden, so jQuery validation script still works */
    width: 1px;
    height: 1px;
    border: none;
    position: absolute;
    left: -100000px
}

#attachments-upload-dropzone {
    text-align: center;
    font-size: large;
    border: 3px dashed #999;
    padding-top: 50px;
}
#attachments-upload-dropzone h5 {
    margin-bottom: 50px;
}

#attachments-upload-dropzone:hover {
    
    border: 3px dashed orange;
}



/*
    https://stackoverflow.com/a/325334
*/
.upload-details-row-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    background-color: blue;
    overflow: hidden;
}

.upload-details-first-row {
    background-color: lime;
}

.upload-details-second-row {
    flex-grow: 1;
    border: none;
    margin: 0;
    padding: 0;
}


/* Styles for printable app */
/*#printable-app {
    background-color: #fff;
    padding: 30px;
}

#printable-app-inner-wrap {
    background-color: #fff;
    filter: drop-shadow(0 0 0.60rem #999999);
}*/
.print-col {
    float: left;
}

.print-textarea {
    border: 1px solid #eee;
    padding: .5em;
    border-radius: .3em;
    white-space: pre-line;
    min-height: 2.7em;
}


.activity-log-item, .status-msg-item {
    white-space: pre-line;
}


.app-status-deleted {
    text-decoration: line-through;
}


.bulkmsg-email-listitem {
    cursor: default;
}



/* Tablesort styles */


table.tablesort th {
    cursor: pointer;
}

th.sorted.ascending:after {
    content: "  \2191";
}

th.sorted.descending:after {
    content: " \2193";
}

th.initial-sort-descending:after {
    content: " \2193";
}




/* 

    Fix for close "x" not showing in jquery ui dialog
    https://stackoverflow.com/a/39618690 

*/
.ui-dialog-titlebar-close {
    padding: 0 !important;
}

    .ui-dialog-titlebar-close:after {
        content: '';
        width: 20px;
        height: 20px;
        display: inline-block;
        /* Change path to image*/
        background-image: url(images/ui-icons_72a7cf_256x240.png);
        background-position: -96px -128px;
        background-repeat: no-repeat;
    }


/*Override .bg-dark*/
.bg-dark {
    background-color: #1E3555 !important;
}

.redacted {
    display: inline-block;
    background-color: black;
    color: black;/* we want black on black */
}



mark.searchhilite {
    background: gold;
    padding: 0;
}


/*.jqueryui-rounded-dialog .ui-corner-all {
    border-radius: 100px;
}*/

#loading-overlay {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
}

/*#loading-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1000;
    top: 40%;
    left: 0px;
    opacity: 0.5;
    filter: alpha(opacity=50);
}*/
/*Skip to main content link*/
.skip-link:focus,
.skip-link:active {
    display: block;
    padding: 10px;
    background: #041E42;
    text-align: center;
    text-decoration-line: underline;
    color: #fff;
    border: 2px solid #fff;
}

.test-banner {
    border-top: 6px solid #273b5f;
    background-color: lightyellow;
    width: 100%;
    overflow: hidden;
    height: 44px;
    position: fixed;
    top: 0;
    z-index: 1000;
    margin-bottom: 20px;
}

#dialog-html {
    background-color: #041E42;
    padding: 20px;
    border-radius: 4px;
}

.home-app-type:hover {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 3px 10px 0 rgba(0, 0, 0, 0.10);
}

.help-dialog p {
    color: white;
}

.help-dialog strong {
    color: #e49c2d;
}

.help-dialog-img {
    /*max-width: 400px;*/
    max-height: 215px;
    max-width: 96%;
    filter: drop-shadow(0 0 0.25rem #ccc);
}

.help-dialog-text {
    font-size: medium;
    /*text-align: justify-all;*/
}


.fac-merge-table tbody tr:hover {
    background-color: #e9e9e9;
    cursor: pointer;
}

/* 
    jQuery Combox box CSS from
    https://jqueryui.com/autocomplete/#combobox
*/
.custom-combobox {
    position: relative;
    display: inline-block;
    width: 96%;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    border:1px solid #ccc;
    /*width:40px;*/
}

.custom-combobox-input {
    margin: 0;
    padding: 5px 10px;
    
}

/*icons for collapsable button*/
button[aria-expanded=true] .fa-chevron-right {
    display: none;
}

button[aria-expanded=false] .fa-chevron-down {
    display: none;
}

.checked-checkboxes {
    display: block;
}

@media (min-width: 992px) {
    .process-applications-table {
        width: 88%;
    }
}