/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

.w-100 {
    width: 100%;
}

.icona-footer img {
    width: 16px;
    margin-right: 7px;
}

.carosello-articoli {
    padding: 8px !important;
}
.carosello-articoli .swiper-wrapper {
    margin-bottom: 25px;
}

@media (min-width: 1300px) {
.container1280 {
        width: 1280px !important;
        left: calc(50% - 640px) !important;
    }

    .container1280 sr7-grp {
        width: 1280px !important;
    }
}

@media (max-width: 1299px) {
.container1280 {
        width: 90% !important;
        left: calc(50% - 45%) !important;
    }
}

/* @media (max-width: 1024px) {
    .margin-auto {
        margin: 30px 90px !important;
    }
}

@media (min-width: 1024px) {
    .margin-auto {
        margin: auto !important;
    }
} */

/* === STILI PER I SERVIZI === */

/* Categorie del servizio */
.servizio-categories {
    margin: 15px 0;
    padding: 10px 0;
}

.servizio-category {
    display: inline-block;
    background: #f8f9fa;
    color: #333;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 13px;
    margin-right: 8px;
    margin-bottom: 5px;
    border: 1px solid #e9ecef;
}

/* Contenuto del servizio */
.servizio-content {
    margin: 20px 0;
    line-height: 1.6;
}

/* Informazioni extra del servizio */
.servizio-info-extra {
    background: #f8f9fa;
    padding: 20px;
    margin: 25px 0;
    border-radius: 8px;
    border-left: 4px solid #007cba;
}

.servizio-custom-field {
    margin-bottom: 10px;
}

.servizio-custom-field:last-child {
    margin-bottom: 0;
}

.servizio-custom-field strong {
    color: #333;
    margin-right: 10px;
}

/* Servizi correlati */
.related-services {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

.related-services h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.related-services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.related-service-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-service-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.related-service-item h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.related-service-item h4 a {
    color: #007cba;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-service-item h4 a:hover {
    color: #005a87;
}

.related-service-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Navigazione servizi */
.single-navigation {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.single-navigation .nav-previous,
.single-navigation .nav-next {
    max-width: 48%;
}

.single-navigation .meta-nav {
    display: block;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.single-navigation .post-title {
    display: block;
    font-weight: 600;
    color: #007cba;
}

.categoria-servizio .fusion-title-heading {
    background-color: #0099a7;
    max-width: fit-content;
    padding: 4px 20px !important;
    border-radius: 100px;
}

.width-implantologia-logo, .width-implantologia-logo img {
    width: 100% !important;
    max-width: 300px;
}

.linea-implantologia:before {
    content: '';
    width: 3px;
    height: calc(100% + 20px);
    top: -10px;
    left: 50%;
    background-color: #7cc9d0;
    position: absolute;
	z-index: 0;
}
.linea-implantologia:after {
    content: '';
    width: 40px;
    height: 40px;
    background-color: #fff;
    position: absolute;
    top: 0;
    left: calc(50% - 22px);
    border-radius: 100%;
    border: 4px solid #0099a7;
    z-index: 1;
}

body .numero {
    font-size: 30px;
    font-weight: 800;
    background-color: #ffffff;
    width: 60px !important;
    height: 60px !important;
    border-radius: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: 4px solid #0099a7;
    color: #0099a7;
}
.width-300px img {
    width: 300px;
}
.height-50 img {
	max-height: 30px;
    width: auto;
}
.professionisti-megamenu {
    padding-bottom: 0px !important;
}

/* Responsive */
@media (max-width: 768px) {
    .related-services-container {
        grid-template-columns: 1fr;
    }
    
    .servizio-info-extra {
        padding: 15px;
        margin: 20px 0;
    }
    
    .single-navigation .nav-previous,
    .single-navigation .nav-next {
        max-width: 100%;
        margin-bottom: 15px;
    }
}


@media (min-width: 1024px) {
    .img-text-sitema-implantologia .fusion-column-wrapper .fusion-image-element {
        max-width: 30%;
    }
    .img-text-sitema-implantologia .fusion-column-wrapper .txt-sistema-implantologia {
        max-width: 70%;
    }
    .txt-sistema-implantologia {
        padding-left: 67px;
    }
}
@media (max-width: 1024px) {
    .img-text-sitema-implantologia .fusion-image-element {
        order: 1;
    }
    .txt-sistema-implantologia {
        order: 2;
    }
}