/* =============================================== */ /* ================ Default state ================ */ /* =============================================== */ @media { .hidden_for_default { display: none !important; } .l-subheader.at_top { display: none; } .l-subheader.at_bottom { display: none; } .l-subheader.at_middle { background-image: url(); background-attachment: ; background-position: ; background-repeat: ; background-size: ; } .l-subheader.at_top { line-height: ; height: ; } .l-header.sticky .l-subheader.at_top { line-height: ; height: ; overflow: hidden; } .l-subheader.at_middle { line-height: ; height: ; } .l-header.sticky .l-subheader.at_middle { line-height: ; height: ; overflow: hidden; } .l-subheader.at_bottom { line-height: ; height: ; } .l-header.sticky .l-subheader.at_bottom { line-height: ; height: ; overflow: hidden; } /* Center the middle cell */ .l-subheader.with_centering .l-subheader-cell.at_left, .l-subheader.with_centering .l-subheader-cell.at_right { flex-basis: 100px; } /* Calculate top padding for content overlapped by sticky header */ .l-header.pos_fixed ~ .l-main > .l-section:first-of-type, .l-header.pos_fixed ~ .l-main > .l-section-gap:nth-child(2), .headerinpos_below .l-header.pos_fixed ~ .l-main > .l-section:nth-of-type(2), .l-header.pos_static.bg_transparent ~ .l-main > .l-section:first-of-type { padding-top: px; } .headerinpos_bottom .l-header.pos_fixed ~ .l-main > .l-section:first-of-type { padding-bottom: px; } /* Fix vertical centering of first section when header is transparent */ .l-header.bg_transparent ~ .l-main .l-section.valign_center:first-of-type > .l-section-h { top: -px; } .headerinpos_bottom .l-header.pos_fixed.bg_transparent ~ .l-main .l-section.valign_center:first-of-type > .l-section-h { top: px; } /* Calculate height of "Full Screen" rows */ .l-header.pos_fixed ~ .l-main .l-section.height_full:not(:first-of-type) { min-height: calc(100vh - px); } .admin-bar .l-header.pos_fixed ~ .l-main .l-section.height_full:not(:first-of-type) { min-height: calc(100vh - px); } .l-header.pos_static.bg_solid ~ .l-main .l-section.height_full:first-of-type { min-height: calc(100vh - px); } /* Calculate position of "Sticky" rows */ .l-header.pos_fixed ~ .l-main .l-section.sticky { top: px; } .admin-bar .l-header.pos_fixed ~ .l-main .l-section.sticky { top: px; } .l-header.pos_fixed.sticky ~ .l-main .l-section.type_sticky:first-of-type { padding-top: px; } /* Initial header position BOTTOM & BELOW */ .headerinpos_below .l-header.pos_fixed:not(.sticky) { position: absolute; top: 100%; } .headerinpos_bottom .l-header.pos_fixed:not(.sticky) { position: absolute; bottom: 0; } .headerinpos_below .l-header.pos_fixed ~ .l-main > .l-section:first-of-type, .headerinpos_bottom .l-header.pos_fixed ~ .l-main > .l-section:first-of-type { padding-top: 0 !important; } .headerinpos_below .l-header.pos_fixed ~ .l-main .l-section.height_full:nth-of-type(2) { min-height: 100vh; } .admin-bar.headerinpos_below .l-header.pos_fixed ~ .l-main .l-section.height_full:nth-of-type(2) { min-height: calc(100vh - 32px); /* WP admin bar height */ } .headerinpos_bottom .l-header.pos_fixed:not(.sticky) .w-cart-dropdown, .headerinpos_bottom .l-header.pos_fixed:not(.sticky) .w-nav.type_desktop .w-nav-list.level_2 { bottom: 100%; transform-origin: 0 100%; } .headerinpos_bottom .l-header.pos_fixed:not(.sticky) .w-nav.type_mobile.m_layout_dropdown .w-nav-list.level_1 { top: auto; bottom: 100%; box-shadow: 0 -3px 3px rgba(0,0,0,0.1); } .headerinpos_bottom .l-header.pos_fixed:not(.sticky) .w-nav.type_desktop .w-nav-list.level_3, .headerinpos_bottom .l-header.pos_fixed:not(.sticky) .w-nav.type_desktop .w-nav-list.level_4 { top: auto; bottom: 0; transform-origin: 0 100%; } html:not(.no-touch) .l-header.scrollable { position: absolute; height: 100%; } .l-body { padding-left: ; position: relative; } .l-body.rtl { padding-left: 0; padding-right: ; } .l-header, .l-header .w-cart-notification, .w-nav.type_mobile.m_layout_panel .w-nav-list.level_1 { width: ; } .l-body.rtl .l-header { left: auto; right: 0; } .l-body:not(.rtl) .post_navigation.layout_sided .order_first { left: calc( - 14rem); } .l-body:not(.rtl) .w-toplink.pos_left, .l-body:not(.rtl) .l-section.sticky, .no-touch .l-body:not(.rtl) .post_navigation.layout_sided .order_first:hover { left: ; } .l-body.rtl .post_navigation.layout_sided .order_second { right: calc( - 14rem); } .l-body.rtl .w-toplink.pos_right, .l-body.rtl .l-section.sticky, .no-touch .l-body.rtl .post_navigation.layout_sided .order_second:hover { right: ; } .w-nav.type_desktop [class*="columns"] .w-nav-list.level_2 { width: calc(100vw - ); max-width: 980px; } .rtl .w-nav.type_desktop .w-nav-list.level_2 { left: auto; right: 100%; } .l-subheader-cell { text-align: left; align-items: flex-start; } .l-subheader-cell { text-align: right; align-items: flex-end; } .l-subheader.at_middle { display: flex; align-items: center; } .l-subheader.at_middle { display: flex; align-items: flex-end; } } /* =============================================== */ /* ================ Tablets state ================ */ /* =============================================== */ @media { .hidden_for_tablets { display: none !important; } .l-subheader.at_top { display: none; } .l-subheader.at_bottom { display: none; } .l-subheader.at_middle { background-image: url(); background-attachment: ; background-position: ; background-repeat: ; background-size: ; } .l-subheader.at_top { line-height: ; height: ; } .l-header.sticky .l-subheader.at_top { line-height: ; height: ; overflow: hidden; } .l-subheader.at_middle { line-height: ; height: ; } .l-header.sticky .l-subheader.at_middle { line-height: ; height: ; overflow: hidden; } .l-subheader.at_bottom { line-height: ; height: ; } .l-header.sticky .l-subheader.at_bottom { line-height: ; height: ; overflow: hidden; } /* Calculate top padding for content overlapped by sticky header */ .l-header.pos_fixed ~ .l-main > .l-section:first-of-type, .l-header.pos_fixed ~ .l-main > .l-section-gap:nth-child(2), .headerinpos_below .l-header.pos_fixed ~ .l-main > .l-section:nth-of-type(2), .l-header.pos_static.bg_transparent ~ .l-main > .l-section:first-of-type { padding-top: px; } /* Calculate position of "Sticky" rows */ .l-header.pos_fixed ~ .l-main .l-section.sticky { top: px; } .l-header.pos_fixed.sticky ~ .l-main .l-section.type_sticky:first-of-type { padding-top: px; } .l-header, .l-header .w-cart-notification, .w-nav.type_mobile.m_layout_panel .w-nav-list.level_1 { width: ; } .w-search.layout_simple, .w-search.layout_modern.active { width: calc( - 40px); } /* Slided vertical header */ .w-header-show, .w-header-overlay { display: block; } .l-header { bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: none; transition: transform 0.3s; transform: translate3d(-100%,0,0); } .header-show .l-header { transform: translate3d(0,0,0); } .l-subheader-cell { text-align: left; align-items: flex-start; } .l-subheader-cell { text-align: right; align-items: flex-end; } } /* =============================================== */ /* ================ Mobiles state ================ */ /* =============================================== */ @media { .hidden_for_mobiles { display: none !important; } .l-subheader.at_top { display: none; } .l-subheader.at_bottom { display: none; } .l-subheader.at_middle { background-image: url(); background-attachment: ; background-position: ; background-repeat: ; background-size: ; } .l-subheader.at_top { line-height: ; height: ; } .l-header.sticky .l-subheader.at_top { line-height: ; height: ; overflow: hidden; } .l-subheader.at_middle { line-height: ; height: ; } .l-header.sticky .l-subheader.at_middle { line-height: ; height: ; overflow: hidden; } .l-subheader.at_bottom { line-height: ; height: ; } .l-header.sticky .l-subheader.at_bottom { line-height: ; height: ; overflow: hidden; } /* Calculate top padding for content overlapped by sticky header */ .l-header.pos_fixed ~ .l-main > .l-section:first-of-type, .l-header.pos_fixed ~ .l-main > .l-section-gap:nth-child(2), .headerinpos_below .l-header.pos_fixed ~ .l-main > .l-section:nth-of-type(2), .l-header.pos_static.bg_transparent ~ .l-main > .l-section:first-of-type { padding-top: px; } /* Calculate position of "Sticky" rows */ .l-header.pos_fixed ~ .l-main .l-section.sticky { top: px; } .l-header.pos_fixed.sticky ~ .l-main .l-section.type_sticky:first-of-type { padding-top: px; } .l-header, .l-header .w-cart-notification, .w-nav.type_mobile.m_layout_panel .w-nav-list.level_1 { width: ; } .w-search.layout_simple, .w-search.layout_modern.active { width: calc( - 40px); } /* Slided vertical header */ .w-header-show, .w-header-overlay { display: block; } .l-header { bottom: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: none; transition: transform 0.3s; transform: translate3d(-100%,0,0); } .header-show .l-header { transform: translate3d(0,0,0); } .l-subheader-cell { text-align: left; align-items: flex-start; } .l-subheader-cell { text-align: right; align-items: flex-end; } } /* Image */ $param ): ?> @media { . { height: ; } .l-header.sticky . { height: ; } } @media { . { height: ; } .l-header.sticky . { height: ; } } @media { . { height: ; } .l-header.sticky . { height: ; } } /* Text */ $param ) { $css = '.' . $class . '{'; $css .= us_prepare_inline_css( array( 'font-family' => isset( $param['font'] ) ? $param['font'] : '', 'font-weight' => isset( $param['font_weight'] ) ? $param['font_weight'] : '', 'text-transform' => isset( $param['text_transform'] ) ? $param['text_transform'] : '', 'font-style' => isset( $param['font_style'] ) ? $param['font_style'] : '', 'font-size' => isset( $param['font_size'] ) ? $param['font_size'] : '', 'line-height' => isset( $param['line_height'] ) ? $param['line_height'] : '', 'white-space' => ( ! $param['wrap'] ) ? 'nowrap' : '', ), $style_attr = FALSE ); $css .= '}'; if ( ! empty( $param['color'] ) ) { $css .= '.' . $class . ' .w-text-h { color:' . $param['color'] . '; }'; } if ( ! empty( $param['font_size_tablets'] ) OR ! empty( $param['line_height_tablets'] ) ) { $css .= '@media ' . $tablets_query . ' {.' . $class . '{'; $css .= ( ! empty( $param['font_size_tablets'] ) ) ? ( 'font-size:' . $param['font_size_tablets'] . ';' ) : ''; $css .= ( ! empty( $param['line_height_tablets'] ) ) ? ( 'line-height:' . $param['line_height_tablets'] . ';' ) : ''; $css .= '}}'; } if ( ! empty( $param['font_size_mobiles'] ) OR ! empty( $param['line_height_mobiles'] ) ) { $css .= '@media ' . $mobiles_query . ' {.' . $class . '{'; $css .= ( ! empty( $param['font_size_mobiles'] ) ) ? ( 'font-size:' . $param['font_size_mobiles'] . ';' ) : ''; $css .= ( ! empty( $param['line_height_mobiles'] ) ) ? ( 'line-height:' . $param['line_height_mobiles'] . ';' ) : ''; $css .= '}}'; } echo $css; } ?> /* Button */ $param ): ?> @media { . { font-size: ; } } @media { . { font-size: ; } } @media { . { font-size: ; } } /* Menu */ $param ): ?> .header_hor ..type_desktop .w-nav-list.level_1 > .menu-item > a { padding-left: ; padding-right: ; } .header_ver ..type_desktop .w-nav-list.level_1 > .menu-item > a { padding-top: ; padding-bottom: ; } $param['font'], 'font-weight' => $param['font_weight'], 'text-transform' => $param['text_transform'], 'font-style' => $param['font_style'], ), $style_attr = FALSE ); $css .= '}'; echo $css; if ( $param['dropdown_arrow'] ): ?> ..type_desktop .menu-item-has-children .w-nav-anchor.level_1 > .w-nav-arrow { display: inline-block; } ..type_desktop .w-nav-list > .menu-item.level_1 { font-size: ; } ..type_desktop .w-nav-list > .menu-item:not(.level_1) { font-size: ; } ..type_desktop { position: relative; } ..type_mobile .w-nav-anchor.level_1 { font-size: ; } ..type_mobile .w-nav-anchor:not(.level_1) { font-size: ; } @media { . .w-nav-icon { font-size: ; } } @media { . .w-nav-icon { font-size: ; } } @media { . .w-nav-icon { font-size: ; } } /* Show mobile menu instead of desktop */ @media screen and (max-width: px) { .w-nav. > .w-nav-list.level_1 { display: none; } . .w-nav-control { display: block; } } /* Links Menu */ $param ): ?> @media { . { font-size: ; } .header_hor . .w-menu-list { margin: 0 -; } .header_hor . .w-menu-item { padding: 0 ; } .header_ver . .w-menu-list { line-height: ; } } @media { . { font-size: ; } .header_hor . .w-menu-list { margin: 0 -; } .header_hor . .w-menu-item { padding: 0 ; } .header_ver . .w-menu-list { line-height: ; } } @media { . { font-size: ; } .header_hor . .w-menu-list { margin: 0 -; } .header_hor . .w-menu-item { padding: 0 ; } .header_ver . .w-menu-list { line-height: ; } } /* Search */ $param ): ?> @media { ..layout_simple { max-width: ; } ..layout_modern.active { width: ; } . { font-size: ; } } @media { ..layout_simple { max-width: ; } ..layout_modern.active { width: ; } . { font-size: ; } } @media { . { font-size: ; } } /* Socials */ $param ): ?> . .w-socials-list { margin: -; } . .w-socials-item { padding: ; } @media { . { font-size: ; } } @media { . { font-size: ; } } @media { . { font-size: ; } } /* Dropdown */ $param ): ?> @media { . .w-dropdown-h { font-size: ; } } @media { . .w-dropdown-h { font-size: ; } } @media { . .w-dropdown-h { font-size: ; } } /* Cart */ $param ): ?> @media { . .w-cart-link { font-size: ; } } @media { . .w-cart-link { font-size: ; } } @media { . .w-cart-link { font-size: ; } } /* Design Options */