/*!
 * MODIFIED BY SCDNR STATE CLIMATE OFFICE FROM...
 * Start Bootstrap - Busines Frontpage (https://startbootstrap.com/template-overviews/business-frontpage)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-business-frontpage/blob/master/LICENSE)
 */

#map {
    height:400px;
}
.table-header {
    font-weight: bold;
    border-bottom: 1px solid black;
}
.results:nth-child(odd) {
    background: #eee;
}

.header {
  width:100%;
  height:auto;
  background: linear-gradient(to bottom,transparent,#2e445b),
      url('../images/hurricane_img.jpg');
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

/*#results-table_filter {
    background-color:#eee;
    padding:0.5em 0 0.2em 0.5em;
    border-radius:3px;
    font-weight: bold;
    text-align: left;
}*/
#results-table_info {
    padding:0.2em 0 0.2em 0.5em;;
}
.white-link {
    color:#00bfff!important;
    text-decoration: none;
}
.white-link:hover{
    text-decoration: underline;
    color:#fff;
}
#filter-panel {
    position: absolute;
    bottom:0;
    left:0;
    margin-left:-1%;
    width:180px;
    height:15%;
    z-index: 1005;
    padding:0.5%;
    text-align: left;
}
#toggle-legend {
    bottom:18%;
    min-width: 32px;
}
.map-btn{
    padding-left:10%;

}
#about-panel {
    position: absolute;
    top:0;
    right:0;
    width:110px;
    height:85px;
    background-color:rgba(20,20,20,0.5);
    z-index: 1005;
    padding: 5px, 3px;
    text-align: center;
    border:1px solid #aaa;
}
.about-link{
    border-bottom:1px solid #aaa;
}
#backup-back{
    position: absolute;
    top:10px;
    left:20px;
}
#top-close-filters{
    position: relative;
    border:none;
}

#storm-search {
    display:none;
}
#storm-details-overview{
    display:none;
}

#results-table_filter, #pre-table_filter{
    text-align: left;
}
#results-table_info, #pre-table_info {
    text-align: right;
}

#t-search, #p-search {
    background-color:#2e445b;
    color:white;
    padding-top:0.7em;
    border-radius:3px;
}
#t-details, #p-details {
    background-color:#2e445b;
    color:white;
    border-radius:3px;
    font-weight: bold;
}

#popup{
    font-size: 1.2em;
    line-height:1.6em;
}
#name {
    border-bottom:1px solid gray;
}

#mobile-icon-bar {
    width: 100%; /* Full-width */
    background-color: white; /* Dark-grey background */
    overflow: auto; /* Overflow due to float */
    box-shadow: 0 -2px 3px rgba(0,0,0,0.2);
}

#mobile-icon-bar a {
    float: left; /* Float links side by side */
    width: 33.33%; /* Equal width (5 icons with 20% width each = 100%) */
    padding: 12px 0; /* Some top and bottom padding */
    transition: all 0.3s ease; /* Add transition for hover effects */
}

#mobile-icon-bar a:hover {
    color: #2e445b; /* Add a hover color */
}
.border-bottom .btn {
    width:133px;
} 
/*
#sticky-buttons{
    position: fixed;
    top: 20px;
    right:0px;
    margin-right:-7px;
    z-index: 5000;
}
.btn-sticky{
    position: absolute;
    right:0px;
    box-shadow: -2px 2px 4px gray;
    padding: 5px 15px 5px 10px;
}
#storm-details-sticky{
    top: 50px;
}
#info-icon-sticky{
    padding: 0px 1px;
}*/
.no-vis{
    display: none;
}
.detail-header{
    margin-top:0.5em;
    margin-bottom:0.2em;
    border-bottom: 1px solid #aaa;
}
.details-col > * {
    padding:4px;
}
.details-col {
    border:1px solid #aaa;
}
.details-col h3{
    color:#fff;
    background-color:#2e445b;
    padding:0.3rem;
    padding-left:0.5rem;
    margin:-1rem -1rem 0 -1rem;
    border-top-left-radius: 0.2rem;
    border-top-right-radius: 0.2rem;
}

.filter-col {
    border: 1px solid #aaa;
    border-radius: 0.3rem;
    padding-bottom: 3.5rem;
}
.filter-col button {
    position: absolute;
    left: 0.5rem;
    bottom: 0.5rem;
}
#uncheck-all {
    left: 7rem;
}
.legend-table img {
    width:40px;
    height: auto;
}
.tl-icon {
    width:50px;
    text-align: center;
}
.legend-table{
    background-color:#0c1521;
    color:white;
    border-radius: 5px;
}

.cat-check{
    width:25%;
}
#message-div{
    background-color:#2e445b;
    color:white;
}

#backup{
    padding:5px 10px 5px 10px;
    bottom:30px;
    right:0px;
    margin-right:-5px;
    background-color:#fff;
    border-radius: 3px;
    position: fixed;
    border:1px solid gray;
    display: none;
}

/*div table css*/
.divTable{
	display: table;
	width: 100%;
}
.divTableRow {
	display: table-row;
}
.divTableHeading {
	display: table-header-group;
}
.divTableCell, .divTableHead {
	display: table-cell;
	padding: 8px 10px;
}
.divTableBody {
	display: table-row-group;
}
#results-table tbody tr.selected, #details-table tbody tr.selected {
    background-color:#a0d2de;
    color:black;
}
#about h2, #table-view h2 {
    border-bottom:2px solid #666;
}
#about h3 {
    border-bottom: 1px solid gray;
    margin-top:2rem;
}
#about h5 {
    background-color:#edf9fc;
    padding:0.2rem;
}
div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    justify-content: center;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { 
  .form-control-sm {
    font-size: 16px;
  }
}
#report, #damage, #trackmap, #noaa {
    font-size:1.2rem;
}
.btn.btn-primary[disabled].storm-btn {
    background-color: #ccc;
    color:#555;
    border-color:#555;
}
#toggle-use-table {
    /*color:#000;*/
    background-color:#fff;
    border:none;
    padding:0;
}
#toggle-use-table:hover{
    color:#2e445b;
}
.drop-shadow {
    text-shadow: 1px 1px 4px #444;
}
#report, #damage, #trackmap, #noaa {
    border-radius:3px;
}

/*some print stuff*/
#print-map{
    text-align:center;
    margin:auto;
}
#print-map{
    page-break-before: always;
}
@media print {
    .container {
            margin-top: 50px;
            background-color:none !important;
        }
    p, h1,h2,h3,h4,h5{
        color: #000 !important;
    }
}
/*width fix for year input boxes on firefox*/
.form-inline .form-control {
    max-width: 110px;
}

/*storm link*/
#stormlink {
    color: #007bff;
    text-decoration: underline;
}
#stormlink:hover {
    color: #2e445b;
}
#clicktocopy{
    color:#666;
}
