/** overrides for bootstrap and current copper.org conflicts **/

/* theme colors */

:root {
  --color-primary: rgb(246,132,62) /* #f6843e */;
    --color-primary-alpha: rgba(246,132,62,0.8);
  --color-secondary: rgb(37,115,154) /* #25739a*/;
  --color-quinary: rgb(102,102,105) /* #666666*/;
/** fix these */
  --color-tertiary: rgb(105,208,199) /* #69D0C7 */;
  --color-quaternary: rgb(204,107,101) /* #CC6B65 */;
}

html, body  {
  background-color: #ffffff;
  font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
}

#primary-content {
  font-size: 1rem;
  margin: 0;
}

header {
  overflow:auto;
  background-color: #ffffff;
  border-bottom: 3px solid var(--color-primary);
}


#primary-content fieldset legend {
  font-size: 1rem;
}

#primary-content fieldset label {
  font-size: 1rem;
}

.btn-primary {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary-alpha);
}

  .btn-primary:hover {
      color: #fff;
      background-color: var(--color-primary-alpha);
      border-color: var(--color-primary);
  }

form#site-search fieldset {
  padding-top: 40px;
  margin-bottom: 0;
}
  form#site-search .search-submit {
    vertical-align: baseline;
  }

  #primary-content fieldset {
    width: auto;
    max-width: auto;
  }

  #primary-content fieldset label, #primary-content fieldset .radiogrouplabel {
    width: 100px;
  }

  #primary-content fieldset select {
    min-width: 172px;
  }

  #primary-content a {
    text-decoration: underline;
  }

  #cboxPrint {
    display: none;
  }


  /* CUSTOMIZE THE CAROUSEL
  -------------------------------------------------- */

  /* Carousel base class */
  .carousel {
    margin-bottom: 1rem;
  }

  #primary-content ol.carousel-indicators {
    padding-left: 0;
  }
  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    z-index: 10;
    /**
    top: 1rem;
    left: 0.75rem;
    right: 0.75rem;
    bottom: 0.5;
    */
    top: 0;
    left: 3rem;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.8);
    color: var(--color-quinary);
  }

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

    #primary-content .carousel-caption h2 {
      font-size: 1rem;
      padding-top:0;
      margin: 0;
      color: var(--color-secondary);
    }

    .carousel-caption p {
      padding-left: 0.5rem;
      padding-right: 0.5rem;
      font-size: .65rem
    }

    .carousel-caption a {
      text-decoration: underline;
    }

  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 16rem;
  }
  .carousel-item > img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 16rem;
  }

  .carousel-indicators li {
    background-color: var(--color-primary-alpha);
  }

  .carousel-indicators li.active {
    background-color: var(--color-primary);
  }

  .carousel-control-prev, .carousel-control-next {
    z-index:100;
    width: 4%;
  }

  .carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%6843f' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
  }

  .carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%6843e' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
  }

  /* RESPONSIVE CSS
  -------------------------------------------------- */

@media only screen and (min-width: 100px) {
  form#site-search {
      margin-top: 0px
  }
}

@media only screen and (min-width: 1024px) {
    header {
        padding-top:6px;
        padding-bottom: 8px;
    }

    #body-content {
        width: auto;
        border: none;
    }
}

@media only screen and (min-width: 40rem) {
  /* Declare heights because of positioning of img element */
  .carousel-item {
    height: 32rem;
  }
  .carousel-item > img {
    min-width: 100%;
    height: 32rem;
  }

  /* Since positioning the image, we need to help out the caption */
  .carousel-caption {
    /**
    right: 0;
    top:0;
    bottom: 0;
    **/
    left: 50%;

    padding: 1.25rem;
  }

    #primary-content .carousel-caption h2 {
      padding-top: 0;
      margin-top: 22%;
      font-size: 1.5rem;
    }

  .carousel-caption p {
    font-size: 1.15rem;
    margin-bottom: .8rem;
    line-height: 1.4;
  }

}
