html {
	height: 100%;
}
body {
	min-height: 100%;
}
.symbol {
   width: 1em;
   height: 1em;
   vertical-align: -0.15em;
   fill: currentColor;
   overflow: hidden;
}
.btn-darkblue{
	background-color:#e2001a;
	border-color:#e2001a;
}
.btn-secondary:active,
.btn-darkblue:hover{
	background-color:#e2001a;
	border-color:#e2001a;	
}
/* 顶部信息栏*/
.topbar-bg {
	background-color: #e2001a !important;
}

/*主菜单自定义*/
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: var(--white);
    background-color: #b62729;
    border-radius: .25rem;
}
.navbar-light .navbar-nav .nav-link {
    color: rgba(0,0,0,.8);
    font-size: 1rem;
    font-weight: bold;
}
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item:hover {
    color: var(--white);
    background-color: #b62729;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
	background-color: #b62729;
}
img.bg-image,
video.bg-image {
	-o-object-fit: cover;
	object-fit: cover;
	font-family: 'object-fit: cover;';
}
img.fit-scale-down {
	-o-object-fit: scale-down;
	object-fit: scale-down;
	font-family: 'object-fit: scale-down;';	
}
.bg-image,
img.fit-scale-down {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 0;
}
.newsImage {
	position: relative;
	width: 100%;
	height: 10rem;
	background-position:center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}
.newsImage img {
	transition: 0.5s;
	-moz-transition: 0.5s;
	-webkit-transition: 0.5s;
	-o-transition: 0.5s;
}
.news:hover {
	box-shadow: 0 0 1rem rgba(0,0,0,.15) !important;
}
.news:hover .newsImage img {
	transform: scale(1.2);
	-ms-transform: scale(1.2);
	-moz-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	-o-transform: scale(1.2);
}

.lh-150 {
	line-height: 1.5;
}
.lh-170 {
	line-height: 1.7;
}
ul.matrix-img {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.matrix-img li {
	display: block;
	float: left;
	width: 25%;
}
ul.matrix-img li.more a {
	display: block;
	width: 95%;
	text-align: center;
	background-color: #efefef;
}
ul.matrix-img li img {
	display: block;
	width: 95%;
	border: 1px solid #ccc;
}

.pagefooter {
	background-color: #e2001a !important;
}

.pagefooter a {
	color: #fff;
}
.footer-logo-donnor-ufi {
	width: 6rem;
}

/* 右侧按钮*/
.fixed-right {
	position: fixed;
	display: block;
	bottom: 2rem;
	z-index: 20;
}
.fixed-right.backfix {
    left: 50%;
    margin-left: 570px;
}
.fixed-right.backfix-s {
    right: 1rem;
}
.fixed-right .item{
	position: relative;
	display: block;
	width: 50px;
	height: 50px;
	line-height: 50px;
	border: 1px solid rgba(150,150,150,0.15);
	text-align: center;
	font-size: 26px;
	color: #999;
	cursor: pointer;
	background: rgba(255,255,255,0.8);
}
.fixed-right .item:hover{
	color: #fff;
	background-color: #e2001a;
}
.fixed-right .menus {
    margin-bottom: 10px;
}
.fixed-right .menus .item {
    border-bottom: none;
}
.fixed-right .menus .item:last-child {
	border-bottom: 1px solid rgba(150,150,150,0.15);
}
.fixed-right .code-div {
	position: absolute;
	right: 100%;
	bottom: -50px;
	display: none;
	margin-right: -20px;
	padding-right: 30px;
}
.fixed-right .gotop {
	display: none;
}


/* 为Bootstrap4 Carousel轮播增加上下滚动（垂直滚动）、淡入淡出效果 */
.carousel-fade .carousel-inner .carousel-item {
	-webkit-transform: translateX(0);
	transform: translateX(0);
	transition-property: opacity;
}
.carousel-fade .carousel-inner .carousel-item,
.carousel-fade .carousel-inner .active.carousel-item-left,
.carousel-fade .carousel-inner .active.carousel-item-right {
	opacity: 0;
}
.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .carousel-item-next.carousel-item-left,
.carousel-fade .carousel-inner .carousel-item-prev.carousel-item-right {
	opacity: 1;
}

.carousel-vertical .carousel-inner .carousel-item-next.carousel-item-left,
.carousel-vertical .carousel-inner .carousel-item-prev.carousel-item-right {
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.carousel-vertical .carousel-inner .active.carousel-item-left,
.carousel-vertical .carousel-inner .carousel-item-prev {
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
}
.carousel-vertical .carousel-inner .active.carousel-item-right,
.carousel-vertical .carousel-inner .carousel-item-next {
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
.carousel-slide {
	height: 200px;
	background-position:center;
	background-repeat: no-repeat;
	background-size: auto 100%;
}

.show > .dropdown-menu {
	display: block;
}

.embed-responsive-2by1::before{
	padding-top:50%;
}

/* 超小屏幕 <576px */
@media screen and (max-width: 575px){
	.carousel-slide {
		height: 170px;
	}
}

/* 小屏幕sm 次小屏≥576px */
@media screen and (min-width: 576px) {
	.carousel-slide {
		height: 220px;
	}
}

/* 中等屏幕md 窄屏≥768px */
@media screen and (min-width: 768px) {
	.carousel-slide {
		height: 300px;
	}
}

/* 大屏幕lg 桌面显示器≥992px */
@media screen and (min-width: 992px) {
	.carousel-slide {
		height: 400px;
	}
}

/* 超大屏幕xl 大桌面显示器≥1200px */
@media screen and (min-width: 1200px) {
	body {
		font-family: Helvetica, Tahoma, Arial, "Microsoft YaHei", "微软雅黑", STXihei, "华文细黑", SimSun, "宋体", Heiti, "黑体", sans-serif; 
	}
	.carousel-slide {
		height: 480px;
	}
	.navbar-nav,
	.navbar-nav .dropdown-item,
	.list-group-item,
	.fsize-14 {
		font-size: .875rem;
	}
	.subpage {
		font-size: .875rem;
		line-height: 1.6;
	}
	#navbarSupportedContent .nav-item {
		margin-left: .5rem !important;
	}

	ul.matrix-img li {
		width: 141px;
		height: 80px;
	}
	ul.matrix-img li:nth-child(8n+0) {
		width: 120px;
	}
	ul.matrix-img li.more a {
		width: 120px;
		height: 60px;
		line-height: 60px;
	}
	ul.matrix-img li img {
		width: 120px;
		height: 60px;
	}

}
