.navbar-brand svg {
    height: 24px;
    vertical-align: text-top;
}

::placeholder {
    opacity: 0.4 !important;
}

.smaller {
    font-size: 0.75em;
}

.supersmall {
    font-size: 0.35em;
}

.text-shadow {
    text-shadow: 1px 1px 2px black;
}

label.required:before {
    content:"*";
    color: #8f0707;
}

.navbar-dark {
    background: transparent !important;
}

.tooltip-trigger {
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.bg-opacity-5 {
    --bs-bg-opacity: 0.05;
}

[data-bs-theme=dark] .offers-list em {
    background: rgb(var(--bs-success-rgb), 0.6);
}

[data-bs-theme=dark] .badge.text-bg-dark {
    background-color: var(--bs-light-bg-subtle) !important;
}

header {
    background: rgb(0,9,20);
    background: linear-gradient(49deg, rgba(0,9,20,1) 0%, rgba(9,45,93,1) 38%, rgba(2,52,119,1) 51%, rgba(4,46,102,1) 86%, rgba(4,43,96,1) 100%);
}

[data-bs-theme="dark"] header {
    background: rgb(5,10,20);
    background: linear-gradient(49deg, rgba(5,10,20,1) 0%, rgba(15,30,60,1) 30%, rgba(20,40,70,1) 50%, rgba(25,30,60,1) 70%, rgba(10,20,40,1) 100%);

}

.jumbosearch {
    background: transparent !important;
}

#basic-search input[type=text] {
    border-right: 0 !important;
}

#basic-search .input-group-text {
    /*border-left: 0 !important;*/
}


/* offers list */

.offer-list-heading {
    border-left: 5px solid rgb(var(--bs-success-rgb), 0.8);
}

.offer-list-heading .highlighted {
    border-left: 5px solid rgb(var(--bs-success-rgb), 0.8);
}

.offer-list {
    cursor: pointer;
}

.offer-row {
    border-left: 5px solid rgb(var(--bs-success-rgb), 0.8);
}

.offer-row:hover {
    background-color: rgb(var(--bs-secondary-rgb), 0.1) !important;
}

.offer-row:hover a.btn-quick-apply {
    display: none !important;
    position: absolute;
    right: 10px;
    top: 6px;
    z-index: 1000 !important;
}

@media (min-width: 992px) {
    .offer-row:hover a.btn-quick-apply {
        display: inline-block !important;
    }
}

.offer-row em {
    font-weight: normal !important;
    font-style: normal !important;
    background: rgb(var(--bs-warning-rgb), 0.3) !important;
}

.offer-row.offer-last-visited {
    border-left: 5px solid rgb(var(--bs-danger-rgb), 1) !important;
}

.offer-row.offer-visited {
    opacity: 0.75;
    background-color: rgb(var(--bs-secondary-rgb), 0.1) !important;
    border-left: 5px solid rgb(var(--bs-secondary-rgb), 0.8);
}

.offer-row.offer-visited:hover {
    background-color: rgb(var(--bs-secondary-rgb), 0.2) !important;
}

.offer-row.offer-highlighted {
    background-color: rgb(var(--bs-primary-rgb), 0.2) !important;
    border-bottom-color: rgb(var(--bs-primary-rgb), 0.25) !important;
    border-left: 5px solid rgb(var(--bs-primary-rgb), 0.8);
}

.offer-row.offer-highlighted.offer-visited {
    border-left: 5px solid rgb(var(--bs-primary-rgb), 0.2);
}

.offer-row.offer-highlighted:hover {
    background-color: rgb(var(--bs-primary-rgb), 0.3) !important;
}

/* partners */
img.theme-dark {
    display: none;
}

[data-bs-theme="dark"] img.theme-light {
    display: none;
}

[data-bs-theme="dark"] img.theme-dark {
    display: inline;
}

.partners img {
    max-height: 80px;  /* Adjust height as needed */
    width: auto;       /* Maintain aspect ratio */
}