* {
  margin: 0;
  padding: 0;
  font-family: "Exo", sans-serif;
}

:root {
  --header-height: calc(
    var(--header-bottom-height) + var(--header-middle-height)
  );
  --header-middle-height: 350px;
  --header-bottom-height: 75px;
  --container-width: 1400px;

  --gradient: linear-gradient(45deg, #dfc98f 0%, #af9a64 100%);
  --gradient-light: linear-gradient(
    45deg,
    rgba(223, 201, 143, 0.6) 0%,
    rgba(175, 154, 100, 0.7) 100%
  );
  --primary-color: rgb(162, 162, 162);
  --primary-color-50: rgba(49, 107, 131, 0.5);
  --primary-color-20: rgba(49, 107, 131, 0.2);
  --primary-color-10: rgba(49, 107, 131, 0.1);
  --secondary-color: #d5bfbf;

  --white: #fff;
  --black: #000;
  --vert: #2f4201;
}

.inline-block.mt-1.button {
	background: var(--vert);
}

.grecaptcha-badge {
  display: none;
}

img {
  width: 100%;
}

img.picto {
	width: initial;
	filter: grayscale(1);
	display: block;
	margin-right: auto;
	margin-left: auto;
}

ul {
  margin: 0;
}

a {
	color: var(--vert);
}

.mg-auto {
  margin: auto;
}

.mg-0 {
  margin: 0 !important;
}

.g-1 {
  gap: 1rem;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
}

.main-visual {
  width: 250px;
  margin-bottom: 0.5rem;
}

.main-visual--moy {
  width: 150px;
  margin-bottom: 0.5rem;
}

.main-visual--min {
  width: 100px;
  margin-bottom: 0.5rem;
}

.main .image-container:not(.image-container--normal) {
  height: 250px;
  width: 250px;
  margin-bottom: 0.5rem;
}

.main .image-container img {
  width: 100%;
}

.img-container-250 {
	width: 250px;
	height: 250px;
}

.img-container-250 .main-visual {
	object-fit: cover;
	height: 100%;
}

h2.main-subtitle,
.footer h2 {
  font-weight: bold;
  font-size: 1.4em;
  margin: 3rem 0 1rem;
}
h2.main-subtitle {
	border-bottom: 1px solid;
}
.header {
  margin-top: 1rem;
  height: var(--header-height);
}

.header-top,
.header-middle,
.header-middle-content,
.header-bottom-navigation,
.header-bottom,
.body,
.flex {
  display: flex;
}
.header-bottom-navigation {
	justify-content: flex-end;
}
.flex-column {
  flex-direction: column;
}
.justify-center {
	justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
	justify-content: space-between;
}
section {
	padding: 1em;
	position: relative;
}
.align-center {
	align-items: center;
}
.center {
	text-align: center;
}
.header-top {
  height: var(--header-top-height);
  justify-content: flex-end;
  align-items: center;
}

.header-middle,
.footer-other {
  background-image: var(--background-image);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  border-radius: 1rem;
  padding: 1rem 3rem;
  box-sizing: border-box;
}

.footer-other {
  background-position: center bottom;
}

.header-middle {
  background-position: center center;
  height: var(--header-middle-height);
}

.footer-other {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

.footer-other > *,
.footer-other a {
  color: var(--white);
}

.header-middle-image {
  flex-grow: 0;
  flex-basis: 250px;
}

.header-middle-image img {
  border-radius: 1rem;
}

.header-middle-content {
  flex-grow: 1;
  flex-basis: 0;
  margin-left: 2rem;
  color: var(--white);
  flex-direction: column;
}

.header-middle-content-specialities,
.header-middle-content-title,
.header-middle-content-degree {
  flex-grow: 1;
  flex-basis: 0;
}

.header-middle-content-title,
.header-middle-content-title u,
.main-title {
  font-family: "Merriweather";
}

.header-middle-content-title {
  font-size: 2.5em;
}

.header-middle-content-degree {
  font-weight: lighter;
}

.header-middle-content-specialities {
  text-align: right;
}

.header-bottom {
  height: var(--header-bottom-height);
  align-items: center;
  justify-content: flex-end;
}

.header-bottom-navigation {
  list-style-type: none;
}

.header-bottom-navigation li a {
  font-size: 0.9rem;
}
.header-bottom-navigation li:not(.button--light-gold) a {
  color: white;
  display: block;
}
.header-bottom-navigation li.menu-item-has-children > a {
	text-decoration: underline;
	height: 45px;
	padding: 0 0.25em;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 110px;
}
.header-bottom-navigation li:not(:first-child),
.header-bottom-navigation .sub-menu li:first-child {
	margin-left: 0.5rem;
}
.menu-item-has-children > a::after {
	content: url('../img/arrow.svg');
	width: 15px;
	margin-left: 0.3rem;
}
.menu-item-has-children {
  position: relative;
}
.menu-item-has-children > .sub-menu {
	display: none;
  list-style: none;
  position: absolute;
  opacity: 0;
  border-top: 5px solid white;
}
.menu-item-has-children > .sub-menu a {
  background: transparent;
}
.menu-item-has-children:hover .sub-menu {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	width: 300px;
	z-index: 9;
	background: #2f4201;
	border-radius: 30px;
  opacity: 1;
  transition: 0.8s ease-in-out;
}
.sub-menu li {
	background: transparent;
}
@media screen and (min-width : 768px) {
  .header-bottom {
    margin-top: 2rem;
  }
  .header {
    margin-bottom: 2rem;
  }
}

.body .main {
  flex-grow: 1;
  flex-basis: 0;
}

.body:not(.front-page) .main {
  margin-bottom: 8rem;
}

.body .main figure:not(.no-bg), 
.gold-bg {
	padding: 1rem;
	border-radius: 1rem;
	background: var(--gradient);
}
.body .main div.no-bg,
.body .main div.no-bg img,
.body .main div.no-bg figure {
	background: transparent !important;
}
.inline-block {
  display: inline-block;
}

.gold-bg ul {
  margin: 0 !important;
}

.body .main figure figcaption {
  margin-top: 0.5rem;
  margin-left: 1rem;
  font-style: italic;
}

.body .aside {
  flex-grow: 0;
  flex-basis: 350px;
  text-align: center;
}

aside a {
	text-decoration: none
}

aside .info-sandrine a:hover {
	color: #b09b65;
}
.greview {
    display: block;
    max-width: 350px;
}
.body .main-row {
  display: flex;
}

.bienfaits{
	justify-content: flex-start;
	align-items: stretch;
}

.body .main-col-full {
  flex-grow: 1;
  flex-basis: 0;
}

.body .main-col-10 {
  flex-grow: 0.1;
  flex-basis: 0;
}

.body .main-col-25 {
  flex-grow: 0.25;
  flex-basis: 0;
}

.body .main-col-50 {
  flex-grow: 0.5;
  flex-basis: 0;
}

.body .main-col-75 {
	flex-grow: 0.75;
	flex-basis: 0;
	display: flex;
	flex-flow: column;
}

.body .main-col-90 {
  flex-grow: 0.75;
  flex-basis: 0;
}

.body p {
  margin-bottom: 0.5em;
}

.body .main-row > :nth-child(2n) {
  margin-left: 2rem;
}

.main-citation, .main-adress {
  padding-top: 1.25rem !important;
  width: 75%;
  position: relative;
  text-align: justify;
}
.main-citation.w-20 {
	margin-left: 2em;
}

.colophon {
	position: relative;
}

.main-adress {
	position: absolute;
	top: -60%;
	left: 2em;
	z-index: 9;
}
.main-citation::after, .main-adress::after {
  content: "";
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  transform: translateY(-50%);
  right: 50px;
  width: 50px;
  height: 50px;
}

.main-citation::after {
  background-image: url("/wp-content/themes/sandrine-gerault-sophrologue/assets/img/quote.png");
}

.main-adress::after {
  background-image: url("/wp-content/themes/sandrine-gerault-sophrologue/assets/img/home.png");
}

article {
	display: flex;
	justify-content: space-between;
}

article .button.inline-block.mt-1.mb-1.vert {
	float: right;
}

article p {
	text-align: justify;
}

article.col {
	flex-flow: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

article.col {
	flex-flow: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}

article.col p {
	text-align: center;
}

.mh-2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.mb-05 {
  margin-bottom: 0.5rem;
}
.mb-1 {
  margin-bottom: 1rem !important;
}
.mb-2 {
  margin-bottom: 2rem;
}
.mb-3 {
	margin-bottom: 3rem;
}
.mb-4 {
	margin-bottom: 4rem;
}
.mb-5 {
	margin-bottom: 5rem;
}
.mb-6 {
	margin-bottom: 6rem;
}
.mb-7 {
	margin-bottom: 7rem;
}
.mb-8 {
  margin-bottom: 8rem;
}
.mb-9 {
	margin-bottom: 9rem;
}
.mt-1 {
  margin-top: 1rem !important;
}
.mt-2 {
  margin-top: 2rem;
}
.mt-3 {
  margin-top: 3rem;
}

.m-0 {
  margin: 0 !important;
}
.mt-0 {
  margin-top: 0 !important;
}

.w-100 {
  width: 100% !important;
}

.w-90 {
  width: 90% !important;
}
.w-10 {
  width: 10% !important;
}
.w-20 {
  width: 20% !important;
}
.w-30 {
  width: 30% !important;
}
.w-70 {
	width: 70%;
}
.p-1 {
	padding: 1em;
}
article .w-70 {
	padding-left: 2em;
}
article figure {
	border-radius: 1rem;
	overflow: hidden;
}
.pr-2 {
  padding-right: 2rem;
}
.pl-2 {
  padding-left: 2rem;
}
.pr-1 {
  padding-right: 1rem;
}
.pl-1 {
  padding-left: 1rem;
}
.main-title {
  font-size: 2em;
  margin: 2rem 0 1rem;
}

.gradient-light-bg {
  padding-top: 0.8rem;
  border-radius: 20px;
  background: var(--gradient-light);
}

p.main-subtitle {
  font-weight: normal;
  font-size: 1.4em;
}

.main-col-50 .image-container {
  height: 300px;
}

.footer-home {
  margin: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.w-auto {
  width: auto;
}

.logo-link {
  width: 90px;
  display: block;
}

.logo-link img {
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group input:not(input[type="submit"]),
.form-group textarea {
  border: var(--primary-color) solid 2px;
  border-radius: 10px;
  padding: 0.5rem 1rem;
}

.form-group textarea {
  resize: none;
}

.text-center {
  text-align: center;
}

.form-group label {
  margin-bottom: 0.2rem;
}

.button,
.button-children a {
  background-color: var(--vert);
  text-decoration: none;
  padding: 0.75em 1.25em;
  border: none;
  border-radius: 2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--white);
}

.button--outline {
  text-decoration: none;
  padding: 0.5em 1.25em;
  border-radius: 2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button--large {
  font-size: 1.2em;
}

.button--light-gold {
  color: var(--black);
  background: var(--gradient-light);
}

.degree-list li,
.formation-list li {
  margin-top: 1rem;
  margin-left: 1rem;
}

.italic {
  font-style: italic;
}

.font-small {
  font-size: 0.8em;
  margin: 1rem 0;
  display: block;
}

.degree-logos {
	list-style-type: none;
	display: flex;
	justify-content: center;
	height: 150px;
	align-items: center;
}

.main img:not(.degree-logos img) {
  border-radius: 20px;
}

.main-row img, .grey {
	filter: grayscale(1);
}

.bienfaits .main-col img {
	object-fit: cover;
	height: 100%;
	width: 100%;
}

.no-grey img,
.no-grey-hover img:hover {
	filter: none;
}

a:hover img {
	filter: none;
}

.main ul li {
  margin-left: 2rem;
}

.main ul {
  margin-bottom: 1rem;
}

.main-section-title {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.degree-logos li a img {
  width: 80px;
}

a:hover img {
	border: 2px solid var(--vert);
	box-shadow: 10px 10px 20px grey;
}

.social-links a img, .social-links a:hover img{
	border: 0;
}

a.button:hover, input.button:hover {
	transition: ease 0.4s;
	box-shadow: 2px 2px 5px grey;
}

a img {
	border: 2px solid white;
	 transition: ease 0.4s;
}

.main-col {
	position: relative;
}

figcaption {
	position: absolute;
	bottom: 5px;
	right: 10px;
	color: white;
	text-align: right;
}

.header-bottom-navigation--mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  list-style: none;
  transform: translateX(100%);
  transition: 0.4s;
}

.header-bottom-close {
  font-size: 5rem;
  cursor: pointer;
  position: absolute;
  top: 2rem;
  right: 7rem;
}

.header-bottom-navigation--mobile a {
  display: block;
}

.header-bottom-navigation--visible {
  display: flex;
  transform: translateX(0);
}

.header-bottom-navigation--mobile li:not(:last-child) {
  margin-bottom: 1rem;
}

.header-bottom-burger {
  display: none;
  font-size: 2.5rem;
  cursor: pointer;
}

.image-container {
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.title-3 {
  font-size: 0.87em;
  font-weight: bold;
}

section.mt-2 h2::before, #content h1::before,  .main h1::before {
	content: url('/wp-content/uploads/2021/11/logo-visuel_sandrinegerault.png');
	position: absolute;
	z-index: -1;
	width: 150px;
	height: 150px;
	top: 0;
	left: 0;
	object-fit: contain;
	display: flex;
	transform: translate(0, -46%);
}

article:not(:first-of-type) {
	border-top: 2px solid;
	padding-top: 2em;
}

.actualites article {
	border-top: 0;
	padding-top: 0;
	justify-content: space-between;
	padding: 1rem;
}

.actualites h2 {
	margin: 1rem;
	padding: 1rem;
	border-bottom: 1px solid var(--vert);
}

.actualites article p {
	text-align: justify;
}

.actualites > a {
	background: var(--vert);
	display: block;
	color: white;
	text-decoration: none;
	padding: 1rem;
	margin-bottom: 2rem;
	border-radius: 1rem;
	border-bottom: 1px solid var(--vert);
}

.actualites .main-row {
	display: block;
}
.actualites {
	background: #e3e6dd;
	border-radius: 1em;
}
.actualites h2 {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--vert);
}
.button.blog {
	display: block;
	border-radius: 0 0 1rem 1rem;
	margin-left: 0 !important;
	width: auto;
	margin-top: 1rem;
}
.nav-links {
	text-align: center;
}
.nav-links a {
	text-decoration: none;
}
.page-numbers {
	width: 25px;
	height: 25px;
	display: inline-block;
	border-radius: 2px;
	background: #2f4201;
	color: white;
	padding-top: 3px;
	border: 1px solid white;
	transition: ease-in-out 0.3s;
}
.page-numbers.current {
  background: var(--gradient);
}
.page-numbers:hover {
	background: white;
	color: #2f4201;
	border: 1px solid;
}
.page-numbers.current {
  color: black;
}
.button p {
	margin-bottom: 0;
}
article figure {
	border-radius: 1rem;
	overflow: hidden;
	max-height: 300px;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	flex-flow: column;
}

article figure figcaption {
	position: relative;
	color: black;
}

#content h1, section h2, .main-title, .main h1 {
	position: relative;
}

.front-page .main-citation {
	width: 100%;
    margin-bottom: 3em;
}

.front-page .main {
	margin-left: 3em;
}

@media screen and (max-width: 1400px) {
  body {
    --container-width: 1200px;
  }

  .header-bottom-navigation--mobile {
    display: flex;
  }

  .header-bottom-navigation {
    display: none;
  }

  .header-bottom-burger {
    display: block;
  }
}

@media screen and (max-width: 1200px) {
  body {
    --container-width: 768px;
    --header-height: auto;
  }

  .body .main-row > :nth-child(2n) {
    margin: 1rem 0 0 0;
  }

  .main-row {
    flex-direction: column;
  }

  .header-bottom {
    display: flex;
    justify-content: center;
  }

  .body {
    flex-direction: column;
  }

  .aside img {
    width: 50%;
  }

  .aside {
    flex-grow: 1 !important;
    flex-basis: 0 !important;
  }

  .header .header-middle {
    display: grid;
    grid-template-rows: 200px 1fr;
    height: auto;
  }

  .header-middle-image {
    height: 100%;
    display: flex;
    justify-content: center;
	overflow: hidden;
  }

  .header-middle-image img {
    height: 100%;
    width: auto;
  }

  .header-middle-content {
    flex-direction: row-reverse;
    align-items: center;
  }

  .header-middle-content-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
  }
	
  .aside img.picto {
  	width: initial;
  }
	
  .aside {
	margin-bottom: 0;
  }
	
  .front-page .main {
	margin-left: 0;
  }
}

@media screen and (max-width: 768px) {
  body {
    --container-width: 100%;
  }

  .header-middle {
    padding: 1rem 0;
  }

  .header-middle-content {
    flex-direction: column;
    margin: 0;
  }

  .header-middle-content-title,
  .header-middle-content-degree,
  .header-middle-content-specialities {
    margin: 1rem 0.5rem 0 0.5rem;
  }

  .header-middle-content-degree {
    text-align: center;
  }

  .header-middle-content-specialities {
    order: 3;
  }

  .header-middle-content-specialities p {
    text-align: center;
  }

  .container {
    margin: 0 1rem;
  }
  .main-adress.w-20 {
	position: relative;
	top: 0;
	left: 0;
	width: initial !important;
	margin-bottom: 1em;
  }
	
  .body:not(.front-page) .main {
	margin-bottom: 0;
  }
  .main-citation {
	display: block;
	margin-left: 0 !important;
	width: 100% !important;
	padding: 3rem 0 1rem !important;
  }
  .body .main figure:not(.no-bg) p, .gold-bg p{
  	padding : 0 1rem;
  }
}

@media screen and (max-width: 700px) {
  .front-page .justify-between {
	flex-flow: column-reverse;
  }
}
@media screen and (max-width: 640px) {
  .front-page .justify-between {
	flex-flow: column-reverse;
  }
}

.button--icon svg {
  height: 0.95em;
}

.button--icon {
  padding: 0.75rem 1.15em;
  border-radius: 50%;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link img {
  height: 50px;
  border-radius: 0 !important;
}

.degree-list { 
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 1.5em 1.5em;
  grid-auto-flow: row;
  justify-content: space-between;
  justify-items: start;
  align-items: start;
  grid-template-areas:
    ". . . .";
  width: 100%;
}
.degree-list {
	list-style: none;
}
.degree-list {
	text-align: justify;
}
.main ul.degree-list li {
	margin-left: 0;
}
.degree-list img {
	max-width: 150px;
	max-height: 150px;
	width: auto;
	height: auto;
}
@media screen and (max-width:768px) {
  .degree-list { 
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      ". .";
  }
}