﻿﻿ /* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    /*color: #0366d6;*/
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.nav-link {
    font-weight: bold;
    color: #FFFFFF !important;
}

    .nav-link:hover {
        color: #7FFFD4 !important;
    }

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 0px;
}

.footer {
    /*position: absolute;*/
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 40px; /* Vertically center the text there */
    text-align: center;
    float: left;
}

.container {
    padding-left: 0px;
    padding-right: 0px;
}




/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 5px;
    padding-right: 5px;
}

/* 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[type=text],
select,
textarea {
    /*max-width: 280px;*/
    width: 250px;
}

#tabsHeader ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#tabsHeader li {
    float: left;
    border: 1px solid #999;
    border-bottom-width: 0;
    margin: 3px 3px 0px 3px;
    padding: 5px 5px 2px 5px;
    background-color: whitesmoke;
    color: #333;
    cursor: pointer;
}

#tabView {
    border: 1px solid #999;
    clear: both;
    background-color: white;
    padding: 0 1em;
}

#tabsHeader .active {
    background-color: #FFF;
    color: #000;
}

.dgrid-content {
    background: white !important;
}


@media (min-width: 2000px) {
    .iFrameClass {
        width: 100%;
        height: 90vh;
        border: none;
    }
}

@media (min-width: 1600px) and (max-width: 2000px) {
    .iFrameClass {
        width: 100%;
        height: 90vh;
        border: none;
    }
}

@media (max-width: 1600px) {
    .iFrameClass {
        width: 100%;
        height: 90vh;
        border: none;
    }
}


@media (min-width: 2000px) {
    .mapDisplay {
        width: 100%;
        min-height: 1100px;
    }
}

@media (min-width: 1600px) and (max-width: 2000px) {
    .mapDisplay {
        width: 100%;
        min-height: 800px;
    }
}

@media (max-width: 1600px) {
    .mapDisplay {
        width: 100%;
        min-height: 600px;
    }
}


@media (min-width: 2000px) {
    .gridDataUpdate {
        width: 100%;
        min-height: 1000px;
        font-size: 11px;
    }
}

@media (min-width: 1600px) and (max-width: 2000px) {
    .gridDataUpdate {
        width: 100%;
        min-height: 650px;
        font-size: 11px;
    }
}

@media (max-width: 1600px) {
    .gridDataUpdate {
        width: 100%;
        min-height: 400px;
        font-size: 11px;
    }
}


@media (min-width: 2000px) {
    .gridDocuments {
        width: 100%;
        min-height: 1000px;
    }
}

@media (min-width: 1600px) and (max-width: 2000px) {
    .gridDocuments {
        width: 100%;
        min-height: 650px;
    }
}

@media (max-width: 1600px) {
    .gridDocuments {
        width: 100%;
        min-height: 400px;
    }
}


@media (min-width: 2000px) {
    .gridDataDownload {
        width: 100%;
        min-height: 500px;
    }
}

@media (min-width: 1600px) and (max-width: 2000px) {
    .gridDataDownload {
        width: 100%;
        min-height: 500px;
    }
}

@media (max-width: 1600px) {
    .gridDataDownload {
        width: 100%;
        min-height: 400px;
    }
}

.cell-editable {
    color: #008800;
}

a, a:visited {
    color: #555555;
}

    a:hover {
        color: black;
    }

.detailsContainer {
    font-size: 12px !important;
    padding-bottom: 20px;
}

.gridDataDownload.detailsContainer {
    font-size: 12px !important;
    padding-bottom: 0px !important;
}

.detailsContainerGrid {
    margin-left: 0;
    margin-right: 0;
    border-top: 1px solid #ccc;
}

.detailsContainerRow {
    margin-left: 0;
    margin-right: 0;
    border: 1px solid #ccc;
    border-top: none;
}

.imagesContainer {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 10px;
    border-top: 1px solid #ccc;
    min-height: 50px;
}

.gridRow {
    padding: 5px;
    background-color: white;
    text-wrap: normal;
    word-break: break-word;
}

.altGridRow {
    padding: 5px;
    background-color: whitesmoke;
    text-wrap: normal;
    word-break: break-word;
}

.modal-dialog {
    left: 0px;
    position: relative;
    display: table;
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
}

.gridOrganisations {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveys {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViews {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewFilterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableFilterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewParameterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableParameterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableDataUpdateColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewDataUpdateColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailablePhotoColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewPhotoColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewMapSeriesColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableMapSeriesColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableReports {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewReports {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridMapPointColors {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridMapLayers {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewFilterColumnLayers {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.inputWide1 {
    max-width: 350px !important;
    width: 350px !important;
    border: 1px solid lightgray;
}

.inputWide2 {
    max-width: 250px !important;
    width: 250px !important;
}

.inputWide3 {
    max-width: 550px !important;
    width: 100% !important;
}

.loginBox {
    background-color: white;
    padding: 20px;
}

.contentBox {
    background-color: white;
    padding: 20px;
}

.ui-grid-viewport {
    overflow-anchor: none;
}

.ui-grid-draggable-row-target {
    opacity: 0.5 !important;
}

.ui-grid-draggable-row {
    height: 30px;
}

.ui-grid-draggable-row-over {
    position: relative;
}

    .ui-grid-draggable-row-over:before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        width: 100%;
        border-bottom: 1px dotted #ccc;
    }

.ui-grid-draggable-row-over--above:before {
    top: 0;
}

.ui-grid-draggable-row-over--below:before {
    bottom: 0;
}

.gridUsers {
    width: 100%;
    font-size: 11px;
    height: 400px;
}

.gridUserOrganisations {
    width: 100%;
    font-size: 11px;
    height: 400px;
}

.checkbox {
    margin-top: 0px !important;
    width: auto;
}

h5 {
    font-weight: bold;
}

.login-field {
    max-width: 300px;
}


.navbar-collapse {
    /*background-color: #333;*/
    justify-content: unset !important;
}

.navbar-inverse .navbar-nav > li > a {
    color: #fff;
}

@media (min-width: 768px) {
    .navbar-collapse {
        /*background-color: #fff;*/
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #333;
    }
}

@media (max-width: 769px) {
    .navbar-collapse {
        margin-top: 50px;
        /*background-color: #fff;*/
    }

    .navbar-inverse .navbar-nav > li > a {
        color: #333;
    }
}

.checkboxList {
    font-weight: normal !important;
    width: auto !important;
}

.ui-grid-cell-contents {
    cursor: pointer;
}

.md-datepicker-input {
    width: 130px !important;
}

.gridSurveyViewForms {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridAvailableForms {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewFormLookups {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridDashboards {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

input {
    border: solid 1px #ccc;
}

.button {
    margin-top: 10px;
    margin-bottom: 10px;
}

button, input[type=submit], input[type=button] {
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;
    color: #fff;
    background-color: #207fbe;
    border-color: #333;
    border-radius: 3px;
    font-size: 12px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

    button:hover, input[type=submit]:hover, input[type=button]:hover {
        color: #333;
        background-color: #7FFFD4;
        border: 1px solid gray;
    }






/***************/
/* FANCY TABS */
/**************/



*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}


/*Fun begins*/
.tab_container {
    width: 100%;
    margin: 0 auto;
    padding-top: 0px;
    position: relative;
}

    .tab_container .tabRadio, .tab_container section {
        clear: both;
        padding-top: 10px;
        display: none;
    }

    .tab_container .tabLabel:hover {
        background-color: rgba(255,255,255,0.25);
        box-shadow: inset 0 3px rgba(0,0,0,0.1);
    }

    .tab_container .tabLabel {
        font-weight: 700;
        font-size: 14px;
        display: block;
        float: left;
        width: 12.5%;
        padding: 0.3em;
        color: #888;
        cursor: pointer;
        text-decoration: none;
        text-align: center;
        background: #f0f0f0;
        margin-bottom: 0px;
    }

/*#tab1:checked ~ #content1,
#tab2:checked ~ #content2,
#tab3:checked ~ #content3,
#tab4:checked ~ #content4,
#tab5:checked ~ #content5,
#tab6:checked ~ #content6,
#tab7:checked ~ #content7,
#tab8:checked ~ #content8 {
    display: block;
    padding: 20px;
    background: #fff;*/
    /*color: #999;*/
    /*border-bottom: 2px solid #f0f0f0;
}*/

/*
#tab1:checked + .tab_container #content1,
#tab2:checked + .tab_container #content2,
#tab3:checked + .tab_container #content3,
#tab4:checked + .tab_container #content4,
#tab5:checked + .tab_container #content5,
#tab6:checked + .tab_container #content6,
#tab7:checked + .tab_container #content7,
#tab8:checked + .tab_container #content8
*/

#divSidebar:has(#tab1:checked) + #divContentPane #content1,
#divSidebar:has(#tab2:checked) + #divContentPane #content2,
#divSidebar:has(#tab3:checked) + #divContentPane #content3,
#divSidebar:has(#tab4:checked) + #divContentPane #content4,
#divSidebar:has(#tab5:checked) + #divContentPane #content5,
#divSidebar:has(#tab6:checked) + #divContentPane #content6,
#divSidebar:has(#tab7:checked) + #divContentPane #content7,
#divSidebar:has(#tab8:checked) + #divContentPane #content8 {
    display: block;
    padding: 20px;
    background: #fff;
    /*color: #999;*/
    border-bottom: 2px solid #f0f0f0;
}

.navbar > .container, .navbar > .container-fluid {
    display:inline!important;
}

.navbar-toggler {
    float: right;
    margin-top: 5px;
    margin-bottom: 5px;
}

.tab_container .tab-content h3 {
    text-align: center;
}

.tab_container [id^="tab"]:checked + label {
    background: #fff;
    box-shadow: inset 0 3px #207fbe;
}

    .tab_container [id^="tab"]:checked + label .fa {
        color: #207fbe;
    }

.tab_container label .fa {
    font-size: 1.3em;
    margin: 0 0.4em 0 0;
}

/*Media query*/
@media only screen and (max-width: 930px) {
    .tab_container label span {
        font-size: 13px;
    }

    .tab_container label .fa {
        font-size: 14px;
    }
}

@media only screen and (max-width: 768px) {
    .tab_container label span {
        display: none;
    }

    .tab_container label .fa {
        font-size: 16px;
    }

    .tab_container {
        width: 98%;
    }
}

/*Content Animation*/
/*@keyframes fadeInScale {
  0% {
  	transform: scale(0.99);
  	opacity: 0;
  }
  
  100% {
  	transform: scale(1);
  	opacity: 1;
  }
}*/



/*************************************/


input.e-input, textarea.e-input, .e-input-group, .e-input-group.e-control-wrapper {
    font-size: 12px !important;
}


#legend {
    position: relative;
    height: 40px;
    margin-top: 10px;
}

#legendGradient {
    width: 100%;
    height: 15px;
    border: 1px solid black;
}




.customSelectList {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

    .customSelectList select {
        background-color: #fff;
        color: black;
        padding: 5px;
        width: 250px;
        border: none;
        font-size: 14px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
        -webkit-appearance: button;
        appearance: button;
        outline: none;
        /* for Firefox */
        -moz-appearance: none;
        /* for Chrome */
        -webkit-appearance: none;
    }

        /* For IE10 */
        .customSelectList select::-ms-expand {
            display: none;
        }

    .customSelectList::before {
        content: "\f13a";
        font-family: FontAwesome;
        position: absolute;
        top: 0;
        right: 0;
        width: 20%;
        height: 100%;
        text-align: center;
        font-size: 18px;
        line-height: 30px;
        color: rgba(0, 0, 0, 0.5);
        background-color: rgba(255, 255, 255, 0.1);
        pointer-events: none;
    }

    .customSelectList:hover::before {
        color: rgba(0, 0, 0, 0.9);
        font-size: 20px;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .customSelectList select option {
        padding: 5px;
    }

.dropdown { /*, select {*/
    background-color: #fff;
    border: none;
    border: solid 1px #ccc;
    font-size: 13px;
    /*box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);*/
    /*-webkit-appearance: button;*/
    /*appearance: button;*/
    outline: none;
    padding: 6px;
    /*min-width: 320px;*/
    max-width: 350px;
    width: 100% !important;
}

select {
    border: solid 1px #ccc;
    padding: 6px;
}



.checkbox {
    margin-top: 0px !important;
    width: auto;
}

h4, h5 {
    font-weight: bold;
    margin-bottom: 5px;
}


#bodyContainer {
    font-size: 13px;
}

.md-button.md-icon-button {
    width: 30px !important;
    margin: 0px !important;
}

.md-datepicker-input {
    font-size: 12px !important;
}

.md-datepicker-triangle-button.md-button.md-icon-button {
    margin-right: 10px !important;
}

@media (max-width: 767px) {
    .navbar-brand {
        max-width: 70%;
        padding: 0px;
    }

    .login-links {
        width: 100%;
        text-align: left;
    }

    .login-link {
        padding-top: 7px;
        padding-left: 10px;
    }

    .nav-link {
        padding-left: 10px !important;
    }
}

@media (min-width: 768px) {
    .login-links {
        width: 100%;
        text-align: right;
    }

    .login-link {
        padding-top: 7px;
        padding-left: 10px;
    }
}

.btn-xs {
    font-size: 10px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    padding: 3px !important;
}

.radio, .checkbox {
    display: inline !important;
}

label {
    font-weight: unset !important;
}

.input-sm {
    font-size: 13px;
}

.tabLabel {
    font-weight: bold !important;
}

.btn-default .caret {
    display: none;
}

.dropdown-menu {
    font-size: 13px !important;
}

.dropdown-multiselect .btn {
    font-size: 13px !important;
    border: solid 1px #ccc;
    text-align: left;
    margin-top: 0px !important;
}

.fade {
    opacity: 100;
}

.form-control {
    font-size: 13px !important;
}

.dropdown-header {
    padding: 0px;
    padding-left: 10px;
    padding-right: 10px;
}

.progress-bar {
    background-color: #207fbe !important;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: #eee;
}

.fa-select {
    font-family: Arial, 'FontAwesome';
    font-weight: 500;
}

.gridAvailablePreFilterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.gridSurveyViewPreFilterColumns {
    width: 100%;
    font-size: 11px;
    height: 500px;
}

.align-center {
    text-align: center;
}

div.ui-grid-cell input[type="checkbox"] {
    margin: 8px 0 0 0 !important;
    width: 15px;
    height: 15px;
}

.text-blue {
    color: #207fbe;
}

.bg-blue {
    background-color: #207fbe !important;
}

.navbar {
    border-radius: 0px !important;
}



#divSidebar:hover {
    width: 150px !important;
}

    #divSidebar:hover + #divContentPane {
        width: calc(100% - 150px) !important;
    }

    #divSidebar:hover .sidebarLabel {
        display: inline !important;
    }


#divSidebar {
    transition: width 0.5s;
}

#divContentPane {
    transition: width 0.5s;
}


@media only screen and (max-width: 768px) {

    #divSidebar {
        width: 0px;
        height: 100vh;
    }

    #divContentPane {
        width: 100%;
    }

    #btnToggleSideMenu {
        display: block;
        font-size: 25px;
        padding: 5px;
        color: white;
        background-color: #69adcf;
        margin: 5px;
        margin-left: 0px;
        float: left;
        position: fixed;
        top: 3px;
        left: 0px;
        z-index: 9999;
        opacity: 0.7;
        cursor: pointer;
    }

    .sidebarLabel {
        display: inline !important;
        position: absolute;
        margin-top: 8px;
        white-space: nowrap;
    }
}

@media only screen and (min-width: 769px) {

    #divSidebar {
        width: 40px;
        height: 100vh;
    }

    #divContentPane {
        width: calc(100% - 40px);
    }

    #btnToggleSideMenu {
        display: none;
    }

    .sidebarLabel {
        display: none !important;
        position: absolute;
        margin-top: 8px;
        white-space: nowrap;
    }
}

/*
@media (max-width: 576px) {
    .navbar-nav {
        margin-top: 60px;
    }
}
*/

.dropdown-menu > li > a {
	cursor:pointer!important;
}