* {
    box-sizing: border-box;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    background-color: #f3f4f8;
}

a {
    text-decoration: none;
}

.page-header {
    position: relative;
}

.header-brand-panel {
    display: flex;
    justify-content: space-between;
    height: 4rem;
}
.header-brand-panel a {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.brand-logo-image {
    max-height: 100%;
    max-width: 70%;
}
.top-install-link span {
    white-space: nowrap;
    font-size: .7rem;
    color: #4F5974;
}
.top-install-link i {
    display: inline-block;
    vertical-align: middle;
    padding-bottom: .15rem;
    font-size: .6rem;
    color: crimson;
}

.login-form-wrapper input {
    height: 2.5rem;
    border: 1px solid #ced4da;
}
.login-form-wrapper a {
    color: #002880;
}
.login-btn {
    width: 8rem;
    height: 2.7rem;
    font-size: 1.2rem;
    background-color: #6b789c;
    color: #fff;
    border: none;
    border-radius: 3rem;
}

.top-menu {
    height: 2.5rem;
    background-color: #6b789c;
}
.top-menu-wrapper {
    display: flex;
    flex-direction: row;
}
.top-menu-item {
    display: block;
    height: 2.5rem;
    margin: 0;
    padding: .3rem;
    font-weight: 500;
    color: #fff;
}
.top-menu-item:hover {
    background-color: #51607f;
}
.top-menu-item-logo {
    width: 2.2rem;
}
.top-menu-item-link {
    margin-left: .5rem;
    padding-top: .5rem;
}

.header-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    height: 4rem;
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background-image: url('/img/top-menu-bg.jpg');
    background-size: cover;
}
.header-menu.no-bg {
    background: none;
}

.header-menu-items {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-around;
}

.header-menu a {
    height: 4rem;
    padding: 0 .5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
    font-size: .5rem;
    color: #fff;
}

.footer {
    /* border-top: 1px solid #ddd; */
    padding-top: 1rem;
    margin: 4rem 0;
}
.footer-comment {
    font-size: .75rem;
    color: #57658A;
}
.footer-link {
    display: inline-block;
    padding: .1rem 1rem;
    /* border-right: 1px solid #ddd; */
    text-decoration: none;
    font-size: .8rem;
    color: #002880;
}
.footer-link:last-child {
    border-right: none;
}
.footer-link:hover {
    text-decoration: underline;
}
.footer-social-item {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: none no-repeat center;
}

.indicators {
    display: inline-grid;
    grid-template-rows: repeat(4, 13rem);
    grid-template-columns: repeat(1, 21rem);
    grid-gap: 2rem;
}

.indicators-wrapper {
    text-align: center;
}
.indicator-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #6b789c !important;
    color: white !important;
    text-decoration: none;
    box-shadow: .5rem .5rem .5rem dimgray;
    border-radius: .7rem;
}
.indicator-name, .indicator-date {
    padding: .5rem 1rem;
    font-size: .9rem;
    line-height: 1.2rem;
    text-align: left;
}
.indicator-value {
    font-size: 3rem;
    font-weight: bold;
}
.graph-caption-wrapper {
    padding: 0 1.5rem;
}
.graph-caption-wrapper:first-child {
    margin-top: 5rem;
}
.graph-desc {
    padding: .5rem 1.5rem;
    line-height: 1.2rem;
    font-size: .9rem;
    color: #555;
}

.apexcharts-tooltip * {
    line-height: 1.2;
}

.table-value-expected {
    font-size: .9rem;
    padding: 0 .5rem;
    color: #888;
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 360px) {
    .indicators {
        grid-template-rows: repeat(4, 13rem);
        grid-template-columns: repeat(1, 98%);
        grid-gap: 2rem;
    }
}
@media (max-width: 576px) {
    .apexcharts-tooltip.apexcharts-active {
        max-width: calc(100vw - 2rem);
        top: 220px!important;
    }
    .apexcharts-tooltip-text {
        white-space: normal;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .top-install-link span {
        font-size: .8rem;
    }
    .header-menu a {
        font-size: .7rem;
    }
    .indicators {
        grid-template-rows: repeat(2, 13rem);
        grid-template-columns: repeat(2, 19rem);
        grid-gap: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .top-install-link span {
        font-size: .9rem;
    }
    .header-menu a {
        font-size: .8rem;
    }
    .indicators {
        grid-template-rows: repeat(2, 14rem);
        grid-template-columns: repeat(2, 21rem);
        grid-gap: 2rem;
    }
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .top-install-link span {
        font-size: .9rem;
    }
    .header-menu a {
        font-size: .9rem;
    }
    .indicators {
        grid-template-rows: repeat(2, 15rem);
        grid-template-columns: repeat(2, 22rem);
        grid-gap: 2rem;
    }
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
    .header-brand-panel {
        height: 5rem;
    }
    .top-install-link span {
        font-size: 1rem;
    }
    .header-menu a {
        font-size: 1rem;
    }
    .indicators {
        grid-template-rows: repeat(2, 16rem);
        grid-template-columns: repeat(2, 23rem);
        grid-gap: 2rem;
    }
}

/* XXX-Large devices (larger desktops, 1600px and up) */
@media (min-width: 1600px) {
    .header-brand-panel {
        height: 5rem;
    }
    .top-install-link span {
        font-size: 1rem;
    }
    .header-menu a {
        font-size: 1rem;
    }
    .indicators {
        grid-template-rows: repeat(2, 17rem);
        grid-template-columns: repeat(2, 24rem);
        grid-gap: 2rem;
    }
}

.page-content {
    margin-top: 5rem;
    padding: 2rem 1.5rem;
    background-color: #fff;
    overflow-x: auto;
}
.page-content h1 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: #F15A24;
}
.page-content a {
    color: #00396b;
}

.text {
    font-size: 1.1rem;
    line-height: 1.8rem;
}

.form-text {
    line-height: 1.6rem;
}
