body {
    font-family: "Arial", sans-serif; 
    margin: 0;
    padding: 0;
    background-color: black;
    color: #FFDED7;
}

.content{
	/*margin-bottom: 60px;*/
}


.divtable {
    display: table;
    width: 87%;
    border-collapse: collapse;
}

.divrow {
    display: table-row;
}

.divcell {
    display: table-cell;
    border: 1px solid #000;
    padding: 5px;
}

/*à supprimer
table, td {
	border: 2px solid white;
}
*/

table.classic {
    width: 100%;
    height: 100vh;
    border-collapse: collapse;
}

td.classic {
    text-align: center;
    vertical-align: middle;
}

td.classic_haut {
    text-align: center;
    /*vertical-align: 50px;*/
}


a.classic {
	text-decoration: none;
    color: inherit;
}

a.classic_ffa {
	text-decoration: none;
    color: inherit;
}


/*accueil.php*/

* {
  box-sizing: border-box;
}

#myVideoAccueil {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%; 
  min-height: 100%;
}

.content-accueil {
  position: fixed;
  bottom: 0;
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  color: #FFDED7;
  width: 100%;
  padding: 20px;
}
		
.responsive-image {
    max-width: 100%;
    height: auto;
}
		
.span_accueil {
    line-height: 1.5;
}
		
@media screen and (min-width: 768px) {
    .responsive-image {
        width: 150px;
    }
    .content-accueil {
    	font-size:26px
    }

    .icon{
		height: 40px;
	}
}

@media screen and (max-width: 767px) {
    .responsive-image {
        width: 100px;
    }
    .content-accueil {
    	font-size: 15px;
    	font-weight: bold;
    }
    .icon{
		height: 30px;
	}
}

/*autres*/


input {
	margin-bottom: 10px;
    padding: 8px;
    box-sizing: border-box;
}

.classic_input{
    border: 1px solid #FFDED7;
    border-radius: 10px;
    padding: 10px 10px;
    font-size: 16px;
}

.classic_input:focus {
    font-size: 16px;
}

.classic_bouton {
	text-decoration: none;
  	background-color: #FFDED7;
  	color: #803E39;
    border: 2px solid #FFDED7;
    border-radius: 10px;
    padding: 10px 10px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
    width: max-content;
}

.classic_bouton:hover {
    background-color: #803E39;
    color: #FFDED7;
}

.classic_bouton_ffa {
	text-decoration: none;
  	background-color: #FFDED7;
  	color: #803E39;
    border: 2px solid #FFDED7;
    border-radius: 10px;
    padding: 0px 10px;
    margin-top: 25px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
    width: max-content;
}

.classic_bouton_ffa:hover {
    background-color: #803E39;
    color: #FFDED7;
}

.classic_bouton_discipline {
	text-decoration: none;
  	background-color: #FFDED7;
  	color: #803E39;
    /*border: 2px solid #FFDED7;*/
    border-radius: 10px;
    padding: 3px 10px;
    margin: 3px;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
    width: 250px;
}

.classic_bouton_discipline:hover {
    background-color: #803E39;
    color: #FFDED7;
}



.profile_image-container {
    position: relative;
    left: calc(100% - 120px);
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%; /* Créer un cercle */
}

.profile_image {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    cursor: pointer;
}

.profile_overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Fond transparent */
    border-radius: 50%; /* Créer un cercle */
}

.svg_profile{
	width: 100px;
    height: 100px;
}

.play_bouton{
    height : 100px;
}


@media (min-width: 768px) { /* PC */
	.div_top_footer{
		position:fixed; 
		bottom: 80px; 
		width:100%; 
		text-align: right;
	}
	input{
		 width: 300px;
	}
}
  		
@media (max-width: 767px) { /* Mobile */
	.div_top_footer{
		position:fixed; 
		bottom: 60px; 
		width:100%; 
		text-align: right;
	}
	input{
		 width: 80%;
	}
}


/*lecture dernières videos*/
  #videoContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 2;
  }

  #myVideo {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  #tapToPlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    text-align: center;
    cursor: pointer;
  }

  #videoControls {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 1);
    z-index: 3;
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #videoProgress {
    width: 100%;
    height: 10px;
    background-color: #252525;
    position: relative;
    cursor: pointer;
    border-radius : 5px; 
  }

  #videoProgressBar {
    width: 0;
    height: 100%;
    background-color: #DC7B70;
    border-radius : 5px;
  }


/* index.php */
.footer {
            position: fixed;
            left: 0;
            bottom: 0;
            width: 100%;
            background-color: #202020;
            color: white;
            text-align: center;
            display: flex;
            justify-content: space-around;
        }

        .footer a {
            color: white;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .footer p {
            margin: 5px 0px 0px 0px;
            user-select: none;
        }
        
        
        
        /* Au survol sur ordinateur */
  		@media (min-width: 768px) {
    		 :root {
    			--font-size: 11px;
    			--padding-top: 10px;
    			--padding-bottom: 10px;
    			--svg-height: 20px;
    			--footer-height: calc(var(--font-size) + var(--padding-top) + var(--padding-bottom) + var(--svg-height));
    		}
    		#map{
    			height: 350px;
    		}
  		}

  		/* Au clic sur mobile */
  		@media (max-width: 767px) {
    		 :root {
    			--font-size: 9px;
    			--padding-top: 6px;
    			--padding-bottom: 4px;
    			--svg-height: 12px;
    			--footer-height: calc(var(--font-size) + var(--padding-top) + var(--padding-bottom) + var(--svg-height));
    		}
    		#map{
    			height: 300px;
    		}

  		}
  		
  		
  		.footer{
    		padding-top: var(--padding-top);
    		padding-bottom: var(--padding-bottom);
    		font-size: var(--font-size);
    	}
    	.svg_footer {
            height: var(--svg-height);
       	}
       	.svg_deconnexion {
            height: var(--svg-height);
       	}
       	.svg_deconnexion {
            height: var(--svg-height);
       	}
       	.svg_sablier {
            height: 15px;
            transform: rotate(20deg); 
            position: relative; 
            top: 3px; 
            left: 5px;
       	}
		
        .recherche-dropdown {
            display: none;
            position: absolute;
            background-color: #202020;
            width: 200px;
            font-size: calc((var(--font-size) + 4px));
            padding-top: calc(var(--font-size) * 2 + 2px);
        	padding-bottom: calc(var(--font-size) * 2 + 2px);
        }
        
        #recherche-date{
        	bottom: calc(var(--footer-height) + var(--font-size));
        }
        #recherche-lieu{
        	bottom: calc((var(--footer-height) + var(--font-size)) * 2);
        }
        #recherche-discipline{
        	bottom: calc((var(--footer-height) + var(--font-size)) * 3);
        }
        #recherche-dernieres-videos{
        	bottom: calc((var(--footer-height) + var(--font-size)) * 4);
        }
        
        
        #closeButton{
  			z-index: 9999;
  			position: fixed;
  			top: 30px;
  			right: 10px;
  			display:none;
  		}
  		.svg_close {
            height: 30px;
       	}
       	

/* upload.php */

        #progressContainer, #status, #message {
            display: none; /* Masquer initialement les éléments */
        }

        #progressBar {
        	display: none;
			width: 100px;
        	height: 10px;    
    		margin-left: 20px;
    		background-color: #803E39; /* Couleur de fond de la barre de progression */
    		border-radius: 10px; /* Bordures arrondies */
    		border: 1px solid black;
    		position: relative;
    		transform: rotate(-90deg); /* Rotation de 90 degrés */
    		transform-origin: left top; /* Définition de l'origine de la transformation */
    		left : 100px;
		}

        #progressText {
        	display: none;
            position: relative;
            left: 70px;
        }
        
        #progressBar::-webkit-progress-bar {
            background-color: #FFDED7; /* Couleur de fond de la barre de progression (pour les navigateurs WebKit) */
            border-radius: 10px; /* Bordures arrondies */
        }

        #progressBar::-webkit-progress-value {
            background-color: #803E39; /* Couleur de la progression de la barre de progression (pour les navigateurs WebKit) */
            border-radius: 10px; /* Bordures arrondies */
        }
        
        /*CUSTOMISATION DU BOUTON*/
        
        #fileInput {
            display: none; /* Masquer le bouton de fichier original */
        }

        #customFileButton {	
        	display: flex;
            background-image: url('logo_ajout.png'); /* Ajoutez le chemin vers votre image */
            width: 100px; /* Ajustez la largeur de votre image */
            height: 100px; /* Ajustez la hauteur de votre image */
            cursor: pointer; /* Définissez le curseur sur pointer pour indiquer qu'il est cliquable */
        	background-size: contain; /* Redimensionne l'image pour qu'elle tienne dans le conteneur tout en conservant les proportions */
    		background-position: center;
        }
        
        #uploadForm {
        	display: flex;
            flex-direction: column; /* Affiche les éléments verticalement */
            align-items: center; /* Centre les éléments horizontalement */
        }

