body { 
    margin: 0;
    font-family: Tate regular,Arial,"Helvetica Neue",Helvetica,sans-serif;
    letter-spacing: .05rem;
    color:#333;
}

.header{
    
    
}

.topnav {
  overflow: hidden;
  background-color: white;

margin-left: 10px;
}

.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

.topnav a:hover {
  background-color: #ddd;
  color: black;
}

.topnav a.active {
  background-color: gainsboro;
  color: white;
}

.topnav .icon {
  display: none;
}


.cadre {
    position:relative;
    padding-top: 20px;
        font-size: 1em;
    letter-spacing: 0.11em;
    font-weight: normal;
    max-width: 720px;
    margin:auto;
}

h1{
        font-size: 1.25em;
    line-height: 1em;
    text-align: center;
    font-weight: normal;
    margin:5px;
    padding-bottom: 10px;
}
 h2{
        font-size: 2em;
    line-height: 1em;
    text-align: center;
    font-weight: normal;
     margin:5px;
     padding-bottom: 30px;
}
.cadre p{
    text-align: center;
}

.ap h1 {
    text-align: left;
    font-weight: bold;
    padding-left: 8px;
    padding-top: 20px;
}

.ap p {
    text-align: left;
    padding-left: 16px;
    font-family: Arial, Helvetica, sans-serif;
      letter-spacing: normal;
    line-height: 1.5em;
}

.imggarde{
    width:65%;
        margin:auto;
        position: relative;
}
.imggarde:hover{
    
    opacity: 0.8;
    
}

.textimg {
    position: absolute;  
    left: 50%;  
    z-index: -1;
    top: 50%;                          
    transform: translate(-50%, -50%);
    color:white;
    font-weight: bold;
    font-size: 2em;
    text-shadow: 2px 2px 2px #000;
    transition: .5s ease;
}
.imggarde:hover .textimg
{
    z-index: 2;
}

input[type=text], select {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 100%;
  background-color: #4CAF50;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

input[type=submit]:hover {
  background-color: #45a049;
}

.post{
   padding-left: 16px; 
}


/*******************************MODAL*/
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 40px;
  left: 0;
  top: 0;
  height: 100%;
    width: 100%;
  overflow: auto;
  background-color: black;
    box-sizing: border-box;
}



.portrait {
  display: block;
  margin:0 auto;
}

.paysage {
  display: block;
  margin:0 auto;
}

.textemodal{
    position: absolute;
    color: white;
    display: flex;
    height: 100%;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.textemodal p {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding: 3em;
    max-width: 600px;
}

/* Modal Content */
.modal-content {
  position: relative;
  /*background-color: #fefefe;*/
  margin: auto;
  padding: 0;
  width: 90%;
  height: inherit;
  max-width: 1200px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
    z-index: 1;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.mySlides {
  display: none;
    height: inherit;
}

.cursor {
  cursor: pointer;
}
.cursor a{
text-decoration:none;
color:white;
}
/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.next a{
text-decoration:none;
color:white;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}



.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}


@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a {display: none;}
  .topnav a.icon {
    float: left;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive .icon {
    position: absolute;
    left: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
.cadre {
    position:relative;
    padding-top: 0px;
        font-size: 1em;
    letter-spacing: 0.11em;
    font-weight: normal;
}

h1{
        font-size: 1.25em;
    line-height: 1em;
    text-align: center;
    font-weight: normal;
    margin:5px;
    padding-bottom: 10px;
}
 h2{
        font-size: 2em;
    line-height: 1em;
    text-align: center;
    font-weight: normal;
     margin:5px;
}

    .imggarde{
    width:85%;
    padding-top: 30px;
        margin:auto;
}
}

