/* 
 * 2025-11-10 
 * 
*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

body, html { 
	height: 100%;
}

a { 
	color: #333;
	text-decoration: none; 
	outline: none; 
	transition: all 0.2s;
}

ul { 
	margin: 0;
	padding: 0;
	list-style: none;
}

body { 
	overflow-x: hidden;
	background: #f5f5f5;
	font-size: 14px;
	color: #333;
	line-height: 1.5;
	font-family: "PingFang SC","Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
}

.wraper {
	max-width: 648px;
	margin: 0 auto;
	position: relative;
	background: #FFF;
	min-height: 100vh;
}

/* Index Header */
.index-header { 
	padding: 20px 20px;
	min-height: 320px;
	background-image: -webkit-linear-gradient(180deg, #2af598 0%, #009efd 100%);
	background-image: -o-linear-gradient(180deg, #2af598 0%, #009efd 100%);
	background-image: -moz-linear-gradient(180deg, #2af598 0%, #009efd 100%);
	background-image: linear-gradient(180deg, #2af598 0%, #009efd 100%);
}
.index-header-top {
	display: flex;
	align-items: center;
}
.curr-city { 
	color: #fff; 
	font-weight: bold;
}
.curr-city-weather-info {}
.curr-city-weather-info .temperature {
	display: flex;
	justify-content: center;
	padding-top: 25px;
	padding-bottom: 25px;
}
.curr-city-weather-info .temperature .temperature-data {
	position: relative;
	width: 70px;
	color: #FFF;
	font-size: 48px;
	font-weight: 700;
	text-align: center;
}
.curr-city-weather-info .temperature .temperature-data:after {
   content: "°";
   font-family: AvenirNextArabic-Bold, PingFang SC;
   font-size: 20px;
   font-weight: 400;
   position: absolute;
   right: -5px;
   text-align: left;
   top: -5px;
}
.curr-city-weather-info .temperature .temperature-info {
	position: relative;
	width: 140px;
}
.curr-city-weather-info .temperature .temperature-info .txt {
	position: absolute;
	bottom: 16px;
	left: 0;
	right: 0;
	padding-left: 10px;
	color: #FFF;
}
.curr-city-weather-info .temperature .temperature-info .txt span {
	display: block;
}
.curr-city-weather-info .basic-data { 
	display: flex;
	justify-content: center;
	padding: 10px 15px;
	border-radius: 4px;
	background: rgb(33 37 41 / 26%);
	color: #FFF;
}
.curr-city-weather-info .basic-data .item { 
	padding: 0 12px;
	text-align: center;
}
.curr-city-weather-info .basic-data .item span, .curr-city-weather-info .basic-data .item strong {
	display: block;
}
.curr-city-weather-info .basic-data .item span {
	margin-bottom: 10px;
}
.curr-city-weather-info .basic-data .item strong {
	font-weight: 500;
}

/* simple header */
.simple-header {
	position: relative;
}
.simple-header-nav {
	display: flex;
	align-items: center;
	padding: 15px 10px;
	border-bottom: 1px solid #e9ecef;
}
.simple-header-nav .go-back {
	margin-right: auto;
}
.top-header-menu-data { 
	position: absolute;
	left: 0;
	right: 0;
	z-index: 1000;
	max-height: 230px;
	padding: 15px 14px;
	overflow-x: hidden;
	overflow-y: auto;
	background-color: #0dcaf0;
}
.top-header-menu-data ul li a {
	display: block;
	padding: 5px 2px;
	border-radius: 4px;
	background-color: #FFF;
	text-align: center;
}
.index-top-collapse {
	left: 20px;
	right: 20px;
	max-height: 100%;
	background-color: #FFF;
}
.index-top-collapse ul li a { 
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	border: 1px solid #e9ecef;
}

/* main */
.search {
	padding: 15px 10px;
	background-color: #e3f5ff;
}
.search .input-group .btn {
	background-color: #b7e5ff!important;
}
.major-cities {
	padding: 15px 10px;
}
.major-cities-ul li a {
	display: block;
	border: 1px solid #e9ecef;
	border-radius: 2px;
	line-height: 24px;
	text-align: center;
}

/*  */
.breadcrumb { 
	margin-bottom: 0;
	padding: 25px 15px;
}
.breadcrumb .breadcrumb-item a { 
	color: #009efd!important;
}
.category-sub-nav {
	padding: 15px 10px;
}
.category-sub-nav ul li a {
	display: block;
	padding: 5px 2px;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	text-align: center;
}


/* List */
.weather-list {
	padding: 15px 10px;
}
.list-head { 
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
	text-align: center;
}
.list-head h3 { 
	position: relative;
	margin: 0;
	padding-bottom: 15px;
	font-size: 16px;
	font-weight: 700;
}
.list-head h3::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 20px;
	height: 4px;
	background: linear-gradient(90deg, #3498db, #2ecc71);
	border-radius: 2px;
}
.weather-list-item { 
	margin-bottom: 10px;
	border: 1px solid #e9ecef;
	border-radius: 2px;
}
.weather-list-item a {
	display: flex;
	align-items: center;
	padding: 10px;
}
.weather-list-item a .city {
	width: 90px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.weather-list-item a .phrase {
	display: flex;
}
.weather-list-item a .phrase img {
	margin-right: 10px;
}
.weather-list-item a .temperature {
	margin-left: auto;
	text-align: right;
}
.weather-list-item a .temperature em { 
	color: #F00;
	font-style: normal;
	font-weight: 500;
}

.pagination {
	display: flex;
	justify-content: center;
	text-align: center;
}
.pagination span, .pagination a {
	display: block;
	margin: 0 4px;
	padding: 5px 10px;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	background-color: #FFF;
	text-align: center;
}
.pagination .current {
	background-color: #0d90fd;
	color: #FFF!important;
}

/* Weather Show */
.weather-hours {
   position: relative;
   background-image: linear-gradient(to top, #ffffff 30%, #c7f4f9 100%);
}
.weather-hours-data {
   display: flex;
	overflow-x: auto;
	padding: 15px 10px;
	gap: 10px;
	scrollbar-width: thin;
	scrollbar-color: transparent transparent;
	transition: scrollbar-color 0.3s;
}
.weather-hours-data:hover,
.weather-hours-data:active,
.weather-hours-data:focus {
	scrollbar-color: #ccc transparent;
}
.weather-hours-data::-webkit-scrollbar {
	height: 6px;
}
.weather-hours-data::-webkit-scrollbar-track {
	background: transparent;
}
.weather-hours-data::-webkit-scrollbar-thumb {
	background-color: transparent;
	border-radius: 3px;
	transition: background-color 0.3s;
}
.weather-hours-data:hover::-webkit-scrollbar-thumb,
.weather-hours-data:active::-webkit-scrollbar-thumb,
.weather-hours-data:focus::-webkit-scrollbar-thumb {
	background-color: #ccc;
}
.weather-hours-data .item { 
	display: flex;
	flex-direction: column;
	flex: 0 0 auto;
	width: 80px;
	border-radius: 4px;
	background-color: #fff;
	text-align: center;
}
.weather-hours-data .item .temperature, .weather-hours-data .item .times {
	padding: 5px 0;
}
.weather-hours-data .item .phrase-img {
	padding: 5px 0;
}
.phrase-img img {
	display: block;
	margin: 0 auto;
	height: auto;
	vertical-align: middle;
}

/* Weather Aqi */
.weather-aqi-item .col-box { 
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px;
	border: 1px solid #e9ecef;
	border-radius: 4px;
	text-align: center;
}
.weather-aqi-item .col-box img {
	display: block;
	margin: 0 auto 10px;
}
.weather-aqi-item .col-box p {
	margin: 0;
}

/* Footer */
.footer {
	padding: 25px 20px;
	background-color: #FFF;
	color: #6a6a6a;
	font-size: 12px;
	text-align: center;
}
.footer a {
	color: #6a6a6a!important;
}












