/* UrduPaper Small Header Menu integration. Kept separate from card/market CSS. */
.small-header #small-menu > li.upw-topbar-item {
	float: right;
	height: 36px;
	margin: 0;
	padding: 0;
}

.small-header #small-menu > li.upw-topbar-item > .upw-topbar-chip {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	margin: 0;
	color: #f7f7f7;
	font-style: normal;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
	text-shadow: none;
	white-space: nowrap;
}

.small-header #small-menu > li.upw-topbar-date-item > .upw-topbar-date {
	min-width: 205px;
    padding: 0 11px;
    border-radius: 0 3px 3px 0;
    background: var(--accent-color);
    font-family: 'dashicons';
    font-size: 15px;
    color: black;
    font-weight: 600;
}

.small-header #small-menu > li.upw-topbar-weather-item > .upw-topbar-weather {
	min-width: 108px;
	padding: 0 9px;
	gap: 3px;
	background: rgba(0, 0, 0, 0.16);
	font-family: "Roboto", Arial, sans-serif;
	font-size: 12px;
	direction: ltr;
}

.upw-topbar-weather__temperature {
	font-variant-numeric: tabular-nums;
}

.upw-topbar-weather__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	margin-left: 1px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 17px;
	line-height: 1;
}

.upw-topbar-weather__icon::before { content: "\2601\FE0E"; }
.upw-topbar-weather__icon.is-clear::before { content: "\2600\FE0E"; }
.upw-topbar-weather__icon.is-partly-cloudy::before { content: "\26C5\FE0E"; }
.upw-topbar-weather__icon.is-cloudy::before { content: "\2601\FE0E"; }
.upw-topbar-weather__icon.is-fog::before { content: "\2261"; }
.upw-topbar-weather__icon.is-rain::before { content: "\2614\FE0E"; }
.upw-topbar-weather__icon.is-snow::before { content: "\2744\FE0E"; }
.upw-topbar-weather__icon.is-storm::before { content: "\26A1\FE0E"; }

.small-header #small-menu > li.upw-topbar-item.is-loading > .upw-topbar-chip {
	opacity: 0.84;
}

.small-header #small-menu > li.upw-topbar-item.is-ready > .upw-topbar-chip {
	opacity: 1;
	transition: opacity 160ms ease;
}

@media (max-width: 1199px) {
	.small-header #small-menu > li.upw-topbar-date-item > .upw-topbar-date {
		min-width: 184px;
		padding-right: 7px;
		padding-left: 7px;
		font-size: 13px;
	}

	.small-header #small-menu > li.upw-topbar-weather-item > .upw-topbar-weather {
		min-width: 94px;
		padding-right: 6px;
		padding-left: 6px;
		font-size: 11px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.small-header #small-menu > li.upw-topbar-item.is-ready > .upw-topbar-chip {
		transition: none;
	}
}
