/* -------------------------------- 
Primary style
Normal = mobil
media 600px = tablet
media 110px = desktop
-------------------------------- */

.md-modal {
  backface-visibility: hidden;
  position: fixed;
  visibility: hidden;
  z-index: 2000;
}
.md-modal {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.md-maginter {padding-bottom: 100px;width: 90%;}

.md-overlay {
  background-color: #ebcddcdb;
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  visibility: hidden;
  width: 100%;
  z-index: 2;
}
.md-overlay {
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  transition: all 0.4s;
}
.md-show {
  visibility: visible;
  height: 100vh;
  top: 0;
  width: 98%;
  left: 0;
  max-width: 768px;
}
.md-show ~ .md-overlay {opacity: 1;visibility: visible;}
.md-show ~ .menu__item-link {color:#000;}
.md-top {
  border-bottom: 2px solid var(--color-menu-item-hover); /*c'est le #990033*/
  padding: 10px;
  height: 165px;
}
.md-top img {
  display: ruby;
  float: none;
  margin-right: 10px;
  max-width: 60px;
}
.md-top-logo {
  left: 0;
  min-width: 150px;
  position: relative !important;
}
.md-top h1 {
  color: #10214f;
  font-size: 135%;
  font-weight: bold;
  text-transform: uppercase;
}
.md-top h3 {
  float: right;
  bottom: -60px;
  text-align: right;
  width: 67%;
  color: var(--color-menu-item);
  text-transform: uppercase;
  font-weight: 100;
  font-size: 140%;
  position: relative;
}
.md-content {
  background-color: #cddff7;
  height: 95%;
  overflow-y: scroll;
  position: absolute;
  width: 97%;
  top: 15px;
  left: 20px;
  padding: 10px;
  font-family: 'Lato', sans-serif;
  border-radius: 25px;
  border: 1px solid #fff;
  box-shadow: -3px 3px 4px 4px rgba(0,0,0,0.4);
}
.md-content h3 {
  text-align: left;
  margin-bottom: 10px;
  padding-left: 30px;
}
.md-content p {
  line-height: 1.9rem;
  margin-bottom:20px;
  font-size:1.5rem;
}
.md-content li {
  list-style: circle;
  margin: 0 0 20px 25px;
  text-transform: uppercase;
}
.img-left {
  float: left;
  margin-left: -7px;
  margin-right: 30%;
  max-width: 70%;
}
.img-right {
  float: right;
  margin-left: 34%;
  margin-right: -9px;
  max-width: 70%;
}
.img-middle {
  display: block;
  margin: 0 auto;
  max-width: 80%;
}
.img-torta {
  float: left;
  margin: 3% 100% 3% -5%;
  max-width: 60%;
  transform: rotate(9deg);-webkit-transform:rotate(9deg);
}
.md-trigger {
  padding: 10px;
  margin-top: 10px;
}

/*-----el último modal es el Aviso Legal----*/
.avisolegal {
  background-color: #fff;
  height: inherit;
  padding: 20px 4%;
  text-align: justify;
  cursor: pointer;
}
.avisolegal h2 {color: #c90f50;font-size: 170%;}
.avisolegal h3 {font-size: 1.1em;padding: 20px;}
.avisolegal > img {display: none;}
.avisolegal img {margin: -6px 0 !important;width: 20px;}
.avisolegal > p {color: #000;margin: 10px 0;}
.avisolegal p:last-of-type {margin-bottom: 110px;}
.avisolegal b {display: block;padding: 40px 0 0;}

.modal-link {
  background-color: #cddff7;
  border: 2px solid #ebcddc;
  bottom: 20px;
  color: #000 !important;
  display: block;
  left: 11%;
  margin: 20px auto;
  padding: 5px 10px;
  text-align: center;
  width: 80%;
}
.modal-link:hover {
  background-color: #ebcddc;
  cursor: pointer;
  border: 2px solid #c90f50;
}

.step-modal span {mix-blend-mode: difference;}
.md-close {
  background-color: #cbc7c0;
  position: absolute;
  top: 3px; left: 4px;
  height: 35px; width: 35px;
  border-radius: 100%;
  border: 1px solid #FFF;
  z-index: 900;
}
.md-close svg {
  fill: #FFF;
  height: 30px;
  margin: 4px 0 0 0;
  width: 30px;
}
.md-close:hover svg {fill:#000;}


/* Effect 2: Slide from the right */
.md-effect-2 .md-content {
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  opacity: 0;
  -webkit-transition: transform 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  -moz-transition: transform 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
  transition: transform 0.3s cubic-bezier(0.25, 0.5, 0.5, 0.9);
}
.md-show.md-effect-2 .md-content {
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  transform: translateX(0);
  opacity: 1;
}
.md-liens ul {
  margin-bottom: 50px !important;
  margin-top: 10px !important;
}
.md-liens li {
  background-position: 0 3px;
  background-repeat: no-repeat;
  height: unset;
  list-style: outside none none;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 0 25px 0 30px;
}
.md-liens li {background-image: url("tic-verte.png");}

.footer-modal {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: medium none;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.footer-modal:hover {
  color: #990033;
  text-shadow: 1px 1px 5px #000;
}

.url-content {
  position: relative;
  margin: 0 auto 30px;
  left: 20%;
  display: inline-block;
}
  .url-content {
    border: 2px dotted #FFF;
    padding: 10px 5px;
    text-align: center;
    width: 60%;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: bold;
    background: #C90F50;
    color: #FFF;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,0.4);
    border-radius: 15px;
  }
.url-content:hover {
  background: #EBCDDC;
  color: #C90F50;
  letter-spacing: 5px;
}

/*.............pour mes notes de texte*/
bqc {font-variant:small-caps;}
yysup {
  font-size: 0.8em;
  letter-spacing: -5px;
  line-height: 0;
  position: relative;
  top: 8px;
  vertical-align: baseline;
}
sup {
  color: #007abc;
  font-family: arial;
  font-size: 0.8em;
  font-style: normal;
  position: relative;
  top: -0.35em;
  vertical-align: bottom;
}
.bloc-nota {
  font-size: 0.9rem !important;
  hyphens: none;
  line-height: 1.1em !important;
  text-align: left;
  border: 1px solid #007abc;
  background: #fff;
  padding: 10px;
}
.bloc-nota br {margin-bottom: 10px;}

nota:first-of-type::before {
  display: inline-block;
  width: 100%;
  content: "📌";
  font-size: 25px;
  text-align: right;
}
nota::before {content: " ";font-size:2em;padding-left: 10px;}
nota {
  color: #007abc;
  font-size: 1em;
  font-style: normal;
  margin-left: -10px;
}
nota::after {content: " ";padding-right: 2px;}

.stabylo {
    color: #000000;
    display: list-item;
    font-family: trebuchet ms,sans-serif;
    font-size: 1.2em !important;
    list-style-image: url("stabylo.png");
    list-style-position: inside;
    margin: 0 0 20px;
    text-shadow: 0 -4px 10px yellow, 0 4px 10px yellow, -4px 0 10px yellow, 4px 0 10px yellow, 9px 0 10px yellow;
  }
.nested-colon {font-weight: bold;}
/*.............*/

/* ------------------------------------------------TABLET-------------------------------- */
@media only screen and (min-width: 600px) {
/* .md-top h1 {font-size: 185%;}
 .md-modal {height: 75%;top: 45%;}
 .md-content {height: 80%;}
 .md-top img {float:left;}
 .img-torta {margin:5% 8% 2% -15%;}
 .md-close {right: -30px;}*/
}

/* ------------------------------------------------DESKTOP-------------------------------- */
@media only screen and (min-width: 1100px) {
  .md-top h1 {font-size: 200%;}
  /*.md-modal {height: 75%;top: 45%;}*/
  .img-left {margin-right:0;}
  .img-right {margin-left:0;}
  



}


/* -------------------------------- 
Javascript disabled
-------------------------------- */
.no-js .cbpage {
  position: static;
  visibility: visible;
  height: auto;
  background-color: #ebcddc;
}
.no-js .cbpage > * {
  opacity: 1;
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}