﻿/* 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. */

html {
    height:100%;
}

body {
    overflow: hidden;
    font-size: 1.0rem;
}

a.navbar-brand {
  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: #1b6ec2;
  border-color: #1861ac;
}

.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: 60px;
  height:calc(100% - 60px);
}
/*.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 35px; 
  padding:10px;
}*/

/*  Footer styles borrowed from parent site: */
.footer {
    font-size: 100%;
    padding: 0;
    text-align: left;
    height:43px;
    clear: both;
    font-size: 82%;
    font-size: 100%;
    padding: 10px;
    margin: 0;
    background: #3e6ca7;
    position: relative;
    text-align: center;
    color: #fff !important;
}
/***48em = 768px ***/
@media screen and (min-width: 48em) {
    #page_footer {
        min-height: 120px;
        font-size: 100%;
        padding: 0;
        text-align: left;
    }
}
 
/*footer {
    min-width: 0;
    min-height: 0;
    width: auto;
    text-align: left;
    height: auto;
}
.footer {
    padding: 10px;
    font-size: 75%;
    color: #bdbdbd;
}*/
/* End Footer */


div.container {
    position:relative;
}

div.containerbg {
    position: absolute;
    /*top:145px;*/
    top:96px;
    width: 100%;
    height: calc(100% - 126px);
    background-image: url(../images/hero_bg.jpg);
    background-repeat: repeat;
    /*opacity:0.1;*/
}
 
@media (min-width: 768px) {
    div.containerbg {
        /*top: 152px;
        height: calc(100% - 153px);*/
        top: 96px;
        height: calc(100% - 96px);
    }
}

#headerImageDiv {
    height: 96px;
    background-color: #748d4c;
}

#headerImageDiv img {
    position: absolute;
    width:967px;
    height:96px;
}

@media (max-width:768px) {
    #headerImageDiv img {
        clip: rect(0px,857px,96px,376px);
        left:-376px;
    }
}

/* Custom styles */
.rowStartNum {
    padding: 5px;
}
.uploadBtn { }

#mainContainer {
    /*height: calc(100% - 137px);*/
    height: calc(100% - 78px);
    /*margin-top: -15px;*/
    padding: 10px;
    overflow: auto;
    position: relative;
}

/* Projects page */
.hiddenStartup { display:none; }

#advancedSearchPanel {
    height: 600px;
    width: 350px;
    position: absolute;
    left: -350px;
    top: 52px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 10px;
    overflow-y: auto;
    z-index: 10;
}
/*#advancedSearchPanel input {
    display: inline-block;
    width: 100px;
}*/

.btn-group-toggle .btn {
    background-color:#fff;
    border:1px solid #ddd;
    color:#4a4a4a;
    padding:6px;
    width:50px;
    cursor:pointer;
}
    .btn-group-toggle .btn.active {
        background-color: #3d628f;
        border-color: #3d628f;
        color: #fff
    }

#ejBtnGroup > div { width:50px; }
#modeBtnGroup > div { width:80px; }

#advancedSearchBtn { display:none; }

#advPanelClose {
    font-size: 24px;
    position: absolute;
    top: 8px;
    right: 10px;
    cursor: pointer;
    padding: 5px;
}
    #advPanelClose:hover {
        border:1px solid #aaa;
        background-color:#eee;
        border-radius:5px;
    }

#advSearchTable {
    width:100%;
    margin-top:15px;
}

#modeContainer { position:relative; height:45px; }
#modeBtnGroup { position:absolute; right:0; top:0; }
.advTableSubHeader {
    padding-top:10px;
    border-top: 1px solid #ccc;
    margin-top: 10px;
    font-style:italic;
}

.tabsContainer {
    width: 100%;
    height: 42px;
    position: relative;
    border-bottom: 2px solid #3d628f;
    margin-bottom: 10px;
}
    .tabsContainer h4 {
        display: inline-block;
    }

.nav-tabs {
    position:absolute;
    bottom:0;
}

#mapListTabs {
    left: 150px;
}

.nav-tabs a {
    background-color: #aaa !important;
    color: #000 !important;
    border-color: #e9ecef !important;
    border-bottom: 2px solid #aaa !important;
}
    .nav-tabs a:hover {
        background-color: #96b3d2 !important;
        border-bottom-color: #96b3d2 !important;
    }

    .nav-tabs a.active {
        background-color: #3d628f !important;
        color: #fff !important;
        border-bottom-color: #3d628f !important;
    }

#retrievingDataDiv {
    position:absolute;
    left:450px;
    top:10px;
}

#tabsContentDiv {
    height: calc(100% - 80px);
}

.mapTabInit {
    /* 'Display' map on startup so layers load immediately, but hide it. Removed once layers added. */
    visibility:hidden;
    display:block !important;
    height:0;
}

#projectsTable {
    background-color: #fff;
    width:100% !important;
}

#projectsTable > tbody > tr { cursor:pointer; }
/*#projectsTable tr > td:nth-child(6) { text-decoration:underline; color:blue; }*/   /*Make thea project video column look like link */  

#projectsTable_filter, #projectsTable_length {
    text-align:left;
    display:inline-block;
}

#projectsTable_length { float:right; }
#projectsTable_filter { float:none; }
    #projectsTable_filter input, #mapSearchBox {
        display: inline-block;
        width: 200px;
        height:31px;
    }

.dt-buttons {
    float: right !important;
}

#mainProjectsDiv, #mapTabContent, #mapDiv, #projectDetailsDiv {
    height: 100%;
}

.row {
    max-width:100%;
}

#projectDetailsContainer {
    position:relative;
}

#detailsHeader {
    font-weight:bold;
    font-size:18px;
    margin-bottom:20px;
    margin-left: 0;
}

#detailsCloseBtn {
    font-size: 18px;
    position: absolute;
    right: 20px;
    top: 10px;
    padding: 8px;
    cursor: pointer;
}
#detailsCloseBtn:hover {
    background-color:#ddd;
}

#detailsContent .tab-pane {
    padding:20px;
}

#detailsContent table th, #detailsContent table td {
    padding:2px 10px;
}

.detailsPDF{ vertical-align:middle;}

.btnReportBack {
    margin-bottom: 10px;
}

h4.detailsLink {
    font-size: 20px;
}
h4.detailsLink > a { color:blue !important; }

#clickRowInfo { display:none; font-style:italic; padding-left:50px; }

#detailsFundingTable td:first-child {
    width:130px;
}
#detailsFundingTable .yearCol {
    width: 100px;
    font-weight: bold;
}
#detailsFundingTable .phaseCol {
    width: 100px;
}
#detailsFundingTable .fundCol {
    width:250px;
}
#detailsFundingTable .amountCol {
    width:100px;
    text-align:right;
}
#detailsFundingTable .bold {
    font-weight:bold;
}
#detailsFundingTable .right {
    text-align:right;
}

#detailsFundingTable .subtotalRow {
    border-bottom: 1px solid #999;
}

.deleteFundingBtn {
    margin-left:4px;
}

#pprComments {
    background-color: #fff;
    border: 1px solid #ccc;
    margin-bottom: 10px;
}

#pprSaveResults {
    margin-top:10px;
    font-weight:bold;
}

.projDetailsLink {
    color: navy;
    cursor:pointer;
}
.projDetailsLink > h4 {
    display:inline-block;
}
.projDetailsLink > span {
    float:right;
}