/*
Theme Name: Far West
Theme URI: https://techexhale.com/
Author: Rick Sanchez
Author URI: https://techexhale.com/
Description: Custom theme for Far West Construction
Version: 1.0
*/





/* ========== Editor Only Headings ========== */
.editor-only {
    display: none !important;
}
.editor-styles-wrapper .editor-only {
    display: block !important;
}
div#wpadminbar a {
    color: #fff !important;
}
/*******/


 .field-wrap .pikaday__display, .field-wrap>div input

 {
    width: 100%;
    background: #ccc;
    border-radius: 8px;
}

.footer-widget img {
    clip-path: none !important;
}

.recent-prjct-img-group a {
    color: #fff !important;
    text-decoration: none;
}

.wp-block-buttons.recent-prjt-button.is-layout-flex.wp-block-buttons-is-layout-flex {
    float: left;
	margin-top: 20px;
}

.footer-widget img {
    clip-path: none;
}


section.section-four {
    margin-top: 60px;
    margin-bottom: 60px;
}

div#sp_easy_accordion-1745783349 {
    margin-top: 20px;
}


a {
    color: #333 !important;
    text-decoration: none;
    font-weight: 400;
}

a:hover {
    color: #f6be00
}

select, input, textarea {
    font-size: 24px;
    border-radius: 8px;
    line-height: 24px;
    padding: 5px;
    border: 1px #ccc solid;
    background: #ddd;
}

.field-wrap>div input[type=checkbox] {

    font-size: 24px;
    border-radius: 8px;
    line-height: 24px;
    padding: 5px;
    border: 1px #ccc solid;
    background: #ddd;

}

.field-wrap>div input[type=checkbox], .field-wrap button, .field-wrap input[type=button], .field-wrap input[type=submit] {
    background: #f6be00;
    border: none !important;
    border-radius: 10px;
}


.wp-block-media-text.is-stacked-on-mobile.services-img-front.services-p-highlights.front-media-text-services {
    margin-bottom: 0px;
}

.nf-field-description span {
    font-size: 18px;
}

.nf-field-description legend {
    font-size: 18px;
}

.wp-block-media-text__media img, .wp-block-media-text__media video {
    height: auto;
    max-width: unset;
    vertical-align: middle;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    border-left: 5px solid #f6be00;
    margin-bottom: 40px;


}


.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {
    flex: 1 0 0%;
    height: 100%;
    object-fit: cover;
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    border-left: 5px solid #f6be00;
    margin-bottom: 0px;
    margin-top: 0px;
}

.wp-block-image img {

    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    border-left: 5px solid #f6be00;
}

.services-img-front p {
    border-bottom: 5px solid #f6be00;
    font-size: 31px !important;
    font-weight: bold;
    margin-bottom: 0px;
    padding: 10px;
}

.company-trust-front img {
    clip-path: none;
}



.nf-field-label .nf-label-span, .nf-field-label label {
    font-size: 24px;
}

.wp-block-media-text>.wp-block-media-text__content {
    direction: ltr;
    grid-column: 2;
    grid-row: 1;
    padding: 0 0%;
    word-break: break-word;
}


@media (max-width: 1368px) {
	

	.services-p-highlights .wp-block-media-text__content {
    margin-top: -15px;
}
.services-img-front p {
    border-bottom: 5px solid #f6be00;
    font-size: 24px !important;
    font-weight: bold;
}
	
	
	
    .wp-block-columns:not(.stacked-on-mobile) {
        flex-direction: column !important;
    }

    .wp-block-columns:not(.stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .wp-block-columns:not(.stacked-on-mobile)>.wp-block-column:nth-child(1) {
        order: 3;
    }

    .wp-block-columns:not(.stacked-on-mobile)>.wp-block-column:nth-child(2) {
        order: 2;
    }

    .wp-block-columns:not(.stacked-on-mobile)>.wp-block-column:nth-child(3) {
        order: 1;
    }
}

li {
    font-weight: 400;
    font-size: 18px;
}

.sp-easy-accordion ul {
    margin-top: 20px;
}


label.wp-block-search__label {
    font-size: 30px;
    font-weight: bold !important;
}

p {
    font-weight: 400;
    font-size: 18px;
}

.ea-body span {
    font-size: 24px;
}



.footer-widget a {
    color: #fff;
    text-decoration: none;
    padding: 0;
    font-size: 18px;
}



span {
    font-weight: 100;
    font-size: 30px;
}

h1 {
    font-size: 60px;
    font-weight: bold;
    margin-top: 100px;
    margin-bottom: 50px;
}

h2 {
    font-size: 50px;
    font-weight: bold;

    padding-bottom: 6%;
}


h3 {
    font-size: 38px;
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 30px;
	color:#505050;
}

.h4, h4 {
    font-size: 32px;
    font-weight: bold;
}

h5 {
    font-size: 26px;
    font-weight: bold;
}


    .front-about h3
 {
    color: #fff;
}

.front-about1 h3 {
    color: #000;
}


.front-about3 h3 {
    color: #000;
}

.front-about4 h3 {
    color: #fff;
}





a.wp-block-button__link.wp-element-button:hover {
    color: #000 !important;
}

.wp-block-button__link {
    color: #fff !important;
    background-color: #32373c;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    font-size: 24px;
}

.sp-easy-accordion .sp-ea-single .ea-header a {
    display: block;
    text-decoration: none;
    cursor: pointer;
    font-weight: 600;
    color: #444;
    font-size: 18px;
    line-height: 18px;
    box-shadow: none;
}

.ea-expand-icon {
    float: left;
    color: #444;
    font-size: 24px;
}

button.btn.btn-outline-dark.filter-button.active {
    background: #ccc;
    color: #000;
}




button.btn.btn-outline-dark.filter-button:hover {
    background: #f6be00;
    color: #000;
}

button:not(:disabled) {
    cursor: pointer;
    padding: 10px;
    font-size: 18px !important;
}

button:not(:disabled):hover {
    background: #333;
    color: #fff;
}


.masonry-item.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
}






.back-link a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff !important;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    margin-bottom: 20px;
}

.back-link a:hover {
    background-color: #555;
    transform: translateY(-2px);

}

a.btn.btn-primary.mt-3:hover {
    color: #fff !important;
}

a.btn.btn-primary.mt-3:active {
    color: #fff !important;
}


p.spacer-front {
    height: 75px;
}
iframe {
    border: 0;
    width: 100%;
}

/*******masonry-post-grid******/


.masonry-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.masonry-item {
    width: calc(50% - 10px);
    /* Two columns with 20px gap */
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

.masonry-item.isotope-hidden {
    opacity: 0;
    transform: scale(0.95);
}

.masonry-card {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.masonry-image-link,
.masonry-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Slight zoom on hover */
.masonry-card:hover .masonry-image {
    transform: scale(1.05);
}

/* Overlay */
.masonry-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);!important
    opacity: 1;
    /* Always visible */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background-color 0.4s ease;
    padding: 20px;
}

/* Overlay text */
.masonry-overlay h5,
.masonry-overlay p,
.masonry-overlay a {
    color: #fff;
    margin: 10px 0;
    text-align: center;
}

/* Read More button */
.masonry-overlay .btn-primary {
    background-color: #f6be00;
    color: #000;
    border: none;
    padding: 8px 20px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Button hover effect */
.masonry-overlay .btn-primary:hover {
    background-color: #333;
    color: #fff;
    transform: scale(1.1);
}

/* Responsive fallback for mobile */
@media (max-width: 768px) {
    .masonry-item {
        width: 100%;
    }
}



/***************/





.wp-block-button a:hover {
    background: #f6be00;
    color: #000;
}


.seperator-hide {

    border: none;
    border-bottom: 2px solid transparent;
    margin-left: auto;
    margin-right: auto;
}


.recent-prjct-img-group {
    position: relative;
    overflow: hidden;
}

.recent-prjct-img-group img {
    transition: transform 0.5s ease;
}

.recent-prjct-img-group::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    pointer-events: none;
    transition: background 0.4s ease;
}

.recent-prjct-img-group:hover::before {
    background: rgba(0, 0, 0, 0.9);
}

.recent-prjct-img-group:hover img {
    transform: scale(1.05);
}


#scrollToTopBtn {
    position: fixed;
    bottom: 160px;
    right: 10px;
    display: none;
    /* Hidden at first */
    padding: 10px 15px;
    font-size: 16px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    z-index: 1000;
}



/********TimeLine********/

.timeline-item img {
    max-width: 100%;
    /* make image never bigger than div */
    height: auto;
    /* keeps aspect ratio */
    display: block;
    /* removes extra space below image */
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: "";
    position: absolute;
    width: 4px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    width: 50%;

    height: auto;
    /* or fixed height if needed */
    overflow: hidden;
    /* hides anything spilling out */

}

.timeline-item::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: white;
    border: 4px solid #f6be00;
    top: 30px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 6px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even)::after {
    left: -10px;
}








/*************/


/*****front-page-only****/

.front-about3 a {
    text-decoration: none;
    color: #000;
}

.services-img-front a {
    text-decoration: none;
    color: #000;
}

div#cross-angled-clip {
    background: #ccc;
    width: 100%;
    height: 900px;
    z-index: -1;
    transform: rotate(15deg);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    position: fixed;
}
div#cross-angled-clip1 {
    background: #f8f8f8;
    width: 100%;
    height: 900px;
    z-index: -1;
    transform: rotate(30deg);
    clip-path: polygon(0 0, 100% 0, 100% 60%, 0 100%);
    position: fixed;
    top: 0;
}




.services-img-front p {
    border-bottom: 5px solid #f6be00;
    font-size: 31px !important;
    font-weight: bold;
}

.services-img-front p:hover {
    background: #f8f8f8;
}

p.services-p-highlights {
    /* font-size: 30px; */
    border-bottom: 10px solid #f6be00;
    font-weight: bold;
}




#frontpage-aboutus {
    width: 100%;
    background: #ccc;
    padding: 2%;
    border-bottom: 10px solid #f6be00;
    font-size: 30px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.front-page-sec1-section {
    margin-top: 0px;
}





.recent-prjct-img-group {
    width: auto;
    float: left;
    height: 400px;
    width: 22.85%;
    overflow: hidden;
    display: flex;
    margin: 10px;
    clip-path: polygon(60px 0, 100% 0, 100% 100%, 0 100%, 0 60px);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
    border-top: 10px solid #000;
    border-bottom: 5px solid #f6be00;
}

div#front-block-section {
    display: flex;
    justify-content: center;
    align-items: center;
   
    padding-top: 6%;
   
}

.front-about1 i {
    margin-right: 10px;
    font-size: 35px;
}

.front-about i {
    margin-right: 10px;
    font-size: 35px;
}


.front-about {
    width: 100%;
    height: 150px;
    color: #fff;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
    background-color: #333333;
    background-image: url(https://www.transparenttextures.com/patterns/always-grey.png);
}

.front-about1 {
    background: #f6be00;
    width: 100%;
    height: 150px;
    color: #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.front-about4 {
    width: 100%;
    height: auto;
    color: #fff;
    text-align: center;
    display: block;
    justify-content: center;
    align-items: center;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);
    background-color: #333333;
    background-image: url(https://www.transparenttextures.com/patterns/always-grey.png);
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
    padding: 5%;

}

.front-about3 {
    background: #f6be00;
    width: 100%;
    height: 150px;
    color: #000;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    clip-path: polygon(20px 0, 100% 0, 100% 100%, 0 100%, 0 20px);

}


p {
    font-weight: 400;
}

/****************/

/******site-main******/

.container.footer-widgets p {
    color: #fff;
    font-size: 18px;
}

main.site-main {
    min-height: 768px;
    margin-bottom: 100px;
}

/* ========== Base Layout ========== */


/*****form inputs******/


.nf-form-cont {
    max-width: 100%;
    margin: 0 auto;
    margin-top: 100px;
    margin-bottom: 100px;
}

[type=button]:not(:disabled), [type=reset]:not(:disabled), [type=submit]:not(:disabled), button:not(:disabled) {
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
}

select, input, textarea {
    font-size: 18px;
    border-radius: 8px;
    line-height: 24px;
    padding: 5px;
    border: 1px #ccc solid;
}




button {
    background: #f6be00;
    border: none !important;
    border-radius: 10px;
}

.wp-block-social-links .wp-block-social-link.wp-social-link .wp-block-social-link-anchor {
    padding: 10px;
}

.footer-widget a {
    color: #fff;
    text-decoration: none;
}
.footer-widget a {
    color: #fff !important;
    text-decoration: none;
    padding: 0;
}

.footer-widget p {
    margin-bottom: 0;

}
footer.site-footer ul {
    margin: 0 auto;
    padding: 0;
}
.site-footer h4 {
    color: #fff;

}

.wp-block-search .wp-block-search__label {
    font-weight: 500;
    color: #fff;

}





ul#menu-quick-links li {
    list-style: none;
}

ul#menu-quick-links li a {
    color: #fff;
    text-decoration: none;

}

.container.footer-widgets {
    margin-top: 75px;
}

/*****slider******/
/*section.home-slider {
    clip-path: polygon(0% 0%, 290% 0%, 25% 110%, 0% 85%);
    margin-top: 163px;
}*/

html, body {
    margin: 0;
    padding: 0;
    min-width: 360px;
    overflow-x: hidden;
}




body.menu-open {
    overflow: hidden;
}


header.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
    transition: all 0.3s ease;
    /* Smooth shrinking */
    padding: 40px 20px;
    /* Start bigger */
    z-index: 10;
}

header.site-header.scrolled {
    background: #ccc;
    /* Dark background on scroll */
    padding: 10px 20px;
    /* Shrink padding */
}

.header-logo img {
    width: 270px;
    height: auto;
}

.header-logo {
    width: 270px;
    float: left;
}

/********footer****/


ul#menu-quick-links li a {
    padding: 0;
    font-weight: 400;
}

ul#menu-quick-links li a:hover {
    background: none;
    color: #ccc;
}



.site-footer {
    position: relative;
    width: 100%;
    background-color: #000;
    overflow: hidden;
    height: auto;
    padding-bottom: 50px;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://farwestcontractors.com/wp-content/uploads/2024/08/farwestcontractors.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 0;
    /* Not -1 */
}

.site-footer>* {
    position: relative;
    z-index: 1;
    /* Make sure all footer content is above the ::before */
}


.footer-column {
    width: 21%;
    float: left;
    margin-left: 4%;
}



/* DESKTOP (≥ 769px) */
@media (min-width: 1025px) {


    .wp-block-media-text.is-stacked-on-mobile.services-img-front.services-p-highlights a {
        padding-left: 50px;
    }

    ul#menu-main-menu a:focus {
        border-bottom: 6px solid #ddd;
    }

    ul.sub-menu.active {
        border-bottom: 20px solid #f6be00;
    }

    /* Core Menu Items */
    #main-mega-menu .menu-item li {
        list-style-type: none;
    }

    ul#menu-main-menu a {
        text-decoration: none;
        color: #000;
        font-size: 18px;
    }

    ul#menu-main-menu {
        list-style: none;
    }

    /* Hide Mobile Toggle on Desktop */
    #main-mega-menu .menu-toggle {
        display: none;
    }

    /* Desktop Navigation Layout */
    #main-mega-menu .main-navigation {
        display: flex !important;
        float: right;
        margin-top: 25px;
    }

    /* Top-level nav layout */
    #main-mega-menu .nav-menu {
        display: flex;
        gap: 20px;
    }

    /* Dropdown (has children) */
    #main-mega-menu .menu-item-has-children {
        position: relative;
    }





    /* Sub-menu Popup (small centered) */
    #main-mega-menu .sub-menu {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: #333333;
        background-image: url(https://www.transparenttextures.com/patterns/always-grey.png);
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);

        z-index: 10000;
        padding: 30px 40px;
        min-width: 800px;
        min-height: 400px;
        border-radius: 8px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        text-align: center;
    }

    /* Sub-menu links */
    #main-mega-menu .sub-menu li a {
        font-size: 35px;
        color: #ccc !important;
        display: block;
        margin-bottom: 15px;
    }

    /* Active (opened) state */
    #main-mega-menu .sub-menu.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }



}

@media (max-width: 1368px) {

    .front-about {
        width: 50%;
        float: left;
        height: 135px;
    }
    .front-about1 {
        width: 50%;
        float: left;
        height: 135px;
    }
 	 .front-about3 {
        width: 100%;
        float: left;
        height: 100px;
        min-height: auto;
        max-height: 100px;
    }
    .front-about4 {
        width: 100%;
        float: left;
    }

}


@media (max-width: 1024px) {

.services-p-highlights .wp-block-media-text__content {
    margin-top: 0px;
}


    .company-trust-front figure {
        display: flex;
        justify-content: center;
        align-items: center;
    }


    .wp-block-media-text {
        direction: ltr;
        display: block;

        grid-template-rows: auto;
    }

    .wp-block-media-text>.wp-block-media-text__content {
        direction: ltr;
        grid-column: 2;
        grid-row: 1;
        padding: 0%;
        word-break: break-word;
        margin-top: 40px;
    }

    ul#menu-quick-links li a {
        padding: 0;
        font-weight: 400;
    }


      h1 {
        font-size: 50px;
       
        margin-top: 25px;
        margin-bottom: 25px;
    }

    h2 {
        font-size: 40px;
 
    }
	
	h3 {font-size:30px}
	
	h4 {font-size:24px}
	
	h5 {font-size:20px; }
	
	

    .recent-prjct-img-group {
        width: auto;
        float: left;
        height: auto;
        width: 97%;
        overflow: hidden;
        display: flex;
        margin: 10px;

        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), calc(100% - 60px) 100%, 0 100%);
        border-top: 10px solid #f6be00;
        border-bottom: 5px solid #333;
        margin: 2%;
    }



    div#main-mega-menu {
        background: #fff;
    }

    div#main-mega-menu.scrolled {
        background: #ccc;
    }


     header.site-header {
        position: fixed;
        top: 0;
        width: 100%;
        background: #fff;
        transition: all 0.3s ease;
        padding: 0;
        z-index: 10;
        padding-top: 10px;
		 padding-bottom:10px;
    }

    header.site-header.scrolled {
        background: #ccc;
        /* Dark background on scroll */
        padding: 0;
        /* Shrink padding */
    }

   /* section.home-slider {
        clip-path: polygon(0% 0%, 290% 0%, 25% 110%, 0% 85%);
        margin-top: 100px;
    }*/





    .container.footer-widgets {
        margin-top: 20%;
    }



    .footer-column {
        width: 100%;
        float: left;

    }



    button.menu-toggle {
        position: relative;

        z-index: 1;
    }

    .header-logo img {
        width: 225px;
        height: auto;
        position: relative;
		margin:10px;

    }



    .site-header>.container {
        padding: 0;
        margin: 0;
        min-width: 100%;
        margin-right: 15px;

    }



    nav-menu, li a:hover {
        background: #f8f8f8;
    }

    .nav-menu, li a {
        min-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 15px;
        padding-right: 0;
        display: block;
        padding-top: 2%;
        padding-bottom: 2%;
        list-style-type: none;
        color: #000;
        text-decoration: none;
        font-weight: 500;
    }

    .sub-menu li a {
        font-weight: 300;

    }

    .menu-item li {
        list-style: none;
    }


    ul.sub-menu {
        padding-left: 0px;
    }





    #main-mega-menu .main-navigation.active {
        display: flex;
        margin-top: 50px;

    }


    #main-mega-menu .menu-item-has-children>a::after {
        content: " + ";
        float: right;
        margin-top: -10px;
        margin-right: 15px;
        font-size: 25px;
    }
     #main-mega-menu .menu-toggle {
        display: block;
        font-size: 1.5rem;
        background: none;
        border: none;
        margin-left: auto;
        cursor: pointer;
        margin-right: 15px;
        margin-left: 0;
        margin-top: 15px;
        float: right;
        color: #000;
        font-size: 24px !important;
    }

    #main-mega-menu .main-navigation {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #main-mega-menu .main-navigation.active {
        display: flex;
        padding-top: 15px;
    }

    #main-mega-menu .nav-menu {
        flex-direction: column;
        padding: 0;
        list-style: none;
        margin: 0;
    }



    #main-mega-menu .menu-item-has-children .sub-menu {
        display: none;

    }

    #main-mega-menu .menu-item-has-children.open>.sub-menu {
        display: block;
    }





    .footer-column {

        margin-left: 0;
    }

    footer.site-footer {
        padding-bottom: 100px;
    }


    footer.site-footer, h4 {
        margin-top: 50px;
    }


    h2.wp-block-heading {
        margin-top: 50px;
    }


    label.wp-block-search__label {
        margin-top: 50px;
    }


}

@media (min-width:1368px) {
	
	.services-p-highlights .wp-block-media-text__content {
    margin-top: -160px;
}

}

@media (max-width:1200px) {


    div#front-block-section {

        padding-bottom: 0%;
    }



    .sp-easy-accordion .sp-ea-single .ea-header a {

        font-size: 18px;

    }

    .wp-block-media-text__media img, .wp-block-media-text__media video {

        margin-bottom: 0%;

    }


    .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a, .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img {

        margin-bottom: 0%;
    }

.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
    padding: 15px;
    color: #444;
    display: flex
;
    align-items: flex-start;
    gap: 10px;
}


    .front-about h3 {
        font-size: 22px;
    }

    .front-about i {
        font-size: 22px;
    }

    .front-about1 h3 {
        font-size: 22px;
    }

    .front-about1 i {
        font-size: 22px;
    }

    .front-about3 h3 {
        font-size: 22px;
    }

    .front-about3 i {
        font-size: 22px;
    }

    .front-about4 h3 {
        font-size: 22px;
    }

    .front-about4 i {
        font-size: 22px;
    }

    .front-about4 p {
        font-size: 22px;
    }

}


@media (max-width: 768px) {




    .front-about {
        width: 50%;
        float: left;
    }
    .front-about1 {
        width: 50%;
        float: left;
    }
   


    .timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 25px;
        margin-bottom: 20px;
    }

    .timeline-item::after {
        left: 0px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }
}






@media (max-width: 568px) {

    .nav-menu, li {
        font-size: 18px;
    }

    .services-img-front p {
        border-bottom: 5px solid #f6be00;
        font-size: 18px !important;
        font-weight: bold;
    }

    .n2-ss-item-content {
        font-size: 32px !important;
    }

    .ea-body span {
        font-size: 18px;
    }

    h2 {
        font-size: 3em;
        font-weight: bold;
    }

    p {
        font-weight: 400;
        font-size: 18px;
    }

    .services-p-highlights .wp-block-media-text__content {
        margin-top: 25px;
    }

    .header-logo img {
        width: 200px;
        height: auto;
    }


    .header-logo {
        width: 200px;
        float: left;
    }


}