h1 {
    font-size: 26px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 16px;
}

h5 {
    font-size: 14px;
}

h6 {
    font-size: 12px;
}


table {
    border: 1px solid #ccc;
    border-collapse: collapse;
}

td, th {
    border: 1px solid #ccc;
    padding: 7px 10px;
}

code, kbd, pre, samp {
    padding: 1em;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f8f8f8;
    font-size: 80%;
    font-family: Menlo, Monaco, monospace, sans-serif !important;
    color: #7d8086;
}

.sticky-sidebar .collection .collection-item.active > a,
.sticky-sidebar .collection .collection-item.active > .material-icons,
.sticky-sidebar .collection .collection-item.active > span {
    color: #ffffff !important;
}

.sticky-sidebar .collection .collection-item a {
    color: inherit;
}

.sticky-sidebar .collapsible-header {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
}

.sticky-sidebar .collapsible-header .material-icons {
    line-height: unset;
}

.sticky-sidebar .collapsible-header.active > .material-icons {
    transform: rotate(90deg);
    color: inherit;
}

.sticky-sidebar h5.collection-header {
    margin: 0;
}

.sticky-sidebar .collapsible-body .collection-item {
    padding: 0;
}

.sticky-sidebar .collapsible-body .collection-item a {
    display: block;
    padding: 10px 20px 10px 40px;
}

.sticky-sidebar h2 {
    margin-bottom: 10px;
}

.side-search * {
    height: 44px !important;
    border-radius: 5px !important;
}

nav.side-search {
    height: 44px !important;
    line-height: 44px !important;
    border-radius: 5px !important;
    margin-top: 1.14rem;
}

nav.side-search .input-field input {
    font-size: 14px;
    padding-right: 3rem;
    width: 100%;
    box-sizing: border-box;
}

nav.side-search i.material-icons {
    line-height: 44px !important;
}

i.material-icons.right {
    line-height: 64px !important;
}

.article-content img {
    max-width: 100%;
}

form.main-form {
    width: 80% !important;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
}

.main-form input[name=query] {
    margin-bottom: 0;
    background-color: #fff;
    border-radius: 5px;
    padding: 0 10px;
    /* injeect color */
    border: 1px solid;
    box-shadow: none !important;
}

.main-form button[type=submit] {
    height: 38px;
    border-radius: 5px;
    flex: 0 0 auto;
}

.category-card-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 0.5rem !important;
}

.category-card.card {
    overflow: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: unset;
    flex: 1 1;
}

.category-card.card .card-content {
    padding-bottom: 20px;
}

.category-card.card .card-content .card-title {
    min-height: unset;
    margin-bottom: 20px;
}

.category-card.card .card-content :not(.card-title) {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: unset;
}

.category-card.card .card-action {
    padding: 10px 20px;
    position: static;
    border-top: none;
}

.collection-block-title {
    font-size: 24px;
    margin: 0;
}

.collection-block-container {
    margin-top: 0;
    margin-bottom: 0;
}

nav .brand-logo {
    font-size: 20px;
}

.search-result-content {
    margin-top: 0px;
    margin-bottom: 10px;
    color: #000;
}

.search-result-breadcrumbs,
.search-result-breadcrumbs a {
    color: #989FB3;
    font-size: 14px;
}

.search-result-breadcrumbs a:hover {
    text-decoration: underline;
}

.collection.collection--search {
    margin-left: 0;
}

@media only screen and (max-width: 601px) {
    .article-content img {
        height: auto !important;
    }
}

@media only screen and (min-width: 601px) {
    .sticky-sidebar {
        position: sticky;
        top: 20px;
    }

    .sticky-sidebar .collapsible.collection {
        overflow: auto;
        max-height: calc(100vh - 240px);
    }
}
