/* FgServizi Custom Colors Override */
/* Colori Aziendali: Azzurro #00b1eb, Fucsia #ea5198, Blu #1e5ccd */

/* Override dei colori principali */
.color-main,
.ls .color-main,
.ds .color-main,
.cs .color-main,
.cs.cs2 .color-main {
    color: #00b1eb !important;
}

.color-main2,
.ds .color-main2 {
    color: #ea5198 !important;
    border-color: #ea5198 !important;
}

.color-main3 {
    color: #1e5ccd !important;
}

/* Background colors */
.bg-maincolor {
    background-color: #00b1eb !important;
}

.bg-maincolor2 {
    background-color: #ea5198 !important;
}

/* Links */
.links-maincolor2 a,
.ds .links-maincolor2 a {
    color: #ea5198 !important;
}

.links-maincolor2 a:hover,
.ds .links-maincolor2 a:hover {
    color: #00b1eb !important;
}

/* Progress bars */
.progress-bar.bg-maincolor {
    background-color: #00b1eb !important;
}

.progress-bar.bg-maincolor2 {
    background-color: #ea5198 !important;
}

/* Gradient backgrounds */
.gradient-background:before {
    background: linear-gradient(to right, #00b1eb 0%, #ea5198 100%) !important;
    filter: none !important;
}

.gradientvertical-background:before {
    background: linear-gradient(to bottom, #00b1eb 0%, #1e5ccd 100%) !important;
    filter: none !important;
}

/* Gradient buttons */
.btn.btn-gradient:before,
.btn.btn-outline-gradient:before,
.gradient-background .btn.btn-gradient:before,
.gradient-background .btn.btn-outline-gradient:before {
    background: linear-gradient(to right, #00b1eb 0%, #ea5198 100%) !important;
}

.btn.btn-gradient:hover,
.btn.btn-outline-gradient:hover {
    background-color: #ea5198 !important;
    border-color: #ea5198 !important;
}

.btn.btn-outline-gradient {
    border-color: #ea5198 !important;
}

/* Icon styled */
.icon-styled.color-main {
    color: #00b1eb !important;
}

/* Service boxes on hover */
.service-box.gradient-hover:hover {
    background: linear-gradient(to right, #00b1eb 0%, #ea5198 100%) !important;
}

/* Pattern gradient background */
.pattern-gradient {
    background: linear-gradient(to right, #00b1eb 0%, #ea5198 100%) !important;
}

/* Steps bullets */
.step-bullet {
    background-color: #ea5198 !important;
}

.step-bullet:before {
    border-color: #ea5198 !important;
}

/* Form elements focus */
input:focus,
textarea:focus,
select:focus {
    border-color: #00b1eb !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 177, 235, 0.25) !important;
}

/* Special heading subheading */
.special-heading.subheading,
.gradient-background .special-heading.subheading {
    color: #00b1eb !important;
}

/* Hover effects for service boxes */
.icon-box.service-box:hover .icon-styled {
    color: #fff !important;
}

/* Career boxes in dark sections */
.ds .icon-styled.color-main,
.gradient-background .icon-styled.color-main {
    color: #00b1eb !important;
}

/* Call to action gradient */
.call-to-action.gradient-background {
    background: linear-gradient(to right, #00b1eb 0%, #ea5198 100%) !important;
}

/* Navigation active states */
.nav-link:hover,
.nav-link:focus,
.nav-link.active {
    color: #00b1eb !important;
}

/* Owl carousel navigation */
.owl-nav button:hover {
    background-color: #ea5198 !important;
}

/* Career position boxes */
.career-position {
    border-left-color: #00b1eb !important;
}

.career-position:hover {
    border-left-color: #ea5198 !important;
}

/* Quote items */
.quote-item2:hover {
    border-color: #00b1eb !important;
}

/* Override per elementi specifici che usavano i vecchi colori */
/* #7470fc -> #ea5198 (fucsia) */
/* #4f74fb -> #00b1eb (azzurro) */
/* #896efd -> #1e5ccd (blu) */

/* Borders */
*[style*="border-left: 5px solid #7470fc"],
*[style*="border-color: #7470fc"] {
    border-color: #ea5198 !important;
}

/* Links and text colors */
a[style*="color: #7470fc"],
*[style*="color: #7470fc"] {
    color: #ea5198 !important;
}

a[style*="color: #4f74fb"],
*[style*="color: #4f74fb"] {
    color: #00b1eb !important;
}

/* Backgrounds */
*[style*="background-color: #7470fc"],
*[style*="background: #7470fc"] {
    background-color: #ea5198 !important;
}

*[style*="background-color: #4f74fb"],
*[style*="background: #4f74fb"] {
    background-color: #00b1eb !important;
}

/* Flexslider overlay con gradiente */
.flexslider-overlay {
    background: linear-gradient(to bottom, rgba(0, 177, 235, 0.3) 0%, rgba(234, 81, 152, 0.3) 100%) !important;
}

/* Pattern square background gradient */
.pattern-square:before {
    background: linear-gradient(45deg, #00b1eb 30%, transparent 30%) !important;
}

.pattern-square:after {
    background: linear-gradient(45deg, transparent 70%, #ea5198 70%) !important;
}

/* Testimonial gradient backgrounds personalizzati */
.quote-item2 .rounded-circle[style*="667eea"] {
    background: linear-gradient(135deg, #00b1eb 0%, #1e5ccd 100%) !important;
}

.quote-item2 .rounded-circle[style*="f093fb"] {
    background: linear-gradient(135deg, #ea5198 0%, #00b1eb 100%) !important;
}

.quote-item2 .rounded-circle[style*="4facfe"] {
    background: linear-gradient(135deg, #00b1eb 0%, #ea5198 100%) !important;
}

.quote-item2 .rounded-circle[style*="a8edea"] {
    background: linear-gradient(135deg, #1e5ccd 0%, #00b1eb 100%) !important;
}