  
/* .carousel */

.carousel .carousel-inner {
  position: relative;
  max-width: 100%;
  z-index: 11;
  
}

.carousel .carousel-item {
  display: none;
  max-height: 640px;
  max-width: 1972px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.carousel .carousel-item.active {
  display: block;
}

/* More like bootstrap, less accessible */

.carousel .carousel-items {
 /* border: solid 2px transparent; */
}

.carousel .carousel-items.focus {
  border-color: white;
  outline: solid 3px #C2363D;
}

.carousel .carousel-item .carousel-image a img {
  height: 100%;
  width: 100%;
}

.carousel .carousel-item .carousel-caption a {
  text-decoration: none;
    min-height: 44px;
    line-height: 44px;
    text-align: center;
	margin-top: 10px;
}

.carousel .carousel-item .carousel-caption a,
.carousel .carousel-item .carousel-caption span.contrast {
  display: inline-block;
}

.carousel .carousel-item .carousel-caption h3 a {
  color: #fff;
  font-weight: 600;
}

.carousel .carousel-item .carousel-caption a:hover,
.carousel .carousel-item .carousel-caption span.contrast:hover {
  background-color: rgba(0, 0, 0, 1);
  margin: 10px 0 0 0;
}

.carousel .carousel-item .carousel-caption a:focus {
  background-color: rgba(0, 0, 0, 1);
  border-color: #fff;
  margin: 0;
}

.carousel-inner .item {
  opacity: 0;
  -webkit-transition-property: opacity;
  -moz-transition-property: opacity;
  -o-transition-property: opacity;
  transition-property: opacity;
}
.carousel-inner .active {
  opacity: 1;
}
.carousel-inner .active.left,
.carousel-inner .active.right {
  left: 0;
  opacity: 0;
  z-index: 1;
}
.carousel-inner .next.left,
.carousel-inner .prev.right {
  opacity: 1;
}
.carousel-control {
  z-index: 2;
}

.carousel-caption .txt-large { font-family: 'Anton', sans-serif; font-size: 2.5em; text-transform: uppercase; letter-spacing: 2px; text-shadow: 5px 5px 10px #000000; line-height: 1em;}
.carousel-caption .txt-small { font-size: 1.8em; line-height: 1.2; }


.carousel .carousel-item .carousel-caption p {
  font-size: 1.8em;
  text-shadow: 5px 5px 10px #000000;
  line-height: 1.6;
  margin-bottom: 0;
}

.carousel .carousel-item .carousel-caption {
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,.9));
  bottom: 0;
  left: 0;
  padding: 3% 7% 5%;
  color: #fff;
  text-align: left;
  width: 100%;
}

@keyframes slidein-left {
	0% {
		transform: translateX(-100%);
	}
	100% {
		transform: translateX(0);
	}
}

.caption-content {  
	animation: 1s slidein-left;
}

@keyframes slidein-top {
	0% {
		transform: translateY(100%);
	}
	100% {
		transform: translateY(0);
	}
}

.caption-content-top {  
	animation: 1s slidein-top;
}


/* Shared CSS for Pause, Next and Previous Slide Controls */

.carousel .controls button {
  padding: 0;
  position: absolute;
  bottom: 20px;
  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: #C2363D;
  stroke: #C2363D;
  opacity: 1;
}

.carousel .controls button:focus rect.border {
  stroke: white;
}

/* Fade-in effect */

.fade-in {
  animation: fadeIn ease 2s;
  -webkit-animation: fadeIn ease 2s;
  -moz-animation: fadeIn ease 2s;
  -o-animation: fadeIn ease 2s;
  -ms-animation: fadeIn ease 2s;
}
@keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-moz-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-webkit-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-o-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

@-ms-keyframes fadeIn {
  0% {
    opacity:0;
  }
  100% {
    opacity:1;
}


/* Responsive */

@media (max-width: 1330px) {
	.carousel .carousel-item .carousel-caption p { font-size: 1.5em; line-height: 1.2; }
	.carousel-caption .txt-large { font-size: 2em!important; border: 3px solid red; }
}

@media (max-width: 1024px) {
	.carousel .carousel-inner { margin-top: 0px!important;}
}
	
@media (max-width: 700px) {
	.carousel-caption .txt-small { font-size: 1.5em !important; line-height: 1; }
}

@media (min-width: 700px) {

}