/*******************************************************************************************/

/* Utilisé pour obtenir un effet sticky sur l'entete de page */
/* l’entête reste en haut de la page et le reste défile dessous */

/*
#wpadminbar {
  position: sticky;
  top: 0px;
  z-index: 2147483647; 
}
*/

/*
a {
  color: red;
}
*/

/*
.container {
  width: 100% !important;
  border-radius: 20px;
  padding: 20px 40px 20px 40px;
  box-sizing: border-box;
  background: #d0d0d0;
  box-shadow: 10px 10px 20px #000000, -3px -3px 10px rgb(210, 210, 210);
}


.wp-block-contact-form-7-contact-form-selector {
  width: 100%; 
  border-radius: 20px;
  padding: 20px 40px 20px 40px;
  box-sizing: border-box;
  background: #d0d0d0;
  box-shadow: 10px 10px 20px #000000, -3px -3px 10px rgb(210, 210, 210);
  display: flex;
  justify-content: center;
  align-items: center;
}
*/

/*
.mg-menu {
  cursor: pointer;
  border-radius: 0px;
  height: 24px !important;
  width: 24px !important;
  img {
    filter: invert(0);
  }
}

.mg-menu:hover {
  img {
    filter: invert(1);
  }
}

.mg-login {
  cursor: pointer;
  border-radius: 0px;
  height: 24px !important;
  width: 24px !important;
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/key-svgrepo-com.svg");
  background-size: cover;
  img {
    display: none;
  }
  margin-right: 16px !important;
}

.mg-login:hover {
  filter: invert(1);
}

.mg-login.mg-logged {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/logout-white-svgrepo-com.svg");
}

.mg-login.mg-logged:hover {
  filter: invert(1);
}

.mg-lang {
  cursor: pointer;
  border-radius: 0px;
  height: 24px !important;
  width: 24px !important;
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/flag-for-france-svgrepo-com.svg");
  background-size: cover;
  img {
    display: none;
  }
  margin-right: 16px !important;
}

.mg-lang:hover {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/flag-for-united-kingdom-svgrepo-com.svg");
}

.mg-lang.mg-lang-en {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/flag-for-united-kingdom-svgrepo-com.svg");
}

.mg-lang.mg-lang-en:hover {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/flag-for-france-svgrepo-com.svg");
}

.mg-mode {
  cursor: pointer;
  border-radius: 0px;
  height: 24px !important;
  width: 24px !important;
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/dark-mode-night-moon-svgrepo-com.svg");
  background-size: cover;
  img {
    display: none;
  }
  margin-right: 16px !important;
}

.mg-mode:hover {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/light-svgrepo-com.svg");
}

.mg-mode.mg-mode-light {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/light-svgrepo-com.svg");
}

.mg-mode.mg-mode-light:hover {
  background-image: url("/wp-content/themes/twentytwentyfour-child/images/dark-mode-night-moon-svgrepo-com.svg");
}

*/

#mg-custom-logo {
  margin: 0px;
  width: 120px;
  background-color: transparent;
  background-image: url(img/dufour34-detoure2.png);
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 10px;
}

.brand-logo {
  height: 120px;
  width: 120px;
  margin: auto;
  padding: 0px;
  border-radius: 50%;
  background: #525252;
  box-shadow: 7px 7px 10px #757575, -7px -7px 10px white;
  display: flex;
  align-items: center;
  justify-content: center;
}

#brand-image {
  margin: 0px;
  height: 100px;
  width: 100px;
  background-color: transparent;
  background-image: url(img/dufour34-detoure1_carre.png);
  background-size: contain;
}

.brand-title {
  display: flex;
  justify-content: center;
  margin-top: 0px;
  font-weight: 900;
  font-size: 1.8rem;
  color: #585858;
  letter-spacing: 1px;
}

/*
.wpcf7-form label {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  margin-top: 10px;
  margin-bottom: 0px;
  color: black;
}

.wpcf7-text {
  padding-left: 10px;
  height: 30px;
}

.wpcf7-textarea {
  padding-top: 4px;
  padding-left: 10px;
  width: 100%;
  height: 100px;
  border-radius: 10px;
  resize: none;
}

.wpcf7-file {
  padding-top: 10px;
  padding-left: 10px;
  height: 30px;
}

.wpcf7-acceptance {
  height: 30px;
}

.wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit) {
  background: #ecf0f3;
  width: 100%;
  font-size: 16px;
  border-radius: 10px;
  box-shadow: inset 6px 6px 6px #848484, inset -6px -6px 6px white;
}
*/

.wp-block-navigation-item {
  /* color: white; */
  padding: 4px !important;
  background: #525252;
  height: 20px;
  /* width: 200px; */
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: 3px 3px 3px #717171, -3px -3px 3px rgb(105, 105, 105);
  transition: 0.5s;
}

.wp-block-navigation-item:hover {
  color: lightgreen !important;
  box-shadow: -3px -3px 3px #a7a7a7, 3px 3px 3px rgb(105, 105, 105);
  cursor: pointer;
}

.wp-block-navigation-item.clicked {
  color: lightgreen !important;
  box-shadow: -3px -3px 3px #a7a7a7, 3px 3px 3px rgb(105, 105, 105);
}

.wp-block-navigation-item.selected {
  color: yellow !important;
  position: relative;
  top: 1px;
}

.wpcf7-response-output {
  color: black;
}

.wpcf7 {
  width: 100% !important;
  border-radius: 20px;
  padding: 20px 40px 20px 40px;
  box-sizing: border-box;
  background: #d0d0d0;
  color: black;
  box-shadow: 10px 10px 20px #000000, -3px -3px 10px rgb(210, 210, 210);
  display: flex;
  flex-direction: column;
  /* justify-content: space-between; */ /* horizontal */
  /* align-items: space-between; */ /* vertical */
}

.mg-row {
  display: flex;
  flex-direction: row wrap;
  justify-content: space-between;
  align-content: space-between;
}

.mg-margin-top-10 {
  margin-top: 10px;
}

.mg-margin-top-20 {
  margin-top: 20px;
}

.mg-margin-bottom-10 {
  margin-bottom: 10px;
}

.mg-col {
  padding: 6px;
  border: 1px outset rgb(255, 255, 255);
  border-radius: 6px;
  /* cela permet d'aligner en bas lorsque container plus grand */
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Centers child vertically */
  align-content: space-between;
}

.mg-bottom {
  align-items: end; /* Centers child vertically */
}

.mg-right {
  text-align: right;
  margin-left: 40px;
}

.mg-middle {
  text-align: left;
  margin-left: 40px;
}

.mg-left {
  text-align: left;
}

.mg-grow {
  flex-grow: 1;
}

.mg-center {
  justify-content: center; /* Centers child horizontally */
  align-items: center; /* Centers child vertically */
}

.mg-center > p {
  text-align: center;
}

.wpcf7-form-control:not(.wpcf7-acceptance):not(.wpcf7-submit):not(
    .wpcf7-checkbox
  ):not(.wpcf7-radio) {
  box-sizing: border-box;
  width: 100%;
  background: #ecf0f3;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: inset 6px 6px 6px #848484, inset -6px -6px 6px white;
}

.mce-edit-area {
  box-sizing: border-box;
  width: 100%;
  background: #898989;
  font-size: 16px;
  border-radius: 5px;
  box-shadow: inset 6px 6px 6px #848484, inset -6px -6px 6px white;
}

/*
.wpcf7-form-control-wrap:not(.wpcf7-acceptance):not(.wpcf7-submit) {
  border-radius: 5px;
  box-shadow: inset 6px 6px 6px #848484, inset -6px -6px 6px white;
}
*/

.mg-link {
  color: darkblue;
  /* text-decoration-color: hotpink; */
}

.mg-link:hover {
  color: darkred;
  cursor: pointer;
  /* text-decoration-color: hotpink; */
}

input[type="checkbox"]:hover,
input[type="date"]:hover {
  cursor: pointer;
}

input[type="file"] {
  background: #ffffff;
  width: 100%;
}

.mg-multi {
  min-height: 150px;
  resize: vertical;
}

textarea {
  resize: vertical;
}

.wpcf7-text {
  padding-left: 10px;
  height: 32px;
}

.wpcf7-textarea {
  padding-left: 10px;
  height: 32px;
}

.wpcf7-date {
  padding-left: 10px;
  height: 32px;
}

.wpcf7-checkbox {
  height: 32px;
  width: 100%;
}

.wpcf7-radio {
  height: 32px;
  width: 100%;
}

.wpcf7-number {
  padding-left: 10px;
  height: 32px;
}

.wpcf7-file {
  padding-top: 6px;
  padding-left: 6px;
  height: 32px;
}

.wpcf7-acceptance {
  height: 30px;
}

.mg-col p {
  margin: 0px !important;
}

.wpcf7-submit {
  color: white;
  width: 200px;
  text-align: center; /* Centers text Horizontally */
  vertical-align: middle; /* Centers text Vertically */
  background: #525252;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 900;
  box-shadow: 5px 5px 5px #717171, -5px -5px 5px rgb(255, 255, 255);
  transition: 0.5s;
}

.wpcf7-submit:hover {
  box-shadow: none;
}

.wpcf7-submit:active {
  position: relative;
  top: 1px;
}

.mg-name-authors {
  font-size: small;
}

.mg-date-release {
  font-weight: 100;
}

.mg-publication-image img {
  object-fit: contain;
  max-height: 100%;
  max-width: 100%;
  vertical-align: middle;
  border-radius: 40px;
  cursor: zoom-in;
  box-shadow: 5px 5px 5px #000000, -3px -3px 3px rgb(47, 47, 47);
}

/*******************************************************************************************/
