:root {
	--violet: #662483;
  	--orange: #ec6408;
  	--tuquoise: #6ebac4;
  	--blanc: #ffffff;
  	--default: #000000;
}

/* TITLE */
@font-face {
	font-family: "AristaProBold-trial";
  	src:
    	url("../fonts/title/arista_pro/Arista-Pro-Bold-trial.ttf"), local("../fonts/title/arista_pro/Arista-Pro-Bold-trial.ttf");
  	/*font-weight: bold;*/
}

@font-face {
	font-family: "AristaProLight-trial";
  	src:
    	url("../fonts/title/arista_pro/Arista-Pro-Light-trial.ttf"), local("../fonts/title/arista_pro/Arista-Pro-Bold-trial.ttf");
  	/*font-weight: bold;*/
}


/* TEXT */

@font-face {
 	font-family: "CalibriBold";
  	src:
    	url("../fonts/text/calibri-font/Calibri-Bold.ttf"), local("../fonts/text/calibri-font/Calibri-Bold.ttf");
}

@font-face {
 	font-family: "CalibriRegular";
  	src:
    	url("../fonts/text/calibri-font/Calibri-Regular.ttf"), local("../fonts/text/calibri-font/Calibri-Regular.ttf");
}

@font-face {
  	font-family: "CalibriItalic";
  	src:
    	url("../fonts/text/calibri-font/Calibri-Italic.ttf"), local("../fonts/text/calibri-font/Calibri-Italic.ttf");
}

body{
	font-family: CalibriRegular;
	font-size: 16px;
	color:var(--default);
	counter-reset: section;
}

pre{
	font-style: italic;
	font-family: inherit;
	font-size: 0.8em;
}



/* FORM */
h2 + div, h2 + label, h2 + input{
	margin-top:10px;
}

form.form input[type="submit"]{
	width:200px;
	background-color: var(--orange);
	padding:10px;
	color: white;
	text-transform: uppercase;
	margin-top:30px;
}

form.form input[type="text"], form.form textarea{
	width:60%;
}

form.form select{
	width:63%;
	background-color: #fff;
}

form.form input[type="text"], form.form select, form.form textarea{
	border:1px solid #999;
	padding:10px;
	color:#999999;
}

form.form div{
	margin-bottom:10px;
}

form.form cite{
}

hr{
	border:0px;
	border-top:1px dashed #37AAE1;
	padding:0px;
	margin:40px 0px 40px 0px;
}

p:has(+ul) {
    margin-bottom:1px;
}

h1{
	font-family: AristaProBold-trial;
	text-transform: uppercase;
	font-size: 2.5em;
	margin-bottom:15px;
	/*border: 1px solid greenyellow;*/
}
h2{
	font-size: 1.1em;
	font-family: CalibriRegular;
	font-weight: bold;
	margin-bottom:0px;
	/*border:1px solid red;*/
}


h3{
	font-size: 1.1em;
	font-family: CalibriRegular;
	margin-bottom:15px;
	margin-top:15px;
	/*border:1px solid blueviolet;*/
}
h4{
	font-size: 1em;
	font-family: CalibriRegular;
	margin-bottom:2px;
	margin-top:15px;
	/*border:1px solid yellowgreen;*/
}

h5{
	/*border:1px solid orange;*/
}

h1, h2, pre{
	color: var(--violet);
}

h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p{
	margin-top:2px;
}
h3 + ul, h3 + ol{
	margin-top:2px;
}



h1 + h1{
	font-family: AristaProLight-trial;
	text-transform: uppercase;
	font-size: 2.4em;
	margin-bottom:15px;
	margin-top:-12px;
}

h2 + table{
	margin-top:15px;
}

ul, ol{
	margin:0px;
	padding:0px;
}


body.ecole ol li{
	/*color:var(--orange);*/
	
	font-weight: bold;
}


ol.asterix{
	padding: 0 2em;
}

ol.asterix li{
	color:var(--default) !important;
	position: relative;
	margin-bottom: .5em;
	list-style:none;
	/*
	margin-left: 0px !important;
	padding-left:0px !important;
	font-weight: normal !important;
	
	*/
}
ol.asterix li:before{
	content: "\00A0";
	position: absolute;
  	left: -3em;
}
ol.asterix li:nth-child(1):before {
   content: "*";
}

ol.asterix li:nth-child(2):before {
   content: "**" 
}
ol.asterix li:nth-child(3):before {
   content: "***" 
}
ol.asterix li:nth-child(4):before {
   content: "****" 
}

table{
	width:100%;
	border:1px solid white;
}

table tr{
	font-size: 0.8em;

}
table tr:not(:first-child) td.rose {
	background-color: #fcded8;
}

body.ecole table tr:first-child {
	background-image: url("../img/bandeau02b.jpg");
	background-size: 100%;
}

body.cours table tr:first-child {
	background-image: url("../img/bandeau03b.png");
	background-size: 100%;
}

table tr:first-child td:first-child{
	color: white; 
}

table tr:first-child td{
	font-weight: bold;
}

table tr:first-child td{
	vertical-align: top;
}

table tr td{
	border-bottom:1px solid #666;
	border-right:1px solid #666;
	padding:4px;
}
table tr td:last-child{
	border-right:0px solid #666;
}

table tr td > hr{
	margin:5px 0px 5px 0px;
}
table tr td > br{
	display: none;
}


main{
	padding-left:40px;
	padding-right:40px;
}

main li{
	margin-left:17px;
}
.menu li{
	margin-left:10px;
}

.violet{
	color: var(--violet);
}

.violet-not-bold{
	color: var(--violet);
	font-weight: normal !important;
}

.orange, .error{
	color: var(--orange);
}
.error{
	font-size: 14px;
}

.success{
	color: var(--orange);
	font-weight: normal;
}
.fa{
	line-height: 14px;
}

#modal{
	position:relative;
}
.modal{
	position: absolute;
	right: 2px;
	top:2px;
	text-align: right;
	background-color: rgba(255, 255, 255, 0.8);;
	padding: 0px 15px 0px 15px;
	font-weight: bold;
}

a:link, a:visited, a:active{
	color: var(--orange);
	text-decoration: none;
}

a.retour{
	font-family: Calibri, sans-serif;
	font-weight: normal;
	text-transform: uppercase;
	font-size: 0.9em;
}

a[href^="tel:"]{
	color:inherit;
}
footer a[href^="mailto:"]{
	color:inherit;
}
a.icon-pdf{
	display:block;
	background-image: url("../img/iconpdf.jpg");
	background-repeat: no-repeat;
	background-position: left middle;
	background-size: 30px;
	padding-left: 35px;
	line-height: 35px;

}

.row-cours{
	border:1px solid red;
}
.flexrow img{
	max-width: 227px;
}
.flexrow figcaption p{
	margin-top: 3px;
	margin-bottom: 3px;
}


.flexrow{
	display: flex;
	flex-direction: row;
/*	justify-content: space-between; */
}
.flexrow div{
	flex: 0 1 33%;
	padding:4%;
}

.flexrow div:first-child{
	padding-left: 0px;
}
.flexrow div:last-child{
	padding-right: 0px;
}



img.responsive{
	width: 100%;
  height: auto;
}

figure{
	padding:0px;
	margin:0px;
}
header, body{
	max-width:768px;
	padding-left:20px;
	padding-right:20px;
	margin:auto;
}
header{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	margin-top:50px;
	margin-bottom:10px;
}
header .left{
	/*border:0px solid green;*/
	flex: 0 0 150px;
}
header .left img, div.section img{
	width: 100%;
}

header .right{
	/*border:3px solid blue;*/
	flex: 0 1 500px;

	border-left: 1px solid rgba(255, 255, 255, 0.15);
}

footer{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 0.8em;
	color: var(--blanc);
	
	padding:15px;
	margin-top:50px;
	margin-bottom:20px;

	background-size: 100%;
	background-repeat: repeat-y;
	background-position: left top;
}
footer div{
	flex-grow: 1;
	flex-shrink: 1;
	padding:10px;
}

footer .footer-4{
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}
footer .footer-4 a{
	flex-grow: 1;
	flex-shrink: 1;
}
footer .footer-4 a img{
	width: 30px;
}

body.home footer{
	background-image: url("../img/bandeau01b.jpg");
}
body.ecole footer{
	background-image: url("../img/bandeau02b.jpg");
}
body.cours footer{
	background-image: url("../img/bandeau03b.jpg");
}
body.agenda footer{
	background-image: url("../img/bandeau04b.jpg");
}

#f-menu-horizontal nav ul li{
	text-align: right;
}
#f-menu-horizontal nav ul li div{
	/*border:1px solid red;*/
}
#f-menu-horizontal nav ul li div a{
	/*border:1px solid blue;*/
}
#f-menu-horizontal nav .level-2{
	text-align: left;
}


#f-menu-horizontal .menu,
#f-menu-horizontal .hamburger,
#f-menu-vertical .menu{
    background-color: #fff;

}


/* 2nd level background */
#f-menu-horizontal nav.hamburger.toggled-on,
#f-menu-horizontal nav ul li.hasChildren.active,
#f-menu-horizontal nav .hamburger-item, nav.menu .hamburger-item ul,
#f-menu-horizontal li.level-2,
#f-menu-vertical li.level-2,
#f-menu-vertical nav ul li.level-1.active > div a:nth-of-type(2){
    background: rgba(255, 255, 255, .7);
}

#f-menu-horizontal li.level-2.active a,
#f-menu-vertical li.level-2.active a{
	color: var(--orange);
	font-weight: bold;
}

#f-menu-horizontal li.level-2 div{
	margin-left:10px;
	margin-right:10px;
	padding-top:10px;
	padding-bottom:10px;
	border-bottom:1px dashed var(--violet);
}
#f-menu-horizontal li.level-2:last-child div{
	border-bottom:0px;
}
#f-menu-horizontal a{
	color: var(--violet);
}

#f-menu-horizontal nav.menu > ul > li.active > div > a{
	color: var(--orange);
}
#f-menu-horizontal nav.menu > ul > li > div > a{
	font-family: AristaProBold-trial;
	text-transform: uppercase;
	font-size: 1.5em;
}

#f-menu-horizontal nav ul li div
{
  padding: 5px;
}

img.picto{
	width: 40px;
	/*margin-left:20px;*/
}

#search{
	text-align: right;
	height: 40px;
}

.arrow-down{
	background: url(../img/fleche02b.jpg) center no-repeat, url(../img/dot-violet.png) center repeat-x;
	background-size: 100px, 1px;
  
	height: 80px;

	
}
.arrow-down .line{
	background-image: ;
	background-position: center; /* Center the image */
  	background-repeat: repeat-x; /* Do not repeat the image */
  	background-size:1px;
}

#hamburger{
	display: none;
}

button.slide-btn {
  background-color: inherit;
  border: 0px;
  cursor: pointer;
  margin-left: 2px;
}

button.slide-btn .icon-bar {
  margin-bottom: 8px;
  background-color: var(--violet);
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 1px;
}
button.slide-btn .icon-bar:last-child{
	margin-bottom:0px;
}

main{
	display:grid;
}
/*
.top {
	--offset: 200px; 
	position: sticky;
	bottom: 20px;

	place-self: end;
	margin-top: calc(100vh + var(--offset));
	display:inline-block;

	width:45px;
	aspect-ratio:1;
	background:var(--violet);
	border-radius:10px;
	height: 40px;
}
.top:before {
	content:"";
	position:absolute;
	inset:30%;
	transform:translateY(20%) rotate(-45deg);
	border-top:5px solid #fff;
	border-right:5px solid #fff;
}
*/

#accordion p{
	margin:0px;
}
#accordion h2 + div{
	margin-top:0px;

}
#accordion h2 {
	color:var(--orange);
	size: 1em;
	cursor: pointer;
}

#accordion h2:before {
	counter-increment: section;
  	content: counter(section) ". ";
  	color: var(--black);
}
