*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
 
}

body{
    
    overflow:hidden;
    
}

.background{

flex:1 !important;


}

.image_grid{
    gap:0px !important;
}


.image_grid > div{

flex:2
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
  }
  
  td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
  }
  
  tr:nth-child(even) {
    background-color: #dddddd;
  }

  #map {
    width: 50%;
    height: 400px;
  }


.margin_right_desktop{
    margin-right:25px;
}


.popup{
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.374);
    inset: unset;
    width: 100vw;
    height: 100vh;
    z-index: 1000000;
    display: none;
}

.popup_cont{
    background-color: white;
    border-radius: 20px;
    padding: 20px;
}

.add_new_btn{
    background-color: rgb(11, 112, 156);
    padding: 10px;
    border-radius: 15px;
    width: fit-content;
    color: white;
    font-size: 14px;
}

.flex{
    display: flex;
   
}

.grid{
  display: grid;
  grid-template-columns: repeat(3,32.3%);
  justify-content: center;
  gap: 20px;
  margin-top: 5vh;

}

#grid{
        overflow-y: scroll;
    height: 90vh ;
    padding: 15px;
    direction: ltr;
    
}

.grid_cont{
  display: flex;
  flex-direction: column;
  gap: 10px;
  direction:rtl;
}

.grid_cont > .grid_image > img{

  border-radius: 15px;
  width: 100%;
  height: 300px;
  object-fit: cover;

}

.store_details{
  border: 1px solid gray;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
}

select{
  padding: 20px;
  padding-left: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  border: 1px solid rgba(128, 128, 128, 0.333);
  border-radius: 8px;
  width: 100%;
}

#filter_btn{


  outline: none;
  border: none;
  background-color:black;
  padding: 20px;
color: white;
  padding-top: 10px;
  padding-bottom: 10px;
  border-radius: 10px;
  transition: .3s;
  cursor: pointer;
  width: 200px;

}


#filter_btn:hover{
  opacity: .7;
}


.filter{
  width: 100%;
  align-items: center;
  gap: 20px;
  margin-top: 3vh;
  
}

.filter > div{
  width: 100%;
}

.login_cont{
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;


}

.login_cont > form{
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  width: 40vw;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;


}

.login_cont > form > div{

  width: 100%;


}

.login_cont > form > div > input{
  width: 100%;
  outline: none;
  border: 1px solid rgba(128, 128, 128, 0.355);
  border-radius: 8px;
  padding: 10px;
  margin-top: 5px;

}

.login_cont > form > button{
  outline: none;
  border: none;
  background-color: black;
  padding: 10px;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}

.login_cont > form > button:hover{
  opacity: .7;
}

button{
  color: white;
  background-color: black;
  outline: none;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
}

button:hover{
  opacity: .7;
}

.add_new_link{
  color: inherit;
  text-decoration: none;
  color: white;
  background-color: rgb(11, 112, 156);
  outline: none;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: .3s;
  font-size: 13px;
}


.grid_add{

  display: grid;
  grid-template-columns: repeat(3,32.5%);
  width: 100%;
  justify-content: center;
  gap: 20px;


}
.grid_add > div{
  width: 100%;
}
.grid_add > div > input,.grid_add > div > .flex > div > input{
  outline: none;
  border: 1px solid gray;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
}

.grid_add >  div >  .flex > select{
  width: 100%;
  flex: 1;
}


.grid_add >  div >  .flex{
  gap: 10px;
}

.map_cont{
 
  margin-top: 5vh;
}


.map_cont > .flex{
  display: flex;
  gap: 10px;
  width: 100%;
}

.map_input{
  display: flex;
  gap: 5px;
 flex-direction: column;
}



.map_input > input{
  outline: none;
  border: 1px solid gray;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  width: 100%;
}

.add_new_item{
  width: 30%;
  margin-top: 5vh;
  margin-bottom: 3vh;
}

.place_cont > .img_cont{
  height: 600px;
  margin: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.place_cont > .img_cont > h1{
  position: absolute;
  bottom: 5%;
  right: 15%;
  color: white;
}

.place_cont > .img_cont >img{

border-radius: 15px;

height: 554px;

width: 77%;

margin: auto;

/* object-fit: cover; */
}

.place_cont > .flex{
  margin-top: 5vh;
  margin-bottom: 5vh;
  justify-content: space-around;
  flex-direction: column;
}

a{
  text-decoration: none;
  color: inherit;
}

.nav{
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 10px;
  padding-left: 0px;
}

.nav > li{
  border:1px solid gray;
  padding: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 8px;
 cursor: pointer;
 transition: .3s;
}
.nav > li:hover,.nav > .active{
  background-color: gray;
  padding: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  border-radius: 8px;
  color: white;
}

.header{
  display: flex;
  justify-content: center;
  padding: 10px;
}

.address{
  font-size: 18px;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
}

.disabled{
  pointer-events: none;
  opacity: .5;
}

.header{

display:none;

}

@media only screen and (max-width: 900px) {
    
    .margin_right_desktop{
    margin-right:0px !important;
}

body{
    overflow:auto !important;
}



  .grid{
    grid-template-columns: repeat(1,100%);
    height:unset !important;
    
  }
  .grid_add{
    grid-template-columns: repeat(2,47%);
    
  }

  .filter_mobile{
    flex-direction: column;
  }

h1{
 font-size: 19px;
}

.address{
  font-size: 15px;
}

.place_cont > .img_cont{
  height: 250px;
}

.place_cont > .img_cont >img {
  height: 250px;
width:100% !important;
}



.grid_image{
display:flex;
}



.address{
  font-size: 18px;
text-overflow: unset !important;
white-space: unset !important;
overflow: hidden;
}

.header{

display:flex;

}

.background{
display:none;
}

body{

width:95%;
margin:auto;

}

.place_cont{

width:90% !important

}




 
}
