body { 
    margin: 0;
    font-family: "Palatino", "URW Palladio L", serif;
    letter-spacing: .05rem;
    color:#333;
}

.cadre {
    position:relative;
        font-size: 0.7em;
     width: 100vw;
}
.cadre img {
    height: 100%;
    width:100%;
    object-fit: cover;
}

.cadre h1 {
    padding-left: 10px;
    padding-top: 10px;
    margin:0px;
}
.cadre h2 {
    padding-left: 0.6em;
    margin:0px;
}

.cadre p {
    padding: 1em;
    margin:0px;
}

.blockfenetre{
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.blockfenetre1{
    display: none;
}
.fenetre{
    position:relative;
    width: 66%;
    height: 34%;
     border-top: 2px solid black;
  border-right: 2px solid black;
    border-bottom: 2px solid black;
}
.porte{
    display: inline-block;
    position: fixed;
    width: 30%;
    height: 100vh;
     border-bottom: 2px solid black;
  border-left: 2px solid black;;
}
.texte1{
    display: inline-block;
    width: 66%;
    height: 66%;
    background: white;   
}
.container {
    display: flex;
    height: inherit;
     align-items: center;
    justify-content: center;
}
.containerflex {
    height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}

.texte1 p{
    max-width: 600px;
}
.texte2{
    display: inline-block;
    width: 66%;
}
.texte2 p {
    display:table-cell;
    
}
.galerie20{
    padding: 1em;
    right:0;
    bottom:0;
}

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

@media screen and (min-width: 600px) {
.cadre {
    position:fixed;
    width: 100vw;
    height: 100vh;
    font-size: 1em;
}
cadre h1 {
    padding-left: 1.5em;
    padding-top: 10px;
}

.cadre p {

}

.blockfenetre{
    display: inline-block;
    width: 50%;
    height: 100%;
    padding: 0;
    margin: 0;
}
    .blockfenetre1{
    display: inline-block;
    width: 50%;
    height: 100%;
    padding: 0;
    margin: 0
}
.fenetre{
    position:absolute;
    left:-2px;
    bottom:-4px;
    width: 66%;
    height: 34%;
}
.porte{
    position: absolute;
   right:0;
    top:0;
    width: 34%;
    height: 66%;
}
.texte1{
    position: relative;
    display: block;
    width: 66%;
}
    .texte1 h1{
        font-family: Arial, sans-serif;
        color:#93837F;
	text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
    }
.texte2{
    position:absolute;
    right:0;
    bottom:0;
    width: 34%;
    height: 34%;
    display:table;
}
.texte2 p {
    display:table-cell;
    text-align: center;
    vertical-align: bottom;
    
}
.galerie20{
    position:absolute;
    padding: 1em;
    right:0;
    bottom:0;
}

}
