/*
 * Electrogrup theme. Values are measured against the old site at 1440, 1024, 768 and 393 px.
 * Rows and columns follow a twelve-column grid; the page partials carry each row's own spacing.
 */

/* ---------- Fonts (self-hosted) ----------
   Only the weights the old site loaded, so 600 falls back to 700 and 500 to 400 as there. */
@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-italic-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:italic;font-weight:300;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-italic-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:800;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:800;font-display:swap;src:url('../themes/electrogrup/assets/fonts/OpenSans-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../themes/electrogrup/assets/fonts/Poppins-normal-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url('../themes/electrogrup/assets/fonts/Poppins-normal-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}

:root {
    --eg-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0 100h194M128 32l66 68-66 68' fill='none' stroke='%23000' stroke-width='8'/%3E%3C/svg%3E");
    --eg-arrow-bold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0 100h188M126 36l63 64-63 64' fill='none' stroke='%23000' stroke-width='16'/%3E%3C/svg%3E");
    /* The old theme's icon font glyphs, drawn in a 1 em box with the font's 850/150 ascent and descent */
    --eg-ic-link: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 1000 1000'%3E%3Cpath transform='scale(1 -1)' d='M708 808q50 0 95-18t82-55 55-82 18-95q0-48-18-95t-55-81l-125-125q-3-4-11-10-34-31-77-48t-89-16q-57 0-107 25-38 18-69 49t-49 69q24 24 59 24 12 0 24-4 21-34 55-55 41-24 87-24 33 0 64 12t54 37l125 125q24 24 37 54t12 63-12 64-37 54-54 37-64 12-63-12-54-37l-88-87q-42 11-86 11-7 0-20-1 6 8 10 11l125 125q35 36 81 55t95 18z m-291-291q57 0 107-25 39-18 69-49t49-69q-24-24-59-24-12 0-24 4-21 34-55 55-40 24-87 24-33 0-63-12t-55-36l-125-125q-24-25-37-55t-12-63 12-63 37-55 55-37 63-12 63 12 55 37l87 87q42-11 86-11 8 0 21 1-7-7-11-11l-125-125q-36-36-81-55t-95-18q-49 0-95 18t-82 55q-36 36-55 82t-18 95 18 95 55 81l125 125q4 4 11 11 35 30 78 47t88 16z'/%3E%3C/svg%3E");
    --eg-ic-zoom: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 857.1 1000'%3E%3Cpath transform='scale(1 -1)' d='M421 261q0-7-5-13l-185-185 80-81q10-10 10-25t-10-25-25-11h-250q-15 0-25 11t-11 25v250q0 15 11 25t25 11 25-11l80-80 186 185q5 6 12 6t13-6l64-63q5-6 5-13z m436 482v-250q0-15-10-25t-26-11-25 11l-80 80-185-185q-6-6-13-6t-13 6l-64 64q-5 5-5 12t5 13l186 185-81 81q-10 10-10 25t10 25 25 11h250q15 0 26-11t10-25z'/%3E%3C/svg%3E");
    --eg-ic-share: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 1000 1000'%3E%3Cpath transform='scale(1 -1)' d='M844 163c-52 0-97-25-126-64l-411 210c3 13 6 27 6 41 0 18-4 35-9 51l414 201c28-39 74-64 126-64 86 0 156 70 156 156 0 86-70 156-156 156s-156-70-156-156c0-12 1-24 4-35l-420-204c-29 31-70 51-116 51-86 0-156-70-156-156 0-86 70-156 156-156 50 0 94 23 123 59l413-210c-3-12-4-24-4-37 0-86 70-156 156-156s156 70 156 156-70 157-156 157z m0 625c52 0 94-42 94-94s-42-94-94-94-94 42-94 94 42 94 94 94z m-688-532c-51 0-93 42-93 94s42 94 93 94c52 0 94-42 94-94s-42-94-94-94z m688-344c-52 0-94 42-94 94s42 94 94 94 94-42 94-94-42-94-94-94z'/%3E%3C/svg%3E");
    --eg-ic-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 1000 1000'%3E%3Cpath transform='scale(1 -1)' d='M929 11v428q-18-20-39-36-149-115-238-189-28-24-46-37t-48-28-57-13h-2q-26 0-57 13t-48 28-46 37q-88 74-238 189-21 16-39 36v-428q0-7 6-13t12-5h822q7 0 12 5t6 13z m0 586v14t-1 7-1 7-3 5-5 4-8 2h-822q-7 0-12-6t-6-12q0-94 83-159 107-84 223-176 4-3 20-17t25-21 25-17 28-16 24-5h2q11 0 24 5t28 16 25 17 25 21 20 17q116 92 224 176 30 24 56 65t26 73z m71 21v-607q0-37-26-63t-63-27h-822q-36 0-63 27t-26 63v607q0 37 26 63t63 26h822q37 0 63-26t26-63z'/%3E%3C/svg%3E");
    --eg-ic-twitter: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 920 1000'%3E%3Cpath transform='scale(1 -1)' d='M920 636q-36-54-94-98l0-24q0-130-60-250t-186-203-290-83q-160 0-290 84 14-2 46-2 132 0 234 80-62 2-110 38t-66 94q10-4 34-4 26 0 50 6-66 14-108 66t-42 120l0 2q36-20 84-24-84 58-84 158 0 48 26 94 154-188 390-196-6 18-6 42 0 78 55 133t135 55q82 0 136-58 60 12 120 44-20-66-82-104 56 8 108 30z'/%3E%3C/svg%3E");
    --eg-ic-facebook: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 500 1000'%3E%3Cpath transform='scale(1 -1)' d='M500 644l-142 0q-14 0-25-15t-11-37l0-102 178 0 0-148-178 0 0-442-170 0 0 442-152 0 0 148 152 0 0 86q0 94 59 159t147 65l142 0 0-156z'/%3E%3C/svg%3E");
    --eg-ic-linkedin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 900 1000'%3E%3Cpath transform='scale(1 -1)' d='M204 698q0-40-29-68t-75-28q-44 0-72 28t-28 68q0 42 28 69t74 27 73-27 29-69z m-198-790l0 618 192 0 0-618-192 0z m306 420q0 86-4 198l166 0 10-86 4 0q60 100 190 100 100 0 161-67t61-199l0-366-192 0 0 342q0 134-98 134-70 0-98-72-6-12-6-48l0-356-194 0 0 420z'/%3E%3C/svg%3E");
    --eg-ic-exit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -850 1000 1000'%3E%3Cpath transform='scale(1 -1)' d='M858-136l-844 844c-19 19-19 51 0 69l59 59c18 19 50 19 69 0l843-843c19-19 19-51 0-70l-58-58c-19-20-50-20-69-1z m128 844l-844-844c-19-19-51-19-69 0l-59 59c-19 18-19 50 0 69l844 844c19 19 51 19 69 0l59-59c19-19 19-50 0-69z'/%3E%3C/svg%3E");
    --eg-orange: #f58233;
    --eg-text: #777;
    --eg-heading: #000;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: #fff;
    color: var(--eg-text);
    font: 400 15px/1.3 'Open Sans', sans-serif;
    -webkit-font-smoothing: auto;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--eg-orange); text-decoration: none; }
b, strong { font-weight: 700; }
h1, h2, h3, h4, h5, h6 { margin: 40px 0 20px; color: var(--eg-heading); font-family: 'Open Sans', sans-serif; font-weight: 800; line-height: 1.2; }
h1 { font-size: 24px; color: #666; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sup { top: -.5em; }
sub { bottom: -.25em; }
/* On the old site this rule was !important, so it beat the inline styles pasted into the page texts */
.eg-text h1 { font-size: 24px !important; color: #666 !important; }
h2 { font-size: 32px; }
h3 { font-size: 26px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }
p { margin: 0 0 20px; }
ul, ol { margin: 0 0 20px; padding-left: 20px; }
figure { margin: 0; }
button { font: inherit; }
.eg-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
img.alignleft { float: left; margin: 4px 20px 4px 0; }
@media (max-width: 1024px) { img.alignleft { margin-right: 4px; } }
img.alignright { float: right; margin: 4px 0 4px 20px; }
img.aligncenter { display: block; margin: 0 auto; }
.aligncenter { text-align: center; }

#eg-top { overflow-x: clip; }
#eg-main { min-height: 100vh; }
.s-terms table { display: block; max-width: 100%; overflow-x: auto; }

/* ---------- Grid ---------- */
.eg-row { position: relative; }
/* Content widths of the old theme: 960 px below 1024, the screen less 40 px up to 1279, then 1260 px.
   A boxed row takes the same width, and its wrapper takes it again inside the row. */
.eg-wrap { display: flex; flex-wrap: wrap; width: 100%; max-width: 960px; margin: 0 auto; }
.eg-boxed { max-width: 960px; margin-left: auto; margin-right: auto; }
/* Nested rows follow the same widths as the outer ones, so between 1024 and 1279 px they lose 40 px too */
.eg-grid { display: flex; flex-wrap: wrap; max-width: 960px; margin-left: auto; margin-right: auto; }
@media (min-width: 1024px) { .eg-wrap, .eg-boxed, .eg-grid { max-width: calc(100% - 40px); } }
@media (min-width: 1280px) { .eg-wrap, .eg-boxed, .eg-grid { max-width: 1260px; } }
.eg-wrap.eg-wrap-full { width: 100%; max-width: none; }
.eg-mid { align-items: center; }
.eg-minh, .eg-colmid { display: flex; align-items: center; }
.eg-minh > .eg-wrap, .eg-colmid > .eg-wrap { flex: none; }
/* Empty columns keep 1 px of height, as the old grid's did; it shows where columns stack */
.eg-c { display: flex; width: 100%; min-width: 0; min-height: 1px; }
.eg-in { width: 100%; padding: 0 20px; position: relative; }
.eg-mid > .eg-c > .eg-in { display: flex; flex-direction: column; justify-content: center; }
.eg-center { text-align: center; }
.eg-text { margin-bottom: 35px; }
/* The old body carried `header-style-3`, whose line-height: 1 reached every list without a style of its own */
.eg-text ul, .eg-text ol { line-height: 1; }
.eg-text:last-child { margin-bottom: 0; }
.eg-text :last-child { margin-bottom: 0; }
/* At least one 15 px text line tall, as the old image sat on a line */
.eg-fig { display: block; min-height: 15px; margin-bottom: 35px; line-height: 0; }
.eg-fig:last-child { margin-bottom: 0; }
.eg-fig-center { text-align: center; }
.eg-fig-right { text-align: right; }
@media (min-width: 768px) {
    .eg-sm2 { width: 16.6667%; } .eg-sm3 { width: 25%; } .eg-sm4 { width: 33.3333%; } .eg-sm5 { width: 41.6667%; }
    .eg-sm6 { width: 50%; } .eg-sm7 { width: 58.3333%; } .eg-sm8 { width: 66.6667%; } .eg-sm9 { width: 75%; }
    .eg-sm10 { width: 83.3333%; } .eg-sm12 { width: 100%; }
}
@media (min-width: 992px) {
    .eg-md2 { width: 16.6667%; } .eg-md3 { width: 25%; } .eg-md4 { width: 33.3333%; } .eg-md6 { width: 50%; } .eg-md8 { width: 66.6667%; }
}
@media (max-width: 767px) { .eg-hide-xs { display: none; } .eg-mc { text-align: center; } }

/* ---------- Header ---------- */
.eg-header { position: relative; z-index: 50; height: 90px; background: #fff; }
.eg-header-in { display: flex; width: calc(100% - 40px); max-width: 1260px; height: 100%; margin: 0 auto; padding: 0 20px; }
.eg-logo { display: block; flex: none; width: 284px; height: 90px; padding-left: 30px; line-height: 0; }
.eg-logo img { display: block; width: 229px; height: 90px; }
.eg-menu { display: flex; margin: 0 0 0 24px; padding: 0; list-style: none; }
.eg-menu > li { position: relative; }
.eg-menu > li > a { display: block; height: 100px; padding: 0 16px; color: #444; font-size: 14px; line-height: 100px; white-space: nowrap; }
.eg-menu > li > a:hover span { color: #f5832f; }
.eg-menu > .eg-current > a, .eg-menu > .eg-current-parent > a { color: #757575; }
.eg-has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 2px 8px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.eg-current-parent > a::after { color: #f5832f; border-width: 0 1.5px 1.5px 0; }
.eg-has-sub:not(.eg-current-parent) > a:hover::after { color: #ce1b28; }
.eg-sub { position: absolute; top: 90px; left: 0; z-index: 10; width: 295px; margin: 0; padding: 0; list-style: none; background: #fff; box-shadow: 2px 2px 0 rgba(0,0,0,.04); opacity: 0; visibility: hidden; transition: opacity .15s; }
.eg-has-sub:hover .eg-sub, .eg-has-sub:focus-within .eg-sub { opacity: 1; visibility: visible; }
.eg-sub li { padding: 0 20px; background: #fff; }
.eg-sub a { display: block; padding: 13px 20px; border-bottom: 1px solid #333; color: #666; font-size: 12px; line-height: 21px; }
.eg-sub li:last-child a { border-bottom: 0; }
.eg-sub a:hover { color: #f5832f; }
.eg-menu-map > a > span { color: #f58330; font-weight: 600; text-transform: uppercase; }
.eg-menu > .eg-menu-lang > a { padding: 0 0 0 5px; margin-right: 5px; color: #333; font-size: 16px; text-transform: uppercase; }
.eg-menu > .eg-menu-lang-ro > a { padding-left: 48px; }
.eg-menu > .eg-menu-lang-ro > a::after { content: ""; display: inline-block; height: 15px; margin: 0 -5px -2px 5px; border-right: 1px solid #999; }
.eg-menu > .eg-menu-lang > a:hover { color: #f99a00; }
.eg-sticky { position: fixed; top: 0; left: 0; z-index: 60; width: 100%; height: 60px; background: #fff; box-shadow: 0 2px 3px rgba(0,0,0,.1); transform: translateY(-240px); transition: transform .3s; }
.eg-sticky.is-on { transform: none; }
.eg-sticky .eg-logo { width: auto; height: 60px; padding: 0 24px 0 0; }
.eg-sticky .eg-logo img { width: auto; height: 60px; margin: 0; }
.eg-sticky .eg-menu > li > a { height: 60px; line-height: 60px; }
.eg-sticky .eg-sub { top: 60px; }

.eg-mobile-header, .eg-mobile-nav { display: none; }
@media (max-width: 1024px) {
    .eg-header, .eg-sticky { display: none; }
    .eg-mobile-header { position: relative; z-index: 50; display: block; height: 122px; padding: 10px 0; background: #fff; }
    .eg-mobile-logo { position: absolute; top: 15px; left: 0; width: 100%; text-align: center; line-height: 0; }
    .eg-mobile-logo img { width: 229px; height: 90px; }
    .eg-burger { position: absolute; z-index: 2; top: 35px; left: 10px; width: 40px; height: 50px; padding: 10px; border: 0; background: none; cursor: pointer; }
    .eg-burger span { display: block; width: 20px; height: 2px; margin: 3px 0; border-radius: 10px; background: #444; transition: transform .2s, opacity .2s; }
    .eg-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .eg-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .eg-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
    .eg-mobile-nav:not([hidden]) { display: block; position: relative; z-index: 40; background: #fff; }
    .eg-mobile-nav ul { margin: 0; padding: 0; list-style: none; }
    .eg-mobile-nav > ul > li > a { display: block; padding: 14px 20px; border-top: 1px solid #eee; color: #444; font-size: 14px; }
    .eg-mobile-nav .eg-sub { position: static; width: auto; opacity: 1; visibility: visible; box-shadow: none; display: none; }
    .eg-mobile-nav .eg-has-sub.is-open .eg-sub { display: block; }
    .eg-mobile-nav .eg-sub li { padding: 0; }
    .eg-mobile-nav .eg-sub a { padding: 12px 30px; border: 0; border-top: 1px solid #eee; }
    .eg-mobile-nav .eg-current > a { color: #f5832f; }
    .eg-mobile-nav .eg-menu-lang { display: inline-block; }
    .eg-mobile-nav .eg-menu-lang a { display: inline-block; text-transform: uppercase; border: 0; }
}

/* ---------- Strip ---------- */
.eg-strip { position: relative; z-index: 2; background: #e6e6e6; }
.eg-strip-dark { background: #898483; }
.eg-strip-in { display: flex; justify-content: center; align-items: center; width: 100%; max-width: 960px; margin: 0 auto; padding: 30px 0; box-sizing: border-box; }
@media (min-width: 1024px) { .eg-strip-in { max-width: calc(100% - 40px); } }
@media (min-width: 1280px) { .eg-strip-in { max-width: 1260px; } }
.eg-strip h6 { flex: none; display: flow-root; box-sizing: border-box; width: calc(100% / 6); margin: 0; padding: 0 20px; font-size: 14px; font-weight: 400; line-height: 16.8px; color: #000; }
.eg-strip img { float: left; height: auto; margin: 4px 20px 4px 0; }
.eg-strip span { font-size: 16px; line-height: 8px; }
.eg-strip span.eg-small { font-size: 14px; line-height: 7px; }
.eg-strip-dark h6 { color: #fff; }
@media (max-width: 1024px) {
    .eg-strip h6 { padding: 0; }
    .eg-strip img { margin-right: 4px; }
}
@media (max-width: 992px) {
    .eg-strip { height: 127.4px; }
    .eg-strip-in { align-items: stretch; width: 100%; max-width: none; height: 100%; padding: 30px 13% 0; }
    .eg-strip h6 { display: flex; align-items: center; width: 50%; justify-content: center; }
    .eg-strip span, .eg-strip span.eg-small { display: block; line-height: 16.8px; }
    .eg-strip span br { display: none; }
}
@media (max-width: 530px) { .eg-strip { display: none; } }

/* ---------- Page title band ---------- */
.s-mission .eg-in, .s-about .eg-in { display: block !important; }
.s-mission h2, .s-about h2 { margin: 0; padding: 20px 30px !important; font-size: 18px; line-height: 21.6px; }
.s-mission .eg-center .eg-in { padding-top: 20px; padding-bottom: 20px; }
.breadcrumb { position: absolute; z-index: 2; left: 0; width: 100%; top: 80%; transform: translateY(-50%); color: #888; font-size: 12px; font-weight: 700; line-height: 34px; text-align: center; }
.s-mission .breadcrumb { font-size: 11px; }
.breadcrumb a { color: var(--eg-orange); text-transform: uppercase; }
.breadcrumb a::after { content: "\00a0>>\00a0"; color: #f58233; }
.breadcrumb a:hover { opacity: .8; }
/* The Romanian Terms title sits 40 px lower than the other policy titles and covered half of the trail. */
.eg-text[style*="60px"] + .breadcrumb { transform: translateY(calc(-50% + 8px)); }
.eg-text a:not([class]) { text-decoration: underline; }
.eg-text a:not([class]):hover { text-decoration: none; }

/* ---------- Footer ---------- */
.eg-footer { background: #898483; }
.eg-footer-widgets { background: #f7f7f5; }
.eg-footer-cols > div { width: 24%; padding: 60px 20px; }
.eg-footer h5 { margin: 0 0 30px; color: #777; font-size: 14px; font-weight: 700; line-height: 16.8px; }
.eg-footer-cols p { margin: 0 0 20px; color: #999; font-size: 12px; line-height: 3.6px; }
.eg-footer-cols p:last-child { margin-bottom: 0; }
.eg-footer-cols p.eg-gap { font-size: 15px; line-height: 15px; }
.eg-footer-cols a { color: #999; }
.eg-footer-cols a:hover { color: #f5832f; }
.eg-policy-en a { color: #808080; }
.eg-social { display: flex; margin: 0; padding: 0; list-style: none; }
.eg-social li { margin: 0 5px 4px 0; }
.eg-social a { display: block; width: 39.2px; height: 29px; padding: 0 5px; color: #f6883d; }
.eg-social svg { display: block; width: 28px; height: 28px; fill: currentColor; }
.eg-footer-bar .eg-wrap { position: relative; display: block; height: 90.5px; }
.eg-copyright { position: absolute; top: 50%; left: 50%; color: #eee; font-size: 16px; line-height: 24px; text-align: center; white-space: nowrap; transform: translate(-50%, -50%); }
.eg-to-top { position: absolute; top: 24.5px; right: 20px; display: block; width: 46px; height: 46px; padding: 16px 14px; border: 2px solid #aaa; color: #aaa; }
.eg-to-top svg { display: block; width: 14px; height: 10px; }
@media (max-width: 991px) {
    .eg-footer-widgets { padding-top: 20px; }
    .eg-footer-cols > div { padding: 0 20px 45px; }
    .eg-footer h5 { margin-bottom: 30px; }
}
@media (max-width: 675px) { .eg-footer-cols > div { width: 100%; } .eg-footer-cols > div:last-child { padding-bottom: 0; } .eg-footer-cols { padding-bottom: 25px; } }
@media (max-width: 530px) {
    .eg-copyright { top: 40%; width: 300px; font-size: 12px; white-space: normal; }
}

/* ---------- Homepage ---------- */
/* The slider scales like the old one: a 1220, 960 or 768 px grid, by window width, shrunk below it. */
.eg-slider { --gw: 1220px; --u: min(1px, 100vw / 1220); position: relative; height: calc(600 * var(--u)); overflow: hidden; background: #ccc; }
.eg-slide { position: absolute; inset: 0; background: center/cover no-repeat; opacity: 0; transition: opacity 1.2s cubic-bezier(.76, 0, .24, 1); }
.eg-slide.is-active { opacity: 1; z-index: 2; }
.eg-slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.eg-slide-title { position: absolute; top: calc(97 * var(--u)); left: calc(max(0px, (100% - var(--gw)) / 2) + 45 * var(--u)); color: #fff; font-size: calc(44 * var(--u)); font-weight: 700; line-height: calc(52 * var(--u)); }
/* The old button was an inline link: its box is the font's full height plus the padding */
.eg-slide-button { position: absolute; top: calc(373 * var(--u)); left: calc(max(0px, (100% - var(--gw)) / 2) + 53 * var(--u)); padding: calc(15 * var(--u)) calc(25 * var(--u)); border: 1px solid #fff; color: #f58233; font-size: calc(16 * var(--u)); line-height: normal; }
html[lang="en"] .eg-slide-button { left: calc(max(0px, (100% - var(--gw)) / 2) + 50 * var(--u)); color: #fff; }
.eg-slide-button:hover { background: #f5832f; color: #fff; }
.eg-slider-arrow { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 12px 15px; border: 0; background: #f5832f; color: #fff; cursor: pointer; line-height: 0; }
.eg-slider-arrow:hover { background: #666; }
.eg-slider-arrow.eg-prev { left: 30px; }
.eg-slider-arrow.eg-next { right: 30px; }
@media (max-width: 1299px) { .eg-slider-arrow { display: none; } }
@media (max-width: 1024px) { .eg-slider { --gw: 960px; --u: min(1px, 100vw / 960); } }
@media (max-width: 777px) { .eg-slider { --gw: 768px; --u: min(1px, 100vw / 768); height: calc(500 * var(--u)); } }
@media (max-width: 530px) { .eg-slider { display: none; } }
.eg-video { height: 600px; overflow: hidden; line-height: 0; }
.eg-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

.s-servicii { z-index: 3; background: transparent !important; }
.s-servicii .eg-wrap { position: relative; }
.s-servicii .eg-text h2 { position: absolute; top: -12px; left: 50%; z-index: 3; margin: 0; padding: 10px 35px; font-size: 32px; letter-spacing: 2px; transform: translate(-50%, -50%); }
.s-no-padding { margin-top: -122px; }
.s-no-padding .eg-wrap { padding: 0 !important; }
.s-no-padding img { display: block; max-width: 100%; height: auto; transition: filter .5s linear; }
.s-no-padding img:hover { filter: sepia(1); }

.eg-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-around; margin: 0; padding: 0; list-style: none; }
.eg-logos li { padding: 0 20px; }

.eg-carousel { position: relative; }
.eg-carousel-track { display: flex; overflow: hidden; scroll-behavior: smooth; }
.eg-carousel-track > * { flex: none; width: 33.3333%; }
@media (max-width: 767px) { .eg-carousel-track > * { width: 100%; } }
.eg-car-arrow { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; padding: 12px 15px; border: 0; background: #f58233; color: #fff; line-height: 0; cursor: pointer; }
.eg-car-arrow.eg-prev { left: -60px; }
.eg-car-arrow.eg-next { right: -60px; }

/* ---------- Text pages ---------- */
.eg-cv { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.eg-cv-item { width: 50%; padding: 0 15px 15px; }
.eg-cv-item img { display: block; width: 100%; height: auto; margin-bottom: 10px; }
.eg-cv-item h4 { margin: 0 0 10px; padding: 15px 0; color: #f68332; font-size: 18px; font-weight: 600; line-height: 19.8px; }
.eg-cv .eg-cv-item p { margin: 0 0 50px; line-height: 1.5; }
@media (max-width: 767px) { .eg-cv-item { width: 100%; } }
.s-csr h2 { margin: 0 0 25px; color: #f58232; font-size: 18px; font-weight: 600; }
.s-csr p { margin: 0 0 10px !important; font-size: 15px; }
.s-csrow > .eg-wrap > .eg-c { padding-top: 40px; }

/* ---------- Article ---------- */
.eg-article-page > .eg-wrap { padding: 25px 0; align-items: flex-start; }
.eg-article { width: 75%; padding: 0 15px 0 20px; }
.eg-article-in { padding: 15px; margin-bottom: 60px; line-height: 15px; }
.eg-article h1 { margin: 10px 0; color: #666; font-size: 24px; line-height: 1.3; text-align: center; }
/* An inline block on the 15 px text line, as on the old site, which sets it 2 px lower */
.eg-post-data { display: inline-block; width: 100%; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid transparent; text-align: center; font: 700 13.125px/13.125px 'Poppins', sans-serif; color: #777; }
.eg-post-data .eg-date { display: inline-block; margin-right: 10px; padding-right: 10px; color: #b9b9b9; font: 800 13.125px/13.125px 'Open Sans', sans-serif; }
.eg-post-data .eg-date a { color: inherit; }
.eg-post-data .eg-date a:hover { color: #ce1b28; }
.eg-post-data .eg-cats { display: inline-block; }
.eg-post-data .eg-cats a { color: #777; font: 800 13.125px/13.125px 'Open Sans', sans-serif; }
.eg-article-body > p { font-size: 14px; font-weight: 400; line-height: 1.3; }
/* The old site's custom CSS held `#post-23 p { margin-bottom: 10px !important }`, which reached this article */
.eg-article[data-slug="electrogrup-unul-dintre-finalistii-proiectului-made-in-romania-2"] .eg-article-body p { margin-bottom: 10px; }
.eg-article-body .article_excerpt p { line-height: 1.3; }
/* Lists keep their 20 px even last in a text block, as article.type-post .text ul did */
.eg-article .eg-article-body ul, .eg-article .eg-article-body ol { margin-bottom: 20px; }
.eg-article-body .eg-grid { padding: 25px 0; }
.eg-article-body img { height: auto; }
.eg-article-body a:not([class]) { text-decoration: underline; }
.eg-article-body a:hover { text-decoration: none; }
.eg-article-foot { padding: 20px 0; border-top: 1px solid transparent; }
.eg-article-foot .eg-share { display: block; }
.eg-sidebar { width: 25%; padding: 0 20px; }
.eg-sidebar-in { padding: 30px; border: 1px solid transparent; }
.eg-sidebar h5 { margin: 0 0 15px; padding: 0 0 15px; color: #000; font-size: 16px; line-height: 19.2px; }
html[lang="ro"] .eg-sidebar h5 { color: #f58233; font-size: 18px; line-height: 21.6px; text-align: center; }
/* The 220x80 thumbnail floats left: the text runs beside it once the column is wide enough */
.eg-popular { display: flow-root; margin-bottom: 20px; line-height: 15px; }
.eg-popular > a:first-child { display: contents; }
.eg-popular img { display: block; float: left; width: 220px; max-width: 100%; height: auto; margin: 0 20px 10px 0; aspect-ratio: 220 / 80; object-fit: cover; }
.eg-popular-title { color: #f58233; font-size: 15px; font-weight: 700; line-height: 15px; }
.eg-popular-title:hover { text-decoration: underline; }
.eg-popular span { display: block; padding: 7px 0; color: #b9b9b9; font-size: 12px; line-height: 12px; letter-spacing: 1px; }
.eg-popular:last-child { margin-bottom: 0; }
.eg-popular p { margin: 0; line-height: 15px; }
html[lang="ro"] .eg-popular-title { font-size: 14px; line-height: 14px; }
html[lang="ro"] .eg-popular:first-of-type span { padding: 5px 0; }
html[lang="ro"] .eg-popular p { line-height: 18px; }
@media (max-width: 991px) { .eg-article, .eg-sidebar { width: 100%; } .eg-article { padding-right: 20px; } }
@media (max-width: 767px) {
    .eg-post-data .eg-date { margin: 5px 10px 5px 5px; }
    .eg-post-data .eg-cats { margin: 5px; }
    .eg-article-foot .eg-share { margin: 20px auto 0; }
}
/* Tags sit left of the share icon, which moves right; on phones it drops below them, centred */
.eg-tags { display: inline-block; max-width: 85%; margin: -5px; padding: 5px 0; vertical-align: middle; }
.eg-tags a { display: inline-block; margin: 5px; padding: 6px 15px; border: 1px solid transparent; color: #b9b9b9; font-size: 13.125px; line-height: 13.125px; text-decoration: none; }
.eg-tags a:hover { opacity: .5; transition: opacity .4s; }
@media (min-width: 768px) { .eg-article-foot.has-tags .eg-share { float: right; } }

/* ---------- Category and tag archives ---------- */
.eg-archive-list { width: 100%; padding: 0 20px; }
.eg-archive-list.has-sidebar { width: 75%; padding: 0 15px 0 20px; }
/* The old list floated its articles, so the last one's margin stays above the page numbers */
.eg-archive-items { display: flow-root; }
.eg-archive-item { margin-bottom: 80px; color: #777; font-size: 15px; line-height: 15px; }
.eg-archive-item:last-child { margin-bottom: 40px; }
.eg-archive-img { margin: 0 .5px 25px; }
.eg-archive-img img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.eg-archive-meta { display: inline-block; margin-bottom: 13.5px; color: #b9b9b9; font: 700 13.125px/15.75px 'Poppins', sans-serif; }
.eg-archive-meta a { color: #b9b9b9; font-family: 'Open Sans', sans-serif; font-weight: 800; }
.eg-archive-meta a:hover, .eg-archive-text h2 a:hover { color: #ce1b28; transition: color .3s; }
.eg-archive-text { padding: 15px; }
.eg-archive-text::before { content: ""; display: block; height: 1px; margin: 10px 0 25px; background: #e8e8e8; }
.eg-archive-text h2 { margin: 0 0 10px; color: #000; font-size: 24px; font-weight: 800; line-height: 28.8px; }
.eg-archive-text h2 a { color: #000; }
.eg-archive-text p { margin: 0 0 20px; font-size: 14px; line-height: 1.3; }
.eg-archive-foot { display: flow-root; padding-top: 10px; border-top: 1px solid transparent; }
.eg-archive-foot .eg-more { display: block; float: right; }
@media (max-width: 991px) { .eg-archive-list.has-sidebar { width: 100%; padding-right: 20px; } }
/* The old list column kept 20 px below it up to 992 px; page numbers below it already give more */
@media (max-width: 992px) { .eg-archive-items:last-child { margin-bottom: 20px; } }
@media (max-width: 767px) { .eg-archive-item { margin-bottom: 60px; } .eg-archive-meta span { display: inline-block; margin: 5px; } }

/* ---------- Share ---------- */
/* An icon glyph as an inline block that sits on the text line as the font glyph did */
.eg-share-btn::before, .eg-share-window a::before, .eg-share-close::before, .eg-fx-btn::before {
    content: ""; display: inline-block; width: 1em; height: 1em; background: currentColor; vertical-align: -.15em;
    -webkit-mask: var(--eg-ic) center / contain no-repeat; mask: var(--eg-ic) center / contain no-repeat;
}
/* "SHARE" appears beside the icon on hover, both in the theme red; a click opens the share window */
.eg-share { position: relative; display: block; width: fit-content; height: 15px; color: #b9b9b9; font-size: 15px; line-height: 15px; text-align: center; }
.eg-share:hover { color: #ce1b28; }
.eg-share-btn { display: block; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; white-space: nowrap; cursor: pointer; }
.eg-share-btn::before { --eg-ic: var(--eg-ic-share); margin: 0 3px; }
.eg-share-btn span { display: none; margin-left: 1em; font-size: .875em; line-height: 1; letter-spacing: .5em; }
.eg-share-btn:hover span { display: inline-block; }
.eg-share ul { display: none; }
.eg-share-window { position: fixed; inset: 0; z-index: 999999; visibility: hidden; opacity: 0; background: rgba(0,0,0,.9); color: #fff; transition: opacity .3s ease, visibility 0s .3s; }
.eg-share-window.is-on { visibility: visible; opacity: 1; transition: opacity .3s ease; }
.eg-share-close { position: absolute; top: 40px; right: 40px; z-index: 99; padding: 1px 6px; border: 0; background: none; color: #fff; font-size: 15px; line-height: 15px; cursor: pointer; }
.eg-share-close::before { --eg-ic: var(--eg-ic-exit); margin: 0 3px; }
.eg-share-window-in { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.eg-share-window ul { width: 100%; margin: 0; padding: 10%; list-style: none; font-size: 22px; line-height: 1; text-align: center; }
.eg-share-window li { display: inline; }
.eg-share-window a { position: relative; display: inline-block; width: 60px; height: 60px; margin: 10px; border: 3px solid transparent; border-radius: 50%; color: #fff; line-height: 60px; text-decoration: none; transition: all .5s ease; }
.eg-share-window a:hover { border-color: #fff; }
.eg-share-window a span { display: none; }
.eg-share-window a:hover span { position: absolute; display: inline-block; width: 200px; margin: 60px 0 0 -115px; text-align: center; }
.eg-share-window .eg-share-facebook a, .eg-share-window .eg-share-linkedin a { background: #f7f7f5; color: #f6883d; font-size: 28px; }
.eg-share-mail a::before { --eg-ic: var(--eg-ic-mail); }
.eg-share-twitter a::before { --eg-ic: var(--eg-ic-twitter); width: .92em; }
.eg-share-facebook a::before { --eg-ic: var(--eg-ic-facebook); width: .5em; }
.eg-share-linkedin a::before { --eg-ic: var(--eg-ic-linkedin); width: .9em; }

/* ---------- Image links ---------- */
/* On hover a dark gradient slides down over the photo and a white icon grows in its top right corner */
.eg-fx { position: relative; z-index: 1; display: block; width: fit-content; max-width: 100%; margin-right: auto; margin-left: auto; overflow: hidden; }
.eg-fx-mask { position: absolute; top: -100%; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, #000 2%, rgba(0,0,0,0) 100%); mix-blend-mode: multiply; opacity: .4; transition: all .2s ease-out .1s; }
.eg-fx-btn { position: absolute; top: 20px; right: 20px; z-index: 20; width: 24px; height: 24px; opacity: 0; color: #fff; font-size: 15px; line-height: 24px; text-align: center; transform: scale(0); transition: all .4s ease-out .1s; }
.eg-fx-btn::before { --eg-ic: var(--eg-ic-link); font-size: 16px; }
.eg-fx-zoom .eg-fx-btn::before { --eg-ic: var(--eg-ic-zoom); width: .8571em; }
.eg-fx:hover .eg-fx-mask { top: 0; }
.eg-fx:hover .eg-fx-btn { opacity: 1; transform: scale(1); }

/* ---------- Person ---------- */
.eg-person-head { height: 154px; padding-top: 80px; background: #f58233; }
.eg-person-head .eg-wrap { display: block; }
.eg-person-head h1, .eg-head-title { margin: 0 0 0 40px; color: #fff; font: 800 24px/34px 'Open Sans', sans-serif; }
@media (max-width: 1024px) { .eg-person-head { height: auto; padding: 40px 0; } }
@media (max-width: 767px) {
    .eg-person-head .eg-wrap { margin-bottom: 10px; padding: 0 20px; line-height: 1.5; text-align: center; }
    .eg-person-head h1, .eg-head-title { display: inline-block; margin-left: 20px; line-height: 33.6px; }
}

/* Articles that kept the "Blog" band show their image above the text and a larger title */
/* Centred and never wider than 910 px, the size the old site served it at */
.eg-article-img { margin: 0 0 25px; }
.eg-article-img img { display: block; max-width: min(100%, 910px); height: auto; margin: 0 auto; }
.eg-article.has-banner h1 { margin: 40px 0 20px; color: #000; font-size: 32px; line-height: 38.4px; text-align: left; }
.eg-person > .eg-wrap { padding: 25px 0; }
.eg-person-bio { width: 66.6667%; padding: 0 20px; }
.eg-person-bio h3 { margin: 40px 0 20px; }
.eg-person-bio p { line-height: 1.5; }
/* Each row of a bio has 25 px above and below, as the old rows did; plain text has none */
.eg-person-bio > .eg-grid { padding: 25px 0; }
.eg-person-bio .eg-in > :last-child { margin-bottom: 0; }
.eg-person-bio .team h2 { color: #666; font-size: 24px; }
.eg-person-photo { width: 33.3333%; padding: 0 20px; }
.eg-person-photo img { display: block; width: auto; max-width: min(100%, 300px); height: auto; margin: 5px auto 30px; }
@media (max-width: 767px) { .eg-person-photo img { margin-top: 0; } }
/* The old main column had 20 px under it up to 992 px */
@media (max-width: 992px) { .eg-person > .eg-wrap { padding-bottom: 45px; } .eg-article { margin-bottom: 20px; } }
/* The old person pages slid the menu over the band, so their minimum height counted from the top */
/* Pages opening with the orange band slid under the header above 1024 px: one screen tall from 100 px higher */
@media (min-width: 1025px) { #eg-main:has(> .eg-person-head:first-child) { min-height: calc(100vh - 100px); } }
@media (max-width: 767px) { .eg-person-bio, .eg-person-photo { width: 100%; } }

/* ---------- Team ---------- */
.eg-team { display: flex; flex-wrap: wrap; margin: 0 -20px; }
.eg-team-card { display: flex; width: 33.3333%; padding: 50px 20px 40px; }
.eg-team-card:nth-child(n+4):nth-child(-n+9) { padding-top: 40px; }
.eg-team-box { width: 100%; padding: 20px; background: #fff; box-shadow: 2px 2px 2px rgba(0,0,0,.04); }
.eg-team-photo { margin-bottom: 40px; overflow: hidden; line-height: 0; }
.eg-team-photo img { display: block; width: 100%; max-width: 480px; height: auto; transition: all .3s linear; }
.eg-team-photo img:hover { transform: scale(1.05); }
.eg-team-data { margin-left: 25px; line-height: 1; }
.eg-team-data h5 { margin: 0 0 5px; font-size: 18px; font-weight: 700; line-height: 21.6px; }
.eg-team-data h5 a { color: #000; }
.eg-team-data h5 a:hover { opacity: .7; }
.eg-team-data span { color: #f5832f; font-size: 15px; font-weight: 600; line-height: 15px; }
/* Stacked, as on the old site: the 50/40 px only opens each row of three, the cards inside it are 40 px apart */
@media (max-width: 767px) { .eg-team-card { width: 100%; padding-right: 0; padding-left: 0; } .eg-team > .eg-team-card:not(:nth-child(3n+1)) { padding-top: 0; } }

/* ---------- Article cards ---------- */
.eg-cards { display: flex; flex-wrap: wrap; align-items: stretch; margin: 0 -20px; }
.eg-card { width: 33.3333%; margin-bottom: 40px; padding: 0 20px; line-height: 15px; }
.eg-card-img { display: block; margin-bottom: 25px; line-height: 0; }
.eg-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.eg-card-date { display: inline-block; margin: 0 10px 15px 0; padding: 0 10px; background: #ce1b28; color: #fff; font-size: 11.25px; font-weight: 700; line-height: 18px; text-transform: uppercase; }
.eg-card-body { padding: 15px; }
.eg-card h5, .eg-home-card h5 { margin: 0 0 10px; font-size: 18px; font-weight: 700; line-height: 21.6px; }
.eg-card h5 a, .eg-home-card h5 a { color: #f5832f; }
.eg-card h5 a:hover, .eg-home-card h5 a:hover { color: #999; }
.eg-card-cats { display: inline-block; margin-bottom: 25px; color: #777; font: 700 13.125px/15.75px 'Poppins', sans-serif; }
.eg-card-cats a { color: #777; font: 800 13.125px/15.75px 'Open Sans', sans-serif; }
.eg-card-body p { margin: 0 0 20px; font-size: 14px; line-height: 18.2px; }
.eg-card-foot { display: flex; justify-content: flex-end; padding-top: 10px; }
.eg-card:not(.eg-home-card) .eg-card-foot { border-top: 1px solid transparent; }
.eg-card:not(.eg-home-card) .eg-card-img img { max-width: 480px; }
/* Under 768 px the old list put the share icon on its own centred line (its hidden list beside it) under the link */
@media (max-width: 767px) {
    .eg-card .eg-card-cats, .eg-home-card .eg-card-cats { padding: 5px; }
    .eg-card:not(.eg-home-card) .eg-card-foot { flex-wrap: wrap; justify-content: flex-start; }
    .eg-card:not(.eg-home-card) .eg-card-foot .eg-more { flex: 0 0 100%; order: -1; text-align: right; }
    .eg-card:not(.eg-home-card) .eg-card-foot .eg-share { margin: -3.125px 0 0 calc(50% - 81.5px); }
}
.eg-more { padding: 5px 0; color: #f5832f; font-size: 13.125px; line-height: 13.125px; text-decoration: underline; }
.eg-more::after, a.small.aligncenter::after { content: ""; display: inline-block; width: 1em; height: 1em; margin-left: 10px; background: currentColor; -webkit-mask: var(--eg-arrow) center / contain no-repeat; mask: var(--eg-arrow) center / contain no-repeat; vertical-align: -0.12em; }
/* Same place, but the arrow no longer makes the line taller than the text, as the old font glyph did not */
.eg-card .eg-more::after, .eg-archive-foot .eg-more::after { margin-top: -.5em; margin-bottom: -.12em; vertical-align: baseline; }
.eg-more:hover { text-decoration: none; }
a.small.aligncenter::after { -webkit-mask-image: var(--eg-arrow-bold); mask-image: var(--eg-arrow-bold); }
.eg-more:hover::after, a.small.aligncenter:hover::after { margin-left: 13px; opacity: .6; transition: margin-left .4s; }
.eg-pager { margin: 30px 0; padding: 0; text-align: center; }
.eg-pager ul { display: inline-flex; margin: 0; padding: 0 10px; border: 2px solid transparent; border-radius: 20px; list-style: none; background: #fff; }
.eg-pager li > * { display: block; height: 36px; padding: 0 10px; border-right: 2px solid transparent; color: #777; font-size: 12px; font-weight: 800; line-height: 36px; text-align: center; }
.eg-pager li:last-child > * { border-right: 0; }
.eg-pager [aria-current], .eg-pager .eg-pager-dots { padding: 0 20px; color: #ce1b28; }
.eg-pager .eg-pager-dots { color: #777; }
.eg-pager a:hover { color: #ce1b28; }
.eg-pager li > a[rel] { padding: 0 15px; }
.eg-pager-ic { display: inline-flex; align-items: center; justify-content: center; width: 16.8px; height: 17px; background: #f58233; vertical-align: middle; }
.eg-pager svg { width: 5px; height: 9px; fill: none; stroke: #fff; stroke-width: 1.6; }
.eg-featured { display: flex; align-items: flex-start; min-height: 408px; }
.eg-featured figure { flex: none; width: 625px; padding-right: 15px; }
.eg-featured figure img { display: block; width: 100%; height: auto; }
.eg-featured-text { flex: 1; min-width: 0; align-self: center; line-height: 15px; }
.eg-featured h4 { margin: 0 0 10px; font-size: 22px; line-height: 26.4px; }
.eg-featured h4 a { color: #000; }
.eg-featured h4 a:hover { color: #ce1b28; transition: color .4s; }
.eg-featured-meta a:hover { text-decoration: underline; }
.eg-featured-meta { display: inline-block; margin-bottom: 9.6px; padding: 4.8px 9.6px 2.4px; background: #ce1b28; color: #fff; font-size: 12px; line-height: 16.8px; text-transform: uppercase; }
.eg-featured-meta a { color: #fff; }
.eg-featured p { display: inline; margin: 0; }
.eg-featured-go { display: inline-block; width: 21px; color: #f5832f; }
@media (max-width: 767px) { .eg-card { width: 100%; } }
@media (max-width: 768px) { .eg-featured figure { width: 95px; } }

/* ---------- Homepage news carousel ---------- */
.eg-home-news .eg-carousel-track { align-items: stretch; gap: 15px; padding-bottom: 4px; transition: height .2s; }
.eg-home-news .eg-carousel-track > * { width: calc((100% - 30px) / 3 - 3px); }
@media (max-width: 1024px) { .eg-home-news .eg-carousel-track { align-items: flex-start; } .eg-home-news .eg-carousel-track > * { width: calc(100% - 3px); } }
.eg-home-card { margin-right: 3px; padding: 20px; background: #fff; box-shadow: 2px 2px 2px rgba(0,0,0,.04); }
.eg-home-card .eg-card-img img { width: auto; max-width: 100%; margin: 0 auto; aspect-ratio: auto; }
.eg-home-card-text { padding: 15px; line-height: 15px; }
.eg-home-card .eg-card-date { display: inline-block; background: #fff; color: #999; text-transform: capitalize; }
.eg-home-card p { margin: 0 0 20px; font-size: 15px; line-height: 18px; }
.eg-home-card .eg-card-foot { align-items: flex-start; height: 0; padding: 0; }
.eg-home-card .eg-more { margin-top: -10px; padding: 0; font-size: 14px; line-height: 14px; }
.eg-car-arrow { position: absolute; top: calc(50% - 20px); width: 37.8px; height: 37.8px; margin-top: 0; padding: 11px 13px; border: 0; background: #f58233; color: #fff; line-height: 0; cursor: pointer; }
.eg-car-arrow.eg-prev { left: -40px; }
.eg-car-arrow.eg-next { right: -40px; }

/* ---------- Service projects carousel ---------- */
.eg-service-news { margin: 0 -20px; padding-top: 40px; }
.eg-service-card { margin-bottom: 80px; padding: 0 10px; }
.eg-service-card-in { display: flex; flex-direction: column; height: 100%; padding: 20px; background: #fff; box-shadow: 2px 2px 2px rgba(0,0,0,.04); }
.eg-service-img { display: block; margin: 0 0 25px; line-height: 0; }
.eg-service-img img { display: block; width: 100%; height: 250px; object-fit: cover; }
.eg-service-card h5 { min-height: 70px; margin: 0 15px 20px; font-size: 18px; font-weight: 700; line-height: 21.6px; }
.eg-service-card h5 a { color: #f5832f; }
.eg-service-card h5 a:hover { color: #999; transition: color .4s; }
.eg-service-card .eg-card-date { display: block; margin: 0 10px 10px 0; padding: 0 10px 0 15px; background: none; color: #999; text-transform: capitalize; }
.eg-service-card .eg-card-cats { display: block; margin-bottom: 13.5px; padding-left: 15px; color: #f58233; font-size: 14px; line-height: 16.8px; }
.eg-service-card .eg-card-cats a { font-size: 14px; line-height: 16.8px; }
.eg-service-card .eg-more { padding: 5px 0; font-size: 14px; line-height: 14px; }
@media (max-width: 767px) {
    .eg-service-news .eg-carousel-track { align-items: flex-start; }
    .eg-service-img img { height: auto; object-fit: fill; }
    .eg-service-card h5 { min-height: 0; }
    .eg-service-card .eg-card-cats { padding-top: 5px; padding-bottom: 5px; }
}
.eg-carousel.is-looping .eg-carousel-track { touch-action: pan-y; user-select: none; }
.eg-carousel.is-looping .eg-carousel-track > * { transform: translateX(var(--eg-shift, 0px)); }
.eg-carousel.is-moving .eg-carousel-track > * { transition: transform .5s ease; }
.eg-car-round { position: absolute; top: 50%; width: 35px; height: 35px; margin-top: -17.5px; padding: 9px 12px; border: 0; border-radius: 50%; background: #f58233; color: #fff; line-height: 0; cursor: pointer; }
.eg-car-round.eg-prev { left: -30px; }
.eg-car-round.eg-next { right: -30px; }
@media (max-width: 768px) { .eg-car-round.eg-prev { left: 25px; } .eg-car-round.eg-next { right: 25px; } .eg-service-news .eg-carousel-track { margin: 0 30px; } }

/* ---------- Lightbox ---------- */
.eg-lightbox { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,.85); cursor: zoom-out; }
.eg-lightbox img { max-width: 92vw; max-height: 92vh; }

/* ---------- 404 ---------- */
.eg-404 { padding: 80px 0 120px; text-align: center; }
.eg-404 .eg-wrap { display: block; }
.eg-404 h1 { margin: 0 0 20px; color: #f58233; font-size: 80px; }
.eg-404 h2 { margin: 0 0 20px; font-size: 24px; color: #666; }

/* ---------- Rows without their own spacing keep the default ---------- */

/* ---------- Homepage rows ---------- */
.s-decenoi h6 { margin: 40px 0 0; line-height: 24px; }
.s-decenoi p { margin: 0; line-height: 1.3; }
.s-decenoi .img1024 { flex: 0 1 auto; min-width: 0; line-height: 15px; }
.s-decenoi .img1024 img { max-width: 100%; height: auto; margin-top: -4px; vertical-align: middle; }
@media (min-width: 992px) { .s-decenoi p.fixed-height { width: 300px; height: 60px; } }
.s-careers { display: flow-root; }
.s-careers > .eg-wrap { margin-top: -34px; }
/* 95 px from the image's right edge, which sits inside the 20 px column padding */
.s-careers .eg-text h2 { position: absolute; top: 30px; right: 115px; margin: 0; padding: 15px 25px; background: rgba(255,255,255,.6); }
@media (min-width: 769px) and (max-width: 1024px) { .s-careers .eg-text h2 { right: 95px; } }
.t-careerlinks p { margin: 0; font-size: 14px; line-height: 14px; }
.s-careers .eg-in { display: block; }
.s-careers .eg-c { display: flex; }
.s-careers .eg-c:last-child .eg-in { align-self: center; }
/* Only the Romanian homepage had this rule */
@media (min-width: 768px) and (max-width: 992px) { html[lang="ro"] .s-careers .eg-c:last-child { margin-top: 65px; } }
@media (max-width: 767px) { .s-careers .eg-c:last-child .eg-in { padding-bottom: 30px; } }
.R1024, .R768 { font-size: 32px; }
.eg-logos { flex-wrap: nowrap; justify-content: flex-start; overflow: hidden; }
.eg-logos li { flex: none; padding: 0; text-align: center; line-height: 0; }
.eg-logos li a { display: inline-block; line-height: 0; }
.eg-logos li img { display: block; margin: 0 auto; }
a.small.aligncenter { display: table; margin: 0 auto; font-size: 12.75px; font-weight: 800; line-height: 12.75px; }
.eg-in > div:has(iframe[src*="map.electrogrup.ro"]) { margin-bottom: 35px; line-height: 15px; }
.eg-logos-5 li { width: 20%; }
.eg-logos-6 li { width: 16.6667%; }
@media (max-width: 1024px) { .eg-logos-6 li { width: 25%; } }
.eg-logos img { max-width: 100%; height: auto; }
@media (max-width: 767px) { .eg-logos li { width: 33.3333%; } .eg-logos li a { display: block; } .eg-logos img { width: 80%; max-height: 30px; object-fit: contain; } }
.eg-logos { touch-action: pan-y; user-select: none; }
.eg-logos li { transform: translateX(var(--eg-drag, 0px)); }
.eg-logos.is-snapping li { transition: transform .25s; }
.eg-logos.is-sliding li { transition: transform .7s ease; }
.eg-space { width: 100%; }

/* ---------- Page rows ---------- */
.s-about:not(.civil) .eg-center .eg-text:first-child { padding: 21px 0; }
.t-civilcrumbs { padding: 5px 0; }
.s-mission h2 { display: inline-block; }
.careerzzz { padding-bottom: 30px; }
.careerzzz span { color: #f58233 !important; }
.careerzzz h5 span { color: #f58233 !important; font-weight: 600; }
.careerzzz p { line-height: 1.3; }
.s-despre p { margin: 10px 0 0; font-size: 14px; line-height: 1.3; }
.s-mvv h2 { margin: 0 0 5px; font-size: 18px; font-weight: 600; }
.s-mvv .eg-text p { margin: 0 0 5px; font-size: 14px; line-height: 1.3; }
.s-mvv .eg-fig img { margin: 30px 0 50px; }
@media (max-width: 530px) { .s-mvv { margin-top: 20px; } #hidentitlemobile { margin: 0 !important; font-size: 13px !important; } }
.s-telecom p, .s-civile p { margin-bottom: 0; font-size: 15px; line-height: 1.5; }
.s-civile h2 { margin: 0 0 15px; font-size: 18px; font-weight: 800; }
@media (max-width: 530px) { .s-civile h2 { padding-top: 20px; font-size: 16px; } .s-civile .eg-wrap > .eg-c:nth-child(3) > .eg-in { padding-bottom: 20px; } }
.grup p { font-size: 14px; line-height: 1.3; }
/* Text pasted with its editor wrappers: each nested wrapper loses 40 px on the right below 1280 px */
@media (max-width: 1280px) { section[data-element_type="section"] { max-width: calc(100% - 40px); } }
.s-porto a { padding-left: 13px; }
.s-porto a span { color: #f58233; }
/* Under 530 px the old page gave every div of the logo section 4 px at the bottom; nested, they add up to these */
@media (max-width: 530px) { .s-porto .eg-fig { padding-bottom: 8px; } .s-porto .eg-grid .eg-c { padding-bottom: 12px; } .s-porto .eg-grid { padding-bottom: 34px !important; } .s-porto .eg-wrap > .eg-c:last-child .eg-grid { padding-bottom: 64px !important; } .s-porto h4 { margin-top: 10px; font-size: 24px; } }
.s-terms h2 { color: #f5832f; font-size: 18px; font-weight: 600; }
.s-terms p { line-height: 1.3; }
.s-terms { margin-bottom: 200px; }
.s-telecom .eg-text > p { line-height: 1.5; }
.s-positions { max-height: 432px; }
.s-positions img { margin-top: -4px; }
.filiale p { font-size: 14px; line-height: .2; }
/* The old 2.8 px line-height laid wrapped lines over each other; a full line-height with the same pitch does not. */
.filiale p:not(:has(img)) { margin: -10px 0 10px; line-height: 22.8px; }
.filiale p:not(:has(img)):last-child { margin-bottom: -10px; }
.contact-text p { font-size: 14px; line-height: 1.5; }
.ae-ssm-links p { padding-top: 10px; }
.servicii-posts li { line-height: 1.5; }
.servicii-posts h2 { margin-top: 0; color: #666; font-size: 16px; }
.servicii-posts p { line-height: 1.5; }
.eg-article-body ul { list-style: none; }
.eg-article-body .servicii-posts ul { list-style: disc; }

/* ---------- Contact form ---------- */
.eg-form-wrap { margin-bottom: 2px; }
.eg-form { display: flex; flex-wrap: wrap; }
.eg-field { width: 48%; margin: 0 2% 22.5px 0; padding: 0; border: 0; color: #808080; }
.eg-full { width: 98%; max-width: none; }
.eg-field > label, .eg-field legend { display: block; margin-bottom: 2.8px; padding: 0; font-size: 14px; line-height: 14px; }
.eg-req { margin-left: 2px; }
.eg-street { margin-bottom: 6px; }
.eg-subfield { margin-bottom: 14px; }
.eg-subfield > label { margin: 6px 0 8.4px; font-size: 12px; font-weight: 700; line-height: 12px; }
.eg-form ::placeholder { color: rgba(128,128,128,.47); opacity: 1; }
.eg-form input[type=text], .eg-form input[type=email], .eg-form input[type=tel] { display: block; width: 100%; height: 41px; padding: 10px; border: 1px solid #333; border-radius: 0; background: #fff; color: #444; font: 400 14px/1.2 'Open Sans', sans-serif; }
.eg-form select { display: block; width: 100%; height: 36px; margin-top: 2.5px; padding: 0 8.5px; border: 1px solid #333; border-radius: 0; background: #fff; color: #808080; font: 400 15px 'Open Sans', sans-serif; }
.eg-form textarea { display: block; width: 100%; height: 150px; padding: 11px 10px; border: 1px solid #333; border-radius: 0; background: #fff; color: #808080; font: 400 15px/21px 'Open Sans', sans-serif; resize: vertical; }
.eg-checks legend { margin-bottom: 15px; font-size: 15px; line-height: 25px; }
.eg-checks-en legend { margin-bottom: 10px; font-size: 14px; line-height: 14px; }
@media (min-width: 768px) { .eg-field > label:not(:has(input)), .eg-checks legend { white-space: nowrap; } }
/* The option text does not wrap: where it does not fit beside its box it moves to the next line */
.eg-checks { min-width: 0; }
.eg-checks label { display: block; margin: 0; font-size: 15px; font-weight: 600; line-height: 15px; }
.eg-checks label span { display: inline-block; max-width: 100%; margin: 3px 0; padding-right: 12px; font-size: 12px; line-height: 21.6px; white-space: nowrap; vertical-align: middle; }
.eg-checks label:first-of-type { margin-top: -5px; }
.eg-checks label:last-of-type { margin-bottom: -3px; }
.eg-checks input { display: inline-block; width: 15px; height: 13px; margin: 0 4.5px 0 0; vertical-align: middle; }
/* The consents keep the old site's grey tick box; the checkbox itself stays reachable by keyboard. */
.eg-consent-head { margin-bottom: 2.8px; font-size: 14px; line-height: 14px; }
.eg-consent-head .eg-req { margin: 0; }
.eg-consent label { position: relative; display: inline-block; margin: -.8px 0 0; padding-right: 14px; font-size: 14px; line-height: 25.2px; }
.eg-consent input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.eg-consent label::before { content: '\2713'; display: inline-block; margin-right: 7px; padding: 8.68px; border: 1px solid #808080; background: #f0f0f0; color: #808080; font: 700 14px/1 sans-serif, 'Segoe UI Symbol'; text-align: center; opacity: .5; transition: all .4s; }
.eg-consent label:has(input:checked)::before { border-color: #f0f0f0; color: #2ea3f2; opacity: 1; }
.eg-consent label:has(input:focus-visible)::before { outline: 2px solid #f58233; outline-offset: 2px; }
.eg-consent a { color: #f58233; }
.eg-field:has(> .eg-submit) { margin-top: 8.5px; margin-bottom: 35px; }
.eg-submit { width: 100%; padding: 10.5px 18px; border: 1px solid #f58233; background: #fff; color: #f58233; cursor: pointer; font: 400 15px 'Open Sans', sans-serif; }
.eg-submit:hover { background: #f58233; color: #fff; }
.eg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.eg-form-ok, .eg-form-err { margin-bottom: 20px; padding: 12px 15px; font-size: 14px; }
.eg-form-ok { border: 1px solid #5a9e4b; color: #3f7c32; }
.eg-form-err { border: 1px solid #c00; color: #c00; }
.eg-field-error { margin-top: 5px; color: #c00; font-size: 12px; }
.has-error input { border-color: #c00 !important; }
.t-filiale { margin-top: 0; }
/* As on the previous form: one field per row from 768 px down, postal code and country side by side down to 481 */
@media (max-width: 768px) { .eg-field { width: 98%; } .eg-subfield { width: 48%; } }
@media (max-width: 480px) { .eg-subfield { width: 98%; } .eg-subfield:has(+ .eg-subfield) { margin-bottom: 6px; } }

/* ---------- Narrower screens ---------- */
@media (min-width: 769px) and (max-width: 1024px) { .eg-c > .eg-in { padding-left: 0 !important; padding-right: 0 !important; } }
@media (max-width: 980px) { .eg-home-news { max-width: calc(100% - 50px); margin: 0 auto; } }
@media (max-width: 1024px) {
    .r1617059, .eg-video { display: none; }
    .R1024 { font-size: 23px; }
    .img1024 { padding: 14% 10px 0 0 !important; }
}
@media (max-width: 768px) {
    .R1024 { font-size: 18px; }
    .R768 { font-size: 23px; }
    .img1024 { padding: 19% 10px 0 0 !important; }
    .s-decenoi p { width: 215px; }
    .s-decenoi > .eg-wrap { width: calc(100% - 45px); margin-left: 45px; }
    .s-careers > .eg-wrap { margin-top: 30px; }
    .s-careers { display: block; }
    .eg-featured { min-height: 0; }
}
@media (max-width: 530px) {
    .s-servicii .eg-text h2 { display: none !important; }
    .s-no-padding .eg-c { display: block; }
    .civil h2 { display: block !important; margin-top: 22px; font-size: 13px; line-height: 1.2; }
    .civil .breadcrumb { margin-top: -10px; font-size: 10px; line-height: 1.3; }
    .s-careers .eg-text h2 { top: -33px; }
    .eg-text.t-careerlinks p { margin-bottom: 13px; }
    .t-careerlinks p:first-child { margin-top: 15px; }
    .eg-card { margin-bottom: 40px; }
}

/* ---------- Cookie consent ---------- */
.eg-cookie-bar {
    position: fixed;
    inset: 0;
    z-index: 9900;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .37);
}
.eg-cookie-bar[hidden] {
    display: none;
}
html.eg-cookie-open {
    overflow: hidden;
}
.eg-cookie-bar-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 30%;
    padding: 10px 70px;
    background: #fff;
}
.eg-cookie-bar p {
    margin: 0;
    color: #202020;
    font-size: 14px;
    line-height: 18px;
}
.eg-cookie-bar-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}
.eg-cookie-bar-buttons button,
.eg-cookie-modal-footer button {
    border: 0;
    background: var(--eg-orange);
    color: #fff;
    font: inherit;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: all .3s ease;
}
.eg-cookie-bar-buttons button {
    margin: 3px 4px;
    padding: 8px 30px;
}
.eg-cookie-bar-buttons button:hover,
.eg-cookie-bar-buttons button:focus-visible {
    background: #202020;
}

.eg-cookie-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
    display: flex;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50px;
    background: #373737;
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
}
.eg-cookie-button[hidden] {
    display: none;
}
.eg-cookie-button:hover,
.eg-cookie-button:focus-visible {
    background: #000;
}
.eg-cookie-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}
.eg-cookie-button-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}
.eg-cookie-button-text {
    display: none;
    padding: 0 15px 0 5px;
    font: 12px/40px Arial, sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}
.eg-cookie-button:hover .eg-cookie-button-text,
.eg-cookie-button:focus-visible .eg-cookie-button-text {
    display: block;
}

.eg-cookie-modal {
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    overflow: visible;
}
.eg-cookie-modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}
.eg-cookie-modal::backdrop {
    background: rgba(0, 0, 0, .9);
}
html:has(.eg-cookie-modal[open]) {
    overflow: hidden;
}
/* The previous site's lightbox sat 2px left of the centre */
.eg-cookie-modal-box {
    position: relative;
    left: -2px;
    width: 80vw;
    max-width: 1170px;
    min-height: 600px;
    border-radius: 10px;
    background: #fff;
    color: #000;
}
.eg-cookie-modal-close {
    position: absolute;
    top: -30px;
    right: -30px;
    z-index: 99;
    width: 60px;
    height: 60px;
    padding: 0;
    border: 1px solid var(--eg-orange);
    border-radius: 50%;
    background: var(--eg-orange);
    color: #fff;
    cursor: pointer;
    transition: all .3s ease;
}
.eg-cookie-modal-close:hover,
.eg-cookie-modal-close:focus-visible {
    background: #fff;
    color: var(--eg-orange);
}
.eg-cookie-modal-close span::before,
.eg-cookie-modal-close span::after {
    content: "";
    position: absolute;
    top: calc(50% - 12px);
    left: 50%;
    width: 1px;
    height: 24px;
    background: currentColor;
    transform: rotate(45deg);
}
.eg-cookie-modal-close span::after {
    transform: rotate(-45deg);
}
.eg-cookie-modal-side {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 40%;
    height: 100%;
    padding: 40px 60px;
    border-radius: 5px 0 0 5px;
    background: #fff;
    box-shadow: 0 0 30px 0 rgba(35, 35, 35, .1);
}
.eg-cookie-modal-logo {
    margin-bottom: 30px;
}
.eg-cookie-modal-logo img {
    display: inline-block;
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 75px;
}
.eg-cookie-modal-tabs {
    margin: 0;
    padding: 0;
    list-style: none;
}
.eg-cookie-modal-tabs li {
    margin-bottom: 15px;
}
.eg-cookie-modal-tabs button {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 13px 20px;
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    background: #f1f1f1;
    color: var(--eg-orange);
    font: inherit;
    font-size: 14px;
    line-height: 1.1;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s ease;
}
.eg-cookie-modal-tabs button[aria-current] {
    background: #fff;
    color: #000;
}
.eg-cookie-modal-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    padding: 40px 60px;
    border-radius: 0 5px 5px 0;
    background: #f1f1f1;
}
.eg-cookie-modal-panel h2,
.eg-cookie-modal-panel h2 button {
    margin: 0 0 25px;
    padding: 0;
    border: 0;
    background: none;
    color: #000;
    font: inherit;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.2;
    text-align: left;
}
.eg-cookie-modal-panel h2 button {
    margin: 0;
    pointer-events: none;
}
.eg-cookie-modal-text {
    display: flex;
    flex-direction: column;
    padding: 0 20px 15px 0;
}
.eg-cookie-modal-text p {
    margin: 0 0 18px;
    font-size: 16px;
    line-height: 1.4;
}
.eg-cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 30px;
    margin: 5px 0 20px 5px;
}
.eg-cookie-switch input {
    position: absolute;
    opacity: 0;
}
.eg-cookie-switch-slider {
    position: absolute;
    inset: 0;
    border-radius: 34px;
    background: red;
    cursor: pointer;
    transition: .4s;
}
.eg-cookie-switch-slider::before {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 1px;
    width: 26px;
    height: 26px;
    border: 1px solid #f2f2f2;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, .25);
    box-sizing: content-box;
    transition: .4s;
}
.eg-cookie-switch-slider::after {
    content: attr(data-off);
    position: absolute;
    top: 0;
    left: 60px;
    color: red;
    font-size: 16px;
    line-height: 30px;
    white-space: nowrap;
}
.eg-cookie-switch input:checked + .eg-cookie-switch-slider {
    background: #2e9935;
}
.eg-cookie-switch input:checked + .eg-cookie-switch-slider::before {
    transform: translateX(20px);
}
.eg-cookie-switch input:checked + .eg-cookie-switch-slider::after {
    content: attr(data-on);
    color: #2e9935;
}
.eg-cookie-switch input:focus-visible + .eg-cookie-switch-slider {
    box-shadow: 1px 1px 5px #010101;
}
.eg-cookie-modal-warning {
    display: none;
    margin-top: 10px;
}
.eg-cookie-modal-text:has(input:not(:checked)) .eg-cookie-modal-warning {
    display: block;
}
.eg-cookie-modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 130px;
    padding: 0 58px;
    border-radius: 5px;
    background: #f1f1f1;
}
.eg-cookie-modal-footer::before {
    content: "";
    position: absolute;
    right: 60px;
    bottom: 130px;
    left: 60px;
    height: 1px;
    background: #c9c8c8;
}
.eg-cookie-modal-footer button {
    min-width: 160px;
    margin: 2px;
    padding: 15px 10px;
    border: 1px solid var(--eg-orange);
}
.eg-cookie-modal-footer button:hover,
.eg-cookie-modal-footer button:focus-visible {
    background: #fff;
    color: var(--eg-orange);
}
@media (min-width: 1000px) and (max-width: 1300px) {
    .eg-cookie-modal-box {
        min-width: 700px;
    }
    .eg-cookie-modal-side {
        padding: 30px;
    }
    .eg-cookie-modal-main {
        padding: 40px 30px;
    }
    .eg-cookie-modal-footer {
        height: 120px;
        padding: 0 28px;
    }
    .eg-cookie-modal-footer::before {
        right: 30px;
        bottom: 120px;
        left: 30px;
    }
    .eg-cookie-modal-footer button {
        min-width: auto;
        padding: 10px 30px;
    }
}
@media (min-width: 768px) and (max-width: 999px) {
    .eg-cookie-bar-box {
        padding: 10px 40px;
    }
    .eg-cookie-bar p {
        font-size: 13px;
    }
    .eg-cookie-modal-box {
        min-height: 620px;
        transform: scale(.75);
    }
    .eg-cookie-modal-side {
        padding: 30px 20px;
    }
    .eg-cookie-modal-tabs button {
        padding: 10px 15px;
        font-size: 12px;
    }
    .eg-cookie-modal-main {
        padding: 30px 20px;
    }
    .eg-cookie-modal-panel h2 {
        font-size: 24px;
    }
    .eg-cookie-modal-footer {
        height: 120px;
        padding: 0 18px;
    }
    .eg-cookie-modal-footer::before {
        right: 20px;
        bottom: 120px;
        left: 20px;
    }
    .eg-cookie-modal-footer button {
        min-width: auto;
        padding: 7px 15px;
        font-size: 13px;
    }
}
@media (min-width: 768px) and (max-height: 700px) {
    .eg-cookie-modal-box {
        min-height: 600px;
        transform: scale(.7);
    }
}
@media (max-width: 768px) {
    .eg-cookie-bar-box {
        width: 80%;
    }
}
/* Phones: the overview and, below it, the strictly necessary cookie as a heading that opens */
@media (max-width: 767px) {
    .eg-cookie-bar-box {
        display: block;
        padding: 15px;
    }
    .eg-cookie-bar p {
        margin-bottom: 10px;
        padding-left: 4px;
    }
    .eg-cookie-bar-buttons button {
        padding: 5px 20px;
        font-size: 12px;
    }
    /* The previous site's window sat 70px above the centre on phones */
    .eg-cookie-modal-box {
        display: flex;
        flex-wrap: wrap;
        width: calc(100vw - 50px);
        min-height: auto;
        max-height: 90vh;
        margin-bottom: 70px;
    }
    .eg-cookie-modal-close {
        top: -15px;
        right: -15px;
        width: 30px;
        height: 30px;
    }
    .eg-cookie-modal-close span::before,
    .eg-cookie-modal-close span::after {
        top: calc(50% - 7px);
        height: 14px;
    }
    .eg-cookie-modal-side {
        position: relative;
        width: 100%;
        height: auto;
        padding: 30px 10px 10px;
        border-radius: 5px 5px 0 0;
        text-align: center;
    }
    .eg-cookie-modal-logo {
        margin-bottom: 15px;
        text-align: left;
    }
    .eg-cookie-modal-logo img {
        max-height: 40px;
    }
    .eg-cookie-modal-tabs {
        display: none;
    }
    .eg-cookie-modal-main {
        position: relative;
        width: 100%;
        height: auto;
        padding: 15px 10px;
        border-radius: 0 0 5px 5px;
    }
    .eg-cookie-modal-panels {
        max-height: 50vh;
        margin-bottom: 80px;
        overflow: auto;
    }
    .eg-cookie-modal-panel[hidden] {
        display: block;
    }
    .eg-cookie-modal-panel h2 {
        margin-bottom: 25px;
        font-size: 16px;
    }
    .eg-cookie-modal-text {
        padding: 0;
    }
    .eg-cookie-modal-text p {
        font-size: 14px;
        line-height: 1.3;
    }
    .eg-cookie-modal-panel + .eg-cookie-modal-panel h2 {
        margin: 10px 0 0;
    }
    .eg-cookie-modal-panel h2 button {
        position: relative;
        display: block;
        width: 100%;
        padding: 10px 10px 10px 30px;
        border: 1px solid #fff;
        border-radius: 5px;
        background: #fff;
        font-size: 16px;
        pointer-events: auto;
        cursor: pointer;
    }
    .eg-cookie-modal-panel h2 button::before {
        content: "\203A";
        position: absolute;
        top: 0;
        bottom: 2px;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        font: 24px/1 Georgia, serif;
    }
    .eg-cookie-modal-panel + .eg-cookie-modal-panel .eg-cookie-modal-text {
        display: none;
        padding: 10px;
        background: #fff;
    }
    .eg-cookie-modal-panel + .eg-cookie-modal-panel h2 button[aria-expanded="true"] + .eg-cookie-modal-text,
    .eg-cookie-modal-panel + .eg-cookie-modal-panel:has([aria-expanded="true"]) .eg-cookie-modal-text {
        display: block;
    }
    .eg-cookie-switch {
        width: 40px;
        height: 24px;
        margin: 0 0 15px;
    }
    .eg-cookie-switch-slider::before {
        width: 20px;
        height: 20px;
    }
    .eg-cookie-switch input:checked + .eg-cookie-switch-slider::before {
        transform: translateX(16px);
    }
    .eg-cookie-switch-slider::after {
        font-size: 12px;
        font-weight: 800;
        line-height: 24px;
    }
    /* Two rows, as on the previous site, but kept inside the window */
    .eg-cookie-modal-footer {
        flex-wrap: wrap;
        align-content: center;
        height: 80px;
        padding: 5px 8px 6px;
    }
    .eg-cookie-modal-footer::before {
        right: 10px;
        bottom: 80px;
        left: 10px;
    }
    .eg-cookie-modal-footer button {
        min-width: auto;
        margin: 2px;
        padding: 5px 15px;
        font-size: 12px;
        line-height: 18px;
    }
}