{
  margin:0px;
  padding:0px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Urbanist', sans-serif;
  /*color: #364356;*/
  color:#242d39;
  font-size:16px;
  margin: 0px;
}

h1{
  margin: 0 0 40px;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5em;
}

h2, 
h3,
h4{
  margin: 0 0 20px;
  line-height: 1.33em;
  font-family: 'Poppins', sans-serif;
}

h4 {
  font-size: 1em;
  color: #525833;
  margin-bottom: 5px;
  font-weight: 300;
}

p{
  margin: 0 0 20px;
  line-height: 1.5em;
}

a{
  text-decoration: none;
  transition: .4s;
}

ul{
  margin-bottom: 20px;
  padding-left: 40px;
}

ul li{
  margin-bottom: 6px;
}

p.small-text{
  font-size: .9em;
}

.center-text{
  text-align: center;
}

.subpage-content a{
  color: gray;
  border-bottom: 1px solid #242d39;
}

.subpage-content a:hover{
  color: #242d39;
}

/***SUBPAGE HERO STYLES***/

#service-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
  url('images/service-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#client-references-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .4), rgb(36, 45, 57, .4)),
  url('images/insulator-hero.jpg');
  background-size: cover;
  background-position: 50% 45%;
  background-repeat: no-repeat;
}
#contact-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .1), rgb(36, 45, 57, .1)),
  url('images/contact-hero.jpg');
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
}
#resources-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
  url('images/resources-hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#products-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
  url('images/power-pole-hero.jpg');
  background-size: cover;
  background-position: 50% 80%;
  background-repeat: no-repeat;
}
#about-hero{
  background-image:
  linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
  url('images/about-hero.jpg');
  background-size: cover;
  background-position: 50% 57%;
  background-repeat: no-repeat;
}

/*NERC COMPLIANCE ACCORDION STYLES*/

.accordion {
    width: 100%;
    margin-top: 40px;
  }
  .accordion input {
    display: none;
  }
  .box {
    position: relative;
    background: white;
    min-height: 54px;
    transition: all .4s ease-in-out;
    margin-bottom: 25px;
  }
  .box::before {
      content: '';
      /*position: absolute;*/
      display: block;
      top: 0;
      bottom: 0;
      left: 0;
      right: 0;
      pointer-events: none;
      /*box-shadow: 0 -1px 0 #e5e5e5,0 0 2px rgba(0,0,0,.12),0 2px 4px rgba(0,0,0,.24);*/
  }
  .box-title {
    width: 100%;
    min-height: 54px;
    line-height: 1.5em;
    padding: 0 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    -webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
    border: 1px solid #242d39;
    background: #f1efef;
    color: #242d39;
    font-weight: bold;
  }
  .box-content {
    /*width: 100%;*/
    padding: 20px 20px 10px;
    line-height: 1.5em;
    display: none;
    text-align: justify;
    color: #242d39;
  }
  .box-close {
    position: absolute;
    height: 64px;
    width: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
  }
  input:checked + .box {
    height: auto;
    margin: 16px 0;
     /* box-shadow: 0 0 6px rgba(0,0,0,.16),0 6px 12px rgba(0,0,0,.32);*/
  }
  input:checked + .box .box-content{
    transition: .4s;
    background: #f1efef;
    margin-bottom: 10px;
/*    width: 1058px;*/
  }
  input:checked + .box .box-content,
  input:checked + .box .box-close {
    display: block;
  }
  .arrows section .box-title {
    padding: 5px 20px;
    width: calc(100% - 44px);
    font-size: 1.05em;
  }
  .arrows section .box-title:before {
    /*position: absolute;*/
    display: block;
    content: '\203a';
    font-size: 25pt;
    margin:0 20px 6px 0;
    /*left: 20px;
    top: -3px;*/
    transition: transform .4s ease-in-out;
    color: #242d39;
  }
  input:checked + section.box .box-title:before {
    transform: rotate(90deg);
    margin-bottom: 0px;
    color: white;
  }
  .box-title:hover{
    background:#242d39;
    color: white !important;
    transition: .4s;
  }  
  .box:hover .box-title:before{
    color: white;
  }
  input:checked + .box .box-title{
    background:#242d39;
    color: white;
  }
  .box-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;}
    }


@media (min-width: 1100px) {

  .container {
    width:1100px;
    margin:0 auto;
  }

  .content{
    padding: 80px 0;
  }

  /*** HEADER DESKTOP STYLES ***/

  #navContainer{
    width: 100%;
    transition: .6s;
    position: fixed;
    top: 0;
    min-height: fit-content;
    z-index: 1000;
    background: white;
  }

  #navContainer .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #navContainer img{
    width: 230px;
    height: auto;
    padding: 10px 0;
  }

  #nav{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }

  #top-header{
    background: #525833;
    padding: 10px 0;
    font-weight: bold;
  }

  #top-header .container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  .topnav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 640px;
  }

  .topnav a{
    color: #242d39;
    font-weight: bold;
    padding: 8px 16px;
    font-size: .9em;
  }

  .topnav a:hover{
    background: #242d39;
    color: white;
  }

  #myTopnav a.icon{
    display: none;
  }

  a#header-tel{
    display: inline-block;
    padding: 10px 20px;
    margin-left:10px;
    color: white;
    font-weight: bold;
    font-size: .9em;
    text-transform: uppercase;
    background: #242d39;
    border: 2px solid #242d39;
  }

  a#header-tel:hover{
    background: white;
    color: #242d39;
  }

  /*dropdown menu styles*/

  .dropdown {
    position: relative;
    display: inline-block;
  }

  .hidden {
    display: none;
    position: absolute !important;
    z-index: 1;
    padding-top: 10px;
  }

  .hidden a {
    color: #fff;
    padding: 8px 12px;
    text-decoration: none;
    display: block;
    background-color: rgba(36, 45, 57, .9);
    border-bottom: none;
    font-size: .85em;
    width: 180px;
    transition: .4s ;
  }

  .hidden a:hover{
    background-color: #f1efef;
    color: #242d39;
    display: block;
    opacity: 1;
  }

  .dropdown:hover .hidden {
    display: block;
  }

  .dropbtn{
    cursor: default;
  }

  a.dropbtn:hover{
    color:#242d39;
    background-color:transparent;
  }

  .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 DEKSTOP STYLES***/

  #homepage-hero{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero.jpg');
    background-size: cover;
    background-position: 50% 57%;
    height: 350px;
    margin-top: 116px;
    color: white;
    padding-bottom: 40px;
  }
  #homepage-hero2{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/contact-hero.jpg');
    background-size: cover;
    background-position: 50% 70%;
    height: 350px;
    margin-top: 116px;
    color: white;
    padding-bottom: 40px;
  }
  #homepage-hero3{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero3.jpg');
    background-size: cover;
    background-position: 50% 60%;
    height: 350px;
    margin-top: 116px;
    color: white;
    padding-bottom: 40px;
  }
  #homepage-hero4{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero4.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 350px;
    margin-top: 116px;
    color: white;
    padding-bottom: 40px;
  }
  #homepage-hero5{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .3), rgb(36, 45, 57, .3)),
    url('images/homepage-hero5.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 350px;
    margin-top: 116px;
    color: white;
    padding-bottom: 40px;
  }

  .homepage-slideshow .container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .homepage-slideshow h1{
    font-size: 3em;
    margin-bottom: 0px;
  }

  /*HERO SLIDESHOW*/

  /* Slideshow container */
  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
  }

  /* Hide the images by default */
  .mySlides {
    display: none;
  }

  /* Next & previous buttons */
   .prev, .next {
    cursor: pointer;
    position: absolute;
    width: auto;
    top: 150px;
    padding: 10px;
    color: white;
    background-color: rgb(128,128,128, .7);
    border-top:2px solid white;
    border-bottom:2px solid white;
    font-weight: bold;
    font-size: 32px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
    border-left:2px solid white;
  }
  .prev{
    border-right:2px solid white;
  }

  .prev:hover, .next:hover{
    color: #525833;
    background-color: rgb(255,255,255, .7);
  }

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

  .active {
    background-color: #717171;
  }

  /* 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}
  }

  /*MAIN BODY DESKTOP STYLES*/

  #home-icon-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin:-135px auto 0px;
  }

  .homepage-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 220px;
    height: 430px;
    padding: 0 20px;
    text-align: center;
    z-index: 100;
  }

  .homepage-icon img{
    margin-bottom: 10px;
  }

  .homepage-icon h3{
    margin-bottom: 10px;
/*    height: 50px;*/
  }

  .homepage-icon p{
/*    text-align: left;*/
    height: 192px;
  }

  .homepage-icon a{
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
  }

  .homepage-icon a:hover{
    background: white;
    color: #242d39;
  }

  #homepage-about{
    padding: 0px;
    margin-top: 20px;
  }

  #homepage-about .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #homepage-about img{
    width: 315px;
    height: auto;
  }

  #homepage-about img:nth-of-type(2){
    display: none;
  }

  #homepage-about-text{
    width: 700px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /*margin-left: 60px;*/
  }

  /*#homepage-about-text h4{
    font-size: 1em;
    color: #525833;
    margin-bottom: 5px;
    font-weight: 300;
  }*/

  #homepage-about-text h3{
    font-size: 2em;
  }

  .paragraph-border{
    padding-left: 20px;
    border-left: 7px solid #525833;
  }

  .paragraph-border span{
    color: #525833;
  }

  #homepage-about-text a{
    display: inline-block;
    padding: 10px 35px;
    color: #242d39;
    box-shadow: 4px 4px 8px gray;
    background: white;
    font-weight: bold;
  }

  #homepage-about-text a:hover{
    background: #242d39;
    color: white;
  }

  .homepage-gray-blue{
    background: url(images/homepage-gray-background.jpg) no-repeat center;
    padding: 0px;
  }

  #homepage-45{
    background: #525833;
    height: 110px;
    width: 315px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #homepage-45-number{
    font-size: 4em;
    font-weight: 900;
    margin-right: 5px;
  }

  #homepage-45-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.1em;
  }

  #homepage-links{
    padding-bottom: 140px;
  }

  #homepage-links .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
/*    background: #f1eff0;*/
    border-top:1px solid #cdcdcd;
    border-bottom:1px solid #cdcdcd;
    padding: 40px 20px;
  }

  #homepage-links h3{
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-size: 1.5em;
  }

  #homepage-links a{
    display: inline-block;
    box-shadow: 4px 4px 8px grey;
    padding:10px 20px;
    color: white;
    background: #242d39;
    border:2px solid #242d39;
/*    min-width: 200px;*/
    text-align: center;
    margin: 0 5px 20px;
  }

  #homepage-links a:hover{
    background: white;
    color: #242d39;
  }

  #client-map{
    background: #f1efef;
  }

  #client-map h1, 
  #client-map h4{
    text-align: center;
  }

  #client-map img{
    display: block;
    margin: 20px auto 60px;
  }

  /***SUBPAGE DESKTOP STYLES***/

  .subpage-hero{
    background: url(images/subpage-hero-new.jpg) no-repeat 50% 50%;background-size: cover;
    height: 200px;
    margin-top: 116px;
    color: white;
  }

 .subpage-hero .container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .subpage-hero h1{
    font-size: 3em;
    margin-bottom: 0px;
  }

  /***ABOUT DESKTOP STYLES***/

  #about-content h4{
    color: gray;
  }

  #about-content span{
    font-weight: bold;
    color: #242d39;
  }

  #about-content .team-member{
    padding: 40px 20px;
  }

  #about-content .team-member:nth-of-type(even){
    background: #f1efef;
  }

  #about-content .team-member p:last-child{
    margin-bottom: 0px;
  }

  a.company-brochure{
    display: inline-block;
    margin-top: 40px;
    padding: 10px 20px;
    color: white;
    background: #525833;
    border: 2px solid #525833;
    font-weight: bold;
  }

  a.company-brochure:hover{
    background: white;
    color: #525833;
  }

  /***CONTACT PAGE DESKTOP STYLES***/

  #contact-content .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .contact-form{
    width: 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-form input,
  .contact-form textarea{
    width: 100%;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
    color:#242d39;
    margin-bottom: 20px;
  }

  .contact-form textarea{
    height: 150px;
  }

  .contact-form #submit{
    background: #525833;
    border: 2px solid #525833;
    color: white;
    transition: .4s;
    width: 50%;
    font-weight: bold;
    text-transform: uppercase;
  }

  .contact-form #submit:hover{
    background: white;
    color: #525833;
    cursor: pointer;
  }

  /***SERVICES DESKTOP STYLES***/

  #service-content .container{
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 20px;
  }

  #service-content a{
    display: inline-block;
    text-align: center;
    width: 250px;
    padding: 10px 20px;
    background: #525833;
    border: 2px solid #525833;
    color: white;
    transition: .4s;
    font-weight: bold;
  }

  #service-content a:hover{
    background: white;
    color: #525833;
  }

  /***PRODUCTS DESKTOP STYLES***/

  #product-content .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  #product-content a{
    display: inline-block;
    width: 300px;
    text-align: center;
    border-bottom: none;
    margin: 20px 0;
    font-weight: bold;
    padding:10px;
    border:2px solid gray;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #product-content a:hover{
    border:2px solid #364356;
    background: #364356;
    color: white;
  }

  /***RESOURCE PAGE DESKTOP STYLES***/

  .resource-link{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #cdcdcd;
  }

  .vertical-border{
    height: 30px;
    width: 2px;
    background: #242d39;
    margin: 0 20px;
  }

   #resource-content h3{
    margin-top: 30px;
    font-size: 1.4em;
  }

  .resource-link p{
    margin-bottom: 0px;
  }

  .resource-link a{
    color: #A1A3A5;
    font-weight: bold;
    font-size: 1.15em;
    border-bottom: none;
  }

  .resource-link a:hover{
    color: #525833;
  }

  /***CLIENT REFERENCES DESKTOP STYLES***/

  .reference-content img{
    max-width: 1000px;
    width: 100%;
    height: auto;
  }

  /*INDUSTRY NEWS DESKTOP STYLES*/

  .news-update{
    width: 800px;
    display: block;
    margin:0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #cdcdcd;
  }

  .news-update a{
    display: inline-block;
    box-shadow: 4px 4px 8px grey;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
    min-width: 100px;
    text-align: center;  
  }

  .news-update a:hover{
    color: #242d39;
    background: white;
  }

  .news-hero .container {
    display: flex;
    flex-direction: column ;
    justify-content: center;
  }

  .news-hero h2{
    font-weight: 300;
  }


  a.back-to-news{
    display: inline-block;
    margin-top:40px;
    box-shadow: 4px 4px 8px grey;
    padding: 10px 20px;
    color: white;
    background: #525833;
    border: 2px solid #525833;
    min-width: 100px;
    text-align: center;  
  }

  a.back-to-news:hover{
    color: #525833;
    background: white;
   }

  /***FOOTER DESKTOP STYLES***/

  footer{
    background: #364356;
    padding: 60px 0;
  }

  footer .container{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  #footer-card{
    background: white;
    border-top: 10px solid #525833;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 270px;
    margin-top: -120px;
  }

  #footer-card img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  #footer-card p{
    color: #525833;
    margin-bottom: 30px;
  }

  a#footer-learn-more{
    display: inline-block;
    width: 140px;
    text-align: center;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
    border-radius: 5px;
    margin-bottom: 30px;
  }

  a#footer-learn-more:hover{
    background: white;
    color: #242d39;
  }

  #footer-card i{
    color: #525833;
    padding: 8px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: .4s;
  }

  #footer-card i:hover{
    background: #525833;
    color: white;
  }

  .footer-col{
    color: #f1efef;
    /*margin-left: 40px;*/
  }

  .footer-col a{
    color: #f1efef;
    border-bottom: 1px solid transparent;
  }

  .footer-col a:hover{
    color: white;
    border-bottom: 1px solid white
  }

  .footer-col2{
    display: flex;
/*    flex-direction: column;*/
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: space-between;
    width: 460px;
  }

  .footer-col2 h3{
    width: 100%;
  }

  .footer-contact{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin-bottom: 40px;
  }

  .footer-contat:first-child{
    margin-right:40px;
  }

  .footer-contact img{
    margin-right: 20px;
    display: none;
  }

  .footer-contact p{
    margin-bottom: 5px;
  }

  #footer-logos{
    padding:40px 0;
  }
  #footer-logos .container{
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

 #sub-footer{
    background: #242d39;
    padding: 20px 20px 10px;
    color: #f1efef;
    text-align: center;
    font-size: .9em;
  }

  #sub-footer .container{
    display: flex;
    justify-content: space-between;
  }

   #sub-footer a{
    color: #f1efef;
    border-bottom: 1px solid transparent;
  }

  #sub-footer a:hover{
    color: white;
    border-bottom: 1px solid white
  }

   #sub-footer p{
    margin-bottom: 0px;
  }

  .short-border{
   display: none;
  }

  .sub-footer-links{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 300px;
  }

  .sub-footer-links a{
    display: inline-block;
  }

}

@media (max-width: 1099px) {

  .container {
    width: 100%;
    margin:0 auto;
  }

  .content{
    padding: 60px 20px;
  }


 /***** HEADER MOBILE STYLES *****/

  header{
    width: 100%;
    transition: 0.4s;
    position: fixed;
    top: 0;
    z-index: 110;
    background: white;
  }

  #top-header{
    background: #525833;
    padding: 8px 0;
  }

  #navContainer{
    width: 100%;
  }

  #navContainer img{
    width: 220px;
    height: auto;
    margin: 15px 0 0px 20px;
  }

  /* Links inside the navbar */
  .topnav a { 
    float: left;
    font-size: 16px;
    color: #242d39;
    background: #fff;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
  }

  /* Add a background color to navbar links on hover */
  .topnav a:hover{
    background: #242d39;
    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: 30px;
    top: 22px;
    right: 0;
    float: right;
    margin-right: 10px;
    color: #242d39;
    transition: unset;
    background: transparent;
  }

  .topnav a.icon:hover{
    background-color:transparent;
    color: #383837;
  }

   /* 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;
    margin-top: 0px;
  }
    .topnav.responsive a.icon {
      position: absolute;
      right: 0px;
      top: -84px;
      border-bottom:none;
      transition: unset;
    }

    .topnav.responsive a {
      float: none;
      display: block;
      text-align: left;
      border-bottom:1px solid #7d7e73;
      padding-left: 30px;
    }
    .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;
    }

    .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;}
    }

    .topnav-contact{
      border-top: 1px solid white;
    }

    /* Dropdown Content */
    .hidden{
      display: none;
      margin: 15px 0px 5px;
    }

    .hidden a{
      margin-left: 25px !important;
      font-size: .9em;
     /* width: 150px;*/
      border-bottom: none !important;
      padding: 8px 16px;
      margin-top: 5px;
    }

    /*.hidden a:hover{
      color: #e7060d;
      background: transparent;
    }*/

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

    .dropbtn:hover{
      cursor: pointer;
    }

   #header-tel{
    display: none;
   }


  /***HERO MOBILE STYLES***/

 #homepage-hero{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 330px;
    margin-top: 116px;
    color: white;
    padding-bottom: 20px;
  }
  #homepage-hero2{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/contact-hero.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 330px;
    margin-top: 116px;
    color: white;
    padding-bottom: 20px;
  }
  #homepage-hero3{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero3.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 330px;
    margin-top: 116px;
    color: white;
    padding-bottom: 20px;
  }
  #homepage-hero4{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .2), rgb(36, 45, 57, .2)),
    url('images/homepage-hero4.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 330px;
    margin-top: 116px;
    color: white;
    padding-bottom: 20px;
  }
  #homepage-hero5{
    background-image:
    linear-gradient(to bottom, rgb(36, 45, 57, .3), rgb(36, 45, 57, .3)),
    url('images/homepage-hero5.jpg');
    background-size: cover;
    background-position: 50% 50%;
    height: 330px;
    margin-top: 116px;
    color: white;
    padding-bottom: 20px;
  }

  .homepage-slideshow .container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .homepage-slideshow h1{
    font-size: 2.5em;
    width: 90%;
    margin-bottom: 0px;
  }

  /*HERO SLIDESHOW*/

  /* Slideshow container */
  .slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
  }

  /* Hide the images by default */
  .mySlides {
    display: none;
  }

  /* Next & previous buttons */
   .prev, .next {
    cursor: pointer;
    position: absolute;
    width: auto;
    top: 150px;
    padding: 10px;
    color: white;
    background-color: rgb(128,128,128, .7);
    border-top:2px solid white;
    border-bottom:2px solid white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }

  /* Position the "next button" to the right */
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
    border-left:2px solid white;
  }
  .prev{
    border-right:2px solid white;
  }

  .prev:hover, .next:hover{
    color: #525833;
    background-color: rgb(255,255,255, .7);
  }

  /* 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}
  }

  /*MAIN BODY MOBILE STYLES*/

  #home-icon-container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
    margin:-160px auto 0px;
  }

  .homepage-icon{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    padding: 0 20px;
    margin: 40px 0 20px;
    text-align: center;
    z-index: 100;
  }

  .homepage-icon img{
    margin-bottom: 10px;
  }

  .homepage-icon h3{
    text-transform: none;
    margin-bottom: 10px;
  }

  .homepage-icon a{
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
  }

  .homepage-icon a:hover{
    background: white;
    color: #242d39;
  }

  #homepage-about{
    padding: 0px 20px 60px;
    margin-top: 20px;
  }

  #homepage-about .container{
    display: flex;
    flex-flow:row wrap; ;
    justify-content: center;
    align-items: center;
  }

  #homepage-about img{
    width: 300px;
    height: auto;
    margin-bottom: 40px;
  }

  #homepage-about img:first-child{
    display: none;
  }

  #homepage-about-text{
    display: flex;
    flex-direction: column;
    margin: 20px;
  }

  #homepage-about-text h4{
    display: block;
    text-align: center;
  }

  #homepage-about-text h3{
    font-size: 1.5em;
  }

  .paragraph-border{
    padding-left: 20px;
    border-left: 7px solid #525833;
  }

  .paragraph-border span{
    color: #525833;
  }

  #homepage-about-text a{
    display: block;
    padding: 10px;
    width: 200px;
    margin: 20px auto 0;
    color: #fff;
    box-shadow: 4px 4px 8px gray;
    background: #242d39;
    border: 2px solid #242d39;
    font-weight: bold;
    text-align: center;
  }

  #homepage-about-text a:hover{
    background: #fff;
    color: #242d39;
  }

  .homepage-gray-blue{
    background: #525833;
    padding: 5px 20px;
  }

  #homepage-45{
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #homepage-45-number{
    font-size: 3em;
    font-weight: 900;
    margin-right: 5px;
  }

  #homepage-45-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  #homepage-links{
    padding-bottom: 140px;
  }

  #homepage-links .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
/*    background: #f1eff0;*/
    border-top:1px solid #cdcdcd;
    border-bottom:1px solid #cdcdcd;
    padding: 40px 20px;
  }

  #homepage-links h3{
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 40px;
    font-size: 1.5em;
  }

  #homepage-links a{
    display: inline-block;
    margin:0 10px 20px;
    padding:10px 20px;
    color: white;
    background: #242d39;
    border:2px solid #242d39;
    box-shadow: 4px 4px 8px grey;
    min-width: 260px;
    text-align: center;
  }

  #homepage-links a:hover{
    background: white;
    color: #242d39;
  }

  #client-map{
    background: #f1efef;
  }

  #client-map h1, 
  #client-map h4{
    text-align: center;
  }

  #client-map img{
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 20px auto 80px;
  }

  /***SUBPAGE HERO MOBILE STYLES***/

  .subpage-hero{
    background: url(images/subpage-hero-new.jpg) no-repeat 50% 50%;background-size: cover;
    height: 200px;
    margin-top: 107px;
    color: white;
  }

  .subpage-hero .container{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .subpage-hero h1{
    font-size: 2.5em;
    margin-bottom: 20px;
  }

  /***ABOUT DESKTOP STYLES***/

  #about-content{
    padding: 60px 0;
  }

  #about-content h4{
    color: gray;
  }

  #about-content span{
    font-weight: bold;
    color: #242d39;
  }

  .company-overview{
    padding: 0 20px;
  }

  #about-content .team-member{
    padding: 40px 20px;
  }

  #about-content .team-member:nth-of-type(even){
    background: #f1efef;
  }

  #about-content .team-member p:last-child{
    margin-bottom: 0px;
  }

  a.company-brochure{
    display: block;
    margin:40px auto 0;
    width: 240px;
    text-align: center;
    margin-right: auto;
    padding: 10px 20px;
    color: white;
    background: #525833;
    border: 2px solid #525833;
    font-weight: bold;
  }

  a.company-brochure:hover{
    background: white;
    color: #525833;
  }

  /***CONTACT PAGE MOBILE STYLES***/

  #contact-content .container{
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .contact-form{
    max-width: 500px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #242d39;
  }

  .contact-form input,
  .contact-form textarea{
    width: 90%;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
    color:#242d39;
    margin-bottom: 20px;
  }

  .contact-form textarea{
    height: 150px;
  }

  .contact-form #submit{
    background: #525833;
    border: 2px solid #525833;
    color: white;
    transition: .4s;
    width: 50%;
    font-weight: bold;
    text-transform: uppercase;
  }

  .contact-form #submit:hover{
    background: white;
    color: #525833;
    cursor: pointer;
  }

  /***SERVICES MOBILE STYLES***/

  #service-content .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: 20px;
  }

  #service-content a{
    display: inline-block;
    text-align: center;
    width: 250px;
    padding: 10px 20px;
    margin:30px 15px 0;
    background: #525833;
    border: 2px solid #525833;
    color: white;
    transition: .4s;
    font-weight: bold;
  }

  #service-content a:hover{
    background: white;
    color: #525833;
  }

  /***PRODUCTS DESKTOP STYLES***/

  #product-content .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: flex-start;
  }

  #product-content a{
    display: inline-block;
    width: 300px;
    text-align: center;
    border-bottom: none;
    margin-bottom: 20px;
    font-weight: bold;
    padding:10px;
    border:2px solid gray;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
  }

  #product-content a:hover{
    border:2px solid #364356;
    background: #364356;
    color: white;
  }

  /***RESOURCE PAGE MOBILE STYLES***/

  .resource-link{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #cdcdcd;
  }

  .vertical-border{
    height: 2px;
    width: 16px;
    background: #242d39;
    margin: 10px 0;
  }

  #resource-content h3{
    margin-top: 30px;
    font-size: 1.4em;
  }

  .resource-link p{
    margin-bottom: 0px;
  }

  .resource-link a{
    color: #A1A3A5;
    font-weight: bold;
    font-size: 1.15em;
    border-bottom: none;
  }

  .resource-link a:hover{
    color: #525833;
  }

  /***CLIENT REFERENCES MOBILE STYLES***/

  .reference-content img{
    width: 100%;
    height: auto;
  }

  /*INDUSTRY NEWS DESKTOP STYLES*/

  .news-update{
    max-width: 800px;
    width: 100%;
    display: block;
    margin:0 auto 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #cdcdcd;
  }

  .news-update a{
    display: inline-block;
    box-shadow: 4px 4px 8px grey;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
    min-width: 100px;
    text-align: center;  
  }

  .news-update a:hover{
    color: #242d39;
    background: white;
  }

  .news-hero .container {
    display: flex;
    flex-direction: column ;
    justify-content: center;
  }

  .news-hero h2{
    font-weight: 300;
  }

  a.back-to-news{
    display: inline-block;
    margin-top:40px;
    box-shadow: 4px 4px 8px grey;
    padding: 10px 20px;
    color: white;
    background: #525833;
    border: 2px solid #525833;
    min-width: 100px;
    text-align: center;  
  }

  a.back-to-news:hover{
    color: #525833;
    background: white;
  }

  /***FOOTER MOBILE STYLES***/

  footer{
    background: #364356;
    padding: 60px 20px 40px;
  }

  footer .container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer-card{
    background: white;
    border-top: 10px solid #525833;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin-top: -120px;
    margin-bottom: 60px;
  }

  #footer-card img{
    width: 200px;
    height: auto;
    margin-bottom: 20px;
  }

  #footer-card p{
    color: #525833;
    margin-bottom: 30px;
  }

  a#footer-learn-more{
    display: inline-block;
    width: 140px;
    text-align: center;
    padding: 10px 20px;
    color: white;
    background: #242d39;
    border: 2px solid #242d39;
    border-radius: 5px;
    margin-bottom: 30px;
  }

  a#footer-learn-more:hover{
    background: white;
    color: #242d39;
  }

  #footer-card i{
    color: #525833;
    padding: 8px;
    font-size: 20px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    margin: 0 10px;
    border-radius: 5px;
    transition: .4s;
  }

  #footer-card i:hover{
    background: #525833;
    color: white;
  }

  .footer-col{
    color: #f1efef;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 540px;
    margin-bottom: 40px;
  }

  .footer-col a{
    color: #f1efef;
    border-bottom: 1px solid transparent;
  }

  .footer-col a:hover{
    color: white;
    border-bottom: 1px solid white
  }

  .footer-links p{

  }

  .footer-col2{
    display: flex;
    flex-flow: row wrap;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    max-width: 540px;
    border-top: 1px solid gray;
    padding-top:60px;
    margin-bottom: 0px;
    padding-bottom: 0px;
  }

  .footer-col h3{
    width: 100%;
    text-align: center;
  }

  .footer-contact{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    margin:0 20px 40px;
    width: 185px;
  }

  .footer-contact:last-child{
    margin-bottom: 20px;
  }

  .footer-contact img{
    margin-right: 20px;
    display: none;
  }

  .footer-contact p{
    margin-bottom: 10px;
  }

  #footer-logos{
    padding:20px;
  }

  #footer-logos .container{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
  }

  #footer-logos img{
    margin:10px;
  }

  #sub-footer{
    background: #242d39;
    padding: 40px 20px 20px;
    color: #f1efef;
    text-align: center;
    font-size: .9em;
  }

  #sub-footer .container{
    display: flex;
    flex-direction: column;
    align-items: center;
  }

   #sub-footer a{
    color: #f1efef;
    border-bottom: 1px solid transparent;
  }

  #sub-footer a:hover{
    color: white;
    border-bottom: 1px solid white
  }

   #sub-footer p{
    margin-bottom: 10px;
  }

  .short-border{
    height: 1px;
    width: 200px;
    background: gray;
    margin: 10px auto 20px;
  }

  .sub-footer-links{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    align-items: flex-start;
  }

  .sub-footer-links a{
    display: inline-block;
    margin: 0 10px;
  }


}