  html,
body {
    scroll-padding-top: 65px; /* set to the height of your header */
}

.header-items .megamenu .close1 {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIyLjIxMzcgMS43ODU2NEwxLjc4NTE2IDIyLjIxNDJNMS43ODUxNiAxLjc4NTY0TDIyLjIxMzcgMjIuMjE0MiIgc3Ryb2tlPSIjMkMzRTUwIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
    position: absolute;
    top: 0;
    right: 23px;
    height: 23px;
    width: 23px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.header-items .megamenu .lists .mainlink .mainlink--link {
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    color: #2c3e50;
    margin-bottom: 16px;
    display: inline;
    position: relative;
}

.header-items .megamenu .lists .mainlink .mainlink--link::after {
    position: absolute;
    right: -20px;
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yLjMzMzAxIDkuNzQ5OTlMNi4yOTczMSA2LjAyMjgyQzYuMzYxMTkgNS45NjY0NSA2LjQxMjEgNS44OTgzNyA2LjQ0NjkxIDUuODIyNzhDNi40ODE3MiA1Ljc0NzE5IDYuNDk5NjcgNS42NjU2OSA2LjQ5OTY3IDUuNTgzMzJDNi40OTk2NyA1LjUwMDk1IDYuNDgxNzIgNS40MTk0NiA2LjQ0NjkxIDUuMzQzODdDNi40MTIxIDUuMjY4MjggNi4zNjExOSA1LjIwMDE5IDYuMjk3MzEgNS4xNDM4M0wyLjMzMzAxIDEuNDE2NjYiIHN0cm9rZT0iIzNDQUFCRSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
}

.header-items .megamenu .lists .mainlink .mainlink--link.nolink {
    cursor: default;
}

.header-items .megamenu .lists .mainlink .mainlink--link.nolink::after {
    margin-left: 10px;
    content: "";
    display: none;
}

.header-items .megamenu .lists .sublink--link {
    display: flex;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #2c3e50;
    margin-bottom: 16px;
}

.header-items .megamenu .lists .sublink--link::before {
    margin-right: 10px;
    padding-top: 1px;
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yLjMzMzAxIDkuNzQ5OTlMNi4yOTczMSA2LjAyMjgyQzYuMzYxMTkgNS45NjY0NSA2LjQxMjEgNS44OTgzNyA2LjQ0NjkxIDUuODIyNzhDNi40ODE3MiA1Ljc0NzE5IDYuNDk5NjcgNS42NjU2OSA2LjQ5OTY3IDUuNTgzMzJDNi40OTk2NyA1LjUwMDk1IDYuNDgxNzIgNS40MTk0NiA2LjQ0NjkxIDUuMzQzODdDNi40MTIxIDUuMjY4MjggNi4zNjExOSA1LjIwMDE5IDYuMjk3MzEgNS4xNDM4M0wyLjMzMzAxIDEuNDE2NjYiIHN0cm9rZT0iIzNDQUFCRSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
}

.header--wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

/* .header-items ul {
    list-style-type: none;
    color: white;
    margin: 0;
    padding: 0;
} */

.header-items ul {
    display: flex;

    list-style-type: none;
    color: white;
    margin: 0;
    padding: 0;
}

.header-items ul li.no-drop,
.header-items ul li.dropdown {
    display: inline-block;
    /* margin-right: 20px; */
    margin-right: 16px;
    color: white;
}

.header-items ul li.no-drop a.main,
.header-items ul li.dropdown a.main {
    color: white;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    display: block;
    margin: 10px 0;
    padding: 10px 0;

    white-space: nowrap;
}

.header-items ul li.no-drop a.main.active,
.header-items ul li.dropdown a.main.active {
    text-decoration: none;
}

.header-items ul li a.has-child {
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: white;
    text-decoration: none;
    align-items: center;
    display: flex;
}

.header-items .newcaret {
    margin-left: 9px;
    /* content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNyIgaGVpZ2h0PSI2IiB2aWV3Qm94PSIwIDAgNyA2IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8cGF0aCBkPSJNMC42MjU3NTggMC4xNDE2MDJMNS4wNTgxMWUtMDggMC44OTk5NTdMMy41IDUuMTQxNkw3IDAuODk5OTU3TDYuMzc0MjQgMC4xNDE2MDJMMy41IDMuNjI0ODlMMC42MjU3NTggMC4xNDE2MDJaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K); */
}

.header-items .child-menu {
    transition:
        opacity 0.2s cubic-bezier(0.6, 2, 0.1, 1),
        transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        visibility 0s linear 0.2s;
    transform: translateY(-10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    display: block;
    min-width: 400px;
    background-color: #fff;
    padding: 15px 0 !important;
    position: absolute;
    margin-top: 1rem;
    border-top: 2px solid #2c3d4f;
    padding: 15px 28px;
    height: auto;
    overflow-y: auto;
}

.header-items .main-items .dropdown:hover .child-menu {
    transition:
        opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        visibility 0s linear 0s;
    visibility: visible;
    transform: none;
    opacity: 1;
}

.header-items .main-items .dropdown:last-child .child-menu {
    right: 0;
}

.header-items .child-menu li {
    padding: 0 16px;
    position: initial;
}

.header-items .child-menu li a {
    padding: 1rem 0 !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important;
    border-bottom: 1px solid #dbdbdb;
    color: #2c3d4f;
    font-weight: 300;
    font-size: 12px;
}

.header-items {
    display: flex;
    align-items: center;
    justify-content: center;
}

header .search {
    cursor: pointer;
    margin-left: 15px;
    display: flex;
    align-items: center;
    -webkit-appearance: none;
    background: transparent;
    border: none;
}

header .header-logo .black {
    display: none;
}

header.pagecontent .header-logo .white {
    display: none;
}

header.pagecontent .header-logo .black {
    display: inline-block;
}

header.is_scroll.pagecontent .header-logo .black {
    display: none;
}

header.is_scroll.pagecontent .header-logo .white {
    display: inline-block;
}

.search-modal {
    position: fixed;
    z-index: 999;
    width: 100%;
    background: white;
    height: 70vh;
    padding: 60px 0;
    display: none;
    top: 0;
}

.search-modal.active {
    display: block;
}

.search-modal__top {
    text-align: right;
}

.search-modal__top svg {
    cursor: pointer;
}

.search-modal__bottom {
    margin-top: 90px;
}

.search-modal input {
    border: none;
    width: 100%;
    font-weight: 700;
    font-size: 45px;
    border-bottom: 1px solid #9f9f9f;
    outline: none;
    padding-left: 5rem;
}

.search-modal button {
    visibility: hidden;
}

.search-modal__bottom span {
    position: absolute;
    left: 0;
    top: 15px;
}
.search-modal__bottom span svg {
    max-width: 38px;
}

.search-modal__bottom form {
    position: relative;
}

.header-mobile {
    display: none;
    cursor: pointer;
}

.header-mobile .icons {
    display: flex;
}
.header-mobile .icons span:first-child {
    margin-right: 25px;
}

.header-mobile .icons svg:first-child {
    width: 26px;
    height: 20px;
    /* margin-right: 25px; */
}

.header .header-mobile .icons svg:first-child path {
    stroke: #2c3e50;
}

.header.is_scroll .header-mobile .icons svg:first-child path,
.header:not(.pagecontent) .header-mobile .icons svg:first-child path {
    stroke: #fff;
}

.canvas-menu {
    background-color: #fff;
    visibility: hidden;
    transform: translateX(-100%);
    border-radius: 0;
    display: flex;
    position: fixed;
    flex-direction: column;
    justify-content: space-between;
    bottom: 0;
    left: 0;
    top: 0;
    height: 100%;
    z-index: 101;
    width: 100%;
    overflow-x: hidden;
    transition:
        visibility 0.2s ease-in-out,
        transform 0.2s ease-in-out;
}

.canvas-menu.active {
    visibility: visible;
    transform: translateX(0);
}

.canvas-menu .top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    display: none;
}
.canvas-menu .bottom ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.canvas-menu .bottom ul li a {
    padding: 28px 0;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    color: #2c3d4f;
    border-bottom: 1px solid rgba(159, 159, 159, 0.5);
    align-items: center;
    justify-content: space-between;
}

.canvas-menu .bottom ul li .arrow {
    height: 18px;
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yLjMzMzAxIDkuNzQ5OTlMNi4yOTczMSA2LjAyMjgyQzYuMzYxMTkgNS45NjY0NSA2LjQxMjEgNS44OTgzNyA2LjQ0NjkxIDUuODIyNzhDNi40ODE3MiA1Ljc0NzE5IDYuNDk5NjcgNS42NjU2OSA2LjQ5OTY3IDUuNTgzMzJDNi40OTk2NyA1LjUwMDk1IDYuNDgxNzIgNS40MTk0NiA2LjQ0NjkxIDUuMzQzODdDNi40MTIxIDUuMjY4MjggNi4zNjExOSA1LjIwMDE5IDYuMjk3MzEgNS4xNDM4M0wyLjMzMzAxIDEuNDE2NjYiIHN0cm9rZT0iIzNDQUFCRSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjwvc3ZnPgo=);
}

/* .canvas-menu .bottom ul li:last-child a {
    border-bottom: none;
} */

.canvas-right {
    background-color: #fff;
    visibility: hidden;
    transform: translateX(100%);
    border-radius: 0;
    display: block;
    position: fixed;
    padding: 40px 24px;
    bottom: 0;
    left: 0;
    height: 100%;
    z-index: 101;
    width: 100%;
    overflow-x: hidden;
    transition:
        visibility 0.2s ease-in-out,
        transform 0.2s ease-in-out;
}

.canvas-right.active {
    visibility: visible;
    transform: translateX(0);
}

.canvas-right .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.canvas-right .bottom {
    margin-top: 30px;
}

.canvas-right .bottom ul .dropdown a.mainlink {
    display: block;
    padding: 16px 0;
    color: #2c3d4f;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid rgba(159, 159, 159, 0.5);
}

.canvas-right .bottom ul .dropdown {
    display: none;
}

.canvas-right .bottom ul .dropdown.active {
    display: block;
}

.canvas-right .bottom ul .dropdown .child-menu {
    margin: 0;
    margin-top: 32px;
    padding: 0;
    list-style-type: none;
    height: calc(100vh - 120px);
    overflow-y: auto;
}

.canvas-right .bottom ul .dropdown .child-menu li {
    margin-bottom: 24px;
}

.canvas-right .bottom ul .dropdown .child-menu li a {
    font-weight: 400;
    font-size: 16px;
    display: block;
    color: #2c3d4f;
}

.canvas-right .bottom ul .dropdown.show {
    display: block;
}

.canvas-right .bottom .main-items {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

.canvas-menu .top .close1 {
    height: 25px;
}

.canvas-right .top .back {
    height: 25px;
}

#main {
    margin-top: 20rem;
}

.search_result ul {
    padding: 0;
    list-style: none;
}

.search_result ul li {
    margin-bottom: 20px;
}

.search_result ul li a {
    font-weight: 700;
    font-size: 28px;
    color: #9f9f9f;
    text-decoration: none;
}

.search_result ul li a:hover {
    color: #2c3d4f;
}

header div.megamenu {
    border-top: 1px solid #dddddd;
    position: absolute;
    left: 0;
    padding-top: 56px;
    padding-bottom: 64px;
    background: white;
    width: 100%;
    transition:
        opacity 0.2s cubic-bezier(0.6, 2, 0.1, 1),
        transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        visibility 0s linear 0.2s;
    transform: translateY(-10px) scale(0.9);
    opacity: 0;
    visibility: hidden;
}

.header-items ul li.dropdown a.active ~ div.megamenu {
    transition:
        opacity 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        transform 0.2s cubic-bezier(0.6, 0.2, 0.1, 1),
        visibility 0s linear 0s;
    visibility: visible;
    transform: none;
    opacity: 1;
}

.canvas-right__mega .mainlink--wrapper .sublink {
    display: none;
}

.canvas-right__mega .mainlink--wrapper.is-open .sublink {
    display: block;
}

.canvas-right__mega.is-sublink .main-items--wrapper.active .lists {
    display: block;
}

.canvas-right__mega .lists .mainlink--link {
    margin-bottom: 0;
}

.canvas-right__mega .main-items .lists .mainlink--link {
    margin-bottom: 0;
}

.canvas-right__mega .main-items .lists .mainlink--wrapper {
    margin-bottom: 0;
}

.canvas-right__mega .mainlink--wrapper + .mainlink--wrapper {
    margin-top: 24px;
}

.canvas-right__mega .third-level-list .mainlink--link {
    font-weight: 400;
}

.canvas-right__mega .third-level-list .mainlink--link::after {
    content: none;
}

.canvas-right__mega .third-level-list .mainlink .mainlink--link::after {
    content: none;
}

.canvas-right__mega.is-sublink .third-level-list .mainlink--link {
    font-weight: 400;
    margin-bottom: 0;
}

@media screen and (max-width: 1300px) {
    .header-items ul li.dropdown a.main {
        font-size: 14px;
    }
}
@media screen and (max-width: 1200px) {
    #main {
        margin-top: 15rem;
    }
    .header-mobile {
        display: block;
    }
    .header-items,
    header .toplinks {
        display: none;
    }
    header.header {
        box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.1);
    }
    header .bottomlinks {
        padding: 10px 0;
    }
}

@media screen and (max-width: 768px) {
    #main {
        margin-top: 12rem;
    }
    .search_result ul li a {
        font-weight: 700;
        font-size: 20px;
    }
    .search-modal input {
        font-size: 30px;
    }
    .header--wrapper .header-logo img {
        max-width: 200px;
    }
    .search-modal__bottom span {
        top: 5px;
    }
    .search-modal__bottom span svg {
        max-width: 30px;
    }
}
