/home/marynathaconsult/public_html/assets/scss/_header.scss
/* Preloader */
.ctn-preloader {
align-items: center;
cursor: default;
display: flex;
background: #fff;
height: 100%;
justify-content: center;
position: fixed;
left: 0;
top: 0;
width: 100%;
z-index: 9000;
}
/*============= header_top css =============*/
header {
position: absolute;
top: 0;
left: 0;
width: 100%;
z-index: 100;
& + div,
& + section {
margin-top: 150px;
}
}
.header_top {
background: #8781bd;
padding: 9px 0px;
p {
font-size: 12px;
font-family: $pop;
color: #e8e7f4;
margin-bottom: 0;
letter-spacing: 0.12px;
span {
color: #fff;
font-weight: 500;
}
}
}
.header_social_icon {
a {
width: 30px;
height: 30px;
font-size: 30px;
color: #ccc9e9;
line-height: 28px;
/*border: 1px solid #ccc9e9;*/
display: inline-block;
text-align: center;
transition: all 0.2s linear;
border-radius: 50%;
&:hover {
background: #a9a5d1;
border-color: #a9a5d1;
color: #fff;
}
& + a {
margin-left: 11px;
}
}
}
/*============= header_top css =============*/
/*============= header css =============*/
.navbar {
padding: 0px;
border: 0px;
border-radius: 0px;
background: #fff;
}
.menu {
> .nav-item {
padding: 32px 0px;
transition: all 0.2s linear;
> .nav-link {
font-size: 13px;
font-family: $pop;
color: #212028;
font-weight: 600;
line-height: 36px;
padding: 0px;
letter-spacing: 1.12px;
text-transform: uppercase;
position: relative;
transition: color 0.3s linear;
&:after {
display: none;
}
}
&.submenu {
.dropdown-menu {
border: 0px;
margin: 0px;
border-radius: 0px;
left: -30px;
min-width: 180px;
padding: 20px 0px;
background: #fff;
box-shadow: -1px 2px 19px 3px rgba(14, 0, 40, 0.05);
@media (min-width: 992px) {
transform: translateY(20px);
transition: all 0.3s ease-in;
opacity: 0;
visibility: hidden;
display: block;
}
.nav-item {
display: block;
width: 100%;
margin-right: 0px;
padding: 0px 30px;
position: relative;
.nav-link {
padding: 0px;
white-space: nowrap;
font: 500 13px/36px $pop;
display: block;
color: #212028;
transition: color 0.2s linear;
&:after {
display: none;
}
}
&:hover,
&:focus,
&.active {
> .nav-link {
color: #8781bd;
}
}
> .dropdown-menu {
transition: all 0.3s ease-in;
padding: 0px;
@media (min-width: 992px) {
position: absolute;
left: 100%;
top: -25px;
opacity: 0;
display: block;
visibility: hidden;
transform: translateY(20px);
transition: all 0.3s ease-in;
}
}
}
}
}
&.active {
.nav-link,
.mobile_dropdown_icon {
color: #8781bd;
opacity: 1;
}
}
&:hover {
.nav-link {
color: #8781bd;
}
@media (min-width: 992px) {
.dropdown-menu {
opacity: 1;
transform: translateY(0);
visibility: visible;
> .nav-item {
&:hover {
@media (min-width: 992px) {
.dropdown-menu {
transform: scaleY(1);
opacity: 1;
visibility: visible;
}
}
}
}
}
}
}
& + .nav-item {
margin-left: 65px;
}
.mobile_dropdown_icon {
position: absolute;
top: 8px;
right: 0;
opacity: 0.8;
font-size: 15px;
@media (min-width: 992px) {
display: none;
}
}
}
}
.navright {
margin-left: 50px;
li {
a {
font-size: 14px;
color: #212028;
}
}
}
/* Menu Effect Css */
.navbar-toggler {
position: relative;
height: 20px;
width: 30px;
top: 0px;
border: none;
padding: 0px;
margin-top: 22px;
margin-bottom: 25px;
margin-left: 30px;
}
.navbar-toggler span {
height: 2px;
width: 30px;
display: block;
background: $title;
cursor: pointer;
transition: background 0.3s linear;
position: absolute;
left: 0px;
top: 50%;
}
.navbar-toggler[aria-expanded="true"] span {
background: transparent;
}
.navbar-toggler.collapsed span {
background: $title;
}
.navbar-toggler span:before {
content: "";
height: 2px;
width: 30px;
display: block;
background: $title;
left: 0px;
top: -8px;
position: absolute;
transition: top 0.3s 0.3s, -webkit-transform 0.3s 0s;
}
.navbar-toggler span:after {
content: "";
height: 2px;
width: 30px;
display: block;
background: $title;
left: 0px;
bottom: -8px;
position: absolute;
transition: bottom 0.2s 0.3s, -webkit-transform 0.3s 0s;
}
.navbar-toggler[aria-expanded="true"] span:before {
transform: rotate(45deg);
top: 0px;
transition: top 0.3s 0s, transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s;
}
.navbar-toggler[aria-expanded="true"] span:after {
transform: rotate(-45deg);
bottom: 0px;
transition: bottom 0.3s 0s, transform 0.3s 0.3s, -webkit-transform 0.3s 0.3s;
}
.navbar_fixed {
background: #fff;
position: fixed;
width: 100%;
top: 0;
left: 0;
box-shadow: 0px 4px 6px 0px rgba(12, 0, 46, 0.06);
.menu > .nav-item {
padding: 19px 0px;
}
}
/*============ header_area css=============*/
/*============= header css =============*/