
body,html{
	position: absolute;
	height: auto !important;
	height: 100%;
	min-height: 100%;
	width: 100%;
	
	font-family: Mali, Arial, sans-serif;
	color: #333;
	background: #F2F3F3 url('page.png') repeat;
}


/* HTML5 tags*/
::-moz-selection{
	background: #a5f;
	color: #fff;
	text-shadow: none;
}
::selection{
    background: #a5f;
    color: #fff;
    text-shadow: none;
}

ul{
	padding: 0 5rem;
}

header h1{
	text-align: center;
	margin: 2.5rem 1rem;
	font-size: 3.5rem;
    color: rgba(51, 51, 51, 0.59);
    text-shadow: 1px 4px 6px #D2D2D2, 0 0 0 #000, 1px 4px 6px #D2D2D2;
	font-weight: bold;
}

#global{
	background: repeat-x right 18rem;
}

.nav-link.active{
	font-weight: bold;
}

#page{
	overflow: hidden;
	padding-bottom: 40px !important;
}
footer{
	text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
	position: absolute;
	width: 100%;
	bottom: 0;
}

.bandeau{
	padding: 30px 0;
}
.bandeau:nth-child(odd){
	background-color:rgb(0,0,0,.1);
}

#image{
	margin: 0 auto 2rem;
	border: 1px outset #DDD;
	width: 100%;
	max-width: 60rem;
	border-radius: 4px;
	display: block;
	box-shadow: 0 0 5px #FFF;
	position: relative;
}
#image img{
	width: 100%;
	display: block;
}


/* Admin : switch */
.form-check-input.form-control{
	width: 60px;
	height: 30px;
}
.form-check-input.form-control:checked{
    background-color: #a5f!important;
    border-color: #a5f;
}


/* Admin: suppr images*/
figure{
	position : relative;
}
figure button.delete {
	position: absolute;
	top: -8px;
	right: -8px;
}

/* participation */
#participe-pill{
	color: #008f75;
}
#participe-pill.active{
	color: white;
	background-color: #008f75;
}
#interet-pill{
	color: #bb59bd;
}
#interet-pill.active{
	color: white;
	background-color: #bb59bd;
}
#refuse-pill{
	color: #ca4d00;
}
#refuse-pill.active{
	color: white;
	background-color: #ca4d00;
}

/* Alerts */
.alert::before{
	font-family: "Font Awesome 5 Free";
    padding-right: 1.5rem;
	font-size: 3rem;
	vertical-align: middle;
}
.alert-danger::before{
	content: "\f057";
}
.alert-success::before{
	content: "\f058";
}

/* Panels */
.card{
	position: relative;
}
.card-header{
	cursor: pointer;
}
.card-header h2{
    padding: 0.5rem 0;
	font-size: 1.8em;
    margin: 0;
}
.card-header.collapsed{
	padding-right: 4.5rem;
}
.card-header.collapsed:after{
	font-family: "Font Awesome 5 Free";
    content: '\f067';
	font-weight: 900;
    position: absolute;
	font-size: 2rem;
    right: 1.5rem;
    top: 1rem;
}

/* Back to top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 18px;
    z-index: 9999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
	font-size: 30px;
    background: #343a40;
    color: #FFF;
    cursor: pointer;
    border: 0;
    border-radius: 3px;
    text-decoration: none;
    opacity: 0;
	
    -webkit-transition-duration: 1.2s;
    -moz-transition-duration: 1.2s;
    -o-transition-duration: 1.2s;
    transition-duration: 1.2s;

    -webkit-transition-property: -webkit-transform, opacity;
    -moz-transition-property: -moz-transform, opacity;
    -o-transition-property: -o-transform, opacity;
     transition-property: transform, opacity;
}
#back-to-top.show {
    opacity: 1;
	-webkit-transform:rotate(360deg);
    -moz-transform:rotate(360deg); 
    -o-transform:rotate(360deg);
	transform:rotate(360deg);
	box-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
#back-to-top.show:hover {
    box-shadow: 1px 1px 3px rgba(0,0,0,0.5) inset;
}

/* Pour mobile */
@media (max-width: 600px) {
	body{
		background-size: contain;
	}
	#image{
		width: 100%;
	}
}

/* Pour grand écran */
.embed-responsive{
	margin: 4px auto;
	max-width: 60rem;
}


/* code spécifique à un groupe */

@font-face {
    font-family: 'Mali';
    src: url('/fonts/Mali-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Mali';
    src: url('/fonts/Mali-Medium.ttf');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Mali';
    src: url('/fonts/Mali-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Mali';
    src: url('/fonts/Mali-Italic.ttf');
    font-weight: normal;
    font-style: italic;
}
@font-face {
    font-family: 'Mali';
    src: url('/fonts/Mali-MediumItalic.ttf');
    font-weight: 500;
    font-style: italic;
}
@font-face {
    font-family: 'Mali';
    src: url('font/Mali-BoldItalic.ttf');
    font-weight: bold;
    font-style: italic;
}

/*Page lieu*/
#events .vision{
	width: 120px;
	transition: transform .1s;
}
#events .vision:hover{
	-ms-transform: scale(1.5); /* IE 9 */
	-webkit-transform: scale(1.5); /* Safari 3-8 */
	transform: scale(1.5);
}