* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
    font-family: Poppins, sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 19.5px;
    color: #343a40;
    background-color: whitesmoke;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('../images/hex_map_bg.jpg');
    background-repeat: repeat;
    background-size: auto;
    z-index: 0;
}

.main-wrapper {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}

.m-header { height: 26px; }

.kt-container {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-subheader {
    margin: 10px 0;
    min-height: 37.7px;
    padding: 0 30px;
    display: flex;
    align-items: center;
}

.page-title {
    font-size: 26px;
    font-weight: 500;
    line-height: 31.2px;
    color: #343a40;
    margin: 0;
    padding-right: 13px;
}

.card {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0px 0px 13px 0px rgba(82, 63, 105, 0.05);
    width: 1260px;
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
}

.card-body {
    padding: 25px;
}

.page-content.article-width {
    max-width: 80ch;
}

.page-content h2 {
    font-size: 22.75px;
    font-weight: 500;
    line-height: 27.3px;
    margin: 0 0 13px;
}

.page-content h3 {
    font-size: 22.75px;
    font-weight: 500;
    line-height: 27.3px;
    margin: 0 0 6.5px;
}

.page-content.article-width h3 {
    margin: 23.4px 0 6.5px;
}

.page-content h4 {
    font-size: 19.5px;
    font-weight: 500;
    line-height: 23.4px;
    margin: 19.5px 0 6.5px;
}

.page-content h3 + h4,
.page-content h4:first-child { margin-top: 0; }

.page-content h5 {
    font-size: 14px;
    font-weight: 600;
    margin: 13px 0 6.5px;
}

.page-content h6 {
    font-size: 13px;
    font-weight: 600;
    line-height: 19.5px;
    margin: 13px 0 6.5px;
}

.page-content p,
.page-content ul {
    margin: 0 0 13px;
}

.page-content ul {
    padding-left: 22px;
}

.page-content a {
    color: #325CE7;
}

.footer {
    position: relative;
    z-index: 1;
    background: #1e1e2d;
    flex-shrink: 0;
    margin-top: auto;
}

.footer-bottom {
    background: #181824;
    padding: 26px 0;
}

.footer-inner {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    min-height: 21.5px;
}

.footer-copyright {
    color: #fff;
    font-size: 13px;
    font-weight: 300;
}

.footer-links {
    display: flex;
    align-items: center;
    min-height: 21.5px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    line-height: 19.5px;
    height: 21.5px;
    margin-left: 13px;
    padding: 0;
    border: 1px solid transparent;
    display: block;
    box-sizing: border-box;
}

.footer-links a:hover {
    text-decoration: underline !important;
}

@media (max-width: 725px) {
    .m-header { display: none; }
    .kt-container { padding: 0 10px; }
    .page-subheader { padding: 0 10px; }
    .page-title { font-size: 22px; line-height: 26px; }
    .card { border-radius: 0; }
    .card-body { padding: 15px; }
    .footer-inner {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 15px;
    }
    .footer-copyright {
        width: 100%;
    }
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 12px;
    }
    .footer-links a {
        white-space: normal;
        height: auto;
        margin: 0 0 0 12px;
    }
    .footer-links a:first-child {
        margin-left: 0;
    }
}
