:root {
    --colors-wilo-green: #009C82;
    --bs-popover-arrow-border: red;
}

/**
$wilo-green: #009C82;
$wilo-dark: #363640;
$wilo-grey: #5E5E67;
$wilo-lightgrey-font: #B5B7B8;
$wilo-darkgrey: #4A4A4A;
$wilo-lightgrey-box: #E9EAEA;
$wilo-yellow: #FFB400;
$wilo-blue:#022E4A;
*/
@font-face {
    font-family: 'WILOPlusFMBold';
    src: url('/fonts/wiloplusfmbol-webfont.eot');
    src: url('/fonts/wiloplusfmbol-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/wiloplusfmbol-webfont.woff') format('woff'),
    url('/fonts/wiloplusfmbol-webfont.ttf') format('truetype'),
    url('/fonts/wiloplusfmbol-webfont.svg#WILOPlusFMBold') format('svg');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'WILOPlusFMRegular';
    src: url('/fonts/wiloplusfmreg-webfont.eot');
    src: url('/fonts/wiloplusfmreg-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/wiloplusfmreg-webfont.woff') format('woff'),
    url('/fonts/wiloplusfmreg-webfont.ttf') format('truetype'),
    url('/fonts/wiloplusfmreg-webfont.svg#WILOPlusFMRegular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'WILOPlusFMItalic';
    src: url('/fonts/wiloplusfmita-webfont.eot');
    src: url('/fonts/wiloplusfmita-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/wiloplusfmita-webfont.woff') format('woff'),
    url('/fonts/wiloplusfmita-webfont.ttf') format('truetype'),
    url('/fonts/wiloplusfmita-webfont.svg#WILOPlusFMItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}
@font-face {
    font-family: 'WILOPlusFMBoldItalic';
    src: url('/fonts/wiloplusfmbolita-webfont.eot');
    src: url('/fonts/wiloplusfmbolita-webfont.eot?#iefix') format('embedded-opentype'),
    url('/fonts/wiloplusfmbolita-webfont.woff') format('woff'),
    url('/fonts/wiloplusfmbolita-webfont.ttf') format('truetype'),
    url('/fonts/wiloplusfmbolita-webfont.svg#WILOPlusFMBoldItalic') format('svg');
    font-weight: normal;
    font-style: italic;

}

.no-underscore {
    text-decoration: none;
}

.selected:before {
    color: #009C82;
    font-weight: bolder;
}
.viewChange {
    width: 4em;
    text-align: center;
}
.viewChange:hover .selected {
    display: none;
}

body {
    color: #393939;
}
table.results td {
    color: #393939;
}

table.results td img.thumb {
    height: 1.5em;
}
table.results th.long-text {
    font-size: 14px;
}
.bg-green {
    background-color: #009C82;
}

.bg-green-border {
    border: 2px solid #009C82;
    background-color: #FFF;
    font-weight: bold;
}
.badge-promotion {
    border: 2px solid #FFB400;
    background-color: #FFB400;
    color: #000;
    font-weight: bold;
    margin: 0 2px 0 2px;
}

.bg-orange {
    background-color: #FFB400;
}

.resultCard {
    margin: 10px 0px;
}

.resultCard {
    position: relative;;
}

.resultCard:hover {
    border-color: #009C82;
}

.resultCards .resultCard .cardActions {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.standalone #contentContainer {
    padding-bottom: 40px;
}
.standalone .wilo-app-footer {
    position: fixed;
    bottom: 0;
}
.wilo-app-footer {
    padding: 1.0rem 0;
    text-align: center;
    background-color: #f9f9f9;
    border-top: .05rem solid #e5e5e5;
}
.content-header {
    height: 156px;
    background-color: #111;
    color: white;
    background-size: 100% 100%;
    border-radius: 0 35px 0 0;
    margin-bottom: 15px;
    padding: 2px;
}

body.feature-oldHeader .content-header {
    background-color: #575756;
    background-image: url(/img/promo/header_bg.png);
}

#viewChange {
    background-color: #E9EAEA;
}
.content-header-body {
    height: 152px;
    padding: 4px 10px;
    background-position-y: 57%;
    background-position-x: right;
    background-size: contain;
    background-repeat: no-repeat;
}

.content-header h1 {
    font-size: 40px;
    padding: 40px 0 0 15px;
    color: #FFF;
    font-weight: bold;
}

.content-header-helix {
    background-image: url(/img/promo/baner_helix.png);
}
.content-header-pico {
    background-image: url(/img/promo/baner_pico.png);
}
.content-header-maxo {
    background-image: url(/img/promo/baner_maxo.png);
}

.content-header-5_years_first {
    background-image: url(/img/promo/5_years_first.png);
}
.content-header-5_years_second {
    background-image: url(/img/promo/5_years_second.png);
}

.content-header-atmos_pico {
    background-image: url(/img/promo/atmos_pico.png);
}

.btn-primary {
    align-items: center;
    background-color: #363640;
    border-color: #363640;
    color: #fff;
}

.btn:hover, .btn:active, .btn:focus {
    background-color: #009c82;
    border-color: #009c82;
}

body.standalone table.results thead.header {
    position: sticky;
    top: 80px;
}

body.embedded table.results thead.header {
    position: sticky;
    top: 0px;
}

.searchResult a.copyToClipboard {
    color: var(--bs-card-color);
}
table.searchResult a.askForAvailability {
    display: none;
    width: 80%;
}

.searchResult:hover a.askForAvailability {
    display: inline;
}

.searchResult i.bi {
    font-size: 1.25em;
    margin-left: 0.25em;
    color: #009c82;

}

tr.searchResult i.bi:hover {
    color: #009c82;
}

.searchResult .actionsWrapper {
    display:flex;
    justify-content: end;
}

.searchResult .badge .bi {
    color: #FFF;
}

.readyPlaceholder {
    height: 450px;
    width: 80%;
    margin: auto;
    display: block;
}
body.embedded .container, body.embedded .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

nav.navbar {
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}
table.results td.aligned, table.results th.aligned {
    text-align: center;
}

table.results td.bold, .pump-card .bold {
    font-weight: bold;
}
table.results td.wide {
    width: 45%;
}
table.results td.narrow, table.results th.narrow {
    width: 10%;
}
table.results td.extra-small, table.results th.extra-small {
    width: 5%;
}

.searchResult {
    position: relative;
}

.actionsContainer {
    white-space: nowrap;
    display: flex;
    gap: 5px;
}

.actionsContainer i {
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
}

.actionsContainer i:hover {
    color: #363640; /* Change color on hover */
    transform: scale(1.2); /* Slightly enlarge on hover */
}

a {
    color: #009C82;
    text-decoration: none;
}

body.embedded .content-header {
    margin-top: 10px;
}

@media screen and (max-width: 890px) {

    .input-group-lg {
        font-size: 1em;
    }
    .content-header {
        height: 100%;
        border-radius: 0 15px 0 0;
    }
    .content-header h1 {
        padding: 20px 0 10px;
        font-size: 18px;
    }
    .content-header-body {
        padding: 0 25px 0 5px;
        height: 64px;
    }
    img.logo {
        width: 90px;
    }
    table.results th {
        font-size: 11px;
    }
    table.results th.long-text {
        font-size: 10px;
    }
    table.results td {
        font-size: 12px;
    }
    body {
        font-size: 0.75rem;
    }
    body.standalone table.results thead.header {
        top: 55px;
    }
}

@media screen and (max-width: 640px) {
    .container-fluid {
        padding-right: 5px;
        padding-left: 5px;
    }
}

.unselectable {
    user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
}

.itemPopover {
    max-width: 560px;
    width: calc(100% - 20px);
}

.itemPopover img {
    max-height: 220px;
}

table.wiloStyle {
    border-collapse: separate;
    border-spacing: 0 5px;
    position: relative;
    width: 100%;
}

table.wiloStyle tr {
    background-color: #f1f1f1;
}

table.wiloStyle td {
    background-color: #f1f1f1;
    border-bottom: 1px solid #505050;
    border-right: 1px solid #fff;
    color: #505050;
    padding: 8px 6px;
    text-align: left;
    z-index: 1;
}

table.wiloStyle tr:nth-child(2n) {
    background-color: #fcfcfc;
}
table.wiloStyle tr:nth-child(2n) td {
    background-color: #fcfcfc;
    border-right: 1px solid #f1f1f1;
}

#prerenderedClipboard {
    display: block;
    height: 1px;
    overflow: hidden;
}

.flyout {
    position: fixed;
    right: -55px;
    top: 17%;
    transform: translateY(-50%);
    background: #ffb400;
    border-radius: 12px 0 0 12px;
    padding: 5px 20px;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.flyout:hover {
    right: 0;
}


.flyout a {
    display: flex;
    flex-direction: column;     /* icon above, text below */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #1a1d20;
}

.flyout a i {
    font-size: 2rem;          /* Big cart icon */
    margin-bottom: 5px;
}

.flyout a span {
    font-size: 0.75rem;         /* Smaller label text */
    color: rgba(0,0,0,0.7);     /* Slightly muted */
}