/* Fonts: */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Infant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* Colors: */
html {
  --black: #000000;
  --soft-black: #141414;
  --dark-grey: #707070;
  --middle-grey: #B1B1B1;
  --light-grey: #F2F2F2;
  --white: #FFFFFF;
  font-size: 13px;
/*  font-size: 16px;*/
}

body {
  color: var(--black);
  background-color: var(--white);
  font-family: "work sans";
  line-height: 2.1rem;
}

.center {
  text-align: center;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.justified {
  text-align: justify;
  hyphens: auto;
}

.middle {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.small {
  font-size: 0.8rem;
  line-height: 1.6rem;
}

.hidden {
  display: none;
}

a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
}

a.classic {
  text-transform: none;
  text-decoration: underline;
  font-weight: normal;
}

a.boxed {
  border: 2px solid var(--white);
  border-radius: 3px;
  padding: 20px 50px;
  font-weight: bold;
}

a.boxed:hover {
  color: var(--black);
  background-color: var(--white);
}

.white a.boxed {
  border: 2px solid var(--black);
  color: var(--black);
}

.white a.boxed:hover {
  background-color: var(--black);
  color: var(--white);
}

.title {
  font-family: "Cormorant Infant";
  font-weight: normal;
  font-size: 5.5rem;
  line-height: 6.6rem;
  margin: 0;
  padding: 0;
}

h1 {
  font-family: "Cormorant Infant";
  font-weight: normal;
  font-size: 5.5rem;
  line-height: 6.6rem;
  text-transform: uppercase;
  margin: 0;
  padding: 0;
}

h2 {
  text-align: center;
  text-transform: uppercase;
  font-family: "Cormorant Infant";
  font-weight: normal;
  font-size: 3.75rem;
  line-height: 4.6rem;
  margin: 20px auto;
  padding: 0;
}

h3 {
  font-family: "Cormorant Infant";
  font-weight: normal;
  font-size: 2.2rem;
  line-height: 2.6rem;
  margin: 0;
  padding: 0;
}

.intro {
  font-family: "Cormorant Infant";
  font-size: 2.2rem;
  line-height: 2.6rem;
}

table {
  color: var(--white);
  margin: 20px auto;
  font-size: 1rem;
}
td, th {
  border: 1px solid
}
td, th {
  padding: 40px 10px;
  text-align: center;
}
th {
  text-transform: uppercase;
}
td.small {
  margin: 0;
  padding: 0;
  border: none;
}

.margin-top {
  margin-top: 100px;
}

.no-padding {
  padding: 0;
}

.mobile-logo {
  display: none;
}

header .menu {
  z-index: 10;
  position: fixed;
  width: 100%;
  display: flex;
  margin-bottom: 20px;
  justify-content: flex-end;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
}

header .menu ul {
  margin: 0;
  padding: 20px 80px 20px 80px;
  display: flex;
  width: 100%;
  list-style-type: none;
  justify-content: space-between;
}

header .menu ul li:after,
header .menu ul li:after {
  content: '';
  display: block;
  margin: auto;
  margin-top: 8px;
  width: 10px;
  border-bottom: 2px solid transparent;
}

header .menu ul li.selected:after,
header .menu ul li:hover:after {
  content: '';
  display: block;
  margin: auto;
  margin-top: 8px;
  width: 30px;
  border-bottom: 2px solid var(--white);
}

header .menu ul li.selected:has(a.boxed):after,
header .menu ul li:hover:has(a.boxed):after {
  border-bottom: 2px solid transparent;
}
header .menu ul li.selected:has(a.flags):after,
header .menu ul li:hover:has(a.flags):after {
  width: 10px;
}

header .menu ul li .flags {
  display: flex;
  align-items: center;
}
header .menu ul li .flags img {
  margin-right: 5px;
}

header .menu ul li:hover a {
  color: var(--middle-grey);
}
header .menu ul li:hover a.boxed {
  color: var(--black);
}

header .menu .notaires {
  margin-left: auto;
  margin-right: 20px;
}

header .burger {
  display: none;
  position: absolute;
  right: 25px;
  top: 35px;
}

header .burger span {
  margin: 0px;
  position: relative;
  transition: .3s ease-in-out;
  width: 25px;
  display: block;
  border: 1.5px solid var(--middle-grey)!important;
  border-radius: 1.5px;
  opacity: 1;
  top: 0;
  transform: rotate(0);
  background-color: var(--middle-grey);
}

header .burger.darker span {
  border: 1.5px solid var(--dark-grey)!important;
  background-color: var(--dark-grey);
}

header .burger span:first-child {
  margin-bottom: 5px;
}

header .burger span:last-child {
  margin-top: 5px;
}

header.open .burger {
  display: block;
}

header.open .burger span {
  opacity: 0;
}

header.open .burger span:first-child {
  margin-bottom: 10px;
  margin-top: 0px;
  opacity: 1;
  transform: rotate(45deg);
  top: 9px;
}

header.open .burger span:last-child {
  margin-top: 0;
  margin-bottom: 0;
  opacity: 1;
  top: -7px;
  transform: rotate(-45deg);
}

.image-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 600px;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -10;
}

.image-header.home {
  background-image: url('/images/headers/home.png');
  height: 100vh;
}
.image-header.expertise {
  background-image: url('/images/headers/expertise.png');
}
.image-header.real_estate_negociation_and_expertise {
  background-image: url('/images/headers/real_estate_negociation_and_expertise.png');
}
.image-header.contact {
  background-image: url('/images/headers/contact.png');
}
.image-header.companies_life {
  background-image: url('/images/headers/companies_life.png');
}
.image-header.pricing {
  background-image: url('/images/headers/pricing.png');
}
.image-header.news {
  background-image: url('/images/headers/news.png');
}
.image-header.legal {
  background-image: url('/images/headers/home.png');
}

.content.home section.first {
  height: calc(100vh - 370px);
}

.content.home section.first hr {
  color: var(--white);
  opacity: 0.62;
  width: 20px;
  border-style: solid;
  border-width: 5px 5px 0 0;
  border-radius: 2.5px;
  height: 20px;
  transform: rotate(135deg);
  vertical-align: top;
  margin: auto;
  text-align: center;
  position: relative;
  top: 20px;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

section .content {
  margin: 0 auto;
  width: 70%;
}
section .content.narrow {
  width: 40%;
}

section.transparent {
  color: var(--white);
}

section.white {
  color: var(--black);
  background-color: var(--light-grey);
}
section.black {
  color: var(--white);
  background-color: var(--soft-black);
}

section.first {
  padding-top: 200px;
}

.logo-title {
  display: flex;
  margin-bottom: 50px;
}

.logo-title .subtitle {
  font-size: 1.5rem;
}

.logo-title>div {
  width: 50%;
}

.logo-title>div img {
  display: block;
  margin: auto;
}

.associates {
  display: flex;
  margin: 100px auto 0 auto;
  padding: 0;
  width: 80%;
  list-style-type: none;
  justify-content: space-around;
}

.associates li {
  position: relative;
  width: calc(100% / 3 - 35px);
}

.associates li img {
  width: 100%;
  display: block;
}

.associates .text {
  position: absolute;
  bottom: 0;
  color: var(--white);
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  padding: 20px;
  transition: background-color 1s 0s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.associates .text .title {
  font-size: 2.1rem;
  line-height: 2.2rem;
  text-transform: uppercase;
}

.associates .bio {
/*  font-size: 1.5rem;
  line-height: 1.7rem;*/
  max-height: 0px;
  overflow: hidden;
  transition: max-height 1s 0s, overflow 0s 1s;
}

.associates .bio .description {
  overflow: hidden;
}

.associates li:hover .text {
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 1s 0s;
}

.associates li:hover .bio {
  max-height: 400px;
  overflow-y: auto;
  transition: max-height 1s 0s, overflow-y 0s 1s;
}

/* Trick to delay scrollbar display, we hide the scrollbar for the time of the transition */
@keyframes show-overflow {
  from { overflow: hidden; }
}

.associates li:hover .bio {
  animation: show-overflow 3s;
}

.associates .text ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
  font-size: 0.874rem;
}

.associates .text a {
  text-transform: none;
  text-decoration: underline;
  font-weight: normal;
}

.associates .contact-info {
  display: flex;
}
.associates .contact-info div:last-child {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.contact-info ul li {
  line-height: 1.5rem;
  margin: 0;
  text-align: left;
}

.linkedin {
  background-color: var(--white);
  border-radius: 3px;
  display: block;
  width: 30px;
  height: 30px;
}
.linkedin img {
  display: block;
  width: 100%;
}

footer {
  padding: 40px;
  background-color: var(--black);
  color: var(--white);
}

.expertises {
  display: flex;
  margin: 100px auto 0 auto;
  padding: 0;
  width: 80%;
  list-style-type: none;
  justify-content: space-around;
  flex-wrap: wrap;
}

.expertises li {
  position: relative;
  width: calc(100% / 3 - 65px);
  display: flex;
  margin-bottom: 40px;
  cursor: pointer;
}

.expertises li img {
  width: 100%;
}

.expertises .text {
  position: absolute;
  color: var(--white);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.4);
  transition: background-color 1s 0s;
}

.expertises li:hover .text {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 1s 0s;
}

.expertises .text h2 {
  font-size: 2.2rem;
  line-height: 2.1rem;
}

.expertises-content {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.expertises-content > li {
  z-index: 11;
  border: 1px solid var(--dark-grey);
  background-color: var(--white);
  padding: 40px 50px;
  position: fixed;
  top: 35%;
  left: 25%;
  transform: translate(-16%,-25%);
  overflow-y: auto;
}

.expertises-content .close {
  position: absolute;
  top: 20px;
  right: 40px;
}

.expertises-content .close a {
  position: absolute;
  display: block;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.expertises-content .close a span {
  position: absolute;
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
  background-color: var(--dark-grey);
  margin-bottom: 5px;
}

.expertises-content .close a span:first-child {
  transform: rotate(45deg);
}

.expertises-content .close a span:last-child {
  transform: rotate(-45deg);
}

.expertises-content h2 {
  font-size: 3rem;
}

.expertises-content ul {
  list-style-type: disc;
}

.columns {
  display: flex;
}
.columns .col {
  flex: 1 1 calc(50% - 20px);
  margin-right: 20px;
}
.columns .col:last-child {
  margin-right: 0;
  margin-left: 20px;
}
.columns .col-30 {
  flex: 1 1 calc(30% - 20px);
}
.columns .col-70 {
  flex: 1 1 calc(70% - 20px);
}

ul.articles a {
  color: var(--black);
}

.tegova img {
  display: block;
  margin: 0 auto;
}

dl {
  margin-bottom: 20px;
}
dt {
  font-weight: bold;
}
dd {
  margin-left: 20px;
}

@media (max-width: 1200px) {
  header .menu ul {
    padding: 20px 20px 20px 20px;
  }
  header .menu .img, header .menu .img img {
    width: 80px;
    height: 80px;
  }
  header .menu .img.notaires, header .menu .img.notaires img {
    width: 60px;
    height: 60px;
  }
  header .menu ul li .flags img {
    margin-right: 5px;
    position: inherit;
    width: 20px;
    height: 20px;
  }
  header .menu .img:last-child {
    width: 50px;
    height: 50px;
  }
  .linkedin {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1000px) {
  header .boxed {
    padding: 10px 10px;
  }
}

@media (max-width: 950px) {
  header .menu .img, header .menu .img img,
  header .menu .img.notaires, header .menu .img.notaires img {
    width: 50px;
    height: 50px;
  }
  header .menu ul li .flags img {
    margin-right: 5px;
    position: inherit;
    width: 20px;
    height: 20px;
  }
  header .menu ul {
    padding: 5px;
  }
  header .menu ul li.selected:after,
  header .menu ul li:hover:after {
    margin-top: 0px;
    width: 21px;
  }
}

@media (max-width: 950px) {
  header {
    z-index: 10;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }
  
  header.open .menu {
    height: calc(100vh - 100px);
    padding: 20px 20px 100px 20px;
    transition: height 0.8s;
    overflow: scroll;
  }
  
  header .burger {
    display: block;
    z-index: 20;
    cursor: pointer
  }
  
  header .menu {
    display: block;
    background-color: var(--soft-black);
    height: 0;
    width: calc(100% - 40px);
    transition: height 0.8s, padding 0s 0.6s;
    position: absolute;
    left: 0;
    top: 100%;
    overflow: hidden;
    margin-top: 0px;
    padding: 0 20px;
  }

  header .menu .img {
    position: absolute;
    top: 35px;
    right: 130px;
  }

  header .menu ul li .flags img {
    margin-right: 5px;
    position: inherit;
    width: 20px;
    height: 20px;
  }

  header .menu .img:last-child {
    left: auto;
    right: 50px;
  }

  header .menu ul {
    flex-direction: column;
  }
  header .menu ul li {
    margin-top: 20px;
  }

  header .menu ul li.selected:after,
  header .menu ul li:hover:after {
    margin: 0;
    margin-top: 8px;
    border-bottom: 2px solid var(--white);
  }

  .mobile-logo {
    display: block;
    position: absolute;
    top: 35px;
    left: 20px;
  }

  .logo-title img {
    width: 100px;
  }

  .logo-title > div:first-child {
    width: 40%;
  }

  .content.home section.first {
      height: calc(100vh - 170px);
  }

  section.first {
      padding-top: 100px;
  }

  ul.associates {
    flex-direction: column;
  }
  ul.associates li {
    width: auto;
    margin-bottom: 20px;
  }
  ul.associates li:last-child {
    margin-bottom: 0px;
  }

  ul.expertises {
    width: 90%;
    margin-top: 0px;
  }

  ul.expertises li {
    width: calc(100% / 2 - 25px);
  }

  ul.expertises .text h2 {
    font-size: 1.3rem;
    line-height: 1.6rem;
  }

  .expertises-content > li {
    z-index: 11;
    border: 1px solid var(--dark-grey);
    background-color: var(--white);
    padding: 10px 20px;
    position: fixed;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    transform: none;
    overflow-y: scroll;
  }
  .expertises-content ul {
    padding-left: 0;
  }
  .columns {
    display: block;
  }
  .columns .col:last-child,
  .columns .col {
    margin: 0;
  }

  section .content {
    width: 90%;
  }

  section .content.narrow {
    width: 90%;
  }

  .title {
    font-size: 4rem;
    line-height: 5rem;
  }

  a.boxed {
    padding: 10px 20px;
  }
}

@media (max-width: 650px) {
  .logo-title > div:first-child {
    display: none;
  }
  .logo-title div {
    width: 90%;
    margin: auto;
  }
  .logo-title {
    text-align: center;
  }
  .logo-title .subtitle {
    margin-bottom: 100px;
  }
  
  .associates li .text {
    background-color: rgba(0, 0, 0, 0.4);
    height: calc(100% - 40px);
    transition: background-color 1s 0s;
  }

  .associates li .bio {
    max-height: 400px;
    overflow: scroll;
    transition: max-height 1s 0s, overflow 0s 1s;
  }
}