﻿body {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 23px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.less-padding {
    padding: 5px !important;
}

.scrollable {
    height: 800px;
    overflow-y: scroll;
}

.validation-error {
    background-color: rgba(255, 0, 0, 0.15) !important;
}

.spinner {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -100px; /* half width of the spinner gif */
    margin-top: -100px; /* half height of the spinner gif */
    text-align: center;
    z-index: 1234;
    overflow: auto;
    width: 210px; /* width of the spinner gif */
    height: 212px; /*hight of the spinner gif +2px to fix IE8 issue */
}

.small-legend {
    font-size: 14px;
}

.select2-container {
    width: 100% !important;
    padding: 0;
    min-width: 180px !important;
}

.textAreaBox {
    min-width: 100%;
}


#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

    #myImg:hover {
        opacity: 0.7;
    }

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

/* The Close Button */
.img-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white;
    font-size: 50px;
    font-weight: bold;
    transition: 0.3s;
    outline-color: white;
    outline-width: 2px;
    background-color: red;
}

    .img-close:hover,
    .img-close:focus {
        color: #bbb;
        text-decoration: none;
        cursor: pointer;
    }

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

.small-input {
    width: 80px !important;
}


.dropdown-search {
    position: relative;
    display: inline-block;
    z-index: 5;
    position: absolute;
    background: white;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-search-content {
    position: absolute;
    background-color: white;
    min-width: 320px;
    border: 1px solid #ddd;
    z-index: 1;
    max-height: 300px;
    overflow-y: auto;
}
    /* Links inside the dropdown */
    .dropdown-search-content a {
        color: blue;
        padding: 2px 0px 2px 0px;
        margin: 0px 0px 0px 0px;
        display: block;
        background-color: white;
        border-bottom: solid;
        border-bottom-color: lightgrey;
    }

        .dropdown-search-content a[onclick] {
            cursor: pointer;
        }
        /* Change color of dropdown links on hover */
        .dropdown-search-content a:hover {
            background-color: #f1f1f1
        }
.label-danger{
    background-color:red;
}

.smallpopup {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 28%;
    top: 20%;
    width: 40%;
    height: 50%;
    overflow: auto;
    background-color: white;
    border: 2px solid;
    border-color: #3D1D1C;
    border-radius: 0px;
}
.tableFixHead {
    overflow-y: auto;
    max-height: 600px;
    z-index: 250;
}

.tableFixHead thead th {
    position: sticky;
    top: 0;
    z-index: 250;
    background-color: lightgray;
}
.margin-left{
    margin-left:10px;
}

.leafletTooltipClass {
    color: green;
    background: yellow;
}

.leafletNameClass {
    color: black;
    background: white;
    font-size: 11px;
    padding: 1px;
}
table.table.table-striped tr.yellow-background td {
    background-color: yellow;
}
table.table.table-striped tr.gray-background td {
    background-color: lightgray;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.leaflet-tooltip.leafletNumberOfResources {
    position: absolute;
    /*width: 20px;*/
    font-size: 16px;
    padding:0;
    background-color:transparent;
    border:none;
    box-shadow:none;
    font-weight:bold;
}
.font-medium{
    font-size:11px;
}
.library-photo{
    max-width:19%;
}
.banner-photo {
    max-width: 100%;
    margin: 5px;
}
.link-photo {
    width: 100%;
}
.dot {
    height: 20px;
    width: 20px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    border-color:gray;
    border-width:1px;
    border-style:solid;
}
.double-size {
    zoom: 2;
    transform: scale(2);
    -ms-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    -moz-transform: scale(2);
    transform-origin: 0;
    -ms-transform-origin: 0;
    -webkit-transform-origin: 0;
    -o-transform-origin: 0;
    -moz-transform-origin: 0;
    margin-right: 20px;
    margin-bottom: 8px;
    margin-top: 8px;
}
.table-striped tbody tr.highlight td {
    background-color: darkgray;
}

.ffdi-low-moderate {
    background-color: #ADDFAD !important;
    /*color: #ADDFAD;*/
    font-weight: bold;
}
.ffdi-high {
    background-color: #87CEEB !important;
    font-weight: bold;
}
.ffdi-very-high {
    background-color: #FCF75E !important;
    font-weight: bold;
}
.ffdi-severe {
    background-color: #FFA500 !important;
    font-weight: bold;
}
.ffdi-extreme {
    background-color: #FF4040 !important;
    font-weight: bold;
}
.ffdi-catastrophic {
    background-color: #C80815 !important;
    font-weight: bold;
}