/*
 * Site-wide compatibility overrides for the DooPlay parent theme.
 */

footer.main {
	margin-bottom: 0;
}

/*
 * Data-backed quick filter shared by every DooPlay content sidebar.
 */
.sidebar .dtm-quick-filter {
	overflow: hidden;
	margin: 0 0 30px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 5px;
	background: #1d1d1d;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sidebar .dtm-quick-filter h2.widget-title {
	margin: 0;
	padding: 16px 15px 9px;
	border: 0;
	color: #f5f5f5;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.25;
}

.dtm-quick-filter form {
	margin: 0;
}

.dtm-quick-filter__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
	padding: 0 15px 9px;
}

.dtm-quick-filter__field {
	position: relative;
	display: block;
	min-width: 0;
	height: 34px;
	border-radius: 3px;
	background: #242424;
}

.dtm-quick-filter__field span {
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 9px;
	max-width: 48%;
	overflow: hidden;
	transform: translateY(-50%);
	color: #777;
	font-size: 12px;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
}

.dtm-quick-filter__field select {
	position: relative;
	z-index: 2;
	width: 100%;
	height: 34px;
	margin: 0;
	padding: 0 25px 0 50%;
	border: 0;
	border-radius: 3px;
	background: transparent;
	color: #e4e4e4;
	font-family: inherit;
	font-size: 12px;
	text-align: right;
	cursor: pointer;
}

.dtm-quick-filter__field select:focus,
.dtm-quick-filter__search:focus {
	box-shadow: inset 0 0 0 1px #7137b9;
}

.dtm-quick-filter__field option {
	background: #242424;
	color: #e4e4e4;
}

.dtm-quick-filter__search {
	display: block;
	width: calc(100% - 30px);
	height: 34px;
	margin: 0 15px 15px;
	padding: 0 10px;
	border: 1px solid #3b3b3b;
	border-radius: 3px;
	background: #1d1d1d;
	color: #f5f5f5;
	font-family: inherit;
	font-size: 12px;
}

.dtm-quick-filter__submit {
	display: block;
	width: 100%;
	min-height: 46px;
	padding: 10px 15px;
	border: 0;
	background: #6732ad;
	color: #fff;
	font-family: inherit;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.dtm-quick-filter__submit:hover,
.dtm-quick-filter__submit:focus {
	background: #7a42c2;
}

.dtm-quick-filter__submit .fas {
	margin-right: 5px;
}

@media only screen and (max-width: 768px) {
	.sidebar .dtm-quick-filter {
		max-width: 420px;
		margin-right: auto;
		margin-left: auto;
	}
}

@media only screen and (max-width: 360px) {
	.dtm-quick-filter__grid {
		grid-template-columns: 1fr;
	}
}
