/*   
Theme Name: MMDWC
Author: MATTIEU MOREAU DOMECQ WEB CONCEPTION
Author URI: http://www.mattieumoreaudomecq.com
*/

/* 
-------------------------------------------------------------------------------*/

html,
body,
body div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/*-------------------------------------------------------------------------------*/

/* CSS
-------------------------------------------------------------------------------*/

html,
body {
  width: 100%;
  /*! height: 100%; */
  padding: 0;
  margin: 0;
  color: black;
}

body {
  overflow-x: hidden;
}

#wrapper {
  width: 100%;
  /*! height: 100%; */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  -webkit-overflow-scrolling: touch;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: normal;
  font-size: inherit;
  line-height: inherit;
}

.lapture-regular {
  font-family: jaf-lapture, serif;
  font-weight: 400;
  font-style: normal;
}
.lapture-semibold {
  font-family: jaf-lapture, serif;
  font-weight: 600;
  font-style: normal;
}
.lapture-bold {
  font-family: jaf-lapture, serif;
  font-weight: 700;
  font-style: normal;
}
.poppins-regular {
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
}
.poppins-medium {
  font-family: poppins, sans-serif;
  font-weight: 500;
  font-style: normal;
}
.poppins-bold {
  font-family: poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

header {
  width: calc(100vw / 6);
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  padding: 30px 15px 30px 30px;
}

header img {
  margin-bottom: 60px;
  /*! padding-right: 30px; */
  max-width: 100px;
}

#content {
  width: calc(100vw * 5 / 6);
  min-height: calc(100vh - 104px);
  margin-left: calc(100vw / 6);
  font-family: jaf-lapture, serif;
  padding-right: 30px;
}

#content p,
#content h2,
#content h1 {
  max-width: 500px;
}

#content p,
#content strong {
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  font-style: normal;
  margin-bottom: 15px;
}

#content strong,
#content em {
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
  font-size: 12px;
  line-height: 17px;
}

#content strong {
  font-weight: 700;
  margin-bottom: 0px;
}

#content p:last-child {
  margin-bottom: 0px;
}

#content p a {
  color: black;
  text-decoration: underline;
}
#content h1,
#content h2 {
  font-weight: 700;
  font-size: 19px;
  line-height: 24px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.menu-menu-desktop-container {
  max-width: 165px;
}

.menu,
.sub-menu,
.fixed-instagram {
  text-transform: uppercase;
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
  list-style: none;
  font-size: 15px;
  line-height: 15px;
  letter-spacing: 1px;
}

.menu #menu-item-159 {
  display: none;
}

.sub-menu {
  font-size: 11px;
  line-height: 15px;
}
.menu a,
.fixed-instagram {
  color: black;
  display: block;
  text-decoration: none !important;
  border-bottom: 1px solid;
  padding-bottom: 6px;
  margin-bottom: 10px;
}

.current-page-ancestor .sub-menu a {
  color: black;
}

.fixed-instagram:hover,
.current-page-ancestor a,
.current-page-ancestor .sub-menu .current-menu-item a,
.current-menu-item a,
.menu a:hover {
  color: #f28e75;
}

#menu-item-28 a {
  pointer-events: none;
}

#menu-item-28 .sub-menu a {
  pointer-events: all;
}

.fixed-instagram {
  position: fixed;
  width: calc(100vw / 6 - 45px);
  bottom: 120px;
  left: 30px;
  max-width: 165px;
}

/* FOOTER */

footer {
  background-color: #f28e75;
  color: white;
  display: flex;
  padding: 15px 30px 30px 30px;
  font-family: poppins, sans-serif;
  font-weight: 500;
  font-style: normal;
  font-size: 8px;
  line-height: 11px;
  z-index: 100;
  position: relative;
}

footer a:hover {
  color: white;
}

footer h2 {
  font-weight: 700;
}

footer a {
  color: white;
}

footer .logo-container {
  width: 30%;
}

footer .logo-container img {
  padding-right: 30%;
  max-width: 500px;
}

footer .menu-container {
  width: 70%;
}

footer .menu-container {
  display: flex;
  justify-content: space-between;
}

footer .menu-container .menu-container-item {
  width: 25%;
  padding: 15px 15px 0px 15px;
}

footer .menu-container .menu-container-item:nth-child(3) {
  font-weight: 700;
}

/* HOME */

.page-template-page-HOME #content {
  padding-right: 0px;
  min-height: 100vh;
}

.logo-fixed {
  position: fixed;
  z-index: 101;
  width: calc(100vw * 1 / 6);
  top: 100px;
  right: 100px;
  display: block !important;
}

.carousel-home {
  height: 100vh;
  position: fixed !important;
  width: calc(100vw * 5 / 6);
}

.carousel-home .slide {
  height: 100%;
  width: 100%;
}

.carousel-home .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* A PROPOS */

.page-template-page-A-PROPOS #content .content-inside {
  display: flex;
  padding: 0 calc(100vw * 0.5 / 6);
}

.sticky-content {
  position: sticky;
  top: 30px;
}

.page-template-page-A-PROPOS #content .content-inside .left {
  width: 50%;
  padding: 30px 15px;
}

.page-template-page-A-PROPOS #content .content-inside h2 {
  margin-bottom: 15px;
}

.page-template-page-A-PROPOS
  #content
  .content-inside
  .left
  .content-inside-item {
  margin-bottom: 30px;
}
.page-template-page-A-PROPOS #content .content-inside .right {
  width: 50%;
  padding: 30px 15px;
}

.page-template-page-A-PROPOS #content .content-inside .right img {
  margin-bottom: 30px;
  position: sticky;
  top: 30px;
}

/* TARIFS */

.page-template-page-TARIFS #content .content-inside .content-top {
  display: flex;
  padding-top: 30px;
  margin-bottom: 30px;
  justify-content: space-between;
}

.page-template-page-TARIFS #content .content-inside .content-top p {
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
  font-size: 12px;
  line-height: 19px;
}

.page-template-page-TARIFS #content .content-inside .content-top h2 {
  margin-bottom: 0px;
}

.page-template-page-TARIFS #content .content-inside .content-top p strong {
  font-family: poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
}

.page-template-page-TARIFS #content .content-inside .content-top p em {
  text-decoration: underline;
}

.page-template-page-TARIFS #content .content-inside .content-top-item {
  width: calc(100vw * 1.3 / 6);
}

.page-template-page-TARIFS #content .content-inside .content-bottom {
  margin-bottom: 30px;
}

/* COURS */

#content h1,
#content h2 {
  margin-bottom: 0px;
}

#content .content-inside--cours-et-stages {
  padding: 0 calc(100vw * 0.5 / 6);
  padding-top: 30px;
}

#content .content-inside--cours-et-stages .page-title {
  padding: 0px 15px 15px 0px;
  border-bottom: 1px solid #f28e75;
  margin-bottom: 30px;
}

#content .content-inside--cours-et-stages .sub-title p {
  font-size: 15px;
  line-height: 20px;
  font-weight: 600;
}

#content .content-inside--cours .content-cours-item {
  display: flex;
  border-bottom: 1px solid #f28e75;
  margin-bottom: 30px;
}

#content .content-cours-item {
  margin-bottom: 30px;
}

#content .content-inside--cours .content-cours-item .left {
  width: 60%;
  padding: 0px 15px 30px 0px;
}

#content .content-inside--cours .content-cours-item .right {
  width: 40%;
  padding: 0px 0px 30px 05px;
}

#content .content-inside--cours-et-stages .content-cours-item .sub-title {
  margin-bottom: 20px;
}

#content .content-inside--cours-et-stages .sub-sub-title {
  margin-bottom: 20px;
}

#content .content-inside--cours-et-stages .sub-sub-title--nota-bene {
  margin-top: 20px;
  margin-bottom: 0px;
}

#content
  .content-inside--cours-et-stages
  .sub-sub-title.sub-sub-title--nota-bene
  p {
  line-height: 16px;
  /*! font-style: italic; */
}

#content .content-inside--cours-et-stages .text-2 p,
#content .content-inside--cours-et-stages .sub-sub-title p {
  font-family: poppins, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.5px;
}

#content .content-inside--cours-et-stages .sub-sub-title p {
  font-size: 12px;
  line-height: 19px;
}

#content .content-inside--cours-et-stages .text-2 p {
  font-size: 12px;
  line-height: 16px;
}

#content .content-inside--cours-et-stages .text-1 {
  margin-bottom: 20px;
}

#content .content-inside--cours-et-stages .button,
.mobile-inscription {
  text-transform: uppercase;
  font-family: poppins, sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.5px;
  color: black;
  font-size: 15px;
  line-height: 15px;
  border: 1px solid;
  padding: 9px 10px 7px 10px;
  display: inline-block;
  cursor: pointer;
}

#content .content-inside--cours-et-stages .button:hover {
  color: #f28e75;
  border-color: #f28e75;
  text-decoration: none;
}

.image-container {
  position: relative;
  margin-bottom: 30px;
  position: sticky;
  top: 30px;
}

.image-container:last-child {
  margin-bottom: 0px;
}

.image-container .image-caption {
  color: white;
  font-family: poppins, sans-serif;
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.5px;
  position: absolute;
  bottom: 5px;
  left: 10px;
  font-size: 8px;
  line-height: 10px;
}

#content .content-inside--cours-et-stages .text-2 {
  margin-top: 30px;
  margin-bottom: 30px;
}
#content .content-inside--cours-et-stages .text-2 p {
  font-family: jaf-lapture, serif;
  font-weight: 400;
  font-style: normal;
  font-size: 15px;
  line-height: 17px;
}

#content .content-inside--cours-et-stages .text-2 p em {
}

#content .content-inside--stages {
  display: flex;
}

#content .content-inside--stages .left {
  width: 60%;
  padding: 30px 15px 30px 0px;
}

#content .content-inside--stages .right {
  width: 40%;
  padding: 30px 15px 30px 05px;
}

/* MODAL */

.modal-dialog {
  max-width: 860px;
  margin: 30px auto;
}

.modal-content {
  border: 1px solid rgb(242, 142, 117);
  border-radius: 0rem;
}

.modal-content img {
  width: auto;
}

.close-modal {
  position: absolute;
  width: 20px;
  height: 20px;
  cursor: pointer;
  right: 15px;
  top: 15px;
  z-index: 100;
}

.close-modal span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px; /* longueur de chaque barre */
  height: 1px; /* épaisseur de la barre */
  background: #f28e75; /* couleur de la croix */
  transform-origin: center;
}

/* Barre diagonale \ */
.close-modal span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Barre diagonale / */
.close-modal span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.modal-body {
  padding: 30px;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper {
  width: 100% !important;
  height: 560px;
  margin: 0px !important;
  border-radius: 0px !important;
  box-shadow: none !important;
  max-width: 100% !important;
}

.amelia-v2-booking #amelia-container .am-fs__main {
  max-width: 100% !important;
}

.mobile {
  display: none !important;
}

@media (max-width: 991px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block !important;
  }

  header {
    width: 100%;
    height: auto;
    padding: 15px 15px 15px 15px;
    z-index: 101;
    background-color: white;
  }

  header img {
    margin-bottom: 15px;
    padding-right: 0;
    height: 45px;
    width: auto;
    max-width: unset;
  }

  .menu-burger {
    width: 25px;
    height: 15px;
    position: relative;
  }

  .menu-burger span {
    display: block;
    position: absolute;
    height: 1px;
    width: 100%;
    background: #f28e75;
    left: 0;
    transition: all 0.3s ease;
  }

  .home .menu-burger span {
    background: #f28e75;
  }

  .menu-burger span:nth-child(1) {
    top: 0px;
  }

  .menu-burger span:nth-child(2) {
    top: 7.5px;
  }

  .menu-burger span:nth-child(3) {
    top: 15px;
  }

  .menu-opened .menu-burger span:nth-child(1) {
    transform: rotate(45deg);
    top: 7px;
  }

  .menu-opened .menu-burger span:nth-child(2) {
    opacity: 0;
  }

  .menu-opened .menu-burger span:nth-child(3) {
    transform: rotate(-45deg);
    top: 7px;
  }

  .menu-menu-desktop-container {
    width: 100%;
    max-width: unset;
    display: none;
    margin-bottom: -5px;
  }

  .menu-opened .menu-menu-desktop-container {
    display: block;
  }

  .mobile-inscription {
    color: rgb(242, 142, 117);
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
    text-align: center;
    padding: 9px 10px 7px 10px;
  }

  .menu,
  .sub-menu {
    max-width: 175px;
    margin-top: 15px;
  }

  .sub-menu {
    margin-top: 10px;
  }

  .menu #menu-item-159 {
    display: block;
  }

  .carousel-home {
    height: 100%;
    position: relative !important;
    width: 100%;
  }

  .logo-fixed {
    position: absolute;
    z-index: 100;
    width: 50%;
    top: 50%;
    left: 50%;
    display: block !important;
    transform: translate(-50%, -50%);
  }

  .page-template-page-HOME #content {
    padding-right: 0px;
    height: calc(100vh - 105px);
    padding: 0px;
    padding-top: 105px;
    position: relative;
  }

  #content {
    display: block;
    width: 100%;
    margin-left: unset;
    min-height: unset;
    padding: 0px 15px;
    padding-top: 105px;
  }

  .image-container:last-child img {
    margin-bottom: 0px;
  }
  .content-inside img {
    margin: 0px auto;
    margin-bottom: 15px;
  }

  .content-inside img:last-child {
    margin-bottom: 0px;
  }
  .page-template-page-A-PROPOS #content .content-inside,
  .content-inside {
    display: block;
    padding: 0px;
  }

  .page-template-page-A-PROPOS
    #content
    .content-inside
    .left
    .content-inside-item {
    margin-bottom: 30px;
  }

  .read-more-container {
    margin-bottom: 15px;
  }

  .page-template-page-A-PROPOS #content .content-inside .left {
    width: 100%;
    padding: 0px;
  }

  #content .content-inside--cours-et-stages .page-title {
    padding: 0px 15px 15px 0px;
    border-bottom: 1px solid #f28e75;
    margin-bottom: 30px;
  }

  #content .content-inside--cours-et-stages .content-cours-item .sub-title {
    margin-bottom: 15px;
  }

  #content .content-inside--cours-et-stages .text-1 {
    margin-bottom: 15px;
  }

  #content .content-inside--cours-et-stages .sub-sub-title {
    margin-bottom: 15px;
  }

  #content .content-inside--cours .content-cours-item {
    display: block;
    border-bottom: 1px solid #f28e75;
    margin-bottom: 30px;
  }

  #content .content-inside--stages .right,
  #content .content-inside--stages .left,
  #content .content-inside--cours .content-cours-item .right,
  #content .content-inside--cours .content-cours-item .left {
    width: 100%;
    padding: 0px 0px 0px 0px;
    display: block;
    margin-bottom: 30px;
  }

  #content .content-inside--cours-et-stages {
    padding: 0px;
    display: block;
  }

  .page-template-page-TARIFS #content .content-inside .content-top {
    display: block;
    padding: 0;
    margin: 0;
  }

  .image-container {
    margin-bottom: 15px;
    position: relative;
    top: 0px;
  }

  .page-template-page-TARIFS #content .content-inside .content-top-item {
    width: 100%;
    margin-bottom: 30px;
  }

  .read-more-container .read-more-toggle {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 14px;
  }

  .read-more-container .read-more-toggle:after {
    content: '+';
    position: relative;
    top: 1px;
  }

  .read-more-container.full .read-more-toggle:after {
    content: '-';
  }

  .read-more-container .read-more-short,
  .read-more-container .read-more-full {
    margin-bottom: 15px;
  }

  .read-more-container.full .read-more-short {
    display: none !important;
  }

  .read-more-container.full .read-more-full {
    display: block;
  }

  /* FOOTER */

  .fixed-instagram {
    display: none;
  }

  footer {
    display: block;
    padding: 15px 15px;
    position: unset;
  }

  footer .logo-container {
    width: 75%;
    display: none;
  }

  footer .logo-container img {
    padding-right: 0;
    max-width: unset;
  }

  footer .menu-container {
    display: block;
    width: 100%;
  }

  footer .menu-container .menu-container-item {
    width: 100%;
    padding: 0px 10px 0px 0px;
    margin-bottom: 15px;
  }

  footer .menu-container .menu-container-item:last-child {
    margin-bottom: 0px;
  }
}
