html {
	background-color:#F6F6F6;
}
a, button {
	cursor: pointer;
    text-decoration: none;
}

@font-face {
    font-family:'mangaba';
    src: url('Mangaba.ttf');
}

body {
	width: 80%;
    background-color: #fff;
	margin-top:0px;
    margin-left: auto;
    margin-right: auto;
	font-family: helvetica, arial, sans-serif;
	font-size:1rem;
}
@media only screen and (max-width : 768px) {
	body {
	width: 100%;
	}
}

body.module {
	width: 100%;
	background-color: #f8f8f8;
}

/* Bandeau d'un module */
.bandeaumodule {
	display:flex;
	align-items: center;
    background-color: #F49521;
    height: 50px;  
	padding-left:10px;
    text-align: left;
	color: #243C7E;
	font-family: "Century Gothic", "Avenir", "Segoe UI", Roboto, sans-serif;
	letter-spacing: -0.02em;
    font-size: 1.2rem;
	font-weight: bold;
}
@media only screen and (max-width : 768px) {
	.bandeaumodule {
	font-size: 1rem;
	height:40;
    padding-left: 5px;
	}
}

.barnav {
	display:flex;
	margin-top:10px;
	margin-left:1%;
	margin-right:1%;
}
.barnav.acti {
	justify-content: space-between;
}
.barnav.video {
	justify-content: flex-end;
	margin-top:5px;
	margin-bottom:5px;
}

.barrecas {
	display:flex;
	flex-direction: row;
}

.barrecas .btn-info, button.bouton {
    background-color: #29c8b8;
    border-color: #29c8b8;
    color: #243C7E;
	font-family: "Century Gothic", "Avenir", "Segoe UI", Roboto, sans-serif;
	letter-spacing: -0.02em;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 10px;
    border: 0px;
    padding: 5px;
}

.barrecas i {
	font-size:20px;
	color:#243C7E;
	padding:5px;
}
.barrecas button.bouton.icone {
    padding: 8px;
} 
.barrecas .btn-info:hover, button.bouton:hover, .barrecas i:hover {
	background-color: #ABEDE6;
}

/* Info-bulle new */
.infobul {
    position: relative;
    color: #000;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
	border-radius: 20px;
}
.infobul span.infobultext {
    visibility: hidden;
    top:10px; left:-90px; width:100px;
	background-color:#b4efe9;
	color:#777;
	font-size:1rem;
	text-align: center;
	font-weight:bold;
	padding:5px;
	border-radius: 20px;
    position: absolute;
    z-index: 25;
}
.gauche.infobul span.infobultext {
	left:5px;
	top:30px;
}

.infobul:hover span.infobultext {
    visibility: visible;
}

/*Gestion de la barre footer */
.footer {
	display:flex;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
	color:#243C7E;
    font-size: 0.8rem;
    margin-top: 50px;
    margin-bottom: 0px;
	text-align:center;
	background-color:#b4efe9;
	padding-top:40px;
	padding-bottom:40px;
	border-top: 0px;
    border-bottom: 0px;
	margin-top:100px;
}
.footer div, div.footer a {
	cursor: pointer;
	color:#243C7E;
	font-family: "Century Gothic", "Avenir", "Segoe UI", Roboto, sans-serif;
	letter-spacing: -0.02em;
	font-weight:600;
	text-transform: uppercase;
	padding-left:30px;
	padding-right:30px;	
}
@media only screen and (max-width: 900px) {
	.footer {
	display:block;
	}
	.footer div {
		padding-left: 10px;
		padding-right: 10px;
		padding-top:10px;
		padding-bottom:10px;
	}
}

span.texte1, p.texte1 {
font-weight:bold;
color:#1a7d73;
font-size:1rem;
}
span.texte2, p.texte2 {
font-weight:bold;
color:#1b8278;
font-size:1rem;
}

/* Gestion des modales du cas */
div.mamodale {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
	z-index:1100;
	visibility:hidden;
}
	
.modal-open {
  overflow: hidden;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  outline: 0;
}

.modal-content {
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border-radius: 20px;
  padding-left:10px;
  padding-right:10px;
  padding-top:10px;
  padding-bottom:10px;
}

.modal-body {
  position: relative;
  padding: 15px;
}
.modal-footer {
	padding-top:0;
	padding-bottom:10px;
  padding-right: 15px;
  text-align: right;
  border-top: 0px solid #e5e5e5;
}
.mamodale .modal-footer .btn-default,.btn-default {
    background-color: #F49521;
    border-color: #F49521;
    border-radius:15px;
	color:#243C7E;
    font-family: "Century Gothic", "Avenir", "Segoe UI", Roboto, sans-serif;
	letter-spacing: -0.02em;
	font-weight:600;
	padding: 3px 12px;
    margin-bottom: 0;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
}
.mamodale .modal-footer .btn-default:hover, .btn-default:hover {
	background-color: #f2c6a2;
	border-color: #f2c6a2;
}

.modal-dialog {
  position: relative;
  /*width: 90%; */
  margin: 10px;
}

@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 30px auto;
  }
}
@media (min-width: 992px) {
  .modal-lg {
    width: 900px;
  }
}

#quitter_quiz .modal-content {
	text-align:center;
}

.modal-dialog.croixclose {
	position:relative;
    z-index: 800;
	top: 40px;
	cursor: pointer;
    overflow: hidden!important;
}
@media (min-width: 768px) {
  .modal-dialog.croixclose {
    top: 55px;
  }
}

/* Modales lexique et PCG */
.lexique .modal-dialog {
    max-height: 300px;
    overflow: auto;
	/*border: 1px solid #777;*/
}
.lexique .modal-dialog.croixclose {
	border: 0px solid #777;
}
.lexique .modal-content {
    background-color:#eefbfa;
}

/* Bouton Quitter le quiz ou le cas */
.quitte .btn-info {
    background-color: #F49521;
    border-color: #F49521;
    color: #243C7E;
	border-radius: 20px;
    font-size: 1rem;
    font-weight: bold;
    margin-right: 10px;
	border:0px;
	padding:10px;
}
.quitte .btn-info:hover {
	background-color: #f2c6a2;
}

/* Masque */
#masque {
    position: fixed;
    top:0; right:0; bottom:0; left:0;
    background-color: black;
    opacity: 0.05;
    z-index: 1000;
	display:none;
}
