#MenuLogo {
    display:inline-block;
    width: 80px;
    margin: 0px;    
    padding: 0px;
    vertical-align: bottom;
}


.CloseBTNReverse {
    display: inline-block !important;
    height: auto;
    width: 120px;
    /* background-color: #fff; */
    font-size: 16px;
    font-weight: bold;
    color: #FFF!important;
    border: 0;
    padding: 10px;
    text-align: center;
    position: absolute;
    bottom: 0;
    margin: 0 auto;
    right: 50%;
    left: 50%;
    border-radius: 10px 10px 0px 0px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}


.CloseBTNReverse img, .BtnContract img{
	display:inline-block;
	width: 15px;
}

.BtnContract{
	float: right;
}

.icon-home {
    background-image: url(/media/menu/icon_house_white.svg);
    background-repeat: no-repeat;
    height: 20px;
    width: 20px;
    display: inline-block;
    vertical-align: bottom;
}

.icon-arrow-up {
    background-image: url(/media/menu/icon_arrow_up.svg);
    background-repeat: no-repeat;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: bottom;
}

.icon-arrow-down {
    background-image: url(/media/menu/icon_arrow_down.svg);
    background-repeat: no-repeat;
    height: 75px;
    width: 75px;
    display: inline-block;
    vertical-align: bottom;
}
/* The Overlay (background) */
.overlay {
  height: 0;
  width: 100%;
  overflow:hidden;
  position: fixed; 
  z-index: 50; 
  left: 0;
  top: 0;
  background-color: #AE1C29;
  background: rgb(174,28,41);
  background: linear-gradient(0deg, rgba(174,28,41,1) 0%, rgba(174,28,41,1) 200px, rgba(103,23,31,1) 100%);
  overflow-x: hidden; 
  transition: 0.5s; 
}

/* Position the content inside the overlay */
.overlay-content {
  position: absolute;
  width: 100%; /* 100% width */
  padding: 0 4em;
  box-sizing: border-box;
  margin-top: 165px;
}
.overlay-contentB {
  position: absolute;
  width: 100%; /* 100% width */
  padding: 0 4em;
  box-sizing: border-box;
  margin-top: 125px;
}
.FeaturesClose{
	    /* background-image: url(/media/images/icon_arrow_down_black.svg); */
}
.MenuColFour {column-count: 4;}
.MenuColThree {column-count: 3;}
.MenuColTwo {column-count: 2;}



    .overlay-content ul {
		max-width: 1200px;
		margin:0 auto;
        
		padding:0;
        list-style: none;
    }
    
/* The navigation links inside the overlay */
.overlay a, .overlayB a {
  padding: 8px;
  text-decoration: none;
  font-size: 18px;
  line-height: 22px;
  color: #FFF;
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}


	
/* The Overlay (background) */
.overlayB {
  height: 0;
  width: 100%;
  overflow:hidden;
  position: fixed; 
  z-index: 50; 
  left: 0;
  top: 0;
  background: rgb(51,51,51);
  background: linear-gradient(0deg, rgba(51,51,51,1) 0%, rgba(51,51,51,1) 200px, rgba(0,0,0,1) 100%);
  overflow-x: hidden; 
  transition: 0.5s; 
}




.overlay-contentB UL {
		max-width: 1200px;
		margin:0 auto;
        break-inside: avoid-column;
		padding:0;
        list-style: none;
}

.overlay-content UL LI, .overlay-contentB UL LI {
	break-inside: avoid-column;
}

/* The navigation links inside the overlay */
.overlayB h2 {
  padding: 10px 20px;
  text-decoration: none;
  font-size: 24px;
  line-height: 30px;
  color: #fff;
  transition: 0.3s;
  border-bottom:2px solid #fff;
	max-width: 1200px;
}
	
	

/* When you mouse over the navigation links, change their color */
.overlay a:hover, .overlay a:focus, .overlayB a:hover, .overlayB a:focus {
  border-radius: 10px;
  box-shadow: 0em 0em 1em rgba(0,0,0,0.4) inset;
}
.overlay a:hover, .overlay a:focus { background-color: #AE1C29;}
.overlayB a:hover, .overlayB a:focus { background-color: #333333;}


/* Position the close button (top right corner) */
.overlay .closebtn, .overlayB .closebtn {
  font-size: 60px;
    display: block;
    margin: 0 auto;
    margin-top: 150px;
    padding: 0;
    text-align: center;
}
.overlay a.closebtn:hover, .overlayB a.closebtn:hover {
	background-color:transparent;
	box-shadow: none;
}
/* 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 a {font-size: 20px}
  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
	


/* 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) {
  .overlayB a {font-size: 20px}
  .overlayB .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}
	
    
/* Place the navbar at the bottom of the page, and make it stick */
.BottomNavbar {
  
  overflow: hidden;
  position: fixed;
  bottom: 0;
  width: 100%;
  text-align: center;
  display: block;
    background-image: url("/media/menu/white-gradient.png");
    padding-top: 100px;
  /*height: 50px;*/
}

/* Style the links inside the navigation bar */
.BottomNavbar a {
  
  display: inline-block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 20px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.BottomNavbar a:hover {
  background-color: #ddd;
  color: black;
}

/* Add a color to the active/current link */
.BottomNavbar a.active {
  background-color: #4CAF50;
  color: white;
}
    
/* Add a color to the active/current link */
.BottomNavbar a.current {
  background-color: #BE2F37;
  color: white;
}
    


.TertiaryMenu {
    margin: 0 auto;
    padding: 0;
    display: block;
    height: auto;
    width: 100%;
    background-color: #333;}


.SubMenuButton {
    
    display: block;
    margin: 0 auto;
    text-align: center;
    
    }
    
.SubMenuButton A{
    color: #fff;
    text-decoration: none;
    margin: 0 auto;
    background-color: #333;
    text-align: center;
    padding: 10px;
    width: auto;
    border-radius:0px 20px 0 0;
    display:inline-block;
    font-weight: bold;
        }
    
.SubMenuButton .RedHome{
    
    color: #fff;
    text-decoration: none;
    margin: 0 auto;
    background-color: #BE2F37 !important;
    text-align: center;
    padding: 10px;
    width: auto;
    border-radius: 20px 0px 0 0;
    }