a{color:#212529;}
a:hover{color:#33b5e5;}

.gongshang {
	background-color: #1a1a1a;
	padding-bottom:12px;
	text-align: center;
}
.gongshang img {width:45px;}

.friendlink {
	background-color: #1a1a1a;
	padding-bottom: 12px;
	color: #CCC;
}
.friendlink a{
	color: #EEE;
}

.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

/* maincontent */
.maincontent img {max-width:100%;}

/* pagination */
.pagination-wrap{width:300px; margin:10px auto;}
.pagination a {
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: background-color .3s;
}

.pagination a.active {
    background-color: #ad001c;
    color: white;
}

.pagination a:hover:not(.active) {background-color: #ddd;}

/* bottomnavbar */
.bottomnavbar {
  overflow: hidden;
  background-color: #333;
  position: fixed;
  z-index:999;
  bottom: 0;
  width: 100%;
}

.bottomnavbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 0px;
  width:25%;
  text-decoration: none;
  font-size: 14px;
}

.bottomnavbar a:hover {
  background: #f1f1f1;
  color: black;
}

.bottomnavbar a.active {
  background-color: #ad001c;
  color: white;
}

/* Adding color to the Navbar on mobile */
@media only screen and (max-width: 768px) {
  .navbar .logo{width:155px;}
  .navbar.scrolling-navbar{padding-top: 6px; padding-bottom: 6px;}
    .display-4{font-size: 2rem !important;
    font-weight: 300;
    line-height: 1.2;}
	
 	.h2-responsive{font-size: 1.2rem !important;
    line-height: 1.2;
  	}
	
	.pt-5 {
		padding-top: 1rem!important;
	}
	
	.h4, h4 {
    font-size: 1.1rem;
	}

    .gongshang{
	padding-bottom:55px;
    }	
}