
.main_header {
    background: linear-gradient(-45deg, #116ace, #0d42a2);
    color: white;
    position: static;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 10;
    transition: height 0.2s ease;
}

.main_header .wrap:after {
    content: '';
    display: table;
    width: 100%;
    clear: both;
}

.main_header .wrap {
    max-width: 1240px;
    padding: 0 20px 0px 20px;
    margin: auto;
}

.main_header a {
    color: inherit;
}

.main_header .wrap > * {
    height: inherit;
}

.main_header button {
    transition: opacity 0.2s ease;
    opacity: 1;
    cursor: pointer;
    text-transform: inherit;
}

.main_header button:hover {
    opacity: 0.8;
}

.using-keyboard .main_header button:focus,
.using-keyboard .main_header a:focus {
    outline: 2px dotted rgba(255, 255, 255, 0.5);
}


.main_header .top {
    height: 75px;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.main_header .top .search {
    display: none;
    font-size: 21px;
}

.main_header .top .quick_links {
    float: left;
    padding: 0;
    height: 100%;
    display: none;
    max-width: calc(100% - 300px);
    overflow-y: hidden;
    overflow-x: auto;
}

.main_header .top .quick_links ul {
    display: table;
    height: 100%;
    margin: 0;
    white-space: nowrap;
}

.main_header .top .quick_links li {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}

.main_header .top .quick_links a {
    padding: 10px 20px;
    transition: opacity 0.2s ease;
    font-weight: bold;
}

.main_header .top .quick_links li a:hover {
    opacity: 0.8;
}

.main_header .top .menu {
    display: block;
    height: 100%;
    width: 60px;
    float: left;
    font-size: 21px;
    margin-left: -24px;
    display: none;
    margin-right: 10px;
    margin-left: -21px;
}

.main_header .top .search {
    float: right;
    display: block;
    width: 80px;
    height: 100%;
    margin-right: -18px;
    display: none;
}

.main_header .top .logo {
    width: 210px;
    height: 100%;
    margin: auto;
    display: block;
    transition: width 0.2s ease;
    grid-area: 1 / 2 / 2 / 3;
}

.main_header .top .logo svg {
    height: inherit;
    width: inherit;
}

.main_header .icon {
    margin-top: 0;
}

.main_header .top .subscribe_col {
    grid-area: 1 / 3 / 2 / 4;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.main_header .top .subscribe {
    padding: 10px 20px;
    font-weight: 500;
    background: #FDCD00;
    color: #000;
    border-radius: 6px;
    font-size: 16px;
    line-height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all .2s ease-out;
}

.main_header .top .subscribe:hover {
    background: #FDD938;
}

.subscribe_bottom {
    display: none;
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.subscribe_bottom a {
    flex: 1;
    display: flex;
    padding: 12px 20px;
    align-items: center;
    justify-content: center;
    color: #030303;
    background: #FDCD00;
    gap: 6px;
    font-size: 16px;
    font-weight: 500;
}

/*.subscribe_bottom .subscribe:hover {*/
/*	color: var(--link-color);*/
/*}*/

/*.subscribe_bottom .subscribe:hover svg {*/
/*	fill: var(--link-color);*/
/*}*/

.main_header .bottom {
    background-color: white;
    color: #030303;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    padding: 5px;
    font-weight: bold;
    text-transform: uppercase;
    height: auto;
    float: left;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
}

.main_header .bottom .height {
    height: 45px;
}

.main_header .bottom .height > * {
    height: 100%;
}

.main_header .bottom .menu {
    width: 45px;
    float: left;
    font-size: 14px;
    background-color: #ECF3FB;
    color: #0d42a2;
    text-align: center;
}

.main_header .bottom .menu span {
    display: none;
}

.main_header .bottom .menu .icon,
.main_header .bottom .search .icon {
    width: 1.5em;
    height: 1.5em;
}

.main_header .bottom .logo {
    display: none;
}

.main_header .bottom .main_menu {
    max-width: calc(100% - 170px);
    overflow: hidden;
    overflow-x: auto;
    float: left;
}

html .main_header .bottom .main_menu {
    margin-left: 20px;
}

.main_header .bottom .main_menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    height: 100%;
}

.main_header .bottom .main_menu li {
    float: left;
    padding: 0 10px;
    margin: 0;
}

.main_header .bottom .main_menu a {
    padding: 0px 10px;
    display: block;
    height: 100%;
    font-size: 16px;
    text-transform: capitalize;
}

.main_header .bottom .main_menu a:hover {
    color: #0d42a2;
}

.main_header .bottom .search {
    float: right;
    background-color: #ECF3FB;
    color: #0d42a2;
    width: 45px;
    text-align: center;
}

@media ( max-width: 768px ) {
    .main_header .top {
        height: 60px;
        display: block;
    }

    .main_header .top .menu,
    .main_header .top .search {
        display: block;
    }

    .main_header .top .quick_links {
        display: none;
    }

    .main_header .bottom {
        display: block;
        width: calc(100% + 40px);
        margin-left: -20px;
    }

    .main_header .bottom .menu,
    .main_header .bottom .search {
        display: none;
    }

    .main_header .bottom .main_menu {
        max-width: 100%;
        float: none;
        overflow: visible;
        height: 100%;
    }

    html .main_header .bottom .main_menu {
        margin-left: 0;
    }

    .main_header .bottom .main_menu li {
        padding: 0;
    }

    .main_header .bottom .height {
        height: 35px;
    }

    .main_header .top .subscribe {
        display: none;
    }

    .subscribe_bottom {
        display: flex;
    }
}

@media ( max-width: 500px) {
    .main_header .bottom .main_menu a {
        padding: 0 15px;
    }
}

@media ( max-width: 375px) {
    .main_header .top .menu,
    .main_header .top .search {
        width: 60px;
    }

    .main_header .top .logo {
        width: 175px;
    }
}


/* Scrolled */

@media ( min-width: 769px) {

    body.scrolled .main_header .top {
        height: 50px;
    }

    body.scrolled .main_header .top .quick_links {
        display: block;
    }

    body.scrolled .main_header .top .menu {
        width: 60px;
        margin-right: 10px;
        min-width: auto;
        margin-left: -21px;
        display: block;
    }

    body.scrolled .main_header .top .menu span {
        display: none;
    }

    body.scrolled .main_header .top .logo {
        float: left;
        margin-right: 30px;
        width: 160px;
        height: 48px;
        padding-top: 1px;
        margin-top: 2px;
    }

    body.scrolled .main_header .top .search {
        width: 60px;
        display: block;
    }

    body.scrolled .main_header .bottom {
        display: none;
    }
}


/* Header Links */

.header_links {
    font-size: 16px;
    line-height: 1.9em;
    width: 100%;
    background-color: white;
    padding-top: 35px;
    display: none;
    overflow: hidden;
}

.header_links .wrap {
    max-width: 1240px;
    padding: 0 20px;
    margin: auto;
    overflow: hidden;
}

.header_links .group {
    float: left;
    width: calc(25% - 20px);
    margin-right: 20px;
    margin-bottom: 30px;
}

.header_links .group:nth-child( 4n + 1 ) {
    clear: both;
}

.header_links form {
    max-width: 584px;
    margin: auto;
    margin-bottom: 40px;
    position: relative;
}

.header_links form input {
    width: 100%;
    font-size: inherit;
    height: 50px;
    text-indent: 15px;
    margin-top: 2px;
    padding-right: 90px;
}

#search_input::-ms-clear {
    display: none;
    width: 0;
    height: 0;
}

.header_links form input::-webkit-search-cancel-button {
    display: none;
    -webkit-appearance: none;
    width: 0;
    height: 0;
}

.header_links form button {
    position: absolute;
    top: 3px;
    right: 0;
    height: 50px;
    width: 50px;
}

.header_links form button:hover {
    color: #0d42a2;
}

.header_links form button.clear {
    width: 30px;
    right: 50px;
    display: none;
}

.header_links .header_link_group {
    overflow: hidden;
    background-color: #fafafa;
    padding: 30px 30px 0;
    margin-bottom: 30px;
}

.header_links .group_title {
    font-size: 25px;
    font-weight: bold;
    font-family: inherit;
    display: block;
    clear: both;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}


@media ( max-width: 500px) {
    .header_links form {
        margin-bottom: 40px;
    }
}


/* Search results */

.header_links .search_results {
    position: absolute;
    background-color: white;
    padding: 8px 25px;
    border: 1px solid #eee;
    border-top: 0;
    display: none;
    z-index: 1;
    box-shadow: 0px 10px 10px 0px #ccc;
    width: 100%;
}

.header_links .search_results a {
    display: block;
    border-bottom: 1px solid #eee;
    line-height: 1.4em;
    font-size: 16px;
    padding: 11px 0;
}

.header_links .search_results a:last-child {
    border-bottom: 0;
}


.header_links a {
    color: inherit;
}

.header_links a:hover {
    color: var(--link-color);
}

.header_links .title {
    font-size: 22px;
    font-weight: 600;
    font-family: inherit;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_links .title svg {
    display: none;
    width: 26px;
    height: auto;
    fill: #000;
}

.header_links .active .title svg {
    transform: rotate(180deg);
}

.header_links .title .mobile {
    display: none;
}

.header_links ul {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 100%;
    clear: both;
    overflow: hidden;
}

.header_links li {
    margin: 0;
    padding: 5px 0;
}

.header_links .red_text_box {
    background-color: #F44444;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 11px;
    padding: 3px 7px;
    border-radius: 5px;
    margin-left: 0.4em;
}

body .main_header .search .icon-times {
    display: none;
}

body.show_header_links.scrolled .header_links {
    padding-top: 40px;
}

body.show_header_links .main_header .search .icon-search {
    display: none;
}

body.show_header_links .main_header .search .icon-times {
    display: inline-block;
}

body.show_header_links .header_links {
    display: block;
}

body.show_header_links .main_header .top .main {
    display: none;
}

body.show_header_links .toc_mobile {
    display: none;
}

body.show_header_links .share_links.vertical {
    display: none !important;
}

body.show_header_links .header_with_links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overscroll-behavior: contain;
    z-index: 11;
}

body.show_header_links .main_header {
    position: static;
    background-color: white;
}

.show_header_links,
.header_links_opened {
    margin-top: 1000000vw !important;
}

.show_header_links .toc_mobile,
.header_links_opened .toc_mobile,
.header_links_opened #tbl-next-up {
    display: none !important;
}

.group_btn a {
    margin-top: 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    font-size: 16px;
}

.group_btn svg {
    width: 10px;
    height: auto;
}

.group_btn a:hover svg {
    fill: var(--link-color);
}

@media ( max-width: 900px ) {
    .header_links .group {
        width: calc(50% - 20px);
    }

    .header_links .group:nth-child( 2n + 1 ) {
        clear: left;
    }
}

@media ( max-width: 768px ) {
    .header_links {
        padding-top: 40px;
    }

    .header_links li {
        width: 100%;
        float: none;
    }

    .header_links .group {
        width: 100%;
        margin-right: 0;
        float: none;
    }

    .header_links .col {
        width: 100%;
        float: none;
    }

    body.show_header_links .main_header .bottom {
        display: none;
    }

    .header_links .group_content {
        display: none;
        padding-bottom: 10px;
    }

    .header_links .active .group_content {
        display: block;
    }

    .header_links .title svg {
        display: block;
    }

    .header_link_group .subgroups .group {
        border-bottom: 1px solid #ddd;
    }

    .header_link_group .subgroups .group:last-child {
        border: none;
    }

    .group_btn a {
        justify-content: center;
    }

    .header_links .title .desktop {
        display: none;
    }

    .header_links .title .mobile {
        display: inline;
    }
}

/*@media ( max-width: 500px ) {*/
/*    */
/*}*/

