/*
 * wbini Weather WebSite Main Css Style
 * 2026-01-20
 */

/* Basic */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

a { 
	text-decoration: none; 
	color: #333333; 
	outline: none; 
	transition: all 0.2s;
}

ul { 
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-link {
	color: #333333;
}

.nav-link:hover {
	color: #e64545;
}

.nav .nav-item .nav-link { 
	font-size: 14px;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 960px;
    }
}

body { 
	background-color: #f5f8fa;
	font-size: 14px;
	line-height: 1.5;
	font-family: "PingFang SC","Helvetica Neue",Helvetica,Arial,"Microsoft Yahei","Hiragino Sans GB","Heiti SC","WenQuanYi Micro Hei",sans-serif;
}

/* Main Header */
.top-header {
	background-color: #FFF;
	-webkit-box-shadow: 0 1px 2px 0 rgba(210,210,210,0.50);
   box-shadow: 0 1px 2px 0 rgba(210,210,210,0.50);
}
.main-header {
	position: relative;
}
.main-header-inr {
	display: flex;
	align-items: center;
	padding-top: 10px;
	padding-bottom: 10px;
}
.logo-box {
	margin-right: auto;
	} .logo-url {
		display: block;
	} .logo {
	max-width: 132px;
}
.top-search form {
	position: relative;
	} .top-search form .bi {
	position: absolute;
	top: 8px;
	right: 15px;
	color: rgba(33, 37, 41, 0.5);
}
.top-search .form-control {
	width: 120px;
	transition: width 0.3s ease;
	box-sizing: border-box;
	border-radius: 23px;
}
.top-search .input-large {
	width: 190px!important;
}
.top-nav .btn {
	padding: 0 5px;
}
.top-nav .btn .bi {
	font-size: 19px;
}
@media (max-width: 768px) {
	.logo {
		max-width: 120px;
	}
	.top-search .form-control {
		width: 90px;
		font-size: 12px;
	}
}

/* Index Curr City Weather */
.curr-city-weather {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
	background-image: -webkit-radial-gradient(circle farthest-side at 10% 90%, #e8f6c3, #e3fff7 70%, #bff6dd);
	background-image: -o-radial-gradient(circle farthest-side at 10% 90%, #e8f6c3, #e3fff7 70%, #bff6dd);
	background-image: -moz-radial-gradient(circle farthest-side at 10% 90%, #e8f6c3, #e3fff7 70%, #bff6dd);
	background-image: radial-gradient(circle farthest-side at 10% 90%, #e8f6c3, #e3fff7 70%, #bff6dd);
}
.weather-city {
		display: flex;
	} .weather-city span {
		display: flex;
		align-items: center;
		padding: 3px 10px;
		border-radius: 12px;
		background-color: #85bc40;
		color: #FFF;
		font-size: 14px;
	} .weather-city span .bi {
		margin-right: 2px;
		color: #ffeb3b;
		font-size: 16px;
	} .weather-city span b {
		font-weight: 500;
}

.weather-info {
	display: flex;
	justify-content: center;
	padding: 25px 0;
}
.weather-info .phrase-img {
	margin-right: 15px;
}
.weather-info .phrase-img img {
	max-width: 80px;
}
.weather-info .temperature {
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.weather-info .temperature .temperature-data {
	position: relative;
	font-size: 28px;
}
.weather-info .temperature .temperature-data em {
	font-size: 22px;
	font-style: normal;
}
.weather-info .temperature .temperature-info {

}
.curr-city-weather .weather-meta {
	display: flex;
	justify-content: center;
	border-radius: 6px;
	
}
.curr-city-weather .weather-meta .item {
	width: 100px;
	margin: 0 5px;
	padding: 10px 12px;
	border-radius: 6px;
	background-image: -webkit-radial-gradient(circle farthest-side at 10% 90%, #c6f864, #4ab037 70%, #4ac014);
	background-image: -o-radial-gradient(circle farthest-side at 10% 90%, #c6f864, #4ab037 70%, #4ac014);
	background-image: -moz-radial-gradient(circle farthest-side at 10% 90%, #c6f864, #4ab037 70%, #4ac014);
	background-image: radial-gradient(circle farthest-side at 10% 90%, #c6f864, #4ab037 70%, #4ac014);
	color: #FFF;
	text-align: center;
}
.curr-city-weather .weather-meta .item div:nth-child(2) {
	height: 2px;
	margin: 5px 0;
	background: radial-gradient(
		circle, rgb(137 225 27) 0%,
		rgb(134 214 137 / 80%) 30%,
		rgb(78 236 84 / 21%) 60%,
		rgba(255, 255, 255, 0) 100%
	);
}
.curr-city-weather .weather-meta .item div:nth-child(1) {
	color: #FFF;
	font-size: 16px;
}

@media (max-width: 768px) {
	.curr-city-weather .weather-meta .item {
		width: 100%;
		margin: 0 2px;
		padding: 10px 5px;
		font-size: 12px;
	}
	.curr-city-weather .weather-meta .item div:nth-child(1) {
		font-size: 12px;
	}
}

/* Main Province Nav */
.nav-province {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.nav-province li .menu-item {
	display: block;
	padding: 4px 5px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 4px;
	text-align: center;
}
.nav-province li .menu-item:hover {
	background-color: #85bc40;
	color: #FFF!important;
}
@media (max-width: 768px) {
	.nav-province li a {
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
	}
}

/* Category */
.category-nav-data { 
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.category-nav-data-box {
	padding-bottom: 15px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.075);
}
.category-nav-data-box dt {
	margin-bottom: 15px;
	font-size: 16px;
}
.category-nav-data-box dd {
	margin-bottom: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
	gap: 10px;
}
.category-nav-data-box dd a {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.category-nav-data-box dd a:hover {
	color: #0d6efd;
}
.category-nav-data-box:last-child {
	margin-bottom: 0;
	border-bottom: 0;
}

/* List Weather */
.list-header { margin-bottom: 30px; padding: 15px 0; text-align: center; }
.list-header h3 { position: relative; margin-bottom: 0; font-size: 18px; }
.list-header h3::after {
	content: '';
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	width: 30px;
	height: 5px;
	background: linear-gradient(90deg, #3498db, #2ecc71);
	border-radius: 2px;
}
.list-weather {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.list-weather-item {
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 4px;
}
.list-weather-item a {
	display: flex;
	align-items: center;
	padding: 8px;
}
.list-weather-item a .temperature {
	margin-left: auto;
}
.list-weather-item a .city {
	width: 98px;
	margin-right: 5px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.list-weather-item a .phrase {
	display: flex;
	align-items: center;
}
.list-weather-item a .phrase img {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}
.list-weather-item a .phrase span {
	max-width: 90px;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
}
.list-weather-item a .temperature em {
	color: #e64545;
	font-style: normal;
}
.list-weather-item a:hover {
	background-color: #85bc40;
	border-radius: 4px;
	color: #FFF!important;
}
@media (max-width: 768px) {
	.list-weather-item a .city {
		width: 70px;
	}
	.list-weather-item a .phrase span {
		max-width: 62px;
	}
}
@media (max-width: 576px) {
	.list-weather-item a .city {
		width: 102px;
	}
	.list-weather-item a .phrase span {
		max-width: 100px;
	}
}


/* List Article */
.list-article {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.list-article-item {
	display: flex;
	padding: 10px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 4px;
}
.list-article-item .thumb {
	flex-shrink: 0;
}
.list-article-item .thumb img {
	display: block;
	width: 150px;
	height: 110px;
	margin: 0;
	border-radius: 4px;
	overflow: hidden;
	vertical-align: middle;
	object-fit: cover;
	object-position: 50% 50%;
}
.list-article-item .meta {
	flex-grow: 1;
	margin-left: 16px;
}
.list-article-item:hover .meta h6 {
	color: #0d6efd;
}
.list-article-item .meta p {
	margin-bottom: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	color: #969da4;
}
.list-article-item .meta .datetime {
	font-size: 12px;
}
@media (max-width: 768px) {
	.list-article-row .col:nth-last-child(2) a {
		border-bottom: 1px solid rgba(0, 0, 0, 0.075)!important;
	}
	.list-article-item {
		margin-bottom: 5px;
		align-items: center;
	}
	.list-article-item .thumb img {
		width: 114px;
		height: 80px;
	}
	.list-article-item .meta p {
		display: none;
	}
}

/* List Pages */
.pagination {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	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;
}
.pagination a:hover {
	background-color: #0d90fd;
	color: #FFF!important;
}

/* Show Weather */
.weather-slider-wrapper {
	position: relative;
	padding: 15px 42px;
	overflow: hidden;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.slider-controls {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	pointer-events: none;
	z-index: 10;
}
.slider-btn {
	width: 32px;
	height: 50px;
	background: #1a2980;
	border: none;
	display: flex;
	justify-content: center;
	align-items: center;
	color: white;
	font-size: 18px;
	cursor: pointer;
	transition: all 0.3s ease;
	pointer-events: all;
	box-shadow: 0 4px 10px rgba(26, 41, 128, 0.3);
	z-index: 20;
}
.slider-btn:hover {
	background: #263ba0;
	transform: scale(1.05);
}
.slider-btn:active {
	transform: scale(0.95);
}
.slider-btn.disabled {
	background: #ccc;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
	opacity: 0.5;
}
.weather-hours-data {
	display: flex;
	transition: transform 0.4s ease;
	gap: 15px;
	padding: 10px 0;
}
.weather-hours-item {
	flex: 0 0 auto;
	width: 120px;
	padding: 18px 10px;
	background: white;
	border-radius: 12px;
	transition: all 0.3s ease;
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	text-align: center;
}
.weather-hours-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	border-color: #1a2980;
}
.weather-hours-item.current {
	background: #e8f8de;
	border-color: #619d1a;
	position: relative;
}
.weather-hours-item.current::before {
	content: "当前";
	position: absolute;
	top: -10px;
	left: 50%;
	transform: translateX(-50%);
	background: #619d1a;
	padding: 2px 10px;
	border-radius: 10px;
	color: #FFF;
	font-size: 12px;
	font-weight: 600;
}
.weather-hours-item .temperature {
	margin-bottom: 10px;
	font-size: 20px;
	font-weight: 700;
	color: #1a2980;
}
.weather-hours-item .phrase-img {
	margin-bottom: 10px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.weather-hours-item .phrase-img img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
.weather-hours-item .wea {
	margin-bottom: 10px;
}
.weather-hours-item .times {
	font-size: 14px;
	font-weight: 600;
	color: #333;
	padding: 5px 10px;
	background: #f6f7f8;
	border-radius: 6px;
	width: 100%;
}
@media (max-width: 768px) {
	.weather-slider-wrapper {
		padding: 15px 40px;
	}
	.weather-hours-item {
		width: 90px;
		padding: 12px 6px;
	}
	.weather-hours-item .wea {
		width: 80px;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
		font-size: 12px;
	}
}
@media (max-width: 480px) {
	.weather-slider-wrapper {
		padding: 10px 40px;
	}
	.weather-hours-item {
		width: 90px;
	}
	.weather-hours-item .wea {
		width: 80px;
		white-space:nowrap;
		overflow:hidden;
		text-overflow:ellipsis;
		font-size: 12px;
	}
	.weather-hours-item .temperature {
		font-size: 18px;
	}
	.weather-hours-item .phrase-img img {
		width: 35px;
		height: 35px;
	}
	.weather-hours-item .times {
		font-size: 12px;
	}
}

.city-life-index {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.city-life-index-item .col-box {
	padding: 10px 0;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	text-align: center;
}
.city-life-index-item .col-box img {
	width: 60px;
	height: 60px;
	margin-bottom: 10px;
}
.city-life-index-item .col-box p {
	margin-bottom: 0;
}
@media (max-width: 768px) {
	.city-life-index-item .col-box img {
		width: 50px;
		height: 50px;
	}
	.city-life-index-item .col-box p {
		font-size: 12px;
	}
}

/* Show Article */
.show-article {
	padding: 15px;
	border: 1px solid rgba(0, 0, 0, 0.075);
	border-radius: 6px;
	background-color: #FFF;
}
.show-article-header {
	padding-top: 15px;
	text-align: center;
}
.show-article-header .title {
	margin-bottom: 15px;
	font-size: 26px;
}
.show-article-content {
	padding: 15px 0;
	font-size: 14px;
}
.show-article-content p img, .show-article-content img {
	display: block;
	margin: 10px auto;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border-radius: 4px;
}
.show-article-content h2, .show-article-content h3, .show-article-content h4, .show-article-content h5, .show-article-content h6 { 
	margin-bottom: 15px;
	font-size: 16px;
	font-weight: bold;
}
.show-article-content table {
	font-size: 12px;
}
@media (max-width: 768px) {
	.show-article-header .title {
		font-size: 22px;
	}
	.show-article-header .meta {
		font-size: 12px;
	}
}


/* Footer */
.footer {
	padding: 25px 0 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.075);
	background-color: #FFF;
}
.footer-inr {
	font-size: 14px;
	text-align: center;
}
.footer-inr p {
	margin-bottom: 5px;
}
.footer-inr p:last-child {
	margin-bottom: 0;
}

