/*
Theme Name: apg_danjohn
Theme URI: 
Author: apgut.lv
Author URI: 
Description: 
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentythree
Text Domain: apg_danjohn
Tags: 
*/


html {
    scroll-behavior: smooth;
    margin-top:0 !important;
}

/*html.has-modal-open {*/
/*    overflow:initial !important;*/
/*}*/

#wpadminbar {
    margin-top:-25px;
    transition:margin-top 1.5s;
}

#wpadminbar:hover {
    margin-top:0;
}

body {
    --wp--preset--font-family--HalveticaNeue: HalveticaNeue, ui-sans-serif, system-ui, sans-serif;
}

header {
    position:sticky;
    width:100%;
    transition:top 0.5s;
    z-index:11;
}

header #modal-1-content {
    gap:10px;
}

header #modal-1-content .wp-block-navigation__submenu-container {
    gap:5px;
    margin-top:5px;
}

.position_hidden {
    top:-74px;
}
.position_top {
    top:0;
}
.position_default {
    top:null;
}
.position-relative {
    position:relative;
}

.bottom-right {
    position:absolute;
    bottom:0;
    right:0;
}

.bottom-left {
    position:absolute !important;
    z-index:2;
    bottom:0;
    left:0;
}

.center-center {
    position:absolute;
    top: 50%;
    right:50%;
    transform: translate(50%,-50%);
}

.center-right {
    z-index:10;
    position:absolute;
    top: 50%;
    right:15px;
    transform: translateY(-32px);
}

.center-left {
    z-index:10;
    position:absolute;
    top: 50%;
    left:15px;
    transform: translateY(-32px);
}

.top_header_part {width: calc(50% - 60px);}

.wc-block-mini-cart__quantity-badge {
    background-image: url("data:image/svg+xml,%3Csvg width='18' viewBox='0 0 18 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 7V5C4 3.67392 4.52678 2.40215 5.46447 1.46447C6.40215 0.526784 7.67392 0 9 0C10.3261 0 11.5979 0.526784 12.5355 1.46447C13.4732 2.40215 14 3.67392 14 5V7H17C17.2652 7 17.5196 7.10536 17.7071 7.29289C17.8946 7.48043 18 7.73478 18 8V20C18 20.2652 17.8946 20.5196 17.7071 20.7071C17.5196 20.8946 17.2652 21 17 21H1C0.734784 21 0.48043 20.8946 0.292893 20.7071C0.105357 20.5196 0 20.2652 0 20V8C0 7.73478 0.105357 7.48043 0.292893 7.29289C0.48043 7.10536 0.734784 7 1 7H4ZM4 9H2V19H16V9H14V11H12V9H6V11H4V9ZM6 7H12V5C12 4.20435 11.6839 3.44129 11.1213 2.87868C10.5587 2.31607 9.79565 2 9 2C8.20435 2 7.44129 2.31607 6.87868 2.87868C6.31607 3.44129 6 4.20435 6 5V7Z' fill='%231B1B1B' fill-opacity='0.96'/%3E%3C/svg%3E%0A")  !important;
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center;
}
.wc-block-mini-cart__quantity-badge svg {
    opacity:0  !important;
    width: 25px;
}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots):not(.alignwide):not(.alignfull).vertical_seperator {
    rotate:90deg;
    width:1em !important;
}

.wp-block-search__button svg.search-icon {
    background-image: url("data:image/svg+xml,%3Csvg width='17' viewBox='0 0 21 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.031 14.617L20.314 18.899L18.899 20.314L14.617 16.031C13.0237 17.3082 11.042 18.0029 9 18C4.032 18 0 13.968 0 9C0 4.032 4.032 0 9 0C13.968 0 18 4.032 18 9C18.0029 11.042 17.3082 13.0237 16.031 14.617ZM14.025 13.875C15.2941 12.5699 16.0029 10.8204 16 9C16 5.132 12.867 2 9 2C5.132 2 2 5.132 2 9C2 12.867 5.132 16 9 16C10.8204 16.0029 12.5699 15.2941 13.875 14.025L14.025 13.875Z' fill='%231B1B1B' fill-opacity='0.96'/%3E%3C/svg%3E%0A")  !important;
    background-repeat:no-repeat;
    background-size:contain;
    background-position: center;
    min-width:17px;
}
.wp-block-search__button svg.search-icon * {
    opacity:0  !important;
}

.empty_hyperlink a.wp-block-navigation-item__content {
    display:none;
}

.empty_hyperlink .wp-block-navigation-submenu__toggle {
    width:1em;
    height:1em;
}

.slide_horizontally {
    display:flex;
    width:100%;
    overflow-x:auto;
    overflow-y:visible;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.slide_horizontally div {
    width:fit-content;
    height:fit-content;
}
.slide_horizontally > div {
    width:fit-content;
    max-width:calc(100vw - 10px);
    margin-block-start:0 !important;
    padding-right:16px;
    flex-shrink:0;
}

.slide_horizontally > div img {
    width: 330px;
    height: 476px;
    max-width:100vw;
    object-fit:contain;
}
@media screen and (min-width: 300px) and (max-width: 620px) {
    .slide_horizontally > div img {
        width:calc(100vw - 31px) !important;
        height:calc((100vw - 31px) * 1.4424) !important;
    }
}
@media screen and (min-width: 800px) {
    .slide_horizontally > div img {
        width:25vw !important;
        height:36vw !important;
        max-width: 500px;
        max-height: 721px;
    }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.slide_horizontally::-webkit-scrollbar {
  display: none;
}

a.ek-link {
    text-decoration:none;
}
a.ek-link:hover {
    text-decoration:underline;
}

/* START FROM BUILD IN EDITOR */
.wp-site-blocks {
   position:relative;
}

.cover_transition_bg {
   height:100vh;
   max-height:1500px;
}

.absolute_header {
    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:2;
}

.position_bottom {
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
}

.pl-3 {
    padding-left:30px;
}

.cover_transition_bg img {
    object-position:50% 80px !important;
}


.wp-social-link.wp-block-social-link {
    color:white !important;
}

.wp-social-link.wp-block-social-link > * {
    background: #404040 !important;
}

.gradient_text_light {
    font-weight:700;
    background: linear-gradient(to bottom, #FFFFFF 0%, #D8D8D8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wp-element-button, .wp-block-button__link {
    padding:14px 17px 11px;
}

.wp-block-search__inside-wrapper .wp-element-button, .wp-block-search__inside-wrapper .wp-block-button__link{
    padding-right:0;
    padding-left:0;
}

.wp-block-search .wp-block-search__input {
    margin-right:10px;
    border:0;
}

input[type="search"]::-webkit-search-cancel-button {
    appearance: none;
    /*background: url('../../uploads/2025/02/close.png') no-repeat center;*/
    background-size: contain;
    cursor: pointer;
    height: 16px;
    width: 16px;
}

input[type="search"] {
    -webkit-box-shadow: 0px 0.5px 0px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0.5px 0px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0.5px 0px 0px rgba(0,0,0,0.75);
    transition: all 0.3s ease;
    height: 30px;
    align-self: center;
}

.wp-block-search__inside-wrapper .wp-block-search .wp-block-search__input:focus {
    -webkit-box-shadow: 0px 0px 8px 3px rgb(255, 255, 255);
    -moz-box-shadow: 0px 0px 8px 3px rgb(255, 255, 255);
    box-shadow: 0px 0px 8px 3px rgb(252, 252, 252);
    outline:0;
}

input:focus-visible {
    outline:0;
    background-color:#ffffff;
    height: 30px;
    align-self: center;
}

.wp-block-search__button:not(.has-icon) {
    padding-left:20px;
    padding-right:20px;
}


.wp-block-navigation__responsive-container {
    top:74px;
    overflow-x:hidden;
    overflow-y:hidden;
}


.wp-block-navigation__responsive-container.hidden-by-default {
    padding:10px;
    opacity:0;
}

.wp-block-navigation__responsive-container.hidden-by-default .wp-block-navigation__responsive-close {
    max-width:438px;
    min-height:100%;
    overflow-y:auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    margin:0;
    background:#fff;
    padding:3rem;
    border-right:0.03rem solid #000;
}

.wp-block-navigation__responsive-container.hidden-by-default .wp-block-navigation__responsive-close .wp-block-navigation__responsive-dialog {
    margin-top:0;
}

.wp-block-navigation__responsive-container.hidden-by-default .wp-block-navigation__responsive-close .wp-block-navigation__responsive-container-content {
    padding:0;
}


@media screen and (max-width: 450px) {
    .wp-block-navigation__responsive-container.hidden-by-default .wp-block-navigation__responsive-close {
        padding:10px;
    }
}

.wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
    opacity:1;
    transition:opacity 1s;
    background-color:transparent !important;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    padding:0;
}

.wp-block-navigation__responsive-container-close {
    opacity:0;
    width:0;
    position:absolute;
    top:-100px;
}
.wp-block-navigation__responsive-container-open.open svg :nth-child(1) {
    transform: rotate(45deg) translateX(5px) translateX(-2px);
}
.wp-block-navigation__responsive-container-open.open svg :nth-child(2) {
    width:0;
}
.wp-block-navigation__responsive-container-open.open svg :nth-child(3) {
    transform: rotate(-45deg) translateX(-15px) translateX(2px);
    width:25px;
}

.wp-block-navigation__responsive-container-open svg * {
    transition: transform 0.4s, width 0.4s;
}

a.wp-block-navigation-item__content:active, a.wp-block-navigation-item__content:hover, a.wp-block-navigation-item__content:focus {
    text-decoration:none;
}

.wp-block-navigation__responsive-container-content>ul {
    width:100%;
}
.wp-block-navigation__responsive-container-content>ul>li {
    padding:10px 0;
    border-bottom:0.03rem solid #686766;
    width:100%;
}

.wp-block-navigation__responsive-container-content>ul>li.current-menu-item {
    border-color:#BFB8AF;
}

.wp-block-navigation-item__content {
    font-size:16px;
    text-decoration:none;
    text-transform:uppercase;
}

li.current-menu-item > .wp-block-navigation-item__content {
    color: #BFB8AF !important;
}


.wp-block-navigation-item__content:hover {
    opacity:0.55;
}

.link-with-arrow-right {
    display:flex;
    align-items:center;
}

.link-with-arrow-right .wp-element-button {
    text-decoration:none !important;
}

.link-with-arrow-right .wp-element-button:hover {
    opacity:0.85;
}


.link-with-arrow-right::after {
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjMzMzMxIDEwQzMuMzMzMzEgOS41Mzk3OCAzLjcwNjQxIDkuMTY2NjkgNC4xNjY2NSA5LjE2NjY5SDE1LjgzMzNDMTYuMjkzNiA5LjE2NjY5IDE2LjY2NjYgO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"btn-arrow-"] .wp-element-button, [class *= " btn-arrow-"] .wp-element-button {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2219%22%20viewBox%3D%220%200%2023%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.21259%200.279074L0%209.40334L9.21259%2018.5276C9.2958%2018.6353%209.4015%2018.724%209.52256%2018.7879C9.64361%2018.8518%209.77719%2018.8894%209.91424%2018.898C10.0513%2018.9066%2010.1886%2018.8861%2010.3169%2018.8379C10.4453%2018.7897%2010.5616%2018.7148%2010.658%2018.6185C10.7544%2018.5221%2010.8287%2018.4065%2010.8758%2018.2794C10.9229%2018.1523%2010.9417%2018.0167%2010.931%2017.8818C10.9203%2017.7469%2010.8803%2017.6158%2010.8137%2017.4975C10.7472%2017.3791%2010.6556%2017.2762%2010.5451%2017.1958L3.65244%2010.3479L21.9914%2010.3479C22.2456%2010.3479%2022.4894%2010.2484%2022.6692%2010.0712C22.849%209.89409%2022.95%209.65385%2022.95%209.40334C22.95%209.15283%2022.849%208.91258%2022.6692%208.73545C22.4894%208.55831%2022.2456%208.4588%2021.9914%208.4588L3.65244%208.4588L10.5451%201.61088C10.7244%201.43302%2010.8246%201.19228%2010.8237%200.941635C10.8228%200.690989%2010.7208%200.450958%2010.5403%200.274349C10.3598%200.0977421%2010.1155%20-0.00097847%209.86108%20-9.15527e-05C9.60669%200.000793457%209.36308%200.101213%209.18384%200.279074H9.21259Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E);
    background-position:center;
    background-repeat:no-repeat;
    width:54px;
    height:54px;
    box-sizing:border-box;
    color:transparent;
    display: inline-block;
    overflow: hidden;
}

.latest-news .wp-block-query-pagination {
    margin-top: 5px;
}

.latest-news .wp-block-query-pagination-previous,
.latest-news .wp-block-query-pagination-next {
    margin-right:0;
    margin-left:0;
}

.latest-news .wp-block-query-pagination-previous-arrow,
.latest-news .wp-block-query-pagination-next-arrow {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2223%22%20height%3D%2219%22%20viewBox%3D%220%200%2023%2019%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M9.21259%200.279074L0%209.40334L9.21259%2018.5276C9.2958%2018.6353%209.4015%2018.724%209.52256%2018.7879C9.64361%2018.8518%209.77719%2018.8894%209.91424%2018.898C10.0513%2018.9066%2010.1886%2018.8861%2010.3169%2018.8379C10.4453%2018.7897%2010.5616%2018.7148%2010.658%2018.6185C10.7544%2018.5221%2010.8287%2018.4065%2010.8758%2018.2794C10.9229%2018.1523%2010.9417%2018.0167%2010.931%2017.8818C10.9203%2017.7469%2010.8803%2017.6158%2010.8137%2017.4975C10.7472%2017.3791%2010.6556%2017.2762%2010.5451%2017.1958L3.65244%2010.3479L21.9914%2010.3479C22.2456%2010.3479%2022.4894%2010.2484%2022.6692%2010.0712C22.849%209.89409%2022.95%209.65385%2022.95%209.40334C22.95%209.15283%2022.849%208.91258%2022.6692%208.73545C22.4894%208.55831%2022.2456%208.4588%2021.9914%208.4588L3.65244%208.4588L10.5451%201.61088C10.7244%201.43302%2010.8246%201.19228%2010.8237%200.941635C10.8228%200.690989%2010.7208%200.450958%2010.5403%200.274349C10.3598%200.0977421%2010.1155%20-0.00097847%209.86108%20-9.15527e-05C9.60669%200.000793457%209.36308%200.101213%209.18384%200.279074H9.21259Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E);
    background-position:center;
    background-repeat:no-repeat;
    width:54px;
    height:54px;
    box-sizing:border-box;
    color:transparent;
    border:1px solid #000;
    border-right-width: 0;
    margin:0;
}

.latest-news .wp-block-query-pagination-next-arrow {
    rotate:180deg;
}

.latest-news .wp-block-query-pagination-numbers {
    display:flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 215px;
    height: 54px;
    box-sizing: border-box;
    border-width: 1px;
    border-color: #000;
    border-style: solid;
    gap:5px;
    margin-right:0;
    margin-left:0;
    font-size: clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.227), 16px);
    font-style: italic;
    font-weight: 500;
}

.latest-news .wp-block-query-pagination-numbers a {
    display:inline-block;
    width:0;
    height:0;
    padding:0;
    margin:0;
    opacity:0;
    position:absolute;
    top:-100px;
}

[class ^= "btn-round-arrow-"] .wp-element-button,
[class *= " btn-round-arrow-"] .wp-element-button {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M4.66669%2014C4.66669%2013.3556%205.18903%2012.8333%205.83336%2012.8333H22.1667C22.811%2012.8333%2023.3334%2013.3556%2023.3334%2014C23.3334%2014.6443%2022.811%2015.1666%2022.1667%2015.1666H5.83336C5.18903%2015.1666%204.66669%2014.6443%204.66669%2014Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M22.9917%2013.175C23.4473%2013.6306%2023.4473%2014.3693%2022.9917%2014.8249L15.9917%2021.8249C15.536%2022.2805%2014.7974%2022.2805%2014.3417%2021.8249C13.8861%2021.3693%2013.8861%2020.6306%2014.3417%2020.175L21.3417%2013.175C21.7974%2012.7194%2022.536%2012.7194%2022.9917%2013.175Z%22%20fill%3D%22white%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M14.3417%206.17502C14.7974%205.71941%2015.536%205.71941%2015.9917%206.17502L22.9917%2013.175C23.4473%2013.6306%2023.4473%2014.3693%2022.9917%2014.8249C22.536%2015.2806%2021.7974%2015.2806%2021.3417%2014.8249L14.3417%207.82494C13.8861%207.36933%2013.8861%206.63063%2014.3417%206.17502Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E);
    background-position:center;
    background-repeat:no-repeat;
    width:60px;
    height:60px;
    border-radius:50%;
    box-sizing:border-box;
    color:transparent !important;
    background-color:transparent !important;
}
.center-left
[class ^= "btn-wide-arrow-"] .wp-element-button,
[class *= " btn-wide-arrow-"] .wp-element-button {
    background-image: url(data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2232%22%20viewBox%3D%220%200%2018%2032%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M0.688318%200.704369C0.247587%201.15551%200%201.76731%200%202.40523C0%203.04315%200.247587%203.65495%200.688318%204.10609L12.3254%2016.0145L0.688318%2027.923C0.260078%2028.3767%200.023119%2028.9844%200.0284748%2029.6152C0.0338306%2030.2459%200.281075%2030.8493%200.716955%2031.2954C1.15283%2031.7414%201.74248%2031.9944%202.35888%2031.9999C2.97528%2032.0054%203.56913%2031.7629%204.01252%2031.3247L17.3117%2017.7154C17.7524%2017.2642%2018%2016.6524%2018%2016.0145C18%2015.3766%2017.7524%2014.7648%2017.3117%2014.3137L4.01252%200.704369C3.57166%200.253362%202.9738%200%202.35042%200C1.72704%200%201.12918%200.253362%200.688318%200.704369Z%22%20fill%3D%22black%22%2F%3E%3C%2Fsvg%3E);
    background-position:center;
    background-repeat:no-repeat;
    width:18px;
    height:32px;
    box-sizing:border-box;
    color:transparent !important;
    background-color:transparent !important;
}

.btn-wide-arrow-left .wp-element-button {
    rotate:180deg;
}

.btn-round-arrow-left .wp-element-button {
    rotate:180deg;
}

.btn-arrow-right .wp-element-button {
    rotate:180deg;
}

.btn-arrow-up .wp-element-button {
    background-size: 15px;
    width:30px;
    height:30px;
    rotate:90deg;
}

[class ^= "btn-arrow-"] .wp-element-button:hover,
[class *= " btn-arrow-"] .wp-element-button:hover {
    /*background-color: #F6F6F6 !important;*/
    filter: brightness(0.5) invert(1);
    color:transparent;
    transition: filter 0.3s;
}

[class ^= "btn-wide-arrow-"] .wp-element-button:hover,
[class *= " btn-wide-arrow-"] .wp-element-button:hover {
    background-color:transparent !important;
    opacity:60%;
}

[class ^= "btn-round-arrow-"] .wp-element-button:hover,
[class *= " btn-round-arrow-"] .wp-element-button:hover {
    opacity:85%;
    background-color:rgba(0, 0, 0, 0.35) !important;
    transition:background 0.3s;
}
.slide-counter {
    width: 215px;
    height:54px;
    box-sizing:border-box;
    border-width: 1px 0;
    border-color: #000;
    border-style: solid;
}

input[type=email] {
    max-width: 280px;
    width:100%;
    min-width:80px;
    font-size:16px;
    padding: 13px 0;
    border:none;
    border-bottom: 1px solid #ECECEC;
}

input[type=email]:focus {
    border-color:grey;
    outline:none;
}

input::placeholder {
    color:#9E9E9E;
}

input[type=submit] {
    font-size: 16px;
    background-color:#2D2C29;
    color:#fff;
    border:none;
    padding: 14px 24px;
}

.apg_field_group {
    display:flex;
    align-items: flex-end;
    gap:16px;
    width:100%;
    margin-bottom:10px;
}

.apg_field_group * {
    font-family:var(--wp--preset--font-family--halvetica-neue) !important;
}

.default_footer a {
    text-decoration:none;
}

.default_footer a:hover {
    text-decoration:underline;
}

.footer_columns > div {
    width:160px;
}
@media screen and (min-width: 1200px) {
    .footer_columns > div {
        width:200px;
    }
}
@media screen and (max-width: 600px) {
    .latest-news .wp-block-query-pagination-numbers {
        width:100px;
        max-width:70%;
        height:30px;
    }
    
    .latest-news .wp-block-query-pagination-previous-arrow,
    .latest-news .wp-block-query-pagination-next-arrow {
        width:30px;
        height:30px;
        background-size:12px;
    }
    .apg_field_group {
        flex-wrap:wrap;
    }
    
    .center-center {
        right: 25px;
    }
}

.footer_rights_column{
    width:450px;
}

@media screen and (max-width: 781px) {
    .category_image {
        max-width:300px !important;
    }
}


/*HERO SLIDER*/
.hero_slider_wraper {
    height:fit-content;
    overflow-x: hidden;
    position:relative;
}

.hero_slider_wraper .hero_slider  {
    width:100%;
    overflow-y: visible;
    -ms-overflow-style: none;
    scrollbar-width: none;
    position:relative;
    left:0;
    transition: left 1.2s;
}

.hero_slider .wp-block-cover {
    width:100%;
    flex-shrink: 0;
}

.hero_slider__pagination {
    height:30px;
}

.hero_slider_wraper.active .hero_slider__pagination>div:first-child{
    display:none;
}


.hero_slider__pagination hr.wp-block-separator {
    width:40px !important;
}

.hero_slider__pagination div:hover hr.wp-block-separator {
    border-width:5px;
    transition: border-width 0.5s;
}

.hero_slider .wp-block-cover, .hero_section {
    min-height: 400px;
}
@media screen and (min-height: 350px) and (max-height: 1200px) {
    .hero_slider .wp-block-cover, .hero_section {
        height: calc(100vh - 74px);
    }
}

@media screen and (min-width: 600px) and (min-height: 1200px) {
    .hero_slider .wp-block-cover, .hero_section {
        min-height: 900px !important;
    }
}

/* IMAGE SLIDER */
.image_slider_wraper {
    width:100%;
    height:100%;
}
.image_slider {
    height:100%;
}

/*.image_slider div {*/
/*    width:fit-content;*/
/*    height:fit-content;*/
/*}*/
.image_slider > div {
    width:100%;
    flex-shrink:0;
}

/* ARCHIVE STYLE*/
.wp-block-term-description p:not(:first-child) {
    margin-block-start: var(--wp--preset--spacing--30);
}


/* START READ MORE BUTTON */
.wp-block-post-excerpt__more-text {
    color: var(--wp--preset--color--secondary);
    margin-top:1em;
    font-size:clamp(14px, 0.875rem + ((1vw - 3.2px) * 0.227), 16px);
    font-weight: 700;
    display: flex;
    align-items: center;
}
.wp-block-post-excerpt__more-text::after {
    content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0zLjMzMzMxIDEwQzMuMzMzMzEgOS41Mzk3OCAzLjcwNjQxIDkuMTY2NjkgNC4xNjY2NSA5LjE2Nj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3Ii8+Cjwvc3ZnPgo=);
    margin: 3px 0 0 3px;
}

.wp-block-post-excerpt__more-text a {
    text-decoration:none;
}
.wp-block-post-excerpt__more-text a:hover {
    text-decoration:underline;
}

/* END READ MORE BUTTON */

/* FOOTER NAV START */

.footer_product_nav.wp-block-navigation .has-child.wp-block-navigation-item {
    flex-wrap:wrap;
    justify-content:space-between;
}
.wp-block-navigation__submenu-icon {
    position:relative;
    padding:0.7em !important;
}
.wp-block-navigation__submenu-icon svg {
    display:none !important;
}
.wp-block-navigation__submenu-icon::after {
    font-weight:200;
    font-family: var(--wp--preset--font-family--helvetica-neue);
    content:"+";
    position:absolute;
    top: 0.25em;
    left: 0.15em;
    font-size:2em;
}

.wp-block-navigation__submenu-icon[aria-expanded="true"]::after {
    content:"−";
}
.footer_product_nav.wp-block-navigation .has-child .wp-block-navigation__submenu-container > li {
    width:45%;
}

.footer_product_nav.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
    box-sizing: border-box;
    border: 0.03rem solid grey;
    flex-wrap:wrap;
    justify-content:space-between;
    flex-direction:row;
    padding:5px;
}
    
@media screen and (min-width: 404px) {
    .wp-block-navigation__submenu-icon::after {
        font-size: 1.2em;
        top: 0.48em;
    }
    .footer_product_nav.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
        min-width:450px !important;
    }

}
@media screen and (max-width: 404px) {
    .footer_product_nav.wp-block-navigation {
      
    }
    
    .footer_product_nav.wp-block-navigation .has-child .wp-block-navigation__submenu-container {
        position:relative;
        width:100% !important;
        border:0;
        z-index:0;
        display:none;
        padding:16px 0;
    }
    
    .footer_nav_link, .footer_product_nav > ul > li {
        width: calc(100vw - 48px) !important;
        padding:16px 0;
        border-bottom:0.03rem solid var(--wp--preset--color--contrast);
    }
    
    .footer_product_nav.wp-block-navigation .has-child .wp-block-navigation-submenu__toggle[aria-expanded=true]~.wp-block-navigation__submenu-container,
    .footer_product_nav.wp-block-navigation .has-child:not(.open-on-click):hover>.wp-block-navigation__submenu-container,
    .footer_product_nav.wp-block-navigation .has-child:not(.open-on-click):not(.open-on-hover-click):focus-within>.wp-block-navigation__submenu-container {
        display:flex;
    }
}

/* ------------- */
.footer_accordion_nav summary  {
    position:relative;
}

.footer_accordion_nav summary::-webkit-details-marker,
.footer_accordion_nav summary::marker {
    display: none; 
    content: "";
}

.footer_accordion_nav details:first-child {
    border-top: 0.03rem solid var(--wp--preset--color--contrast);
}

.footer_accordion_nav details,
.footer_accordion_nav > p {
    padding:16px 0;
    border-bottom: 0.03rem solid var(--wp--preset--color--contrast);
}

.footer_accordion_nav details[open] summary {
    margin-bottom:16px;
    color: #BFB8AF !important;
}

.footer_accordion_nav summary::after {
    font-weight:200;
    font-family: var(--wp--preset--font-family--helvetica-neue);
    content:"+";
    position:absolute;
    top: 0;
    right: 0;
    font-size:1.6em;
    line-height: 1.1em;
}

.footer_accordion_nav details[open] summary::after {
    content:"−";
}

.trp-language-switcher {
    width: initial !important;
}

.trp-ls-shortcode-current-language, .trp-ls-shortcode-language {
    width: 60px !important;
}

.trp-language-switcher {
    z-index: 100001;
}

.trp-language-switcher > div {
    border:0.03rem solid transparent !important;
    padding: 3px !important;
    background-position: calc(100% - 0.75em) 17px;
}

.trp-language-switcher > div:hover {
    border-color: #000 !important;
}

.wp-block-navigation__responsive-container-open {
    position:relative;
    z-index:1000000;
}

.hide {
    display:none !important;
}

/* FOOTER NAV END */

/* END BUILD IN EDITOR */