//megalayout style extensions .row.container { margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; } .jxml-slider-title, .jxml-banner-title { display: none; } .no-title { .jxml-html-title { display: none; } } //megalayout custom styles .custom-tabs { .custom-tab-links { display: flex; flex-wrap: wrap; justify-content: center; padding-bottom: 20px; > div { margin: 0 25px; cursor: pointer; @include media-breakpoint-down(md) { margin: 0 15px; .jxml-html-title { font-size: 18px; } } @include media-breakpoint-down(sm) { margin: 0 10px; .jxml-html-title { font-size: 16px; } } .jxml-html-title { transition: color 0.3s ease; margin: 0; } &.active, &:hover { .jxml-html-title { color: $brand-primary; } } } } .custom-tab-contents { > div { &:not(.active) { height: 0; opacity: 0; overflow: hidden; } &.active { transition: opacity 0.3s ease; } } } .featured-products > h1, .jxml-slider-title { display: none; } &.vertical-custom-tabs { .custom-tab-links { justify-content: start; padding-bottom: 0; flex-direction: column; > div { margin: 0 0 5px; padding: 10px 20px; background: white; .jxml-html-title { font-size: 20px; text-transform: uppercase; } &.active, &:hover { background: $gray-800; .jxml-html-title { color: white; } } } @include media-breakpoint-down(sm) { display: block; text-align: center; > div { margin: 0 2px 3px; padding: 3px 7px; display: inline-block; .jxml-html-title { font-size: 14px; } } } } } } .html-nav { h3, p, span { margin: 0; } h3 { font: 500 13px/14px $font-family-base; color: $teal; text-transform: uppercase; letter-spacing: $letter-spacing; } p { font: 300 13px/14px $font-family-base; color: $black; } .line-divider { width: 53px; height: 1px; background: $black; display: block; margin: 0 10px; } } .html-btn { @include media-breakpoint-up(xl) { .btn { min-width: 420px; } } } .html-block { .jxml-html-description { h2, h4 { margin-bottom: 0; } h4 { font: 500 13px/16px $font-family-base; letter-spacing: $letter-spacing-1; color: $black; text-transform: uppercase; } p { font: 300 13px/23px $font-family-base; color: $gray-61; padding-right: 30px; } h4 + h2 , h2 + p{ margin-top: 20px; } } &.bestseller-baner { text-align: center; h4 { font-size: 24px; line-height: 110%; font-weight: 300; color: $white; } h2 { font-size: 50px; line-height: 110%; font-weight: 600; color: $white; @include media-breakpoint-up(md) { font-size: 98px; } &:before, &:after { display: none; } } h2 + p { font-size: 24px; line-height: 150%; color: $gray-400; } } } .offset-mt { margin-top: 30px; @include media-breakpoint-up(md) { margin-top: -80px; } @include media-breakpoint-up(lg) { margin-top: -100px; } @include media-breakpoint-up(xl) { margin-top: -125px; } } .offset-mt-1 { padding-top: 80px; @include media-breakpoint-up(md) { margin-top: -200px; } @include media-breakpoint-up(xl) { margin-top: -220px; } } .banner-type-1 { position: relative; overflow: hidden; z-index: 3; .jxml-banner-link { display: block; position: relative; overflow: hidden; .jxml-banner-img { transform: scale(1.05); width: 100%; transition: all 0.3s ease-in-out; will-change: transform; } @include hover-focus-active { .jxml-banner-img { transform: scale(1); } } } .jxml-banner-description { position: absolute; left: 0; right: 0; top: 0; transform: translateY(0); text-align: left; font-size: 12px; padding: 50px; @include media-breakpoint-up(sm) { font-size: 12px; } @include media-breakpoint-up(md) { font-size: 8px; } @include media-breakpoint-up(lg) { font-size: 10px; } @include media-breakpoint-up(xl) { font-size: 12px; } @include media-breakpoint-up(xxl) { font-size: 16px; } h4, h3, h2 { margin: 0; line-height: 1.1; color: $white; font-family: $font-family-base; } h2 { color: $white; font-size: 3.750em; text-transform: capitalize; } h3 { font-weight: 500; font-size: 1.625em; } h4 { text-transform: uppercase; font-weight: 300; font-size: 1.5em; letter-spacing: $letter-spacing; } h4 + h3 { margin-top: 20px; } h3 + h2 { margin-top: 18px; } @include media-breakpoint-only(md) { h4 + h3, h3 + h2 { margin-top: 10px; } } } &.top-position, &.bottom-position { .jxml-banner-description { text-align: center; } } &.bottom-position { .jxml-banner-description { top: auto; bottom: 0; h2, h3, h4 { color: $teal; } } } } .slide-type-01 { background: $brand-primary-lighten; .jxml-banner-link { display: flex; align-items: center; @include media-breakpoint-up(md) { align-items: flex-start; } } .jxml-banner-img { border-right: solid 10px $white; width: 58%; object-fit: cover; @include media-breakpoint-up(md) { border-right-width: 16px; border-bottom: solid 16px $white; } @include media-breakpoint-up(xl) { border-right-width: 22px; border-bottom-width: 22px; } } .jxml-banner-description { flex: 1 1 auto; width: 1%; font-size: 3px; padding: 10px 40px 20px 10px; @include media-breakpoint-up(sm) { font-size: 6px; padding: 20px 40px 20px 20px; } @include media-breakpoint-up(md) { font-size: 6px; padding: 30px 50px 60px 30px; .jxml-banner-link { align-items: flex-start; } } @include media-breakpoint-up(lg) { font-size: 8px; padding: 50px; } @include media-breakpoint-up(xl) { font-size: 8px; padding: 50px 50px 30px 50px; } @include media-breakpoint-up(xxl) { font-size: 16px; padding: 108px 50px 30px 50px; } h2, h3, h4, p { margin: 0; font-family: $font-family-base; color: white; } h2 { font-weight: 600; font-size: 6.125em; line-height: 1.2; text-transform: capitalize; &.font-xl { font-size: 8.500em; } &.custom { display: none; color: $white; text-shadow: 1px 1px $black, -1px 1px $black, 1px -1px $black, -1px -1px $black; } } h3 { font-weight: 700; font-size: 3.750em; line-height: 1.35; color: $black; } h4 { text-transform: uppercase; font-weight: 300; line-height: 1.1; font-size: 1.5em; letter-spacing: $letter-spacing-1; @include media-breakpoint-up(lg) { margin-top: 95px; } } .btn-default:hover, .btn-default:focus { background: $black; } p:not(.btn) { font-weight: 300; font-size: 14px; color: $gray-400; line-height: 1.8; display: none; @include media-breakpoint-up(xxl) { font-size: 18px; } } .color-primary { color: $brand-primary; &.custom { text-shadow: 1px 1px $brand-primary, -1px 1px $brand-primary, 1px -1px $brand-primary, -1px -1px $brand-primary; } } .title-wrapper { position: relative; h2 { position: relative; z-index: 1; &.custom { position: absolute; top: 0; left: 6px; z-index: 0; } } } h4 + h3, .title-wrapper + p, p + .btn, h4 + .title-wrapper { margin-top: 10px; } h3 + .title-wrapper { margin-top: 5px; } .btn-lg { padding: 12px 25px; } @include media-breakpoint-up(md) { p:not(.btn) { display: block; } h4 + h3, .title-wrapper + p, p + .btn { margin-top: 20px; } h4 + .title-wrapper { margin-top: 15px; } .btn-lg { padding: 18px 30px; } h2.custom { display: inline-block; } } @include media-breakpoint-up(xxl) { .btn-lg { padding: 22px 50px; } p + .btn { margin-top: 60px; } } @include media-breakpoint-down(xs) { h3, h4 { display: none; } .title-wrapper h2.custom { top: -1px; left: 2px; } .btn-lg { font-size: 10px; padding: 9px 20px; } } } } .slider-top { background: $brand-primary-lighten; .swiper-pagination { text-align: left; width: 40%; left: auto; right: 0; bottom: 15px; display: none; .swiper-pagination-bullet { box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px; background: white; &:hover, &.swiper-pagination-bullet-active { box-shadow: rgb(255, 255, 255) 0px 0px 0px 2px; background: transparent; } } } .swiper-button-prev { left: 0; } .swiper-button-next { right: 0; } @include media-breakpoint-up(md) { padding-bottom: 160px; .swiper-pagination { display: block; } .swiper-button-prev, .swiper-button-next { display: none; } } @include media-breakpoint-up(lg) { padding-bottom: 200px; .swiper-pagination { width: 37%; } } @include media-breakpoint-up(xl) { padding-bottom: 245px; .swiper-pagination { bottom: 30px; } } }