@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

header nav.navbar {
    z-index: 1000;
}

div.banner {
    background-color: #e1e1e1;
    background-image: url(/img/wafa_banner.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
    text-align: center;
    width: 100%;
    height: 220px;
    background-size: cover;
}

    div.banner img.logo {
        width: 150px;
        height: 150px;
    }

    div.banner img.tagline {
        width: 500px;
    }

    .header .home {
        background-image: url('/img/marketplace_header_3000x500.jpg');
        background-size: cover;
    }

nav.navbar {
    /*background-color: rgba(255,255,255,0.9);*/
    background-color: #ffffff;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    /*        box-shadow: 0px 2px 3px rgba(68, 68, 68, 0.2);*/
}

.bg-pale {
    background-color: #edc9db;
}
.home-box {
    height: 250px;
}

legend {
    color: #c7508c;
    text-transform: uppercase;
    font-size: 1.25em;
}

    legend a {
        color: #c7508c;
    }

a {
    text-decoration: underline;
    color: #c7508c;
    text-underline-offset: 0.2rem;
    cursor: pointer;
}

    a:hover {
        text-decoration: none;
    }

    a.searchLink {
        color: #000000;
    }

    a.stretched-link {
        text-decoration: none;
    }

table#results tr:hover {
    text-decoration: underline;
}

div#attributes {
    color: #616a2e;
}

p {
    text-align: justify;
}

ol {
    padding-left: 1rem;
}

img.competition-icon {
    width: 30px;
}

.logo-placeholder-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
}

img.logo-placeholder {
    max-width: 200px;
    max-height: 200px;
    width: auto;
    height: auto;
}

img.bottle-placeholder {
    max-width: 150px;
    max-height: 150px;
    width: auto;
    height: auto;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

    .image-gallery::after {
        content: "";
        flex-grow: 999;
    }

    .image-gallery > li {
        height: 200px;
        flex-grow: 1;
        cursor: pointer;
        position: relative;
    }

        .image-gallery > li video {
            height: 200px;
        }
.image-gallery li img {
    object-fit: cover;
    min-width: 100%;
    height: 100%;
    vertical-align: middle;
    border-radius: 5px;
}

.overlayImg {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(68, 68, 68, 0.58);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-gallery li:hover .overlayImg {
    transform: scale(1);
}


footer img {
    height: 60px;
    width: 219px;
}

.sticky-offset {
    /*top: 90px;*/
    top: 175px;
    z-index: 999;
    height: calc(100vh - 10rem);
    overflow-y: auto;
}

a.navbar-brand img {
    height: 100px;
}

footer div.footerIcons img {
    width: 15px;
    height: 15px;
}

footer span.u-d:before {
    content: attr(data-d) "\0040" attr(data-u);
    unicode-bidi: bidi-override;
    direction: rtl;
}

.tagline {
    width: 400px;
}

.search-container {
    position: relative;
}

.search-input {
    height: 50px;
    border-radius: 30px;
    padding-left: 40px;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #888;
}

.navbar-collapse.collapsing, .navbar-collapse.collapse.show {
    padding: 1.5rem;
}

.navbar-nav .nav-item {
    position: relative
}

.navbar-nav a.nav-link {
    color: #272727;
}

    .navbar-nav a.nav-link.active::before, .navbar-nav a.nav-link:hover::before {
        content: "";
        position: absolute;
        left: 0.5rem;
        right: 0.5rem;
        bottom: -3px;
        height: 3px;
        background-color: #c7508c;
    }

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto Condensed";
    color: #c7508c;
    text-transform: uppercase;
}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        text-transform: none;
    }

    .subheader {
        color: #444444;
        text-align: center;
    }
h1.text-secondary, h2.text-secondary, h3.text-secondary, h4.text-secondary, h5.text-secondary, h6.text-secondary {
    font-weight: normal;
    color: #444444;
}

footer h1, footer h2, footerh3, footer h4, footer h5, footer h6 {
    color: #ffffff;
}

.form-floating label {
    z-index: 0;
}

.title-grey {
    color: #444444;
}

.subtitle {
    color: #808080;
}

.fs-6 {
    font-size: 0.9rem !important;
}

.fs-7 {
    font-size: 0.85rem !important;
}

.fs-8 {
    font-size: 0.75rem !important;
}

div.spinner-grow {
    color: #c7508c;
}

span.userInitials {
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    border-radius: 50%;
    background: #c7508c;
    vertical-align: middle;
    margin-right: 0.5em;
    color: white;
}

div.card-header h1, div.card-header h2, div.card-header h3, div.card-header h4, div.card-header h5, div.card-header h6 {
    margin-bottom: 0;
}

.card-footer {
    border-top: none;
    background-color: #ffffff;
}

    .card-footer.sticky-bottom {
        z-index: 0;
    }

.card.card-primary {
    background-color: #c7508c;
    color: #ffffff;
    background-image: var(--bs-gradient);
}

    .card.card-primary h5 {
        color: #ffffff;
    }

.card.hero {
    border: 2px solid #acacac;
    box-shadow: 0 0 1rem rgba(0, 0, 0, 0.20);
}

section.banded {
    /*background-color: #8699b5;*/
    background-color: #6c757d;
    color: #ffffff;
}

.ml-auto, .mx-auto {
    margin-left: auto !important;
}

.bg-primary {
    background-color: #c7508c !important;
}

.btn.btn-link {
    text-decoration: none;
    margin-left: -2px;
    padding-left: 0;
}

.btn-outline-primary {
    --bs-btn-color: #c7508c;
    --bs-btn-bg: #f4dfea;
    --bs-btn-border-color: #c7508c;
    --bs-btn-hover-color: #c7508c;
    --bs-btn-hover-bg: #f4dfea;
    --bs-btn-hover-border-color: #c7508c;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #c7508c;
    --bs-btn-active-bg: #f4dfea;
    --bs-btn-active-border-color: #c7508c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #f4dfea;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #f4dfea;
    --bs-gradient: none;
}

.btn-primary, #admin-dashboard .btn-primary.highlight {
    --bs-btn-color: #fff;
    --bs-btn-bg: #c7508c;
    --bs-btn-border-color: #c7508c;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #b23e78;
    --bs-btn-hover-border-color: #b23e78;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #b23e78;
    --bs-btn-active-border-color: #e25a9e;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #c7508c;
    --bs-btn-disabled-border-color: #c7508c;
}

.btn.dropdown-toggle.btn-light {
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #ffffff;
    --bs-btn-hover-bg: #ffffff;
    --bs-btn-hover-border-color: #ffffff;
    --bs-btn-focus-shadow-rgb: 255,255,255;
    --bs-btn-active-color: #444444;
    --bs-btn-active-bg: #ffffff;
    --bs-btn-active-border-color: #ffffff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
    padding: 1rem 0.75rem;
    border: 1px solid #dddddd;
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    color: #444444;
}

    .btn.dropdown-toggle.btn-light:active, .btn.dropdown-toggle.btn-light:focus {
        border: none;
    }


button[class^='btn-outline-'] .btn-label, button[class*='btn-outline-'] .btn-label {
    background: none;
    border-right: 1px solid;
}

.btn-labeled {
    padding-top: 0;
    padding-bottom: 0;
}

.btn-check:checked + .btn {
    border-color: #c7508c;
    background-color: #f4dfea;
}

.btn-upload-logo {
    position: absolute;
    top: 120px;
    left: 60px;
}

.btn-upload-bottleshot {
    position: absolute;
    left: 50px;
}

label.selectpicker-label {
    transform: translateY(-0.5rem);
    font-size: 0.85rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    overflow: hidden;
    text-align: start;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
    border: var(--bs-border-width) solid transparent;
    transform-origin: 0 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
    color: rgba(33,37,41,0.65);
}

    label.selectpicker-label:not(.no-val)::after {
        content: "*";
        color: #ff0000;
        inset: auto;
        padding-left: 3px;
    }

.medal-trophy {
    color: #68478c;
}

.medal-bronze {
    color: #a77044;
}

.medal-silver {
    color: #a7a7ad
}

.medal-gold {
    color: #d6af36;
}

.medal-commended {
    color: #4169e1;
}

footer a.contact {
    text-decoration: underline;
}

.bg-footer {
    background-color: #444444;
}

    .bg-footer a {
        color: #efefefef;
    }

    .bg-footer svg path, .bg-footer svg rect, .bg-footer svg ellipse {
        fill: #ffffff;
    }

@media (max-width: 992px) {
    div.col.wafa-banner {
        display: flex;
        flex-direction: column-reverse;
    }
    a.navbar-brand img {
        height: 60px;
    }

}
