/* Fonts */

@import url('https://fonts.googleapis.com/css2?family=Sen:wght@400;500;600;700;800&display=swap');

@font-face {
    font-family: 'LarkenBlack';
    src: url('../fonts/LarkenDEMO-Black.otf');
}
@font-face {
    font-family: 'LarkenBlackItalic';
    src: url('../fonts/LarkenDEMO-BlackItalic.otf');
}
@font-face {
    font-family: 'LarkenBold';
    src: url('../fonts/LarkenDEMO-Bold.otf');
}
@font-face {
    font-family: 'LarkenBoldItalic';
    src: url('../fonts/LarkenDEMO-BoldItalic.otf');
}
@font-face {
    font-family: 'LarkenExtraBold';
    src: url('../fonts/LarkenDEMO-ExtraBold.otf');
}
@font-face {
    font-family: 'LarkenExtraBoldItalic';
    src: url('../fonts/LarkenDEMO-ExtraBoldItalic.otf');
}
@font-face {
    font-family: 'LarkenItalic';
    src: url('../fonts/LarkenDEMO-Italic.otf');
}
@font-face {
    font-family: 'LarkenLight';
    src: url('../fonts/LarkenDEMO-Light.otf');
}
@font-face {
    font-family: 'LarkenLightItalic';
    src: url('../fonts/LarkenDEMO-LightItalic.otf');
}
@font-face {
    font-family: 'LarkenMedium';
    src: url('../fonts/LarkenDEMO-Medium.otf');
}
@font-face {
    font-family: 'LarkenMediumItalic';
    src: url('../fonts/LarkenDEMO-MediumItalic.otf');
}
@font-face {
    font-family: 'LarkenRegular';
    src: url('../fonts/LarkenDEMO-Regular.otf');
}
@font-face {
    font-family: 'LarkenThin';
    src: url('../fonts/LarkenDEMO-Thin.otf');
}
@font-face {
    font-family: 'LarkenThinItalic';
    src: url('../fonts/LarkenDEMO-ThinItalic.otf');
}


/* Général */	
   
html {
	height: 100%;
	box-sizing: border-box;
}

body {
	font-family: 'Sen', sans-serif;
	color: #000;
	height: 100%;
	font-size: 18px;
	text-align: justify;
	margin: 0;
	line-height: 1.3;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}
	
p {
	margin: 0 0 1em;
}

ul {
	margin: 0;
	padding: 0 1em;
}

.app {
	background: linear-gradient(#cfebfb, #faf9f3);
	height: 100%;
}

.clear {
	clear: both;
}

.hide {
	display: none;
}

.nomargin {
	margin: 0 !important;
}


/* Titres */

h1, h2 {
	font-family: 'LarkenExtraBold';
	margin: 0;
}
h1 {
	font-size: 1.4em;
}
h2 {
	font-size: 1.2em;
	margin-bottom: 0.5em;
}

h2:not(:first-child) {
	margin-top: 3em;
}

h3 {
	margin: 0;
}

h3:not(:first-child) {
	margin-top: 1em;
}

h4 {
	font-size: 1.1em;
	margin: 0 0 1em;
}

h4:not(:first-child) {
	margin-top: 2em;
}


/* Liens */

a,
a:active,
a:link,
a:visited,
a:hover {
	color: inherit;
	text-decoration: none;
}

.disabled {
	pointer-events: none;
	opacity: 0.2;
	filter: grayscale(0.5);
}

.clickable {
	border-bottom: 1px dotted #0e293d80;
	cursor: pointer;
}


/* Boutons */

.btn {
	font-family: 'Sen', sans-serif;
	font-size: inherit;
	color: #fff !important;
	background: #0e293d;
	border-radius: 50px;
	border: none;
	outline: none;
	cursor: pointer;
	display: block;
	padding: 0.4em 2.5em;
	margin: 0.8em auto 0.5em;
	text-align: center;
	width: fit-content;
}


/* Formulaires */

input, select, textarea {
	font-family: 'Sen', sans-serif;
	border: 1px solid #ffffff30;
	padding: 0.6em 0.8em;
	color: #000;
	outline: 0;
	font-size: 0.9em;
	margin: 0 0 1.3em 0;
	width: 100%;
	box-sizing: border-box;
	border: 2px solid #0e293d;
	border-radius: 50px;
}

textarea {
	height: 300px;
	border-radius: 20px;
}

.textarea_staff {
	background: url(../images/herminevss.png), #fff;
	background-size: auto 40%;
	background-repeat: no-repeat;
	background-position: bottom right;
	text-shadow: 0 0 2px #fff, 0 0 5px #fff, 0 0 8px #fff, 0 0 10px #fff;
}

select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url('../images/index.svg') !important;
	background-repeat: no-repeat, repeat !important;
	background-position: right .7em top 50%, 0 0 !important;
	background-size: .65em auto, 100% !important;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
	border: 2px solid #f28b2d;
}

input[type="checkbox"] {
	width: 1.2em;
	height: 1.2em;
	transform: translateY(3px);
	margin-right: 0.5em;
}

input[type="checkbox"]:checked {
  accent-color: #000;
}

button:disabled {
	opacity: 0.2;
	filter: grayscale(0.5);
}

.pnotif {
	margin: -0.5em 0 1.3em;
}

.pnotif_empty {
	margin: 0;
	height: 0px;
}


/* Pages et sections */

#monfestival_up {
	color: #0e293d;
	height: 14%;
	padding: 1.2em 1em;
	box-sizing: border-box;
}

#monfestival_up div:first-child {
	float: left;
	width: calc(100% - 5.1em - 1.6em);
}

#monfestival_up div:first-child p {
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
	font-size: 0.9em;
	position: absolute;
}

#monfestival_up div:nth-child(2) {
	float: right;
	padding-top: 0.3em;
}

#monfestival_up div:nth-child(2) a {
	display: block;
	width: 1.2em;
	height: 1.2em;
	margin-left: 0.5em;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	float: left;
}

#monfestival_up div:nth-child(2) .accueil.off {
	background: url('../images/icone_accueil_off.png');
}

#monfestival_up div:nth-child(2) .accueil {
	background: url('../images/icone_accueil.png');
}

#monfestival_up div:nth-child(2) .rs.off {
	background: url('../images/icone_rs_off.png');
}

#monfestival_up div:nth-child(2) .rs {
	background: url('../images/icone_rs.png');
}

#monfestival_up div:nth-child(2) .reglages.off {
	background: url('../images/icone_reglages_off.png');
}

#monfestival_up div:nth-child(2) .reglages {
	background: url('../images/icone_reglages.png');
}

#monfestival_content .chargement {
	width: 100%;
	height: 5px;
	border: 1px solid #0e293d1f;
	box-sizing: border-box;
}

#monfestival_content .chargementinner {
	background: #0e293d1f;
    width: 0;
    height: 100%;
}

#monfestival_content {
	height: calc(100% - 14% - 10%);
	padding: 0 1em 3em;
	box-sizing: border-box;
	overflow-y: scroll;
}

#monfestival_content .avatar {
	width: 135px;
	height: 150px;
	margin: 0 auto 1em;
	background: url('../../images/avatars/noavatar.png'), #d7edf9;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	-webkit-clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
	clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
}

#monfestival_content .contacts_avatar {
    background: #f28b2d;
    border-radius: 10px;
    padding: 0.8em 0.5em;
	margin-top: 2em;
}

#monfestival_content .contacts_avatar div:nth-child(5n + 4) {
	margin-left: calc((100vw - 6em) / 6 + 0.5em);
}

#monfestival_content .avatars {
	width: calc((100vw - 6em) / 3);
	height: calc((100vw - 6em) / 3 * 1.1);
	margin: -0.2em 0.5em;
	float: left;
	background: url('../../images/avatars/noavatar.png');
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	-webkit-clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
	clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
}

#monfestival_content .flt_svg {
    visibility: hidden; 
    position: absolute;
    width: 0px;
    height: 0px;
}

#monfestival_content .avatar_parent {
    filter: url('#flt_tag') drop-shadow(0 6px 1px #00000030);
}

#monfestival_content .input_rs {
    height: 200px;
}

#monfestival_content .qrcode {
    margin: 0 auto;
    display: block;
    width: 10em;
	border-radius: 10px;
}

#monfestival_content .rs {
	font-family: 'LarkenExtraBold';
	display: inline-block;
	text-align: center;
	padding: 1.8em 0.8em;
	margin: 1em 0.5em 0;
	border-radius: 10px;
	float: left;
	width: calc(50% - 2.6em);
}

#monfestival_content .facebook {
	color: #fff;
	background: #0866ff;
}

#monfestival_content .x {
	color: #fff;
	background: #000;
}

#monfestival_content .discord {
	color: #fff;
	background: #5865f2;
}

#monfestival_content .instagram {
	color: #fff;
	background: #dd2f6b;
}

#monfestival_content .mastodon {
	color: #fff;
	background: #5b4adf;
}

#monfestival_content .bluesky {
	color: #fff;
	background: #1185fe;
}

#monfestival_content .twitch {
	color: #fff;
	background: #9146ff;
}

#monfestival_content .rss {
	color: #fff;
	background: #ef8021;
}

#monfestival_content .liencode {
	font-size: 0.8em;
	width: fit-content;
	margin: 0 auto;
    display: block;
    margin-top: 1em;
}

#monfestival_content .accord {
	margin-top: 2em;
	font-size: 0.8em;
}

#monfestival_content .slidemenu {
	overflow-y: hidden;
    width: calc(100% - 2em);
    position: fixed;
	background: #d6edf9;
	padding: 0.2em 0 0.8em;
	white-space: nowrap;
	z-index: 1;
}

#monfestival_content .slidemenu::-webkit-scrollbar {
	display: none;
}

#monfestival_content .slidemenu a {
    border-radius: 10px;
    padding: 0.2em 0.5em;
	margin-right: 0.3em;
}

#monfestival_content .slidemenu a:last-child {
	margin-right: 0;
}

#monfestival_content .slidemenu.accueil a {
	background: #f28b2d;
}

#monfestival_content .slidemenu.festival a {
	background: #c1b1d7;
}

#monfestival_content .slidemenu.repas a {
	background: #b3e464;
}

#monfestival_content .slidemenu .select {
	color: #fff;
	background: #0e293d !important;
}

#monfestival_content #slidecontent {
	margin-top: 3em;
}

#monfestival_content #slidecontent h2 {
	font-size: 1.4em;
	margin-bottom: 1em;
}

#monfestival_content #slidecontent h2:not(:first-child) {
	margin-top: 1.5em;
}

#monfestival_content .accueil_favoris {
	background: #c1b1d7;
	border-radius: 10px;
	padding: 1em;
	box-sizing: border-box;
	font-size: 0.9em;
}

#monfestival_content .accueil_favoris .programme,
#monfestival_content #slidecontent .programme {
	text-align: left;
	padding: 0.03em 0;
}

#monfestival_content #slidecontent .programme .favoris {
	width: 1em;
	height: 1em;
	display: inline-block;
	margin: 0 0.3em -0.1em 0;
	background: url('../images/icone_favoris_off.png');
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_content #slidecontent .programme .favoris_on {
	background: url('../images/icone_favoris.png');
}

#monfestival_content #slidecontent .programme .encours::before {
	content: '';
	width: 0.8em;
	height: 0.8em;
	background: #c1b1d7;
	border-radius: 50%;
	display: inline-block;
	margin: 0 0 -0.05em;
}

#monfestival_content #slidecontent #popup_infos {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #00000040;
	padding: 1em;
	box-sizing: border-box;
	opacity: 0;
	z-index: -1;
	overflow: hidden;
	transition-duration: 0.8s;
}

#monfestival_content #slidecontent #popup_infos .infos_content {
	width: 85%;
	background: #fff;
	position: absolute;
	top: 0;
	right: 0;
	height: 90%;
	transform: translateX(100%);
	transition-duration: 0.8s;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up {
	height: 30%;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up .infos_up_container {
	background: #00000060;
	border-bottom: 1px solid #fff;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up .infos_up_container div {
	padding: 1em;
	box-sizing: border-box;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up .infos_up_container div:first-child {
	float: left;
	border-right: 1px solid #fff;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up .infos_up_container div .close {
	width: 1.5em;
	height: 1.5em;
	border-radius: 3px;
	float: left;
	background: url('../images/close.png'), #fff;
	background-size: 62%;
	background-repeat: no-repeat;
	background-position: center;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos_up .infos_up_container div p {
	font-family: 'LarkenBold';
	color: #fff;
	text-align: left;
	text-shadow: 0 0 0.3em #000;
	margin: 0.2em 0 0;
	padding-left: 0.4em;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	-webkit-box-orient: vertical;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos {
	padding: 1em;
	box-sizing: border-box;
	max-height: 70%;
	font-size: 0.9em;
	overflow: auto;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos a {
    padding: 0.3em 0;
    display: inline-block;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos.contact a:not(.btn) {
	font-weight: bold;
}

#monfestival_content .framevideo {
    width: 100%;
	height: 400px;
}

#monfestival_content .framemap {
    width: 100%;
	height: 300px;
}

#monfestival_content .inputfile {
	display: none;
}

#monfestival_content .inputfile + label {
	width: calc(50% - 0.5em);
	border-radius: 10px;
	height: 4em;
	float: left;
	background-size: auto 60% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_content .inputfile[name="camera"] + label {
	background: url('../images/camera.png'), #0e293d;
	margin-right: 0.5em;
}

#monfestival_content .inputfile[name="fichier"] + label {
	background: url('../images/fichier.png'), #0e293d;
	margin-left: 0.5em;
}

#monfestival_content .apercu_photo,
#monfestival_content .apercu_photo_direct {
	width: 100%;
	height: 0;
	opacity: 0;
	margin-top: calc(1em + 5px);
	padding-bottom: 0.5em;
	border-radius: 10px;
	box-sizing: border-box;
	transition-duration: 0.3s;
	background-size: 10px 10px;
	background-image: repeating-linear-gradient(45deg, #c2c2c220 0, #c2c2c220 3px, transparent 0, transparent 50%);
	position: relative;
	z-index: -1;
}

#monfestival_content .apercu_on,
#monfestival_content .apercu_photo_direct {
	height: auto;
	opacity: 1;
	position: relative;
	z-index: 0;
}

#monfestival_content .apercu {
	width: 85%;
	margin: 0 auto;
	display: block;
	transform: translate(-5px, -5px);
	box-shadow: 10px 10px 0 #c2c2c245;
}

#monfestival_content .apercu_direct {
	width: calc(100% - 10px);
	height: 200px;
	margin: 0 auto;
	display: block;
	transform: translateY(10px);
	transition-duration: 0.3s;
	background-size:  auto 100% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_content .direct_total {
	text-align: center;
	margin-top: 1em;
}

#monfestival_content .prec {
	float: left;
	margin-left: 3em;
}

#monfestival_content .suiv {
	float: right;
	margin-right: 3em;
}

#monfestival_content .p_creditphoto {
    font-size: 0.9em;
	text-align: center;
	margin: 1em auto 0.3em;
}

#monfestival_content .input_creditphoto {
    width: 155px;
    margin: 0 auto;
    display: block;
    font-size: 0.9em;
    text-align: center;
    padding: 0.4em;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos .p_creditphoto_slide {
	font-size: 1em;
    text-align: left;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos .input_creditphoto_slide {
	font-size: 1em;
    margin: 0;
}

#monfestival_content #slidecontent #popup_infos .infos_content .infos .renom,
#monfestival_content #slidecontent #popup_infos .infos_content .infos .suppr,
#monfestival_content #slidecontent #popup_infos .infos_content .infos .down,
#monfestival_content #slidecontent #popup_infos .infos_content .infos.contact a.btn  {
	width: 155px;
    display: block;
    margin: 0.8em 0;
}

#monfestival_content #mesphotos {
	margin-top: 2em;
}

#monfestival_content .mesphotos {
	background: #ff7d7e;
	border-radius: 10px;
	padding: 0.5em;
}

#monfestival_content .mesphotos a {
    width: fit-content;
	margin: 0;
	padding: 0;
}

#monfestival_content .mesphotos .photo {
    width: calc(50% - 1em);
	height: 25vw;
    margin: 0.5em;
	float: left;
	background-size: cover !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_content .framephotos {
    width: 100%;
	height: 250px;
	border: 0;
}

#monfestival_content .suivifinancement {
    width: 100%;
    border: 1px solid #333;
    box-sizing: border-box;
    height: 30px;
    border-radius: 15px;
    margin-top: 0.5em;
    background: repeating-linear-gradient(-45deg, #fff, #fff 10px, #f6f6f6 10px, #f6f6f6 20px);
}

#monfestival_content .financement_legende {
    width: 30px;
    height: 20px;
    margin: 0 0.3em 0.5em 0;
    float: left;
}

#monfestival_content .alerte_envoyer {
	width: 100%;
	height: 5em;
	margin-bottom: 1em;
	padding: 1em;
	border-radius: 10px;
	float: left;
	color: #fff;
	text-align: right;
	box-sizing: border-box;
	position: relative;
	text-shadow: 0 0 2px #0E293D, 0 0 5px #0E293D, 0 0 8px #0E293D, 0 0 10px #0E2945;
	border: 2px solid transparent;
	background-size: auto calc(100% + 4px) !important;
	background-repeat: no-repeat !important;
	background-position: -4px center !important;
	transition-duration: 0.3s;
}

#monfestival_content .alerte_envoyer span {
	position: relative;
}

#monfestival_content .alerte_envoyer::before {
	content: '';
	width: calc(100% + 0.2em);
	height: calc(100% + 0.2em);
	position: absolute;
	top: -0.1em;
	left: -0.1em;
	border-radius: 10px;
	z-index: 0;
	transition-duration: 0.3s;
}

#monfestival_content .alerte_envoyer.entreep {
	background: url('../../images/lieux/entreep.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.fictions {
	background: url('../../images/lieux/fictions.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.repos {
	background: url('../../images/lieux/repos.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.bar {
	background: url('../../images/lieux/bar.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.wc {
	background: url('../../images/lieux/wc.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.scene {
	background: url('../../images/lieux/scene.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.atelier {
	background: url('../../images/lieux/atelier.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.buffet {
	background: url('../../images/lieux/buffet.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.sortiea {
	background: url('../../images/lieux/sortiea.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.pelouse {
	background: url('../../images/lieux/pelouse.png'), #0E293D;
}

#monfestival_content .alerte_envoyer.alerte1::before {
	background: #f55f5533;
}

#monfestival_content .alerte_envoyer.alerte2::before {
	background: #f55f5566;
}

#monfestival_content .alerte_desactivee {
   opacity: 0.5;
   pointer-events: none;
}

#monfestival_content .alerte_recue {
	background: #f55 !important;
	text-align: center;
	text-shadow: unset;
	pointer-events: none;
}

#monfestival_content .alerte_recue::before {
	display: none !important;
}

#monfestival_content .faq_question {
    background: #0000000d;
    padding: 0.8em;
	font-size: 1.1em;
}

#monfestival_content .faq_reponse {
    height: 0;
	opacity: 0;
	position: relative;
	z-index: -1;
	background: #fff;
	padding: 0.8em;
	margin-bottom: -1.6em;
	overflow: hidden;
	transition-duration: 0.3s;
}

#monfestival_content .faq_reponse_on {
    height: auto;
	opacity: 1;
	position: relative;
	z-index: 0;
	margin-bottom: 0;
}

#monfestival_bottom {
	background: #fff;
	width: 100%;
	height: 10%;
	position: absolute;
	bottom: 0;
	z-index: 1;
}

#monfestival_bottom a {
	display: block;
	width: 20%;
	height: 100%;
	float: left;
	background-size: auto 55% !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
}

#monfestival_bottom .festival {
	background: url('../images/icone_festival.png'), #f4f8fa;
}

#monfestival_bottom .repas {
	background: url('../images/icone_repas.png'), #f4f8fa;
}

#monfestival_bottom .photo {
	background: url('../images/icone_photo.png'), #f4f8fa;
}

#monfestival_bottom .don {
	background: url('../images/icone_don.png'), #f4f8fa;
}

#monfestival_bottom .aide {
	background: url('../images/icone_aide.png'), #f4f8fa;
}

#monfestival_bottom .off {
	background-color: #fff;
	filter: grayscale(100%);
	opacity: 0.8;
}

	@media (orientation: landscape) {
		
		#monfestival_up {
			height: 27%;
		}
		
		#monfestival_content {
			height: calc(100% - 27% - 20%);
		}
		
		#monfestival_content .contacts_avatar div:nth-child(9n + 6) {
			margin-left: calc((100vw - 8em) / 10 + 0.5em);
		}
		
		#monfestival_content .avatars {
			width: calc((100vw - 8em) / 5);
			height: calc((100vw - 8em) / 5 * 1.1);
		}
		
		#monfestival_content .slidemenu {
			background: #ddf0f8;
		}
		
		#monfestival_content #slidecontent #popup_infos .infos_content {
			height: 80%;
		}
		
		#monfestival_content #slidecontent #popup_infos .infos_content .infos {
			max-height: 70%;
		}
		
		#monfestival_content .framemap {
			height: 150px;
		}
		
		#monfestival_content .mesphotos .photo {
			width: calc((100% / 3) - 1em);
			height: 18vw;
		}
		
		#monfestival_bottom {
			height: 20%;
		}

	}
	
	@media (max-width: 350px) {
		
		h1 {
			font-size: 1.2em;
		}
		
	}