/*   
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;
}

body {
  font-family: 'EB Garamond', serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 26px;
}

#wrapper {
  width: 100%;
  min-height: 100vh;
  color: rgb(0, 0, 255);
}

.container-fluid {
  padding-left: 60px;
  padding-right: 60px;
}

* {
  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;
}

h1 {
  font-size: 45px;
  line-height: 50px;
  margin-bottom: 30px;
  font-weight: 600;
}

p {
  font-size: 20px;
  line-height: 26px;
}

.french,
a {
  color: blue !important;
}

.english,
.english a {
  color: rgb(230, 79, 127) !important;
}

.p--big,
.p--big p {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
}

a,
a:active,
a:visited,
a:hover {
  text-decoration: none;
}

a:not(.link-absolute):hover,
.partenaires-item:hover p span {
  text-decoration: underline;
}

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

.link-absolute {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 2;
}

.image-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.image-container--3-4 {
  aspect-ratio: 3 / 4;
}

.image-container--4-3 {
  aspect-ratio: 4 / 3;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* HEADER */

header {
}

header .logo-header {
  padding: 0px 30px;
  height: 140px;
  width: auto;
  margin: 60px 0px;
}

header .image-container {
  height: 75vh;
  position: relative;
  width: 100%;
  min-height: 500px;
}

.header-text {
  position: absolute;
  z-index: 100;
  top: 50%;
  transform: translateY(-50%);
  color: white;
}

.header-text p {
  text-align: center;
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 15px 0px;
}

.header-text--left {
  left: 90px;
}

.header-text--left p a,
.header-text--left p a:hover {
  color: white !important;
}

.header-text--left p {
  font-size: 20px;
  line-height: 28px;
}

.header-text--right {
  right: 90px;
  font-weight: 500;
}

.header-text--right p {
  font-size: 24px;
  line-height: 32px;
  border-color: blue;
}

.header-text--right p.english {
  color: white;
}

.header-text--right p:first-child {
  color: blue;
  border-bottom: 0px;
}

#section-1 {
}

#section-1 .poster-container {
  position: relative;
}

#section-1 .poster {
  width: 50vw;
  margin: 60px auto;
}

#section-1 .sticker {
  position: absolute;
  width: 7.5vw;
  right: 7.5vw;
  top: 50%;
  transform: translate(0%, -50%);
}

#section-1 .image-container {
  height: 50vh;
  min-height: 375px;
  margin: 30px 0px;
}

#section-histoire {
  margin: 60px 0px;
}

#section-histoire h1 {
  margin-bottom: 30px;
}

#section-histoire p,
#section-histoire p.p--big {
  margin-bottom: 30px;
}

#section-histoire .image-container {
  margin-bottom: 30px;
}

.caption {
  position: absolute;
  bottom: 6px;
  right: 7px;
  writing-mode: sideways-lr;
  text-orientation: mixed;
  white-space: nowrap;
  font-size: 12px;
  line-height: 1;
  color: #fff;
  padding: 4px 0;
}

.multi-columns {
  -webkit-column-count: 3;
  -mox-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 30px;
  -moz-column-gap: 30px;
  column-gap: 30px;
  margin-top: 30px;
}

.multi-columns .multi-columns-item {
  position: relative;
  break-inside: avoid;
  margin-bottom: 30px;
}

#section-ecole {
  margin-bottom: 90px;
}

#section-ecole .multi-columns-item:hover .p--big {
  text-decoration: underline;
}

#section-ecole .p--big {
  margin-bottom: 30px;
}

#section-ecole .multi-columns .p--big {
  margin-bottom: 0px;
}

#section-objectifs {
  margin-bottom: 90px;
}

#section-objectifs .p--big {
  margin-bottom: 30px;
}

#section-jury {
  margin-bottom: 60px;
}

#section-jury .p--big {
  margin-bottom: 30px;
}

#section-jury p {
  margin-bottom: 30px;
}

#section-partenaires {
  margin-bottom: 60px;
}

#section-partenaires .p--big {
  margin-bottom: 30px;
}

#section-partenaires .row-partenaires-container {
  margin-bottom: 30px;
}

#section-partenaires .partenaires-item {
  margin-bottom: 30px;
  padding: 15px 30px;
}

#section-partenaires .partenaires-item .image-container {
  margin-bottom: 10px;
}

#section-news {
  margin-bottom: 60px;
}

#section-news h1 {
  margin-bottom: 60px;
}

#section-news .row-news {
  margin-bottom: 60px;
}

#section-news .row-news img.portrait {
  padding-left: 60px;
}

#section-documents {
  margin-bottom: 90px;
}

#section-documents .p--big {
  margin-bottom: 30px;
}

#section-affiches {
  margin-bottom: 60px;
}

#section-affiches .p--big {
  margin-bottom: 30px;
}

#section-affiches .partenaires-item {
  margin-bottom: 30px;
  padding: 15px 75px;
}

#section-logos {
  margin-bottom: 60px;
}

#section-logos .p--big {
  margin-bottom: 30px;
}

#section-logos .partenaires-item {
  margin-bottom: 30px;
  padding: 15px 30px;
}

#section-documents-2 {
  margin-bottom: 60px;
}

#section-documents-2 .p--big {
  margin-bottom: 30px;
}

#section-contacts {
  margin-bottom: 60px;
}

#section-contacts .contact-item {
  margin-bottom: 30px;
}

.credits-content {
  margin-bottom: 30px;
}

footer {
}

footer .image-container {
  height: 50vh;
  min-height: 375px;
}

.open-modal {
  cursor: pointer;
}

#modal-participation-etudiant-FR .modal-dialog,
#modal-participation-etudiant-EN .modal-dialog {
  background-color: #66f;
  color: white;
}

#modal-fiche-suivi-projet-FR .modal-dialog,
#modal-fiche-suivi-projet-EN .modal-dialog {
  background-color: #33f;
  color: white;
}

.modal-dialog {
  max-width: 1040px;
  padding: 60px 30px;
  border-radius: 60px;
  position: relative;
}

.modal-content {
  background-color: transparent;
  border: 0px solid rgba(0, 0, 0, 0.2);
}

.content-form {
  display: none;
}

.error-code {
  color: red;
  display: none;
}

.modal-backdrop {
  background-color: transparent;
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1001;
}

.close-modal span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: #fff;
  top: 50%;
  left: 0;
}

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

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

.logo-form {
  width: 150px;
}

.sticker-form {
  width: 110px;
  margin-left: auto;
}

.poster-form {
  width: 300px;
  margin: 0 auto;
  margin-bottom: 60px;
}

input:not([type:checkbox]),
button {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  appearance: none;
}

.wpcf7.js {
  margin-top: 60px;
  margin-bottom: 30px;
}

.wpcf7.js .p--big {
  margin-bottom: 20px;
}

label {
  margin-bottom: 5px;
}

#modal-fiche-suivi-projet-FR .modal-dialog label,
#modal-fiche-suivi-projet-EN .modal-dialog label {
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 10px;
}

input,
textarea {
  width: 100%;
  margin-bottom: 20px;
  border: none !important;
  padding: 5px;
}

body .wpcf7-not-valid-tip {
  margin-top: -10px;
  font-size: 12px;
  line-height: 12px;
  margin-bottom: 15px;
  color: orange;
}

body span.wpcf7-form-control-wrap[data-name='exclusive'] .wpcf7-not-valid-tip {
  margin-top: 0px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  box-shadow: none;
  border-color: inherit; /* facultatif, si tu veux garder la bordure existante */
}

.row-margin {
  margin-bottom: 15px;
}

input[type='submit'] {
  width: auto;
  background-color: transparent;
  border: none;
  color: white;
  font-size: 30px;
  line-height: 30px;
  margin-bottom: 10px;
  font-weight: 600;
  /*! margin-bottom: 30px; */
  cursor: pointer;
}

.wpcf7-spinner {
  display: none !important;
}

input[type='checkbox'] {
  width: 20px;
  height: 20px;
  border: none;
  margin-bottom: 0px;
}

body .wpcf7-list-item {
  margin: 0;
  margin-right: 15px;
  font-size: 30px;
}

body .wpcf7 form.sent .wpcf7-response-output {
  border: none;
  margin: 0;
  padding: 0;
  font-size: 30px;
  line-height: 36px;
  font-weight: 500;
  text-align: center;
}

body .wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0;
  border: 0px solid #00a0d2;
}

.mobile {
  display: none !important;
}

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

  .mobile {
    display: block !important;
  }

  .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

  h1 {
    font-size: 35px;
    line-height: 40px;
  }

  .p--big,
  .p--big p {
    font-size: 20px;
    line-height: 28px;
  }

  p {
    font-size: 15px;
    line-height: 20px;
  }

  header .image-container {
    height: 75vh;
    position: relative;
    width: 100%;
    min-height: 900px;
  }

  header .logo-header {
    padding: 0px;
    width: 33vw;
    height: auto;
    margin: 30px auto;
  }

  .header-text {
    position: absolute;
    z-index: 100;
    top: 120px;
    transform: translateX(-50%);
    color: white;
  }

  .header-text p {
    text-align: center;
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 15px 0px;
  }

  .header-text--left {
    left: 50%;
    width: 75%;
    padding: 0;
  }

  .header-text--left p a,
  .header-text--left p a:hover {
    color: white !important;
  }

  .header-text--left p {
    font-size: 20px;
    line-height: 28px;
  }

  .header-text--right {
    margin-bottom: 0;
    padding: 0;
    top: unset;
    bottom: 30px;
    left: 50%;
    width: 75%;
  }

  .header-text--right p {
    font-size: 24px;
    line-height: 32px;
    border-color: blue;
  }

  .header-text--right p.english {
    color: white;
  }

  .header-text--right p:first-child {
    color: blue;
    border-bottom: 0px;
  }

  #section-1 .poster {
    width: 80vw;
    margin: 60px auto;
  }

  #section-1 .sticker {
    position: absolute;
    width: 15vw;
    right: 15vw;
    top: 5vh;
    right: 1rem;
    transform: translate(0%, 0%);
  }

  .multi-columns {
    -webkit-column-count: 1;
    -mox-column-count: 1;
    column-count: 1;
    text-align: center;
  }

  .multi-columns .multi-columns-item {
    position: relative;
    break-inside: avoid;
    margin-bottom: 30px;
  }

  #section-partenaires .partenaires-item {
    margin-bottom: 30px;
    padding: 0px;
  }

  #section-affiches .partenaires-item {
    margin-bottom: 30px;
    padding: 0px 15px;
  }

  .modal-dialog {
    max-width: 1040px;
    padding: 60px 15px;
    border-radius: 60px;
    position: relative;
  }

  .logo-form {
    width: 80px;
    margin-bottom: 30px;
  }

  .sticker-form {
    width: 60px;
    position: absolute;
    top: 0;
    right: 15px;
  }

  .poster-form {
    width: 300px;
    margin: 0 auto;
    margin-bottom: 60px;
  }

  .close-modal {
    top: 22.5px;
    right: unset;
    transform: translate(-50%);
    left: 50%;
  }

  .close-modal span {
    height: 1px;
  }

  label {
    font-size: 16px;
  }

  input,
  textarea {
    width: 100%;
    margin-bottom: 15px;
    border: none !important;
    padding: 5px;
  }

  input[type='submit'] {
    font-size: 20px;
    line-height: 20px;
  }
}
