﻿ /* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper > .container {
  padding-right: 0;
  padding-left: 0;
}
.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}
.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
#myCarousel {
  height: 500px;
  margin-bottom: 20px;
}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin:0 0 20px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/*新增样式*/
.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space: nowrap;}
#myCarousel.library_carousel{margin-bottom: 0;height: 407px;}
#myCarousel.library_carousel  .container{padding-top: 50px;}
.navbar-wrapper.library_wrapper{position: static;left: auto;top: auto;margin-top: 0;background-color: #37668c;}
.library_wrapper {margin-bottom: 20px;}
.library_wrapper .navbar{border-bottom: 0;margin-bottom: 0;}
.library_wrapper  .nav>li>a{padding: 0px 20px;line-height: 50px;color: #fff;font-size: 16px;}
.library_wrapper .caret{margin-left: 15px;}
.library_panel{border: none;}
.panel{background: transparent;}
.library_panel .col-md-5 img{width: 100%;height: 190px;}
.library_panel.panel{box-shadow:none;}
.library_title{position: relative;}
.library_title h3{color: #303030;font-size: 16px;text-align: left;padding:0;padding-left: 15px;line-height: 30px;position: relative;border-bottom: 1px solid #e7e7e7;}
.library_title h3 span{font-size: 14px;color: #009688;margin-right: 8px;}
.library_title h3:before{content: '';display: block;width: 130px;height:1px;background-color: #82c3da;position: absolute;left: 0;bottom: -1px;}
.library_title a{position: absolute;right: 8px;line-height: 30px;top: 0;text-decoration: none;color: #9e9e9e;font-size: 14px;}
.library_from .sr-only{position: static;width: 50px;height: auto;line-height: 34px;margin: 0;overflow: inherit;color: #303030;font-size: 16px;font-weight: normal;}
.library_from .form-group{margin-bottom: 10px;}
.library_from .form-control{display:inline-block;border-radius: 0;border: 1px solid #82c3da;padding-left: 30px;background: url(../images/user.png) no-repeat 8px center;}
.library_from .form-control#inputpassword{background-image: url(../images/password.png);}
.library_from #loginbtn{color: #fff;background-color: #37668c;font-size: 16px;padding: 6px 20px;}
#search.library_login{background: url(../images/search_bg.png) no-repeat bottom center;}
.library_login{margin-bottom: 0;}
.library_activity .media-object{width: ;padding: 0;border: 0;width: 100px;height: 70px;}
.library_activity .media{padding-top: 12px;border-top: 1px dashed #e7e7e7;}
.library_activity .media:nth-of-type(1){padding-top: 0;border-top: 0;}
.library_news .carousel-caption{bottom: 0 !important;left: 0 !important;right: auto !important;width: 100% !important;padding:0 10px !important;line-height: 40px;filter:alpha(Opacity=80);-moz-opacity:0.8;opacity: 0.8;background-color: #000;font-size: 16px;overflow:hidden;text-overflow:ellipsis;white-space: nowrap;}
.library_news .carousel-indicators{bottom: 40px;}
.library_book{padding: 2px;height: 231px;}
.library_book a img{width: 100%;height: 100%;}
.library_tab .thumbnail{margin-bottom: 0;text-align: center;}
.thumbnail img{height: 104px;}
.library_folk {width: 100%;}
.library_folk  img{height: 118px;width: 100%;margin-bottom: 5px;}
.library_folk  a{color: #303030;font-size: 14px;text-decoration: none;display: block;text-align: center;}
.library_code p{color: #303030;font-size: 16px;}
.library_serviceBox  li{width: 100%;border-top: 1px dashed #e7e7e7;line-height: 65px;}
.library_serviceBox  li:nth-of-type(1){border-top: 0;}
.library_serviceBox  li .library_service{float: left;width: 50%;text-align: center;}
.library_serviceBox  li .library_service p{display: inline-block;margin-left: 10px;color: #303030;font-size: 16px;}
.library_serviceBox  li .library_service a{text-decoration: none;}
.library_footer{margin-top: 0;}
.navbar-header img{display: none;}
.library_slide .carousel-inner>.item>a>img{height: 274px;width: 100%;overflow: hidden;}
#ink_con,#ink_con2,#ink_con3{height: 272px;overflow: hidden;}
#ink_con li a,#ink_con2 li a,#ink_con3 li a{width: 100%;line-height: 30px;display: block;font-size: 14px;}
.library_code img{height: 168px;}
/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

.service-box{
    height: 120px;
}
.service-pic{
    margin: 15px auto 10px;
    width: 35px;
    height: 35px;
}

.service-pic:hover {
margin: 10px auto 10px;
width: 40px;
height: 40px;    
}


@media screen and (max-width:768px){
	.navbar-wrapper.library_wrapper {
	  position: absolute;
	  top: 0;
	  right: 0;
	  left: 0;
	  z-index: 20;
	}
	.library_wrapper .nav>li>a{padding: 10px 15px;line-height: normal;}
	.navbar-header img{display: block;height: 37px;vertical-align: middle;margin-top:5px;}
	#myCarousel.library_carousel .container img{display: none;}
	.library_panel .col-md-5{margin-bottom: 20px;margin-top: 20px;}
	#search{margin-bottom: 20px;}
	.library_slide .carousel-inner>.item>a>img{height: 215px;}
	.library_tab .thumbnail{margin-bottom: 20px;}
	.library_about .col-md-6:nth-of-type(2){margin-top: 20px;}
	.col-md-5 .library_code{height: auto !important;}
	.library_about img{margin-bottom: 10px;}
	.library_code img{margin-top: 0 !important;}
	.library_code img{height: auto !important;}
}
