/******************************************************************/
/***********             Overlay                 ******************/
/******************************************************************/
/* The Overlay (background) */
.overlay {
    /* Height & width depends on how you want to reveal the overlay (see JS below) */    
    height: 0;
    width: 100%;
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    background-color: rgb(0,0,0); /* Black fallback color */
    background-color: rgba(0,0,0, 0.94); /* Black w/opacity */
    overflow-y: scroll; /* hidden = Disable scroll */
    transition: 1.3s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
}
/* Position the content inside the overlay */
.overlay-content {
    position: relative;
    top: 25%; /* 25% from the top */
    width: 100%; /* 100% width */
    text-align: center; /* Centered text/links */
    margin-top: 10px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}
/* The navigation links inside the overlay */
.overlay a {
    padding: 8px;
    text-decoration: none;
    font-size: 36px;
    color: #818181;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
}
/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}
/* Position the close button (top right corner) */
.overlay .closebtn {
    position: absolute;
    top: -10px;
    right: 0px;
    font-size: 60px;
}
/*
[aria-hidden="true"] { display: none; }
[aria-hidden="false"] { display: block; }
*/
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */
/*
@media screen and (max-height: 450px) {
	.overlay {overflow-y: auto;}
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}
*/
#WelcomeBodyOverlay
{
    padding:0;
    margin:0;
	background: url(images/GfxTexturePart.gif);
	background-repeat: repeat-y;
	background-position:center top;
    display: block;
	width: 1000px;
	height: 1360px;
	border:none;
    position: relative;
}
#LogoOverlay
{
    border:none;
    position: relative;
    width: 151px;
	height: 145px;
	top: 10px;
    left: 10px;
	background-image: url(images/GfxLogo2017_145px.png);
    float: left;
}
/******************************************************************/
/***********           Prochain événement        ******************/
/******************************************************************/
#BannerNextEventOverlay
{
    border:none;
    position: relative;
    width: 342px;
	height: 117px;
	top: -15px;
    left: -15px;
    font-size: 12px;
    /*background-color: rgb(255, 255, 255);*/
	float: left;
}
#BannerNextEventOverlay p
{
    text-align: center;
    padding:0;
    position: relative;
    left: -7px;
    bottom: -18px;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : white; 
}
#BannerNextEventOverlay a:link, #BannerNextEventOverlay a:visited, #BannerNextEventOverlay a:active, #BannerNextEventOverlay a:hover
{
    text-align: center;
    padding:0;
    position: relative;
    left: 0px;
    bottom: 0px;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : white; 
}
#BannerNextEventOverlay h1
{
    text-align: center;
    padding:0;
    position: relative;
    bottom: -7px;
    font-size : 110%;
    font-weight : Bold; /* Boldness */
    font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : #92d5f2; 
}
#BannerOverlayClose
{
    border:none;
    position: relative;
    width: 45px;
	height: 45px;
	top: -15px;
    right: 5px;
    font-size: 12px;
    /*background-color: rgb(255, 255, 255);*/
	float: right;
}
#BannerOverlayClose p
{
    text-align: center;
    padding:0;
    position: relative;
    left: 0px;
    bottom: 0px;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : white; 
}
#LangButtonsOverlay li a:link, #LangButtonsOverlay li a:visited, #LangButtonsOverlay li a:active, #LangButtonsOverlay li a:hover
{
    top: 0px;
    /*left: 172px; */
    left: 0px;
    position: relative;
    padding: 0;
    line-height: 10px;
    background: none;
    float: right;
}
#LangButtonsOverlay li
{
    margin-top:0px;
    margin-bottom:0px;
    margin-right:5px;
    margin-left:5px;
    padding-right: 5px;
    padding-left: 5px;
    display: inline;
}
#LangButtonsOverlay ul
{
    margin-left: 5px; 
    padding-left: 5px;
    position:relative;
    padding-left:5px;
}
#BannerTitreOverlay
{
    position: relative;
    border:none;
    font-size: 20px;
}
#BannerTitreOverlay p
{
    text-align: left;
    padding:0;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-style :  bold;
    text-shadow: 2px 2px #000000;
    color : white;
}
#BannerTitreOverlay h1
{
    text-align: center;
    padding:0;
    position: relative;
    font-size : 110%;
    font-weight : Bold; /* Boldness */
    font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : #92d5f2; 
}
#BannerPalmaresOverlay
{
    border:none;
    position: relative;
    font-size: 12px;
    float: left;
}
#BannerPalmaresOverlay p
{
    text-align: left;
    padding:0;
    position: relative;
    left: 0px;
    top: 0px;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-style :  italic;
    text-shadow: 2px 2px #000000;
    color : white; 
}
#BannerPalmaresOverlay h1
{
    text-align: center;
    padding:0;
    position: relative;
    bottom: -7px;
    font-size : 110%;
    font-weight : Bold; /* Boldness */
    font-family : Verdana, Arial, Helvetica, Geneva, sans-serif; 
    color : #92d5f2; 
}
#PannelTopOverlay
{
    border:none;
    position: absolute;
    width: 710px;
	height: 42px;
	top: 10px;
    left: 265px;
    font-size: 12px;
	background-image: url(images/GfxSubMenuBodyTop.gif);
    float: left;
}
#PannelTopOverlay h1
{
    text-align: left;
    position: absolute;
    font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: black;
	bottom: 0px;
	left: 30px;
} 
#PannelTopCenterOverlay
{
    border:none;
    position: absolute;
    width: 710px;
	height: 42px;
	top: 10px;
    left: 145px;
    font-size: 12px;
	background-image: url(images/GfxSubMenuBodyTop.gif);
    float: left;
}
#PannelTopCenterOverlay h1
{
    text-align: center;
    
    font-family: Verdana, Arial, Helvetica, Geneva, sans-serif;
    font-size: 15px;
    font-weight: bold;
    color: black;
	bottom: 0px;
	left: 30px;
} 
#PannelBlocOverlay
{
    border:none;
    position: absolute;
    width: 710px;
	height: 1000px;
	top: 52px;
    left: 265px;
    font-size: 12px;
    float: left;
}
#PannelBottomOverlay
{
    border:none;
    position: relative;
    width: 710px;
	height: 34px;
	top: 0px;
    left: 0px;
    font-size: 12px;
	background-image: url(images/GfxSubMenuBodyBottom.gif);
    float: left;
}
#WelcomeCompetitionFooterOverlay
{
    padding:0;
    margin:0;
	background: url(images/GfxTextureFooter.gif);
	background-repeat: no-repeat;
	background-position:center top;
    display: block;
	width: 1000px;
	height: 10px;
	border:none;
    position: relative;
}
#TopBannerOverlay
{
	margin: auto;
    border:none;
    position: relative;
    width: 1000px;
	height: 110px;
	top: 0px;
    /*left: center;*/
    font-size: 12px;
    margin-top: 15px; /* 30px top margin to avoid conflict with the close button on smaller screens */
	/*background-image: url(images/GfxSubMenuBodyPart.gif);*/
    /*float: left;*/
    /*background-repeat: repeat-y;*/
}
#BodyPubLogoOverlay
{
    border:none;
    position: absolute;
    width: 140px;
	height: 48px;
	top: 0px;
    left: 285px;
    float: left;
}
#BodyPubGifAnimOverlay
{
    border:none;
    position: absolute;
    width: 140px;
	height: 115px;
	top: 53px;
    left: 285px;
    float: left;
}
#PannelPart100LinesOverlay
{
    margin: auto;
    border:none;
    position: relative;
    width: 1000px;
	height: 800px;
	/*top: 0px;*/
    /*left: 0px;*/
    font-size: 12px;
    margin-top: 0px;
    /*background-color: #ffffff;*/
    /*background-color: #a7bbd6;*/
	/*background-image: url(images/GfxSubMenuBodyPart.gif);*/
    /*float: left;*/
    background-repeat: repeat-y;
}
#WelcomeFrameOverlay
{
    border:none;
    position: absolute;
    width: 1000px;
	height: 800px;
	top: 30px;
	left: 0px;
	float: left;
}
#WelcomeFrameOverlay p
{
    text-align: justify;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : black;
    top: 2px;
    left: 30px;
    width: 620px;
}
#EmbeddedYoutubeOverlay
{
    border:none;
    position: relative;
    width: 653px;
	height: 405px;
	top: 30px;
    left: 30px;
    font-size: 12px;
	background-image: none;
    float: left;
}
#EmbeddedLocalOverlay
{
    border:none;
    position: relative;
    width: 480px;
	height: 390px;
	top: 0px;
    left: 0px;
    font-size: 12px;
	background-image: none;
    float: left;
}
#PannelPartVideosOverlay
{
    border:none;
    position: relative;
    width: 900px;
	height: 20px;
	top: 0px;
    left: 0px;
    font-size: 12px;
    float: left;
}
#PannelPartVideosOverlay p
{
    text-align: center;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    /*top: 2px;*/
    /*display: block;*/
    /*
    margin-left: auto;
    margin-right: auto;
    */
    left: -10px;
    width: 100%;
}
#StylePannelPart3Lines
{
    border:none;
    position: relative;
    width: 710px;
	height: 50px;
	top: 0px;
    left: 160px;
    font-size: 12px;
    float: left;
}
#StylePannelPart3Lines p
{
    text-align: left;
    position: absolute;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    left: 30px;
    width: 660px;
}
#LastResultPannelPart3Lines
{
    border:none;
    position: relative;
    width: 710px;
	height: 45px;
	top: 0px;
    left: 160px;
    font-size: 10.5px;
	float: left;
}
#LastResultPannelPart3Lines p
{
    text-align: left;
    position: absolute;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    left: 30px;
    width: 660px;
}
#LastResultPannelPartTitle
{
    border:none;
    position: relative;
    width: 710px;
	height: 35px;
	top: 0px;
    left: 160px;
    font-size: 11.5px;
	float: left;
}
#LastResultPannelPartTitle p
{
    text-align: left;
    position: absolute;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    left: 30px;
    width: 660px;
}
#VideoPlayer
{
    border:none;
    position: relative;
    width: 850px;
	height: 480px;
	top: 100px;
    left: 25px;
    background-image: none;
    float: left;
}
/* Stage */
#PannelStageOverlay
{
    border:none;
    position: relative;
    width: 900px;
	height: 800px;
	top: 0px;
    left: 0px;
    font-size: 12px;
    float: left;
}
#PannelStageOverlay p
{
    text-align: center;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    /*top: 2px;*/
    /*display: block;*/
    /*
    margin-left: auto;
    margin-right: auto;
    */
    left: -10px;
    width: 100%;
}
#PannelStageOverlay a
{
    text-align: center;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
/* Catalogue Donic */
#PannelDonicBookOverlay
{
    border:none;
    position: relative;
    width: 900px;
	height: 800px;
	top: 0px;
    left: 0px;
    font-size: 12px;
    float: left;
}
#PannelDonicBookOverlay p
{
    text-align: center;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    /*top: 2px;*/
    /*display: block;*/
    /*
    margin-left: auto;
    margin-right: auto;
    */
    left: -10px;
    width: 100%;
}
#PannelDonicBookOverlay a
{
    text-align: center;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 50%;
}
.ContainerPannelNewsOverlay
{
    position: relative;
}
.top-left
{
    position: absolute;
    top: 8px;
    left: 8px;
    width: 400px;
    height: 140px;
    background-color: rgba(0,0,0,0.5);
}
.top-left-text
{
    position: relative;
    top: 5px;
    left: 5px;
    width: 390px;
    height: 130px;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    text-shadow: 1px 1px #000000;
    text-align: left;
    color: rgb(220,220,220);
}
.top-left-text a
{
    text-align: left;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : rgb(220,220,220);
    left: -7px;
    width: 400px;
    text-decoration: underline;
}
#PannelNewsOverlay
{
    border:none;
    position: relative;
    width: 900px;
	height: 800px;
	top: 0px;
    left: 0px;
    font-size: 12px;
    float: left;
    background: url(medias/slider_index_news/PatrickNews.jpg);
    background-repeat: no-repeat;
	background-position:center top;
}
#PannelNewsOverlay p
{
    text-align: left;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    /*top: 2px;*/
    /*display: block;*/
    /*
    margin-left: auto;
    margin-right: auto;
    */
    left: 10px;
    width: 50%;
}
#PannelNewsOverlay a
{
    text-align: left;
    position: relative;
    font-size : 100%; 
    font-family :  Verdana, Arial, Helvetica, Geneva, sans-serif; 
    font-weight: normal;
    color : white;
    top: 2px;
    /*
    display: block;
    margin-left: auto;
    margin-right: auto;
    */
    left: 0px;
    width: 50%;
}
.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  /*
  width: 50%;
  */
}
/* The following is done to hide the download button : */
video::-internal-media-controls-download-button {
    display:none;
}
video::-webkit-media-controls-enclosure {
    overflow:hidden;
}
video::-webkit-media-controls-panel {
    width: calc(100% + 30px); /* Adjust as needed */
}
/* https://grid.layoutit.com */
.grid-container {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr 0.3fr 1.7fr;
  grid-template-rows: 0.5fr 1.5fr 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "GridLogo GridClubName GridClubName GridFlags"
    "GridLogo GridPalmares GridPalmares GridNextEvent"
    ". . . .";
}
.GridLogo { grid-area: GridLogo; }
.GridClubName { grid-area: GridClubName; }
.GridPalmares { grid-area: GridPalmares; }
.GridFlags { grid-area: GridFlags; }
.GridNextEvent { grid-area: GridNextEvent; }
