/*
    Lisa Monpierre
    EFRITS SAS
 
    Training center website
    Dec. 2021
*/

.advertising 
{
	width: 100%;

	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin:  auto;

	color: black;
}
.advertising a
{
	text-decoration: none;
}

.blockPub
{
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: auto;
	text-decoration: none;

	width: calc(100% / 3);
}

.blockPub:hover
{

}

.blockPubBlock
{
	width: 100%;

	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: auto;
}

.blockPubBlock h4
{
	width: 100%;
	height: 80px;

	margin: 0 auto;
	text-align: center;

	color:#D2691E;
}

.blockPubBlock h5
{
	width: 100%;

	margin: 0 auto;
	color: #454859;
	font-weight: normal;
}

.blockPubBlock div
{
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;

	margin: 20px auto;
}

.blockPubBlock p 
{
}

.blockPubBlock div img, .blockPubBlock div video
{
	width: 100%;
	max-height: 450px;

	margin: auto;
}

#popUpPub 
{
    position: fixed;
    
    top: 0;
    left: 0;
    
    width: 100%;
    height: 100%;
    
    background: rgba(55,55,55,0.8);
    z-index: 10;
    
    display: flex;
	flex-wrap: wrap;
	align-content: space-around;
}

#pub img
{
    height: 100px;
    
    margin: auto 0;
}

#closePub
{
	width: 100%;
	margin: auto;
	background-color: transparent;
	border: none;
	outline: none;
	cursor: pointer;
	 
	transition: all 200ms;
		
	font-size: 20px;
	
	font-weight: bold;
	text-decoration: none;
	color: #C88F1A;
}

#closePub:hover 
{
	color: #FAF9F9;
}

.nextEventButtonPub
{
	width: 100%;
	padding: 15px;
	margin: 20px auto;
	
	border-radius: 6px;
	border: none;
	outline: none;
	
	background-color: #C88F1A;
	color: #FAF9F9;
	font-weight: bold;
	text-align: center;
}

.nextEventButtonPub:hover
{
	color: #FAF9F9;
	background-color: #454859;
}

@media 	only screen and 
		(min-width: 541px)
		/* portrait tablet */
{
	.blockPubBlock h5
	{
		text-align: center;
	}
	.blockPub
	{
		width: 100%;
		margin: 20px auto;
	}
	#pub
	{
		width: 95%;
		margin: auto;
	}
}

@media 	only screen and 
		(max-width: 540px) 
		/* portrait mobile */
{
	.blockPubBlock h5
	{
		text-align: center;
	}
	.blockPub
	{
		width: 100%;
		margin: 20px auto;
	}
	#pub
	{
		width: 95%;
		margin: auto;
	}
}

@media 	only screen and 
		(min-width : 1825px) 
		/* desktop */
{
	.blockPubBlock h5
	{
		text-align: left;
	}
	.blockPub
	{
	    width: calc(100% / 3);
		margin: 50px auto auto auto;
	}
	#pub
	{
		width: 80%;
		margin: auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 1601px) and 
		(max-width: 1824px) 
		/* desktop */
{
	.blockPubBlock h5
	{
		text-align: left;
	}
	.blockPub
	{
	    width: calc(100% / 3);
		margin: 50px auto auto auto;
	}
	#pub
	{
		width: 90%;
		margin: auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 1225px) and 
		(max-width: 1600px) 
		/* laptop */
{
	.blockPubBlock h5
	{
		text-align: left;
	}
	.blockPub
	{
	    width: calc(100% / 3);
		margin: 50px auto auto auto;
	}
	#pub
	{
		width: 90%;
		margin: auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(min-width: 961px) and 
		(max-width: 1224px) 
		/* landscape tablet */
{
	.blockPubBlock h5
	{
		text-align: center;
		margin:  auto;

	}
	.blockPub
	{
		width: 100%;
		margin: 20px auto;
	}
	#pub
	{
		width: 95%;
		margin: 20px auto;
	}
}

@media 	only screen and 
		(orientation: landscape) and 
		(max-device-width: 960px) 
		/* landscape mobile */
{
	.blockPubBlock h5
	{
		text-align: center;
	}
	.blockPub
	{
		width: 100%;
		margin: 20px auto;
	}
	#pub
	{
		width: 95%;
		margin: auto;
	}
}
