.SearchOverlay {
  height: 0;
  width: 100%;
  position: fixed; 
  z-index: 6000;
  left: 0;
  top: 0;
    background-color: #ebebeb;
    transition: 0.5s;
	overflow: hidden;
}


    
/* The navigation links inside the overlay */
.SearchOverlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 22px;
  color: #FFF;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}
	
	
	
	
	
.LoginOverlay {  
  height: 0;
  width: 100%;
  position: fixed; 
  z-index: 6000; 
  left: 0;
  top: 0;
  background-color: #ebebeb; 
  overflow-x: hidden; 
  transition: 0.5s;
	overflow: hidden;
}


	
	

/* When you mouse over the navigation links, change their color */
.SearchOverlay a:hover, .SearchOverlay a:focus {
  color: #fff;
}

/* Position the close button (top right corner) */
.SearchOverlay .closebtn {
  font-size: 60px;
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0;
    text-align: center;
}

/* 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) {
  .SearchOverlay a {font-size: 20px}
  .SearchOverlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
	
	
	
	
	
	
/* When you mouse over the navigation links, change their color */
.LoginOverlay a:hover, .LoginOverlay a:focus {
  color: #f1f1f1;
}

/* Position the close button (top right corner) */
.LoginOverlay .closebtn {
  font-size: 60px;
    display: block;
    margin: 0 auto;
    margin-top: 50px;
    padding: 0;
    text-align: center;
}

/* 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) {
  .LoginOverlay a {font-size: 20px}
  .LoginOverlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
	