/*Slideshow*/
/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  padding-bottom: 40%;
  height: 0;
  position: relative;
  margin: auto;
  overflow: hidden;
}
.text1 {
    margin-top: 20px;
}
.text2 {
    margin-top: 6px;
}
.text3 {
   margin-top: 5px;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 12px;
  user-select: none;
}
.prev {
    left: 0;
}
.next {
    right: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text and link*/
.text {
    font-weight: bold;
    display: flex;
    justify-content: center;
    flex-direction: column;
    margin: auto;
    color: white;
    font-family: 'Helvetica Bold', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    font-size: 40px;
    padding: 5%;
    position: absolute;
    top: 0;
    width: 100%;
    text-align: left;
}
.text1, .text2, .text3 {
    font-size: 17px;
    font-weight: 400;      /* use 500 or 600 for even stronger */
    letter-spacing: 0.08em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);  /* helps legibility over photos */
}
.slideLink {
    max-width: 296px;
    text-align: center;
    font-weight: normal;
    position: absolute;
    width: 200px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 5%;
    bottom: 10%;
    font-family: 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    background: #77bc1f;
    color: black;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.slideLink:hover,
.slideLink:focus {
  background-color: #5a9618;
  color: white;
  outline: none;
}

.slideLink:focus {
  box-shadow: 0 0 0 3px rgba(119, 188, 31, 0.5);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: white;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dots {
    text-align: center;
    position: absolute;
    right: 7%;
    z-index: 9;
    bottom: 7%;
}

.active, .dot:hover {
    background-color: #77bc1f;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* Slides and images fill the container at every screen size */
.page-home .slideshow-container .mySlides {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.page-home .slideshow-container .mySlides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile only: dark overlay on hero images so the text stands out */
@media only screen and (max-width: 769px) {
  .page-home .slideshow-container .mySlides::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);  /* 0.1 = 10%, 0.2 = 20%, 0.3 = 30% */
    z-index: 1;
    pointer-events: none;  /* keeps the button and arrows clickable */
  }
  /* Keep the text and button above the overlay */
  .page-home .slideshow-container .text,
  .page-home .slideshow-container .slideLink {
    z-index: 2;
  }
}

/* Desktop: fixed banner height */
@media only screen and (min-width: 770px) {
  .page-home .slideshow-container {
    padding-bottom: 0;
    height: 390px;
  }
}

/* On smaller screens, decrease text size */
@media only screen and (max-width: 769px) {
  .prev, .next {
    font-size: 11px;
  }
  .slideshow-container {
    padding-bottom: 70%;
  }
  .text {
    font-size: 28px;      /* was 24px */
    top: 10%;
    padding-left: 12%;
  }
  .text1, .text2, .text3 {
    font-size: 16px;      /* was 14px */
    letter-spacing: 0.05em;
  }
  .slideLink {
    width: 170px;
    left: 12%;
    font-size: 14px;
  }
}

/* On MUCH smaller screens: only the values that differ from the rules above */
@media only screen and (max-width: 550px) {
  .slideshow-container {
    padding-bottom: 85%;
  }
  .text {
    font-size: 24px;      /* was 20px */
  }
  .text1, .text2, .text3 {
    font-size: 14px;      /* was 12px */
  }
  .text1 {
    margin-top: 9px;
  }
  .slideLink {
    width: 150px;
  }
}
/* end MUCH smaller */

/* Full-width banner */
.page-home .belowHeaderAdHtml {
  max-width: none;
  width: 90vw;
  margin: auto;
}
/*End of Slideshow*/


/* Button blocks: height is set in ONE place (padding-bottom below) */
.rowC {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    flex-flow: row nowrap;
}

.textC, .imageC {
    width: 50%;
    padding-bottom: 17%;
    height: 0;
    position: relative;
    overflow: hidden;
    display: flex;
}

.textC {
    z-index: 1;
}

.imageC {
    margin: auto;
    background-size: cover;
    background-position: center;
}

/* Green overlay effect */
.textC::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(119, 188, 31, 0); /* Start transparent */
    transition: background-color 0.4s ease;
    z-index: 2;
    pointer-events: none;
}

/* On hover, apply lighter green overlay */
.rowC:hover .textC::before {
    background-color: rgba(119, 188, 31, 0.3);
}

.textC > div {
    color: white;
    font-size: 20px;      /* desktop size (was 16px) */
    line-height: 1.3;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0 10%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 3; /* keeps text above the green hover overlay */
}

/* Makes any heading/span inside the block follow the size set above */
.textC > div * {
    font-size: inherit;
    line-height: inherit;
}

/* Mobile: smaller headings, room for 4 lines, images bottom-aligned */
@media only screen and (max-width: 550px) {
    .textC, .imageC {
        padding-bottom: 26%;   /* taller block so 4 lines of heading fit */
    }
    .textC > div {
        font-size: 14px;
        line-height: 1.3;
        padding: 0 6%;         /* a little more width for the text */
    }
    .imageC {
        background-position: center bottom;
    }
    .imageC img {
        object-position: center bottom;  /* only applies if the image is an <img> */
    }
}


.grid-frame {
    margin-bottom: 5px;
}
.module-header {
        padding-bottom: 5px;
        margin-bottom: 5px;
}
table.fatable {
    margin: 15px 0px 10px 0px;
    border: 1px solid #00788A;
}

table.fatable th {
    border: 1px solid #00788A;
    padding: 2px;
    color: #ffffff;
    background-color:  #00788A;   
    font-weight: bold;
}

table.fatable td {
    border: 1px solid #00788A;
    padding: 2px;
    color: #00788A;
    background-color: #ffffff;
    text-align: left;
}

h2 {
    color: #00788A;
    font-size: 140%;
    margin: 1em 0em 0.5em 0em;
}

h3 {
    color: #00788A;
    font-size: 115%;
    border-bottom: 1px solid #00788A;
}
h3.module-name,
h3.entry-title {
    border-bottom: none;
}

.articleListPage-entry  .entry-title > a {
   font-size:150%;
   border-bottom: none 1px;
}

.articleListPage-entry  h3.entry-title  {
   border-bottom: solid 1px;
}

.entry-content img.align-right {
    margin: 0.25em 0px 0.25em 1.5em;
    float: right;
}

.entry-content img.align-left {
    margin: 0.25em 1.5em 0.25em 0px;
    float: left;
}

.entry-content ul li {
    margin-bottom: 0.25em;
}

/*
ul.ningbar-userLinks li:first-child {
    visibility: hidden;
} 
*/


/*================================ Add any custom styles below this line ================================*/

@import "custom.css*
