.type-gallery .page-content {
    padding-top: 40px;
    padding-bottom: 0;
}

.type-gallery h2 {
    font-family: Arimo, sans-serif;
    font-size: 36px;
}

.type-gallery .btn {
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    letter-spacing: 0;
}

.type-gallery .btn-white {
    background-color: #fff;
    border: solid 2px #fff;
}

.type-gallery .btn + .btn {
    margin-top: 20px;
}

.type-gallery .btn-red {
    background-color: #D51118;
    border: solid 2px #D51118;
    color: #fff;
}

.refined-search {
    padding: 0 0 40px;
}

.refined-search h3 {
    font-size: 17px;
    margin-bottom: 14px;
}

.refined-search ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 0;
    margin-bottom: 10px;
}

.refined-search ul li {
    font-family: 'Teko', sans-serif;
    list-style: none;
    display: flex;
    text-transform: uppercase;
    gap: 5px;
    background: #F7F5F5;
    padding: 11px 20px;
    width: 100%;
    align-items: center;
}

.refined-search ul li label {
    font-weight: 400;
    font-size: 17px;
}

.refined-search ul li p {
    font-size: 17px;
    color:#D51118;
    font-weight: 600;
}

.refined-search .back-to-parent {
    font-family: 'Teko', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color:#D51118;
    padding-left: 15px;
    position: relative;
    text-transform: uppercase;
}

.refined-search .back-to-parent i {
    position: absolute;
    left: 0;
    top: 3px;
}

.video-before-after {
    padding: 50px 0 60px;
    background-color: #F0ECEC;
}

.video-before-after .top-content {
    font-family: 'Arimo', sans-serif;
    max-width: 832px;
    margin: 0 auto;
    font-size: 15px;
    text-align: center;
}

.video-before-after .top-content span {
    color: #ED1C24;
}

.video-before-after .top-content p {
    font-family: 'Arimo', sans-serif;
    color: #000000;
}

.video-before-after .top-content h2 {
    font-size: 36px;
    font-weight: bold;
}

.video-main-wrapper {
    margin-top: 40px;
}

.video-main-wrapper__video-item h3,
.before-after-galleries h3 {
    font-family: 'Teko', sans-serif;
    font-size: 36px;
    line-height: 100%;
    letter-spacing: 0.02em;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}

.half-text h3,
.galleries-mid-cta h3,
.galleries-cta__content h3,
.galleries-related-services h3,
.half-text .sub-heading {
    font-size: 16px;
    margin-bottom: 0;
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
    line-height: 25px;
    font-weight: 400;
}

h3.before {
    text-align: center;
    color: #666666;
}

h3.after {
    text-align: center;
    color: #ED1C24;
}

.video-item__video-wrapper {
    max-width: 832px;
    height: 100%;
    margin: 0 auto 40px;
    position: relative;
}

.video-item__video-wrapper::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: calc(100% - 2px);
    width: 100%;
    background: #000;
    opacity: 0.25;
}

.video-item__video-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding-bottom: 0;
}

.video-item__video-wrapper a {
    display: block;
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 10;
}

.video-item__video-wrapper svg {
    position: absolute;
    top: calc(50% - 51px);
    left: calc(50% - 51px);
    transition: all 0.3s ease 0s;
}


.galleries-mid-cta {
    background-color: #ED1C24;
    color: #FFFFFF;
    text-align: center;
    font-family: 'Teko', sans-serif;
    padding: 40px 0;
}

.galleries-mid-cta h3 {
    font-size: 15px;
    margin-bottom: 5px;
}

.galleries-mid-cta h2 {
    font-size: 35px;
}

.before-after-galleries__after,
.before-after-galleries__before {
    padding: 40px 0;
}

.before-after-galleries__after {
    background: linear-gradient(#f0ecec 0%, rgba(240, 236, 236, 0.9) 100%);
}

.before-after-galleries .slick-slide {
    margin: 0 16px;
    transition: all 0.3s ease 0s;
}

.before-after-galleries .slick-slide img {
    width: 100%;
    max-height: 215px;
    object-fit: cover;
    padding-bottom: 0;
}

.before-after-galleries .slick-arrow {
    transition: all 0.3s ease 0s;
    background: #F1EDED;
    height: 40px;
    width: 42px;
    box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
}

.before-after-galleries__after .slick-arrow {
    background: #fff;
}

.before-after-galleries .slick-prev {
    left: -15px;
    z-index: 10;
}

.before-after-galleries .slick-next {
    right: -15px;
}

.before-after-galleries .slick-arrow:before {
    font-family: icomoon !important;
    speak: none;
    font-style: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    transition: all 0.3s ease 0s;
    color: #ED1C24;
}

.before-after-galleries .slick-prev:before {
    content: "\e906";
}

.before-after-galleries .slick-next:before {
    content: "\e904";
}

.galleries-half-text-half-image {
    position: relative;
    background-color: #1A1818;
    /*display: flex;*/
}

.galleries-half-text-half-image .half-text {
    color: #fff;
}

.galleries-half-text-half-image .half-text h3 {
    font-size: 16px;
    margin-bottom: 0;
}

.galleries-half-text-half-image .half-text h2 {
    margin-bottom: 12px;
}

.galleries-half-text-half-image .half-text {
    position: relative;
    padding: 60px 0;
    margin-left: 7%;
    margin-right: 7%;
}


.galleries-half-text-half-image p {
    color: #fff;
}

.galleries-half-text-half-image .half-image {
    height: auto;
    position: relative;
}

.galleries-half-text-half-image .half-image img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    padding-bottom: 0;
}

.galleries-half-text-half-image .left-cut,
.galleries-half-text-half-image .left-cut2,
.galleries-half-text-half-image .right-cut {
    display: none;
}

.galleries-half-text-half-image .half-image {
    min-height: 200px;
    width: 100%;
}

.galleries-half-text-half-image__wrapper {
    display: flex;
    flex-wrap: wrap;
}

.galleries-related-services {
    padding: 50px 0;
    background: linear-gradient(#f0ecec 0%, rgba(240, 236, 236, 0.9) 100%);
}

.galleries-related-services h3 {
    font-size: 15px;
    color: #ED1C24;
    margin-bottom: 0;
}

.galleries-related-services .btn {
    margin-bottom: 20px;
}

.galleries-related-services h2 {
    margin-bottom: 17px;
}

.related-services {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.related-services .related-service {
    width: 100%;
    height: 268px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.related-services .related-service a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    padding: 20px;
}

.related-services .related-service img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    object-fit: cover;
    height: 100%;
    padding-bottom: 0;
}

.related-services .related-service h4 {
    font-size: 28px;
    color: #fff;
    z-index: 10;
    position: relative;
    margin-bottom: 8px;

}

.related-services .related-service span {
    font-family: 'Teko', sans-serif;
    color: #fff;
    z-index: 10;
    position: relative;
    text-transform: uppercase;
    font-size: 17px;
}

.related-services .related-service span i {
    position: absolute;
    right: -21px;
    top: 0px;
    transition: all 0.3s ease 0s;
}

.related-services .related-service span i:before {
    font-size: 22px;
    color: #ed1c24;
    font-weight: bold;
}

.related-services .related-service:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 147px;
    background: linear-gradient(rgba(26, 24, 24, 0) 0%, #1a1818 100%);
}

.galleries-cta {
    position: relative;
    padding: 100px 0;
}

.galleries-cta img {
    position: absolute;
    width: 100%;
    height: 100%;
    left:0;
    top: 0;
    padding-bottom: 0;
}

.galleries-cta:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(213,17,24, 0.85);
}

.galleries-cta__content {
    font-family: 'Arimo', sans-serif;
    position: relative;
    z-index: 10;
    text-align: center;
    color: #fff;
    max-width: 832px;
    margin: 0 auto;
    padding: 0 30px;
}

.galleries-cta__content h3 {
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    margin-bottom: 3px;
}

.galleries-cta__content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.galleries-cta__content p {
    font-size:15px;
    color: #fff;
}

.bottom-footer {
    z-index: 40;
}

.sfsi_shortcode_container {
    z-index: 20;
    position: relative;
}

.sidebar-form {
    margin-bottom: 40px;
}

@media (min-width: 768px) {

    .refined-search ul li {
        width: calc(50% - 10px);
    }

    .galleries-half-text-half-image .half-image {
        min-height: 300px;
        width: 100%;
    }

    .related-services {
        justify-content: center;
    }

    .video-before-after {
        padding: 60px 0 60px;
    }

    .galleries-related-services {
        padding: 60px 0;
    }

    .galleries-related-services .btn {
        position: absolute;
        right: 77px;
        top: 20px;
    }

    .galleries-related-services h2 {
        margin-bottom: 47px;
    }

    .related-services .related-service {
        width: calc(50% - 32px)
    }
}

@media (min-width: 1200px) {
    .refined-search ul {
        gap: 25px;
    }

    .refined-search ul li {
        width: auto;
    }

    .video-before-after {
        padding: 100px 0 60px;
    }

    .before-after-galleries__after,
    .before-after-galleries__before {
        padding: 80px 0 64px;
    }

    .before-after-galleries .slick-slide:hover {
        transform: scale(1.03)
    }

    .before-after-galleries .slick-prev {
        left: -22px;
    }

    .before-after-galleries .slick-next {
        right: -22px;
    }

    .type-gallery .btn-white:hover {
        background-color: #D51118;
        color: #fff;
        border: solid 2px #fff;
    }

    .type-gallery .btn-red:hover {
        background-color: #fff;
        border: solid 2px #D51118;
        color: #D51118;
    }

    .video-item__video-wrapper:hover svg {
        transform: scale(1.1);
    }

    .before-after-galleries .slick-arrow:hover {
        background: #ED1C24;
    }

    .before-after-galleries .slick-arrow:hover:before {
        color: #FFFFFF;
    }

    .galleries-half-text-half-image__wrapper {
        flex-wrap: nowrap;
        max-width: calc(1366px + 200px);
        margin: 0 auto;
    }

    .galleries-half-text-half-image .half-text {
        position: relative;
        width: 40%;
        padding: 100px 0;
        margin-left: 7%;
        margin-right: 0;
    }

    .galleries-half-text-half-image .half-image {
        position: relative;
        width: 60%;
        overflow: hidden;
    }

    .galleries-half-text-half-image .left-cut {
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 5;
    }

    .galleries-half-text-half-image .left-cut2 {
        display: block;
        position: absolute;
        z-index: 10;
        left: -43px;
        top: -158px;
    }

    .galleries-half-text-half-image .right-cut {
        display: block;
        position: absolute;
        right: -1px;
        bottom: 0;
    }

    .galleries-related-services {
        padding: 100px 0;
    }

    .related-services {
        justify-content: flex-start;
    }


    .related-services .related-service:hover a  {
        text-decoration: none !important;
    }

    .related-services .related-service:hover {
        transform: scale(1.03);
    }

    .related-services .related-service {
        width: 292px;
        height: 268px;
    }

    .galleries-cta__content {
        padding: 0;
    }
}

@media (min-width: 1460px) {
    .before-after-galleries .slick-prev {
        left: -42px;
    }

    .before-after-galleries .slick-next {
        right: -42px;
    }
}

@media (min-width: 1600px) {
    .before-after-galleries .slick-prev {
        left: -52px;
    }

    .before-after-galleries .slick-next {
        right: -52px;
    }
}
