html, body {
    height: 100%;
}

@media (max-height: 700px) {
    html, body {
        height: auto;
    }
}

body {
    font-family: 'Karla', sans-serif;
    background-color: #f8f8f8 !important;
    padding-top: 0;
}

div.wrap {
    display: flex;
}

#content-wrapper {
    width: 100%;
    overflow-x: hidden;
}

#content-wrapper #site-content {
    flex: 1 0 auto;
}

.decor-image {
    background-position: 50%;
    background-size: cover;
}

.form-control {
    height: 38px;
}

form.round-fields .form-control {
    font-size: .8rem;
    border-radius: 10rem;
    padding: .5rem 1rem;
    height: 50px;
}

form.round-fields .btn,
.btn.rounded-btn {
    font-size: .8rem;
    border-radius: 10rem;
    padding: .75rem 1rem;
}

.danger {
    color: #DF1642;
}

.quick-pay-btn.btn.rounded-btn {
    font-size: 1rem;
    padding: .5rem 1rem;
}

form .form-group .checkbox {
    font-size: 80%;
    font-weight: 400;
    padding-left: 1.5rem;
    position: relative;
}

form .form-group .checkbox input[type="checkbox"]::before {
    font-family: "Font Awesome 5 Free";
    content: "\f0c8";
    font-weight: 400;
    display: inline-block;
    position: absolute;
    background-color: #fff;
    width: 16px;
}

form .form-group .checkbox input[type="checkbox"]:checked::before {
    content: "\f14a";
    font-weight: 900;
}

form .form-group .checkbox label {
    cursor: pointer;
}

.alert.form-errors > p {
    margin-bottom: 8px;
}

.alert.form-errors ul {
    margin-bottom: 0;
}

.navbar.topbar {
    padding-bottom: 0px;
    padding-top: 5px;
}

nav.navbar.sidebar {
    display: none;
}

#nav-dropdown {
    margin-top: -20px;
    width: 160%;
    box-shadow: 0 16px 24px 0 #3031331A;
}

#nav-dropdown > .nav-dropdown-header, .dropdown-item {
    padding: 5px 15px;
    line-height: normal;
}

#nav-dropdown > .dropdown-item {
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: pre-line;
}

#nav-dropdown > .dropdown-item.active {
    background-color: #FFFFFF;
}

#nav-dropdown > .dropdown-item.active i {
    color: #1E50BF;
}

.nav-dropdown-header {
    font-size: 10px;
    font-weight: 700;
    background-color: #EEEEEE;
}

.sidebar {
    min-height: 100vh;
}

.portal-title {
    font-family: 'Lora', serif;
    font-style: normal;
    font-weight: bold;
    font-size: 18px;
    line-height: 42px;
    color: #212121;
}

.topbar .navbar-brand {
    margin-right: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.sidebar .navbar-brand {
    margin-right: 0;
}

.sidebar.navbar-expand ul.navbar-nav {
    flex-direction: column;
}

.sidebar .nav-item .nav-link.active {
    color: #444444;
}

.sidebar .nav-item .nav-link {
    display: block;
    width: 14rem;
    text-align: left;
    color: #606060;
}

.nav-link:hover {
    color: #444444;
}

.nav-link:active {
    color: #FF8888 !important;
}

.nav-item:not(.button-menuswiper) {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 42px;
    position: relative;
    color: #212121;
}

.nav-link.active:not(.dropdown-toggle):after {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 10%;
    right: 10%;
    background: #1E50BF;
    height: 3px;
    border-radius: 0px 10px 10px 0px;
}

/* remove the underline active indicator*/
.sidebar .nav-link.active:not(.dropdown-toggle):after {
    content: '';
    position: absolute;
    bottom: 0%;
    left: 0%;
    right: 0%;
    background: rgba(0, 0, 0, 0);
    height: 0px;
    border-radius: 0px 0px 0px 0px;
}

/* hide the active indicator icon for non active sidebar links*/
.sidebar .nav-link:not(.active) .fa-check-circle {
    display: none;
}

/* hide nav items that spill over the closed sidebar*/
.sidebar:not(.swipedopen) .nav-item{
    display: none;
}

.customer-logo {
    height: 64px;
}

.user-dd-link .dropdown-toggle::after {
    border: 0;
}

.card-header > .btn-group,
.card-header > button {
    margin: -4px;
}

.text-blue {
    color: #1E50BF;
}

.text-gray-300 {
    color: #dddfeb !important;
}

.text-gray-800 {
    color: #5a5c69 !important;
}

.login-title {
    font-family: 'Lora', serif;
    font-size: 31px;
    line-height: 48px;
}

.ff-lora {
    font-family: 'Lora', serif;
}

.fs-14 {
    font-size: 14px!important;
}

.fs-16 {
    font-size: 16px!important;
}

.fs-18 {
    font-size: 18px!important;
}

.fs-21 {
    font-size: 21px!important;
}

.default-card {
    border-radius: 8px;
}

.default-card a {
    text-decoration: underline;
    color: #1E50BF;
}

.default-card p {
    font-size: 14px;
}

.default-card .title {
    font-size: 21px;
    font-weight: 700;
}

.default-card.no-padding .card-body {
    padding: 0;
}

.gray-container {
    background-color: #FCFCFC;
    border: 1px solid #BDBDBD;
    border-radius: 8px;
}

.total-border {
    border-top: 2px solid #C4C4C4;
}

.gray-container p {
    font-size: 18px;
}

.login-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

#login-form a {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
}

.btn-ml-primary {
    background-color: #1E50BF;
    color: #FFFFFF;
}

.btn-ml-primary:hover {
    color: #FFFFFF;
}

a.btn-ml-primary {
    color: #FFFFFF;
    text-decoration: none;
}

.border-left-primary {
    border-left: .25rem solid #12559F !important;
}

.border-left-primary .text-primary {
    color: #12559F !important;
}

.border-left-success {
    border-left: .25rem solid #0C7F40 !important;
}

.border-left-warning {
    border-left: .25rem solid #F49709 !important;
}

.border-top-dashed {
    border-top: 1px dashed #BDBDBD;
}

.default-border {
    border-top: 1px solid #EEEEEE!important;
}

.default-shadow {
    box-shadow: 0 1px 3px 0 #3031331A;
}

.text-decoration-none {
    text-decoration: none !important;
}

.current-balance {
    background-color: #EEEEEE;
    border-radius: 8px;
    font-size: 31px!important;
    font-weight: 700;
    color: #212121;
    text-align: center;
    padding: 0.5em 0.3em;
}

.date {
    font-weight: 400;
    font-size: 24px !important;
    text-align: center;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
}

.dropdown-item.active, .dropdown-item:active {
    color: #111;
    background-color: #ccc;
}

.dropdown-item .fa-check-circle {
    display: none;
}

.dropdown-item.active .fa-check-circle {
    display: inline-block;
}

.icon-list .img-thumbnail {
    margin-bottom: 12px;
    padding: 16px;
}

a.icon-link i {
    display: block;
    font-size: 94px;
}

td.action-column {
    padding: 8px;
}


.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

#paymentform-paydate:not([readonly]) {
    background-image: url("/css/fontawesome-free-5.11.2-web/svgs/regular/calendar-alt.svg");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 1.2em;
}

.button-menuswiper a {
    display: none;
    position: absolute;
    top: 0.25em;
    left: 0.25em;
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    font-size: 2em;
}

.button-menuswiper a:after {
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f0c9";
    border: 1px solid #ddd;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
}

.button-menuswiper.swipedopen a:after {
    box-shadow: inset 0 0.05em 0.05em rgba(0, 0, 0, 0.3);
    background-color: rgba(220, 220, 220, 0.1);
}

.chart-container {
    height: 276px;
    width: 500px;
}

.report-title {
    color: #000000 !important;
    text-decoration: none !important;
}

.usage-graph {
    border: none;
}

.water-reports-grid thead {
    background-color: #F5F5F5;
}

.water-reports-grid thead th {
    border-bottom: none;
}

.water-reports-grid thead th:first-of-type {
    width: 250px;
}

.water-reports-grid thead th:last-of-type {
    width: 250px;
}

.water-reports-grid tbody tr:nth-of-type(odd) {
    background-color: #FFFFFF;
}

.water-reports-grid tbody tr:nth-of-type(even) {
    background-color: #F5F5F5;
}

@media only screen and (max-width: 768px) {
    nav.navbar.sidebar {
        display: block;
    }

    .topbar .navbar-brand {
        display: none;
    }

    nav.navbar.sidebar:not(.swipedopen) {
        width: 0;
        padding: 0;
        margin: 0;
    }

    .button-menuswiper a {
        display: block;
    }

    .nav-item-hide {
        display: none;
    }
}

/* External Payment Provider Iframe layout */
.thirdPartyPaymentIframe {
    height: 550px;
    width: 100%;
    border-style: none;
}

/* Cookie Notification layout */
#cookieNotificationToast{
    visibility: hidden;
    min-width: 100%;
    background-color: #333E;
    color: #fff;
    text-align: center;
    border-radius: 7px;
    padding: 16px;
    position: fixed;
    z-index: 100;
    bottom: 0;
    font-size: 17px;
}
#cookieNotificationTextArea{
    float: left;
    padding: 5px;
}
#cookieNotificationTextArea a:link, #cookieNotificationTextArea a:visited{
    background-color: #1E50BF;
    color: #fff;
    border-radius: 7px;
    padding-left: 4px;
    padding-right: 4px;
}
#cookieNotificationButtonArea{
    float: right;
}

#adverse-message {
    padding: 5px;
}

.print-btn {
    float: right;
    margin-top: -5px;
    margin-right: -5px;
    padding: 5px;
    width: 10%;
    background-color: #FCFCFC;
    border: 1px solid #BDBDBD;
    border-top: none;
    border-right: none;
    border-radius: 0 8px 0 8px;
    cursor: pointer;
}

.print-btn.mobile {
    margin-bottom: 10px;
    width: calc(100% + 10px);
    border: none;
    border-bottom: 1px solid #BDBDBD;
    border-radius: 8px 8px 0 0;
}

@media print {
    .print-btn {
        display: none !important;
    }
}