﻿.map-legend {
    background-color: white;
}

.ESDMMap_MapLegend {
    background-color: white;
}

body {
    background-color: #ffffff;
    background-position-x: right;
    background-position-y: bottom;
    background-repeat: repeat-x;
    background-attachment: fixed;
    font-family: 'Open Sans',sans-serif;
    color: #000;
}
/*bilingual*/
.language-switch {
    display: block;
    float: right;
    margin: 0 auto 1em auto;
}

.btn, .btn-light {
    border: none;
    background-color: #05612d;
    color: #fff;
    text-transform: uppercase;
    padding: 5px 8px;
    cursor: pointer;
    margin-right: 10px;
    font-size: .9em;
}

    .btn.multiselect {
        background-color: #fff;
        color: #495057;
    }

/* Dialog modal backdrop */
.ui-widget-overlay {
    background-color: #000000;
    background-image: none;
    opacity: .5;
    filter: Alpha(Opacity=30);
}

/* Hompage search textbox*/
div#search_bar .form-control {
    padding: 6px !important;
    /* border-radius: 5px; */
}

/* Start - Bootstrap Forms */
p.form-instructions {
    margin: 5px 0px 10px 0px !important;
    padding: 0px;
}

p.form-sub-form-title, h3.form-sub-form-title {
    font-weight: lighter;
    margin: 0px 0px 6px 0px;
    background-color: #f9f9f9;
    padding: 2px;
}

.btn.close-button {
    padding: 10px 0px;
    background-color: transparent;
    font-size: 0.75em;
}

.popup-form a.btn.btn-light {
    color: #fff;
}

.popup-form hr {
    margin-bottom: 0px;
}

.popup-form p.required-fields {
    font-style: italic;
}

.popup-form .alert {
    padding: 5px;
    margin-bottom: 5px;
}

textarea {
    resize: none;
}

.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-front.ui-draggable.ui-resizable {
    font-size: 1em;
}

.popup-form input[type=text], .popup-form textarea, .popup-form select {
    border-color: #d0d0d0;
}

.form-control {
    height: auto;
    border-radius: 0px;
    padding: 2px;
}

.popup-form .form-group.row .form-control {
    color: #000000;
    background-color: #fdfdfd;
    font-size: 0.9em;
}

.form-control-inline {
    min-width: 0;
    width: auto;
    display: inline;
}

.hasDatepicker {
    max-width: 120px;
}

.popup-form input[type=text], .popup-form textarea, .popup-form select {
    min-width: 17em !important;
}

.popup-form input:read-only, .popup-form input:disabled {
    background-color: #eeeeee !important;
}

.popup-form input[readonly].hasDatepicker {
    background-color: #fdfdfd !important;
    cursor: pointer;
}

.popup-form a.btn.btn-light {
    /* color: #212529;*/
}

/* End - Bootstrap Forms */
/* Dialog forms */
.ui-dialog .ui-dialog-title {
    color: #000000 !important;
    padding: 0px;
    margin: 0px;
    margin-top: -4px;
    font-size: 1.2em;
    margin-bottom: 6px;
}

.ui-dialog .ui-widget-content {
    color: #000000 !important;
}

/* Map Tool - Colours */
.tool-panel .tool-button.ItemActive.olButton.flash {
    border-color: #2b592b;
}

/* Title colours */
h1 {
    color: #595959;
}

/* Bootstrap overrides */
.form-control {
    height: auto;
}

/* Map Popups */
.ol-popup {
    border-radius: 2px !important;
}

#popup-content h3.heading, .info-popup-data h3.heading {
    background-color: #595959;
    padding: 0px;
    color: #ffffff;
    padding-left: 2px;
    padding-top: 2px;
    padding-bottom: 1px;
    font-size: 1.1em;
    font-weight: bold;
    line-height: 1.8em;
    padding-right: 2px;
    padding-left: 5px;
}

/* Task Panel */
.task-panel {
    overflow: hidden;
    /*min-width: 71em;*/
}

    .task-panel .control-row {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
    }

        .task-panel .control-row input {
            width: 100%;
        }

/* Test Form Links */
.test-form-links {
}

    .test-form-links .btn {
        margin-bottom: 10px;
    }

.version-control a, .version-control a:hover, .version-control a:visited {
    color: #196A1C;
}

.footer .footer-site-information {
    margin-top: 0px; /* Default 20px */
}

.footer .container-fluid {
    padding: 0px;
    margin-top: 0px;
}

.footer .footer-logo {
    width: 100%;
    text-align: right;
}

    .footer .footer-logo input {
        width: 150px;
    }

/* Dialog forms */
.ui-dialog .ui-widget-content {
    color: #595959;
}

.ui-dialog .ui-widget-header {
    border: 0px;
    background-image: none;
    background-color: #f9f9f9;
    color: #222222;
}

.ui-dialog .ui-corner-all {
    border-radius: 2px !important;
}

.outer-wrap {
    width: 100%;
    padding: 0;
    background-color: rgb(232, 232, 232);
}

.main-wrap {
    max-width: 1140px;
}

.user-control {
    background-color: rgba(255,255,255,.8);
}

/* OL Map Controls */
.ol-control button {
    background-color: rgba(150, 150, 150,.8);
}

    .ol-control button:focus, .ol-control button:hover {
        text-decoration: none;
        background-color: rgba(150, 150, 150,1);
    }

.ol-zoomslider-thumb {
    background-color: rgba(150, 150, 150,.8);
}

.ol-scale-line {
    background-color: rgba(150, 150, 150,.8);
}

.map-div {
    border: 1px solid #000000;
}

#search_bar {
    width: 20em;
    float: right;
    margin-top: 24px
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #2266FF;
    border-color: #2266FF;
}

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.header {
    background-color: #233c7f;
    padding-bottom: 15px;
    height: 10em;
}

.header-logo {
    max-width: 100%;
    border: 0;
    float: left;
}

.footer {
    /* background-color: #737ca1;*/
    padding-bottom: 0;
    margin-top: 0;
    padding-right: 0;
    padding-left: 0;
}

.footer-area {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
}

.footer-content {
    padding-top: 10px;
    padding-bottom: 20px;
    background-color: #2c3777;
    min-height: 120px;
    padding-left: 100px;
}

.footer-links-container {
    margin-right: 25px;
    margin-bottom: 20px;
}

    .footer-links-container > div {
        padding-top: 10px;
    }

        .footer-links-container > div > ul {
            margin-top: 0;
            margin-bottom: 10px;
            padding-left: 0;
            list-style: none;
            float: left;
        }

            .footer-links-container > div > ul > li {
                float: left;
                margin-right: 25px;
            }

                .footer-links-container > div > ul > li > a {
                    text-decoration: underline;
                    color: #fff;
                }

        .footer-links-container > div > div {
            float: right;
            padding-right: 55px;
            padding-top: 30px;
        }

            .footer-links-container > div > div > a {
                margin-right: 5px;
                color: #fff;
            }

.sidebar-nav .navigation ul li a.selected-navigation, .sidebar-nav .navigation ul li a.selected-navigation:hover {
    background-color: #595959;
    text-decoration: none;
    color: #ffffff;
}

.navbar-light .navbar-nav .nav-link {
    color: #175b96;
}

    .navbar-light .navbar-nav .nav-link:active, .navbar-light .navbar-nav .nav-link:focus {
        background-color: #595959;
        text-decoration: none;
        color: #ffffff;
    }

    .navbar-light .navbar-nav .nav-link:hover {
        text-decoration: none;
        color: #175b96;
        background-color: #cccccc;
    }

.navbar-light .navbar-nav .nav-item {
    margin-bottom: 4px;
    background-color: #f9f9f9;
}

.grid-view tr.selected {
    background-color: rgb(136, 198, 136);
    color: #ffffff;
}

.grid-view.footable-details tr.selected {
    background-color: #FFFFFF;
    color: #666666;
}

.grid-view tr:hover, .grid-view tr:focus {
    background-color: rgb(156, 194, 239) !important;
}

.grid-filter .grid-filter {
    padding-bottom: 6px;
}

/* Grid paging */
.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    z-index: 3;
    color: #A7A7A6;
    background-color: #eee;
    border-color: #ddd;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #A7A7A6;
    border-color: #A7A7A6;
}

.pagination > li > a, .pagination > li > span {
    color: #A7A7A6;
}

.footable {
    border: 3px solid #A7A7A6;
}

    .footable > thead > tr > th, .footable > thead > tr > td {
        background-color: #A7A7A6;
        border: 1px solid #A7A7A6;
    }

    .footable > tfoot > tr > th, .footable > tfoot > tr > td {
        background-color: #ffffff;
        border-width: 0px;
        color: #000000;
        border-top-width: 1px;
        border-top-style: solid;
        border-top-color: #A7A7A6;
        font-weight: bold;
        padding: 2px;
    }

.grid-view td {
    border: 1px solid #ccc;
    padding: 1px;
    margin: 1px;
    text-align: left;
}

@media (max-width: 610px) {

    #search_bar {
        width: 100%;
        margin: 0px;
        padding: 0px;
        margin-bottom: 8px;
    }

    .footer {
        min-height: 0px;
    }

    .navbar-light .navbar-toggler {
        border-color: #777777;
    }

        .navbar-light .navbar-toggler .icon-bar {
            background-color: #777777;
        }

    .main-content {
        width: 100%;
    }

    .task-panel .control-row {
        display: block;
    }
}

@media (min-width: 0px) and (max-width: 452px) {
}

@media (min-width: 453px) and (max-width: 480px) {
}

@media (min-width: 481px) and (max-width: 609px) {
}
