277 lines
4.0 KiB
CSS
277 lines
4.0 KiB
CSS
.mainMenu {
|
|
background-color: #fff;
|
|
background-image: none;
|
|
box-shadow: 0 0 7px rgba(0, 0, 0, 0.75);
|
|
max-height: 100%;
|
|
overflow: visible;
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 99999;
|
|
}
|
|
|
|
.container {
|
|
box-sizing: content-box;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
max-width: 1200px;
|
|
padding: 0;
|
|
}
|
|
|
|
.mainLinks {
|
|
background-color: #f3f2f1;
|
|
}
|
|
|
|
.navBar {
|
|
display: grid;
|
|
grid-template-columns: 1fr 80px 1fr;
|
|
padding-bottom: 1.5px;
|
|
}
|
|
|
|
.expanderBtn {
|
|
background-color: transparent;
|
|
border: none;
|
|
cursor: pointer;
|
|
justify-self: flex-start;
|
|
left: 0;
|
|
padding: 12px 8px 16px;
|
|
transition: 0.3s;
|
|
user-select: none;
|
|
}
|
|
|
|
.iconBars,
|
|
.iconBars::after,
|
|
.iconBars::before {
|
|
background: #757575;
|
|
border-radius: 2.3px;
|
|
display: inline-block;
|
|
height: 4.6px;
|
|
position: relative;
|
|
transition: 0.3s;
|
|
width: 32px;
|
|
}
|
|
|
|
.iconBars::after,
|
|
.iconBars::before {
|
|
content: "";
|
|
left: 0;
|
|
position: absolute;
|
|
transform-origin: 2.286px center;
|
|
}
|
|
|
|
.iconBars::after {
|
|
top: -8px;
|
|
}
|
|
|
|
.iconBars::before {
|
|
top: 8px;
|
|
}
|
|
|
|
.expanded .iconBars {
|
|
background: transparent;
|
|
}
|
|
|
|
.expanded .iconBars::after,
|
|
.expanded .iconBars::before {
|
|
top: 0;
|
|
transform-origin: 50% 50%;
|
|
width: 32px;
|
|
}
|
|
|
|
.expanded .iconBars::after {
|
|
transform: rotate(-45deg);
|
|
}
|
|
|
|
.expanded .iconBars::before {
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
.hiddenAccessible {
|
|
display: block;
|
|
height: 1px;
|
|
left: -100000em;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
top: auto;
|
|
width: 1px;
|
|
}
|
|
|
|
.logoLink {
|
|
display: inline;
|
|
height: 100%;
|
|
width: 80px;
|
|
padding: 16px 0 8px;
|
|
}
|
|
|
|
.logo {
|
|
width: 80px;
|
|
object-fit: fill;
|
|
}
|
|
.listWrapper {
|
|
background-color: #fff;
|
|
border-top: 1px solid #e3e0db;
|
|
display: none;
|
|
list-style: none;
|
|
overflow-y: visible;
|
|
padding-bottom: 20px;
|
|
margin: 0;
|
|
padding-inline-start: 0;
|
|
}
|
|
|
|
.listWrapper.isOpen {
|
|
display: block;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 100%;
|
|
}
|
|
|
|
.li {
|
|
border-bottom: none;
|
|
display: block;
|
|
line-height: 17px;
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
|
|
.link {
|
|
color: #000;
|
|
text-decoration: none;
|
|
display: block;
|
|
font-family:
|
|
Helvetica Neue,
|
|
Helvetica,
|
|
Arial,
|
|
sans-serif;
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
padding-bottom: 20px;
|
|
padding-top: 20px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.link:hover {
|
|
color: #7f7369;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.mobileList {
|
|
padding-top: 6px;
|
|
}
|
|
|
|
.mobileLi {
|
|
display: block;
|
|
position: relative;
|
|
text-align: center;
|
|
line-height: 22.4px;
|
|
padding: 5px 0;
|
|
}
|
|
|
|
.mobileLink {
|
|
color: #000;
|
|
display: block;
|
|
font-family: Helvetica;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.buttonContainer {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.mainMenu {
|
|
box-shadow: none;
|
|
background-color: hsla(0, 0%, 100%, 0.95);
|
|
position: relative;
|
|
z-index: unset;
|
|
}
|
|
|
|
.container {
|
|
padding: 0px 30px;
|
|
}
|
|
|
|
.mainLinks {
|
|
padding-top: 2.5px;
|
|
background-color: transparent;
|
|
}
|
|
|
|
.navBar {
|
|
grid-template-columns: 132.18px 1fr auto;
|
|
align-content: center;
|
|
}
|
|
|
|
.expanderBtn {
|
|
display: none;
|
|
}
|
|
|
|
.logoLink {
|
|
display: flex;
|
|
height: 100%;
|
|
padding: 30px 10px 30px 15px;
|
|
width: auto;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo {
|
|
width: 102.18px;
|
|
object-fit: cover;
|
|
height: auto;
|
|
}
|
|
|
|
.listWrapper {
|
|
border-top: none;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-bottom: 0;
|
|
position: static;
|
|
width: 100%;
|
|
}
|
|
|
|
.listWrapper.isOpen {
|
|
position: static;
|
|
}
|
|
|
|
.li {
|
|
display: table-cell;
|
|
float: none;
|
|
vertical-align: middle;
|
|
line-height: 1.15;
|
|
}
|
|
|
|
.link {
|
|
background-image: none;
|
|
font-family: Helvetica, Arial, sans-serif;
|
|
font-weight: 700;
|
|
line-height: 1.15;
|
|
padding: 30px 15px;
|
|
}
|
|
|
|
.mobileList {
|
|
display: none;
|
|
padding-top: 0px;
|
|
}
|
|
|
|
.mobileLi {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.navBar {
|
|
grid-template-columns: 140px auto 1fr;
|
|
}
|
|
|
|
.logoLink {
|
|
display: inline-block;
|
|
width: 100%;
|
|
padding: 27px 30px 26px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.listWrapper {
|
|
padding-top: 0;
|
|
}
|
|
}
|