Viewing File: /home/maglabs/etascom/wp-content/themes/agenzio/assets/scss/header.scss
/* Header Default */
#pxl-header-default {
position: relative;
z-index: 999;
background-color: #fff;
.row {
align-items: center;
@media #{$min-xl} {
> div {
padding: 0 15px;
}
}
}
.container {
max-width: 1750px;
}
.pxl-header-branding {
display: flex;
align-items: center;
flex-grow: 1;
a {
display: inline-flex;
}
img {
height: 37px;
max-width: inherit;
}
}
#pxl-nav-mobile {
display: none;
}
}
/* Header Elementor */
#pxl-header-elementor {
@media #{$min-xl} {
min-height: 0px !important;
position: relative;
z-index: 1001;
.col-12 {
min-height: 0px;
}
}
#pxl-header-mobile {
display: none;
}
.pxl-header-elementor-main {
position: relative;
z-index: 999;
}
.pxl-header-elementor-sticky {
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
top: 0;
@include transform(translateY(-120%));
@include transition(.6s cubic-bezier(.24,.74,.58,1));
visibility: hidden;
//box-shadow: 0px 5px 18px 0px rgba(#000, 0.06);
&.pxl-header-fixed {
@include transform(translateY(0%));
visibility: visible;
}
}
&.pxl-header-rmboxshadow .pxl-header-elementor-sticky.pxl-header-fixed {
@include box-shadow(none);
.pxl-logo-nav {
@include box-shadow(0 3px 18px rgba(#02154e, 0.09));
}
}
.px-header--transparent {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 999;
}
.elementor-section .elementor-container, .elementor-inner-section, .elementor-widget:not(.elementor-absolute), .elementor-widget-wrap, .elementor-column, .elementor-column-wrap {
position: static;
}
}
.pxl-header-mobile-elementor {
opacity: 0;
&.px-header--transparent {
position: absolute;
top: 0;
left: 0;
right: 0;
width: 100%;
z-index: 999;
}
}
/* Header Menu */
@media #{$min-xl} {
.fr-style-default {
.pxl-menu-primary {
list-style: none;
margin: 0;
padding: 0 5px;
border: 2px solid #484848;
@include border-radius(100px);
ul {
list-style: none;
margin: 0;
}
li {
position: relative;
color: #1a1920;
a {
font-size: 16px;
font-style: normal;
position: relative;
font-family: 'Inter', sans-serif;
}
}
> li {
display: inline-block;
vertical-align: middle;
margin: 0 27px;
@media (max-width: 1500px) {
margin: 0 22px;
}
> a {
line-height: 46px;
font-size: 16px;
display: inline-block;
color: $gradient_color_from;
font-weight: 600;
font-family: 'Inter', sans-serif;
position: relative;
overflow: clip;
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: $primary-color;
}
}
.sub-menu, .children {
position: absolute;
top: 104%;
left: 0px;
background-color: #fbfbfb;
margin-top: 30px;
margin-bottom: 0;
min-width: 200px;
z-index: 99;
visibility: hidden;
opacity: 0;
@include box-shadow(0 3px 5px rgba(#000,.4));
@include transition(all 200ms linear 0ms);
transform-origin: 0 0 0;
-webkit-transform-origin: 0 0 0;
-ms-transform-origin: 0 0 0;
-o-transform-origin: 0 0 0;
text-align: left;
padding: 0;
li {
white-space: nowrap;
a {
padding: 10px 20px;
display: block;
color: $gradient_color_from;
font-size: 14px;
font-weight: 500;
@include transition(all 220ms linear 0ms);
position: relative;
overflow: clip;
background-color: $gradient_color_from;
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
border-bottom: 1px solid rgba(28, 28, 28, 0.9);
&:before, &:after {
position: absolute;
content: "";
width: 200%;
height: 1100%;
top: 70px;
left: -30%;
transform: translate(-25%, -75%);
@include transition(all 0.3s);
}
&:before {
border-radius: 40%;
box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
inset 0 0 5px rgba(26, 26, 26, 0.5);
background: rgba(26, 26, 26, 0.5);
animation: animate_sub_menu 7s linear infinite;
}
&:after {
border-radius: 45%;
background: rgba(20, 20, 20, 1);
box-shadow: 0 0 10px 5px $gradient_color_from, inset 0 0 5px $gradient_color_from;
animation: animate_sub_menu 5s linear infinite;
opacity: 0.8;
}
span {
@include transition(all 220ms linear 0ms);
position: relative;
z-index: 1;
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
&:before, &:after {
top: 0;
width: 120%;
height: 530%;
left: 0;
}
span {
}
}
&:last-child a {
border-bottom: none;
}
}
&.pxl-sub-reverse {
left: auto;
right: 0;
li.menu-item-has-children > a::after {
transform: translate(0, -50%) scaleX(-1);
right: auto;
left: 0;
}
li {
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
}
}
}
.sub-menu, .children {
top: 0;
left: 100%;
&.pxl-sub-reverse {
left: auto;
right: 100%;
}
}
}
li:hover,
li.focus {
> .sub-menu, > .children {
visibility: visible;
opacity: 1;
margin-top: 0;
}
}
.pxl-megamenu {
position: static;
> .sub-menu {
padding: 40px 33px 36px 36px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 81%;
background-color: #252525;
@media (max-width: 1400px) {
padding: 40px 10px 36px 10px;
}
@media (max-width: 1280px) {
padding: 40px 0px 36px 0px;
}
}
.pxl-link li {
padding: 0;
margin-bottom: 0;
}
}
}
.pxl-menu-toggle {
display: none;
}
}
.pxl-header-menu {
.pxl-menu-primary {
list-style: none;
margin: 0;
padding: 0;
ul {
list-style: none;
margin: 0;
}
li {
position: relative;
color: $link_color;
a {
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
span {
position: relative;
padding-right: 3px;
i {
display: none !important;
}
}
}
}
.menu-item-has-children {
a {
span {
i {
display: none;
}
position: relative;
&:before {
content: url('../img/arrow-menu1.svg');
position: relative;
font-family: Caseicon;
margin-right: 4px;
bottom: 2px;
}
}
}
}
> li {
display: inline-block;
vertical-align: middle;
margin: 0 18px;
@media (max-width: 1500px) {
margin: 0 15px;
}
> a {
line-height: 70px;
display: inline-block;
color: $link_color;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
overflow: clip;
span {
&:after {
content: "";
position: absolute;
bottom: 2px;
right: 0px;
font-family: Caseicon;
margin-left: 0;
width: 2px;
height: 2px;
border-radius: 50%;
background-color: $primary-color;
@include transition(all 0.3s);
}
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: $primary_color;
span {
&:after {
background-color: $link_color;
}
}
}
}
.pxl-hide {
display: inline-block;
color: $primary-color;
margin-left: 5px;
}
.sub-menu, .children {
position: absolute;
top: 100%;
left: 0px;
background-color: #fbfbfb;
margin-top: 30px;
margin-bottom: 0;
min-width: 200px;
z-index: 99;
visibility: hidden;
opacity: 0;
@include box-shadow(0 5px 18px 0 rgba(#000, 0.06));
@include transition(all 200ms linear 0ms);
transform-origin: 0 0 0;
-webkit-transform-origin: 0 0 0;
-ms-transform-origin: 0 0 0;
-o-transform-origin: 0 0 0;
text-align: left;
padding: 0;
li {
white-space: nowrap;
a {
padding: 10px 20px;
display: block;
color: $gradient_color_from;
font-size: 14px;
font-weight: 500;
@include transition(all 220ms linear 0ms);
position: relative;
overflow: clip;
background-color: $gradient_color_from;
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
border-bottom: 1px solid rgba(28, 28, 28, 0.9);
&:before, &:after {
position: absolute;
content: "";
width: 200%;
height: 1100%;
top: 70px;
left: -30%;
transform: translate(-25%, -75%);
@include transition(all 0.3s);
}
&:before {
border-radius: 40%;
box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
inset 0 0 5px rgba(26, 26, 26, 0.5);
background: rgba(26, 26, 26, 0.5);
animation: animate_sub_menu 7s linear infinite;
}
&:after {
border-radius: 45%;
background: rgba(20, 20, 20, 1);
box-shadow: 0 0 10px 5px $gradient_color_from, inset 0 0 5px $gradient_color_from;
animation: animate_sub_menu 5s linear infinite;
opacity: 0.8;
}
span {
@include transition(all 220ms linear 0ms);
position: relative;
z-index: 1;
&:before {
display: none;
}
&:after {
display: none;
}
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
&:before, &:after {
top: 0;
width: 120%;
height: 530%;
left: 0;
}
span {
}
}
&:last-child a {
border-bottom: none;
}
}
&.pxl-sub-reverse {
left: auto;
right: 0;
li.menu-item-has-children > a::after {
transform: translate(0, -50%) scaleX(-1);
right: auto;
left: 0;
}
li {
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
}
}
}
.sub-menu, .children {
top: 0;
left: 100%;
&.pxl-sub-reverse {
left: auto;
right: 100%;
}
}
}
li:hover,
li.focus {
> .sub-menu, > .children {
visibility: visible;
opacity: 1;
margin-top: 0;
}
}
.pxl-megamenu {
position: static;
> .sub-menu {
padding: 40px 33px 36px 36px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
background-color: #252525;
@media (max-width: 1400px) {
padding: 40px 10px 36px 10px;
}
@media (max-width: 1280px) {
padding: 40px 0px 36px 0px;
}
.pxl-showcase {
.pxl-item--title {
font-size: 15px;
font-weight: 500;
}
}
}
.pxl-link li {
padding: 0;
margin-bottom: 0;
}
}
}
.pxl-menu-toggle {
display: none;
}
}
.fr-style-box1 {
.pxl-menu-primary {
list-style: none;
margin: 0;
padding: 0;
ul {
list-style: none;
margin: 0;
}
li {
position: relative;
color: $link_color;
a {
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
span {
position: relative;
padding-right: 3px;
i {
display: none !important;
}
}
}
}
.menu-item-has-children {
a {
span {
i {
display: none;
}
position: relative;
&:before {
content: url('../img/arrow-menu1.svg');
position: relative;
font-family: Caseicon;
margin-right: 4px;
bottom: 2px;
line-height: 0;
}
}
}
}
> li {
display: inline-block;
vertical-align: middle;
margin: 0 18px;
@media (max-width: 1500px) {
margin: 0 15px;
}
> a {
line-height: 70px;
display: inline-block;
color: $link_color;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
overflow: clip;
span {
&:after {
content: "";
position: absolute;
bottom: 4px;
right: 0px;
font-family: Caseicon;
margin-left: 0;
width: 2px;
height: 2px;
border-radius: 50%;
background-color: $primary-color;
@include transition(all 0.3s);
}
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: $primary_color;
span {
&:after {
background-color: $link_color;
}
}
}
}
.pxl-hide {
display: inline-block;
color: $primary-color;
margin-left: 5px;
}
.sub-menu, .children {
position: absolute;
top: 100%;
left: 0px;
background-color: #fbfbfb;
margin-top: 30px;
margin-bottom: 0;
min-width: 200px;
z-index: 99;
visibility: hidden;
opacity: 0;
@include box-shadow(0 5px 18px 0 rgba(#000, 0.06));
@include transition(all 200ms linear 0ms);
transform-origin: 0 0 0;
-webkit-transform-origin: 0 0 0;
-ms-transform-origin: 0 0 0;
-o-transform-origin: 0 0 0;
text-align: left;
padding: 0;
li {
white-space: nowrap;
a {
padding: 10px 20px;
display: block;
color: $gradient_color_from;
font-size: 14px;
font-weight: 500;
@include transition(all 220ms linear 0ms);
position: relative;
overflow: clip;
background-color: $gradient_color_from;
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
border-bottom: 1px solid rgba(28, 28, 28, 0.9);
&:before, &:after {
position: absolute;
content: "";
width: 200%;
height: 1100%;
top: 70px;
left: -30%;
transform: translate(-25%, -75%);
@include transition(all 0.3s);
}
&:before {
border-radius: 40%;
box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
inset 0 0 5px rgba(26, 26, 26, 0.5);
background: rgba(26, 26, 26, 0.5);
animation: animate_sub_menu 7s linear infinite;
}
&:after {
border-radius: 45%;
background: rgba(20, 20, 20, 1);
box-shadow: 0 0 10px 5px $gradient_color_from, inset 0 0 5px $gradient_color_from;
animation: animate_sub_menu 5s linear infinite;
opacity: 0.8;
}
span {
@include transition(all 220ms linear 0ms);
position: relative;
z-index: 1;
&:before {
display: none;
}
&:after {
display: none;
}
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
&:before, &:after {
top: 0;
width: 120%;
height: 530%;
left: 0;
}
span {
}
}
&:last-child a {
border-bottom: none;
}
}
&.pxl-sub-reverse {
left: auto;
right: 0;
li.menu-item-has-children > a::after {
transform: translate(0, -50%) scaleX(-1);
right: auto;
left: 0;
}
li {
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
}
}
}
.sub-menu, .children {
top: 0;
left: 100%;
&.pxl-sub-reverse {
left: auto;
right: 100%;
}
}
}
li:hover,
li.focus {
> .sub-menu, > .children {
visibility: visible;
opacity: 1;
margin-top: 0;
}
}
.pxl-megamenu {
position: static;
> .sub-menu {
padding: 40px 33px 36px 36px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
background-color: #252525;
@media (max-width: 1400px) {
padding: 40px 10px 36px 10px;
}
@media (max-width: 1280px) {
padding: 40px 0px 36px 0px;
}
.pxl-showcase {
.pxl-item--title {
font-size: 15px;
font-weight: 500;
}
}
}
.pxl-link li {
padding: 0;
margin-bottom: 0;
}
}
}
}
.fr-style-box2 {
.pxl-menu-primary {
list-style: none;
margin: 0;
padding: 0;
ul {
list-style: none;
margin: 0;
}
li {
position: relative;
color: $link_color;
a {
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
span {
position: relative;
padding-left: 15px;
i {
display: none !important;
}
&:after {
content: '';
position: absolute;
width: 79%;
height: 1px;
background-color: #fff;
bottom: 0;
right: 0;
transform-origin: center center;
@include transition(all 0.3s);
transform: scaleX(0);
}
}
}
}
.menu-item-has-children {
a {
span {
i {
display: none;
}
position: relative;
&:before {
content: "\f10f";
position: absolute;
font-family: Caseicon;
transform: rotate(-40deg) translate(0,-50%);
left: 0;
top: 50%;
line-height: 1;
font-size: 18px;
}
}
}
}
> li {
display: inline-block;
vertical-align: middle;
margin: 0 17px;
@media (max-width: 1500px) {
margin: 0 15px;
}
> a {
line-height: 75px;
display: inline-block;
color: #fff;
font-family: Inter;
font-size: 16px;
font-style: normal;
font-weight: 500;
position: relative;
overflow: clip;
letter-spacing: -0.32px;
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: #fff;
span {
&:after {
transform: scaleX(1);
}
}
}
}
.pxl-hide {
display: inline-block;
color: $primary-color;
margin-left: 5px;
}
.sub-menu, .children {
position: absolute;
top: 100%;
left: 0px;
background-color: #fbfbfb;
margin-top: 30px;
margin-bottom: 0;
min-width: 200px;
z-index: 99;
visibility: hidden;
opacity: 0;
@include box-shadow(0 5px 18px 0 rgba(#000, 0.06));
@include transition(all 200ms linear 0ms);
transform-origin: 0 0 0;
-webkit-transform-origin: 0 0 0;
-ms-transform-origin: 0 0 0;
-o-transform-origin: 0 0 0;
text-align: left;
padding: 0;
li {
white-space: nowrap;
a {
padding: 10px 20px;
display: block;
color: $gradient_color_from;
font-size: 14px;
font-weight: 500;
@include transition(all 220ms linear 0ms);
position: relative;
overflow: clip;
background-color: $gradient_color_from;
box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
border-bottom: 1px solid rgba(28, 28, 28, 0.9);
&:before, &:after {
position: absolute;
content: "";
width: 200%;
height: 1100%;
top: 70px;
left: -30%;
transform: translate(-25%, -75%);
@include transition(all 0.3s);
}
&:before {
border-radius: 40%;
box-shadow: 0 0 10px rgba(26, 26, 26, 0.5),
inset 0 0 5px rgba(26, 26, 26, 0.5);
background: rgba(26, 26, 26, 0.5);
animation: animate_sub_menu 7s linear infinite;
}
&:after {
border-radius: 45%;
background: rgba(20, 20, 20, 1);
box-shadow: 0 0 10px 5px $gradient_color_from, inset 0 0 5px $gradient_color_from;
animation: animate_sub_menu 5s linear infinite;
opacity: 0.8;
}
span {
@include transition(all 220ms linear 0ms);
position: relative;
z-index: 1;
padding-left: 0;
&:before {
display: none;
}
&:after {
display: none;
}
}
}
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
&:before, &:after {
top: 0;
width: 120%;
height: 530%;
left: 0;
}
span {
}
}
&:last-child a {
border-bottom: none;
}
}
&.pxl-sub-reverse {
left: auto;
right: 0;
li.menu-item-has-children > a::after {
transform: translate(0, -50%) scaleX(-1);
right: auto;
left: 0;
}
li {
> a:hover,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
}
}
}
.sub-menu, .children {
top: 0;
left: 100%;
&.pxl-sub-reverse {
left: auto;
right: 100%;
}
}
}
li:hover,
li.focus {
> .sub-menu, > .children {
visibility: visible;
opacity: 1;
margin-top: 0;
}
}
.pxl-megamenu {
position: static;
> .sub-menu {
padding: 40px 33px 36px 36px;
max-width: 100%;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
background-color: #252525;
@media (max-width: 1400px) {
padding: 40px 10px 36px 10px;
}
@media (max-width: 1280px) {
padding: 40px 0px 36px 0px;
}
.pxl-showcase {
.pxl-item--title {
font-size: 15px;
font-weight: 500;
}
}
}
.pxl-link li {
padding: 0;
margin-bottom: 0;
}
}
}
}
}
/* Header Tablet/Mobile */
@media #{$max-lg} {
#pxl-header-default, #pxl-header-elementor {
position: relative;
background-color: #fff;
.pxl-header-main {
position: relative;
}
.pxl-header-branding {
margin: 15px;
min-height: 55px;
align-items: center;
display: flex;
img {
height: 45px;
}
}
#pxl-nav-mobile {
display: block;
position: absolute;
top: 50%;
right: 15px;
@include transform(translate(0,-50%));
display: flex;
flex-wrap: wrap;
align-items: center;
.pxl-mobile-meta-item {
margin-left: 10px;
}
}
}
.pxl-header-menu-backdrop {
z-index: 998;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(#000, 0.6);
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
opacity: 0;
visibility: hidden;
}
.pxl-header-menu {
position: fixed;
height: 100vh;
width: 300px;
top: 0;
left: 0;
bottom: 0;
margin: 0;
overflow: hidden;
z-index: 999;
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
@include transform(translateX(-100%));
visibility: hidden;
@include box-shadow(0 0 15px rgba(0,0,0,0.08));
background-color: #fff;
overflow-y: scroll;
&.active {
visibility: visible;
opacity: 1;
@include transform(translateX(0%));
+ .pxl-header-menu-backdrop {
opacity: 1;
visibility: visible;
}
}
}
.pxl-header-menu-scroll {
padding: 40px 20px;
}
.pxl-menu-toggle {
position: absolute;
top: 10px;
height: 28px;
line-height: 28px;
text-align: center;
right: 0px;
width: 28px;
cursor: pointer;
font-size: 10px;
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
color: #1b1b1b;
@include border-radius(3px);
background-color: rgba(#000, 0.03);
&:before {
content: "\f150";
font-family: "Caseicon";
}
&.active:before{
content: "\f13d";
}
}
.pxl-menu-primary {
list-style: none;
margin: 0;
padding: 0;
li.menu-item {
position: relative;
> a {
display: block;
line-height: 46px;
color: #000000;
font-size: 16px;
font-weight: 600;
border-bottom: 1px solid rgba(#000, 0.06);
}
> a:hover,
> a.current,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: $primary_color;
}
}
.sub-menu, .children {
position: relative;
display: none;
list-style: none;
margin: 0;
padding: 0;
li {
a {
font-weight: 500;
margin-left: 10px;
font-size: 14px;
}
}
}
> li > .sub-menu > li > .sub-menu > li a {
padding-left: 28px;
}
.pxl-megamenu {
.pxl-mega-menu-elementor {
margin-top: 20px;
.pxl-showcase-grid {
.pxl-grid-inner {
height: auto !important;
display: block;
.pxl-grid-item {
position: static !important;
width: 100% !important;
max-width: 100% !important;
}
}
}
}
.elementor-container {
> .elementor-column {
width: 100%;
}
.elementor-widget-wrap {
padding: 0 !important;
}
}
.pxl-link li {
margin: 0;
}
.pxl-heading {
padding-left: 14px;
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
padding-top: 12px;
padding-bottom: 12px;
.pxl-item--title {
margin-bottom: 0 !important;
font-size: 14px !important;
border-bottom: none !important;
}
}
.elementor-widget-heading > .elementor-widget-container {
margin-bottom: 0 !important;
border-bottom: none !important;
}
.elementor-section .elementor-container {
flex-wrap: wrap;
}
}
}
.pxl-logo-mobile {
margin-bottom: 35px;
img {
height: 50px;
}
}
.pxl-header-mobile-search {
margin-bottom: 20px;
form {
position: relative;
}
.search-field {
height: 54px;
padding: 0 22px;
background-color: #f8f8f8;
}
.search-submit {
position: absolute;
top: 0;
right: 5px;
@include border-radius(0px);
line-height: 44px;
padding: 0;
width: 44px;
height: 44px;
line-height: 44px;
background: none;
color: #000;
border: none;
&:hover, &:focus {
color: $primary_color;
background-color: transparent;
}
}
}
.pxl-menu-close {
background-color: rgba(0, 0, 0, 0.03);
position: absolute;
top: 0;
right: 0;
@include border-radius(0px);
}
#pxl-header-elementor {
.pxl-header-elementor-main,
.pxl-header-elementor-sticky {
display: none;
}
#pxl-header-mobile {
display: block;
position: relative;
z-index: 999;
box-shadow: 0px 0px 2px 2px rgba(219, 219, 219, 0.3);
&.style-dark {
background-color: #151A25;
&.pxl-header-mobile-fixed {
background-color: #151A25;
}
.pxl-nav-mobile-button .pxl-icon-line:after, .pxl-nav-mobile-button .pxl-icon-line:before {
background-color: #fff;
}
.pxl-header-menu {
background-color: #000;
}
.pxl-header-mobile-search {
.search-field {
background-color: rgba(255,255,255,0.12);
border-color: rgba(255,255,255,0.12);
color: rgba(#fff, 0.67);
&:focus {
color: #fff;
}
}
.search-submit {
color: rgba(#fff, 0.8);
font-size: 14px;
}
}
.pxl-menu-primary li {
a {
color: rgba(#fff, 0.8);
border-color: rgba(#fff, 0.08);
}
> a:hover,
> a.current,
&.current_page_item > a,
&.current-menu-item > a,
&.current_page_ancestor > a,
&.current-menu-ancestor > a {
color: #fff;
}
}
.pxl-menu-close {
background-color: rgba(255, 255, 255, 0.12);
&:before, &:after {
background-color: #fff;
}
}
.pxl-menu-toggle {
background-color: rgba(255,255,255,0.1);
color: rgba(#fff, 0.8);
}
}
}
}
#pxl-header-elementor #pxl-header-mobile {
.pxl-header-sticky {
position: fixed;
left: 0;
top: 0;
right: 0;
opacity: 0;
visibility: hidden;
}
&.pxl-header-mobile-fixed .pxl-header-sticky {
visibility: visible;
opacity: 1;
@include animation(0.95s ease 0s normal forwards 1 running PXL_Header_SlideDown);
}
&.pxl-header-mobile-fixed .pxl-header-main {
visibility: visible;
opacity: 1;
@include animation(0.95s ease 0s normal forwards 1 running PXL_Header_SlideDown);
position: fixed;
left: 0;
top: 0;
right: 0;
background-color: #fff;
box-shadow: 0px 0px 2px 2px rgba(219, 219, 219, 0.3);
}
}
.admin-bar {
#pxl-header-elementor #pxl-header-mobile {
&.pxl-header-mobile-fixed .pxl-header-main {
top: 32px;
}
}
}
}
.admin-bar {
#pxl-header-elementor #pxl-header-mobile {
&.pxl-header-mobile-fixed .pxl-header-main {
@media screen and (max-width: 782px) {
top: 46px;
}
@media screen and (max-width: 600px) {
top: 0;
}
}
}
}
@media #{$max-sm} {
.pxl-header-menu {
width: 100%;
}
}
/* Hidden Panel */
.pxl-hidden-panel-popup {
position: fixed;
top: 0;
right: 0;
z-index: 99999;
height: 100vh;
width: 100%;
visibility: hidden;
@media #{$max-lg} {
display: none;
}
.pxl-popup--overlay {
z-index: -1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(#1f2022, 0.4);
opacity: 0;
visibility: hidden;
@include transition(all .5s cubic-bezier(0.46, 0.03, 0.52, 0.96));
cursor: pointer;
}
.pxl-close {
position: absolute;
right: 50px;
z-index: 99999;
top: 20px;
opacity: 0;
visibility: hidden;
@include transition(all .5s cubic-bezier(0.46, 0.03, 0.52, 0.96));
}
.elementor > .elementor-section {
width: 100% !important;
left: 0 !important;
right: 0 !important;
}
.pxl-popup--conent {
max-height: 100vh;
overflow-y: auto;
overflow-x: hidden;
scrollbar-width: none;
background-color: #fff;
}
&.pxl-pos-top {
.pxl-popup--conent {
position: absolute;
height: 100%;
width: 100%;
top: 0;
left: 0;
@include transition(all .5s cubic-bezier(0.46, 0.03, 0.52, 0.96));
@include transform(translateY(-100%));
}
}
&.pxl-pos-right {
.pxl-popup--conent {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 470px;
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
@include transform(translateX(100%));
padding: 0px 0;
overflow-y: scroll;
overflow-x: hidden;
margin-right: -30px;
}
}
&.active {
visibility: visible;
.pxl-popup--conent {
@include transform(translateY(0%));
transition-delay: 0s !important;
}
.pxl-popup--overlay {
opacity: 1;
visibility: visible;
transition-delay: 0s !important;
}
.pxl-search-form .pxl-searchform-divider {
webkit-animation-name: PXLfadeInMove;
animation-name: PXLfadeInMove;
-webkit-animation-duration: 0.7s;
animation-duration: 0.7s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
visibility: visible;
animation-delay: 0.8s;
-webkit-animation-delay: 0.8s;
}
.pxl-close {
opacity: 1;
visibility: visible;
transition-delay: 0s !important;
}
}
&:not(.active) .pxl-search-form .pxl-searchform-divider {
webkit-animation-name: PXLfadeOutMove;
animation-name: PXLfadeOutMove;
-webkit-animation-duration: 0.7s;
animation-duration: 0.7s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
visibility: visible;
}
}
.pxl-anchor-divider {
overflow: hidden;
width: 34px;
height: 30px;
cursor: pointer;
position: relative;
.pxl-icon-line {
height: 3px;
position: absolute;
right: 0;
border-radius: 3px;
&:before, &:after {
content: '';
position: absolute;
height: 100%;
top: 0;
right: 0;
bottom: 0;
right: 0;
background: $primary-color;
opacity: 1;
width: 100%;
@include border-radius(4px);
}
&:before {
@include transform(translate3d(100%,0,0));
}
&:after {
@include transform(translate3d(0,0,0));
}
&.pxl-icon-line1 {
top: 0;
width: 100%;
}
&.pxl-icon-line2 {
top: 50%;
width: 100%;
transform: translate(0,-50%);
}
&.pxl-icon-line3 {
width: 100%;
bottom: 0;
}
}
}
.pxl-anchor-divider:hover .pxl-icon-line, .pxl-anchor-button.type-menu-hidden:hover .pxl-icon-line {
&.pxl-icon-line1 {
&:before {
@include transform(translate3d(0,0,0));
opacity: 1;
@include transition(transform .8s cubic-bezier(.215,.61,.355,1) 460ms,opacity .8s cubic-bezier(.215,.61,.355,1) 460ms);
}
&:after {
@include transform(translate3d(-36px,0,0));
opacity: 0;
@include transition(transform .6s cubic-bezier(.165,.84,.44,1) 0s,opacity .6s cubic-bezier(.165,.84,.44,1) 0s);
}
}
&.pxl-icon-line2 {
&:before {
@include transform(translate3d(0,0,0));
opacity: 1;
@include transition(transform .8s cubic-bezier(.215,.61,.355,1) 620ms,opacity .8s cubic-bezier(.215,.61,.355,1) 620ms);
}
&:after {
@include transform(translate3d(-36px,0,0));
opacity: 0;
@include transition(transform .6s cubic-bezier(.165,.84,.44,1) 160ms,opacity .6s cubic-bezier(.165,.84,.44,1) 160ms);
}
}
&.pxl-icon-line3 {
&:before {
@include transform(translate3d(0,0,0));
opacity: 1;
@include transition(transform .8s cubic-bezier(.215,.61,.355,1) 780ms,opacity .8s cubic-bezier(.215,.61,.355,1) 780ms);
}
&:after {
@include transform(translate3d(-36px,0,0));
opacity: 0;
@include transition(transform .6s cubic-bezier(.165,.84,.44,1) 320ms,opacity .6s cubic-bezier(.165,.84,.44,1) 320ms);
}
}
}
/* Search Popup */
.pxl-popup-wrap {
.pxl-item--overlay {
z-index: -1;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(#080808, 0.4);
opacity: 0;
visibility: hidden;
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
}
&.active .pxl-item--overlay {
opacity: 1;
visibility: visible;
}
}
#pxl-search-popup {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
visibility: hidden;
.pxl-item--close {
width: 45px;
height: 45px;
position: absolute;
background-color: rgba(#000,0.04);
top: 40px;
left: 50%;
transform: translate(-50%, 0);
z-index: 99;
border-radius: 45px;
border-width: 11px;
}
.searchform-wrap {
position: relative;
&:before {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
background-color: rgba(#000, 0.5);
transform-origin: left center;
}
}
&.active {
.searchform-wrap {
&:before {
webkit-animation-name: PXLfadeInMove;
animation-name: PXLfadeInMove;
-webkit-animation-duration: .6s;
animation-duration: .6s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
visibility: visible;
animation-delay: .4s;
-webkit-animation-delay: .4s;
}
}
}
.pxl-item--conent {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
max-height: 320px;
background-color: #fff;
display: flex;
flex-wrap: wrap;
align-items: flex-end;
padding: 0 15px 80px 15px;
@include transition(all .25s cubic-bezier(.645,.045,.355,1));
@include transform(translateY(-100%));
form {
max-width: 760px;
margin: 0 auto;
width: 100%;
position: relative;
.search-field {
height: 80px;
padding: 16px 0;
color: rgba(#000,0.5);
font-size: 30px;
border: none;
background-color: unset;
width: 94%;
border-radius: 0;
}
.search-submit {
position: absolute;
top: 50%;
right: 0;
@include transform(translate(0, -50%));
width: 40px;
height: 80px;
line-height: 80px;
text-align: right;
border: none;
background: none;
font-size: 28px;
padding: 0;
z-index: 99;
cursor: pointer;
color: $link_color;
&:hover {
svg {
path {
fill: $primary-color;
}
}
}
i {
width: 30px;
height: 30px;
}
svg {
@include transition(all 300ms linear 0ms);
path {
fill: rgba(#000, 0.5);
@include transition(all 200ms linear 0ms);
}
}
}
}
}
.pxl--search-divider {
height: 2px;
position: absolute;
width: 100%;
bottom: 0;
left: 0;
background-color: rgba(#000,0.6);
}
&.active {
visibility: visible;
.pxl-item--conent {
@include transform(translateY(0%));
}
}
}
.admin-bar {
#pxl-header-elementor .pxl-header-elementor-sticky.pxl-header-fixed, #pxl-search-popup, .pxl-hidden-panel-popup {
top: 32px;
@media screen and (max-width: 782px) {
top: 46px;
}
@media screen and (max-width: 600px) {
top: 0;
}
}
.pxl-header-menu {
top: 32px;
@media screen and (max-width: 782px) {
top: 46px;
}
}
}
@-moz-keyframes PXL_Header_SlideDown{
0%{
margin-top:-150px;
}
100%{
margin-top:0
}
}
@-ms-keyframes PXL_Header_SlideDown{
0%{
margin-top:-150px;
}
100%{
margin-top:0
}
}
@-webkit-keyframes PXL_Header_SlideDown{
0%{
margin-top:-150px;
}
100%{
margin-top:0
}
}
@keyframes PXL_Header_SlideDown{
0%{
margin-top:-150px;
}
100%{
margin-top:0
}
}
Back to Directory
File Manager