/*
Theme Name: SL Notaires
Theme URI: https://www.arkylia.com
Author: Arkylia
Author URI: https://www.arkylia.com
Description: Thème SL Notaires
Version: 1.7
*/
@font-face {
  font-family: 'Abhaya Libre';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/abhayalibre/v6/e3tmeuGtX-Co5MNzeAOqinEgew.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v27/KFOmCnqEu92Fr1Me5Q.ttf) format('truetype');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/roboto/v27/KFOlCnqEu92Fr1MmYUtvAw.ttf) format('truetype');
}
/* -------------------------------------------------------------------------- */
/*	CSS Reset
/* -------------------------------------------------------------------------- */
html,
body {
  border: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
address,
big,
cite,
code,
em,
font,
img,
small,
strike,
sub,
sup,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tr,
th,
td {
  border: none;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  padding: 0;
  text-align: inherit;
}
blockquote::before,
blockquote::after {
  content: "";
}
/* -------------------------------------------------------------------------- */
/*	Document Setup
/* -------------------------------------------------------------------------- */
body,
html {
  font-family: 'Roboto', Helvetica, sans-serif;
  letter-spacing: 0.75px;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  scroll-behavior: smooth;
}
html {
  color: #343736;
  font-size: 10px;
}
body {
  font-size: 1.6rem;
  background-color: #F7F7FC;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: 100vh;
  max-height: 100vh;
  overflow-x: hidden;
}
body.admin-bar {
  min-height: calc(100vh - 32px);
  height: calc(100vh - 32px);
  max-height: calc(100vh - 32px);
}
@media (max-width: 55rem) {
  body.admin-bar {
    min-height: calc(100vh - 46px);
    height: calc(100vh - 46px);
    max-height: calc(100vh - 46px);
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
* {
  line-height: 1.5;
  box-sizing: border-box;
}
a,
path,
.icon {
  transition: all 0.25s linear;
}
/* -------------------------------------------------------------------------- */
/*	Element Base
/* ---------------------------------------------*---------------------------- */
h1,
h2,
h3,
h4,
h5,
h6,
.faux-heading {
  font-family: 'Abhaya Libre', serif;
  font-feature-settings: "lnum";
  font-variant-numeric: lining-nums;
  font-weight: 400;
  line-height: 1.25;
  margin: 3.5rem 0 2rem;
  text-transform: uppercase;
}
h1,
.heading-size-1 {
  font-size: 4.6rem;
  line-height: 1.13888889;
}
h2,
.heading-size-2 {
  font-size: 3rem;
}
@media (min-width: 768px) {
  h2,
  .heading-size-2 {
    font-size: 4rem;
  }
}
h3,
.heading-size-3 {
  font-size: 3rem;
}
h4,
.heading-size-4 {
  font-size: 2.4rem;
}
h5,
.heading-size-5 {
  font-size: 2.1rem;
}
h6,
.heading-size-6 {
  font-size: 1.6rem;
  text-transform: uppercase;
}
p {
  line-height: 1.5;
  margin: 0 0 1em 0;
}
em,
i,
q,
dfn {
  font-style: italic;
}
em em,
em i,
i em,
i i,
cite em,
cite i {
  font-weight: bolder;
}
big {
  font-size: 1.2em;
}
small {
  font-size: 0.75em;
}
b,
strong {
  font-weight: 700;
}
ins {
  text-decoration: underline;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
abbr,
acronym {
  cursor: help;
}
address {
  line-height: 1.5;
  margin: 0 0 2rem 0;
}
hr {
  border-style: solid;
  border-width: 0.1rem 0 0 0;
  border-color: #dcd7ca;
  margin: 4rem 0;
}
mark {
  background: none;
  color: #31715d;
  font-weight: bold;
}
a {
  color: #31715d;
  text-decoration: none;
}
/* -------------------------------------------------------------------------- */
/*	Helper
/* ---------------------------------------------*---------------------------- */
.no-margin {
  margin: 0 !important;
}
.no-padding {
  padding: 0 !important;
}
.txt-center {
  text-align: center;
}
.wrapper {
  width: 90%;
  margin: 0 auto;
  max-width: 1200px;
}
.hide {
  display: none !important;
}
/* -------------------------------------------------------------------------- */
/*	Header
/* ---------------------------------------------*---------------------------- */
.header {
  background: #FFFFFF;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 100;
}
.header .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  flex-direction: column;
}
.header-title {
  flex-shrink: 1;
  display: flex;
  padding: 1.25rem 3rem 1.25rem 0;
  border-bottom: 1px solid #EAEAEA;
  width: 100%;
}
.header-title .logo-wrapper {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
.header-title img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: inline-block;
}
.header-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
  justify-content: space-evenly;
  display: none;
}
.header-menu .menu-item {
  height: 100%;
}
.header-menu .menu-item a {
  text-transform: uppercase;
  color: #343736;
  font-weight: 400;
  font-size: 1.4rem;
  display: block;
  padding: 1.5rem 2.25rem;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  z-index: 15;
}
.header-menu .menu-item a:hover {
  color: #31715d;
}
@media (min-width: 768px) {
  .header-menu {
    display: flex;
  }
}
@media (min-width: 980px) {
  .header {
    animation: smoothScrollHide 0.5s forwards;
  }
  .header.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    animation: smoothScroll 0.5s forwards;
    box-shadow: 0px 6px 6px 0px rgba(0, 0, 0, 0.25);
  }
  .header .wrapper {
    flex-direction: row;
  }
  .header-title {
    flex-basis: 320px;
  }
  .header-title .logo-wrapper {
    justify-content: flex-start;
  }
  .header-menu {
    flex-grow: 1;
    justify-content: flex-end;
  }
  .header-menu .menu-item a {
    font-size: 1.6rem;
    padding: 3.6rem 0 3.6rem;
    margin: 0 2.25rem;
    position: relative;
  }
  .header-menu .menu-item a:before {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleY(0);
    height: 8px;
    top: 0;
    left: 0;
    background-color: #31715d;
    transform-origin: top right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
  }
  .header-menu .menu-item a:hover:before {
    transform: scaleY(1);
  }
  .header-menu .menu-item.active a:before,
  .header-menu .menu-item.current-menu-item a:before {
    transform: scaleY(1);
  }
  .header-menu .menu-item:last-child a {
    margin-right: 0;
  }
}
@keyframes smoothScroll {
  0% {
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* -------------------------------------------------------------------------- */
/*	Banner
/* -------------------------------------------------------------------------- */
.banner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  width: 100%;
  min-height: 200px;
  background-size: cover !important;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 37%, rgba(0, 0, 0, 0.65) 100%), no-repeat center center scroll;
  background-color: #EAEAEA;
  background-position: 50% 50%;
  position: relative;
  margin-bottom: 0;
  z-index: 5;
}
.empty {
  min-height: 3rem !important;
  background: none;
}
@media (min-width: 980px) {
  .banner {
    min-height: 325px;
  }
}
/* -------------------------------------------------------------------------- */
/*	Footer
/* ---------------------------------------------*---------------------------- */
.footer-info {
  background: #31715d;
  color: #FFFFFF;
  padding: 1rem 0 2.5rem;
  margin-top: 2rem;
}
.footer-info .wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
  column-gap: 3rem;
  row-gap: 3rem;
}
.footer-info a {
  color: #FFFFFF;
  text-decoration: underline;
}
.footer-info p {
  line-height: 1.7;
  margin: 0;
  white-space: pre-wrap;
  display: flex;
  align-items: center;
}
.footer-info p .icon {
  fill: #FFFFFF;
  width: 2rem;
  height: 2rem;
  margin-right: 1.5rem;
}
.footer-info h3 {
  font-size: 2.4rem;
  margin: 2rem 0 0.5rem 0;
}
.footer-info iframe {
  margin-top: 2rem;
}
.footer {
  background: #222222;
  color: #FFFFFF;
  font-size: 1.4rem;
}
.footer .wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}
.copyright {
  white-space: nowrap;
}
.footer-menu {
  padding: 0 1.5rem;
  margin-left: 1.5rem;
  list-style: none;
}
.footer-menu .menu-item a {
  color: #FFFFFF;
  white-space: nowrap;
  text-decoration: underline;
}
/* -------------------------------------------------------------------------- */
/*	Layout
/* ---------------------------------------------*---------------------------- */
.main {
  flex-grow: 1;
}
.section-content {
  padding: 5rem 0;
  margin: 1rem 0;
}
.section-content h2 {
  color: #31715d;
  margin: 1.5rem 0;
}
.section-content ul {
  margin: 2rem 0;
  list-style: none;
  padding-left: 2rem;
}
.section-content ul li {
  display: flex;
  align-items: flex-start;
}
.section-content ul li:before {
  content: "\2022";
  color: #31715d;
  font-weight: bold;
  font-size: 2.5rem;
  display: inline-block;
  text-align: center;
  line-height: 2.5rem;
  padding-right: 1.5rem;
}
.section-content.bg-primary {
  background: #31715d;
}
.section-content.bg-secondary {
  background: #a05d2c;
}
.section-content.bg-grey {
  background: #EAEAEA;
}
.section-content.bg-primary,
.section-content.bg-secondary {
  color: #FFFFFF;
}
.section-content.bg-primary h2,
.section-content.bg-secondary h2 {
  color: #FFFFFF;
}
.section-content.bg-primary ul li:before,
.section-content.bg-secondary ul li:before {
  color: #FFFFFF;
}
.simple .section-content h2 {
  border-bottom: 1px solid;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}
.section-image-text {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  column-gap: 4rem;
  row-gap: 2rem;
  margin-bottom: 1.5rem;
}
.section-image-text .image {
  height: 50rem;
  background-size: cover;
  background-position: 50% 50%;
  margin-left: calc((100% - 100vw) / 2);
  width: 100vw;
}
.section-image-text.left .text {
  order: 2;
}
.section-image-text.left .image {
  order: 1;
}
@media (min-width: 600px) {
  .section-image-text .image {
    height: 100%;
  }
}
@media (min-width: 980px) {
  .section-image-text {
    grid-template-columns: 1fr 45%;
  }
  .section-image-text .image {
    margin-top: 1.5rem;
    height: 100%;
    width: auto;
    margin: 1.5rem 0 0 0;
  }
}
.medium-size {
  max-width: 800px;
  margin: 0 auto;
}
/* -------------------------------------------------------------------------- */
/*	Gutenberg options & blocks
/* ---------------------------------------------*---------------------------- */
.alignfull {
  margin-left: calc((100% - 100vw) / 2);
  width: 100vw;
}
.wp-block-cover {
  padding: 5rem 0;
}
.wp-block-cover .wp-block-cover__inner-container {
  width: 85%;
  max-width: 500px;
}
.wp-block-cover .wp-block-cover__inner-container h2,
.wp-block-cover .wp-block-cover__inner-container h3,
.wp-block-cover .wp-block-cover__inner-container p {
  text-shadow: 0px 3px 3px rgba(0, 0, 0, 0.5);
}
.wp-block-cover .wp-block-cover__inner-container h2 {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.75rem;
}
.wp-block-cover .wp-block-cover__inner-container h2 img {
  margin: 0 1.25rem;
}
@media (min-width: 980px) {
  .wp-block-cover {
    min-height: 600px;
  }
  .wp-block-cover .wp-block-cover__inner-container h2 {
    font-size: 5.75rem;
  }
}
.wp-block-media-text {
  column-gap: 3rem;
}
.wp-block-media-text .wp-block-media-text__content {
  padding: 0;
}
.wp-block-group.inset-left {
  position: relative;
  margin: -8rem 0rem 0 0rem;
  padding: 1.5rem 4rem;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
}
@media (min-width: 980px) {
  .wp-block-group.inset-left {
    margin: 4rem 0 4rem -8rem;
  }
}
/* --------------- Block links --------------- */
.links-container {
  padding: 0;
}
.links-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #31715d;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
}
.links-item:last-child {
  border: none;
  margin-bottom: 0.5rem;
}
.links-item .icon-wrapper {
  text-align: center;
  width: 5rem;
  height: 5rem;
  margin-right: 1rem;
  display: inherit;
}
.links-item .icon {
  fill: #a05d2c;
  height: 100%;
}
.links-item a {
  color: #343736;
}
.links-item a:hover {
  color: #31715d;
}
/* --------------- Block teams --------------- */
.teams {
  padding: 3rem 0;
}
.teams-container {
  display: grid;
  column-gap: 3rem;
  row-gap: 3rem;
  grid-template-columns: 1fr;
  align-items: flex-start;
}
.teams-container .teams-item {
  padding-bottom: 2rem;
  border-bottom: 1px solid;
}
.teams-container .teams-item:last-child {
  border: none;
  padding-bottom: 0;
}
.teams-container .intro {
  display: flex;
  position: relative;
}
.teams-container .intro .picture {
  position: relative;
  width: 15rem;
  height: 15rem;
  flex-shrink: 0;
  border-radius: 7.5rem;
  margin-right: 1.5rem;
  z-index: 10;
}
.teams-container .intro .picture img {
  width: 100%;
  height: 100%;
  border-radius: 8.5rem;
}
.teams-container .intro .name {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}
.teams-container .intro h3 {
  text-transform: none;
  margin: 0 0 0.75rem;
  line-height: 3rem;
  letter-spacing: -0.1px;
}
.teams-container .intro .function {
  position: relative;
  background: #a05d2c;
  color: #FFFFFF;
  padding: 1.25rem 2rem 1.25rem 7.5rem;
  margin-left: -7.5rem;
  font-weight: bold;
  z-index: 5;
  font-size: 1.8rem;
}
.teams-container .description {
  margin-top: 3rem;
}
@media (min-width: 980px) {
  .teams-container {
    grid-template-columns: 1fr 1fr;
  }
  .teams-container .teams-item {
    border: none;
    height: 100%;
    border-right: 1px solid !important;
    padding-right: 3rem;
  }
  .teams-container .teams-item:nth-child(2n) {
    border: none !important;
    padding-right: 0;
    text-align: right;
  }
  .teams-container .teams-item:nth-child(2n) .intro .picture {
    order: 2;
    margin-right: 0rem;
    margin-left: 2rem;
  }
  .teams-container .teams-item:nth-child(2n) .intro .name {
    align-items: flex-end;
  }
  .teams-container .teams-item:nth-child(2n) .intro .function {
    padding: 1.25rem 7rem 1.25rem 2rem;
    margin-right: -7rem;
    margin-left: 0;
  }
}
