/*

Theme Name: Theme enfant vantage

Description: Theme enfant de Philippe Radiate

Author: Philippe - vantage

Author URI: https://fr.wordpress.org/themes/vantage/

Template: vantage 

Version: 0.1.0

*/






/* POUR TOUS LES ECRANS */

/*relever l'adresse dans le header*/

#adresseAccueil

{

	margin-top: -3vh;

}



/*Enlever le lien dans le footer*/

#theme-attribution

{

	display: none;
	margin-top: -4vh;
	height: 0px;

}

#panel-w590c8423a7341-0-3-0.so-panel h3

{

	height: 0px;

	display: none;

}



#panel-w590c8423a7341-0-3-0.so-panel

{

	text-align: right;

	height: 30px;

	/*margin-top: -3vh;*/

}



#panel-w590c8423a7341-0-3-0.so-panel li a[href="http://www.lescreasansnuit.eu/feed/"]

{

	/*height: 0px;*/
	margin-top: -4vh;
	display: none;

}



#panel-w590c8423a7341-0-3-0.so-panel li a[href="http://www.lescreasansnuit.eu/comments/feed/"]

{

	/*height: 0px;*/
	margin-top: -4vh;
	display: none;

}



#panel-w590c8423a7341-0-3-0.so-panel li a[href="https://wpfr.net"]

{

	/*height: 0px;*/
	margin-top: -4vh;
	display: none;

}

#titreactivite p
{
	text-align: center;
	font-weight: bold;
	font-size: 3vh;
}



#activite

{

	color: black;

	width: 100%;

	border-radius: 5px;

}

/*LIEN VERS L ACTIVITE DANS TABLEAU*/
.lienligne
{
	text-decoration: none;
	color: black;
	font-weight: bolder;
	display: block;
	width: 110%;
	height: 100%;
	overflow: visible;
}



#tablephp

{

	border-collapse: collapse;

	border: 1px solid black;
}

#tablephp td
{
	padding: 10px;
}


#tablephp thead tr th

{

	color: white;
	background-color: rgba(42, 05, 05, 0.8);
	padding: 10px;
}

#tablephp tr:hover .lienligne
{
	color: white;
}

#tablephp tr:hover td
{
	color: white;
	background-color: rgba(42, 05, 05, 0.6);
}


#tablephp tr:nth-child(odd)

{

	background-color: white;

}



#tablephp tr:nth-child(even)

{

	background-color: lightgrey;

}

#survolinscription
{
	color: white;
	background-color: #5e1007;
	border-radius: 5px;
	padding: 5px;
}

#survolinscription:hover
{
	cursor: pointer;
}

/*POPUP D'INSCRIPTION A L ACTIVITE*/

#inscriptiontaille
{
	text-decoration: underline;
}

#sgcboxOverlay.colorbox6.sg-popup-overlay.sg-popup-overlay-13.sgcboxOverlayBg
{
	margin-left: -2000px;
}

#sgcolorbox.colorbox6.sg-popup-content.sg-popup-content-13.sg-animated.No.effect
{
	margin-left: -2000px;
}

#textbeforeinscription::before
{
	content: "Inscription à l'activité : ";
}

#textactivite
{
	height: 55px;
}

/*AIDE FORMAT DATE FORMULAIRE*/
#survoldate
{
	margin-top: -10px;
}

/*LIEN LIRE LA SUITE*/
.more-link
{
	margin-top: 20px;
}

/*CSS RESPONSIBLES POUR DIFF TAILLE ECRAN*/

/*Taille du Menu pour les ecrans intermédiaires*/
@media screen and (min-width: 600px) and (max-width: 720px)
{
	#menu-menu-principal.menu
	{
		margin-right: 10px;
	}

	#menu-menu-principal.menu li
	{
		font-size: 10px;
	}
}

@media screen and (min-width: 481px) and (max-width: 600px)
{
	#menu-menu-principal.menu
	{
		margin-right: 3px;
	}

	#menu-menu-principal.menu li
	{
		font-size: 10px;
	}

	#menu-menu-principal.menu li a
	{
		padding-left: 10px;
		padding-right: 10px;
	}
}

/*formulaire centré*/
@media screen and (max-width: 850px)
{
	#form
	{
		display: flex;
		flex-direction: column;
	}

	#form1
	{
		margin-right: auto;
		margin-left: auto;
	}

	#form2
	{
		margin-right: auto;
		margin-left: auto;
	}
}

/*formulaire sur deux colones*/

@media screen and (min-width: 850px)

{

	#form

	{
		display: flex;

		justify-content: center;

	}

	#form1
	{
		margin-right: 5vh;
	}

	#form2
	{
		margin-left: 5vh;
	}



}



/*racourcir le titre*/

@media screen and (min-width: 680px) and (max-width: 850px)

{

	.site-title

	{

		width: 340px;

	}

}


/*Tableau activite pour écrans telephone*/

@media screen and (max-width: 450px)

{
	#inscriptiontaille
	{
		letter-spacing: -0.2pt;
	}

	#tablephp
	{
		border-collapse: separate;
		border: hidden;
	}

	#tablephp thead
	{
		display: none;
	}

	#tablephp tr
	{
		border: 1px solid black;
		border-radius: 10px;
		display: flex;
		flex-direction: column;
		margin-bottom: 5px;
	}

	.lienligne
	{
		color: white;
	}

	#tablephp tr td:first-child
	{
		text-align: left;
		background-color: #5e1007;
		border-radius: 10px 10px 0px 0px;
		font-weight: bold;
		padding-right: 20px;
	}

	#tablephp tr td:first-child a
	{
		padding-right: 30px;
		margin-left: -5px;
	}

	#tablephp tr td:last-child
	{
		text-align: right;
	}

	#tablephp tr td:nth-child(2)
	{
		padding: 3px;
	}

	#tablephp tr td:nth-child(2)::before
	{
		content: "du ";
	}

	#tablephp tr td:nth-child(3)
	{
		padding: 3px;
	}

	#tablephp tr td:nth-child(3)::before
	{
		content: "au ";
	}

}

