/* @override
	http://uternel.local/css/form_urne_animaux.min.css
	http://uternel.local/css/form_urne_animaux.css
	http://uternel.local/css/form_urne_demo.css
	http://uternel.local/css/form_urne_demo.css?* */



/* @group FONTES */
/* @font-face kit by Fonts2u (http://www.fonts2u.com) */
@font-face {font-family:"Augustus";
	src:url("fonts/Augustus/AUGUSTUS.eot?") format("embedded-opentype"),
		url("fonts/Augustus/AUGUSTUS.woff") format("woff"),
		url("fonts/Augustus/AUGUSTUS.ttf") format("truetype"),
		url("fonts/Augustus/AUGUSTUS.svg#Augustus") format("svg");
	font-weight:normal;
	font-style:normal;
	font-display: swap;
}
.fonte_t5 {
	font-family: 'Augustus', serif;
}

/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on April 6, 2018 */
@font-face {
    font-family: 'galatia_silregular';
    src: url('fonts/galatia/galsilr-webfont.woff2') format('woff2'),
         url('fonts/galatia/galsilr-webfont.woff') format('woff'),
         url('fonts/galatia/galsilr-webfont.svg#galatia_silregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
.fonte_t4 {
	font-family: 'Times New Roman', 'galatia_silregular', serif;
}

/* Font downloaded from FontsForWeb.com */
@font-face {
	font-family: 'LCALLIG';
	font-display: swap;
	src: url('fonts/LCALLIG/LCALLIG.eot?') format("embedded-opentype"),
		 url('fonts/LCALLIG/LCALLIG.woff') format('woff'),
		 url('fonts/LCALLIG/LCALLIG.ttf') format('truetype');
}
.fonte_t2 {
	font-family: 'LCALLIG', serif;
}

/* @end */


/* @group BT_PERSO_TYPO et SELECTEUR_TYPO */

.selecteur_typo {
	display: inline-block;
	text-transform: none;
	border-style: solid;
	border-width: 1px;
	color: #ae9b68;
	padding: 0;
	font-size: 12px;
	position: absolute;
	box-sizing: border-box;
	left: 10px;
}
.selecteur_typo * ,.selecteur_typo * :before,.selecteur_typo * :after {
    box-sizing: inherit;
}
.selecteur_typo:hover {
	cursor: pointer;
}
.selecteur_typo div {
	height: 32px;
	line-height: 20px;
	max-height: 0px;
	overflow: hidden;
	transition: all .2s linear 0s;
	padding: 0 32px 0 9px;
	box-sizing: border-box;
	vertical-align: ;
}
.selecteur_typo div:hover {
	background-color: #f3f0ea;
}
.selecteur_typo div.selected,
.selecteur_typo.active div {
	max-height: 32px;
	padding: 7px 32px 6px 9px;
}
.selecteur_typo.select-style:after {
    top: 16px;
}
.select_hidden {
	visibility: hidden;
}
/* @end */




/* @group PERSONNALISATION */

#motifs {
	position: relative;
	padding: 10px;
	background-color: #202426;
	z-index: 10;
	margin-top: 15px;
	border: 1px solid #ccc;
}
.light_mode #motifs {
	background-color: #fff;
}
#motifs img {
	display: block;
	margin: 3px;
}
#motifs span {
	display: inline-block;
	margin: 10px;
	border: 1px solid #202426;
}
#motifs span:hover , #motifs .selected {
	border: 1px solid #6e6e6e;
	box-shadow: 0 0 18px #000000;
	background-color: #2a2e31;
	cursor: pointer;
}
light_mode #motifs span:hover , .light_mode #motifs .selected {
	border: 1px solid #AE9B68;
	box-shadow: 0 0 10px #AE9B68;
	background-color: #AE9B68;
}
#motifs span[data-id="aucun motif"] {
	width: 136px;
	position: relative;
}
#motifs span[data-id="aucun motif"] em {
	color: red;
	display: block;
	position: absolute;
	right: 15px;
	top: 18px;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	letter-spacing: 0;
}
.aide_choix {
	font-size: 14px;
	vertical-align:top;
}
.aide_choix:hover {
	cursor: pointer;
}


.label_small {
	font-size: 14px;
	margin-bottom: 3px;
	display: inline-block;
	text-align: left;
	margin-top: 7px;
	color: #7C99BB;
}
.light_mode .label_small {
	color: #AE9B68;
}
.lignes input[type="text"] {
	background-color: #222527 !important;
	display: inline-block !important;
	width: 70% !important;
	margin: 0 10px 15px 0 !important;
	/*border: 1px solid white !important;*/
	color: #fff !important;
	padding: 8px 10px !important;
	font: 16px "Raleway", sans-serif !important;
	font-weight: 300;
}
.light_mode .lignes input[type="text"] {
	/*background-color: #ebe7db !important;*/
	background-color: #f3f0ea !important;
	color: #AE9B68!important;
}
/* @end */



#sim img {
	display: block;
	border: 0;
}

.zone_sim {
	position: -webkit-sticky;
	position: sticky;
}


#sim {
	position: relative;
	width: 80%;

/*	max-height: 90vh;
	overflow: scroll;*/
	margin-right: auto;
	margin-left: auto;
}
#sim.gm {
	margin-top: -30%;
}
#sim.pm {
	margin-top: -50%;
}

#sim_img {
	display: block;
	width: 100%;
	height: auto;
}

#sim_img img {
	width: 100%;
	height: auto;
}
#sim_light_mode {
	position: absolute;
	top: 0;
}
#sim_light_mode .img_cache_h {
	top: 0;
	position: absolute;
}
#sim_light_mode::after {
	content: "";
	position: absolute;
	left: -2px;
	top: 0;
	width: 4 px;
	height: 100%;
	background-color: white;
}


#sim_plaque {
	position: absolute;
	width: 100%;
	left: 0;
	top: 76.25%;
}
#sim_plaque img {

	width: 100%;
	height: auto;
}

#sim_overlay {
	position: absolute;
	top: 0;
	left: 0;
	/*background-color: rgba(255, 0, 0, 0.09);*/
	text-align: center;

	/*background-color: rgba(255, 0, 0, 0.24);*/

}
#sim_motif {
	opacity: 0.8;
}
#sim_motif, #sim_photo {
	-webkit-transition: bottom 0.3s ease-in-out 0s;
	transition: bottom 0.3s ease-in-out 0s;
	bottom: 30%;
}
#sim_motif img, #sim_photo img{
	margin: 0 auto;
	width: 77%;
	position: relative;
}

/*#sim_overlay.photo_seule #sim_photo
#sim_overlay.photo_seule #sim_photo img*/

#sim_txt {
	font-size: 18px;
	color: #3e3e3e;
	text-shadow: -2px 0 1px #ffffff;
	/*Lissage firefox*/

	/*text-rendering: auto*/
	/*text-rendering: optimizeLegibility;*/
	/*text-rendering: geometricPrecision;*/
	text-rendering: optimizeSpeed
}
#sim_txt span {
	text-align: center;
	display: block;
}

.color-brun #sim_txt {
	text-shadow: none;
}


/* MODE GRAVURE (général sur fond blanc) */
.gravure #sim_motif img {
	filter: invert(1) brightness(.90) drop-shadow( 1px 0px 0.5px #bbb) drop-shadow(-1px 0px 1px #fff) ;
}
.gravure #sim_txt {
	color: #dad9d6;
}

/* MODE GRAVURE SUR FOND FONCE Comme brun */
.gravure.color-brun #sim_motif img {
	filter: invert(0)  drop-shadow( 1px 0px 0.5px #dad9d6) drop-shadow(-1px 0px 1px #fff) ;
}
.gravure.color-brun #sim_motif {
	opacity: .6;
}
.gravure.color-brun #sim_txt {
	color: #442f29;
	text-shadow: none;
}

/*#sim_ligne_1, #sim_ligne_2, #sim_ligne_3 {
	display: block;
}*/
/*masque les trois dernières lignes*/
/*#sim_ligne_4, #sim_ligne_5, #sim_ligne_6 {
	display: block;
}*/

/* @end */





/* @group CHOIX PERSONNALISATION */

/* Affichage différents suivant le mode choisis*/
/* par defaut : motif uniquement*/



#sim_txt,
#sim_photo { display: none; }

/* @group MOTIF SEUL */
/*#sim_overlay.motif_seul #sim_motif {
	position: absolute;
	width: 100%;
	bottom: 10%;
}
#sim_overlay.motif_seul #sim_motif img {
	margin: 0 auto;
	width: 80%;
	position: relative;
}*/

/* cas general pour la millenium */
#sim_overlay.motif_seul #sim_motif {
	bottom: 30%;
}
/* cas specifique pour la medium */
.ref-U_MEDIUM #sim_overlay.motif_seul #sim_motif {
	bottom: 30%;
}


/* @end */


/* @group MOTIF + TEXTE 3 lignes */
#sim_overlay.motif_texte #sim_txt{
	display: block;
}
/* MODE PM OU GM (GM par defaut) */
.pm #sim_overlay.motif_texte #sim_motif img {
	margin: 0 auto;
	width: 60%;
	position: relative;
}

.pm #sim_overlay.motif_texte #sim_motif img{
	margin: 0 auto;
	width: 40%;
	position: relative;
}
.pm #sim_overlay.motif_texte #sim_motif {
	position: absolute;
	width: 100%;
	bottom: 21%;
}
#sim_overlay.motif_texte #sim_txt {
	display: block;
}
.pm #sim_overlay.motif_texte #sim_txt {
	bottom: 3.5%;
}

/* @end */



/* @group TEXTE SEUL 6 lignes */

#sim_overlay.texte_seul #sim_motif,
#sim_overlay.texte_seul #sim_photo {
	display: none;
}
/* @end */




/* @group PHOTO SEULE */
#sim_overlay.photo_seule #sim_motif,
#sim_overlay.photo_seule #sim_txt {
	display: none;
}
#sim_overlay.photo_seule #sim_photo {
	display: block;
	/*position: absolute;
	width: 100%;
	bottom: 12%;*/
	opacity: .9;
	mix-blend-mode: multiply;
	/*bottom: 5%; position basse */
}
/*#sim_overlay.photo_seule #sim_photo img {
	margin: 0 auto;
	width: 78%;
	height: auto;
	position: relative;
}*/

/* cas specifique pour la medium si impression */
.ref-U_MEDIUM #sim_overlay.photo_seule #sim_photo {
	bottom: 30%;
}

/* @end */


/* @group PHOTO + TEXTE 3 lignes */
#sim_overlay.photo_texte #sim_photo {
	display: block;
	/*position: absolute;
	width: 100%;
	bottom: 48%;*/
	mix-blend-mode: multiply;
}

.pm #sim_overlay.photo_texte #sim_photo {
	position: absolute;
	width: 100%;
	bottom: 21%;
}
.pm #sim_overlay.photo_texte #sim_photo img{
	margin: 0 auto;
	width: 40%;
	position: relative;
}
#sim_overlay.photo_texte #sim_txt {
	display: block;
}
.pm #sim_overlay.photo_texte #sim_txt {
	bottom: 3.5%;
}
#sim_overlay.photo_texte #sim_motif {
	display: none;
}
/*#sim_overlay.photo_texte #sim_photo img{
	margin: 0 auto;
	width: 40%;
	position: relative;
}*/
/* @end */


/* @end */



/* @group UPLOAD WITH CROPPIE */

#upload_zone {
	position: fixed;
	top: -100vh;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: #292d31;
	padding-top: 20px;
	z-index: 1000;
	-webkit-transition: top 0.5s ease-in-out 0s;
	transition: top 0.5s ease-in-out 0s;
}
#upload_zone.visible {
	top: 0;
}
#croppie_droppie {
	margin-top: 0;
	height: 50vh;
}
#upload_zone .close {
	position: absolute;
	left: 30px;
	top: 20px;
	font-size: 30px;
}
@media (max-width:768px) {
	#upload_zone .close {
		left: 20px;
	}
}
@media (max-width:480px) {
	#upload_zone .close {
		top: 15px;
	}
}
/* @end */


/* @group TRANSFORMATION 3D DISPONIBLE */
#sim.has3d  {
	-webkit-perspective-origin: 60% 40%;
	perspective-origin: 60% 40%;
	-webkit-perspective: 3600px;
	perspective: 3600px;
	/*transform: scale(1);*/
}
.has3d #sim_overlay {
	margin-left: 1.2%;
	height: 75%;
	margin-top: 8%;
	-webkit-transform-style: preserve-3d; /* Safari 3-8  */
	transform-style: preserve-3d;
	-webkit-transform: rotateY(-34deg); /* Safari 3-8  */
	transform: rotateY(-34deg);
	width: 61.5%;
}
.has3d #sim_txt {
	position: absolute;
	width: 100%;
	bottom: 9.5%;
	/*bottom: 50%;*/
	font-size: 23px;
	line-height: 32px;
}

.has3d #sim_motif,.has3d #sim_photo {
	position: absolute;
	width: 100%;
}


/* @end */



/* @group TRANSFORMATION 3D PAS DISPONIBLE */


.not3d #sim_overlay {
	margin-left: 1.2%;
	height: 75%;
	margin-top: 8%;
	width: 61.5%;
}
.not3d #sim_txt {
	position: absolute;
	width: 100%;
	bottom: 9.5%;
	/*bottom: 50%;*/
	font-size: 23px;
	line-height: 32px; /* IE 9 */
	-webkit-transform: skewY(2.2deg); /* Safari */
	transform: skewY(2.2deg);
}

.not3d #sim_motif,
.not3d #sim_photo {
	position: absolute;
	width: 79%;
	left: 11%;
	height: 34%;
	-webkit-transform: skewY(2.7deg); /* Safari */
	transform: skewY(2.7deg);
}
.not3d #sim_motif img,
.not3d #sim_photo img {
	width: 78%;
	height: 100%;
}

/* @end */
.not3d.pm #sim_overlay.motif_texte #sim_motif,
.not3d.pm #sim_overlay.photo_texte #sim_photo {
	width: 79%;
	left: 11%;
	height: 18%;
	-webkit-transform: skewY(1.45deg); /* Safari */
	transform: skewY(1.45deg);
}
.not3d.pm #sim_overlay.motif_texte #sim_motif img,
.not3d.pm #sim_overlay.photo_texte #sim_photo img {
	height: 100%;
	width: 41.5%;
}
.not3d.gm #sim_overlay.motif_texte #sim_motif,
.not3d.gm #sim_overlay.photo_texte #sim_photo {
	-webkit-transform: skewY(0deg); /* Safari */
	transform: skewY(0deg);
}

/*
.not3d.pm #sim_overlay.photo_texte #sim_photo {
	width: 79%;
	height: 34%;
}
.not3d.pm #sim_overlay.photo_texte #sim_photo img{
	margin: 0 auto;
	width: 40%;
	position: relative;
}*/
