:root {
    --color-orange: #F06F1F;
    --color-light-blue: #0C9ED9;
    --color-green: #59A545;
    --color-blue: #1071A1;
    --color-purple: #563684;
    --color-dark-blue: #193D6A;
    --color-text-grey: #58595B;
    --color-bg-grey: #F2F2F2;
    --color-dark-grey: #6D6E71;
    --header-mobile-height: 60px;
    --color-figure-grey: #707070;
}

.site-header {
    background-color: rgba(0,0,0,0);
}

.desktop-nav {
    background-color: #fff;
}

.header-mobile-menu {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.header-mobile-menu__primary {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: var(--header-mobile-height);
    border-bottom: 1px solid var(--color-figure-grey);
    position: relative;
}
.header-mobile-menu__search-placeholder {
    width: 60px;
    height: 1px;
}
.header-mobile-menu__search {
    position: absolute;
    top: 0;
    width: 100%;
    bottom: 0;
    background: white;
    transition: transform 0.5s;
    left: -100%;
    transform: translateX(60px);
}
.header-mobile-menu__search--open {
    left: 0;
    transform: translateX(0);
    opacity: 1;
}
.header-mobile-menu__search__bg {
    background: #efefef;
    position: absolute;
    top: 0;
    left: 0;
    right: 10px;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease 0.4s;
}
.header-mobile-menu__search--open .header-mobile-menu__search__bg {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.header-mobile-menu__search__bg:before {
    content: ' ';
    background: #efefef;
    position: absolute;
    top: 0;
    left: 100%;
    width: 10px;
    bottom: 0;
    clip-path: ellipse(50px 400% at -40px 50%);
    /*clip-path: ellipse(50px 400% at -40px 50%); min */
    /*clip-path: ellipse(50px 100% at -40px 50%); max */
}
.header-mobile-menu__search__bg:after {
    content: ' ';
    background: white;
    position: absolute;
    top: 0;
    right: -10px;
    width: 10px;
    bottom: 0;
    clip-path: ellipse(50px 400% at 60px 50%);
    /*clip-path: ellipse(50px 400% at 60px 50%); min*/
    /*clip-path: ellipse(50px 100% at 52px 50%); max */
}
.header-mobile-menu__search--opening .header-mobile-menu__search__bg:before  {
    animation-name: menu-bg-open-gray;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
.header-mobile-menu__search--opening .header-mobile-menu__search__bg:after  {
    animation-name: menu-bg-open-white;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
.header-mobile-menu__search--closing .header-mobile-menu__search__bg:before  {
    animation-name: menu-bg-close-gray;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
.header-mobile-menu__search--closing .header-mobile-menu__search__bg:after  {
    animation-name: menu-bg-close-white;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
@keyframes menu-bg-open-gray {
    0% { clip-path: ellipse(50px 400% at -40px 50%); }
    10% { clip-path: ellipse(50px 100% at -40px 50%); }
    50% { clip-path: ellipse(50px 100% at -40px 50%); }
    75% { clip-path: ellipse(50px 400% at -40px 50%); }
    100% { clip-path: ellipse(50px 400% at -40px 50%); }
}
@keyframes menu-bg-open-white {
    0% { clip-path: ellipse(50px 400% at 60px 50%); }
    50% { clip-path: ellipse(50px 400% at 60px 50%); }
    75% { clip-path: ellipse(50px 100% at 52px 50%); }
    90% { clip-path: ellipse(50px 400% at 60px 50%); }
    100% { clip-path: ellipse(50px 400% at 60px 50%); }
}
@keyframes menu-bg-close-gray {
    0% { clip-path: ellipse(50px 400% at -40px 50%); }
    50% { clip-path: ellipse(50px 400% at -40px 50%); }
    75% { clip-path: ellipse(50px 100% at -40px 50%); }
    90% { clip-path: ellipse(50px 400% at -40px 50%); }
    100% { clip-path: ellipse(50px 400% at -40px 50%); }
}
@keyframes menu-bg-close-white {
    0% { clip-path: ellipse(50px 400% at 60px 50%); }
    10% { clip-path: ellipse(50px 100% at 52px 50%); }
    50% { clip-path: ellipse(50px 100% at 52px 50%); }
    75% { clip-path: ellipse(50px 400% at 60px 50%); }
    100% { clip-path: ellipse(50px 400% at 60px 50%); }
}

.header-mobile-menu__search--opening {
    animation-name: menu-open;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
.header-mobile-menu__search--closing {
    animation-name: menu-close;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
@keyframes menu-open {
    0% { left: -100%; }
    50% { left: 2%; }
    75% { left: -1% }
    90% { left: 0.5% }
    95% { left: -0.25% }
    100% { left: 0% }
}
@keyframes menu-close {
    0% { left: 0% }
    50% { left: -102% }
    75% { left: -99% }
    90% { left: -100.5% }
    95% { left: -99.75% }
    100% { left: -100% }
}

.menu-search-logo {
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 2;
}
.menu-search-logo svg {
    width: 30px !important;
    height: 30px !important;
}
.menu-search-toggle {
    width: 60px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}
.header-mobile-menu__search--opening .menu-search-toggle {
    animation-name: menu-toggle-open;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
.header-mobile-menu__search--closing .menu-search-toggle {
    animation-name: menu-toggle-close;
    animation-duration: 0.5s;
    animation-fill-mode: both;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
}
@keyframes menu-toggle-open {
    0% { transform: rotate(0) }
    10% { transform: rotate(45deg) }
    50% { transform: rotate(0) }
    100% { transform: rotate(0) }
}
@keyframes menu-toggle-close {
    0% { transform: rotate(0) }
    10% { transform: rotate(-45deg) }
    50% { transform: rotate(0) }
    100% { transform: rotate(0) }
}

.menu-search-toggle button {
    appearance: none;
    background: none;
    border: none;
    position: absolute;
    top: 0;
    width: 100%;
    right: 0;
    bottom: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color:  rgba(255, 255, 255, 0);
    transition: transform 0.2s ease 0.35s, opacity 0.05s ease 0.35s;
}
.menu-search-toggle button.close {
    opacity: 0;
    transform: rotateY(90deg);
    transition: transform 0.2s ease 0.25s, opacity 0.05s ease 0.45s;
}
.header-mobile-menu__search--open .menu-search-toggle button.search {
    opacity: 0;
    transform: rotateY(90deg);
    transition: transform 0.2s ease 0.25s, opacity 0.05s ease 0.45s;
}
.header-mobile-menu__search--open .menu-search-toggle button.close {
    opacity: 1;
    transform: rotateY(0);
    transition: transform 0.2s ease 0.35s, opacity 0.05s ease 0.35s;
}

.menu-search-toggle button svg {
    width: 20px !important;
    height: 20px !important;
}
.menu-search-form {
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: stretch;
}
.menu-search-form input {
    margin: 0;
    flex: 1;
    padding: 10px 70px;
    outline: none !important;
    background: none;
}

.header-mobile-menu button {
    background: none;
}

.menu-toggle {
    margin-right: 1.5rem;
}

.mobile-menu__secondary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 50px;
    align-items: center;
}

.mobile-menu__secondary a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-left {
    background-color: var(--color-dark-blue);
    color: #fff;
    border: 1px solid var(--color-dark-blue);
}

.btn-left:hover {
    background-color: #fff;
    color: var(--color-dark-blue);
}

.btn-right {
    background-color: #fff;
    color: var(--color-dark-blue);
    border: 1px solid var(--color-dark-blue);
}

.btn-right:hover {
    background-color: var(--color-dark-blue);
    color: #fff;
}

.drop-crop {
    position: relative;
    top: var(--header-mobile-height);
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

.drop-crop.active {
    background-color: #fff;
    height: calc(100vh - var(--header-mobile-height));
    overflow-y: auto;
}

.mega-menu {
    display: none;
}

.mobile-menu {
    display: block;
    position: absolute;
    z-index: 1 !important;
    top: 0;
    left: 0;
    right: 0;
    /*height: calc(100vh - var(--header-mobile-height));*/
    transform: translateX(105%);
    transition: transform .2s, opacity .2s;
    opacity: 0;
    background-color: #fff;
}

.mobile-menu.active {
    transform: translateX(0);
    pointer-events: auto;
    opacity: 1;
}

.primary-menu {
    display: grid;
    grid-row-gap: 2.25rem;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    border-bottom: 1px solid var(--color-figure-grey);
}

.primary-menu.hidden {
    opacity: 0;
    pointer-events: none;
}

.primary-menu__btn {
    background-color: rgba(0, 0, 0, 0);
    display: flex;
    gap: .5rem;
    text-decoration: none;
    color: var(--color-text-grey);
}

.mobile-menu__item {
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    background: #fff;
    position: absolute;
    top: 50px;
    transition: .2s;
    transform: translateX(-100%);
    z-index: 5;
    width: 100%;
    border-bottom: 1px solid var(--color-figure-grey);
}

.mobile-menu__item.active {
    transform: translateX(0);
}

.mobile-menu__back {
    color: var(--color-orange);
    display: flex;
    align-items: center;
    gap: .5rem;
    background-color: rgba(0, 0, 0, 0);
    transform: translateX(0);
}

.mobile-menu__back:hover img,
.mobile-menu__back:focus img {
    transform: translateX(-.5rem);
}

.mobile-menu__nav {
    padding-top: 2rem;
}

.mobile-menu__toggle {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-column-gap: 1.25rem;
    grid-row-gap: 1.5rem;
    align-items: center;
    padding-top: 1rem;
    position: relative;
    cursor: pointer;
}

.mobile-menu__toggle.active .mobile-menu__title,
.mobile-menu__item--colored .mobile-menu__toggle,
.mobile-menu__item--colored .mobile-menu__title {
    color: var(--nav-item-color);
}

.mobile-menu__item .mobile-menu__toggle svg > * {
    fill: var(--nav-item-color);
    stroke: var(--nav-item-color);
}

.mobile-menu__item svg {
    grid-column: 1/2;
    width: 2rem;
    height: 2rem;
}

.mobile-menu__item--colored .mobile-menu__icon {
    color: var(--nav-item-color);
}

.mobile-menu__title {
    grid-column: 2/3;
    position: relative;
}

.mobile-menu__title:before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--nav-item-color);
    transform: scaleX(0);
    transition: .3s;
    transform-origin: left;
}

.mobile-menu__toggle.active .mobile-menu__title:before {
    transform: scaleX(1);
}

.mobile-menu__figure {
    grid-column: 3/4;
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu__figure:before,
.mobile-menu__figure:after {
    position: absolute;
    content: '';
    border-radius: 2px;
    background-color: var(--color-figure-grey);
}

.mobile-menu__figure:before {
    width: 50%;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%);
}

.mobile-menu__figure:after {
    width: 2px;
    height: 50%;
    top: 30%;
    left: 50%;
    transform: translate(-50%);
    transition: .2s;
}

.mobile-menu__item--colored .mobile-menu__figure:before,
.mobile-menu__item--colored .mobile-menu__figure:after {
    background-color: var(--nav-item-color);
}

.mobile-menu__toggle.active .mobile-menu__figure:after {
    transform: translate(-50%) rotate(90deg);
    background-color: var(--nav-item-color);
}

.mobile-menu__toggle.active .mobile-menu__figure:before {
    background-color: var(--nav-item-color);
}


.mobile-menu__content {
    grid-column: 1/4;
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 1.5rem;
    padding-left: 4.3rem;
    transform: scaleY(0);
    transform-origin: top;
    position: absolute;
    transition: transform .2s;
    top: 100%;
}
.mobile-menu__toggle.active  .mobile-menu__content {
    transform: scaleY(1);
    position: static;
}

.title {
    font-weight: 700;
    font-size: .9375rem;
    text-transform: uppercase;
    margin-bottom: 0;
    text-decoration: none;
}

.mobile-menu__child {
    grid-column: 1/2;
    color: var(--color-text-grey)
}

.mobile-menu__link.current,
.mobile-menu__child.current {
    color: var(--nav-item-color);
}

.mobile-menu__link {
    text-decoration: none;
    color: var(--color-text-grey);
}

.mobile-menu__toggle.active  .mobile-menu__content {
    color: var(--nav-item-color);
}

.mobile-menu__btn {
    margin-top: 2.5rem;
    display: flex;
    justify-content: center;
}
.mobile-menu__btn .wp-block-button__link {
    margin-bottom: 0;
}

@media (max-width: 991px) {

    .desktop-nav {
        height: auto;
    }

    .desktop-nav .header-primary-secondary {
        display: none;
    }
}

@media (min-width: 992px) {
    /*mobile*/
    .header-mobile-menu {
        display: none;
    }

    .drop-crop {


    }

    .drop-crop.active {
        height: 100vh;
        top: 100%;
        background-color: rgba(160, 160, 160, 0.282353);
    }

    .mobile-menu {
        display: none;
    }

    /*desktop*/
    .desktop-nav .header-primary .menu .menu-item.depth-1:not(.sub-menu) .dropdown-toggle {
        background-color: rgba(0, 0, 0, 0);
        padding: 0;
        padding-bottom: 15px;
        margin-left: -15px;
        transition: transform 0.4s;
    }

    .header-primary .menu-item {
        display: flex;
        align-items: center;
    }

    .desktop-nav .menu .menu-item.depth-1.active > a .title-description,
    .desktop-nav .menu .menu-item.depth-1:hover > a .title-description {
        -webkit-box-shadow: inset 0 -2px 0 0 #f06f1f;
        box-shadow: inset 0 -2px 0 0 #f06f1f;
        color: var(--color-orange);
    }

    .desktop-nav .menu .menu-item.depth-1:hover .dropdown-toggle,
    .desktop-nav .menu .menu-item.active .dropdown-toggle {
        color: var(--color-orange);
    }

    .desktop-nav .header-primary .menu .menu-item.depth-1:not(.sub-menu) .dropdown-symbol {
        transition: transform .4s;
    }

    .desktop-nav .menu .menu-item.depth-1.active .dropdown-symbol {
        /*transform: scale(1, -1);*/
    }

    .site-container .desktop-nav .header-primary ul.menu > li.menu-item:nth-last-child(2):hover:not(.sub-menu) .title-description {
        color: #193D6A;
    }


    .mega-menu {
        border-top: 1px solid #ccc;
        display: block;

        position: relative;
        z-index: 1 !important;
        top: 0;
        left: 0;
        right: 0;
        /*height: 37rem;*/
        height: auto;
        transform: translateY(-105%);
        transition: transform .2s, opacity .2s;
        opacity: 0;
        background-color: #fff;
        pointer-events: none;

        box-shadow: 0 9px 27px rgba(0, 0, 0, 0.27451);
    }

    .mega-menu.active {
        transform: translateY(0);
        pointer-events: auto;
        opacity: 1;
    }

    .mega-menu:before {
        content: '';
        position: absolute;
        background-color: var(--color-bg-grey);
        left: 0;
        top: 0;
        width: 50%;
        height: 100.2%;
    }

    .mega-menu__container {
        padding: 0 30px;
        height: 100%;
        max-width: 1300px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .mega-menu__item {
        display: grid;
        grid-template-columns: 3.2fr 6fr 3.5fr;

        position: absolute;
        top: 0;
        left: 30px;
        right: 30px;
        width: calc(100% - 60px);
        /*height: 100%;*/
        transition: opacity 0.4s;
        opacity: 0;
        pointer-events: none;
    }

    .mega-menu__item.active {
        pointer-events: auto;
        opacity: 1;
        z-index: 2;
    }

    .mega-menu__aside {
        padding-top: 2rem;
    }

    .mega-menu__content {
        background-color: #fff;
        position: relative;
    }

    .mega-menu__featured {
        /*padding-top: 2rem;*/
        background-color: #fff;
        /*padding-left: 2rem;*/
        position: relative;
    }

    .mega-menu__item .mega-menu__toggle {
        display: flex;
        align-items: center;
        margin-bottom: 1.25rem;
        column-gap: 1rem;
        color: var(--color-dark-grey);
        position: relative;
    }

    .mega-menu__toggle:hover .mega-menu__wrap,
    .mega-menu__toggle.active .mega-menu__wrap {
        border-color: var(--nav-item-color);
    }

    .mega-menu__toggle:hover .mega-menu__chevron,
    .mega-menu__toggle.active .mega-menu__chevron {
        opacity: 1;
        transform: translateX(0);
    }

    .mega-menu__item .mega-menu__toggle.active,
    .mega-menu__item--colored .mega-menu__toggle {
        color: var(--nav-item-color);
    }

    .site-header .mega-menu__toggle:hover {
        cursor: pointer;
    }

    /*icon*/
    .mega-menu__toggle > svg,
    .mega-menu__toggle > img {
        flex: 0 0 2rem;
        height: 2rem;
    }

    .mega-menu__toggle svg > * {
        fill: var(--color-dark-grey);
        stroke: var(--color-dark-grey);
    }

    .mega-menu__item .mega-menu__toggle.active svg > *,
    .mega-menu__item--colored .mega-menu__toggle svg > * {
        fill: var(--nav-item-color);
        stroke: var(--nav-item-color);
    }

    .mega-menu__wrap {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex: 1;
        border-bottom: 1px solid rgba(0, 0, 0, 0);
        transition: .4s;
    }

    .mega-menu__link {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
    }

    .mega-menu__chevron {
        color: var(--nav-item-color);
        margin-right: 1rem;

        opacity: 0;
        transition: opacity .3s ease-in, transform .4s ease-out;
        transform: translateX(-1.25rem);
    }

    .mega-menu__aside-btn {
        margin-top: 2.2rem;
        display: flex;
        /*margin-bottom: 0;*/
    }

    .mega-menu__aside-btn .wp-block-button__link {
        /*margin-bottom: 0;*/
    }

    .mega-menu__desc--aside {
        padding-right: 2rem;
    }

    /*content*/
    .mega-menu__desc--content {
        margin-left: 1rem;
        margin-bottom: 2rem;
    }

    .mega-menu__inner {
        position: absolute;
        top: 2rem;
        left: 1rem;
        right: 1rem;

        pointer-events: none;
        opacity: 0;
        transition: opacity .3s ease-in, transform .4s ease-out;
        transform: translateY(1.25rem);
    }

    .mega-menu__inner.active {
        pointer-events: auto;
        opacity: 1;
        transform: translateY(0);

        position: static;
        padding: 2rem 1rem;
    }

    .mega-menu__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .item {
        display: grid;
        grid-template-columns: 2rem 1fr;
        grid-column-gap: 1.25rem;
        grid-template-rows: auto 1fr;
        padding: 1rem;
        position: relative;
    }

    .item:hover:before,
    .item.current:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: var(--color-dark-grey);
        opacity: .09;
    }

    .item:hover .item__title,
    .item.current .item__title {
        color: var(--nav-item-color);
    }

    .mega-menu__item--colored .item:hover:before,
    .mega-menu__item--colored .item.current:before {
        background-color: var(--nav-item-color);
    }

    .mega-menu__item--colored .item:hover .item__title,
    .mega-menu__item--colored .item.current .item__title {
        color: var(--color-text-grey);
    }

    .item svg,
    .item img {
        width: 2rem;
        height: 2rem;
        grid-column: 1/2;
        grid-row: 1/3;
        z-index: 1;
    }

    .item svg > * {
        fill: var(--nav-item-color);
        stroke: var(--nav-item-color);
    }

    .item__title {
        grid-column: 2/3;
        z-index: 1;
    }

    .item__desc {
        grid-column: 2/3;
        margin-top: .5rem;
        z-index: 1;
    }

    .item__link {
        position: absolute;
        z-index: 2;
        width: 100%;
        height: 100%;
    }

    /*featured*/
    .featured {
        position: absolute;
        top: 2rem;
        left: 2rem;

        pointer-events: none;
        opacity: 0;
        transition: opacity .4s ease-out, transform .4s ease-in;
        transform: translateX(1.25rem);
    }

    .featured.active {
        pointer-events: auto;
        opacity: 1;
        transform: translateX(0);

        position: static;
        padding-top: 2rem;
        padding-left: 2rem;
    }


    .featured__content {
        background-color: var(--color-bg-grey);
        padding: 1.25rem 1.5rem;
    }

    .featured__text {
        margin-top: .5rem;
    }

    .featured .wp-block-button {
        margin: 0;
    }

    .featured .wp-block-button .wp-block-button__link {
        padding-left: 0;
        background-color: rgba(0, 0, 0, 0);
        color: var(--color-dark-blue);
        font-weight: 700;
        margin-bottom: 0;
    }

    .featured .wp-block-button .wp-block-button__link:after {
        content: url("data:image/svg+xml;charset=utf-8,%3Csvg fill='%23193D6A' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M22.72 13.33L10.63 1.24a2.37 2.37 0 10-3.35 3.34L17.7 15 7.28 25.42a2.36 2.36 0 001.68 4 2.34 2.34 0 001.67-.69l12.09-12.06a2.37 2.37 0 000-3.34z'/%3E%3C/svg%3E");
        color: var(--color-dark-blue);
    }

}

@media (min-width: 992px) and (max-height: 799px) {

    .item__desc {
        display: none;
    }

    [data-id="18524"] .item:last-of-type .item__desc {
        display: block;
      }
}

#menu-item-15909 {
    margin-left: auto;
}
@media (max-width: 767px) {
    .primary-menu__btn[data-id="15909"] {
        display: none;
    }
}


.desktop-nav .menu-container {
    display: block !important;
}
