﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

#myCarousel .carousel {
    height: 200px;
    background-color: #000;
}

    #myCarousel .item {
        height: 200px;
        /*固定高度 background-color: #000;*/
    }

    #myCarousel img {
        width: 100%;
        /*图片自适应;*/
    }

#myCarousel .carousel-caption {
    position: absolute;
    right: 15%;
    top:12px;
    /*bottom: 120px;*/
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}


#indexCarousel {
    height: 500px;
    background-color: #000;
}

    #indexCarousel .item {
        height: 500px;
        /*固定高度 background-color: #000;*/
    }

    #indexCarousel img {
        width: 100%;
        height:100%;
        /*图片自适应;*/
    }

#indexCarousel .carousel-caption {
    position: absolute;
    right: 15%;
    top:50px;
    /*bottom: 120px;*/
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.navbar-brand {
  float: left;
  padding: 0px 15px;
  font-size: 18px;
  line-height: 20px;
}

/* Janky fix for preventing navbar from overlapping */
h4[id] {
  padding-top: 80px;
  margin-top: -45px;
}





