#header .site-name a{
    display: block;
    text-align: left;
    margin-right: auto;
}

#header .site-name a img {
    margin-right: auto;
}

.header-bottom {
    border-color: #ffffff;
}

@media (min-width: 768px) {
    .top-navigation-bar .container {
        height:40px
    }

    .top-navigation-bar {
        height: 40px;
        width: 100%;
        background: #f9f9f9;
        border-bottom: 1px solid #eff4f0;
        z-index: 1003;
        position: relative;
    }

    header#header {
        margin-bottom: 10px;
        position: sticky;
        top: 0px;
        z-index: 1002
    }

    .scrolled header#header {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, .08);
    }

    #header .site-name a img {
        max-height: 50px;
    }

    #header .header-top{
        padding-top: 20px;
        padding-bottom: 10px;
    }

    #header .header-top .container{
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .popup-widget {
        z-index: 1005;
	}
    
    #header .navigation-buttons .top-nav-button-login {
        display: block;
    }

    .navigation-in>ul>li>a, .menu-helper>span {
        text-transform: uppercase;
        font-weight: 400 !important;
    }

    .navigation-in ul li a b{
        font-weight: 400 !important;
    }

    .navigation-in>ul>li.ext>ul>li>div>a{
        font-weight: 400 !important;
    }

    #navigation .menu-level-2 {
        border: unset;
    }

    #navigation .menu-level-2::before {
        content: "";
        position: absolute;
        position: absolute;
        left: 50%;
        top: 0;
        width: 100vw;
        height: 100%;
        background: #fff; 
        transform: translateX(-50%);
        z-index: -1; 
    }   
}

.top-navigation-bar .top-nav-button-login,
.top-navigation-bar a[data-testid="headerSignup"],
.top-navigation-bar .top-nav-button-account,
.top-navigation-bar .top-nav-button-logout {
  display: none !important;
}

@media(min-width: 768px){
    #header .search-input{
        border: 2px solid #20612b;
    }
    
    #header .header-top-wrapper>.search .search-input-icon:before,
    #header .navigation-buttons a[data-target=search]:before {
        color: #20612b;
    }
}

@media (max-width: 767px) {
    #header .header-top-wrapper>.search .search-input-icon:before,
    #header .navigation-buttons a[data-target=search]:before {
        font-size: 24px;
        line-height: 80px;
        color: #20612b;
        font-weight: 700 !important;
    }
}

.navigation-buttons a[data-target=cart]:before {
    content: "";
    background-image: url("/user/documents/pekneweby/kosik.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain !important;
    width: 26px !important;
    height: 26px !important;
    display: inline-block;
}

.navigation-buttons .top-nav-button-login:before,
.navigation-buttons .top-nav-button-account:before{
    content: "";
    background-image: url("/user/documents/pekneweby/prihlaseni.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    width: 26px;
    height: 26px;
    display: inline-block;
}

.navigation-buttons .top-nav-button-login span,
.navigation-buttons .top-nav-button-account span{
    padding-left: 10px;
    display: inline-block;
    font-size: 20px;
}

.navigation-buttons a[data-target=navigation]:before{
    content: "";
    background-image: url("/user/documents/pekneweby/hamburger.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    width: 26px;
    height: 26px;
    display: inline-block;   
}

.navigation-window-visible .navigation-buttons a[data-target=navigation]:before{
    content: "";
    background-image: url("/user/documents/pekneweby/zavrit.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 26px;
    width: 26px;
    height: 26px; 
    display: inline-block;  
}

#header .navigation-buttons .top-nav-button-login,
#header .navigation-buttons .top-nav-button-account,
#header .navigation-buttons a[data-target=cart]{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: unset !important;
}

@media(max-width: 767px){
    #header .navigation-buttons a[data-target=navigation],
    #header .navigation-buttons a[data-target=search]{
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media(max-width: 1199px){
    .navigation-buttons .top-nav-button-login span,
    .navigation-buttons .top-nav-button-account span{
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #header .navigation-buttons a, #header .navigation-buttons button{
        height: 60px;
        width: 60px;
    }
    #header .navigation-buttons .top-nav-button-login:before,
    #header .navigation-buttons a[data-target=cart]:before{
        background-size: 30px;
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    #header .site-name {
        flex-basis: calc(100vw - 240px);
        text-align: left;
    }
    #header .navigation-buttons a, #header .navigation-buttons button {
        width: 50px;
    }
}
@media (max-width: 320px) {
    #header .site-name {
        flex-basis: calc(100vw - 170px);
    }
    #header .navigation-buttons a, #header .navigation-buttons button {
        width: 40px;
    }
}

@media (max-width: 767px){

    .navigation-window-visible .navigation-in.menu {
        background: #ffffff;
    }
    
    .navigation-window-visible ul.menu-level-1 {
        padding-top: 20px;
    }
    
    .navigation-window-visible #navigation .navigation-in ul li > a > b{
        text-decoration: none !important;
    } 
    
    .navigation-window-visible span.submenu-arrow {
        display: none !important;
    }
    
    .navigation-window-visible #navigation .menu-level-1 > li > a{
        padding-right: unset;
    }
    
    .navigation-window-visible .navigation-in .navigationActions{
        display: none;
    }

    .navigation-window-visible #navigation {
        border-color: #fff !important;
    }
    
    .navigation-in>ul.menu-level-1>li {
        background: #e1e9e4;
        border-radius: 8px;
        border-style: solid;
        border-width: 1px;
        margin: 8px 16px;
    }
    
    .navigation-in>ul.menu-level-1>li.copy {
        display: block;
        background: 0 0;
    }
    
    .navigation-in>ul.menu-level-1>li a b,
    .navigation-in>ul.menu-level-1>li.copy a{
        padding-top: 15px !important;
        padding-bottom: 15px !important;
        font-weight: 400;
        text-transform: uppercase;
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-714 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/orig/doplnky__stravy.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-708 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/orig/stavy-susene-plody.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-766 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/thumb/esencionalni-oleje.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-744 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/orig/tapio-green.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-720 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/orig/hand-made.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }
    
    .navigation-in>ul.menu-level-1>li.menu-item-741 a::before {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url("https://cdn.myshoptet.com/usr/www.tapionordic.cz/user/categories/orig/eko-domacnost.svg");
        background-size: cover;
        background-size: center;
        margin-right: 16px
    }

}

@media (max-width: 767px) {
    .user-action-in .popup-widget.cart-widget,
    .user-action-in .popup-widget.login-widget{
        height: calc(100% - 60px);
        top: 60px;
    }
}

@media(min-width: 768px) and (max-width: 991px){
    .popup-widget.cart-widget, 
    .popup-widget.login-widget, 
    .popup-widget.search-widget{
        top: 186px !important;
        height: calc(100% - 186px);
    }
}

@media (min-width: 992px) {

    .popup-widget.login-widget:before {
        right: 80px !important;
    }

    .admin-logged .popup-widget.login-widget,
    .admin-logged .popup-widget.cart-widget{
        top: 128px !important
    }

    .scrolled .popup-widget.login-widget,
    .scrolled .popup-widget.cart-widget{
        top: 78px !important;
    }

    .popup-widget.login-widget,
    .scrolled .popup-widget.cart-widget{
        position: fixed !important;
        top: 103px;
    }
}
@media (min-width: 1200px) {
    .popup-widget.login-widget:before {
        right: 210px !important;
    }
}

.top-navigation-tools .contact-box ul, 
.top-navigation-tools .contact-box ul li,
.top-navigation-tools .contact-box ul li>span {
    display: flex;
    flex-wrap: nowrap;
}

.top-navigation-tools .contact-box ul li>span:before{
    display: flex;
    height: unset;
    width: unset;
    line-height: unset;
    top: unset;
    font-size: 20px;
    align-items: center;
    color: #20612b !important;
    transition: all .3s ease-out;
}

.top-navigation-tools .contact-box {
    min-height: unset;
}

.top-navigation-tools .contact-box ul li>span{
    white-space: nowrap;
    padding-left: 20px;
}

.top-navigation-tools .contact-box ul li:hover>span:before{
    color: #1a1937;
}

.top-navigation-tools .contact-box ul li>span a{
    padding-left: 0px;
    padding-right: 0px;
}
.top-navigation-bar a{
    text-transform: uppercase; 
}
.top-navigation-bar a:hover{
    text-decoration: underline;
}

.top-navigation-bar-menu a{
    padding-left: 15px;
    padding-right: 15px;
 }

.top-menu-trigger-visible .top-navigation-menu-trigger {
    text-transform: uppercase;
}

@media(min-width: 992px){
    .top-navigation-menu {
        flex-basis: calc(100% - 300px) !important;
    }
    
    .top-navigation-tools {
        flex-basis: 300px !important;
    }
}
@media(min-width: 768px) and (max-width: 991px){
    .top-navigation-menu {
        flex-basis: 100% !important;
    }
    
    .top-navigation-tools {
        display: none !important;
    }
}

@media(max-width: 767px){
    #header {
        box-shadow: unset;
    }
    .scrolled #header {
        box-shadow: 0 1px 2px rgba(0, 0, 0, .16);
    }
    .search-window-visible #header .search {
        padding: 10px;
    }
}