 
/* --------------------------------------------- */
/* Cookie Icon configuration to not display on the pages */
/* --------------------------------------------- */

.cf-cookie-openconsent,
.cf-cookie-openconsent * {
    display: none !important;
}

/* Cookie Buttons color */
#c-bns button {
    background-color: #000000 !important;
    color: #ffffff !important;
    border: none;
}
/* --------------------------------------- */



/* --------------------------------------------- */
/* ICON AND BUTTON COLOR
 * Icon color configuration in boxes
/* --------------------------------------------- */
.featured-boxes-modern-style-1 .featured-box .box-content .btn-outline.btn-light-2 {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
}

.call-to-action.call-to-action-strong-grey {
    background: #000000;
}

.featured-boxes-modern-style-1 .featured-box .box-content .icon-featured::before,
.featured-boxes-modern-style-1 .featured-box.overlay.overlay-show .box-content .icon-featured::before {
    color: #40c318 !important;

}
/* --------------------------------------- */

/* Service Boxes page */
/* Target only the boxes inside your specific grid container */
/* --------------------------------------------- */
/* SERVICE PAGE
 * ICON AND BUTTON COLOR,
 * Target only the boxes inside your specific grid container
/* --------------------------------------------- */

#c21928 .featured-boxes {
    margin-left: 1rem;
    margin-right: 1rem;
}

/* Optional: make it responsive */
@media (min-width: 768px) {
    #c21928 .featured-boxes {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}

@media (min-width: 1200px) {
    #c21928 .featured-boxes {
        margin-left: 2.5rem;
        margin-right: 2.5rem;
        margin-top: 0;
    }
}
/* --------------------------------------- */



/* --------------------------------------------- */
/* SERVICE PAGE
 * Featured Box Open Hover Dialog CSS   */
/* --------------------------------------------- */

/* Make the icon box hoverable */
.ce-icons .ce-bodytext .icon-box .hover-dialog {
    display: block;       /* make span behave like div */
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 10px;
    width: 200px;
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.featured-boxes {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* --------------------------------------------- */
/* SERVICE PAGE
 * Featured Box Open Hover Dialog CSS   */
/* --------------------------------------------- */

/* Main box */
.ce-textpic .ce-bodytext .featured-box {
    position: relative;
    display: block;
    width: 250px;                 /* box width */
    padding: 8px;                 /* inner spacing */
    cursor: pointer;
    overflow: visible;
    border-radius: 5px;
    background-color: #f1f1f1;
    transition: background-color 0.3s ease, color 0.3s ease;
    z-index: 1;
}

/* Hover color */
.ce-textpic .ce-bodytext .featured-box:hover {
    background-color: #40c318;
    color: #fff;
}

/* Icon on top */
.ce-textpic .ce-bodytext .featured-box .icon {
    text-align: center;
    font-size: 32px;
    color: #40c318;
    margin-bottom: 8px;            /* space below icon */
}

/* Background image with height */
.ce-textpic .ce-bodytext .featured-box-background {
    width: 100%;
    padding-top: 65%;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 5px;
}

/* Box content */
.ce-textpic .ce-bodytext .featured-box .box-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;       /* vertical center */
    align-items: center;           /* horizontal center */
    color: #fff;
    text-align: center;
    padding: 16px 8px 8px;
    transform: translateY(8px);    /* slight top shift */
}

/* Title text */
.ce-textpic .ce-bodytext .featured-box .box-content h2 {
    font-size: 18px;
    margin-bottom: 24px;           /* space between title and button */
}

/* Button */
.ce-textpic .ce-bodytext .featured-box .btn {
    display: block;
    padding: 10px 16px;
    font-size: 12px;
    background-color: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    margin-top: 0;
    transition: background-color 0.3s ease;
    min-width: 100px;
    text-align: center;
}

.ce-textpic .ce-bodytext .featured-box .btn:hover {
    background-color: #333;
}

/* Hover dialog (sub box) */
.ce-textpic .ce-bodytext .featured-box .hover-dialog {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: 8px;
    width: 280px;                 /* sub box width */
    background-color: #f5f5f5;    /* light gray background */
    border: 2px solid #40c318;    /* green border */
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    border-radius: 5px;
}

/* Sub box title */
.ce-textpic .ce-bodytext .featured-box .hover-dialog h4 {
    font-size: 14px;
    margin-bottom: 4px;
}

/* Sub box text */
.ce-textpic .ce-bodytext .featured-box .hover-dialog p {
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Show hover dialog */
.ce-textpic .ce-bodytext .featured-box:hover .hover-dialog {
    opacity: 1;
    visibility: visible;
}
