@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.content {
    padding-top: 50px;
}

th {
    font-size: 0.95em;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



/*Flo custom css*/
.btn-group-sm > .btn, .btn-sm {
    font-size: 0.825rem;
    margin-left: 6px;
}


h4 {
    font-size: 1.25em;
}

label {
    margin-bottom: 0.25rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.modal-header {
    padding: 0.4rem 1rem
}

.modal-body {
    padding: 0.4rem 1rem;
}

.modal-footer {
    padding: 0.4rem 1rem;
}


/*MAP*/
.warningIcon {
    width: 50px;
}

.map-legend-description {
    font-size: 0.9em;
}


.blurMap {
    -webkit-filter: blur(9px);
    -moz-filter: blur(9px);
    filter: blur(9px);
}

@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.spinner:before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
    border-radius: 50%;
    border: 5px solid #ccc;
    border-top-color: #07d;
    animation: spinner .6s linear infinite;
    background-color: white;
}

.downloadprogress {
    background-color: transparent;
    display: inline-block;
    position: absolute;
    float: left;
    margin-top: -3px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.fill {
    min-height: 100%;
    height: 100%;
}

.map-header {
    margin-top: 0px;
    font-size: 1.5em;
}


#map {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    background-color: #C8DFEE;
    -ms-touch-action: none;
}

.openspaceol3-openspace-logo {
    bottom: 8px;
    left: 8px;
    padding: 2px;
    position: absolute;
    background: transparent;
    width: 60px;
    height: 60px;
}

.ol-zoom {
    top: 0.8em !important;
    right: 0.5em !important;
    left: auto !important;
}

.severeFloodWarning {
    border-radius: 12px;
    background-color: #FF3333;
    color: white;
    padding: 9px;
}

.floodWarning {
    border-radius: 12px;
    background-color: #FF4444;
    color: white;
    padding: 9px;
}

.floodAlert {
    border-radius: 12px;
    background-color: #FE8E3B;
    color: white;
    padding: 9px;
}

.policyLocationNote {
    border-radius: 12px;
    background-color: white;
    color: black;
    padding: 9px;
}


.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

.icon-and-count {
    position: absolute;
    right: 0;
    margin-right: 6px;
}



.show-warnings-checkBox {
    width: 80px;
    height: 30px;
    background: #333;
    margin: 4px;
    border-radius: 40px;
    position: relative;
}

    .show-warnings-checkBox:before {
        content: 'On';
        position: absolute;
        top: 6px;
        left: 7px;
        height: 2px;
        color: #ddd;
        font-size: 12px;
    }

    .show-warnings-checkBox label {
        display: block;
        width: 34px;
        height: 16px;
        border-radius: 50px;
        transition: all .3s ease;
        cursor: pointer;
        position: absolute;
        top: 7px;
        z-index: 1;
        left: 7px;
        background: #ddd;
    }

    .show-warnings-checkBox input[type=checkbox]:checked + label {
        left: 30px;
        background-color: red;
    }


/*OL3-POPUP*/
.ol-popup {
    border-radius: 12px;
    display: none;
    position: absolute;
    background-color: white;
    padding: 6px;
    border: solid;
    bottom: 6px;
    left: -48px;
    border-width: 6px;
    z-index: 50;
}


.ol-popup-alert {
    border-color: #FE8E3B;
}

.ol-popup-warning {
    border-color: #FF4444;
}

.ol-popup-severewarning {
    border-color: #FF3333;
}

.ol-popup:after, .ol-popup:before {
    top: 100%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.ol-popup:after {
    border-width: 18px;
    left: 48px;
    margin-left: -16px;
}

.ol-popup-alert:after {
    border-top-color: #FE8E3B;
}

.ol-popup-warning:after {
    border-top-color: #FF4444;
}

.ol-popup-severewarning:after {
    border-top-color: #FF3333;
}

.ol-popup-content {
    width: 450px;
    max-height: 50vh;
    overflow-x: auto;
    background-color: white;
}


/*DONT TOUCH THE POSITIONING OF THIS AS IS OK IN PRODUCTION*/
.ol-popup-closer {
    position: absolute;
    top: 1px;
    right: 4px;
    cursor: pointer;
    display: inline-block;
    color: grey;
}

.clickableImage {
    cursor: pointer;
}


.drawer {
    top: 60px !important;
    z-index: 100;
    height: auto !important;
    border-width: 0px;
    background-color: transparent;
}

.drawer-contents-inner {
    background-color: #E7F1F6;
    border-radius: 9px;
    margin: 6px;
}

.drawer-contents {
    background-color: transparent;
}

.drawer-controls {
    padding-left: 3px;
    padding-top: 75px;
}

.drawer-nav {
    padding: 15px;
    border-bottom: 1px solid #dfdfdf;
}

.text-block {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: justify;
    line-height: 150%;
}

.scrollable-div {
    overflow-x: scroll;
}

.nav-item {
    margin-left: 5px;
    font-size: 14px;
}
