/* Styles for Selected Writing Dropdowns Widget */

.category-dropdown-widget {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 25px;
	width: 100%;
	box-sizing: border-box;
}

.subcategory-dropdown {
	width: 100%;
	position: relative;
}

.subcategory-title {
	cursor: pointer;
	padding-block: 9px;
	text-align: center;
	color: var( --e-global-color-text );
	font-family: "din-2014", Sans-serif;
	font-size: 20px;
	font-weight: 500;
	text-transform: uppercase;
	line-height: 24px;
}

.subcategory-dropdown:nth-of-type(1) .subcategory-title {
	background-color: #D5D5D5;
}

.subcategory-dropdown:nth-of-type(2) .subcategory-title {
	background-color: #B5BBDF;
}

.subcategory-dropdown:nth-of-type(3) .subcategory-title {
	background-color: #C4DCD6;
}

.subcategory-title:hover {
	background-color: #c2c2c2;
}

.subcategory-entries {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	width: 100%;
	z-index: 3;
	padding: 0 15px;
	background-color: #fff;
	font-family: "din-2014", Sans-serif;
	max-height: 350px;
  	overflow-y: scroll;
	scrollbar-width: thin;
  	scrollbar-color: #DEDEDB #fff;
}

.subcategory-entries p {
	margin: 30px 0;
	font-size: 20px;
	text-align: center;
	font-family: inherit;
	font-weight: medium;
}

.subcategory-entries a {
	text-decoration: none;
	color: #000;
	transition: color 0.3s;
}

.subcategory-entries a:hover {
	color: #0073aa;
}


@media screen and (max-width: 767px) {
	.category-dropdown-widget {
		grid-template-columns: repeat(1, 100%);
		box-sizing: border-box;
	}
	
}