.carousel {
  position: relative;
  max-width: 1500px;
  margin-left: auto;
  margin-right: auto;
}
.carousel-background {
  background-color: #373737;
}
.carousel-inner {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-inner > .item {
  position: relative;
  display: none;
  -webkit-transition: .6s ease-in-out left;
          transition: .6s ease-in-out left;
  height: 450px;
  background-position: center center;
  background-size:auto 100%;
  background-repeat: no-repeat;
  background-color: rgb(51,51,51);
}


.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
  line-height: 1;
}
.carousel-inner > .active,
.carousel-inner > .next,
.carousel-inner > .prev {
  display: block;
}
.carousel-inner > .active {
  left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
  position: absolute;
  top: 0;
  width: 100%;
}
.carousel-inner > .next {
  left: 100%;
}
.carousel-inner > .prev {
  left: -100%;
}
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
  left: 0;
}
.carousel-inner > .active.left {
  left: -100%;
}
.carousel-inner > .active.right {
  left: 100%;
}
.carousel-control {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  /*width: 15%;*/
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
  filter: alpha(opacity=50);
  /*opacity: .5;*/
  opacity: .9;
  width: 40px;
  
}

.carousel-control.left {
background-image: none;
}
.carousel-control.left .carousel-bg {
  /*background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .5) 0%), color-stop(rgba(0, 0, 0, .0001) 100%));
  background-image:         linear-gradient(to right, rgba(0, 0, 0, .5) 0%, rgba(0, 0, 0, .0001) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat: repeat-x;*/
  background-color:rgb(37,37,37);
}
.carousel-bg {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  /*opacity: .5;*/
  opacity: .8;
  transition-property: all;
  transition-duration: .5s;
}

.carousel-control:hover .carousel-bg/*, 
.carousel-control:focus .carousel-bg*/ {
  opacity: 1;
}

.carousel-control.right {
  right: 0;
  left: auto;
}

.carousel-control.right {
background-image: none;
}
.carousel-control.right .carousel-bg { 
  /*background-image: -webkit-linear-gradient(left, color-stop(rgba(0, 0, 0, .0001) 0%), color-stop(rgba(0, 0, 0, .5) 100%));
  background-image:         linear-gradient(to right, rgba(0, 0, 0, .0001) 0%, rgba(0, 0, 0, .5) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat: repeat-x;*/
  background-color:rgb(37,37,37);
}
.carousel-control:hover,
.carousel-control:focus {
  color: #fff;
  text-decoration: none;
  filter: alpha(opacity=90);
  outline: none;
  /*opacity: .9;*/
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .chevron-left,
.carousel-control .chevron-right {
  position: absolute;
  top: 45%;
  top: -moz-calc(50% - 20px);
  top: -webkit-calc(50% - 20px);
  top: -o-calc(50% - 20px);
  top: calc(50% - 20px);
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .chevron-left {
  /*left: 50%;*/
  left: 8px;
}
.carousel-control .icon-next,
.carousel-control .chevron-right {
  left:auto;
  /*right: 50%;*/
  right: 8px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  margin-top: -10px;
  margin-left: -10px;
  font-family: serif;
}
.carousel-control .icon-prev:before {
  content: '\2039';
}
.carousel-control .icon-next:before {
  content: '\203a';
}

.skrim {
  background-color: rgba(37, 37, 37, .75); 
  position: absolute;
  /* Bottom:-1px fixes a display error that shows up in certain browsers. Was originally bottom:0px. Padding-bottom:1px also added to compensate. */
  bottom: -1px;
  padding-bottom: 1px;
  width:100%;
  overflow: hidden; 
}

#featurecaption,
.featurecaption {
  /*padding: 5px 0px 10px 0px;*/
  /*padding-bottom: 10px;*/
    text-shadow: 0 1px 2px rgba(0, 0, 0, .8);
}

#featurecaption p,
.featurecaption p {
  color: #fff;
  font-size: .8em;
  margin-bottom: 15px;
  font-family: 'Gotham SSm 3r', 'Gotham SSm A', 'Gotham SSm B', 'proxima-nova', sans-serif; font-weight: 300; font-style: normal;
}

#featurecaption h2,
.featurecaption h2 {
  color: #FFD93C;
  text-transform: uppercase;
  font-size: .9em;
  /*line-height: 3.2em;*/
  letter-spacing: 1px;
  margin-top: 1.3em;
  margin-bottom: 5px;
}

#featurecaption .span3,
.featurecaption .span3 {
text-align: right;
padding-right: 20px;
    margin-bottom: -999px;
    padding-bottom: 999px;
background: -moz-linear-gradient(left,  rgba(0,0,0,0) 0%, rgba(51,51,51,0.65) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(51,51,51,0.65))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(51,51,51,0.65) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(51,51,51,0.65) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(left,  rgba(0,0,0,0) 0%,rgba(51,51,51,0.65) 100%); /* IE10+ */
background: linear-gradient(to right,  rgba(0,0,0,0) 0%,rgba(51,51,51,0.65) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6333333',GradientType=1 ); /* IE6-9 */

}


#featurecaption h3,
.featurecaption h3 {
  color: #fff;
  font-family: 'Gotham SSm 5r', 'Gotham SSm A', 'Gotham SSm B', 'proxima-nova', sans-serif; font-weight: 500; font-style: normal;
  font-size: 1.2em;
  line-height: 1em;
  margin-bottom: 5px;
  margin-top: 2%;
}

.carousel-indicators {
 /* position: absolute;
  bottom: 10px;
  left: 0%;
  z-index: 15;
  width: 100%;
  padding-left: 0px;
  margin-left: -30%;
  text-align: center;
  list-style: none outside none;*/
  position: static;
  
  margin: 0;
  text-align: inherit;
  width:100%;
}
.carousel-indicators li, .carousel-indicators li.active {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 2px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #A6A8AB;
  border: none;
  border-radius: 10px;
}
.carousel-indicators .active {
  background-color: #fff;
}

.carousel-indicators li:nth-child(1) {
  /*Set the grey #1 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-06.png");
}

.carousel-indicators li:nth-child(2) {
  /*Set the grey #2 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-07.png");
}

.carousel-indicators li:nth-child(3) {
  /*Set the grey #3 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-08.png");
}

.carousel-indicators li:nth-child(4) {
  /*Set the grey #4 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-09.png");
}

.carousel-indicators li:nth-child(5) {
  /*Set the grey #5 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-10.png");
}

.carousel-indicators li.active:nth-child(1) {
  /*Set the white #1 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-01.png");
}

.carousel-indicators li.active:nth-child(2) {
  /*Set the white #2 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-02.png");
}

.carousel-indicators li.active:nth-child(3) {
  /*Set the white #3 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-03.png");
}

.carousel-indicators li.active:nth-child(4) {
  /*Set the white #4 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-04.png");
}

.carousel-indicators li.active:nth-child(5) {
  /*Set the white #5 as the background image*/
  background-image: url("/media/umb/style-assets/images/slider/home-slider-numbers-05.png");
}

.carousel-indicators li, .carousel-indicators li.active {
  /*General background-image formatting that applies to all .carousel-indicators li's*/
  background-size: cover;
}

.carousel-caption {
  position: absolute;
  right: 15%;
  bottom: 20px;
  left: 15%;
  z-index: 10;
  padding-top: 20px;
  padding-bottom: 20px;
  color: #fff;
  text-align: left;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6);
}
.carousel-caption .btn {
  text-shadow: none;
}

.chevron-left:before, .chevron-right:before {
    content:none;
}

.chevron-right img, .chevron-left img {
	max-width:none;
}


@media screen and (min-width : 768px) and (max-width : 1024px)  {
  
  .carousel-inner > .item {
    height: 300px;
  }

}



@media screen and (min-width: 768px) {

  .carousel-control .glyphicons-chevron-left,
  .carousel-control .glyphicons-chevron-right,
  .carousel-control .icon-prev,
  .carousel-control .icon-next {
    width: 30px;
    height: 30px;
    margin-top: -15px;
    margin-left: -15px;
    font-size: 30px;
  }
}
@media screen and (max-width: 767px) {

  .carousel-inner > .item {
    height: 300px;
  }

  
  ol.carousel-indicators {
    display:none;
  }



  #featurecaption .span3,
  .featurecaption .span3 {
    text-align: left;
    padding-right: 20px;
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 20px;
    width:112%;
    background: -moz-linear-gradient(left,  rgba(51,51,51,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(51,51,51,0.65)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
	background: linear-gradient(to right,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6333333', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */

  }

  #featurecaption .span3,
  .featurecaption .span3 {
    margin-bottom: 0px;
    padding-bottom: 0px;
 }

  #featurecaption h2, 
  .featurecaption h2 {
    margin-top: 15px;
    /*line-height: 1.8em;*/
  }
  
 /* .carousel-inner > .item {
    height: 250px;
  }*/
  
  .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .chevron-left, .carousel-control .chevron-right {
    /*top: 40%;*/
  }
  
  .carousel-control {
    height: 70px;
    width: 80px;
    top: 30%;
  }

  .carousel-control .chevron-left {
    left: 40px;
  }

  .carousel-control .chevron-right {
    right: 40px;
  }
  
  .carousel-control .chevron-left, .carousel-control .chevron-right {
    top: 15px;
    top: -moz-calc(50% - 20px);
    top: -webkit-calc(50% - 20px);
    top: -o-calc(50% - 20px);
    top: calc(50% - 20px);
  }

}

@media screen and (max-width: 500px) {
  .carousel-inner > .item {
    height: 300px;
  }

  #featurecaption .span3,
  .featurecaption .span3 {
    text-align: left;
    padding-right: 20px;
    margin-right: -20px;
    margin-left: -20px;
    padding-left: 20px;
    width:112%;
    background: -moz-linear-gradient(left,  rgba(51,51,51,0.65) 0%, rgba(0,0,0,0) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(51,51,51,0.65)), color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(left,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* IE10+ */
  background: linear-gradient(to right,  rgba(51,51,51,0.65) 0%,rgba(0,0,0,0) 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6333333', endColorstr='#00000000',GradientType=1 ); /* IE6-9 */

  }


}

/*Reformats the UMB homepage slideshow to remove the blurb under the title on mobile*/

@media (max-width: 767px)  {
  #featurecaption p, .featurecaption p {
  	display:none;
  }
  #featurecaption h3, .featurecaption h3 {
  	margin-bottom: 15px;
  }
}


