.weather-wrapper {
	cursor: pointer;
	position: relative;
	display: inline-block;
}
.weather-forecast-widget-wrapper > a{
	text-decoration: none !important;
}
.weather-wrapper .deg {
	padding-left: 3px;
	padding-right: 2px;
}
.weather-wrapper .weather-button {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	z-index: 15;
	background-color: white;
	margin: 0;
	color: var(--dark-blue);
	border-radius: 20px;
	min-width: 65px;
	height: 35px;
}
.weather-wrapper .weather-button .temp {
	white-space: nowrap;
}
.weather-wrapper .weather-button .temp .fa {
	font-size: 14px;
}
.weather-wrapper .weather-button .weather-icon {
	margin-right: 3px;
	font-size: 16px;
}
.weather-wrapper .weather-dropdown {
	display: none;
	min-width: 320px;
	background-color: #fff;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 40;
	cursor: initial;
	color: #000;
}
.weather-wrapper .weather-dropdown.open {
	display: block;
}
.weather-wrapper .top-section {
	text-align: center;
	padding: 5px;
}
.weather-wrapper .forecast .temp-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}
.weather-wrapper .forecast .weather-icon {
	font-size: 22px;
	margin-right: 7px;
}
.weather-wrapper .forecast .temp {
	font-size: 32px;
}
.weather-wrapper .forecast .info {
	font-size: 18px;
}
.weather-wrapper .forecast-list .item {
	display: block;
	border-top: 1px solid #999;
	padding: 2px 8px;
}
.weather-wrapper .item-details {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 18px;
}
.weather-wrapper .item-details .data {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}
.weather-wrapper .item-details .data > div {
	font-size: 24px;
	padding: 0px 3px;
	text-align: center;
}
.weather-wrapper .item-details .weather-icon {
	font-size: 22px;
	display: inline-block;
	min-width: 35px;
	color: #fe9b0c;
}
.weather-wrapper .item-details .high {
	padding-right: 6px;
	width: 55px;
}
.weather-wrapper .item-details .sep {
	border-left: 1px solid #cdcdcd;
	height: 26px;
	width: 1px;
}
.weather-wrapper .item-details .low {
	color: #18a3de;
	width: 55px;
}

@media screen and (min-width: 1024px) {
	.weather-wrapper .weather-dropdown {
		right: 0;
		left: auto;
	}

	.weather-wrapper .weather-button {
		background-color: transparent;
		min-width: none;
		height: auto;
		color: white;
		margin-right: 15px;
	}

	.weather-wrapper .weather-button .weather-icon {
		font-size: 22px;
		margin-right: 12px;
	}
}

/* Weather Forecast Widget */

.weather-forecast-widget-wrapper {
	--green: rgb(64, 123, 106);
	position: relative;
	max-width: min(calc(100% - 40px), 1160px);
	background-color: var(--green);
	margin: 0 auto 10px auto;
}

.weather-forecast-widget-wrapper .weather-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.5rem;
	font-family: var(--font-body);
	font-weight: 600;
	padding: 1rem;
	font-size: 20px;
	margin: 0 auto;
}

.weather-forecast-widget-wrapper .top-section {
	display: grid;
	gap: 0.5rem;
	grid-template-columns: 1fr 1fr;
	text-align: center;
	text-transform: uppercase;
	background-color: #f2ece3;
	padding: 1rem 5px;
}

.weather-forecast-widget-wrapper .top-section .title {
	grid-column: span 2;
}

.weather-forecast-widget-wrapper .top-section .weather-icon { 
	grid-row: 2 / span 2;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 70px;	
}

.weather-forecast-widget-wrapper .top-section .weather-icon .wi {
	position: relative;
	top: 12px;
}

.weather-forecast-widget-wrapper .top-section .cond { grid-column-start: 2; }

.weather-forecast-widget-wrapper .top-section .temp { font-size: 32px; }

.weather-forecast-widget-wrapper .weather-icon { color: var(--green); }


.weather-forecast-widget-wrapper .forecast-list {
	display: flex;
	align-items: stretch;
	justify-content: space-evenly;
	font-size: 20px;
	gap: 1px;
}

.weather-forecast-widget-wrapper .forecast-list .item {
	flex: 1;
	text-align: center;
	background-color: #f2ece3;
	display: flex;
	flex-direction: column;
	padding: 0.5rem 4px;
}

.weather-forecast-widget-wrapper .forecast-list .item .weather-icon {
	margin: 10px 0;
	flex: 1 0 auto;
	font-size: 30px;
}

.weather-forecast-widget-wrapper .forecast-list .item .temp-wrapper .low {
	color: var(--green);
}

@media (min-width: 769px) {
	.weather-forecast-widget-wrapper .weather-container {
		grid-template-columns: auto 1fr;
	}
	
	.weather-forecast-widget-wrapper .top-section .weather-icon {
		grid-row: span 1;
		font-size: 40px;
	}
	
	.weather-forecast-widget-wrapper .top-section .weather-icon .wi {
		position: relative;
		top: 5px;
	}
	/* for rainy, etc. days, the icon extends lower so it should align to the top */
	.weather-forecast-widget-wrapper .weather-icon .wi:not(.wi-day-cloudy),
	.weather-forecast-widget-wrapper .weather-icon .wi:not(.wi-day-sunny) {
		top: 0;
	}
	
	.weather-forecast-widget-wrapper .top-section .cond {
		grid-column-start: 1;
		grid-column: span 2;
	}
	
	.weather-forecast-widget-wrapper .forecast-list .item {
		justify-content: stretch;
		padding: 1rem 4px;
	}
	
	.weather-forecast-widget-wrapper .forecast-list .item .temp-wrapper {
		display: flex;
		flex-direction: row;
		justify-content: center;
	}
	
	.weather-forecast-widget-wrapper .forecast-list .item .temp-wrapper .high,
	.weather-forecast-widget-wrapper .forecast-list .item .temp-wrapper .low {
		padding: 2px 4px;
	}
	
	.weather-forecast-widget-wrapper .forecast-list .item .temp-wrapper .high::after {
		color: var(--gray);
		position: relative;
		content: "|";
		font-weight: normal;
		margin-left: 0px;
		display: inline;
	}
}

@media (min-width: 1025px) {
	.weather-forecast-widget-wrapper .weather-container {
		width: 90%;
		min-width: 720px;
	}

	.weather-forecast-widget-wrapper .top-section {
		padding: 1rem 3rem;
	}
}