*{
  margin:0px;
  padding:0px;
}

html {
  scroll-behavior: smooth;
}

:root{
  --blue:#3853a4;
  --black:#040405;
}

body {
  font-family: 'Open Sans', sans-serif;
  color:#040405;
  font-size: 16px;
  line-height: 1.4em;
  margin: 0;
}

h1, h2, h3, h4{
  font-weight: 900;
  line-height: 1.4em;
}

h1{
  margin-top: 0px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

p, h2, h3 {
  margin-bottom: 20px;
  margin-top: 0px;
}

h3{
  font-size: 1.33em;
  text-transform: uppercase;
}

a{
  text-decoration: none;
  transition: .2s;
  color: inherit;
}

a.normal-link{
  font-weight: 500 !important;
  font-size: 1em !important;
}

ul, ol{
  padding-left:40px;
}

ol li, ul li{
  padding-bottom: 5px;
}

.subpage-hero h2{
  margin:10px 0 0;
  text-align: center;
  font-weight: 400;
  text-transform: uppercase;
}

.subpage-content p a{
  border-bottom: 1px solid #d4ac20;
  font-weight: 500;
}

.subpage-content p a:hover{
  color: #d4ac20;
}

#thank-you-content {
  text-align: center;
  font-size: 1.15em;
  font-weight: 500;
}

#thank-you-content p{
  margin-bottom: 40px;
}

#thank-you-content img{
  width: 200px;
  height: auto;
}

.subpage-hero1{
  background: url(images/subpage-hero1.jpg) no-repeat center;
  background-size: cover;
}

.subpage-hero2 {
  background: url(images/subpage-hero2.jpg) no-repeat center;
  background-size: cover;
}

.subpage-hero3 {
  background: url(images/subpage-hero3.jpg) no-repeat center;
  background-size: cover;
}

.defensible-hero {
  background: url(images/defensible-hero.jpg) no-repeat center;
  background-size: cover;
}


/*HOMEPAGE-ACCORDION STYLES*/

.accordion {
  max-width: 700px;
  margin: 60px 0 0;
  background:transparent;
}

.accordion .acc-container {
  position: relative;
}

.accordion .label {
  position: relative;
  padding: 20px;
  font-size: 1.33em;
  font-weight: bold;
  color: white;
  cursor: pointer;
  background: #040405;
  margin:10px 0;
}

.accordion .label::before {
  content: '+';
  color: white;
  position: absolute;
  top: 50%;
  right: 20px;
  font-size: 30px;
  transform: translateY(-50%);
}

.accordion .acc-content {
  position: relative;
/*  background: transparent;*/
  height: 0;
  text-align: justify;
/*  width: 780px;*/
  overflow: hidden;
  transition: 0.5s;
}

.accordion hr {
  width: 100%;
  margin-left: 0;
  border: 1px solid grey;
  display: none;
}

.accordion-body .acc-container:nth-of-type(1).active .acc-content{
  height:133px; 
}
.accordion-body .acc-container:nth-of-type(2).active .acc-content{
  height:445px;
}
.accordion-body .acc-container:nth-of-type(3).active .acc-content{
  height:310px;
}

.accordion .acc-container.active .label::before {
  content: '-';
  font-size: 30px;
}

.accordion .acc-container.active .label{
  background: #3853a4;
}

.center-text{
  text-align: center;
}

.accordion {
  width: 100%;
  max-width: 600px;
  margin-top: 60px;
}


/*AMBULANCE BILLING STYLES*/

a.application-btn{
  padding:10px;
  width: 200px;
  display: inline-block;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: white;
  background: #3853a4;
  border:2px solid #3853a4;
  border-radius: 3px;
}

a.application-btn:hover{
  background: white;
  color: #3853a4;
}

/*BURN PERMITS DESKTOP*/

.permit-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 500px;
  width: 100%;
}

.permit-form input {
  padding: 15px;
  border: 1px solid #adb7bc;
  font-family: 'Open Sans', sans-serif;
  color: var(--black);
  margin-bottom: 20px;
  width: calc(100% - 30px);
}

.permit-form input[type="radio"] {
  height: 15px;
  width: 15px;
  margin-right: 20px;
  margin-bottom: 0px;
}

.permit-form p{
  width: 100%;
}

.short-input-container {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.short-input-container input{
  width: calc(50% - 40px);
}

.form-question {
  padding-top: 10px;
  border-top: 1px solid lightgray;
  width: 100%;
}

.radio-container {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.permit-form #submit{
  background: var(--black);
  color: white;
  padding:13px 20px;
  width: 40%;
  text-align: center;
  display: inline-block;
  margin-top:10px;
  transition: .4s;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.permit-form #submit:hover{
  background: var(--blue);
  cursor: pointer;
}

#thank-you-content {
  text-align: center;
}

/* DEFENSIBLE SPACE STYLES */

#defensible-space-content h1{
  text-align: center;
  margin-top:60px;
}

.three-r{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: flex-start;
  margin: 40px 0;
  text-align: center;
}

.three-r h3{
  color:#d0ae68;
  width: 100%;
}

.three-r p{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 120px;
  margin: 0 10px 20px;
  padding: 20px;
  box-shadow: 2px 2px 4px #727475;
}

.ds-contact-form {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  max-width: 620px;
  border:1px solid #040405;
  border-radius: 5px;
  padding:20px;
  margin:40px auto;
}

.ds-contact-form p{
  width: 100%;
  color: #3853a4;
  font-weight: bold;
  font-size: 1.15em;
}

.ds-contact-form input {
  font-family: 'Open Sans', sans-serif;
  padding: 10px;
  border: 1px solid lightgray;
  border-radius: 5px;
  background: #f5f5f5;
  color: #040405;
  width: calc(50% - 30px);
  margin-bottom: 20px;
}

.ds-contact-form #submit{
  background: #3853a4;
  color: white;
  border:2px solid #3853a4;
  transition: .4s;
  font-weight: bold;
  text-transform: uppercase;
}

.ds-contact-form #submit:hover{
  background: white;
  color: #3853a4;
  cursor: pointer;
}

/*STAFF MEMBER STYLES*/

#staff-content .container{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  align-items: stretch;
}

.staff-member{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding:20px 20px 0;
  margin:10px;
  width: 280px;
  background: #f5f5f5;
}

.staff-member i{
  margin-right:10px;
}

/*SUB FOOTER STYLES*/

#sub-footer{
  background: #3853a4;
  color: #D6D6D6;
  text-align: center;
  padding:15px;
  font-size: .9em;
}

#sub-footer a{
  border-bottom: 1px solid white;
}

#sub-footer a:hover{
  color: #fff;
}

#banner {
  background:white;
  color:black;
  text-align:center;
  padding:10px 0px;
}

#banner a {
  color:black;
  text-decoration: underline;
}

#banner a:hover {
  text-decoration:none;
}


/*** DESKTOP STYLES ***/
@media (min-width: 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
  }

  /*** HEADER DESKTOP STYLES ***/

  a#mobile-logo{
    display: none;
  }

  #navContainer{
    width: 100%;
    transition: .4s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    background: #3853a4;
    color: #D6D6D6;
    z-index: 1000;
  }

  #topHeader{
    padding: 5px 10px;
    border-bottom: 1px solid #d6d6d6;
    transition: .5s;
  }

  #topHeader .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9em;
  }

  #header-icon-container{
    display: flex;
    align-items: center;
  }

  .header-icon{
    display: flex;
    align-items: center;
    margin-right:20px;
  }

  .header-icon i{
    color: #3853a4;
    margin-right:5px;
    font-size: 1.25em;
  }

  .header-icon p{
    margin-bottom: 0px;
    font-weight: 500;
  }

  .header-icon a:hover{
    color: #d4ac20;
  }

  #header-social-input{
    display: flex;
    align-items: center;
  }

  #header-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 80px;
  }

  #header-social i{
    transition: .4s;

  }

  #header-social i:hover{
    color: #d4ac20;
  }

  #header-input{
    margin-left:40px;
  }

  a.icon{
    display: none;
  }

  a#headerLogo{
    height: 100px;
    padding:10px 0;
    transition: .5s;
  }

  #myTopnav img{
    height: 100%;
    width: auto;
  }

  #myTopnav {
/*    background: #fff;*/
    transition: .4s;
  }

  #myTopnav .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
/*    width: 860px;*/
  }

  .topnav a,
  .d-btn{
    display: inline-block;
    color: #D6D6D6;
    font-weight: bold;
    font-size: 1em;
    border-bottom: 1px solid transparent;
    padding-bottom: 8px;
    margin:0 20px;
  }

  .topnav a:hover{
    color: #fff;
    border-bottom: 1px solid #d4ac20;
  }

  .d-btn:hover{
    color: white;
    border-bottom: 1px solid transparent !important;
  }

  .d-btn:focus{
    color: #fff;
  }

  .d-btn:hover{
    cursor: default;
  }

  .closebtn{
    display: none;
  }

  .hidden {
    display: none;
    position: absolute;
    background: rgb(4, 4, 5, .9);
    width: 220px;
    z-index: 10;
    padding: 15px;
    flex-direction: column;
    align-items: flex-start;
    margin:0px 0 0 -10px;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
  }

  .dropdown:hover .hidden {
    display: flex;
  }

  .hidden {
    animation: fadeIn .5s;
    -webkit-animation: fadeIn .5s;
    -moz-animation: fadeIn .5s;
    -o-animation: fadeIn .5s;
    -ms-animation: fadeIn .5s;
  }
  @keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }

  @-moz-keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
  }

  .hidden a{
    width: calc(100% - 20px);
    margin: 2px 0px;
    padding:5px 10px;
    font-size: .9em;
  }

  .hidden a:hover{
    background: white;
    border-bottom: 1px solid transparent;
    color: #d4ac20;
  }

  .hidden a:last-of-type{
    margin-bottom: 0px;
  }

  #homepage-hero-slideshow{
   padding-top:90px;
    background: black;
  }

  #hero1{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero1.jpg);
      background-repeat: no-repeat;
      background-position: bottom center;
      background-size: cover;
    }

    #hero2{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero2.jpg);
      background-repeat: no-repeat;
      background-position: bottomcenter;
      background-size: cover;
    }

    #hero3{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero3.jpg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    .hero-content{
      padding:120px 0 80px;
      height: 700px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
    }

    .hero-content h1{
      font-size: 4em;
      letter-spacing: 1px;
      text-transform: uppercase;
      line-height: 1.3em;
      color: white;
      margin-bottom: 30px;
    }

    .fadeInLeft{
      color: #3853a4;
    }

  @-webkit-keyframes fadeInLeft{
      0%{
          opacity:0;
          -webkit-transform:translateX(-200px);
          transform:translateX(-200px)}
      100%{
          opacity:1;
          -webkit-transform:translateX(0);
          transform:translateX(0)
      }
  }

  @keyframes fadeInLeft{
      0%{
          opacity:0;
          -webkit-transform:translateX(-300px);
          -ms-transform:translateX(-300px);
          transform:translateX(-300px)}
      100%{
          opacity:1;
          -webkit-transform:translateX(0);
          -ms-transform:translateX(0);
          transform:translateX(0)
      }
  }
  .fadeInLeft{
      -webkit-animation-name:fadeInLeft;
      animation-name:fadeInLeft;
      -webkit-animation-duration:2s;
      animation-duration:2s;
      -webkit-animation-fill-mode:both;
      animation-fill-mode:both;
      animation-delay: 1s;
  }

    .hero-content p{
      width: 600px;
      margin-bottom: 40px;
      font-size: 1.15em;
      line-height: 1.4em;
    }

   .hero-content a{
    color: white;
    font-weight: bold;
    background: #3853a4;
    border:2px solid #3853a4;
    padding:15px 50px;
    text-transform: uppercase;
    display: inline-block;
    margin-right:20px;
    font-size: 1.15em;
    width: 200px;
    text-align: center;
    margin-bottom: 20px;
   }

   .hero-content a:hover{
    background: white;
    color: #3853a4;
    border:2px solid white;
   }

   #hero-button a {
    border:2px solid white;
    background: transparent;
    color: white;
    margin-right:0px;
    width: 255px;

   }

   #hero-button a:hover{
    background: white;
    color: #3853a4;
   }

     /* Slideshow container */
    .slideshow-container {
      max-width: 100%;
      position: relative;
      margin: auto;
      background: black;
    }

    /* Hide the images by default */
    .mySlides,
    .blogSlides {
      display: none;
    }

    /* Next & previous buttons */
     .prev, .next {
      cursor: pointer;
/*      position: absolute;*/
      width: auto;
/*      top: 40%;*/
      color: white;
      font-size: 16px;
      transition: 0.6s ease;
      user-select: none;
      border-bottom: 1px solid transparent;
      text-transform: uppercase;
      font-weight: 400;
      z-index: 3;
    }

    .prev-next-container{
      position: absolute;
      top: 50%;
      width: 100%;
    }

    .prev-next-container .container{
      display: flex;
      justify-content: space-between;
      width: 100%;
    }

    .prev,
    .next{
      color: #999999;
      font-size: 54px;
    }

    .prev i,
    .next i{
      font-weight: 300;
      transition: .4s;
    }

    .next{
/*      right: 0;*/
      margin-right:20px;
    }

    .prev{
/*      left: 0;*/
      margin-left:20px;
    }

    .prev i:hover, .next i:hover{
      color: white;
      transform: scale(1.1);
    }

    /* Fading animation */
    .fade {
      -webkit-animation-name: fade;
      -webkit-animation-duration: 1s;
      animation-name: fade;
      animation-duration: 1s;
    }

    @-webkit-keyframes fade {
      from {opacity: 0} 
      to {opacity: 1}
    }

    @keyframes fade {
      from {opacity: 0} 
      to {opacity: 1}
    }

  /***MAIN BODY DESKTOP STYLES***/

  #homepage-service-row {
    background: #bcbcbc;
  }

  #homepage-service-row .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: stretch;
  }

  .homepage-service{
    width: 23%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding:20px;
    border-bottom: 1px solid gray;
  }

  .service-icon{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }

  .service-icon i{
    margin-left:0px;
    font-size: 2.75em;
    text-align: center;
    color: #3853a4;
  }

  .service-icon i:hover{
    margin-right: 0px;
  }

  .homepage-service h3{
/*    margin-top:auto;*/
  }

  .homepage-service a{
    color: #3853a4;
    font-weight: bold;
    margin-top:auto;
  }

  .homepage-service i{
    transition: .4s;
    margin-left:10px;
  }

  .homepage-service a:hover i{
    margin-left:40px;
  }

  .title-container{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }

  .title-container h1{
    font-size: 2em;
    margin-bottom: 0px;
  }

  .title-border{
    height: 70px;
    width: 4px;
    background: #3853a4;
    margin-left:60px;
  }

  .title-container p{
    margin-bottom: 0px;
    max-width: 760px;
    font-size: .9em;
    display: none;
    font-weight: bold;
  }

  #ff-background{
    background: url(images/firefighter-background-light.jpg) no-repeat right center;
    background-size: cover;
  }

  #homepage-news .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .home-news-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 500px;
    margin-top: 60px;
  }

  .home-news-container img{
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .home-news-title{
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .date-container{
    background: #040405;
    padding:10px 20px;
    text-align: center;
    color: white;
    margin:0 20px 0px 0;
  }

  .home-news-title h3{
    margin-bottom: 0px;
  }

  .home-news-container a{
    color: #3853a4;
    border-bottom: 1px solid #3853a4;
    font-weight: bold;
  }

  .home-news-container i{
    transition: .4s;
    margin-left:10px;
  }

  .home-news-container a:hover i{
    margin-left:40px;
  }

  /*SUBPAGE DESKTOP STYLES*/

  .subpage-hero{
    height: 300px;
    color: white;
    padding-top:180px;
  }

  .subpage-hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .subpage-hero h1{
    margin-bottom: 0px;
  }

  /*LOCATIONS MOBILE STYLES*/

  .location{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid lightgray;
  }

  .location:last-of-type{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
  }

  .location img{
    margin-right:80px;
    width: 200px;
    height: auto;
  }

  /*TRAINING OPP DESKTOP*/

  .link-columns{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .link-columns p{
    width: 50%;
  }

  /*PROGRAM DESKTOP STYLES*/

  .program-link-container{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
  }

  .program-link-container p{
    width: 285px;
  }

  /*CONTACT DESKTOP STYLES*/

  .contact-form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 400px;
  }

  .contact-form h3{
    width: 100%;
  }

  .contact-form input, .contact-form textarea{
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    color: #292929;
    border:1px solid lightgray;
    margin-bottom: 20px;
    background: transparent;
    width: calc(100% - 20px);
    font-size: 1em;
    width: 42%;
   }

   .contact-form textarea{
    height: 70px;
    width: 100%;
   }

   .contact-form #submit{
    width: 40%;
    background:#3853a4;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: .2s;
    letter-spacing: 1px;
    text-transform: uppercase;
   }

   .contact-form #submit:hover{
    cursor: pointer;
    background:#040405;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
   }

  /*FOOTER DESKTOP STYLES*/

  footer{
    padding:80px 20px;
    /*background: url(images/fire-truck-hero-white.jpg) no-repeat center;
    background-size: cover;*/
    background:#040405;
    color: white;
  }

  footer .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  footer .title-container{
    margin-bottom: 80px;
  }

  .footer-col{
    max-width: 300px;
  }

  .footer-col a{
    color: #D6D6D6;
    border-bottom: 1px solid transparent;
  }

  .footer-col a:hover{
    color: white;
    border-bottom: 1px solid #3853a4;
  }

  .footer-form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 400px;
  }

  .footer-form h3{
    width: 100%;
  }

  .footer-form input, .footer-form textarea, .inquiry-form input, .inquiry-form textarea{
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    color: #D6D6D6;
    border:1px solid lightgray;
    margin-bottom: 20px;
    background: transparent;
    width: calc(100% - 20px);
    font-size: 1em;
    width: 42%;
   }

   .footer-form textarea, .inquiry-form textarea{
    height: 70px;
    width: 100%;
   }

   .footer-form #submit, .inquiry-form #submit{
    width: 40%;
    background:#3853a4;
    border:2px solid #3853a4;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: .2s;
    letter-spacing: 1px;
    text-transform: uppercase;
   }

   .footer-form #submit:hover, .inquiry-form #submit:hover{
    cursor: pointer;
    background:transparent;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
   }


}


/*** MOBILE STYLES ***/
@media (max-width: 1099px) {

  .container {
    width:100%;
    margin: 0 auto;
  }

  .content{
    padding: 60px 20px;
  }

  /*** HEADER MOBILE STYLES ***/

  a#headerLogo{
    display: none;
  }

  #navContainer{
    border-bottom: 1px solid #2e406c;
    position: fixed;
    width: 100%;
    background: #3853a4 !important;
    top:0;
    z-index: 200;
  }

  #topHeader{
    margin:0px !important;
  }

  #header-social-input,
  #header-icon-container{
    display: none;
  }

  #topHeader{
    padding:0 !important;
  }

  #topHeader img {
    float: left;
    width:80px;
    height:auto;
    margin-left: 20px;
    padding: 5px 0;
  }

  /* NAV */

  #myTopnav{
    background-color: transparent !important;
  }

  /* Hamburger bars styles*/
     a.icon {
      position: absolute;
      display: block;
      font-size:32px;
      right:20px;
      top:34px;
      color: #fff;
    }

     a.icon:hover{
      background: none !important;
    }

    /* The Overlay (background) */
   .overlay{
     height: 100%;
     width: 0;
     position: fixed; /* Stay in place */
     z-index: 10; /* Sit on top */
     left: 0;
     top: 0;
     background-color: rgb(4, 4, 5, .95);
     overflow-x: hidden; /* Disable horizontal scroll */
     transition: 0.3s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
   }

   /* Position the content inside the overlay */
  .overlay-content {
    position: relative;
    top: 8%; /* 10% from the top */
    text-align: left;
    width: 100%;
    margin-top: 10px; /* 10px top margin to avoid conflict with the close button on smaller screens */
    padding:0 5px;
  }

  /* The navigation links inside the overlay */
  .overlay a {
    padding: 16px 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    border-bottom: 1px solid #003F7A;
    display: block; /* Display block instead of inline */
    transition: 0.3s; /* Transition effects on hover (color) */
    padding-left:20px;
  }

  /* Position the close button (top right corner) */
  .overlay .closebtn {
    position: absolute;
    top: 20px;
    right: 10px;
    font-size: 40px;
    color: white !important;
    border-bottom: none !important;
  }

  .overlay .closebtn:hover{
    background: none !important;
    color: #fff !important
  }

  .overlay a:hover, .dropdown:hover .d-btn {
    color: #fff;
    background: #3853a4;
    transition: background-color .4s;
  }

  .hidden {
    display: none;
/*    background: #fff;*/
/*    min-height: 175px;*/
    left: 35%;
    z-index: 10;
    top: 0;
    margin-bottom: 10px;
  }

  .hidden a{
/*    padding-left:30px;*/
    border-bottom: none;
    font-size: .9em;
    display: block;
  }

  .hidden {
      animation: fadeIn .5s;
      -webkit-animation: fadeIn .5s;
      -moz-animation: fadeIn .5s;
      -o-animation: fadeIn .5s;
      -ms-animation: fadeIn .5s;
    }
    @keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

    @-moz-keyframes fadeIn {
      0% {opacity:0;}
      100% {opacity:1;}
    }

  

  /* Show the dropdown menu (use JS to add this class to the .dropdown-content container when the user clicks on the dropdown button) */
    .show {display:block;}

    .show-flex {display: flex;}

    
  /*HERO MOBILE STYLES*/

  #homepage-hero-slideshow{
   padding-top:90px;
    background: black;
  }

  #hero1{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero1.jpg);
      background-repeat: no-repeat;
      background-position: bottom center;
      background-size: cover;
    }

    #hero2{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero2.jpg);
      background-repeat: no-repeat;
      background-position: bottom center;
      background-size: cover;
    }

    #hero3{
      width:100%;
      background-image:linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)), 
      url(images/hero3.jpg);
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
    }

    .hero-content{
      padding:120px 20px 80px;
      width: calc(100% - 40px);
/*      height: 700px;*/
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: white;
      text-align: center;
    }

    .hero-content h1{
      font-size: 2.5em;
      letter-spacing: 1px;
      text-transform: uppercase;
      line-height: 1.3em;
      color: white;
      margin-bottom: 30px;
    }

    .fadeInLeft{
      color: #3853a4;
    }

  @-webkit-keyframes fadeInLeft{
      0%{
          opacity:0;
          -webkit-transform:translateX(-200px);
          transform:translateX(-200px)}
      100%{
          opacity:1;
          -webkit-transform:translateX(0);
          transform:translateX(0)
      }
  }

  @keyframes fadeInLeft{
      0%{
          opacity:0;
          -webkit-transform:translateX(-300px);
          -ms-transform:translateX(-300px);
          transform:translateX(-300px)}
      100%{
          opacity:1;
          -webkit-transform:translateX(0);
          -ms-transform:translateX(0);
          transform:translateX(0)
      }
  }
  .fadeInLeft{
      -webkit-animation-name:fadeInLeft;
      animation-name:fadeInLeft;
      -webkit-animation-duration:2s;
      animation-duration:2s;
      -webkit-animation-fill-mode:both;
      animation-fill-mode:both;
      animation-delay: 1s;
  }

    .hero-content h2{
      font-weight: 400;
      color: #0054ff;
      font-size: 1.5em;
      display: none;
    }

    .hero-content p{
      margin-bottom: 40px;
      font-size: 1.15em;
      line-height: 1.4em;
    }

   .hero-content a{
    color: white;
    font-weight: bold;
    background: #3853a4;
    border:2px solid #3853a4;
    padding:15px 20px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom:20px;
    font-size: 1.15em;
    width: 200px;
    text-align: center;
   }

   .hero-content a:hover{
    background: white;
    color: #3853a4;
    border:2px solid white;
   }

   #hero-button a{
    border:2px solid white;
    background: transparent;
    color: white;
    margin-bottom: 0px;
   }

   #hero-button a:hover{
    background: white;
    color: #3853a4;
   }

     /* Slideshow container */
    .slideshow-container {
      max-width: 100%;
      position: relative;
      margin: auto;
      background: black;
    }

    /* Hide the images by default */
    .mySlides,
    .blogSlides {
      display: none;
    }

    /* Next & previous buttons */
     .prev, .next {
      cursor: pointer;
/*      position: absolute;*/
      width: auto;
/*      top: 40%;*/
      color: white;
      font-size: 16px;
      transition: 0.6s ease;
      user-select: none;
      border-bottom: 1px solid transparent;
      text-transform: uppercase;
      font-weight: 400;
      z-index: 3;
    }

    .prev-next-container{
      position: absolute;
      top: 50%;
      width: 100%;
    }

    .prev-next-container .container{
      display: flex;
      justify-content: space-between;
      width: 100%;
    }

    .prev,
    .next{
      color: #999999;
      font-size: 54px;
    }

    .prev i,
    .next i{
      font-weight: 300;
      transition: .4s;
    }

    .next{
/*      right: 0;*/
      margin-right:20px;
    }

    .prev{
/*      left: 0;*/
      margin-left:20px;
    }

    .prev i:hover, .next i:hover{
      color: white;
      transform: scale(1.1);
    }

    /* Fading animation */
    .fade {
      -webkit-animation-name: fade;
      -webkit-animation-duration: 1s;
      animation-name: fade;
      animation-duration: 1s;
    }

    @-webkit-keyframes fade {
      from {opacity: 0} 
      to {opacity: 1}
    }

    @keyframes fade {
      from {opacity: 0} 
      to {opacity: 1}
    }

    /***MAIN BODY MOBILE STYLES***/

  #homepage-service-row {
    background: #bcbcbc;
  }

  #homepage-service-row .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: stretch;
  }

  .homepage-service{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 60px;
    margin-bottom: 60px;
    border-bottom: 1px solid #3853a4;
    width: 300px;
    margin:20px auto;
    text-align: center;
  }

  /*.homepage-service:last-of-type{
    margin-bottom: 0px;
    padding-bottom: 0px;
    border-bottom: none;
  }*/

  .service-icon{
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }

  .service-icon i{
    margin-left:0px;
    color: #3853a4;
    font-size: 2.5em;
    line-height: 45px;
    text-align: center;
  }

  .service-icon i:hover{
    margin-left: 0px;
  }

  .homepage-service h3{
/*    margin-top:auto;*/
  }

  .homepage-service a{
    color: #3853a4;
    font-weight: bold;
    margin-top: auto;
  }

  .homepage-service i{
    transition: .4s;
    margin-left:10px;
  }

  .homepage-service a:hover i{
    margin-left:40px;
  }

  #ff-background{
    background: url(images/firefighter-background-light.jpg) no-repeat center;
    background-size: cover;
  }

  .title-container{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }

  .title-container h1{
    font-size: 2em;
    margin-bottom: 20px;
  }

  .title-border{
    height: 2px;
    width: 70px;
    background: #3853a4;
    margin-bottom: 20px;
  }

  .title-container p{
    margin-bottom: 0px;
    max-width: 500px;
    font-size: .9em;
    text-align: center;
  }

  .accordion{
    margin:60px auto 0;
  }

  .accordion .label{
    padding:10px 15px;
  }

  .accordion-body .acc-container:nth-of-type(1).active .acc-content{
    height:190px; 
  }
  .accordion-body .acc-container:nth-of-type(2).active .acc-content{
    height:190px;
  }
  .accordion-body .acc-container:nth-of-type(3).active .acc-content{
    height:190px;
  }

  #homepage-news .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  .home-news-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 500px;
    width: 100%;
    margin-top: 60px;
  }

  .home-news-container img{
    margin-bottom: 20px;
    width: 100%;
    height: auto;
  }

  .home-news-title{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }

  .date-container{
    background: #040405;
    padding:10px 20px;
    text-align: center;
    color: white;
    margin:0 20px 8px 0;
  }

  .home-news-title h3{
    margin-bottom: 0px;
  }

  .home-news-container a{
    color: #3853a4;
    border-bottom: 1px solid #3853a4;
    font-weight: bold;
  }

  .home-news-container i{
    transition: .4s;
    margin-left:10px;
  }

  .home-news-container a:hover i{
    margin-left:40px;
  }

  /*SUBPAGE MOBILE STYLES*/

  .subpage-hero{
    margin-top:90px;
    height: 200px;
    color: white;
  }

  .subpage-hero .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .subpage-hero h1{
    margin-bottom: 0px;
    text-align: center;
  }

  /*JOB OPPS MOBILE*/

  .link-columns{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
  }

  .link-columns p{
    width: 300px;
  }

  /*LOCATIONS MOBILE STYLES*/

  /*PROGRAM MOBILE STYLES*/

  .program-link-container{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-around;
  }

  .program-link-container p{
    width: 245px;
  }

  /*CONTACT MOBILE STYLES*/

  /*CONTACT DESKTOP STYLES*/

  .contact-form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 400px;
    width: 100%;
  }

  .contact-form h3{
    width: 100%;
  }

  .contact-form input, .contact-form textarea{
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    color: #292929;
    border:1px solid lightgray;
    margin-bottom: 20px;
    background: transparent;
    width: calc(100% - 20px);
    font-size: 1em;
    width: 42%;
   }

   .contact-form textarea{
    height: 70px;
    width: 100%;
   }

   .contact-form #submit{
    width: 40%;
    background:#3853a4;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: .2s;
    letter-spacing: 1px;
    text-transform: uppercase;
   }

   .contact-form #submit:hover{
    cursor: pointer;
    background:#040405;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
   }

  /*FOOTER MOBILE STYLES*/

  footer{
    padding:60px 20px 40px;
    /*background: url(images/fire-truck-hero-white.jpg) no-repeat center;
    background-size: cover;*/
    background:#040405;
    color: white;
  }

  footer .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  footer .title-container{
    margin-bottom: 60px;
    width: 100%;
  }

  footer .title-container p{
    max-width: 100%;
  }

  .footer-col{
    max-width: 300px;
    margin-bottom:20px;
  }

  .footer-col a{
    color: #D6D6D6;
    border-bottom: 1px solid transparent;
  }

  .footer-col a:hover{
    color: white;
    border-bottom: 1px solid #3853a4;
  }
  
  .footer-form{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 400px;
  }

  .footer-form h3{
    width: 100%;
  }

  .footer-form input, .footer-form textarea, .inquiry-form input, .inquiry-form textarea{
    padding: 10px;
    font-family: 'Open Sans', sans-serif;
    color: #D6D6D6;
    border:1px solid lightgray;
    margin-bottom: 20px;
    background: transparent;
    width: calc(100% - 20px);
    font-size: 1em;
    width: 42%;
   }

   .footer-form textarea, .inquiry-form textarea{
    height: 70px;
    width: 100%;
   }

   .footer-form #submit, .inquiry-form #submit{
    width: 40%;
    background:#3853a4;
    border:2px solid #3853a4;
    color: white;
    font-weight: bold;
    text-align: center;
    transition: .2s;
    letter-spacing: 1px;
    text-transform: uppercase;
   }

   .footer-form #submit:hover, .inquiry-form #submit:hover{
    cursor: pointer;
    background:transparent;
    box-shadow: 0px 8px 16px 1px rgba(0,0,0,0.3);
   }


 }


 @media (width <= 600px) {

   .accordion{
    max-width: 320px;
   }
   .accordion .label {
      font-size: 1.1em;
    }
    .accordion-body .acc-container:nth-of-type(1).active .acc-content{
      height:223px; 
    }
    .accordion-body .acc-container:nth-of-type(2).active .acc-content{
      height:780px;
    }
    .accordion-body .acc-container:nth-of-type(3).active .acc-content{
      height:578px;
    }

    .ds-contact-form {
      display: flex;
      flex-flow: column;
      align-items: center;
      width: calc(100% - 40px);
    }

    .ds-contact-form input{
      width: calc(100% - 20px);
    }
  }
