﻿/* EGP THEME — replaces stili_purflux.css
   Colors:
   Primary dark:    #1a1d23  (charcoal)
   Header dark:     #0b0f12  (deep charcoal - header only)
   Accent orange:   #ec6a1e  (EGP orange)
   Accent hover:    #d45a12  (darker orange)
   Page bg:         #e8e8e8  (warm light gray)
   Text light:      #ffffff
   Text muted:      #b0b0b0
   Border subtle:   #2a2d33
   Content bg:      #ffffff
   Content border:  #ddd
*/

/* ======== PAGE BACKGROUND ======== */
body#home {
    background-color: #e8e8e8 !important;
}

#MAIN {
    background-color: #e8e8e8;
}

/* ======== HEADER / TOP SECTION ======== */

.maincolor     { color: #ec6a1e; }
.maincolorbg   { background-color: #1a1d23; }
.maincolorbt   { border-top: solid 1px #ec6a1e; }
.maincolorbb   { border-bottom: solid 1px #ec6a1e; }

#bg {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 333px;
    background: linear-gradient(to left, rgba(26,29,35,0.55) 0%, rgba(26,29,35,0.85) 100%),
                url('/Inquiry/Imag/header_bg.jpg') center center / cover no-repeat;
    background-color: #1a1d23;
}

.bg-sfondo {
    display: none !important;
}

#bg-menu {
    background-color: #252525;
    border-bottom: 3px solid #ec6a1e;
    height: 80px !important;
}

#bg-filled {
    background-color: #e8e8e8;
}

/* ======== LOGO ======== */
#logo {
    top: 0 !important;
    left: 0 !important;
}

#logo img {
    width: auto !important;
    height: 80px !important;
    display: block;
}

/* ======== NAVIGATION ======== */
#sezioni {
    float: right !important;
    clear: none !important;
    margin-top: 0 !important;
}

#sezioni ul {
    color: #ffffff;
    margin: 0 !important;
    line-height: 80px;
}

#sezioni ul li {
    display: inline-block !important;
    margin-left: 5px;
}

#sezioni ul li h2 {
    display: inline !important;
}

#sezioni ul a {
    color: #ffffff;
    transition: color 0.2s ease, background-color 0.2s ease;
}

#sezioni ul li h2 a:hover,
#sezioni ul li a:hover {
    background-color: #ec6a1e;
    color: #ffffff;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
}

#sezioni ul li h2 a,
#sezioni ul li a {
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

#sezioni ul li h2 a.on,
#sezioni ul li a.on {
    background-color: #ec6a1e;
    color: #ffffff;
    text-decoration: none;
}

/* Vertical nav (admin panel) */
#sezioni.vertical ul {
    font-size: 1.2em;
}

#sezioni.vertical ul li {
    margin-bottom: 2px;
}

#sezioni.vertical ul li a {
    display: block;
    padding: 6px 12px;
    border-radius: 3px;
    transition: background-color 0.2s;
}

#sezioni.vertical ul li a:hover {
    background-color: #ec6a1e;
}

/* ======== CONTENT AREA ======== */
#content {
    border: none;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

#content .back {
    background-color: #ec6a1e;
    color: white;
}

/* ======== BOTTOM / RAISED SECTION ======== */
#bottom.raiseup {
    margin-top: -70px;
    z-index: -1;
    height: 110px;
}

/* ======== FOOTER ======== */
#footer {
    margin-top: 0;
    padding: 0;
    overflow: visible;
}

.egp-footer {
    background-color: #0b0f12;
    border-top: 3px solid #ec6a1e;
    padding: 25px 0;
    direction: rtl;
    font-family: Vazir, Tahoma, sans-serif;
}

.egp-footer-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 20px;
    gap: 30px;
}

.egp-footer-col {
    flex: 1;
    min-width: 200px;
    color: #b0b0b0;
    font-size: 13px;
    line-height: 2;
}

.egp-footer-col h4 {
    color: #ec6a1e;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #2a2d33;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.egp-footer-col a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.2s;
}

.egp-footer-col a:hover {
    color: #ec6a1e;
    text-decoration: none;
}

.egp-footer-icon {
    display: inline-block;
    width: 18px;
    text-align: center;
    margin-left: 6px;
    color: #ec6a1e;
    font-style: normal;
}

.egp-footer-bottom {
    background-color: #000000;
    text-align: center;
    padding: 12px 0;
    color: #666;
    font-size: 11px;
    font-family: Vazir, Tahoma, sans-serif;
    direction: rtl;
}

.egp-footer-bottom a {
    color: #ec6a1e;
    text-decoration: none;
}

.egp-footer-bottom a:hover {
    text-decoration: underline;
}

/* ======== FORM STYLING ======== */
.btn2 {
    background-color: #ec6a1e !important;
    background-image: none !important;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font: 14px/1.5em Vazir, Tahoma, sans-serif;
    margin-right: 5px;
    margin-top: 15px;
    padding: 6px 10px;
    width: 180px;
    transition: background-color 0.2s;
}

.btn2:hover {
    background-color: #d45a12 !important;
}

.btn111 {
    background-color: #ec6a1e !important;
    background-image: none !important;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    font-family: Vazir, Tahoma, sans-serif;
    font-size: 14px;
    padding: 7px 21px;
    transition: background-color 0.2s;
}

.btn111:hover {
    background-color: #d45a12 !important;
}

/* Input fields */
input[type="text"],
input[type="password"],
input[type="tel"],
input[type="email"],
input[type="number"],
select,
textarea {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px 12px;
    font-family: Vazir, Tahoma, sans-serif;
    font-size: 13px;
    transition: border-color 0.2s;
    outline: none;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #ec6a1e;
    box-shadow: 0 0 0 2px rgba(236, 106, 30, 0.15);
}

/* ======== ALERTS ======== */
.alert-info {
    color: #1a1d23;
    background-color: #fff3e6;
    border-color: #ec6a1e;
    border: 1px solid #ec6a1e;
    border-radius: 5px;
    padding: 10px;
    display: block;
}

/* ======== 404 ======== */
.err404 h1 {
    margin: 40px 0 0 20px;
    font-size: 2em;
    color: #ec6a1e;
}

/* ======== BREADCRUMB ======== */
#breadcrumb .breadcrumb a {
    color: #333536;
}

#breadcrumb .breadcrumb a:hover {
    color: #ec6a1e;
}

/* ======== CORRELATE ======== */
.correlate {
    color: white;
}

.correlate a {
    color: white;
}

.correlate header {
    background-color: #ec6a1e;
}

.correlate .foto {
    background-color: white;
    border: 1px solid #ec6a1e;
}

.correlate .link a {
    color: #ec6a1e;
}

/* ======== MISC ======== */
.cert h2 {
    color: #ec6a1e;
}

.cert figure img {
    border: solid 1px #ec6a1e;
}

#channel .channel.novita h3 {
    color: #ec6a1e;
}

#channel .channel.novita .link {
    color: white;
    background-color: #ec6a1e;
}

#channel .novita-correlata {
    border: solid 1px #ec6a1e;
}

#channel .novita-correlata header {
    color: white;
    background-color: #ec6a1e;
}

#elenco article .detail {
    background-color: #ec6a1e;
    color: white;
}

.formnewsletter .buttsubscription,
.votremarque .buttsubscription {
    background-color: #ec6a1e !important;
    color: #fff !important;
}

.formnewsletter .message,
.votremarque .message {
    color: #ec6a1e;
}

#channel .novita-sommario .brand {
    color: #ec6a1e;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
    .boxed {
        width: 95% !important;
        padding: 0 10px;
    }
    .egp-footer-inner {
        flex-direction: column;
        padding: 0 15px;
    }
    .egp-footer-col {
        min-width: 100%;
    }
    .bg-sfondo {
        display: none;
    }
}
