#postalwrapper {
	max-width: 100%;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	position: absolute;
	top: 0;
	left: 0;
}
#postalform {
	--postal-height:625px;
	width:fit-content;
	height:fit-content;
	--wp--style--global--content-size: 100%;
	position: relative;
	/**top: 50%;
	left:50%;
	transform: translate(-50%, -50%);**/
	box-shadow: 1px 3px 4px 0px #3d3d3d;
}
#flip {
	width:75px;
	height:75px;
	content:'';
	background-image: url("../assets/icons/arrow-rotate.svg");
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	right: 0;
	transform: translateX(50%);
}

.side {
	width:100%;
	height:100%;
}



/* ============= RECTO ============ */

#recto {
	display: flex;
	width: 1000px;
	height: var(--postal-height);
	background-image: url("../assets/images/postalcard.webp");
	background-size: contain;
	background-repeat: no-repeat;
}


#recto .left {
	height:100%;
	width: var(--postal-height);
}

#recto .right {
	position:relative;
	height:100%;
	width: calc(100% - var(--postal-height));
}

#recto .left img {
	height:100%;
}

#recto .infos {
	display: block;
	position: absolute;
	width: 87%;
	right: 5%;
	top: 41%;
}

#recto .infos .text,
#recto .infos .text *
 {
	font-family: dream-script;
	font-size: 20px;
	line-height: 2.6em;
	word-spacing: 3px;
}

#postalform .text.date {
	position:absolute;
	top:-50%;
	right:50%;
	
	width:125px;
	height:125px;
	background: url("../assets/images/oblit.png");
	background-size: cover;
	background-repeat: no-repeat;
}

#postalform .text.date input {
	border: 0;
	font-family: typedeer;
	font-size: 13px;
	height:100%;
	width:100%;
}

#postalform #genre {
	width:80px;
}

#postalform #nom {
	width:calc(100% - 125px);
}
#postalform input, #postalform textarea {
	background: transparent;
	padding: 0;
	height: 30px;
}

#postalform input, #postalform textarea {
	background: transparent;
	padding: 0;
	height: 30px;
}

#postalform #nom, #postalform #texte-perso {
	border:2px dotted grey;
}

#postalform #texte-perso {
	height: 260px;
	width:90%;
	overflow:hidden;
	resize:none;
}

/* ============= VERSO ============ */
#verso {
	position:absolute; 
	visibility: hidden; 
}

#verso {
	width: 1000px;
	height: var(--postal-height);
	background-image: url("../assets/images/washi.webp");
	background-size: cover;
	background-repeat: no-repeat;
}

#verso:before {
	content:'';
	position:absolute;
	width:100%;
	height:100%;
	background-color:rgba(0, 0, 0, 0.6);
}

#verso .main{
	box-sizing: border-box;
	width: 100%;
	height:90%;
	padding:20px;
}
#verso .infos{
	position:relative;
	z-index: 2;
	border-top: 2px dashed #ad9c63;
	width: 100%;
	height:40px;
	padding-top: 14px;
	padding-bottom: 14px;
}

.infos{
	text-align:center;
}
.infos .titre{
	font-size: 20px;
	color: #893437;
}
.infos .sous-titre{
	font-size: 18px;
	color: #555;
}
.infos .sous-titre{
	font-size: 18px;
	color: #555;
}

.citations .saison {
	margin-top:20%;
	display:none;
}

.cit-zone {
	z-index: 1;
	position: absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	height:100%;
	width:50%;
}

.citTxt {
	z-index: 4;
	color:white;
	font-size:20px;
	text-align: left;
	position:absolute;
	left:50%;
	top:50%;
	transform:translate(-50%,-50%);
	width:fit-content;
	visibility:hidden;
}

.citTxt .line {
	white-space: nowrap;
}

/* ============ LISTE DEROULANTE ================= */

    .dropdown {
	  text-align:right;
      position: relative;
      width: 100%;
	  z-index: 8;
    }

    .dropdown-button {
		padding: 10px;
		border: 1px solid transparent; /*#ccc;*/
		background-color: transparent; /*#f9f9f9;*/
		cursor: pointer;
		position: relative;
		left: 100%;
		transform: translateX(-100%);
    }
	
	.dropdown-button:after {
		content:'';
		background-image: url("../assets/icons/tri-arrow-down.svg");
		background-size: cover;
		background-repeat: no-repeat;
		width: 0.55em;
		height: 0.55em;
		display: inline-block;
		margin-left: 0.5em;
    }

    .dropdown-content {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      border: 1px solid #ccc;
      background-color: #fff;
      max-height: 160px; /* 4 items * 40px height/item */
      overflow-y: auto;
      display: none;
      z-index: 8;
    }

    .dropdown-content .titre {
      padding: 10px;
      height: 40px;
      box-sizing: border-box;
      cursor: pointer;
    }

    .dropdown-content .titre:hover {
      background-color: #eee;
    }

    .dropdown.open .dropdown-content {
      display: block;
    }