
/* .carousel */

.carousel .carousel-inner {
  position: relative;
}

.carousel .carousel-item {
  display: none;
  max-height: 400px;
  max-width: 900px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel .carousel-item {
  display: block;
}

/* More like bootstrap, less accessible */

.carousel .carousel-items {
  /*border: solid 2px transparent;*/
}

.carousel .carousel-items.focus {
  border-color: white;
  outline: solid 3px #005a9c;
}

.carousel .carousel-item .carousel-image a img {
  height: 100%;
  width: 100%;
}

.carousel .carousel-item .carousel-caption a {
  text-decoration: none;
}

.carousel .carousel-item .carousel-caption a,
.carousel .carousel-item .carousel-caption p.h3,
.carousel .carousel-item .carousel-caption span.contrast {
  display: inline-block;
  /*outline:1px solid white;*/
 /* font-size:18px;*/
  /*background-color: rgba(0, 0, 0, 0.65);*/
  padding-left: 16px;
  padding-right: 16px;
  /*border-radius: 5px;
  border: 2px solid transparent;
  margin: 0;*/
  margin: 0;
}

.carousel .carousel-item .carousel-caption h3,.carousel .carousel-item .carousel-caption h3 a,
.carousel .carousel-item .carousel-caption .h3,.carousel .carousel-item .carousel-caption .h3 a {
  color: #fff;
  margin: 0;
  font-weight: normal;
  font-family:'OpenSansBold';
  font-size:36px!important;
  padding-top:4px;
}


.carousel .carousel-item .carousel-caption span.contrast:hover {
  /*background-color: rgba(0, 0, 0, 1);*/
  
  margin: 0;
}
.carousel .carousel-item .carousel-caption a:hover {
  /*background-color: rgba(0, 0, 0, 1);*/
  text-decoration: underline;
  margin: 0;
}
.carousel .carousel-item .carousel-caption a:focus {
  /*background-color: rgba(0, 0, 0, 1);
  border-color: #fff;*/
  text-decoration: underline;
  outline: 2px dotted white;
  margin: 0;
}

.carousel .carousel-item .carousel-caption p {
  /*font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;*/
  font-size:18px;
  font-weight: normal;
  font-family:'OpenSansBold';
  margin: 0;
}

.carousel .carousel-item .carousel-caption {
  position: absolute;
  right: 2%;
  bottom: 3%;
  left: 2%;
  width:96%;
  height:25%;
  padding:0px;
  background-color:rgba(1,107,155,.9);
  /*padding-top: 20px;
  padding-bottom: 20px;*/
  color: #fff;
  /*text-align: center;*/
}

/* Shared CSS for Pause, Next and Previous Slide Controls */

.carousel .controls button {
  padding: 0;
  position: absolute;
  top: 5px;
  z-index: 10;
  background-color: transparent;
  border: none;
  outline: none;
}

.carousel .controls button svg rect.background {
  stroke: black;
  fill: black;
  stroke-width: 1px;
  opacity: 0.6;
}

.carousel .controls button svg rect.border {
  fill: transparent;
  stroke: transparent;
  stroke-width: 2px;
}

/* Next and Previous Slide Controls */

.carousel .controls button svg polygon {
  stroke: white;
  fill: white;
  stroke-width: 2;
  opacity: 1;
}

.carousel .controls button.previous {
  right: 50px;
}

.carousel .controls button.next {
  right: 6px;
}

/* Pause Control */

.carousel .controls button.rotation {
  left: 6px;
}

.carousel .controls button.rotation svg polygon.pause {
  stroke-width: 4;
  fill: transparent;
  stroke: transparent;
}

.carousel .controls button.rotation svg polygon.play {
  stroke-width: 1;
  fill: transparent;
  stroke: transparent;
}

.carousel .controls button.rotation.pause svg polygon.pause,
.carousel .controls button.rotation.play svg polygon.play {
  fill: white;
  stroke: white;
}

/* Common focus styling for svg buttons */

.carousel .controls button:focus rect.background,
.carousel .controls button:hover rect.background,
.carousel .controls button:focus rect.border,
.carousel .controls button:hover rect.border {
  fill: #005a9c;
  stroke: #005a9c;
  opacity: 1;
}

.carousel .controls button:focus rect.border {
  stroke: white;
}
@media ((min-width: 981px) and (max-width: 1223px)){
.carousel .carousel-item .carousel-caption h3,.carousel .carousel-item .carousel-caption h3 a {
 
  font-weight: normal;
  font-family:'OpenSansBold';
  font-size:32px!important;
  padding-top:4px;
}

.carousel .carousel-item .carousel-caption p {
  /*font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;*/
  font-size:14px;
  font-weight: normal;
  font-family:'OpenSansBold';
  margin: 0;
}

}
@media (max-width: 980px){
.carousel .carousel-item .carousel-caption h3,.carousel .carousel-item .carousel-caption h3 a,
.carousel .carousel-item .carousel-caption .h3,.carousel .carousel-item .carousel-caption .h3 a {
 
  font-weight: normal;
  font-family:'OpenSansBold';
  font-size:14px!important;
  padding-top:5px;
}

.carousel .carousel-item .carousel-caption p {
  /*font-size: 1em;
  line-height: 1.5;
  margin-bottom: 0;*/
  font-size:10px;
  font-weight: normal;
  font-family:'OpenSansBold';
  margin: 0;
}
.carousel .carousel-item .carousel-caption {
  position: absolute;
  right: 2%;
  bottom: 3.5%;
  left: 2%;
  width:96%;
  height:44%;
  padding:0px 0px 2px 0px;
  background-color:rgba(1,107,155,.9);
  /*padding-top: 20px;
  padding-bottom: 20px;*/
  color: #fff;
  /*text-align: center;*/
}

}
