/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    
    #header{
      display: block;
      width: 100%;
      height: 276px;
    }

    div#logo_wrapper{
      display: block;
      width: 100% !important;
      height: 100% !important;
      min-width: 100%;
      min-height: 100%;
      margin: 0 auto !important;
      padding: 0 !important;
    }

    div#logo {
        display: block;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: center;
        width: 260px !important; 
        max-width: 260px !important;
        height: 236px !important;
        max-height: 236px !important;
        margin: 0 auto !important;
        padding: 15% 0;
    }

    #header_menu{
      position: relative;
      top: 15%;
    }

    #main{
      display: block;
    }

    .mega-menu-toggle{
      margin-top: 50px;
    }

    #header_bg {
        display: none;
    }

    .stats{
      display: block;
      margin: 20px auto;
    }

    .stats div{
      clear: both;
    }

    .social_media{
      display: block;
    }

    .social_icon{
      clear: both;
      margin: 0 auto;
    }


    #mega-menu-clean-akron-menu{
      border-bottom: 1px solid #000 !important;
    }

    #page_content {
      width: 100%;
      margin: 0 auto;
      padding: 0;
  }

  .bottom_cta{
    display: block;
    font-size: 20px;
    width: 80% !important;
    margin: 0 auto;
  }

  .testimonial:nth-child(1) {
    display: block;
    flex-grow: 3;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    /* border-left: #000 1px solid; */
  }
  
  .testimonial:nth-child(2) {
    display: none;
    flex-grow: 0;
    flex-shrink: 3;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    /* border-left: #000 1px solid; */
  }
  
  .testimonial:nth-child(3) {
    display: none;
    flex-grow: 0;
    flex-shrink: 3;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    /* border-left: #000 1px solid;
    border-right: #000 1px solid; */
  }

  .box-left{
    width: 90%;
    margin: 2% 5%;
    clear: both;
  }

  .box-left-large{
    width: 90%;
    margin: 2% 5%;
    clear: both;
  }

  .services_residential_img, .services_residential_intro{
    width: 100%;
    margin: 1% 0% !important;
    padding: 0;
  }
  .services_residential_img{
    width: 100%;
  }

  .stats div{
    border: none;
  }

  .content-section-one{
    width: 100%;
    padding: 0;
    margin: 0;
  }

  section{
    width: 100%;
  }

  section.content-section-two{
    width: 100% !important;
    margin: 0 !important;
    padding: 0;
  }

  section.content-section-two-image{
    width: 100%;
    margin: 0 auto;
    background-size: 100%;
  }

  .content-section-two-text{
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .content-section-two-text div{
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }

  #contact_form{
    display: none;
    background: #fff;
    width: 98%;
    height: 80%;
    margin: 0 auto !important;
  }

  #contact_form label, #contact_form input, #contact_form textarea, .contact_page_form label, .contact_page_form input, .contact_page_form textarea{
    clear: both;
    margin-left: 10%;
    width: 80%;
  }

  .before_after_container{
    width: 100%;
    margin: 40px 0;
    padding: 0;
  }

  .before_after{
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    flex-basis: 100%;
  }

  .before_after_item{
    width: 96% !important;
    margin: 0 2%;
    flex-grow: 2;
  }
  
  .before_after_item p{
    font-size: 34px;
  }  

  img.before_after_image{
    width: 100%;
  }

  .contact_page_form form input, .contact_page_form form form textarea{
      width: 90%;
      margin: 0 auto;
  }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  
}


/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  /* CSS rules for medium devices */
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
  .content-section-one-text, .content-section-two-text, .content-section-three-text{
    margin: 10px auto;
    font-size: 0.85rem;
  }

  #mobile_bg{
    display: block;
    width: 50%;
    margin: 60px auto 0 auto;
  }

  .bottom_cta{
    font-size: 26px;
    width: 80% !important;
    margin: 0 auto;
  }

  .content-section-two-image{
    width: 96%;
    height: 100%;
    margin: 0 auto;
  }
  
  .content-section-two-img{
    width: 100%;
    height: auto;
    display: block;
    background-size: cover; /* Ensure the background image covers the entire container */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Prevent the background image from repeating */
  }

  .content-section-two-text{
    width: 100%;
    float: none;
    margin: 0 auto;
  }

  #contact_form{
    overflow-y: auto;
  }

  #contact_form label, #contact_form input, #contact_form textarea, .contact_page_form label, .contact_page_form input, .contact_page_form textarea{
    clear: both;
    margin-left: 10%;
    width: 80%;
    height: 25px;
    line-height: 25px;
    font-size: 25px;
    text-align: center;
  }
  
  .services_airbnb_intro, .box_left_larger{
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }


  .page_gallery{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: normal;
    align-items: normal;
    align-content: normal;
    max-width: 100%;
  }
  
  .page_gallery_img{
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto;
    align-self: auto;
    order: 0;
    width: 100%;
    max-width: 100%;
    margin: 10px auto;
    padding: 0;
  }
  
  .page_gallery_img img{
    width: 100%;
    margin: 0 auto;
  }


  .services_airbnb_intro{
    margin-top: 0;
  }


}

@media only screen and (max-width: 860px){

    .mobile_cta{
        width: 100%;
        margin: 10px auto 0 auto;
        border-top: 2px solid #777;
        border-bottom: 2px solid #777;
        padding: 10px 0;
    }
    
    .mobile_cta div{
        font-size: 1.1em;
        text-align: center;
        color:  #ffcc66;
    }

    .mobile_cta .phone_mobile{
        font-size: 1.3em;
        color: #b7c9b1;
        text-align: center;
        margin: 0 auto;
    }
    
    #page_content {
      width: 94%;
      margin: 0 auto;
      padding: 0 3%;
  }

  .content-section-one{
    margin-top: 20px !important;
  }

  .n2-section-smartslider{
        display: none;
  }
  
  .bottom_cta{
    font-size: 26px;
  }  

  #contact_form{
    display: none;
    background: #fff;
    width: 90%;
    height: 98%;
    margin: 0 1% !important;
  }

}


@media only screen and (min-width: 861px){

  .mobile_cta{
    display: none;
  }

  .content-section-one-text{
    line-height: auto;
  }

  #contact_form{
    height: 100%;
    margin: 0 auto !important;
    overflow-y: scroll;
    top: 0 !important;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  /* CSS rules for large devices */
}


@media only screen and (max-width: 1024px){

  #logo_wrapper {
    /* display: flex;
    justify-content: center;
    align-items: center; */
    padding-top: 10%; /* Remove any padding to prevent overlap */
    height: 181px !important;
    width: 200px !important;
}
  #logo {
    background-size: cover; /* Maintain the aspect ratio of the image */
    background-repeat: no-repeat;
    background-position: center;
    width: 260px !important; 
    max-width: 260px !important;
    height: 236px !important;
    max-height: 236px !important;
    margin-bottom: 30px;
    margin-top: 20px;
}

}


@media only screen and (max-width: 1000px) {

}    

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    html, body, #wrapper{
        background: #b7c9b1;
    }

    #container{
        width: 100%;
        margin: 0 auto;
    }

    #logo {
        background-size: 100%;
        width: 30%;
        max-width: 230px;
        height: auto;
    }
    
    #header_bg {
        background-size: contain; /* Maintain the aspect ratio of the image */
        width: 50%; /* Adjust the width to make room for the logo */
    }

    #header_menu li{
        float: left;
        margin-left: 20px;
    }

}


@media only screen and (max-width: 1200px) {
    .mega-menu-link{
        font-size: 2em;
    }

    .bottom_cta{
      font-size:30px;
    }


}

@media only screen and (min-width: 1367px){

  .services_residential_img{
    width: 20%;
  }

  .services_residential_intro{
    width: 70%;
    padding: 3% 0 0 10%;
  }
}