.wp-site-blocks {
display: flex;
flex-direction: column;
min-height: 100vh;
}
footer.wp-block-template-part {
margin-top: auto !important;
} header {
.wp-block-site-logo img {
width: 195px;
}
hr.wp-block-separator { margin-top: 2.45em;
}
} @media only screen and (max-width: 768px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
li.mega-menu-megamenu > ul.mega-sub-menu {
padding: 1rem;
}
}
}
@media only screen and (min-width: 769px) {
#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
justify-content: space-between;
li.mega-menu-megamenu > ul.mega-sub-menu {
height: 310px;
box-shadow: inset 0 40px 40px -25px rgba(0,0,0,0.20)
}
.mega-menu-item-has-children > ul.mega-sub-menu {
overflow: hidden !important;
}
} body {
overflow-x: hidden;
}
}
.max-mega-menu .menu-title {
font-size: var(--wp--preset--font-size--xxl);
color: var(--wp--preset--color--secondary-alt);
font-family: var(--wp--preset--font-family--tertiary);
text-transform: uppercase;
margin-bottom: -1rem !important;
margin-top: 10.5rem;
} .banner-content {
&.avion {
width: 61.5%;
margin-inline: auto;
}
&.sac {
width: 90%;
margin-inline: auto;
}
}
h1 {
text-wrap: balance;
}
@media only screen and (max-width: 768px) { .inverted { & > .wp-block-column:first-child {
order: 2;
}
} .cols--media--text { --wp--preset--spacing--xl: 1.625rem;
} .wp-block-columns.is-not-stacked-on-mobile {
--wp--preset--spacing--xl: 2rem;
}
}
@media only screen and (min-width: 1600px) { .cols--media--text {
--wp--preset--spacing--xl: 6rem;
}
} main .entry-content > h1:first-child {
padding-top: var(--wp--preset--spacing--l);
} .eb-accordion-wrapper {
h2 {
font-family: var(--wp--preset--font-family--primary);
font-size: var(--wp--preset--font-size--s);
text-transform: uppercase;
font-weight: var(--wp--custom--font-weight--bold);
}
.eb-accordion-content-wrapper {
.eb-accordion-content {
p + * {
margin-block-start: var(--wp--preset--spacing--m);
}
}
}
} .blocks--conseil {
p {
font-size: calc(var(--wp--preset--font-size--s) * 0.75);
}
h2 {
display: flex;
align-items: center;
font-weight: 700;
gap: 0.5em;
text-align: left;
font-size: calc(var(--wp--preset--font-size--l) * 0.85);
mark {
font-size: var(--wp--preset--spacing--xl);
}
}
} p.has-primary-color.has-gray-background-color.has-link-color {
a:hover, a:focus {
font-weight: var(--wp--custom--font-weight--bold);
}
} .svg_btn {
rect {
transition: all ease-in-out 0.1s;
}
&:is(:hover, :focus) {
rect {
fill: var(--wp--preset--color--accent);
}
}
} #top-btn {
display: none;
z-index: 100;
position: fixed;
bottom: 20px;
right: 20px;
cursor: pointer;
width: 45px;
height: 45px;
background: url(//www.dlight.fr/wp-content/themes/dlight-fse-theme/assets/img/arrow-up.svg) no-repeat center/contain;
}
footer {
ul.wp-block-list {
list-style-type: none;
text-align: center;
padding: 0;
li {
padding: 0.15em;
}
}
}