/* 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 */
.carousel {
  height: 300px;
  margin-bottom: 60px;
}

.carousel-caption {
  z-index: 10; /* Since positioning the image, we need to help out the caption */
  padding: 50px 30px 40px 30px;
  line-height: 30px;
  font-weight: 900;
}
/* Declare heights because of positioning of img element */
.carousel .item {
  height: 300px;
  background-color: #777;
}
.carousel-inner > .item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 300px;
}

/*personal*/

#header {
    background-color: #0C739B;
    background: url(img/bg.jpg) no-repeat center center;
    padding: 0;
    -webkit-background-size: cover;
    background-size: cover;
    -moz-background-size: cover;
    color:#E2E2E2;
    /* position: static; */
}
#header .overlay {
        background-color:rgba(2, 2, 2, 0.56);
        min-height:250px;
        /* position: static; */
    }

.logo-div{
    line-height:23px;
}
.logo-inner {
    font-size: 30px;
    font-weight: 900;
    padding: 30px 20px 50px 20px;
    text-align: center;
    line-height: 23px;
    font-family:'Times New Roman', Times, serif;
}
.logo-name img {
    height:150px;
    width:150px;
}
.header-text-top {
padding: 50px 30px 40px 30px;
line-height: 30px;
font-weight: 900;
}


/* 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: 400;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}
.project {
  margin-top: 10px;
}
.profile .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.profile h2 {
  font-weight: 400;
}
.profile .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}

.contact .col-md-1 {
  margin-bottom: 20px;
  text-align: left;
}

.contact .col-md-5{
  margin-bottom: 20px;
  text-align: left;
}

./*contact .row{
 margin-right: 20%;
  margin-left: 20%;
}*/

.col-center-block{
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Featurettes
------------------------- */

.featurette-divider {
  margin: 20px 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 50;
  line-height: 1;
  letter-spacing: 0.2px;
}

.featurette-content {
  font-weight: 50;
  line-height: 1;
  letter-spacing: 0.2px;
}

.profile-content {
  font-weight: 50;
  line-height: 1;
  letter-spacing: 0.2px;
}

/* 每个菜单的样式(宽度这里调,子菜单宽度都听这个) */
.items {
    width: 100%;
    color: #fff;
}
/* END */

/* 菜单与鼠标移入 */
.menu{
    width: 100%;
    height: 45px;
    color:DimGray;
    border-radius: 10px;
    border-style:solid;
    border-width:1px;
    border-color:darkgray;
    background: white;
    line-height: 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.menu:hover{
    overflow: visible;
    background: Gainsboro ;
    color: DimGray;
    z-index: 999;
    cursor: pointer;
}
/* END */


/* 下拉菜单与鼠标移入 */
.drop{
    border-style:solid;
    color:DimGray;
    border-width:0.5px;
    border-color:darkgray;
    background: white;
    text-align: center;
    width: 100%;
    height: 45px;
    line-height: 45px;
    overflow: hidden;
}
.drop:hover{
    background: WhiteSmoke;
    cursor: pointer;
}
/* END */

/* 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;
    border-radius: 4px; /* The navbar becomes detached from the top, so we round the corners */
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 35px;
    font-family:'Times New Roman', Times, serif;
  }
}

.featurette-content {
  font-size: 30px;
  font-family:'Times New Roman', Times, serif;
  text-align: right;
}

.profile-content {
  font-size: 30px;
  font-family:'Times New Roman', Times, serif;
  text-align: justify;
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 160px;
  }
}

@media (min-width: 992px) {
  .featurette-content {
    margin-top: 20px;
  }
}

@media (min-width: 992px) {
  .profile-content {
    margin-top: 20px;
  }
}
