/* Container */
.modale {

/* Overlay page content */
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.5);
z-index: 10000;

/* Transition opacity on open */
-webkit-transition: opacity 500ms ease-in;
-moz-transition: opacity 500ms ease-in;
transition: opacity 500ms ease-in;

/* Hide for now */
opacity: 0;
pointer-events: none;
}

/* Show modal */
.modale:target {
opacity: 1;
pointer-events: auto;
/* at time of writing (Feb 2012), pointer-events not supported by Opera or IE */
}

/* Content */
.modale > div {
width: 600px;
background: #fff;
position: relative;
margin: 3% auto;

/* Default minimise animation */
-webkit-animation: minimise 500ms linear;
-moz-animation: minimise 500ms linear;

/* Prettify */
padding: 30px;
border-radius: 7px;
box-shadow: 0 3px 20px rgba(0,0,0,0.9);
background: #fff;
background: -moz-linear-gradient(#fff, #ccc);
background: -webkit-linear-gradient(#fff, #ccc);
background: -o-linear-gradient(#fff, #ccc);
text-shadow: 0 1px 0 #fff;
}

/* Override animation on modal open */
.modale:target > div {
-webkit-animation-name: bounce;
-moz-animation-name: bounce;
}

.modale h2 {
font-size: 30px;
font-weight:normal;
color: #ff9900;
text-shadow: 1px 1px 0 #F6F6F6, 2px 2px 0 #D6D6D6;
padding: 0 0 20px;
text-align:center;
}

.modale p {
  font-size:12px;
  color:#304711;
  text-align:justify;
}

@-webkit-keyframes bounce {
  0% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  	box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
  	-webkit-transform: scale3d(1.08,1.08,1);
  	box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
  	-webkit-transform: scale3d(0.95,0.95,1);
  	box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
  	-webkit-transform: scale3d(1,1,1);
  	box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-webkit-keyframes minimise {
  0% {
  	-webkit-transform: scale3d(1,1,1);
  }
  100% {
  	-webkit-transform: scale3d(0.1,0.1,1);
  }
}

@-moz-keyframes bounce {
  0% {
  	-moz-transform: scale3d(0.1,0.1,1);
  	box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
  55% {
  	-moz-transform: scale3d(1.08,1.08,1);
  	box-shadow: 0 10px 20px rgba(0,0,0,0);
  }
  75% {
  	-moz-transform: scale3d(0.95,0.95,1);
  	box-shadow: 0 0 20px rgba(0,0,0,0.9);
  }
  100% {
  	-moz-transform: scale3d(1,1,1);
  	box-shadow: 0 3px 20px rgba(0,0,0,0.9);
  }
}

@-moz-keyframes minimise {
  0% {
  	-moz-transform: scale3d(1,1,1);
  }
  100% {
  	-moz-transform: scale3d(0.1,0.1,1);
  }
}

/* Modal close link */
.modale a[href="#close"] {
position: absolute;
right: 0;
top: 0;
color: transparent;
}

/* Reset native styles */
.modale a[href="#close"]:focus {
outline: none;
}

/* Create close button */
.modale a[href="#close"]:after {
content: "\D7";
color:#fff;
display: block;

/* Position */
position: absolute;
right: -6px;
top: -10px;
width: 2em;
padding: 1px 1px 1px 2px;

/* Style */
text-decoration: none;
text-shadow: none;
text-align: center;
font-size: 18px;
font-weight: bold;
background: #000;
border: 3px solid #fff;
border-radius: 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modale a[href="#close"]:focus:after,
.modale a[href="#close"]:hover:after {
-webkit-transform: scale(1.1,1.1);
-moz-transform: scale(1.1,1.1);
}

.modale a[href="#close"]:focus:after {
/*outline: 1px solid #000;*/
}

/* Open modale */
a.openModale {
color:#304711;
margin: 1em auto;
display: block;
width: 200px;
background: #ccc;
text-align: center;
padding: 10px;
border-radius: 7px;
background: #fff;
background: -moz-linear-gradient(#fff, #ddd);
background: -webkit-linear-gradient(#fff, #ddd);
background: -o-linear-gradient(#fff, #ddd);
text-shadow: 0 1px 0 #fff;
border: 1px solid rgba(0,0,0,0.1);
box-shadow: 0 1px 1px rgba(0,0,0,0.3);
}

a.openModale:hover,
a.openModale:focus {

text-decoration:underline;
background: -moz-linear-gradient(#fff, #ccc);
background: -webkit-linear-gradient(#fff, #ccc);
background: -o-linear-gradient(#fff, #ccc);
}
.majcours {
  font-size: 14px;
  color:rgba(2,59,108,0.9);
  text-align: center;
  font-weight: 500;
  padding-top: 12px;
  user-select: none;
  position: relative;
}
@media screen and (max-width: 600px) {
  .majcours {
    font-size: 12px;
    padding-top: 15px;
  }
}