﻿.hl-box {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    padding: 1rem 1rem 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 -1px 0px rgba(0, 0, 0, 0.02);
    margin-bottom: 1.5rem;
}

.hl-group {
    position: relative;
    width: 100%;
}

.hl-group-wrap {
    margin-bottom: 16px;
    transition: height .2s ease-in-out;
}

@media (max-width: 640px) {
    .hl-group.state-hidden .hl-group-wrap {
        height: 161px;
        overflow: hidden;
    }
}

.hl-group-content {
    columns: 2 auto;
}

@media (min-width: 641px) {
    .hl-group-content {
        columns: 3 auto;
    }
}

@media (min-width: 861px) {
    .hl-group-content {
        columns: 4 auto;
    }
}

.hl-group-title {
    display: block;
    width: 100%;
    font-size: 18px;
    font-family: var(--secondary-font-family);
    border-radius: 4px;
    font-weight: 600;
    padding: 5px 6px;
    margin: 0 0 8px !important;
    color: #222;
}

.hl-group-subtitle {
    display: block;
    width: 100%;
    font-size: 16px;
    font-family: var(--secondary-font-family);
    border-radius: 4px;
    font-weight: 600;
    padding: 5px 6px;
    color: #222;
}

    .hl-group-subtitle a,
    .hl-group-subtitle a:visited,
    .hl-group-subtitle a:active {
        color: #222 !important;
        text-decoration: none;
    }

@media (min-width: 861px) {
    .hl-group-subtitle a:hover {
        color: #222 !important;
        text-decoration: none;
    }
}

.hl-group-content > a,
.hl-group-list a {
    display: block;
    position: relative;
    margin-bottom: 0;
    padding: 7px 6px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--primary-font-family);
    font-weight: 500;
    background: transparent;
    transition: background .2s ease-in-out;
    color: #2e95df;
}

@media (min-width: 861px) {
    .hl-group-content > a:hover,
    .hl-group-list a:hover {
        background: #eaedef;
        color: #444;
    }
}

.alphabet-list {
    margin-bottom: 2rem;
}

    .alphabet-list a {
        display: inline-block;
        margin: 0 4px;
        line-height: 1.5;
    }

.hl-group-single-col {
    columns: auto;
    padding: 5px 6px;
}

.hl-text-content h1,
.hl-text-content h2,
.hl-text-content h3,
.hl-text-content h4,
.hl-text-content h5,
.hl-text-content h6 {
    display: block;
    width: 100%;
    font-size: 18px !important;
    font-family: var(--secondary-font-family);
    font-weight: 600;
    padding: 5px 0;
    margin: 0 0 8px !important;
    color: #222;
}

.hl-text-content h3,
.hl-text-content h4 {
    font-size: 16px !important;
}

.hl-text-content h5,
.hl-text-content h6 {
    font-size: 14px !important;
}

.hl-text-content li {
    font-size: 15px;
    margin-bottom: 0.25rem;
}

.hl-text-content ul,
.hl-text-content p {
    font-size: 15px;
    margin-bottom: 1rem;
}

.hl-text-content a {
    display: inline;
    font-size: 15px;
    color: #2986c8;
}

.hl-group-action,
.hl-group-link {
    display: none;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    text-align: center;
    background: #eaedef;
    border-radius: 6px;
    padding: 8px 0;
    font-size: 14px;
    cursor: pointer;
    color: #222;
}

.hl-group-link {
    display: block;
}

    .hl-group-action a,
    .hl-group-link a {
        text-decoration: none;
        cursor: pointer;
        color: #222;
    }

@media (min-width: 861px) {
    .hl-group-action:hover,
    .hl-group-link:hover {
        background: #dce1e5;
    }
}

@media (max-width: 640px) {
    .hl-group-action.active {
        display: block;
    }
}

.icon-hl {
    display: inline-block;
    position: relative;
    top: 3px;
    width: 14px;
    margin-right: 2px;
    text-align: center;
}

    .icon-hl svg {
        max-width: 14px;
        width: auto;
        height: 14px;
        fill: #222;
        margin: 0 auto;
    }

.rmd-home-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    padding: 1rem 1rem 1rem;
    margin-top: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 -1px 0px rgba(0, 0, 0, 0.02);
    margin-bottom: 1.5rem;
}

.rmd-home-hero {
    width: 100%;
    height: 160px;
    padding: 1rem;
    background-size: cover;
    margin-bottom: 1rem;
}

@media (min-width: 641px) {
    .rmd-home-hero {
        height: 300px;
    }
}

.rmd-home-links {
    columns: 2 auto;
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (min-width: 861px) {
    .rmd-home-links {
        columns: 3 auto;
        list-style: none;
        padding: 0;
        margin: 0;
    }
}

.rmd-home-links a {
    display: block;
    position: relative;
    margin-bottom: 8px;
    padding: 4px 6px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-family: var(--primary-font-family);
    font-weight: 400;
    background: transparent;
    transition: background .2s ease-in-out;
    color: #222;
}

@media (min-width: 861px) {
    .rmd-home-links a:hover {
        background: rgba(230, 230, 230, 0.4);
        color: #444;
    }
}

.rmd-home-links a span {
    color: #7394aa;
}

.rmd-home-links a:before {
    content: "";
    display: inline-block;
    position: relative;
    top: 2px;
    width: 16px;
    height: 16px;
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20320%20512%22%3E%3Cpath%20d%3D%22M278.6%20233.4c12.5%2012.5%2012.5%2032.8%200%2045.3l-160%20160c-12.5%2012.5-32.8%2012.5-45.3%200s-12.5-32.8%200-45.3L210.7%20256%2073.4%20118.6c-12.5-12.5-12.5-32.8%200-45.3s32.8-12.5%2045.3%200l160%20160z%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 10px;
    background-color: #e3408d;
    border-radius: 50%;
    margin-right: 6px;
}

.rmd-home-page-title {
    font-size: 16px;
    color: #fff;
}

@media (min-width: 641px) {
    .rmd-home-page-title {
        font-size: 32px;
    }
}

.rmd-home-page-title:before {
    content: "";
    display: inline-block;
    position: relative;
    top: 8px;
    width: 26px;
    height: 26px;
    background-image: url(data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20640%20512%22%3E%3Cpath%20d%3D%22M631.14%20195.68C579.47%20109.99%20466.31%2032%20417.72%2032c0%200-32.57%200-97.72%2050-65.15-50-97.72-50-97.72-50-48.59%200-161.75%2077.99-213.42%20163.68-10.32%2017.11-11.63%2037.99-3.89%2056.38C32.95%20318.51%20117.59%20480%20279.28%20480h81.43c161.69%200%20246.33-161.49%20274.32-227.95%207.74-18.38%206.43-39.26-3.89-56.37zM320%20320c-170.66%200-256-96-256-96s64-32%20160-32l35.38%208.84C278.2%20205.55%20298.95%20208%20320%20208s41.8-2.45%2060.62-7.16L416%20192c96%200%20160%2032%20160%2032s-85.34%2096-256%2096z%22%20fill%3D%22%23fff%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 12px;
    background-color: #e3408d;
    border-radius: 50%;
    margin-right: 10px;
}

@media (min-width: 641px) {
    .rmd-home-page-title:before {
        top: 4px;
        width: 32px;
        height: 32px;
        background-size: auto 16px;
    }
}

.rmd-home-page-title a {
    text-decoration: none;
    font-weight: bold;
    color: #fff;
}

@media (min-width: 861px) {
    .rmd-home-page-title a:hover {
        text-decoration: underline;
    }
}

.rmd-home-page-subtitle {
    font-size: 20px;
    line-height: 1.3;
    margin: 0 0 1rem 0 !important;
}

@media (min-width: 861px) {
    .rmd-home-page-subtitle {
        font-size: 26px;
    }
}
