:root
{
	--transparentwhite: rgba(255, 255, 255, 0.6);
	--white: #FFFFFF;
	--mediumgray: #858585;
	--gray: #333333;
	--black: #000000;
	--red: 	#C31919;
	--blue: #1573AE;
	--darkgray: #1F1F1F;
	--darkblue: #444466;
	--lightgray: #E8E8E8;
	--lightblue: #F0F0FF;
}

* 
{
	box-sizing: border-box;
	font-family: 'Work Sans', sans-serif;
}

body 
{
	width: 100%;
	border: 0;
	padding: 0;
	margin: auto;
	font-weight: 400;
	font-size: 1em;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

article 
{
	margin: 0;
	padding: 0;
	width: 100%;
}

h2
{
	padding-top: 20px;
	margin: 0;
	font-size: 2.5em;
	font-variant: all-small-caps;
	line-height: 1.2em;
	text-align: center;
	font-weight: bold;
	color: var(--black);
}

h3
{
	font-size: 2em;
	line-height: 1.2em;
	font-variant: all-small-caps;
	text-align: center;
	font-weight: bold;
	color: var(--black);
}

h4
{
	font-size: 1.5em;
	line-height: 1.2em;
	text-align: center;
	font-variant: all-small-caps;
	margin-top: 0;
	font-weight: bold;
	color: var(--black);
}

@media screen and (max-width: 1000px) 
{
	h2 
	{
		font-size: 2em;
	}
	
	h3 
	{
		font-size: 1.5em;
	}

	h4 
	{
		font-size: 1.2em;
	}
}

section
{
	margin: 0;
	padding: 0;
}

.box-sections
{
	padding: 20px 3vw 30px 3vw;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-evenly;
}

a
{
	text-decoration: none;
	color: var(--blue);
}

a:hover
{
	color: var(--red);
}

/* HEADER */

.logo-header 
{	
	padding: 130px 20px 70px 20px;
	background-color: var(--gray);
	background-image: url("../img/salle-bcco-1280px.jpg");
	background-repeat: no-repeat;
	background-position: top center;
	display: flex;
	justify-content: space-between;
	flex-wrap: nowrap;
}

@media screen and (min-width: 100px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1280px.jpg");
		background-position: center top;
	}
}
@media screen and (min-width: 1024px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1280px.jpg");		
	}
}
@media screen and (min-width: 1440px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1440px.jpg");
	}
}
@media screen and (min-width: 1600px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1600px.jpg");
	}
}
@media screen and (min-width: 1680px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1680px.jpg");
	}
}
@media screen and (min-width: 1920px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-1920px.jpg");
		background-position: right center;
	}
} 
@media screen and (min-width: 3000px) 
{
	.logo-header 
	{
		background-image: url("../img/salle-bcco-3000px.jpg") norepeat;
		background-position: right center;
	}
}

.logos 
{
	display: flex;
	justify-content: center;
	width: 30%;
	margin-bottom: 20px;
}

.logos img
{
	width: 300px;
	height: 300px;
}

.titre-header
{
	width: 70%;
	margin-top: 25px;
	margin-bottom: 20px;
	margin-left: 50px;	
}

.titre-header p, .titre-header li
{
	font-size: 1.5em;
	color: var(--lightgray);
	line-height: 1.8;
	text-align: left;
	font-weight: bold;
	width: 100%;
	margin: 0;	
}

.titre-header h2 
{
	font-size: 4em;
	color: var(--white);
	line-height: 0.8;
	text-align:left;
	font-weight: bold;
	padding-top: 20px;
	padding-bottom: 20px;
	font-variant: all-small-caps;
	text-shadow: 2px 2px 0 black;
}

@media screen and (max-width: 1000px) 
{
	.logo-header 
	{
		flex-wrap: wrap;
		padding: 20px;
		background-image: url("../img/salle-bcco-1000px.jpg");
	}
	
	.titre-header 
	{
		width: 100%;
		margin-top: 0;
		margin-bottom: 0;
	}
	
	.titre-header h2 
	{
		font-size: 2.5em;
		margin: 0 auto; 
	}
	
	.titre-header p, .titre-header li 
	{
		font-size:1.2em;
	}
	
	.logos 
	{
		width:100%;
	}
}

/* NAV */

#menu-fixe 
{
	background-color: var(--white);
	width: 100%;
	padding: 0;	
}

.box-top-menu 
{
	width: 1000px;
	margin: 20px auto 20px auto;
	display: flex;
	justify-content: space-between;
}

.topnav 
{
	overflow: hidden;  
}

.topnav a 
{
  float: left;
  display: block;
  text-align: center;
  font-size: 1em;
  color: var(--gray);
	font-variant: all-small-caps;
	font-weight:400;
	line-height: 1.2;	
	text-decoration: none;  
	padding:0 15px;
	margin:0;
	transition: color 0.5s ease-out;
}

.topnav a:hover 
{
  color: var(--red);
}

.topnav .icon 
{
  display: none;
}

@media screen and (max-width: 1000px) 
{
  .box-top-menu 
  {
		display:initial;
  }
  
  .topnav a:not(:first-child) 
  {
  	display: none;
  }
  
  .topnav a.icon 
  {
    float: right;
    display: block;
  }
  
  .box-top-menu 
  {
		display:initial;
  }
}

@media screen and (max-width: 1000px) 
{
  .topnav.responsive 
  {
  	position: relative;
 	}

  .topnav.responsive .icon 
  {
    position: absolute;
    right: 0;
    top: 0;
  }

  .topnav.responsive a 
  {
    float: none;
    display: block;
    text-align: left;
  }
}

/* A LA UNE */
#alaune section
{
	background-color: var(--lightblue);
	padding: 0 30px 20px 30px;
	border-radius: 10px;
	margin: 0 10px 20px 10px;
	min-width: 300px;
	max-width: 90vw;
	flex: 1;
}

#alaune h3
{
	color: var(--red);
	text-align: left;
	margin-bottom: 0;
}

#alaune p.date
{
	font-size: 1em;
	color: var(--darkgray);
	font-variant: all-small-caps;
	font-weight: bold;
	margin: 0;
}

/* CLUB */
#club
{
	background-color: var(--darkblue);
	background-image: url("../img/tapis3.jpg");
	background-repeat: repeat;
}

#club section
{
	background-color: var(--white);
	width: 40vw;
	padding: 0 2vw 20px 2vw;
	text-align: justify;
	flex: 1;
	margin: 0 10px 20px 10px;
	min-width: 300px;
	max-width: 90vw;
}

#club h2
{
	color: var(--white);
}

#club h3
{
	color: var(--red);
}

/* SALLE */
.box-salle-texte h3 
{
	text-align: left;
}

.box-salle
{
	justify-content: center;
	flex-direction: column;
}

.salle-texte 
{
	font-size: 1em;
	color: var(--darkgray);
	line-height: 1.2;
	text-align:justify;
}

.salle-1 li, .salle-2 li, .salle-3 li 
{
	font-size: 1em;
	color: var(--darkgray);
	line-height: 1.2em;
} 

.box-salle-img 
{
	display: flex;
	flex-direction: column; 
	padding: 10px;
	margin: auto 0;
	flex: 1;
	
}

.box-salle-img img
{
	margin: 0 auto;
	width: 40vw; 
	max-width: 500px;
	border-radius: 5px;
	border: solid 2px var(--lightgray);
}

.box-salle-texte 
{	
	padding: 10px 50px;
	margin: auto 0;
	flex: 1;
}

.salle-1, .salle-2, .salle-3 
{
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	width: 80%;
}

.salle-1, .salle-3
{
	margin:0 auto 20px auto;
}

.salle-2
{
	margin: 20px auto;
}

.btn-salle 
{
	width: 70%;	
	max-width: 400px;
	min-height: 2.4em;
	margin: -25px auto -25px auto;
	flex: 1;
}

.btn-salle1, .btn-salle3
{
	background-color: var(--red);
}

.btn-salle2
{
	background-color: var(--blue);
}

.salle-button-texte, .salle-button-texte a 
{
  color: var(--white);	
	text-align: center;
	padding: 10px 5px 0px 5px;	
	margin: 0;
}

.box-salle-texte a:hover 
{
	color: var(--black);
}

@media screen and (max-width: 1000px) 
{	
	.salle-2 
	{
		flex-direction:column;
	}
	
	.salle-1, .salle-3 
	{
		flex-direction:column-reverse;
	}
	
	.box-salle-img 
	{
		width: 100%;
	}
	
	.box-salle-texte 
	{
		width: 100%;
		padding: 10px;
	}
	
	.box-salle-img img
	{
		width: 80%;
	}
}

/* Adhésion /!\ ad* bloqué par adblock & cie... */

#rejoindre
{
	background-color: var(--white);
}

#rejoindre h4
{
	color: var(--red);
}

.rejoindre-texte
{
	flex: 1;
}

/* Pratique */
#pratique
{
	background-color: var(--lightgray);
	background-image: url("../img/feutre2.jpg");
	background-repeat: repeat;
}

#pratique h2
{
	color: var(--white);
}

#pratique h4
{
	color: var(--darkgray);
}

.pratique-item 
{
	padding: 20px 10px 10px 10px; 
	margin: 0 10px 20px 10px;
	flex: 1;
	background-color: var(--white);	
	display: flex;
	flex-direction: column; 
	border: 1px solid var(--lightgray);
	border-radius: 5px;	
}

.pratique-item:hover
{
	-webkit-box-shadow: 0px 15px 20px -10px var(--mediumgray);
	-moz-box-shadow: 0px 15px 20px -10px var(--mediumgray);
	box-shadow: 0px 15px 20px -10px var(--mediumgray);	
}

.pratique-item p, .pratique-item li
{
	font-size: 0.9em;
	color: var(--darkgray);
	line-height: 1.2em;
}

.pratique-item-texte 
{
	padding: 0 10px;
}

.pratique-item-img  
{
	margin: 0 auto;
}

.pratique-icone 
{
	display: block;
	width: 100px;
	margin: 0 auto;
}

@media screen and (max-width: 1000px) 
{
	.box-pratique 
	{
		width: 100%;
		flex-wrap: wrap;	
	}
	
	.box-pratique h3
	{
		font-size: 1.2em;
	}
	
	.pratique-item 
	{
		margin: 10px;
		min-width: 300px;
		max-width: 550px;
		flex: 1;
	}
}

@media screen and (max-width: 600px) 
{
	.box-pratique 
	{
		flex-direction: column;
	}
	
	.pratique-item 
	{
		min-width: 200px;
		width: 90%;
		margin: 10px auto;
	}
}

/* PARTENAIRES */

#partenaires
{
	background-color: var(--white);
}

.box-partenaires-images
{
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding: 20px 10px; 
}

.box-partenaires-images figure
{
	vertical-align: top;
	display: inline-block;
	text-align: center;
	width: 300px;
}

.box-partenaires-texte
{
	padding: 20px 10px;
	text-align: center;
}

.box-partenaire
{
	flex: 1;
}

.box-partenaires-images img
{
    width: 250px;
    background-color: var(--white);
}

.box-partenaires-images figcaption 
{
    display: block;
}

.box-partenaires-images figcaption *
{
    text-decoration: none;
}

.box-partenaires-images figcaption a
{
    color: var(--black);
}

.box-partenaires-images figcaption a:hover
{
    color: var(--red);
}

/* Informations pratiques */

#infospratiques
{
	background-color: var(--darkgray);
	background-image: url("../img/salle-snooker-1280px.jpg");
	background-repeat: no-repeat;
	background-position: center;		
}

#infospratiques h2
{
	color: var(--white);
}

@media screen and (min-width: 100px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1280px.jpg");
	}
}
@media screen and (min-width: 1024px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1280px.jpg");	
	}
}
@media screen and (min-width: 1440px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1440px.jpg");
	}
}
@media screen and (min-width: 1600px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1600px.jpg");
	}
}
@media screen and (min-width: 1680px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1680px.jpg");
	}
}
@media screen and (min-width: 1920px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-1920px.jpg");
	}
} 
@media screen and (min-width: 3000px) 
{
	#infospratiques 
	{
		background-image: url("../img/salle-snooker-3000px.jpg");
	}
}

.box-infoscontact, .box-map
{
	flex: 1;
}

.box-map span, .box-infoscontact p, .box-infoscontact a, .box-infoscontact a:hover 
{
	font-size: 1em;
	line-height: 1.2em;
	text-decoration: none;
}

.box-map span, .box-infoscontact p
{
	padding-left: 16px;
}

.box-map img:hover
{
	border: 2px solid var(--red);
}

.box-infoscontact
{
	background-color: var(--transparentwhite);
	min-width: 300px;
	margin: 0 20px 10px 20px;
}

.box-infoscontact h3
{
	text-align: left;
	padding-left: 44px;
	color: var(--red);
	margin-top: 10px;
}

.box-infoscontact img
{
	padding: 0 10px;
}

.infospratiques-firstline
{
	padding-left: 0px;
	font-weight: bold;
	font-size: 1.2em;
	color: var(--black);
}

.infospratiques-otherline
{
	padding-left: 44px;
	font-size: 1.2em;
}

@media screen and (max-width: 1000px) 
{
	.box-map
	{
		width: 90%;
		margin: 20px auto; 	
	}
	
	.box-map img
	{
		height: 300px;
		max-width: 90vw;
		display: block;
		margin: 0 auto;
	}
}

/* HISTOIRE */
#histoire
{
	background-color: var(--lightgray);
}

#histoire section
{
	margin: 0 10px 20px 10px;
}

.box-histoire-img
{
	max-width: 90vw;
	min-width: 300px;
	flex: 1;
}

.box-histoire-img img
{
	max-width: 90vw;
	min-width: 300px;
	display: block;
}

.box-histoire-texte
{
	max-width: 90vw;
	min-width: 300px;
	flex: 1;
}

.histoire-texte
{
	padding: 0 3%;
	text-align: justify;
}

/* FOOTER */
.bandeau-bas 
{
	width: 100%;
	background-color: var(--darkgray);
	padding-top: 20px;
	padding-bottom: 20px;
}

.bandeau-bas p
{
	font-size: 0.8em;
	color: var(--mediumgray);
	line-height: 1.2;
	text-align: center;
}

.bandeau-bas a
{
	text-decoration: none;
	color: var(--white);
}

.bandeau-bas a:hover
{
	color: var(--red);
}

@media screen and (max-width: 1000px) 
{
	.bandeau-bas p
	{
		font-size: 0.6em;
	}
}

/* MENTIONS LEGALES */

.legal 
{
	font-size: 1em;
	color: var(--mediumgray);
	line-height: 1.2em;
	padding: 30px;
}

.legal-box 
{
	width: 80%;
	margin: auto;
}

@media screen and (max-width: 1000px) 
{	
	.legal 
	{	
		font-size: 0.5em;
	}
	
	.legal-box 
	{
		width: 100%;
	}
}

ul.nopuce
{
	list-style-type: none;
}

/* Résultats Matches */
#matches
{
	padding-top: 2vh;
	width: 90vw;
	border-collapse: collapse;
	padding-bottom: 2vh;
}

@media screen and (min-width: 1024px) 
{
	#matches
	{
		padding-left: 4vw;
	}
}

#matches th
{
	background-color: #000000;
	color: #FFFFFF;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
}

#matches td
{
	text-align: center;	
	background-color: #F0F0F0;
}

#matches td.blank
{
	background-color: #FFFFFF;
}

#matches td.joueur, #matches td.joueurbcco
{
	width: 20pw;
}

#matches td.joueurbcco
{
	font-weight: bold;
}

#matches td.point
{
	width: 5pw;
}

#matches td.score
{
	width: 10pw;
}

#matches td.reprises
{
	width: 10pw;
}

#matches td.categorie
{
	width: 10pw;
	font-weight: bold;
}

#matches td.jour, #matches td.discipline
{
	background-color: #C0C0C0;
	color: #000000;
	font-size: 16px;
	font-weight: bold;
}
