.serv-grid .elementor-element:hover p.elementor-image-box-description, .serv-grid .elementor-element:hover .elementor-image-box-title {
    color: #f5d22c;
}

.serv-grid .elementor-element:hover figure.elementor-image-box-img img {
    filter: brightness(0) saturate(100%) invert(82%) sepia(85%) saturate(485%) hue-rotate(334deg) brightness(94%) contrast(105%);
}

.home-page-gallery .gallery {
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.home-page-gallery .gallery figure.gallery-item {
    max-width: 100% !important;
    width: 100%;
}

.home-page-gallery .gallery figure.gallery-item:nth-child(3) {
    /*     grid-row: span 2; */
    grid-column: 1 span;
}

.home-page-gallery .gallery figure.gallery-item:first-child {
    grid-row: 1;
    grid-column: 1;
}

.last-section-header .elementor-widget-container a {
    color: #fff;
}

img.swiper-slide-image {
    width: 100%;
    max-width: 100%;
}

.home-page-gallery .gallery figure.gallery-item:nth-child(2) {
    grid-row: 1;
    grid-column: 2;
}

.header-btnn a.elementor-button {
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    display: block;
}

.last-section-header .elementor-element img {
    width: 100%;
    min-width: 100%;
}

.last-section-header .elementor-widget-container p {
    font-size: 20px;
}

.header-btnn {
    width: 100%;
    max-width: 358px !important;
}

.last-section-header .elementor-element {
    min-width: 60px;
}

.last-section-header .elementor-element {
    justify-content: flex-start;
    gap: 11px;
}

span.yellow-text {
    color: #FDD635;
}

body.scrolled header .elementor-element {
    background: #000;
}

.testimonial-secion .elementor-element .swiper-slide::before {
    content: "";
    position: absolute;
    width: 81px;
    height: 81px;
    top: -50px;
    z-index: 999999;
    display: block;
    overflow: unset;
    background-image: url(https://www.blackandyellowpavement.ca/wp-content/uploads/2025/03/quote-img.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.testimonial-secion .elementor-main-swiper .swiper-slide {
    z-index: 9999999;
    background-color: #FFFFFF;
    border-radius: 33.3px;
    padding: 20px 20px 20px 20px;
    margin-top: 50px;
    overflow: visible;
}

.project-gallery .gallery-size-full figure.gallery-item img.attachment-full {
    width: 100%;
    object-fit: cover;
}

.project-gallery .gallery-size-full figure.gallery-item:nth-child(4), .project-gallery .gallery-size-full figure.gallery-item:nth-child(6) {
    margin-top: -7%;

}

.banner_arrow .elementor-swiper-button {
    border: 1px solid #fff;
    border-radius: 50%;
    width: 67px;
    height: 67px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.load-more-icon .elementor-icon-box-wrapper {
    display: flex !important;
    flex-flow: column-reverse !important;
}

.load-more-icon .elementor-icon-box-wrapper h3.elementor-icon-box-title {
    margin: 0 !important;
}

.services-gallery figure.gallery-item .gallery-icon.landscape a img {
    width: 100%;
    height: 100%;
    max-height: 375px;
    object-fit: cover;
}
.only-mobile {
	display: none;
}

body.error404 .elementor-field-textual.elementor-size-lg{
  min-height:41px;
}


@media(max-width:1860px) {
    .logo-img {
        max-width: 270px;
        width: 100%;
    }

    .last-section-header {
        max-width: 349px;
        width: 100%;
    }

    .last-section-header {
        max-width: 300px;
        width: 100%;
    }

    .last-section-header .elementor-widget-container p {
        font-size: 15px;
    }

    .last-section-header .elementor-element {
        min-width: 50px;
    }
}

@media (max-width:1680px) {
    .nav-hader .hfe-nav-menu__layout-horizontal ul>li {
        margin-right: 30px !important;
    }
}

@media(max-width:1594px) {
    .nav-hader .hfe-nav-menu__layout-horizontal ul>li {
        margin-right: 26px !important;
    }

    .last-section-header a.elementor-button.elementor-button-link.elementor-size-sm {
        font-size: 17px;
        padding: 12px;
    }
}

@media(max-width:1500px) {
    .nav-hader .hfe-nav-menu__layout-horizontal ul>li {
        margin-right: 17px !important;
    }

    .last-section-header .elementor-widget-container p {
        font-size: 15px;
    }

    .last-section-header .elementor-element {
        padding-bottom: 5px;
    }
}

@media(max-width:1440px) {
    .logo-img {
        width: 100%;
        max-width: 230px;
    }

    .last-section-header .elementor-element {
        min-width: 40px;
    }

    .last-section-header a.elementor-button.elementor-button-link.elementor-size-sm {
        font-size: 14px;
        padding: 11px;
    }

    .last-section-header .elementor-widget-container p {
        font-size: 13px;
    }

    .nav-hader .hfe-nav-menu__layout-horizontal ul>li .hfe-menu-item {
        font-size: 15px !important;
    }

    .banner_arrow .elementor-swiper-button {
        width: 55px;
        height: 55px;
    }
}

@media(max-width:1366px) {
    .last-section-header {
        display: block !important;
    }
}

@media(max-width:1365px) {
    .logo-img {
        width: 100%;
        max-width: 180px;
    }

    .nav-hader .hfe-nav-menu__layout-horizontal ul>li .hfe-menu-item {
        font-size: 13px !important;
    }

    .last-section-header .elementor-widget-container p {
        font-size: 13px;
    }

    .elementor-16 .elementor-element.elementor-element-c227f61 a.hfe-menu-item, .elementor-16 .elementor-element.elementor-element-c227f61 a.hfe-sub-menu-item {
        font-size: 13px;
    }

}

@media(max-width:1279px) {
    .sticky-header .header-main .last-section-header .cstm-icons p {
        font-size: 15px;
    }
}

@media(max-width:1199px) {


    .logo-img {
        width: 100%;
        max-width: 250px;
    }


    .main-nav .nav-hader {
        width: 100%;
        max-width: 100% !important;
    }




    div.goolge-reveiew {
        margin-left: 0 !important;
    }


    .banner_arrow .elementor-swiper-button {
        width: 50px;
        height: 50px;
    }

    header .logo-img {
        max-width: 130px;
    }

    .nav-hader .hfe-nav-menu__layout-horizontal ul>li {
        margin-right: 8px !important;
    }
}

@media(max-width:1024px) {
    .elementor-16 .elementor-element.elementor-element-c227f61 .hfe-nav-menu__toggle {
        margin: 0 0 0 auto !important;
    }

    .cstm-icons .elementor-widget-container p {
        display: none;
    }

    .contact-wrap-sction a {
        background-color: #0000005e;
        border-radius: 50px;
    }

    .mobile-view li.only-mobile {
        display: block;
    }
    .mobile-view li.only-mobile .mob-cstm-cta-phn .mob-cstm-cta-phn-img img {
        background: #000;
        border-radius: 50%;
        width: 35px;
    }
    .mobile-view li.only-mobile .mob-cstm-cta-phn {
        display: flex;
        gap: 10px;
    }
    .mobile-view li.only-mobile .mob-cstm-cta-phn-text {
        align-content: center;
        margin: 0;
    }

}

@media(max-width:767px) {
	.single-post .elementor-16 .elementor-element.elementor-element-bdc88ba {
        width: 100% !important;
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .home-page-gallery .gallery {
        margin: 0 !important;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .logo-img {
        width: 100%;
        max-width: 230px;
        margin: 0 auto;
    }

    .elementor-16 .elementor-element.elementor-element-c227f61 .hfe-nav-menu__toggle {
        margin: 0 auto !important;
    }

    .project-gallery .gallery-size-full figure.gallery-item:nth-child(4), .project-gallery .gallery-size-full figure.gallery-item:nth-child(6) {
        margin-top: 0%;
    }


    .banner_arrow .elementor-swiper-button {
        width: 35px;
        height: 35px;
    }

    .tab-slide .e-n-tabs-heading {
        flex-wrap: wrap;
    }

    .tabs-slider .e-n-tabs-heading {
        flex-wrap: wrap;
    }

    .elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
        top: calc(73%) !important;
    }
 .elementor-16 .elementor-element.elementor-element-d1a59f5 img, .elementor-16 .elementor-element.elementor-element-8dc2d24 img {
    display: none;
}
}

@media(max-width:567px) {
	 .home-page-gallery .gallery {
        margin: 0 !important;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    .home .swiper-slide-inner {
        height: 410px !important;
        object-fit: cover;
    }

    .home .swiper-slide-inner .swiper-slide-image {
        height: 100%;
    }

    .elementor-10 .elementor-element.elementor-element-0488e86 .gallery-item {
        padding: 0 0 20px 0;
    }

    .elementor-popup-modal .dialog-close-button {
        inset-inline-end: 7px;
        top: 7px;
    }
	
   
}

@media(max-width:420px) {
    .home .swiper-slide-inner .swiper-slide-image {
        height: 100%;
    }


}

.hfe-nav-menu-icon svg {
    fill: #fff;
}

/* 11/3/2025 */

.loadIcon .elementor-icon-box-wrapper {
    display: flex !important;
    flex-flow: column-reverse;
    align-items: center !important;
    justify-content: center;
}


.hover-text:hover .elementor-image-box-content * {
    color: #fff !important;
     !i;
     !;
     !9;
     !;
}



.hover-text:hover figure img.attachment-full {
    filter: invert(1);
}



.blog-section article .elementor-post__text {
    display: flex;
    flex-flow: column;
}

.blog-section article .elementor-post__text .elementor-post__meta-data {
    order: -1;
}

.blog-section article .elementor-post__text h3.elementor-post__title {
    margin: 0 0 10px;
}

.blog-section article .elementor-post__text .elementor-post__excerpt {
    margin: 0 0 19px;
}

.blog-section article .elementor-post__text a.elementor-post__read-more {
    background: #F5D22C;
    font-family: DM Sans;
    font-weight: 600;
    padding: 12px 40px;
    border-radius: 10px;
}

.blog-section nav.elementor-pagination {
    padding-top: 10px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.blog-section nav.elementor-pagination .page-numbers {
    font-family: 'DM Sans';
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 0;
    margin: 0 15px !important;
    min-width: 20px;
    min-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.blog-section nav.elementor-pagination .page-numbers.current {
    background: #FDD635;
    color: #000000 !important;
}

.image-wrapper>p:has(img) {
    float: left;
    width: 100%;
    max-width: 38%;
}

.image-wrapper>p:not(p:has(img)) {
    width: 100%;
    max-width: 62%;
    float: left;
    padding-left: 35px;
}

.image-wrapper:after {
    content: "";
    display: table;
    clear: both;
}

.image-wrapper>p {
    margin: 0;
}

.image-wrapper>p:last-child {
    margin-top: 13px;
}

.post-content h3 {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 26px;
    line-height: 100%;
    letter-spacing: 0;
    text-transform: uppercase;
    margin: 45px 0 15px;
}

.post-content>div>*:first-child {
    margin: 0 0 64px;
}

.image-wrapper {
    margin: 0 0 41px;
}

.blog-section article a.elementor-post__thumbnail__link img {
    object-fit: cover;
}

.home .blog-footer-section {
    display: block;
}

@media(max-width:1200px) {
    .image-wrapper>p:last-child {
        max-width: 100%;
        padding: 0;
    }
}

@media(max-width:991px) {
    .image-wrapper>p:has(img) {
        max-width: 100%;
    }

    .image-wrapper>p:has(img) img {
        width: 100%;
    }

    .image-wrapper>p:not(p:has(img)) {
        max-width: 100%;
        padding-left: 0;
    }
}

@media(max-width:767px) {
    .testimonial-secion .elementor-element .swiper-slide::before {
        width: 61px;
        height: 61px;
        top: -30px;
    }
}


.cstm-slider .elementor-swiper-button {
    width: 67px;
    height: 67px;
    border: 1px solid #fff;
    border-radius: 999px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cstm-slider .elementor-swiper-button.elementor-swiper-button-next {
    right: 23px;
}

.cstm-slider .elementor-swiper-button.elementor-swiper-button-prev {
    left: 23px;
}



@media(max-width:767px) {
    .cstm-slider .elementor-swiper-button {
        width: 30px;
        height: 30px;

    }

    .cstm-slider .elementor-swiper-button svg {
        width: 15px;
        height: 15px;
    }

    .cstm-slider .elementor-swiper-button.elementor-swiper-button-next {
        right: 10px;
    }

    .cstm-slider .elementor-swiper-button.elementor-swiper-button-prev {
        left: 10px;
    }

    .goolge-reveiew .elementor-widget-image {
        display: flex;
        flex-flow: column;
        margin: 0 0 10px !important;
    }

    .gallery-img div.gallery {
        display: flex;
        flex-wrap: wrap;
    }

    .gallery-img div.gallery>figure.gallery-item {
        width: 100%;
        max-width: 100% !important;
    }

    .retail-centres-and-mall {
        flex-direction: column-reverse !important;
    }

}

.serv-grid .elementor-element figure.elementor-image-box-img img {
    transition: none !important;
}

.project-gallery .elementor-gallery__titles-container {
    margin: 25px 0 50px;
}

.project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title {
    border: 1px solid #000000 !important;
    border-radius: 5px;
    font-family: DM Sans;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    color: #000;
    padding: 12px 18px;
}

.project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title::after {
    display: none;
}

.project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title.elementor-item-active {
    background: #F5D22C;
    border-color: #F5D22C !important;
}

.project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title:hover {
    background: #F5D22C;
    border-color: #F5D22C !important;
}

.project-gallery .elementor-gallery__titles-container {
    margin: 25px 0 50px;
    grid-row-gap: 10px;
}

@media(max-width:768px) {
    .project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title {
        font-size: 18px;
        padding: 10px 15px;
    }
}

@media(max-width:767px) {
    .project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title {
        font-size: 15px;
        padding: 10px 8px;
    }
}


@media(max-width:365px) {
    .project-gallery .elementor-gallery__titles-container>a.elementor-gallery-title {
        border: 1px solid #000000 !important;
        font-size: 13px;
        padding: 10px 10px;
    }

}

/* footer .testimonial-clsas .elementor-widget-container {
    margin-right: 0 !important;
}

footer .testimonial-clsas .elementor-widget-container .elementor-main-swiper {
    display: flex;
    justify-content: flex-end;
    flex-flow: column;
}

footer .testimonial-clsas .elementor-widget-container .swiper-wrapper {
    display: flex;
} */

.serv-grid>div:hover h3.elementor-image-box-title>a, .serv-grid>div:hover p {
    color: #fff !important;
}

.hfe-site-logo img {
    max-width: 308px !important;
    width: 100%;
}

body header .elementor-element .hfe-site-logo-set img {
    transition: all 0.3s ease;
}

.elementor-field-type-checkbox .elementor-field-subgroup {
    align-items: center;
}

.tabs-slider .e-n-tabs {
    align-items: flex-start;
}

.tabs-slider .e-n-tabs .e-n-tabs-content {
    /*         position: sticky; */
    position: static;
    top: 200px;
    left: 0;
}

.book-free .book-right.e-flex {
    width: 100%;
    max-width: 570px !important;
}

@media (min-width: 1025px) {
    .book-free .e-con-inner {
        gap: 136px !important;
    }
}

.book-free div#book-left {
    width: 100%;
    max-width: calc(100% - 655px);
}

.elementor-field-type-checkbox label {
    font-size: 16px !important;
    line-height: 24px !important;
}

.elementor-field-type-checkbox input {
    height: 15px;
    width: 15px;
}

.elementor-field-type-checkbox label {
    font-size: 16px !important;
    line-height: 24px !important;
}

.sticky-header .header-main .hfe-site-logo-container .hfe-site-logo-img {
    max-width: 275px !important;
    width: 100%;
}

.logo-img {
    display: flex !important;
    justify-content: flex-start;
}

.logo-img>.elementor-widget-site-logo {
    margin-right: auto;
}

.sticky-header .header-main .last-section-header .elementor-widget-image {
    max-width: 40px !important;
    min-width: unset;
}

.sticky-header .header-main .last-section-header .cstm-icons p {
    font-size: 16px;
}

.sticky-header .header-main .last-section-header .cstm-icons p {
    transition: all 0.3s ease;
}

.sticky-header .header-main .last-section-header .elementor-widget-image {
    transition: all 0.3s ease;
}

.sticky-header .header-main .last-section-header .elementor-widget-button a.elementor-size-sm {
    font-size: 16px;
    padding: 15px 0;
}

.sticky-header .header-main {
    background: #000 !important;
}



.testonomial-grid .elementor-element {
    display: none;
}

.testonomial-grid .elementor-element:nth-child(-n+4) {
    display: block;
}

.testonomial-grid.Show-all .elementor-element {
    display: block !important;
}

.cstm-slider-video .elementor-background-video-container:after {
    content: "";
    background-image: url(https://www.blackandyellowpavement.ca/wp-content/uploads/2025/03/Subtract-update.png);
    width: 100%;
    height: 166px;
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    bottom: 0;
    left: 0;
    background-size: 100% 101%;
}

.cstm-slider-video .elementor-swiper-button {
    border: 1px solid #fff !important;
}

.cstm-slider-video .elementor-swiper-button.elementor-swiper-button-prev {
    left: 27px !important;
}

.cstm-slider-video .elementor-swiper-button.elementor-swiper-button-next {
    right: 27px !important;
}

.testimonial-clsas .ti-widget-container {
    margin: 0 !important;
}

.testimonial-clsas .ti-widget-container .ti-review-item {
    padding: 50px 27px 0 0 !important;
    flex: 0 0 32.5% !important;
    max-width: 32.5% !important;
}

.ti-widget.ti-goog .ti-review-item>.ti-inner:before {
    content: "";
    display: block;
    content: "";
    position: absolute;
    width: 81px;
    height: 81px;
    top: -50px;
    z-index: 999999;
    display: block;
    overflow: unset;
    background-image: url(https://www.blackandyellowpavement.ca/wp-content/uploads/2025/03/quote-img.png);
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.ti-widget.ti-goog .ti-review-item>.ti-inner .ti-review-text-container {
    color: #000000;
    font-family: "DM Sans", Sans-serif;
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    line-height: 29px;
    margin: 0 0 25px;
}

.ti-widget.ti-goog .ti-review-item>.ti-inner .ti-review-header {
    order: 5;
}

.ti-widget.ti-goog .ti-review-item>.ti-inner .ti-review-header .ti-profile-img {
    display: none;
}

body .ti-widget.ti-goog .ti-review-item>.ti-inner .ti-review-header .ti-name {
    color: #000000;
    font-family: "DM Sans", Sans-serif !important;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: 30px;
    letter-spacing: 0;
    padding: 0;
    margin: 0;
    text-transform: capitalize;
}

#elementor-popup-modal-3616 .dialog-widget-content {
    box-shadow: 2px 8px 23px 3px rgba(0, 0, 0, 0.2);
    border-radius: 22px;
    margin-top: 40px;
}

#elementor-popup-modal-3616 .dialog-message {
    width: 570px;
    height: auto;
    margin: 0px auto;
    scrollbar-width: none;
}

#elementor-popup-modal-3616 .dialog-widget-content svg.e-font-icon-svg.e-eicon-close.eicon-close {
    width: 20px;
    height: 20px;
}

body .ti-widget.ti-goog .ti-review-item>.ti-inner {
    padding: 40px 20px 58px 20px !important;
    border-radius: 33px !important;
    display: flex !important;
    flex-flow: column !important;
}

.sticky-header .header-main>.elementor-element {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.last-section-header .elementor-element {
    padding-bottom: 3px;
}

.ti-widget.ti-goog .ti-controls {
    display: flex;
    max-width: 96%;
}

.ti-widget.ti-goog .ti-controls .ti-next, .ti-widget.ti-goog .ti-controls .ti-prev  {
    border: 1px solid rgba(0, 0, 0, 0.7);
    width: 40px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
}
.ti-reviews-container .ti-next, .ti-reviews-container .ti-prev {
    background-color: #F5D22C !important;
    border-color: #F5D22C !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev::before {
    left: 8px;
    top: 24px;
}

.ti-widget.ti-goog .ti-controls .ti-prev::after {
    left: 8px;
    top: 13px;
}

.ti-reviews-container .ti-next::before, .ti-reviews-container .ti-next::after, .ti-reviews-container .ti-prev::before, .ti-reviews-container .ti-prev::after {
    background: #ffffff !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev {
    display: block !important;
}

.ti-widget.ti-goog .ti-widget-container .ti-reviews-container-wrapper {
    padding-top: 55px;
}

.ti-widget.ti-goog .ti-controls .ti-next::before {
    top: 13px !important;
    right: 8px !important;
}

.ti-widget.ti-goog .ti-controls .ti-next::after {
    right: 8px !important;
    top: 23px !important;
}
.ti-widget.ti-goog .ti-controls .ti-prev::after {
    left: 8px!important;
    top: 13px!important;
}
.ti-widget.ti-goog .ti-controls .ti-prev::after {
    left: 8px!important;
    top: 13px!important;
}

.serv-grid>.elementor-element:hover .arrow-services {
    display: block;
}


.serv-grid>.elementor-element .arrow-services .elementor-icon-wrapper a.elementor-icon {
    fill: #fff !important;
    border-color: #fff;
}

.serv-grid>.elementor-element .arrow-services .elementor-icon-wrapper a.elementor-icon svg {
    fill: #fff;
}

.serv-grid>.elementor-element:hover .arrow-services .elementor-icon-wrapper a.elementor-icon svg {
    fill: #FDD635;
}

.serv-grid>.elementor-element:hover .arrow-services .elementor-icon-wrapper a.elementor-icon {
    fill: #FDD635 !important;
    border-color: #FDD635;
}

.serv-grid>.elementor-element figure.elementor-image-box-img {
    max-width: 100px;
    height: 100px;
    margin: 0 !important;
}

.serv-grid>.elementor-element:hover .elementor-image-box-content>p.elementor-image-box-description {
    display: none;
}

.serv-grid>.elementor-element:hover .elementor-image-box-content h3.elementor-image-box-title a {
    color: #f5d22c !important;
}

.serv-grid>.elementor-element {
    padding: 20px;
    justify-content: center;
}

.tabs-slider.elementor-widget-n-tabs .e-n-tabs-heading button.e-n-tab-title {
    cursor: default !important;

}

@media(max-width:1439px) {
    .tabs-slider .e-n-tabs .e-n-tabs-content {
        top: 0px;
    }
}

@media(max-width:1366px) {
    .tabs-slider .e-n-tabs-heading {
        flex-wrap: wrap;
    }

    .book-free div#book-left {
        width: 100%;
        max-width: 100%;
    }

    .book-free .book-right.e-flex {
        width: 100%;
        max-width: 100%;
    }

    .elementor-16 .elementor-element.elementor-element-c227f61 ul.sub-menu {
        flex-wrap: wrap;
        min-width: 260px;
        width: 100%;
    }

    .elementor-16 .elementor-element.elementor-element-c227f61 ul.sub-menu li {
        width: 100%;
        margin: 0 !important;
    }

}

@media(max-width:1024px) {
    .header-main .elementor-element.e-flex.e-con.e-child {
        justify-content: flex-end;
        align-items: flex-end;
    }
}

@media(max-width:1023px) {
    .book-free div#book-left {
        width: 100%;
        max-width: 100%;
    }

    .book-free .book-right.e-flex {
        width: 100%;
        max-width: 100%;
    }

    .ti-widget.ti-goog .ti-controls {
        display: flex !important;
        max-width: 96%;
    }
}

@media(max-width:570px) {
    #elementor-popup-modal-3616 .dialog-message {
        width: 350px;
    }

    .hfe-nav-menu__breakpoint-tablet .hfe-active-menu+.hfe-nav-menu__layout-horizontal, .hfe-nav-menu__breakpoint-tablet .hfe-active-menu+.hfe-nav-menu__layout-vertical {
        overflow: scroll;
        min-height: 310px;
    }
}

.elementor-posts-container.elementor-has-item-ratio .elementor-post__thumbnail img {
    top: calc(54%);

}

.load-more h2.elementor-heading-title.elementor-size-default {
    display: flex;
    justify-content: center;
    gap: 5px;
    align-items: center;
}


/* tab to slider */
.tabs-slider.home-sector-tab .e-n-tabs-heading {
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 472px !important;
    /* 4 slides = 118px × 4 */
    overflow: hidden;
    scroll-behavior: auto;
    /* Manual scroll handles animation */

}

/* Tab style */
.tabs-slider.home-sector-tab .e-n-tab-title {
    background: #fff !important;
    color: #182633;
    font-weight: 600;
    margin: 10px 0;
    padding: 20px;
    height: 98px;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.tabs-slider.home-sector-tab .e-n-tabs-heading .e-n-tab-title {
    border-style: solid;
    border-width: 0px 0px 0px 7px;
    border-color: #FDD635;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.25);
}

/* Text inside each tab title */
.tabs-slider.home-sector-tab .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text {
    font-family: "DM Sans", Sans-serif;
    font-weight: 700;
    line-height: 58px;
    color: #182633;
    /* Add color if needed */
}

/* Active and hover styles */
.tabs-slider.home-sector-tab .e-n-tabs-heading .e-n-tab-title[aria-selected="false"]:not(:hover) {
    background: #fff;
    color: #182633;
}

.tabs-slider.home-sector-tab. .e-n-tabs-heading .e-n-tab-title:hover {
    background: #F5D22C;
}

/* Tab title text */
.tabs-slider.home-sector-tab. .e-n-tabs-heading .e-n-tab-title .e-n-tab-title-text {
    font-family: "DM Sans", Sans-serif;
    font-weight: 700;
    line-height: 58px;
    color: #182633;
}

/* Slick-related fixes */
.tabs-slider.home-sector-tab .e-n-tabs-heading {
    flex-wrap: wrap;
    width: 50%;
}

.tabs-slider.home-sector-tab .slick-slider .slick-list {
    width: 100%;
}

.tabs-slider.home-sector-tab .slick-slide {
    width: 100% !important;
    display: block !important;
}

.tabs-slider.home-sector-tab .slick-track {
    display: flex !important;
    flex-direction: column;
}

.tabs-slider.home-sector-tab .slick-dots,
.slick-arrow {
    display: none !important;
}

@media(max-width:1366px) {
    .tabs-slider.home-sector-tab .e-n-tabs {
        display: flex;
        flex-direction: row-reverse;
    }
}

@media (max-width: 1024px) {
    .tabs-slider.home-sector-tab .e-n-tabs {
        flex-direction: column-reverse !important;
    }

    .tabs-slider.home-sector-tab .e-n-tabs-heading {
        width: 100% !important;
    }

    .header-main.mobile-view {
        padding: 0 10px;
    }

    .header-main.mobile-view .e-con-inner {
        padding: 10px 0px;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:first-child {
        max-width: 140px;
        width: 100%;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child {
        max-width: calc(100% - 140px);
        width: 100%;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element {
        max-width: 140px;
        width: 100%;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element .elementor-button-wrapper a {
        font-size: 13px;
        max-width: max-content;
        width: auto;
        padding: 8px 9px;
        /* border-radius: 0; */
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child {
        max-width: 100%;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child {
        max-width:max-content;
        align-items: center;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child>.elementor-element:last-child {
        width: 50px;
        padding: 0;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child .elementor-element {
        max-width: max-content;
        width: auto;
        padding: 0;
        gap: 10px;
    }

    header#masthead {
        overflow-x: hidden;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child .elementor-element.contact-wrap-sction .elementor-widget-container a {
        display: block;
        color: #fff;
        font-weight: 600;
        line-height: normal;
    }

    .cstm-slider-video .elementor-background-video-container:after {
        width: 100%;
        height: 45px;

    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child .elementor-element {
        align-items: center;
    }

    .header-main.mobile-view {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    .elementor-460 .elementor-element.elementor-element-2fd5cf2 .gallery {
        margin: 0;
    }

    .elementor-460 .elementor-element.elementor-element-2fd5cf2 .gallery figure.gallery-item {
        padding: 10px 0px 10px;
    }
}

@media(max-width:767px) {


    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child .elementor-element.contact-wrap-sction .elementor-widget-container span {
        display: none;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child .elementor-element.contact-wrap-sction .elementor-widget-container a {
        display: block;
        color: #fff;
        font-weight: 600;
        line-height: normal;
    }

    .header-main.mobile-view .e-con-inner>.elementor-element:last-child>.elementor-element:last-child>.elementor-element:last-child {
        width: 40px;
        padding: 0;
    }
}

/* tab to slider end */


.media-project-gallery .premium-gallery-caption {
    display: none;
}

/* .media-project-gallery button.premium-gallery-load-more-btn:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('https://www.blackandyellowpavement.ca/wp-content/uploads/2025/05/svgviewer-output-1.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 5px;
    vertical-align: middle;
} */

p strong {
    display: inline-block;
}

.main-nav nav {
    width: 100% !important;
}






.dialog-widget-content:has(.cstm-book-free-popup) {
    width: 95% !important;
    max-width: 700px !important;
    background-color: transparent !important;
}

.dialog-widget-content:has(.cstm-book-free-popup) .dialog-message {
    width: 100% !important;
}

.dialog-widget-content:has(.cstm-book-free-popup) a.dialog-close-button {
    position: absolute;
    top: 20px;
    right: 20px;
}

.dialog-widget-content:has(.cstm-book-free-popup) form input, .dialog-widget-content:has(.cstm-book-free-popup) form select {
	min-height: 45px;
	border-radius: 6px !important;
}

.dialog-widget-content:has(.cstm-book-free-popup) form textarea {
    height: 60px !important;
    border-radius: 6px !important;
}



.dialog-widget-content:has(.cstm-book-free-popup) form .elementor-field-subgroup span.elementor-field-option input {
    min-height: auto;
}

.dialog-message.dialog-lightbox-message:has(.cstm-book-free-popup) {
    overflow: unset;
}

#elementor-popup-modal-3616 .dialog-widget-content:has(.cstm-book-free-popup) {
    height: calc(100vh - 50px);
    overflow-y: auto;
    box-shadow: unset !important;
}

.ti-widget.ti-goog .ti-controls .ti-next:after, .ti-widget.ti-goog .ti-controls .ti-prev:after, .ti-widget.ti-goog .ti-controls .ti-next:before, .ti-widget.ti-goog .ti-controls .ti-prev:before {
    background: #fff !important;
}


@media (max-width:880px) {
    .dialog-widget-content:has(.cstm-book-free-popup) form button.elementor-button {
        font-size: 20px !important;
        padding: 10px !important;
        min-height: auto;
        border-radius: 6px !important;
    }
}

@media (max-width:767px) {
    #elementor-popup-modal-3616 .dialog-widget-content:has(.cstm-book-free-popup) {
        margin-top: 0;
    }

    .dialog-widget-content:has(.cstm-book-free-popup) form button.elementor-button {
        font-size: 16px !important;
    }

    .dialog-widget-content:has(.cstm-book-free-popup) a.dialog-close-button {
        top: 10px;
        right: 15px;
    }

}

@media (max-width:480px) {
    .dialog-widget-content:has(.cstm-book-free-popup) a.dialog-close-button {
        top: 7px;
        right: 5px;
    }

    .dialog-widget-content:has(.cstm-book-free-popup) a.dialog-close-button svg {
        width: 14px !important;
        height: 14px !important;
    }
}