﻿/* latin-ext */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qNq7lqDY.woff2) format('woff2');
    unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v11/6xK3dSBYKcSV-LCoeQqfX1RYOo3qOK7l.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
    background-color: #ffffff;
    background-position-x: right;
    background-position-y: bottom;
    background-repeat: repeat-x;
    background-attachment: fixed;
    font-family: Arial,Helvetica,sans-serif;
}

/* Dialog modal backdrop */
.ui-widget-overlay {
    background-color: #000000;
    background-image: none;
    opacity: .5;
    filter: Alpha(Opacity=30);
}

/* Form photo upload control */
.fileupload-expanded {
    height: 150px;
    background-color: #f2f2f2;
}

.file-upload-instructions {
    background-color: #ffffff;
    display: block;
    margin-left: -6px;
    font-size: 0.9em;
    vertical-align: middle;
    line-height: 2em;
    padding-top: 3px;
    color: #000000;
}

/* This class needs to be resized if a photo is added. It will need to be form specific to prevent all expanding */
.file-upload-control-frame {
    /* display: block; */
    border: none;
    overflow: hidden;
    display: block;
    /* height: 0px; */
    min-height: 40px;
    height: 150px;
}

.fileUploadTableContainer {
    height: auto;
    overflow-y: auto;
    background-color: #ffffff;
    max-height: 110px; /* Max height before scroll bars */
}

.file-upload-control {
    background-color: #ffffff;
    display: block;
    height: 4em;
    clear: both;
    float: left;
    width: 100%;
    min-height: 0px;
}

.multi-file-upload {
    display: block;
    border: none;
    overflow: hidden;
    min-height: 35px;
    background-color: #ffffff;
    display: inline-block;
    width: 100%;
    height: auto;
    min-height: 35px;
}

    .multi-file-upload body {
        background-color: #ffffff;
        background-image: none;
        height: auto;
        display: inline-block;
        width: 100%;
    }

/* 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;
}

.popup-form hr {
    margin-bottom: 0px;
}

.popup-form p.required-fields {
}

.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;
}

.form-control-label {
    font-size: 80%;
}

.popup-form .form-group.row {
    margin-top: 0;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 6px;
    color: #000000;
}

    .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;
}

.form-group.row .CAMSWebErrMsg {
    color: #ff0000;
    font-weight: bold;
    font-size: 1.1em;
    line-height: 1.1em;
    vertical-align: baseline;
    padding-left: 2px;
    padding-top: 5px;
    display: block;
    float: left;
}

.popup-form input[type=text], .popup-form textarea, .popup-form select {
    /*min-width: 24em !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 input[type=checkbox] {
    -ms-transform: scale(2);
    -moz-transform: scale(2);
    -webkit-transform: scale(2);
    -o-transform: scale(2);
    margin-left: 7px;
}

/* 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 {
    width: 100%;
}

    .version-control a, .version-control a:hover, .version-control a:visited {
        color: #196A1C;
    }

.footer .footer-site-information {
    margin-top: 0px; /* Default 20px */
}

/* 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;
}

.main-wrap {
    /*width: 100%;*/
}

.outer-wrap {
    width: 100%;
    min-width:100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
    background-color: rgba(255,255,255,.5);
}

.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;
}

.panel-primary > .panel-heading {
    color: #fff;
    background-color: #2266FF;
    border-color: #2266FF;
}

.header-container {
    width: 100%;
    background-color: #305566;
}

.header {
    height: auto;
    padding-bottom: 5px;
    width: 100%;
    margin: auto;
    background-color: #305566;
}

.skipnav {
}

.tophead {
    padding: 3px;
    height: 65px !important;
    position: relative;
}

.burgerbar {
    display: none;
}

.logo-r1 {
    padding: 5px 5px 15px 5px;
}

.logo-r2 {
    display: none;
}

.footer {
    font-size: 20px;
    padding: 30px;
    height: auto;
    width: 100%;
    min-width: 100%;
    margin: auto;
    background-color: #305566;
    margin-bottom: 0;
    position: absolute;
}

.footer-sm {
    text-align: center;
}

    .footer-sm a {
        color: #4b788d;
        text-decoration: none;
    }

.footer .displaynone {
    display: none;
}

.foot-txt, .foot-txt a {
    font-size: 16px;
    color: #ffffff;
    font-family: Source Sans Pro;
}

    .foot-txt a:hover {
        color: #4b788d;
    }

.footer-links {
    margin: 0 auto;
    font-family: Source Sans Pro;
    font-size: 16px;
    text-align: center;
    color: #ffffff;
}

    .footer-links a {
        display: inline-block;
        font-size: 16px;
        color: #ffffff;
        font-family: Source Sans Pro;
        text-decoration: none;
        padding: 10px;
    }

.map-legend-toggle {
    background-color: #595959;
}

    .map-legend-toggle:active {
        color: #ffffff;
        background-color: #000000;
    }

    .map-legend-toggle:focus {
        color: #ffffff;
        background-color: #000000;
    }

    .map-legend-toggle:hover {
        color: #ffffff;
        background-color: #000000;
    }

.sidebar-nav .navigation ul li a.selected-navigation, .sidebar-nav .navigation ul li a.selected-navigation:hover {
    background-color: #fdd26c;
}

.sidebar-nav .navigation ul li a {
    font-family: Source sans pro;
    font-size: 21px;
    color: Black;
    display: block;
    text-decoration: none;
    width: auto;
    background: none;
    border-bottom: 2px solid #e8e8e8;
    margin-left: 0;
    padding: 5px 0 7px 15px;
    text-decoration: none;
}

    .sidebar-nav .navigation ul li a:active, .sidebar-nav .navigation ul li a:focus {
    }

    .sidebar-nav .navigation ul li a:hover {
        text-decoration: underline;
    }

.standard-button, a.standard-button, .btn:not(.close-button):not(.map-legend-toggle), .popup-form a.btn.btn-default {
    cursor: pointer;
    position: relative;
    text-align: center;
    border-color: #770d55;
    border: 1px solid #b7b7b7;
    background-color: #e7e7e7;
    color: #305567;
    text-decoration: none;
    font-family: source sans pro;
}

    .standard-button, a.standard-button, .btn:not(.close-button):not(.map-legend-toggle):not(.btn-xs), .popup-form a.btn.btn-default.btn-xs {
        padding: 7px 7px 7px 8px;
        font-size: 20px;
        line-height: normal;
        border-radius: 5px;
        margin: 5px 0px;
    }

        a.standard-button:active, a.standard-button:visited, a.standard-button:link {
            color: #305567;
        }

        .standard-button:hover, a.standard-button:hover, .btn:not(.close-button):not(.map-legend-toggle):hover, .popup-form a.btn.btn-default:hover {
            text-decoration: underline;
        }

a.button-right {
    text-decoration: none;
}

.grid-view {
    font-size: 1em;
    color: #666666;
}

    .grid-view tr.selected {
        background-color: rgb(136, 198, 136) !important;
        color: #ffffff;
    }

    .grid-view tr:hover {
        background-color: rgb(156, 194, 239) !important;
    }

/* 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) {

    .main-wrap {
        width: 100%;
    }

    .navbar-default .navbar-toggle {
        border-color: #777777;
    }

        .navbar-default .navbar-toggle .icon-bar {
            background-color: #777777;
        }

    .main-content {
        width: 100%;
    }

    .task-panel .control-row {
        display: block;
    }
}

@media (min-width: 0px) and (max-width: 452px) {
    .logo-r1 {
        display: none;
    }

    .logo-r2 {
        display: block;
        padding: 5px;
    }

    .skipnav {
        margin-bottom: 23px;
    }

    .foot-txt {
        display: none;
    }

    .main-content {
        width: 74%;
    }
}

@media (min-width: 453px) and (max-width: 480px) {
    .main-content {
        width: 74%;
    }
}

@media (min-width: 481px) and (max-width: 609px) {
    .main-content {
        width: 74%;
    }
}


/* Bootstrap Breakpoints */
/* Extra small devices (portrait phones, less than 34em) */
/* No media query since this is the default in Bootstrap */

/* XS */
#popup-content {
    min-width: 180px;
    max-height: 345px;
    /*height: 345px;*/ /* If we fix height autpoPan height is correct */
}


/* Small devices (landscape phones, 34em and up) */
@media (min-width: 34em) {
    #popup-content {
        min-width: 200px;
        max-height: 345px;
    }
}
/* Medium devices (tablets, 48em and up) */
@media (min-width: 48em) {
    #popup-content {
        min-width: 380px;
        max-height: 345px;
    }
}
/* Large devices (desktops, 62em and up) */
@media (min-width: 62em) {
    #popup-content {
        min-width: 380px;
        max-height: 345px;
    }
}
/* Extra large devices (large desktops, 75em and up) */
@media (min-width: 75em) {
    .sidebar-nav {
        max-width: 240px;
    }

    .user-control {
        background-color: #f9f9f9;
        max-width: 240px;
    }

    .main-content {
    }

    .version-control {
        width: 1170px;
        margin: 10px auto 0 auto;
    }
}

@media (min-width: 1200px) and (max-width: 1316px) {
    .main-content {
        margin-left: 21%;
    }
}
