﻿
/* Accessible Carousel Controls - Castle Douglas */
#myCarousel .carousel-control-prev,
#myCarousel .carousel-control-next {
  width: auto;
  padding: 0.25rem 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#myCarousel .carousel-control-prev { left: 0.5rem; }
#myCarousel .carousel-control-next { right: 0.5rem; }

#myCarousel .carousel-control-prev-icon,
#myCarousel .carousel-control-next-icon {
  filter: drop-shadow(0 0 2px rgba(0,0,0,.7)) drop-shadow(0 0 4px rgba(0,0,0,.5));
  background-image: none;
  width: 24px;
  height: 24px;
}

#myCarousel .carousel-control-prev-icon::before,
#myCarousel .carousel-control-next-icon::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 24px;
  filter: drop-shadow(0 0 2px rgba(0,0,0,.7)) drop-shadow(0 0 4px rgba(0,0,0,.5));
}

#myCarousel .carousel-control-prev-icon::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M11 14L5 8l6-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>');
}

#myCarousel .carousel-control-next-icon::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M5 14l6-6-6-6' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>');
}

#myCarousel .carousel-control-prev:focus,
#myCarousel .carousel-control-next:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-top: 3rem;
  padding-bottom: 3rem;
  color: #5a5a5a;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  margin-bottom: 4rem;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 3rem;
  z-index: 10;
}

/* Declare heights because of positioning of img element 
.carousel-item {
  height: 32rem;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}*/


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  text-align: center;
}
.marketing h2 {
  font-weight: 400;
}
/* rtl:begin:ignore */
.marketing .col-lg-4 p {
  margin-right: .75rem;
  margin-left: .75rem;
}
/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  /* rtl:remove */
  letter-spacing: -.05rem;
}

.image {
	border-style: outset;
	border-width: medium;
	padding: -20% 2px 2px 2px;
	text-align: center;
	display: block;
	margin-right: auto;
	margin-left: auto;
	vertical-align: middle;
	width: 98%;
}

}
.black {
	color:black}
	


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 0rem;
  }
}
