/*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: 100;
    letter-spacing: 0.08em; /* increased letter spacing */
}
.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}
}

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

/* On MUCH smaller screens, decrease text size */
@media only screen and (max-width: 550px) {
  .prev, .next,.text {
    font-size: 11px;
}
.slideshow-container {
  padding-bottom: 65%;
}
  .text {
    font-size: 20px;
    top: 10%;
    padding-left: 12%;
}
  .text1, .text2, .text3 {
    font-size: 12px;
    letter-spacing: 0.05em; /* increased letter spacing */
  }

  .text1{
       margin-top: 9px;
  }

  .slideLink {
    width: 150px;
    left: 12%;
    font-size: 14px;
  }
  
}
/* end MUCH smaller */

.page-home .belowHeaderAdHtml {
    max-width: 960px;
    margin: auto;
}
/*End of Slideshow*/


.rowC {
    width: 100%;
    height: auto;
    display: flex;
    position: relative;
    flex-flow: row nowrap;
}

.textC {
    width: 50%;
    padding-bottom: 26%;
    height: 0;
    position: relative;
    overflow: hidden;
    display: flex;
    z-index: 1;
}

/* 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); /* Reduced opacity */
}

.textC > div {
    color: white;
    font-size: 16px;
    padding: 10%;
    line-height: 1.35rem;
    position: relative;
    z-index: 3; /* Content stays above overlay */
}

.imageC {
    width: 50%;
    position: relative;
    overflow: hidden;
    display: flex;
    margin: auto;
    padding-bottom: 26%;
    height: 0;
    background-size: cover;
    background-position: center;
}




.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*
