header { .inside { @include make-container(); width: 100%; max-width: 1200px; padding: 45px 0 25px 0; display: flex; justify-content: space-between; align-items: center; @media (max-width: 1280px) { max-width: 1280px; padding-left: 40px; padding-right: 40px; } @media (max-width: 768px) { padding-left: 20px; padding-right: 20px; } @media (min-width: 576px) { padding-top: 45px; padding-bottom: 25px; } } .ce_image { padding: 0; img { max-width: 198px; @include transition(); @media (max-width: 1004px) { max-width: 160px; } @media (max-width: 768px) { max-width: 198px; } } } .spwn-navigations { display: flex; justify-content: flex-start; align-items: center; } #spwn-main-nav.mod_navigation { .spwn-nav-icon, .spwn-nav-close { display: none; } ul { display: flex; justify-content: flex-start; } li { margin-left: 22px; @media (max-width: 768px) { display: none; &.isotope-basket { display: block; } } a, strong { display: block; width: 125px; padding: 10px 0; text-decoration: none; font-weight: 700; color: $font; text-align: center; background: #F5F5F5; border: 1px solid #F5F5F5; border-radius: 20px; @include transition(); @media (max-width: 1004px) { width: 100px; padding: 6px 0; } &:hover { color: $secondary; border-color: $secondary; } &.active, &.trail { background: $secondary; border-color: $secondary; &:hover { color: $font; } } &.isotope-basket { position: relative; background: $tertiary url("../images/elements/basket.svg") no-repeat 15px 9px; background-size: 24px auto; border-color: $tertiary; text-indent: -9999px; width: 78px; @media (max-width: 1004px) { line-height: 24px; background-size: 18px auto; } &:hover { background-color: #F5F5F5; border-color: $secondary; color: $font; } } } } } #spwn-mobile-nav.mod_navigation { display: none; @media (max-width: 768px) { display: block; } .spwn-nav-icon { position: relative; width: 24px; height: 18px; border-top: 2px solid $font; cursor: pointer; margin-left: 24px; &:before, &:after { content: ''; display: block; position: absolute; left: 0; width: 100%; height: 2px; background: $font; } &:before { top: 5px; } &:after { top: 12px; } } .spwn-nav-close { position: absolute; right: 20px; top: 70px; width: 24px; height: 24px; cursor: pointer; &:before, &:after { content: ''; position: absolute; right: 0; top: 0; width: 2px; height: 24px; background: $font; } &:before { transform: rotate(45deg) translate(-9px, 9px); } &:after { transform: rotate(-45deg) translate(-9px, -9px); } } .spwn-nav { visibility: hidden; opacity: 0; position: absolute; right: 0; top: 0; z-index: 200; width: 50vw; height: 100vh; background: $white; border-left: 2px solid $primary; box-shadow: 0 2px 5px 2px rgba(0, 0, 0, 0.2); @include transition(); @media (max-width: 575px) { width: 80vw; } .mobile-nav-open & { visibility: visible; opacity: 1; } } ul { padding: 7rem 0 0 0; } li { font-size: size(20); line-height: size(24); &.isotope-basket { display: none; } } a, strong { display: block; padding: 1rem 3rem; } } #header-basket-items { position: absolute; right: 15px; top: 50%; transform: translate(0, -50%); text-indent: 0; } }