.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}


/***** Before & After Section *****/

    .before-after-global {
        display: flex;
        flex-flow: row wrap;
        justify-content: center;
        gap: 20px;
        margin: 35px auto 80px;
    }

     input[type="range"] {  
          -webkit-appearance: none;  
          -moz-appearance: none;  
          position: relative;  
          top: -2rem;  
          left: -2%;  
          background-color: rgba(255, 255, 255, 0.5);  
          width: 102%;
          height:15px;
      }
  
      input[type="range"]:focus {  
          outline: none;
      }
  
      input[type="range"]:active {  
          outline: none;
      }
  
      input[type="range"]::-moz-range-track {  
          height: 15px;  
          width: 102%;
          right:2%;  
          background-color: rgba(255, 255, 255, 0.5);  
          position: relative;  
          outline: none;
      }
  
      input[type="range"]::active {  
          border: none;  
          outline: none;
      }
  
      input[type="range"]::-webkit-slider-thumb {  
          -webkit-appearance: none;
        background: url(/imageserver/UserMedia/minnesotaremodeling/left-and-right1.png);
        background-color: #ffffff;
        border:4px solid #f4b44e;  
        background-size: contain;
          width: 25px;  
          height: 25px;   
          border-radius: 50%;
      }
  

      input[type="range"]::-moz-range-thumb {  
        -moz-appearance: none;  
        width: 25px;  
        height: 25px;  
        background: url(/imageserver/UserMedia/minnesotaremodeling/left-and-right1.png);
        background-color: #ffffff;
        background-size: contain;
        border:4px solid #f4b44e;  
        border-radius: 50%;
    }
    
     div#comparison {  
        width: 100%;  
        height: 320px;  
        max-width: 650px;  
        max-height: 320px; 
        margin:auto;
    }
    
    div#comparison figure {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-after001.jpg);  
        background-size: cover;  
        position: relative;  
        font-size: 0;  
        width: 650px;  
        height: 100%;  
        margin: 0;
    }

    div#comparison figure div {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-before001.jpg); 
        background-size: cover;  
        position: absolute;  
        width: 650px;  
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);  
        overflow: hidden;  
        bottom: 0;  
        height: 100%;
    }
    

    div#comparison figure > img {  
        position: relative;  
        width: 650px;
    } 

    
    div#comparison1 {  
        width: 100%;  
        height: 320px;  
        max-width: 650px;  
        max-height: 320px; 
        margin:auto;
    }
    
    div#comparison1 figure { 
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-after002.jpg); 
        background-size: cover;  
        position: relative;  
        font-size: 0;  
        width: 650px;  
        height: 100%;  
        margin: 0;
    }

    div#comparison1 figure div {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-before002.jpg);
        background-size: cover;  
        position: absolute;  
        width: 650px;  
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);  
        overflow: hidden;  
        bottom: 0;  
        height: 320px;
    }
    

    div#comparison1 figure > img {  
        position: relative;  
        width: 650px;
    }
    
    div#comparison2 {  
        width: 650px;  
        height: 320px;  
        max-width: 650px;  
        max-height: 320px; 
        margin:auto;
    }
    
    div#comparison2 figure {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-after003.jpg);
        background-size: cover;  
        position: relative;  
        font-size: 0;  
        width: 650px;  
        height: 320px;  
        margin: 0;
    }

    div#comparison2 figure div {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-before003.jpg);  
        background-size: cover;
        background-position: bottom;  
        position: absolute;  
        width: 650px;  
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);  
        overflow: hidden;  
        bottom: 0;  
        height: 320px;
    }
    

    div#comparison2 figure > img {  
        position: relative;  
        width: 650px;
        display: in ;
    }
    
    div#comparison3 {  
        width: 650px;  
        height: 320px;  
        max-width: 650px;  
        max-height: 320px; 
        margin:auto;
    }
    
    div#comparison3 figure {  
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-after004.jpg);
        background-size: cover;  
        position: relative;  
        font-size: 0;  
        width: 650px;  
        height: 320px;  
        margin: 0;
    }

    div#comparison3 figure div { 
        background-image: url( /imageserver/UserMedia/priority/gallery/roofing/before-after/priorityroof-before004.jpg);
        background-size: cover;  
        position: absolute;  
        width: 650px;  
        box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);  
        overflow: hidden;  
        bottom: 0;  
        height: 320px;
    }
    

    div#comparison3 figure > img {  
        position: relative;  
        width: 650px;
    }




/****** Gallery Section ******/
.gallery-overview {
padding-block: 50px;
}

#gallery-buttons {
display: grid;
grid-template-columns: repeat(3, 1fr);
justify-content: center;
gap: 12px;
margin-inline: auto;
list-style: none;
padding-block: 20px;
text-align: center;
}

#gallery-buttons button  {
background: #ffffff;
border: 3px solid #fcb857;
width: 320px;
color: #000000;
font-weight: 600;
padding: 15px 5px;
}

#gallery-buttons button:hover  {
background: #fcb857;
color: #ffffff;
}



.portfolio-wrapper,
.gallery-wrapper {
  max-width: 98%;
  width: 100%;
  margin-inline: auto;
  }
  
  
  .box-gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    width: 100%;
    position: relative;
justify-content: center;
  }
  .box-gallery h3 {
    position: absolute;
    top: -55px;
  }
  .box-gallery .box-gallery-item {
    position: relative;
    height: 250px;
    margin: 0.5%;
    overflow: hidden;
    flex: 0 1 18em;
    transition: all 0.2s ease-in-out;
  
    border-radius: 5px;
  }
  .box-gallery .box-gallery-item i {
    position: absolute;
    bottom: 40%;
    left: 50%;
    margin: 0 0 -28px -28px;
    font-size: 2em !important;
    border-radius: 50%;
    padding: 10px;
    background: var(--accent-color);
    color: #fff;
    opacity: 0;
    transition: all 0.25s;
  }
  .box-gallery .box-gallery-item:hover {
    filter: drop-shadow(4px 4px 6px gray);
    transform: scale(1.05);
  }
  .box-gallery .box-gallery-item:hover i {
    bottom: 50%;
    opacity: 1;
  }
  .box-gallery .box-gallery-item:hover figure {
    opacity: 0.6;
  }
  .box-gallery .box-gallery-item figure {
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    -o-object-fit: cover;
       object-fit: cover;
    -o-object-position: center;
       object-position: center;
    background-size: cover;
  }
  .box-gallery .box-gallery-item figure:hover {
    filter: drop-shadow(4px 4px 6px gray);
    transform: scale(1.05);
  }/*# sourceMappingURL=Untitled-1.css.map */

.content-roofing,
 .content-decks,
 .content-interiors { 
display: none;
margin-inline: auto;
}

.show { 
display: block; 
}

#active-btn {
background-color: #f4b44e!important;
color: #ffffff!important;
}

/****** Media Queries ****/

@media (max-width: 1100px) {
#gallery-buttons {
grid-template-columns: 1fr 1fr;
}
}

@media (max-width: 720px) {
#gallery-buttons {
grid-template-columns: 1fr;
}

#gallery-buttons li {
max-width: 95%;
width: 100%;
}
}