html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
}

/* Enghouse Styling */
body {
    overflow: visible;
    height: auto;
}
body * {
    font-family: Poppins, sans-serif;
}
#content-block {
    position: relative;
}
header {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    background: #fff;
    height: 90px;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 20;
    box-shadow: 0 3px 12px 0 rgba(0,0,0,.25)
}

header+* {
    margin-top: 90px
}

header .header-inner {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    z-index: 30
}

@media screen and (min-width: 1200px) {
    header .header-inner {
        position:relative
    }
}

header .header-brand {
    -ms-flex-item-align: start;
    align-self: flex-start;
    padding: 1rem 1rem 1rem 0;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    width: 200px;
    box-sizing: border-box;
}

header .header-brand .logo-image {
    display: block;
    height: auto;
    width: 100%;
}

header .header-content {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    flex-grow: 1;
    justify-content: flex-start
}

header+.container {
    margin-bottom: 1.5rem;
    min-height: 60vh;
}

@media (min-width: 1200px) {
    .container {
        max-width:1690px
    }
}
@media (min-width: 1200px) and (max-width:1700px) {
    .container {
        padding-left:60px;
        padding-right: 30px
    }
}

@media (max-width: 1500px) {
    .h1,h1 {
        font-size:48px
    }
}

@media (max-width: 1470px) {
    blockquote {
        padding-left:70px
    }

    blockquote:before {
        left: 0
    }
}

@media (max-width: 991px) {
    .sub-title {
        font-size:18px
    }

    .h1,h1 {
        font-size: 44px
    }

    .h2,h2 {
        font-size: 38px
    }

    .title-shortcode,.title-shortcode.mb-50 {
        margin-bottom: 30px
    }

    .title-shortcode.center {
        max-width: 100%;
        text-align: left
    }

    .sm-hide {
        display: none!important
    }

    blockquote {
        font-size: 18px;
        padding-left: 30px
    }
}

@media (max-width: 767px) {
    .h1,h1 {
        font-size:37.5px
    }

    .h2,h2 {
        font-size: 27px
    }

    .h3,h3 {
        font-size: 22px
    }

    .h4,h4 {
        font-size: 20px
    }

    .h5,h5 {
        font-size: 18px
    }

    .h6,h6 {
        font-size: 16px
    }

    blockquote {
        margin: 20px 0
    }

    .title br,.xs-hide {
        display: none
    }

    .text * {
        margin-bottom: 10px
    }

    .text,.text-sm {
        font-size: 15px
    }

    .text.text-lg {
        font-size: 16.67px
    }

    .text ul li:before {
        top: 8px
    }

    .only-mob {
        display: block
    }

    .text-center.mob-left {
        text-align: left
    }

    .sub-title {
        font-size: 16px
    }

    .ul-two-column ul {
        column-count: 1;
        -webkit-column-gap: 15px;
        -moz-column-gap: 15px;
        column-gap: 15px
    }

    .title-shortcode,.title-shortcode2 {
        margin-bottom: 20px
    }

    .motto-text,.motto-text.fz16,.motto-text.fz18 {
        font-size: 15px;
        line-height: 1.15
    }
}

.container {
    max-width: 1690px;
    padding: 0 15px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    width: 100%;
}

.row {
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px
}

.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto {
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    width: 100%
}

.col {
    -ms-flex-preferred-size: 0;
    -ms-flex-positive: 1;
    -webkit-box-flex: 1;
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%
}

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

.col-1,.col-auto {
    -webkit-box-flex: 0
}

.col-1 {
    -ms-flex: 0 0 8.333333%;
    flex: 0 0 8.333333%;
    max-width: 8.333333%
}

.col-2 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%
}

.col-2,.col-3 {
    -webkit-box-flex: 0
}

.col-3 {
    -ms-flex: 0 0 25%;
    flex: 0 0 25%;
    max-width: 25%
}

.col-4 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%
}

.col-4,.col-5 {
    -webkit-box-flex: 0
}

.col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%
}

.col-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%
}

.col-6,.col-7 {
    -webkit-box-flex: 0
}

.col-7 {
    -ms-flex: 0 0 58.333333%;
    flex: 0 0 58.333333%;
    max-width: 58.333333%
}

.col-8 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%
}

.col-8,.col-9 {
    -webkit-box-flex: 0
}

.col-9 {
    -ms-flex: 0 0 75%;
    flex: 0 0 75%;
    max-width: 75%
}

.col-10 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%
}

.col-10,.col-11 {
    -webkit-box-flex: 0
}

.col-11 {
    -ms-flex: 0 0 91.666667%;
    flex: 0 0 91.666667%;
    max-width: 91.666667%
}

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

.col-12,.col-20pc {
    -webkit-box-flex: 0
}

.col-20pc {
    -ms-flex: 0 0 20%;
    flex: 0 0 20%;
    max-width: 20%
}

footer {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    position: relative
}

footer .cloud-decor {
    bottom: auto;
    position: absolute;
    top: -32%
}

.footer-top {
    background: #fff;
    font-size: 0;
    padding: 50px 0;
    position: relative;
    z-index: 6
}

.footer-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around
}

@media (max-width: 1199px) {
    .footer-nav {
        margin-top:30px;
        -ms-flex-pack: distribute;
        justify-content: space-around
    }
}

@media (max-width: 767px) {
    .footer-nav {
        display:block
    }
}

.logo-footer {
    max-height: 78px;
    position: relative;
    text-align: left;
    width: 226px
}

.footer-item {
    display: inline-block;
    padding-right: 15px;
    position: relative;
    vertical-align: top
}

.footer-item:last-child {
    padding-right: 0
}

.footer-item .caption {
    color: #489dca;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px
}

.footer-top .footer-link {
    max-width: 500px
}

.products-link .footer-link {
    margin-top: 30px
}

.footer-link li a {
    color: #002e5f;
    display: inline-block;
    font-family: Barlow,sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 25px
}

.footer-link li:last-child {
    margin-bottom: 0
}

.footer-item .social-block {
    margin-top: 25px
}

.footer-bottom {
    background: #fff;
    font-size: 0;
    padding-bottom: 30px;
    position: relative;
    z-index: 6
}

.footer-bottom .copy {
    margin-bottom: .5rem
}

.footer-bottom .copy,.footer-bottom .footer-links {
    color: #002e5f;
    font-family: Barlow,sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    position: relative;
    text-align: left
}

.footer-bottom .copy a,.footer-bottom .footer-links a {
    color: #0b539d;
    font-weight: 600;
    position: relative;
    text-decoration: underline;
    white-space: nowrap
}

.footer-bottom .copy .footer-link,.footer-bottom .footer-links .footer-link {
    padding: 0 5px
}

.footer-bottom .copy .footer-link:first-child,.footer-bottom .footer-links .footer-link:first-child {
    padding-left: 0
}

@media (min-width: 1200px) {
    .footer-link li a:hover {
        color:#0b539d
    }

    .develope a:hover span,.footer-bottom .copy a:hover {
        color: #002e5f
    }
}

@media (max-width: 1840px) {
    footer .cloud-decor {
        top:-26%
    }
}

@media (max-width: 1640px) {
    footer .cloud-decor {
        top:-23%
    }
}

@media (max-width: 1440px) {
    footer .cloud-decor {
        top:-22%
    }
}

@media (max-width: 1199px) {
    footer .cloud-decor {
        top:-50px
    }

    .footer-top {
        padding: 40px 0
    }

    .footer-item.item-logo {
        display: block;
        padding-left: 0;
        width: 100%
    }

    .footer-link li a {
        font-size: 14px;
        line-height: 20px
    }
}

@media (max-width: 991px) {
    .footer-bottom .copy,.footer-bottom .develope {
        font-size:14px
    }

    .footer-bottom .copy span {
        display: block
    }

    .footer-bottom .develope {
        margin-top: 15px;
        text-align: left
    }

    .footer-link li a {
        word-wrap: break-word;
        display: block
    }

    footer .cloud-decor {
        top: -40px
    }
}

@media (max-width: 767px) {
    .footer-top {
        padding:25px 0
    }

    .footer-item {
        padding: 0 15px;
        width: 50%
    }

    .footer-bottom {
        padding-bottom: 15px
    }
}

@media (max-width: 576px) {
    .footer-item {
        margin-top:15px;
        padding: 0;
        width: 100%
    }

    .products-link .footer-link {
        margin-top: 0
    }

    footer .cloud-decor {
        padding-bottom: 15%;
        top: -28px
    }
}

@media (max-width: 360px) {
    .footer-item:last-child {
        margin-bottom:0;
        margin-top: 0
    }
}


/* Element Styling */

.btn {
    background: #002e5f;
    border: 2px solid #002e5f;
    border-radius: 50px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Barlow,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .5px;
    line-height: 1em;
    padding: 14px 25px;
    position: relative;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    vertical-align: bottom
}
.btn:hover {
    background: #fff;
    color: #002e5f;
    border: 2px solid #002e5f;
    border-radius: 50px;
}

/* Sign In */

.login-section {
  max-width: 440px;
  padding: 1rem;
  margin-top: 30vh !important;
}

.form-floating:focus-within {
  z-index: 2;
}

.form-floating input, .form-floating textarea {
  border-radius: 0;
}

.form-floating p {
  word-wrap: break-word;
  text-align: left;
  margin: 0 0 10px 0;
}
  

.login-section input[type="text"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.login-section input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.login-section p {
    margin: 12px 0;
}

.login-section #eis-link {
    display: block;
    padding: 12px 0;
    border-radius: 0px;
}

/* View Tenants */

.tenants-section {
  max-width: 1200px;
  padding: 1rem;
}

.table-sortable th {
    background: rgba(0,0,0,.1);
    cursor: pointer;
}

.table-sortable .th-sort-asc::after {
    content: "\25b4";
    margin-left: 5px;
}

.table-sortable .th-sort-desc::after {
    content: "\25be";
    margin-left: 5px;
}
.table-sortable .th-sort-asc,
.table-sortable .th-sort-desc {
    background: rgba(0,0,0,.15)
}

/* Navigation bar in the header (tenants.html): one row, user menu on the right. */
header nav.header-content {
    flex-direction: row;
    align-items: center;
}
header nav.header-content .nav-link.active {
    font-weight: 600;
}
#users-table-body .user-role {
    min-width: 10rem;
}

/* Small buttons (row actions on the Users page, Reveal / Copy in the customer
   dialog): compact and outlined, instead of the large filled .btn above. */
.btn.btn-sm {
    padding: 5px 14px;
    font-size: 13px;
    border-width: 1px;
    white-space: nowrap;
}
.btn.btn-sm.btn-outline-secondary {
    background: #fff;
    color: #002e5f;
    border-color: #002e5f;
}
.btn.btn-sm.btn-outline-secondary:hover {
    background: #002e5f;
    color: #fff;
    border-width: 1px;
}

/* Workspace tabs (Customers): Search + one tab per open customer. */
.workspace-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}
.workspace-tabs .nav-link {
    white-space: nowrap;
    max-width: 22rem;
}
.workspace-tabs .tab-label {
    overflow: hidden;
    text-overflow: ellipsis;
}
.workspace-tabs .tab-close {
    line-height: 1;
    padding: 0 .25rem;
    border-radius: .25rem;
    color: #6c757d;
}
.workspace-tabs .tab-close:hover {
    background: #e9ecef;
    color: #000;
}
.workspace-tabs .tab-dirty {
    color: #d97706;
    font-size: 1.25rem;
    line-height: 1;
}
#search-table tbody tr,
.usage-months tbody tr {
    cursor: pointer;
}
.customer-facts dt {
    font-weight: 500;
    color: #6c757d;
}
.customer-subtabs .nav-link {
    padding: .35rem .9rem;
}

/* Usage charts (Chart.js): each canvas sits in a box of fixed height. */
.chart-box { position: relative; width: 100%; }
.chart-box-trend { height: 300px; }
.chart-box-top { height: 300px; }
.chart-box-usage { height: 220px; }
.chart-box-mini { height: 110px; }

/* Bootstrap 5 responsive columns. The legacy grid above gives every .col-* class
   width: 100% and has no .col-md-* sizes, which made Bootstrap 5 rows (col-md-3 ...)
   stack. These restore Bootstrap 5's widths at each breakpoint. */
@media (min-width: 576px) {
    .col-sm-1 { flex: 0 0 auto; width: 8.333333%; max-width: none; }
    .col-sm-2 { flex: 0 0 auto; width: 16.666667%; max-width: none; }
    .col-sm-3 { flex: 0 0 auto; width: 25.000000%; max-width: none; }
    .col-sm-4 { flex: 0 0 auto; width: 33.333333%; max-width: none; }
    .col-sm-5 { flex: 0 0 auto; width: 41.666667%; max-width: none; }
    .col-sm-6 { flex: 0 0 auto; width: 50.000000%; max-width: none; }
    .col-sm-7 { flex: 0 0 auto; width: 58.333333%; max-width: none; }
    .col-sm-8 { flex: 0 0 auto; width: 66.666667%; max-width: none; }
    .col-sm-9 { flex: 0 0 auto; width: 75.000000%; max-width: none; }
    .col-sm-10 { flex: 0 0 auto; width: 83.333333%; max-width: none; }
    .col-sm-11 { flex: 0 0 auto; width: 91.666667%; max-width: none; }
    .col-sm-12 { flex: 0 0 auto; width: 100.000000%; max-width: none; }
    .col-sm-auto { flex: 0 0 auto; width: auto; max-width: none; }
}
@media (min-width: 768px) {
    .col-md-1 { flex: 0 0 auto; width: 8.333333%; max-width: none; }
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; max-width: none; }
    .col-md-3 { flex: 0 0 auto; width: 25.000000%; max-width: none; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; max-width: none; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; max-width: none; }
    .col-md-6 { flex: 0 0 auto; width: 50.000000%; max-width: none; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; max-width: none; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; max-width: none; }
    .col-md-9 { flex: 0 0 auto; width: 75.000000%; max-width: none; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; max-width: none; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; max-width: none; }
    .col-md-12 { flex: 0 0 auto; width: 100.000000%; max-width: none; }
    .col-md-auto { flex: 0 0 auto; width: auto; max-width: none; }
}
@media (min-width: 992px) {
    .col-lg-1 { flex: 0 0 auto; width: 8.333333%; max-width: none; }
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; max-width: none; }
    .col-lg-3 { flex: 0 0 auto; width: 25.000000%; max-width: none; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; max-width: none; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; max-width: none; }
    .col-lg-6 { flex: 0 0 auto; width: 50.000000%; max-width: none; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; max-width: none; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; max-width: none; }
    .col-lg-9 { flex: 0 0 auto; width: 75.000000%; max-width: none; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; max-width: none; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; max-width: none; }
    .col-lg-12 { flex: 0 0 auto; width: 100.000000%; max-width: none; }
    .col-lg-auto { flex: 0 0 auto; width: auto; max-width: none; }
}
@media (min-width: 1200px) {
    .col-xl-1 { flex: 0 0 auto; width: 8.333333%; max-width: none; }
    .col-xl-2 { flex: 0 0 auto; width: 16.666667%; max-width: none; }
    .col-xl-3 { flex: 0 0 auto; width: 25.000000%; max-width: none; }
    .col-xl-4 { flex: 0 0 auto; width: 33.333333%; max-width: none; }
    .col-xl-5 { flex: 0 0 auto; width: 41.666667%; max-width: none; }
    .col-xl-6 { flex: 0 0 auto; width: 50.000000%; max-width: none; }
    .col-xl-7 { flex: 0 0 auto; width: 58.333333%; max-width: none; }
    .col-xl-8 { flex: 0 0 auto; width: 66.666667%; max-width: none; }
    .col-xl-9 { flex: 0 0 auto; width: 75.000000%; max-width: none; }
    .col-xl-10 { flex: 0 0 auto; width: 83.333333%; max-width: none; }
    .col-xl-11 { flex: 0 0 auto; width: 91.666667%; max-width: none; }
    .col-xl-12 { flex: 0 0 auto; width: 100.000000%; max-width: none; }
    .col-xl-auto { flex: 0 0 auto; width: auto; max-width: none; }
}


/* Settings form (settings.js) */
.settings-group {
    border: 1px solid #dee2e6;
    border-radius: .375rem;
    margin-bottom: .75rem;
    background: #fff;
}
.settings-group > summary {
    padding: .6rem .9rem;
    cursor: pointer;
    list-style-position: inside;
}
.settings-group[open] > summary {
    border-bottom: 1px solid #dee2e6;
}
.settings-group-body {
    padding: .25rem .9rem .75rem;
}
.settings-field:last-child {
    border-bottom: 0 !important;
}
.settings-list-wide {
    max-height: 12rem;
    overflow-y: auto;
}
.settings-list-wide .form-check-inline {
    min-width: 12rem;
}
.customer-settings-form .btn-group .btn.active {
    background: #002e5f;
    color: #fff;
}
