*{
  margin:0px;
  padding:0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #283b6b;\
  color: #1d2a4d;
  font-size: 16px;
  line-height: 1.5em;
  margin: 0;
/*  letter-spacing: 1px;*/
}

/*h1, h2, h3, h4{
  font-family: "Red Hat Text", sans-serif;
}*/

h1{
  margin-top: 0px;
  line-height: 1.3em;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

h2, h3, h4{
  letter-spacing: 1px;
}

p, h2, h3, h4 {
  margin-bottom: 20px;
  margin-top: 0px;
}

h2{
  font-weight: 400;
  font-size: 1.5em;
  text-transform: uppercase;
}

h3{
  font-size: 1.33em;
  font-weight: 900;
}

a{
  text-decoration: none;
  transition: .2s;
  color: inherit;
}

ul, ol{
  padding-left:40px;
  margin-bottom: 20px;
}

p ul{
  margin-bottom: 0px;
}

ul li, ol li{
  margin-bottom: 5px;
}

.subpage-content p a,
.contact-form a{
  border-bottom: 1px solid #1fa68c;
  font-weight: 500;
}

.subpage-content p a:hover,
.contact-form a:hover{
  color: #1fa68c;
}

img.full-width{
  display: block;
  margin:0 auto;
  width: calc(100% - 46px);
  height: auto;
  padding:20px;
  border:3px solid #1fa68c;
  margin-top:40px;
}

.service-list{
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.service-list div{
  width: 200px;
}

.service-list p{
  margin-bottom: 10px;
  font-weight: 500;
}

.service-list i{
  color: #1fa68c;
  margin-right:8px;
}

/*ACCORDION UNIVERSAL STYLES*/

.accordion {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      width: 100%;
    }

    .accordion .acc-container {
      position: relative;
      width: 100%;
    }

    .accordion .label {
      position: relative;
      padding: 10px 20px;
      font-size: 1.15em;
      font-weight: bold;
      color: white;
      cursor: pointer;
      background: #283b6b;
      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;
      font-size: 16px;
      text-align: justify;
    /*  width: 780px;*/
      overflow: hidden;
      transition: 0.5s;
    }

    .accordion p a{
      text-align: left;
      display: inline-block;
    }

    .accordion hr {
      width: 100%;
      margin-left: 0;
      border: 1px solid grey;
      display: none;
    }

    .accordion .acc-container.active .acc-content {
      height: 270px;
      background:#f5f5f5;
      padding:20px 0 0 20px;
      margin-bottom: 15px;
    }

    .accordion .acc-container.active .label::before {
      content: '-';
      font-size: 30px;
    }

    .accordion .acc-container.active .label{
      background: #1fa68c;
    }

    .acc-container:nth-of-type(1).active .acc-content{
      height: 290px;
    }
    .acc-container:nth-of-type(2).active .acc-content{
      height: 490px;
    }
    .acc-container:nth-of-type(3).active .acc-content{
      height: 440px;
    }
    .acc-container:nth-of-type(4).active .acc-content{
      height: 60px;
    }
    .acc-container:nth-of-type(5).active .acc-content{
      height: 60px;
    }


/*** DESKTOP STYLES ***/
@media (width >= 1100px) {

  .container {
    width: 1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
  }
  
  /*** HEADER DESKTOP STYLES ***/

  #logoWhite{
    display: none;
    transition: .3s;
  }

  #topHeader{
    padding:5px;
    background: #283b6b;
    color: #1fa68c;
  }

  #topHeader .container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  #topHeader a{
    padding:0 16px;
  }

  #topHeader i{
    font-size: .9em;
    margin-right: 10px;
  }

  #topHeader a:hover{
    color: white;
  }

  #navContainer{
    width: 100%;
    transition: .6s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    z-index: 1000;
  }

  a#navLogo{
    transition: .5s;
    margin: 5px 0 0px;
    transition: .3s;
  }

  #navContainer img{
    width: 200px;
    height: auto;
  }

  #nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 800px;
    padding:10px 0;
  }

  .topnav a{
    color: white;
    text-transform: uppercase;
    font-size: .95em;
    padding:8px 16px;
    font-weight: 600;
    letter-spacing: 1px;
  }

  .topnav a:hover{
    background: #1fa68c;
    color: white;
  }

  #myTopnav a.icon{
    display: none;
  }

  .hidden {
    display: none;
    position: absolute;
    background: rgba(255, 255, 255, .9);
    margin-top:10px;
    width: fit-content;
    min-width: 100px;
    z-index: 10;
    flex-direction: column;
    transition: .4s;
    margin-left:10px;
    box-shadow:0px 8px 16px 1px rgba(0, 0, 0, 0.3)
  }

  .hidden a{
    display: block;
    font-size: .8em;
    font-weight: 500;
    padding:8px 16px 8px 10px;
    color: inherit;
    font-weight: bold;
/*    border-bottom: 1px solid transparent;*/
  }

  .hidden a:hover{
    color: #fff;
    background: #1fa68c;
  }

  .dropdown:hover .hidden {
    display: flex;
  }

  .dropbtn{
    padding:16px !important;
  }

  a.dropbtn:hover{
    background: transparent;
    color: white;
    box-shadow: none;
    cursor: auto;
  }

  .hidden:hover{
      opacity: 1;
  }

  .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;}
    }

    /***HERO DESKTOP STYLES***/

   #homepage-hero-slideshow{
    position: absolute;
    left:0;
    top:0;
    z-index: -1;
    height: 1000px;
    width: 100%;
   }

   #hero1{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to right, rgb(233, 235, 237, 1), rgb(233, 235, 237, 0)),
    url('images/homepage-hero-new.jpg');
    background-size: cover;
    background-position: 50% 50%;
   }

   #hero2{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to right, rgb(233, 235, 237, 1), rgb(233, 235, 237, 0)),
    url('images/homepage-hero-new.jpg');
    background-size: cover;
    background-position: 50% 50%;
   }

   #hero3{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to right, rgb(233, 235, 237, 1), rgb(233, 235, 237, 0)),
    url('images/homepage-hero-new.jpg');
    background-size: cover;
    background-position: 50% 50%;
   }

   /* Slideshow container */
  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    margin-bottom: 40px;
  }

  /* Hide the images by default */
  .mySlides,
  .blogSlides {
    display: none;
    width: 100%;
    height: 100%;
  }

  .arrow-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top:50%;
    left: 0;
    width: 100%;
  }

  /* Next & previous buttons */
   .prev, .next {
    cursor: pointer;
    padding: 14px 10px;
    color: white;
    background-color: #1fa68c;
    font-weight: bold;
    font-size: 36px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  .prev:hover, .next:hover{
    background: #283b6b;
  }

   /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }

  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

   #homepage-hero{
    background: transparent;
    height: 600px;
    padding:160px 0 220px;
    position: relative;
   }

   #homepage-hero .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
   }

   #hero-text{
    width: 600px;
   }

   #homepage-hero h1{
    margin-bottom: 20px;
/*    font-weight: 900;*/
    font-size: 3em;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    position: relative;
   }

   #hero-icons{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    position: relative;
   }

   .hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right:40px;
    width: 80px;
    text-align: center;
    font-weight: bold;
   }

   .hero-icon img{
    padding:10px;
    width: 50px;
    height: auto;
    background: white;
    border-radius: 50%;
    margin-bottom: 10px;
   }

   /*MAIN BODY DESKTOP*/

   #homepage-contact {
    padding-top:0px;
   }

   #homepage-contact .container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top:-160px;
    position: relative;
    z-index: 2;
    color: white;
   }

   .homepage-contact-icon{
    display: flex;
    justify-content: center;
    align-items: stretch;
    padding:40px;
    width: calc(33.333% - 80px);
   }

   .homepage-contact-icon:nth-of-type(1){
    background: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(2){
    background: #283b6b;
   }

   .homepage-contact-icon:nth-of-type(3){
    background: #0c344b;
   }

   .homepage-contact-icon img{
    margin-right:40px;
    height: 54px;
    width: auto;
   }

   .homepage-contact-text{
    display: flex;
    flex-direction: column;
   }

   .homepage-contact-icon a{
    margin-top:auto;
   }

   .homepage-contact-icon:nth-of-type(1) i{
    background: #1a7c69;
    padding:10px;
    border-radius: 50%;
    margin-right:10px;
    transition: .3s;
   }

   .homepage-contact-icon:nth-of-type(1) a{
    padding: 5px;
   }

   .homepage-contact-icon:nth-of-type(1) a:hover i{
    background: #fff;
    color: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(2) a{
    padding: 8px 30px;
    border-radius: 35px;
    border:2px solid white;
    color: white;
    background: transparent;
    width: fit-content;
   }

   .homepage-contact-icon:nth-of-type(2) i{
    margin-left:5px;
   }

   .homepage-contact-icon:nth-of-type(2) a:hover{
    background: #fff;
    color: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(3) p{
    padding-top:20px;
    border-top:1px solid white;
   }

   .homepage-contact-icon p:last-of-type{
    margin-bottom: 0px;
   }

   #homepage-team-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:60px 0 40px;
   }

   .team-img-container{
    width: 1000px;
    position: relative;
   }

   .team-img-container img{
    width: 100%;
    height:auto;
    box-shadow: 1px 8px 16px 1px rgba(0, 0, 0, 0.3);
   }

   .team-img-container:before{
    background: #1fa68c;
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    transform: translate3d(-20px, -20px, 0px);
    z-index: -1;
   }

   #homepage-locations{
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    margin-top:40px;
   }

   .homepage-location{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 47%;
    border:2px solid #1d2a4d;
    border-radius: 5px;
   }

   .homepage-location h3{
    color: #1fa68c;
    background: #f5f5f5;
    width: calc(100% - 40px);
    padding:20px 20px;
    margin-bottom: 0px;
    border-top: 2px solid #1d2a4d;
    border-bottom: 2px solid #1d2a4d;
   }

   .location-text{
    padding: 20px 20px;
    background: #fff;
    width: calc(100% - 40px);
    border-radius: 0 0 5px 5px;
   }

   .location-text p{
    /*width: 38%;
    margin-bottom: 0px;*/
   }

   .location-text a{
    border-bottom: 1px solid #1fa68c;
   }

   .location-text a:hover{
    color: #1fa68c;
   }

   .location-border{
    height: 40px;
    width: 2px;
    background: lightgray;
    display: none;
   }

   .location-text i{
    color: #1fa68c;
    margin-right:5px;
   }

   .homepage-location iframe{
    width: 100%;
    height: 300px;
    border-radius: 5px 5px 0 0;
   }

   /*SUBPAGE DESKTOP STYLES*/

   .subpage-hero {
    height: 300px;
     background-image:
    linear-gradient(to bottom, rgb(0, 0, 0, .2), rgb(0, 0, 0, .2)),
    url('images/homepage-hero-new.jpg');
    background-size: cover;
    background-position: 50% 20%;
    color: white;
   }

   .subpage-hero .container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
   }

   .subpage-hero h1{
    margin-bottom: 0px;
    text-align: center;
   }

   /*STAFF DESKTOP STYLES*/

   .staff-member{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding-bottom: 60px;
    margin-bottom: 80px;
    border-bottom: 1px solid lightgray;
   }

   .staff-member img{
    width: 400px;
    height: auto;
    margin-right:60px;
   }



   /*FOOTER DESKTOP*/

   footer{
    background: #1d2a4d;
    padding:60px 20px;
    color: white;
   }

   footer .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
   }

   .footer-col {
    max-width:300px;
    width: fit-content;
    display: flex;
    flex-direction: column;
   }

   .footer-col img{
    width: 240px;
    height: auto;
    margin-bottom: 20px;
   }

   .footer-col p a{
    padding:5px 10px;
   }

   .footer-col p a:hover{
    background: white;
    color: #1fa68c;
   }

   .footer-contact{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:30px 30px 10px;
    width: 280px;
/*    border-radius: 10px;*/
    position: relative;
   }

   .footer-contact:before, .footer-contact:after{
    content: '';
    display: block;
    position: absolute;
    background-color: transparent;
    pointer-events: none;
   }

   .footer-contact:before{
    top: 0;
    left: 0;
    right: 70%;
    bottom: 0;
    border-top: 4px solid #1fa68c;
    border-left: 4px solid #1fa68c;
   }

   .footer-contact:after{
    top: 0;
    right: 0;
    left: 70%;
    bottom: 0;
    border-bottom: 4px solid #1fa68c;
    border-right: 4px solid #1fa68c;
   }

   .footer-contact a{
    border-bottom: 1px solid white;
    font-size: 11pt;
   }

   .footer-col p {
    font-size: 11pt;
  }
   .footer-contact a:hover{
    color: #1fa68c;
    border-bottom: 1px solid #1fa68c;
   }

   .footer-contact i{
    transition: .4s margin-right ease;
    margin-right:5px;
   }

   .footer-contact a:hover i{
    margin-right:20px;
   }
  

}


/*** MOBILE STYLES ***/
@media (width <= 1099px) {

  .container {
    width:100%;
    margin: 0 auto;
  }

  .content{
    padding: 60px 20px;
  }

  h1{
    font-size: 2.5em;
    line-height: 1em;
  }

  h2{
    font-size: 1.33em;
  }

  /***** HEADER MOBILE STYLES *****/

  #topHeader{
    display: none;
  }

  #navLogo {
    display: none !important;
  }

  #logoWhite {
    display: block !important;
  }

  #navContainer{
    width: 100%;
    background-color: #1d2a4d !important;
    transition: 0.4s;
    position: fixed;
    max-height: 100%;
    top: 0;
    z-index: 100;
    overflow-y: scroll;
    overflow-x: hidden;
    margin-top:0px !important;
  }

  #nav{
    margin-top:5px;
    height: fit-content;
  }

  #navContainer img{
   height:50px;
   width: auto !important;
    margin: 12px 0 2px 15px;
  }

  /* Links inside the navbar */
  .topnav a { 
    float: left;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

  /* Add a background color to navbar links on hover */
  .topnav a:hover{
    background: #1fa68c;
    color:#fff;
  }

  /* When the screen is less than 1099 pixels wide, hide all links. 
  Show the link that should open and close the topnav (.icon) */
  .topnav a{
    display:none;
  }

  .topnav a.icon {
    display: block;
    position: absolute;
    font-size: 32px;
    top:11px;
    right: 0;
    float: right;
    margin: 0px 10px 10px 0;
    color: #fff;
    transition: unset;
  }

  .topnav a.icon:hover{
    background-color:transparent;
  }

   /* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. 
  This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
  .topnav.responsive {
    position: relative; 
    clear:both;
  }
    .topnav.responsive a.icon {
      position: absolute;
      top: -65px;
      border-bottom:none;
      transition: unset;
    }
    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
      border-bottom:1px solid #1fa68c;
    }
    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      width: 100%;
      text-align: left;
    }

    /* DROPDOWN MENU */

    .topnav.responsive .dropdown {float: none;}
    .topnav.responsive .dropdown-content {position: relative;}
    .topnav.responsive .dropdown .dropbtn {
      display: block;
      text-align: left;
    }

    /* Dropdown Content */
    .hidden{
      display: none;
      padding: 10px 0;
      flex-direction: column;
    }

    .hidden a{
      padding:8px 16px 8px 24px;
      border-bottom: none !important;
      font-weight: normal;
/*      background: #707070;*/
    }

    /* 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;}

     .topnav.responsive,
    .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;}
    }

    a.dropbtn{
      border-bottom:1px solid #0054ff;
    }

    /*a.dropbtn:hover{
      background: #e6ae4a;
      color: white;
    }*/
    
  /*HERO MOBILE STYLES*/

  #homepage-hero-slideshow{
    position: absolute;
    left:0;
    top:0;
    z-index: -1;
    min-height: 500px;
    width: 100%;
   }

   #hero1{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to bottom, rgb(233, 235, 237, 1), rgb(233, 235, 237, 0)),
    url('images/homepage-hero-mobile.jpg');
    background-size: cover;
    background-position: center;
   }

   #hero2{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to bottom, rgb(0, 0, 0, .1), rgb(0, 0, 0, .1)),
    url('images/homepage-mobile.jpg');
    background-size: cover;
    background-position: center;
   }

   #hero3{
    width:100%;
    height: 100%;
    background-image:
    linear-gradient(to bottom, rgb(0, 0, 0, .6), rgb(0, 0, 0, .6)),
    url('images/homepage-mobile.jpg');
    background-size: cover;
    background-position: center;
   }

   /* Slideshow container */
  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
    margin-bottom: 40px;
  }

  /* Hide the images by default */
  .mySlides,
  .blogSlides {
    display: none;
    width: 100%;
    height: 100%;
  }

  .arrow-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    top:50%;
    left: 0;
    width: 100%;
  }

  /* Next & previous buttons */
   .prev, .next {
    cursor: pointer;
    padding: 14px 10px;
    color: white;
    background-color: #1fa68c;
    font-weight: bold;
    font-size: 36px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  .prev:hover, .next:hover{
    background: #283b6b;
  }

   /* Fading animation */
  .fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
  }

  @-webkit-keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  @keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
  }

  #homepage-hero{
    background-image:
    linear-gradient(to bottom, rgb(255, 255, 255, .5), rgb(255, 255, 255, .5)),
    url('images/homepage-hero-tablet.jpg');
    background-size: cover;
    background-position: bottom center;
/*    height: 600px;*/
    padding:160px 20px 260px;
    position: relative;
    margin-top:70px;
   }

   #homepage-hero .container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
   }

   #hero-text{
    max-width: 600px;
   }

   #homepage-hero h1{
    margin-bottom: 20px;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1em;
    position: relative;
    text-align: center;
   }

   #hero-icons{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    position: relative;
   }

   .hero-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: bold;
    margin:10px 0px;
    width: 140px;
   }

   .hero-icon img{
    padding:10px;
    width: 60px;
    height: auto;
    background: white;
    border-radius: 50%;
    margin-bottom: 10px;
   }

   #homepage-contact {
    padding-top:0px;
   }

   #homepage-contact .container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top:-140px;
    position: relative;
    z-index: 2;
    color: white;
   }

   .homepage-contact-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding:40px 20px;
    width: calc(100% - 40px);
   }

   .homepage-contact-icon:nth-of-type(1){
    background: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(2){
    background: #283b6b;
   }

   .homepage-contact-icon:nth-of-type(3){
    background: #0c344b;
   }

   .homepage-contact-icon img{
    margin-bottom:20px;
    height: 54px;
    width: auto;
   }

   .homepage-contact-text{
    display: flex;
    flex-direction: column;
    align-items: center;
   }

   .homepage-contact-icon a{
    margin-top:auto;
   }

   .homepage-contact-icon:nth-of-type(1) i{
    background: #1a7c69;
    padding:10px;
    border-radius: 50%;
    margin-right:10px;
    transition: .3s;
   }

   .homepage-contact-icon:nth-of-type(1) a{
    padding: 5px;
   }

   .homepage-contact-icon:nth-of-type(1) a:hover i{
    background: #fff;
    color: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(2) a{
    padding: 8px 30px;
    border-radius: 35px;
    border:2px solid white;
    color: white;
    background: transparent;
    width: fit-content;
   }

   .homepage-contact-icon:nth-of-type(2) i{
    margin-left:5px;
   }

   .homepage-contact-icon:nth-of-type(2) a:hover{
    background: #fff;
    color: #1fa68c;
   }

   .homepage-contact-icon:nth-of-type(3) p{
    padding-top:20px;
    border-top:1px solid white;
   }

   #homepage-team-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding:20px;
   }

   .team-img-container{
    max-width: 600px;
    width: calc(100% - 30px);
    position: relative;
    padding:15px;
   }

   .team-img-container img{
    width: 100%;
    height:auto;
   }

   .team-img-container:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    right: 70%;
    bottom: 0;
    border-top: 3px solid #1fa68c;
    border-left: 3px solid #1fa68c;
  }
  .team-img-container:after {
    position: absolute;
    content: '';
    top: 0;
    right: 0;
    left: 70%;
    bottom: 0;
    border-bottom: 3px solid #1fa68c;
    border-right: 3px solid #1fa68c;
  }

   #homepage-locations{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-top:40px;
   }

   .homepage-location{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 40px);
    max-width: 400px;
    border:2px solid #1d2a4d;
    border-radius: 5px;
   }

   .homepage-location:first-of-type{
    margin-bottom: 60px;
   }

   .homepage-location h3{
    color: #1fa68c;
    background: #f5f5f5;
    width: calc(100% - 40px);
    padding:20px;
    margin-bottom: 0px;
    border-top: 2px solid #1d2a4d;
    border-bottom: 2px solid #1d2a4d;
   }

   .location-text{
    padding: 20px 20px;
    background: #fff;
    width: calc(100% - 40px);
    border-radius: 0 0 5px 5px;
   }

   .location-text p{
    /*width: 38%;
    margin-bottom: 0px;*/
   }

   .location-text a{
    border-bottom: 1px solid #1fa68c;
   }

   .location-text a:hover{
    color: #1fa68c;
   }

   .location-border{
    height: 40px;
    width: 2px;
    background: lightgray;
    display: none;
   }

   .location-text i{
    color: #1fa68c;
    margin-right:5px;
   }

   .homepage-location iframe{
    width: 100%;
    height: 300px;
    border-radius: 5px 5px 0 0;
   }

   /*SUBPAGE MOBILE STYLES*/

   .subpage-hero {
    height: 250px;
    background-image:
    linear-gradient(to bottom, rgb(0, 0, 0, .2), rgb(0, 0, 0, .2)),
    url('images/homepage-hero.jpg');
    background-size: cover;
    background-position: 50% 20%;
    color: white;
   }

   .subpage-hero .container{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
   }

   .subpage-hero h1{
    margin-bottom: 0px;
    text-align: center;
   }

   /*SERVICES PAGE MOBILE STYLES*/

   .service-list div{
    width: 140px;
  }

  /*CONTACT MOBILE STYLES*/

  p.email{
    display: none;
  }

  /*ACCORDION TABLET STYLES*/

  .accordion .acc-container.active .acc-content{
      padding:20px;
    }

  .acc-container:nth-of-type(2).active .acc-content{
    height: 630px;
  }
  .acc-container:nth-of-type(3).active .acc-content{
    height: 560px;
  }

  /*STAFF MOBILE STYLES*/

   .staff-member{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid lightgray;
   }

   .staff-member:last-of-type{
    padding-bottom: 0px;
    margin-bottom: 0px;
    border-bottom: none;
   }

   .staff-member img{
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
   }

   .staff-text{
    display: flex;
    flex-direction: column;
    align-items: center;
   }

   .staff-text h3{
    text-align: center;
   }

   /*FOOTER MOBILE STYLES*/

   footer{
    background: #1d2a4d;
    padding:60px 20px;
    color: white;
   }

   .footer-col img{
    width: 240px;
    height: auto;
   }

   footer .container{
    display: flex;
    flex-direction: column;
    align-items: center;
   }

   .footer-col {
    padding-bottom: 40px;
    margin-bottom: 60px;
    border-bottom: 1px solid lightgray;
    width: 100%;
    max-width: 500px;
    text-align: center;
   }

   .footer-col:nth-of-type(3){
    margin-bottom: 20px;
    border-bottom: none;
   }

   .footer-col h3{
    text-align: center;
    width: 100%;
   }

   .footer-col img{
    width: 240px;
    height: auto;
    margin-bottom: 20px;
   }

   .footer-col p a{
    border-bottom: 1px solid transparent;
    display: block;
    margin:10px 0px;
   }

   .footer-col p a:hover{
    border-bottom: 1px solid #1fa68c;
   }

   .footer-contact{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding:50px 30px 20px;
    width: 275px;
/*    border-radius: 10px;*/
    position: relative;
   }

   .footer-contact:before, .footer-contact:after{
    content: '';
    display: block;
    position: absolute;
    background-color: transparent;
    pointer-events: none;
   }

   .footer-contact:before{
    top: 0;
    left: 0;
    right: 70%;
    bottom: 0;
    border-top: 4px solid #1fa68c;
    border-left: 4px solid #1fa68c;
   }

   .footer-contact:after{
    top: 0;
    right: 0;
    left: 70%;
    bottom: 0;
    border-bottom: 4px solid #1fa68c;
    border-right: 4px solid #1fa68c;
   }

   .footer-contact a{
    border-bottom: 1px solid white;
   }

   .footer-contact a:hover{
    color: #1fa68c;
    border-bottom: 1px solid #1fa68c;
   }

   .footer-contact i{
    transition: .4s margin-right ease;
    margin-right:5px;
   }

   .footer-contact a:hover i{
    margin-right:20px;
   }

}

#sub-footer{
  padding:20px;
  color: white;
  font-size: .85em;
  background: #11182C;
  text-align: center;
}

#sub-footer a{
  border-bottom: 1px solid #1fa68c;
}

#sub-footer a:hover{
  color: #1fa68c;
}



@media (max-width: 500px) {

  #homepage-hero{
    background-image:
    linear-gradient(to bottom, rgba(29, 42, 77, 0.6), rgba(29, 42, 77, 0.6)),
    url('images/homepage-hero-mobile.jpg');
    background-size: cover;
    background-position: bottom center;
    color: white;
  }

/*  accordion mobile styles*/

      .acc-container {
        width: 100%;
        font-size: .9em;
    }

    .accordion .label{
      font-size: 1em;
    }

    .accordion .acc-container.active .acc-content{
      padding:20px;
    }

    .acc-content h3{
      text-align: left;
    }

    .acc-container:nth-of-type(1).active .acc-content{
      height: auto;
    }
    .acc-container:nth-of-type(2).active .acc-content{
      height: auto;
    }
    .acc-container:nth-of-type(3).active .acc-content{
      height: auto;
    }
    .acc-container:nth-of-type(4).active .acc-content{
      height: auto;
    }
    .acc-container:nth-of-type(5).active .acc-content{
      height: auto;
    }

  }
