main > .container-lg {
    padding: 80px 15px 15px 0;
}



.nav-pills .nav-link {
    border-radius: 0;
    background-color: ghostwhite;
    color: dimgray;
    margin: 0;
    padding: 10px 15px;
    border-style: solid;
    border-color: ghostwhite;
    border-width: 2px 0 0 0;
}

.nav-pills .nav-link.active,
.nav-pills .nav-link:hover,
.nav-pills a.nav-link.active:focus {
    background-color: white;
    color: #b81514;
    border-style: solid;
    border-color: #b81514;
    border-width: 2px 0 0 0;
}

.nav-pills .nav-link.active {
    position: relative;
}

.nav-pills .nav-link.active::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b81514; /* Color of the top border */
}



html,
body,
ul { /* ul to be help-block full left */
    margin:0;
    padding:0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    /*font: normal 14px 'Ubuntu', Arial, sans-serif; !* no color def for form! *!*/
    line-height: 21px;
}

/*a.navbar-brand span {*/
/*    display: block;*/
/*    text-indent: -9999px;*/
/*    width: 128px;*/
/*    height: 37px;*/
/*    background-image: url(../img/kern-elektronik.svg);*/
/*    background-size: 128px 37px;*/
/*}*/

a.navbar-brand span {
    display: block;
    text-indent: -9999px;
    width: 128px;
    height: 48px;
    background-image: url(../img/cmyk_KERN_HYDRO.png);
    background-size: 128px 48px;
}

h4 {
    color: #b81514;
    border-style: solid;
    border-bottom-style: none;
    border-left-style: none;
    border-right-style: none;
    border-top-width: 2px;
    font-size: 16px;
}

h3 {
    color: #b81514;
    font-size: 16px;
}

.extra-padding-top {
    padding-top: 3px;
}

.margin-10 {
    margin-bottom: 10px;
}

.margin-20 {
    margin-bottom: 20px;
}

.margin-30 {
    margin-bottom: 30px;
}

.margin-50 {
    margin-bottom: 50px;
}

.detailtitlerow {
    background-color: #b81514;
    color: white;
    font-size: 16px;
}

.tableheader {
    font-size: 12px;
}
.tableheader .th-inner {
    padding: 3px !important;
}

#csvExportLlink {
    margin-top: 3px;
}

#hydrographDataTable td {
    padding: 3px;
}

a.disabled {
    /* Make the disabled links grayish*/
    color: gray;
    /* And disable the pointer events */
    pointer-events: none;
}

.overview-title {
    font-size: 18px;
}

#numberOfStations {
    color: #b81514;
    font-size: 12px;
    padding-left: 11px;
}

#searchTokens {
    border-left-style: none;
    border-left-color: white;
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    border-right-style: none;
    border-right-color: white;
    border-top-style: none;
    border-top-color: white;
    color: black;
    border-bottom-color: black;
}

#error-alert {
    width: 100%;
    position: fixed;
    margin-top: 0;
    z-index: 99999;
    display: none;
    text-align: center;
    font-size: large;
}

#success-alert {
    width: 100%;
    position: fixed;
    margin-top: 0;
    z-index: 99999;
    display: none;
    text-align: center;
    font-size: large;
}

a {
    color: #b81514;
}
a:link { text-decoration: none; }
a:visited { text-decoration: none; }
a:hover { color: darkred; }
a:active { text-decoration: none; }

#dataTableDateSelector {
    color: #b81514;
}

.black-link {
    color: black;
}

.map-list-link {
    color: black;
}

.hydrograph-dropdown {
    padding-top: 0px;
    border: 0;
}

.map-and-list-dropdown {
    padding-top: 0px;
    border: 0;
    padding-left: 0px;
}

.map-and-list-dropdown:focus {
    outline: none;
    box-shadow: none;
}

/* disable selection border around dropdown */
#hydrographDropDown:focus {
    outline: none;
    box-shadow: none;
}

.hydrographPlot {
    height: 414px;
}

.rssiPlot {
    height: 250px;
}

.warning-symbol {
    margin-top: -4px;
}

.warning-symbol-link {
    color: yellow;
}
.warning-symbol-link:hover {
    color: orange;
}

.mc3id-alert {
    padding-top: 8px;
    padding-bottom: 8px;
}

.mc3id-alert-close {
    padding-top: 2px !important;
}

#search-button {
    display: none;
}

/* RSSI color classes */
.rssi_poor {
    color: red;
}
.rssi_fair {
    color: orange;
}
.rssi_good {
    color: green;
}
.rssi_excellent {
    color: green;
}

/* firmware color classes */
.firmware-latest {
    color: green;
}
.firmware-update-available {
    color: red;
}
.firmware-update-inprogress {
    color: orange;
}

/* last seen color classes */
.seen-good {
    color: green;
}
.seen-medium {
    color: orange;
}
.seen-bad {
    color: red;
}

@media only screen and (max-width: 767px) {
    .img-fluid {
        max-width: 100%;
        height: auto;
    }
}

@media only screen and (min-width: 768px) {
    .img-fluid {
        max-width: 100%;
        height: 200px;
    }
}

@media screen and (min-width: 0px) and (max-width: 1199px) {
    .hide-on-tablet { display: none;}
}

@media screen and (min-width: 1200px) {
    .hide-on-pc { display: none;}
}

/****************************/
/* Project CSS rules        */
/****************************/
.project-edit-button, .project-edit-button:active, .project-edit-button:hover, .project-edit-button:focus {
    color: white;
    padding: 0;
    border-style: none;
    box-shadow: 0 0 0 0;
}

.table-bordered>:not(caption)>* {
    border-top-style: none;
}

.project-create-cancel-button {
    font-size: 14px;
}

/****************************/
/* Override Bootstrap rules */
/****************************/
.card-no-border {
    border: 0px;
}

.card-header {
    background-color: #b81514;
    color: white;
    font-size: 16px;
}

.card-header-disabled {
    opacity: 0.5;
}

.card-header:hover {
    cursor: pointer;
}

.card-body {
    padding-top: 10px;
    padding-bottom: 5px;
}

.shadow {
    /*box-shadow: 0 0.1rem 0.3rem rgba(0,0,0,0.65)!important;*/
}


.btn-primary {
    color: #fff;
    background-color: #b81514;
    border-color: #b81514;
    /*border-radius: 0px;*/
    font-size: 14px;
}

.btn-primary:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #C27170FF;
    border-color: #C27170FF;
}

.btn-primary:focus {
    color: #ffffff;
    text-decoration: none;
    background-color: #C27170FF;
    border-color: #b81514;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(184, 21, 20, 0.3);
}

.form-control:focus {
    border-color: #b81514;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(184, 21, 20, 0.3);
}

.form-switch {
    padding-left: 3.1em;
}

/***************************/
/* Override select2 colors */
/***************************/
.select2-container--bootstrap-5.select2-container--focus .select2-selection, .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #b81514;
    box-shadow: 0 0 0 0.25rem rgba(184, 21, 20, 0.3);
}

.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
    border-color: #b81514;
    box-shadow: 0 0 0 0.25rem rgba(184, 21, 20, 0.3);
}

.select2-container--bootstrap-5.select2-container--disabled .select2-selection, .select2-container--bootstrap-5.select2-container--disabled.select2-container--focus .select2-selection {
    color: #6c757d;
    cursor: not-allowed;
    background-color: #e9ecef;
    border-color: #ced4da;
    box-shadow: none;
}

.is-valid + .select2-container--bootstrap-5.select2-container--focus .select2-selection, .is-valid + .select2-container--bootstrap-5.select2-container--open .select2-selection, .was-validated select:valid + .select2-container--bootstrap-5.select2-container--focus .select2-selection, .was-validated select:valid + .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #198754;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25);
}

.is-invalid + .select2-container--bootstrap-5.select2-container--focus .select2-selection, .is-invalid + .select2-container--bootstrap-5.select2-container--open .select2-selection, .was-validated select:invalid + .select2-container--bootstrap-5.select2-container--focus .select2-selection, .was-validated select:invalid + .select2-container--bootstrap-5.select2-container--open .select2-selection {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/****************************/
/* Overriding jconfirm css  */
/****************************/
@-webkit-keyframes type-kern {
    1%,100% {
        border-color: #dc3545;
    }

    50% {
        border-color: #dc3545;
    }
}

@keyframes type-kern {
    1%,100% {
        border-color: #dc3545;
    }

    50% {
        border-color: #dc3545;
    }
}

.jconfirm .jconfirm-box.jconfirm-type-kern {
    border-top: solid 7px #dc3545;
    -webkit-animation-name: type-kern;
    animation-name: type-kern
}

.jconfirm .jconfirm-box.jconfirm-type-kern .jconfirm-title-c .jconfirm-icon-c {
    color: #dc3545 !important
}

.jconfirm.jconfirm-supervan .jconfirm-box.jconfirm-type-kern {
    border: 0
}

.btn-red {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: white;
}

/**********************************/
/* Override Bootstrap table rules */
/**********************************/
.bootstrap-table .fixed-table-container .table thead th .th-inner {
    padding: 0.50rem;
    vertical-align: bottom;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

/* make the columns wider on card view */
.table tbody tr .card-view .card-view-title {
    font-weight: 700;
    display: inline-block;
    min-width: 40% !important;
    width: auto !important;
    text-align: left !important;
}