.carousel {
  margin-bottom: 10px;
}
.carousel-inner {
  /*
  left: 0;
  right: 0;
  width: 100%;
  */
  left: 5%;
  right: 5%;
  width: 90%;
  background-color: darkgrey;
}
.img-container {
  margin-left:0;
  height: 360px;
  /* width:65%; */
  width: 667px;
  /* text-align: center; */
  overflow: hidden;
  border-right: 2px solid lightgrey;
}
.img-container > img {
  display: block;
  height: 100%;
  margin-left: auto;
  margin-right: auto;
}
.carousel-indicators {
  bottom: -35px;
}
.carousel-indicators li {
  background-color: white;
  border: 1px solid #494B4B;
}
.carousel-indicators li.active {
  background-color: #494B4B;
  border: 1px solid #494B4B;
}
.carousel-control {
  width: 50px;
  height: 50px;
  bottom: 0;
  top: auto;
  color: #494B4B;
}
.carousel-control.left {
  left: auto; /*new*/
  right: calc(5% + 50px); /*new*/
}
.carousel-control.right {
  left: auto;
  right: 5%;
}
.carousel-control:hover,.carousel-control:focus {
  color: #494B4B;
}
.carousel-control.left, .carousel-control.right {
  background-image: none;
}
.carousel-caption {
  position: absolute;
  /* left: 65%; */
  left: 667px;
  right: 0;
  top: 0;
  bottom: 0;
  /* background-color: rgba(255, 255, 255, 0.7); */
  /* background-color: rgba(255, 255, 255, 0.85); */
  /* background-color: lightgrey; */
  background-color: darkgrey;
  /* border-left: 2px solid lightgrey; */
  /* text-align: left; */
  text-align: center;
  color: #494B4B;
  /* padding-left: 10px; */
  padding-left: 25px;
  padding-right: 25px;
  padding-top: 25px;
  padding-bottom: 5px;
  /* text-shadow: 0 1px 2px rgba(0,0,0,.6); */
  text-shadow: 0 1px 2px rgba(0,0,0,.2);
  /* text-shadow: none; */
  overflow: auto;
  margin-bottom: 50px;
}
.carousel-caption h1 {
  /* color: white; */
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 5px;
}
.carousel-caption h1 a {
  text-decoration: none;
  color: #494B4B;
}
.carousel-caption h1 a:hover {
  text-decoration: none;
  color: #494B4B;
}
.carousel-caption p {
  margin-bottom: 0;
}


@media (max-width: 1199px) {
  .img-container {
    height: 290px;
    width: 550px;
  }
  .carousel-caption {
    left: 550px;
  }
}


@media (max-width: 991px) {
  .img-container {
    height: 350px;
    width: 100%;
    border-right: none; /*new*/
  }
  .carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    /* background-color: rgba(255, 255, 255, 0.7); */
    background-color: rgba(255, 255, 255, 0.85);
    /* background-color: rgba(166, 166, 166, 0.85); */
    text-align: left;
    color: #494B4B;
    /* padding-left: 10px; */
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    /* text-shadow: 0 1px 2px rgba(0,0,0,.6); */
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
    /* text-shadow: none; */
    overflow: auto;
    margin-bottom: 0;
  }
  .carousel-caption p {
    display: none;
  }
}


@media (max-width: 767px) {
  .carousel-inner>.item>img {
    /* max-width: none; */ /* undo bootstrap default */
    /* width:200%; */ /* specify our own width */
    /* margin-left:-50%; */ /* center wider image */

    /* width:150%;
     * margin-left:-25%;
     */
    margin-left: auto;
    margin-right: auto;
  }
  .img-container {
    width: 100%;
    height: calc(100vw*.4666)
    border-right: none;
  }
  .carousel-caption {
    position: relative;
    min-height: 40px;
    margin-left: -10%;
    margin-right: -10%;
    padding-left: 10%;
    padding-right: 10%;
    padding-right: calc(10% + 100px + 10px);
    /* background-color: lightgray; */
    background-color: darkgray;
    border-top: 1px solid lightgray;
  }
  .carousel-caption h1 {
    font-size: 1em;
  }
  .carousel-caption p {
    display: none;
  }
  .carousel-control {
    font-size: 30px;
    width: 30px;
    height: 30px;
    bottom: 25px;
    top: auto;
    color: #494B4B;
  }
  .carousel-control.left {
    left: auto;
    /* right: 50px; */
    right: calc(5% + 50px);
  }
  .carousel-control.right {
    left: auto;
    /*
    right: 10px;
    */
    right: 5%;
  }
  .container {
    box-shadow: none;
  }
  .container a:hover,a:focus {
    text-decoration: none;
  }
}
