#MainMenu {
	left: 0px;
	width: 100%;
	box-sizing: border-box;
}

#MainMenu .mainmenu {
    display: inline-block; 
	padding: 10px 22px; 
	cursor: pointer; 
	vertical-align: top;
	color: black;
	transition: all .20s ease; 
	white-space: nowrap;
	font-weight: 100;
    font-size: 100%;
    line-height: 100%;
	margin: initial;
}

#MainMenu .mainmenu:hover {
    background-color: #5c79a2;
	color: white;
}

#MainMenu .mainmenu_active {
    background-color: #5c79a2;
	color: white;
}

#MainMenu .SubmenuContainer {
    visibility: hidden; 
	opacity: 0;
	border-bottom: 3px solid gold; 
	background-color: white; 
	padding: 15px 25px; 
	background: linear-gradient( to top, rgb(212,212,212) 0%, rgb(255,255,255) 30px);
	box-shadow: 0px 14px 58px 0px rgba(0,0,0,0.1);
	border-right: 1px solid rgb(232,232,232);
	border-left: 1px solid rgb(232,232,232);
	width: 100%;
	position: absolute;
	top: 0px; 
	box-sizing: border-box;
	transition: all .20s ease; 
	z-index: 99;
	left: 0px;
}

#MainMenu .SubmenuContainerVisible {
    visibility: visible; 
	opacity: 1;
	top: 0px;
	z-index: 100;
}

#MainMenu .SubmenuItemContainer {
    display: grid;
	grid-template-columns: repeat(6, 1fr);
	box-sizing: content-box; 
	margin-top: 20px; 
	margin-bottom: 20px;
	list-style: none;
	margin: 0px; 
	padding: 20px 0px;
	grid-gap: 20px;
	box-sizing: border-box; 
	font-size: 80%;
	font-weight: bold;
	letter-spacing: 0.25px;
	width: 100%;
	font-weight: bold; 
	font-size: 90%;  
	line-height: 22px;
	text-align: left;
}

#MainMenu .more {
    width: 100%; 
	text-align: left; 
	font-weight: bold; 
	font-size: 80%; 
	letter-spacing: 1.5px; 
	text-transform: uppercase;
    #border-bottom: 1px solid rgb(228,228,228);
	box-sizing: border-box;
}

#MainMenu .SubmenuContainer a,
#CategoryList .SubmenuContainer a {
	text-align: left;
	margin: 0px;	
	color: gray; 
	font-size: 100%;
}

#MainMenu .SubmenuContainer a:hover,
#CategoryList .SubmenuContainer a:hover {
	color: #ff6600; 
	#border-bottom: 1px dotted orange;
	transition: all .25s ease-out; 
}   

#MainMenu .imagebox  {
    animation-duration: 0.5s;
	transition-timing-function: ease-in;
	text-align: center !important;
}

#MainMenu .imagebox img {
	height: 100px; 
	padding-bottom: 10px;
	margin: 0px auto 5px auto;
}

#MainMenu .imagebox:hover img {
	opacity: 1;
}

#MainMenu .imagebox:hover .subcategory_title {
	color: #ff6600; 
	#border-bottom: 1px dotted orange;
	transition: all .25s ease-out; 
}

#MainMenu .subcategory_title {
	display: inline-block; 
	font-size: 100%; 
	text-align: center; 
	cursor: pointer; 
	white-space: normal; 
	line-height: 22px;
	border-bottom: 1px dotted transparent;
}

#CategoryList {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 16px;
    width: 100%;	
	margin-top: 20px; 
	margin-bottom: 20px;
	margin: 0px; 
}

#CategoryList .CategoryThumbnail {

	box-sizing: border-box; 
	font-size: 80%;
	font-weight: bold;
	letter-spacing: 0.25px;
	font-weight: bold; 
	font-size: 90%;  
	line-height: 22px;
	text-align: left;
	padding: 5px 5px;
	border: 1px solid rgb(232,232,232);
	width: 100%;
	text-align: center;
}

#CategoryList .CategoryThumbnail:hover {
	transition: all 0.4s ease; 
	border: 1px solid silver;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25);
}

#CategoryList .CategoryThumbnail img {
	height: 130px;
	max-width: 100%; 
	margin: 30px auto;
}

#CategoryList .imagebox:hover img {
    filter: saturate(100%);	
	opacity: 1;
}

#CategoryList .subcategory_title {
	font-size: 100%; 
	text-align: center; 
	cursor: pointer; 
	white-space: normal; 
	line-height: 22px;
	#border-bottom: 1px dotted transparent;
	height: 60px; 
	background-color: rgb(248,248,248);
	width: 100%;
	box-sizing: border-box;
	padding: 5px;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media screen and (min-width: 0px) and (max-width: 1023px) {
	
    #MainMenuMini {
		top: 62px;
		left: 0px;
		border: 0px;
		background-color: rgb(248,248,248);
		padding: 20px;
	}
	
}

@media screen and (min-width: 768px) and (max-width: 1023px) {
	
    #CategoryList {
        grid-template-columns: repeat(4, 1fr);
	}
	
}

@media screen and (min-width: 560px) and (max-width: 767px) {
	
    #CategoryList {
        grid-template-columns: repeat(3, 1fr);
	}
	
}

@media screen and (min-width: 0px) and (max-width: 559px) {
	
    #CategoryList {
        grid-template-columns: repeat(2, 1fr);
	}
	
}