* { 
  box-sizing: border-box;
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  text-decoration: none !important;
}

  body, html {
    height: auto;
  }   

  body {
    font-family: Georgia,"times,new roman",Times,serif;
  }


/*LOGIN-Accueil*/

.login2,.login3,.login4 {
 display:none;
}

.login1 {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
 }

.login_formulaire {
position:absolute;
top:30%;
text-align:center;
width:100%;
height:auto;
}

.login_formulaire h1,.login_formulaire h2 {
background:lightgray;
border:5px;
border-radius: 5px;
}

.bouton
{
background:gray;
border-radius:50%;
border:2px solid #fff;
width:160px;
height:80px;
color:#fff;
font-size: 12px;
}

.bouton:hover {
cursor:pointer;
}

.erreur {
height:auto;
color:#C7273D;
font-size:30px;
background:gray;
text-align:center;
}


@media screen and (max-width: 280px){

  .login_formulaire {
    top:20%;
  }

  .login_formulaire h1 {
    font-size: 20px;
  }
  .login_formulaire h2 {
    font-size: 18px;
  }
}

@media screen and (min-width: 281px) and (max-width:320px){

  .login_formulaire {
    top:35%;
  }

  .login_formulaire h1 {
    font-size: 20px;
  }
  .login_formulaire h2 {
    font-size: 18px;
  }
}

@media screen and (min-width: 540px){
  .login_formulaire {
    left:0%;
    top:50%;

  }

  .login1 {
    display:none;
  }

  .login3 {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
  }
}

@media screen and (min-width: 768px){

  .login4 {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .login3,.login2 {
    display:none;
  }

  .login_formulaire {
    top:35%;
  }

  .bouton {
    font-size: 20px;
  }

}

@media screen and (min-width: 880px){

  .login_formulaire {
    top:30%;
  }
}

@media screen and (min-width: 1024px){

  .login_formulaire {
    top:45%;
  }

  .login_formulaire h1 {
    font-size: 40px;
  }
  .login_formulaire h2 {
    font-size: 38px;
  }
}

@media screen and (min-width: 1250px){

  .login2 {
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .login4 {
    display:none;
  }

  .login_formulaire {
    position: absolute;
    top:60%;
    left: 50%;
    transform:translate(-50%, -50%);
    text-align: center;
    width:50%;
  }

  .login_formulaire h1,.login_formulaire h2 {
    background:none;
    border:0px;
    border-radius: 0px;
  }
}

@media screen and (min-width: 1700px){

  .login_formulaire {
    top:65%;
  }

  .login_formulaire h1 {
    font-size: 50px;
  }
  .login_formulaire h2 {
    font-size: 48px;
  }

}

@media screen and (min-width: 1800px){

  .login_formulaire {
    top:70%;
  }

  .login_formulaire h1 {
    font-size: 60px;
  }
  .login_formulaire h2 {
    font-size: 58px;
  }

}

@media screen and (min-width: 2200px){

  .login_formulaire {
    top:55%;
  }

  .login_formulaire h1 {
    font-size: 80px;
  }
  .login_formulaire h2 {
    font-size: 60px;
  }

}

@media screen and (min-width: 3000px){

  .login_formulaire {
    top:70%;
    width:80%;
  }

  .login_formulaire h1 {
    font-size: 100px;
  }
  .login_formulaire h2 {
    font-size: 80px;
  }

  .bouton {
    font-size: 50px;
    width:320px;
    height:160px;
  }
}

/*Déconnexion*/

#galeries p {
position: absolute;
top: 50%;
left: 50%;
transform:translate(-50%, -50%);
background: gray;
color:#C7273D;
padding:20px;
border-radius: 5px;
}

/*Galeries*/

.barre_galeries {
display:flex;
justify-content: space-around;
background: green;
border-radius: 5px;
}

.barre_galeries li a {
color:#fff;
}

#galeries {
background-image:url("images/vintage.jpg");
background-repeat:repeat;
padding-left:5%;
padding-right: 5%;
}

#galeries h4 {
  text-align: center;
  color:#fff;
}

#galeries ul li {
margin:10px;
}

.titre_galeries{
padding:20px;
display: flex;
justify-content: space-between;
text-align: center;
font-size: 40px;
border-bottom: 20px solid red;
border-radius: 5px;
color:#fff;
}

.gallery-img{
width:100%;
max-width:300px;
cursor: pointer;
transition: 0.3s;
}

.gallery-img:hover {opacity: 0.7;}

/*Btn Scroll UP - Khalil*/
.btn_scroll-up{
font-size: 4em;
color: red;
z-index: 999;
position: fixed;
top: 88%;
right: 25px;
}

/*Btn Scroll DOWN - Khalil*/
.btn_scroll-down{
font-size: 4em;
color: red;
z-index: 999;
position: fixed;
top: 88%;
left: 25px;
}

/*Responsive Grid for Images*/

.row {
display: flex;
flex-wrap: wrap;
padding: 0 4px;
margin-top: 2.5%;
padding-bottom: 2.5%;
}

.column {
flex: 25%;
max-width: 25%;
padding: 0 4px;
}

.column img {
margin-top: 8px;
vertical-align: middle;
width: 100%;
}

/* The Modal (background) */

.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-image {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
height: auto;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 60px;
}

/* Add Animation - Zoom in the Modal */
.modal-content, #caption {
animation-name: zoom;
animation-duration: 0.6s;
}

@keyframes zoom {
from {transform:scale(0)}
to {transform:scale(1)}
}

/* The Close Button */
.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}

.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}

.not_show-container{
display: none;
} 

/* galeries */
@media only screen and (max-width: 700px){
.modal-content {
  width: 100%;
}
}

@media screen and (max-width: 800px) {
.column img{
  margin-top: 8px;
  vertical-align: middle;
  margin-bottom: 3em;
  width: 70%;
}

.column {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
}

@media screen and (max-width: 600px) {
.column {
  flex: 100%;
}
}

@media all and (max-width: 767px){

.barre_galeries {
  display: block;
  text-align: center;
}

.kh-container {
  margin-bottom: 4em;
  margin-top: 2em;
}

#kh-categories li{
  margin-right: 1em;
}

#kh-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.titre_galeries {
  display:block;
  width:100%;
}

.titre_galeries li{
  font-size: 35px;
}

}


@media screen and (min-width: 1250px){

#galeries {
  padding-left:10%;
  padding-right: 10%;
}
}

/*Administration*/

#administration {
background-image:url("images/vintage.jpg");
background-repeat:repeat;
padding-left:5%;
padding-right: 5%;
padding-bottom: 5%;
height:auto;
color:#fff;
}

#administration ul li {
margin:10px;
}

#administration label {
color:gray;
}

#administration table td a {
color:gray;
}

#administration table td a:hover {
color:blue;
}

#choix_colonne {
background:#fff;
margin:10px;
padding:5px;
border-radius: 5px;
text-align: center;
}

#choix_colonne label {
color:gray;
}

#photo {
height: auto;
}

#liste {
height:auto;
padding-bottom: 20px;
}

.afficher_not_responsive {
display:block;
}

.afficher_responsive {
display:none;
}

@media all and (max-width: 767px){

.afficher_not_responsive {
  display:none;
}

.afficher_responsive {
  display:block;
}

.menu-card {
  padding-left:0px;
  margin:auto;
}

.card-title {
  flex-grow: 1;
  color:#767575;
}

.card-title a {
  color:gray;
}

.card-title a:hover {
  color:blue;
}

.lien-card {
  padding-right:10px;
}
}


/* Footer*/
footer{
  height: auto;
  background: black;
  font-size: 10px;
  padding:15px;
  color:grey;  
  width:100%;            
}
          
.page {
  display:flex;
  justify-content: space-between;
  cursor:pointer;
  }

footer a:hover{
  color:#fff;;
}

footer a{
  color:grey;
}
