body,
html {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-size: 18px;
}

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

.maincontent_wrapper {
    padding-top: 0;
}

img {
    width: 100%;
}

.bold {
    font-weight: 900;
}

.thin {
    color:#fff;
}


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

h1,
h2,
h3,
h4,
h5 {
    padding: 0;
    margin: 15px;
}
h2{
    color: var(--accent-color);
}

.highlight {
    color: var(--accent-color);
    text-transform: uppercase;
}

.colorBrown {
    color: #A37A14;
}
.colorBlue {
    color: var(--accent-color);
}

.gradient-divider {
    height: 1px;
    z-index: 2;
    background: #000;
    margin: 100px auto;
    position: relative;
    max-width: 50%;
    background: -webkit-linear-gradient(left, rgb(255, 255, 255) 0%, rgb(50, 50, 50) 50%, rgb(255, 255, 255) 100%);
}


.border-gradient {
    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;
}

.border-gradient-color {
    border-image-source: linear-gradient(to bottom right, var(--accent-color), #f4743b);
    transition: .3s;
}

.cta:hover {
    text-decoration: none;
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.3));
}

.border-gradient:hover {
    border: 2px solid;
    border-image-slice: 1;
    border-width: 2px;
}

.border-gradient-color:hover {
    border-image-source: linear-gradient(to top left, var(--accent-color), #f4743b);
    transition: .3s;
}

.header-div{
    margin:5% 0;
    text-align: center;
}

.header-title {
    margin: 0 auto;
    position: relative;
    max-width: 80%;
    display: inline-block;
}

.header-title::before,
.header-title::after {
    content: "";
    position: absolute;
    background-color: #A37A14;
    width: 10%;
    height: 2px;
    z-index: 2;
}

.header-title::before {
    top: 50%;
    left: -11%;
}

.header-title::after {
    top: 50%;
    right: -11%;
}
#main-wrapper{
    padding:0 3%;
}
.hero{
    height:40vw;
    max-height:400px;
    overflow:hidden;
    background-image: url('/imageserver/Reusable/gutters21/cleaning-min.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display:flex;
    align-items: center;
    justify-content: center;
}
.hero-text-wrapper{
    color:#fff;
    text-align:center;
}
.section1{
    padding:5% 0 0;
    margin:0 auto;
}
.sec1-wrapper{
    max-width:1400px;
    margin:0 auto 4%;
}
.sec1-header{
    max-width:800px;
    margin:0 auto;
    text-align:center;
}

#alum-styles{
    max-width:600px;
}
.grid-item{
    margin:15px 0;
}
.sec2-wrapper{
    max-width:1400px;
    margin:0 auto
}
.sec2-grid{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    /* grid-template-columns: repeat(auto-fill, minmax(300px 700px)); */
    grid-template-columns: 1fr 1fr;
}
.sec2-grid-left{
    justify-self:flex-end;
    -webkit-box-shadow: 5px 5px 11px 1px rgba(0,0,0,0.37); 
    box-shadow: 5px 5px 11px 1px rgba(0,0,0,0.37);
    padding:8%;
}
.sec2-grid-right{
    align-self:center;
}
.sec2-grid2{
    display:grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 700px));
    justify-items: center;
}
.grid2-left{
    text-align: center;
    max-width:600px;
}
.grid2-right{
    text-align: center;
    max-width:600px;
}
#box-img{
    max-width:250px;
    float:right;
}
.section5{
    padding:5% 0 0;
    margin:0 auto;
}
.section6{
    padding:5% 0 0;
    margin:0 auto;
    text-align: center;
}
.sec6-header{
    max-width:1200px;
    margin:0 auto;
}
.sec6-grid{
    display:grid;
    grid-template-columns: 1fr 1.25fr;
    max-width:1650px;
    margin:0 auto;
}
#commercial{
    max-width:1100px;
    margin:50px auto;
    text-align: center;
}
.color{
    background:url('/imageserver/Reusable/gutters21/box-desat.png');
    background-position: center;
    background-size:30%;
    min-height:20vw;
    background-repeat:no-repeat;
}
#selected-color-title{
    font-size:1.5rem;
}
#selected-color{
    color:#A37A14;
    min-width:200px;
    display:inline-block;
    text-align:left;
}
.color-overlay{
    height:100%;
    mix-blend-mode:overlay
}
.colors-list{
    /* max-width:1600px; */
    padding:0 0 30px 10px;
    align-self:center;
    display:flex;
    flex-wrap:wrap;
    justify-content: flex-start;
}
span.color-item{
    display:inline-block;
    height:90px;
    width:90px;
    border:1px solid #000;
}
.color-item-group{
    display:flex;
    flex-direction: column;
    width:100px;
    margin:5px 0;
    text-align: center;
    justify-items: center;
    align-items:center;
}
.color-title{
    font-size:.8rem;
}



/*** Image Comparison Sliders ***/

.ba-slider-container {
    max-width: 520px;
    width: 100%;
    height: 750px;
    margin-inline: auto;
    padding-block: 15px;
}

.before-after {
    max-width: 48.063em;
    margin-right: auto;
    margin-left: auto;
    height: 700px;
}

.before-after__slider-wrapper {
    position: relative;
    height: 700px;
}

.before-after__label {
    font-size: 0;
    line-height: 0;
}

.before-after__label,
.before-after__range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    margin: 0;
    padding: 0;
    background-color: transparent;
    border: none;
    appearance: none;
    outline: none;
    cursor: ew-resize;
    z-index: 20;
}

.before-after__range:hover~.before-after__slider .before-after__thumb {
    transform: scale(1.2);
}

/* Specificity needed to override hover state above */
.before-after .before-after__slider-wrapper .before-after__range:active~.before-after__slider .before-after__thumb,
.before-after .before-after__slider-wrapper .before-after__range:focus~.before-after__slider .before-after__thumb,
.before-after .before-after__slider-wrapper .before-after__range--active~.before-after__slider .before-after__thumb {
    transform: scale(0.8);
    background-color: rgba(0, 97, 127, 0.5);
}

.before-after__image-wrapper--overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% + 1px);
    height: 700px;
    overflow: hidden;
}

.before-after__figure {
    margin: 0;
}

.before-after__figure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f2f2f2;
}

.before-after__image-wrapper {
    height: 700px;
}

.before-after__figure:not(.before-after__figure--overlay) {
    position: relative;
    padding-top: 66.666666667%;
    height: 700px;
}

.before-after__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: 0 50%;
    overflow: hidden;
}

.before-after__figure--overlay .before-after__image {
    z-index: 1;
}

.before-after__caption {
    position: absolute;
    bottom: 12px;
    min-width: max-content;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

@media screen and (max-width: 40.063em) {
    .before-after__caption {
        font-size: 12px;
    }
}

.before-after__caption--before {
    left: 12px;
    z-index: 2;
}

.before-after__caption--after {
    right: 12px;
    text-align: right;
}

.before-after__caption-body {
    max-width: 40vmin;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.55);
}

.before-after__slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 700px;
    background-color: #fff;
    transition: background-color 0.3s ease-in-out;
    z-index: 10;
}

.before-after__range--active~.before-after__slider {
    background-color: rgba(255, 255, 255, 0);
}

.before-after__thumb {
    position: absolute;
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #0091df;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 22px 0 rgba(0, 0, 0, 0.5);
    transform-origin: center;
    transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
}

.before-after__range::-webkit-slider-runnable-track {
    width: 40px;
    height: 40px;
    opacity: 0;
}

.before-after__range::-moz-range-thumb {
    width: 40px;
    height: 40px;
    opacity: 0;
}

.before-after__range::-webkit-slider-thumb {
    width: 40px;
    height: 40px;
    opacity: 0;
}

.before-after__range::-ms-fill-lower {
    background-color: transparent;
}

.before-after__range::-ms-track {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: transparent;
    outline: none;
    cursor: col-resize;
}

.before-after__range::-ms-thumb {
    width: 0.5%;
    height: 100%;
    opacity: 0;
}

.before-after__range::-ms-tooltip {
    display: none;
}


@media screen and (max-width:992px) {
    .sec1-wrapper,
.sec2-grid,
.sec5-grid{
    grid-template-columns: 1fr;
        max-width:80%;
        margin:20px auto;
        text-align:center;
    }

.section2 .sec2-grid {
	display: flex;
	flex-direction: column-reverse;
	justify-content: center;
	align-items: center;
}

.sec2-grid-right {
	display: contents;
}
    .grid2-left,.grid2-right{
        max-width:100%;
    }
    .header-title::after {
        height: 0px;
    }
    .header-title::before {
        height: 0px;
    }
    .color{
        min-height:40vw;
        background-position: center;
    }
    #box-img{
        margin-top:-50px;
        max-width:200px;
    }

    .color-overlay{
        min-height:40vw;
    }
}


@media screen and (max-width:500px) {

    .ba-slider-container {
        max-width: 385px;
        height: 600px;
    }

    .before-after {
        height: 520px;
    }

    .before-after__slider-wrapper {
        height: 520px;
    }


    .before-after__label,
    .before-after__range {
        height: 520px;
    }

    .before-after__image-wrapper--overlay {
        height: 520px;
    }

    .before-after__image-wrapper {
        height: 520px;
    }

    
.before-after__figure:not(.before-after__figure--overlay) {
    height: 520px;
}

.before-after__image {
    height: 520px;

}

.before-after__slider {
    height: 520px;
}

}