/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

.container {
  max-width: 1200px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 0rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
  height: 30rem;
  background-color: #777;
}

.carousel-item > img {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -60rem;
  min-width: 100%;
  height: 30rem;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.05rem;
}


/* ALLEN STYLE
-------------------------------------------------- */

/* Redefine */
body {
	background: #fff;
}

header {
	background: #fff;
}

.lead {
	font-size: 1.25rem;
	font-weight: 300;
	line-height: 1.5;
	margin-top: 1rem;
	color: #666666;
}

a {
	color: #6c757d;/*#808080#007bff*/
	text-decoration: none;
	background-color: transparent;
	-webkit-text-decoration-skip: objects;
	transition: ease-in-out color .45s;
}

a:hover {
	color: rgba(255,0,45,1); /*#0056b3*/
	text-decoration: none;
}

.dropdown-item:active {
	color: #fff;
	text-decoration: none;
	background-color: rgba(255,0,45,1);
}

.navbar-light .navbar-nav .nav-link {
	color: rgba(0,0,0,0.4);
}
.navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
	color: #fff;
}
.navbar-light .navbar-nav .nav-link.disabled {
	color: rgba(0,0,0,0.4);
}
.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: rgba(0,0,0,0.8);
}

@media (max-width:767.98px) {
.navbar-expand-md>.container, .navbar-expand-md>.container-fluid {
	padding-right: 1.5rem;
	padding-left: 1.5rem;
}
}

.dropdown-item.disabled, .dropdown-item:disabled {
    color: rgb(0,0,0,0.2);
    background-color: transparent;
}

.btn-primary {
	color: #fff;
	background-color: transparent;
	border-color: #fff;
}
.btn-primary:hover {
	color: #fff;
	background-color: #ff002d;
	border-color: #ff3333;
}
.btn-primary.focus,.btn-primary:focus {
	box-shadow: 0 0 0 .2rem rgba(255,51,90,.5);
}
.btn-primary.disabled,.btn-primary:disabled {
	color: #fff;
	background-color: #ff002d;
	border-color: #ff002d;
}
.btn-primary:not(:disabled):not(.disabled).active,.btn-primary:not(:disabled):not(.disabled):active,.show>.btn-primary.dropdown-toggle {
	color: #fff;
	background-color: #ff3333;
	border-color: #e22d2d;
}
.btn-primary:not(:disabled):not(.disabled).active:focus,.btn-primary:not(:disabled):not(.disabled):active:focus,.show>.btn-primary.dropdown-toggle:focus {
	box-shadow: 0 0 0 .2rem rgba(255,51,90,.5);
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
	color: #fff;/*#1a1a1a*/
	background-color: rgba(255,0,45,1);/*#6c757d*/
}

.page-item.active .page-link {
	z-index: 1;
	color: #fff;
	background-color: rgba(255,0,45,1);/*#007bff*/
	border-color: rgba(255,0,45,1);/*#007bff*/
}

.page-link {
	position: relative;
	display: block;
	padding: .5rem .75rem;
	margin-left: -1px;
	line-height: 1.25;
	color: rgba(255,0,45,1);/*#007bff*/
	background-color: #fff;
	border: 1px solid #dee2e6;
}
.page-link:hover {
	z-index: 2;
	color: #b3233d;/*#0056b3*/
	text-decoration: none;
	background-color: #e9ecef;
	border-color: #dee2e6;
}
.page-link:focus {
	z-index: 2;
	outline: 0;
	box-shadow: 0 0 0 .2rem rgba(255,0,45,.25);/*rgba(0,123,255,.25)*/
}

.list-group-item.active {
	z-index: 2;
	color: #fff;
	background-color: rgba(255,0,45,1);/*#007bff*/
	border-color: rgba(255,0,45,1);/*#007bff*/
}


/* New */

.np-logos {
	height: 6.5rem;
}

.np-logos-item {
	height: 100%;
	align-items:center;
	align-self:center;
}

.np-logos-caption {
/*	margin-bottom: .5rem;*/
	font-family: inherit;
	font-weight: 700;
	letter-spacing: -0.15rem;
	line-height: 1.5;
	font-size: 3rem;
	color: rgba(255,0,45,1);
}

.np-logos-caption-s {
	font-family: inherit;
	font-weight: 700;
	letter-spacing: -0.15rem;
	line-height: 1.5;
	font-size: 3rem;
	color: rgba(255,0,45,1);
	display: none;
	visibility: hidden;
}

.np-logos-text {
	font-family: inherit;
	font-weight: 100;
}

.np-bg-red {
	background: rgba(255,255,255,0);
}

.np-ebd-contact {
	background-color: #eee;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.np-contact {
	background-color: #313131;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.np-contact-text {
	color: #fff;
	font-size: 2rem;
	line-height: 1;
	margin-right: 1rem;
}

.np-text-key {
	color: #ff002d;
}

.np-text-bold {
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.05rem;
}

.np-container {
	margin-top: 4rem;
	margin-bottom: 2.5rem;
}

.np-container-l {
	margin-top: 1.5rem;
	margin-bottom: 2.5rem;
}

.np-container-s {
	margin-top: 4rem;
	margin-bottom: 1rem;
}


.np-baidumap {
	width: 100%;
    height: 30rem;
}

.np-screen {
	width: 100%;
    height: 219rem;
}

.np-footer {
	background-color: #eee;
	padding-top: 4rem;
	padding-bottom: 3rem;
}

.box-shadow {
	box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

.news-list-item {
	padding-top: 0.75rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid #dee2e6;
}

.news-list-item:first-child {
	padding-top: 0;
}

.news-list-item .info,
.list-group-item .info,
.news-status {
	color:#6c757d;
}

.news-list-item a {
	color: #212529;
}

.news-list-item .title:hover {
	color: rgba(255,0,45,1);/*#007bff*/
}

.news-list-page {
	margin-top: 1.5rem;
}

.list-group-item .title {
	color: #212529;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 2.5rem;
  }
  
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 0.5rem;
  }

}

@media (max-width: 40em) {
  .np-logos-caption {
	  display: none;
	  visibility: hidden;
  }
  
  .np-logos-caption-s {
	  display: inline;
	  visibility: visible;
  }
  
  .np-top-contact {
	  display: none;
	  visibility: hidden;
  }
}
