*{
scroll-behavior : smooth;
  font-family : "Arial" !important;
  transition: all 0.3s;
}

.titre {
  font-family:"Arial" !important;
  font-weight: 600 !important;
  font-size:59px !important;
  color:#e2001a !important;
  text-align:right !important;
}

body {
    overflow-x : hidden;
}

body:not(.custom-background-image)::before{
 display : none;
}

body:after {
	display: none !important;
}

body, html {
  height:100%
}

h1 {
display : none; 
}

header > div > div > a > img {
width : auto;
height : 100px;
}

#page {
margin : 0;
}

.site-inner {
	max-width : 100vw;
}

/*pour le menu*/

header > div > div > a > img {
    width: auto;
    height: 100px;
    margin-left: 4vw;
}

.main-navigation li {
	padding: 0 2vw;
}

#masthead {
  background-color : transparent;
	padding: 0;
	margin-bottom: 10%;
}

#masthead:after {
	content: '';
	width: 60vw;
	height: 3px;
	background-color: red;
	display: block;
	position: absolute;
	right: 0;
}

.site-header-main {
	background-color: #f5f9fb;
}
/*-----------*/

/*pour la page de garde*/

#SMLHtitre {
  white-space:nowrap;
}

#fleche {
  transform : scale(0.25);
  display:inline;
}

#bienvenue {
  line-height:1;
}

#bienvenue, #flecheBienvenue {
  margin:0;
  text-align: center;
}

.elementor-column-wrap {
  padding-left:0 !important;
  padding-right:0 !important;
}

#image {
  background-image:url("/pedago/mmi/smlh21/wp-content/themes/twentysixteen/bourgogne.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height:100vh;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat (2, 1fr);
  position: relative;
}

#prestigeSolidarite {
  grid-column:1;
  grid-row:1 / 3;
  color: #e2001a;
  font-size:10vw;
  text-align: right;
  margin:0;
}

#texteDroiteAccueil {
  color: white;
  font-size:2.4vw;
  align-content:center;
  margin:0;
}

/*--------------------*/

/*pour la page membre*/
#membreH2 {
	margin-top: -10vh;
  font-size : 32px;
	color : red;
  width : 100%;
  text-align : center;
}

#membreH2:after {
  content: '';
	width: 140%;
	height: 3px;
	background-color: red;
	display: block;
	margin: 5% 0 0 -20%;
}

#formulaire:after {
  content: '';
	width: 100%;
	height: 3px;
	background-color: red;
	display: block;
}

#formulaire {
	background-color : white;
	display: -ms-grid;
	display: grid;
	-ms-grid-rows: 1fr;
	grid-template-rows: 1fr;
    position : sticky;
	top : 0;
	padding-top : 5vh;
}

#formulaire input[type="text"] {
	-ms-grid-row: 1;
	grid-row: 1;
	  border-radius : 25px;
}

#formulaire input[type="submit"]{
  color : red;
		position: absolute;
	right: 0;
		-ms-grid-row: 1;
		grid-row: 1;
	border-radius : 0 25px 25px 0;
	background-color: #e9eef1;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	transition: all .5s;
}

#formulaire input[type="submit"]:hover{
  color : white;
	background-color: red;
}

#tri {
	color: #e2001a;
	display: grid;
	grid-template-rows: 25% 50%;
	grid-template-columns: repeat(8, 1fr);
  }

#tri input {
	width: 10%;
	grid-row: 2;
}

#tri label {
	grid-row: 2;
	color: black;
	margin: auto;
	padding-right : 5%;
}

#tri p:first-of-type {
	grid-row: 1;
	grid-column: 1/5;	
	text-align: center;
}

#tri p:nth-of-type(2) {
	grid-row: 1;
	grid-column: 5/9;
	text-align: center;
}

#php {
	display: -ms-grid;
	display: grid;
	-ms-grid-rows: auto;
	    grid-template-rows: auto;
	-ms-grid-columns: 1fr 1fr;
	    grid-template-columns: 1fr 1fr;
	grid-column-gap: 5vw;
}

.fiche {
	background-color : lightgrey;
  border-radius : 25px;
	min-height: 30vh;
	margin-bottom: 5vh;
}

.fiche:nth-of-type(1),.fiche:nth-of-type(2) {
	margin-top : 5vh;
}

.fiche:nth-of-type(even){

}

.fiche p {
  width: 100%;
}

.fiche p:first-of-type {
	padding-top: 15px;
  text-align: center;
	color: red;
}

.fiche p:nth-of-type(2) {
  text-align: center;
	margin-top : -30px;
}

.fiche > p:nth-of-type(2):after {
  content: '';
	width: 60%;
	height: 1px;
	background-color: red;
	display: block;
	margin: 1% 0 0 20%;
}

.fiche p:nth-of-type(3) {
  text-align: center;
	padding: 0 20px 0 20px;
}

.fiche p:nth-of-type(4) {
  text-align: center;
	padding: 0 20px 0 20px;
}

@media screen and (orientation: portrait){
		#php {
	-ms-grid-columns: 1fr;
	    grid-template-columns: 1fr;
	grid-column-gap: 5vw;
}
}
/*-------------------*/

/*PAGE CONTACT*/

#contact h2 {
	position: absolute;
	right: -10vw;
	top: -10vh;
	font-size: 48px;
  color:#e9eef1;
}

#contact input {
	height: 5vh;
  transition: all 0.3s;
}

#contact input[type=submit] {
	background-color: #e9eef1;
  color:#e2001a;
  border: solid 1px red;
}

#contact input[type=submit]:hover {
	background-color: red;
  color: white;
}

#contact span:last-of-type {
	color: red;
}

#contact form {
	display: grid;
	grid-template-rows: repeat(5, 1fr);
	grid-template-columns: 2;
	grid-column-gap: 1vw;
}

#contact label {
	white-space: nowrap;
}

textarea {
	grid-row: 1/-1;
	grid-column: 2;
	resize: none;
	width: 45vw;
	height: 50vh;
}

/*------------------*/

/*FOOTER*/
.site-footer {
  padding: 0 !important;
  Background-color: #e9eef1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height:25vh;
}

#colonneGauche {
  grid-column:1;
  margin-left:5vw;
  text-align:center;
}

#colonneMilieu {
  grid-column:2;
  text-align:center;
}

#colonneDroite {
  grid-column:3;
  text-align:center;
  margin-top: 15px;
}

#colonneGauche > p, #colonneMilieu > p {
  color: #e2001a;
}

#colonneDroite > p {
  color:rgba(0,0,0,0.25);
}

#logoSMLH {
  height:13vh;
}

#logoFacebook {
  height:5vh;
}

#logoL7DDLM, #logoUB {
  height:8vh;
  display:inline;
  margin-left:2%;
  margin-right:2%;
}

footer p {
  font-family:"Arial";
  font-size:12px;
  margin:0;
  font-weight:bold;
}

.site-info {
  margin:0;
}

/*------------*/

/*VALEURS*/

#valeurs h2 {
	color: red;
	font-size: 18px !important;;
}

#valeurs h2:nth-of-type(2), #valeurs p:nth-of-type(4), #valeurs p:nth-of-type(5), #valeurs p:nth-of-type(6), #valeurs p:nth-of-type(7) {
	text-align: right;
}

#valeurs p:nth-of-type(3) {
	text-align: center;
	color: lightgrey;
	font-size: 34px;
}

/*-----------*/