:root {
  --primary-color: black;
  --secondary-color: white;
}

.hero-slider {
  margin: 0 !important;
  padding: 0px;
  /** Autoplay toggle button in the top left corner */
  /** Custom previous and next arrows in the top right corner */
  /** Default slide navigation dots */
  /** Slide content */
  /* background-color: #850928; */
}
.hero-slider .slick-autoplay-toggle-button {
  position: absolute;
  top: 10px;
  left: 10px;
  bottom: auto;
  background: none;
  border: 0;
  z-index: 10;
  font-size: 32px;
  opacity: 1;
  cursor: pointer;
  color: black;
}
.hero-slider .slick-autoplay-toggle-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.hero-slider .slick-autoplay-toggle-button:focus {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}
.hero-slider .slick-autoplay-toggle-button:active {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}
.hero-slider .custom-prev-button,
.hero-slider .custom-next-button {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: block;
  float: left;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  font-size: 32px;
  cursor: pointer;
}
.hero-slider .custom-prev-button:hover,
.hero-slider .custom-next-button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.hero-slider .custom-prev-button:focus,
.hero-slider .custom-next-button:focus {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
}
.hero-slider .custom-prev-button {
  right: 30px;
}
.hero-slider .slick-dots {
  bottom: 20px;
}
.hero-slider .slick-slide {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  /** Float text overlay */
}
.hero-slider .slick-slide .overlay {
  position: absolute;
  width: 30%;
  padding: 20px;
}
@media screen and (max-width: 768px) {
  .hero-slider .slick-slide .overlay {
    width: 80%;
    left: 0 !important;
    top: 100px;
    text-align: left;
  }
}
.hero-slider .slick-slide .overlay .primary-link {
  display: inline-block;
  color: black;
  text-decoration: none;
  margin-top: 20px;
  padding: 10px 15px;
  border: 2px solid black;
  font-weight: bold;
  transition: outline 0.1s linear;
}
.hero-slider .slick-slide .overlay .primary-link:hover, .hero-slider .slick-slide .overlay .primary-link:focus {
  text-decoration: underline;
  background-color: black;
  color: white;
}
.hero-slider .slick-slide .overlay .primary-link:focus {
  outline: 4px dashed black;
  outline-offset: 3px;
}
.hero-slider .slick-slide .background-image {
  width: 100%;
  height: auto;
  background-size: cover;
}
main {
  background-color: white;
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}
main .content {
  padding: 20px 15%;
  color: rgba(0, 0, 0, 0.9);
  line-height: 26px;
}
main .content h1 {
  line-height: 36px;
}
main .content a {
  color: black;
  font-weight: bold;
}
main .content a:hover, main .content a:focus {
  color: royalblue;
}
main .content li {
  margin-bottom: 15px;
  padding-left: 5px;
}
main .content code {
  background-color: rgba(0, 0, 0, 0.05);
  color: red;
  padding: 2px 8px;
}
main .content .btn {
  margin-top: 30px;
  font-size: 18px;
  padding: 10px 20px;
}
/** Generic ghost button styles */
.slick-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 14px;
  color: black;
  border: 2px solid black;
  box-shadow: 3px 3px 0 0 black;
  text-decoration: none;
  transition: all 0.1s linear;
}
.slick-btn:hover, .slick-btn:focus {
  background-color: black;
  color: white !important;
  text-decoration: underline;
  box-shadow: none;
}
.slick-btn:focus {
  box-shadow: none;
  outline: 4px dashed black;
  outline-offset: 2px;
}

@media screen and (max-width: 768px) {
  .hero-slider .slick-slide .background-image {
    /*width: auto;*/
    margin: 0 auto;
  }
}

/********************************************************/
/**************** Extra Styles for TWU ******************/
/********************************************************/

/* fit hero into main container */
 .hero-slider .slick-slide {
    height: auto;
    display: block;
}
/* make text white*/
h2.hero-slider-heading {
  color: #fff;
  font-family: Adelle, serif;
  margin-top: 0;
  margin-bottom: 1rem;
}
.text-overlay p {
  color: #fff;
  font-family: Gotham A, Gotham B, sans-serif;
  margin: .5em 0 .5em 0;
  }
/* style button */
.white-button-2 {
  border-radius: 0px;
}
.white-button-2:hover {
  border-color: #FFF;
  background-color: #850928;
}
.white-button-2 a {
  color: #850928;
  background: none;
  text-decoration: none;
}
.white-button-2:hover a {
  color: #fff;
  background: none;
  text-decoration: none;
}
/* create maroon rectangle */
.text-overlay, .text-overlay-2 {
  position: absolute;
  top: 70px;
  max-width: 40%;
  padding: 20px;
  background-color: rgba(133, 9, 40, 0.90);
}
.text-overlay-left {
  left: 50px;
}
.text-overlay-right {
  right: 50px;
}
/* widen text area for desktop */
.hero-slider .slick-slide .overlay {
    width: 100%;
}
/* remove additional line height from button bottom */
button, input, optgroup, select, textarea {
    line-height: 0;
}
/* make play/pause smaller and semi-transparent */
.hero-slider .slick-autoplay-toggle-button {
    font-size: 26.5px;
    background-color: rgba(255,255,255,0.5);
}
.hero-slider .slick-autoplay-toggle-button:hover {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}
.hero-slider .slick-autoplay-toggle-button:active {
    background-color: rgba(255,255,255,0.5);
    color: #000;
}
/* separate arrows and make semi-transparent */
.hero-slider .custom-prev-button {
    right: 41px;
}
.hero-slider .custom-prev-button, .hero-slider .custom-next-button {
    background-color: rgba(255,255,255,0.5);
    font-size: 27px;
}
.hero-slider .custom-prev-button, .hero-slider .custom-prev-button {
    background-color: rgba(255,255,255,0.5);
    font-size: 27px;
}
.hero-slider .custom-prev-button, .hero-slider .custom-prev-button:hover {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}
.hero-slider .custom-prev-button, .hero-slider .custom-next-button:hover {
    background-color: rgba(0,0,0,0.5);
    color: #fff;
}
.hero-slider .custom-prev-button, .hero-slider .custom-prev-button:active {
    background-color: rgba(255,255,255,0.5);
    color: #000;
}
.hero-slider .custom-prev-button, .hero-slider .custom-next-button:active {
    background-color: rgba(255,255,255,0.5);
    color: #000;
}

/* ### MOBILE ###  */
@media screen and (max-width: 768px) {
.hero-slider .slick-slide .overlay h2 {
    padding: 0;
    margin: 0;
    /* font-size: 28px; */
}
.hero-slider .slick-slide .overlay p {
    /* font-size: 17px; */
    width: 100%;
}
h2.hero-slider-heading {
  font-size: 28px;
}
.text-overlay p {
  font-size: 17px;
}
/* move overlay above image and make it opaque and force height*/
.text-overlay, .text-overlay-2 {
  position: static;
  top: auto;
  left: auto;
  /* width: auto; */
    max-width: 100%;
  min-height: 250px;
  background-color: rgba(133, 9, 40, 0.99);
}
/* send slider controls to bottom so they don't cover text */
.hero-slider .slick-autoplay-toggle-button {
  top: auto;
  bottom: 20px;
}
.hero-slider .custom-prev-button, .hero-slider .custom-next-button {
  top: auto;
  bottom: 20px;
}
}

/* desktop text */
 @media screen and (min-width:1440px) {
    h2.hero-slider-heading {
      font-size: 55px; 
    }
    .text-overlay p {
      font-size: 20px;
      line-height: 1.7rem;
    }
    .text-overlay, .text-overlay-2 {
      padding: 40px;
    }
}