@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

@media (prefers-color-scheme: light) {
    body {
        color: #333333;
        background-color: #F6F6F6;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        color: #212121;
    }

    .date {
        color: #808080;
    }

    .btn {
        box-shadow: 2px 2px 10px #dbdbdb;
    }

    .card {
        background-color: #FFF;
    }

    .wtg-navbar {
        color: #fff;
        box-shadow: 2px 2px 10px #dbdbdb;
    }

    ul.wtg-sitemenu li a,
    ul.wtg-sitemenu li .nav-link {
        border-left: 5px solid transparent;
    }

    .wtg-sitemenu li a:hover,
    .wtg-sitemenu li .nav-link:hover {
        background-color: #F0F0F0;
        border-left: 5px solid #db4437;
    }

    ul.wtg-sitemenu li.active a,
    ul.wtg-sitemenu li.active .nav-link {
        border-left: 5px solid #8bcfe5;
        color: #1A4E8F;
    }

    .content-row {
        background-color: #FFF;
        border: 1px solid #CCC;
        box-shadow: 0 8px 17px 0 #dbdbdb, 0 6px 20px 0 #dbdbdb;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        color: white;
        background-color: black;
    }

    a {
        color: #98b5de;
        text-decoration: none;
    }

    .form-control {
        background-color: #eee;
        color: #333;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h1,
    .h2,
    .h3,
    .h4,
    .h5,
    .h6 {
        color: white;
    }

    .date {
        color: white;
    }

    .present-title {
        color: white;
    }

    .card {
        background-color: #222;
    }

    .btn-secondary {
        background-color: #eee;
        color: #333;
    }

    ul.wtg-sitemenu li a,
    ul.wtg-sitemenu li .nav-link {
        border-left: 5px solid transparent;
        color: white;
    }

    .wtg-sitemenu li a:hover,
    .wtg-sitemenu li .nav-link:hover {
        background-color: #222;
        border-left: 5px solid #db4437;
    }

    ul.wtg-sitemenu li.active a,
    ul.wtg-sitemenu li.active .nav-link {
        border-left: 5px solid #db4437;
        color: #8bcfe5;
    }

    .content-row {
        background-color: #222;
        border: none;
        box-shadow: none;
    }

    /* Ensure all text is visible in Safari dark mode */
    label,
    .form-label,
    .form-check-label,
    .card-title,
    .modal-title,
    .modal-body,
    .modal-body p,
    .input-group-text,
    p,
    li,
    span,
    strong,
    b,
    dt,
    dd {
        color: white;
    }

    .text-primary {
        color: #8bcfe5 !important;
    }

    .form-text.text-muted,
    small.text-muted {
        color: #aaa !important;
    }

    .modal-content {
        background-color: #222;
        color: white;
    }

    .btn-close {
        filter: invert(1);
    }
}

body {
    font-family: 'Inter', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    margin-bottom: 30px;
}

b,
strong {
    font-weight: 500;
}

dt,
dd {
    line-height: 2;
    font-weight: 400;
}

label {
    display: inline;
    margin-left: 5px;
    font-weight: 400;
}

@media(min-width:768px) {
    .navbar-header a {
        margin-left: 0 !important;
    }

    .img-fluid {
        margin-top: 7px;
    }

    .wtg-sitemenu li a {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.clearall {
    clear: both;
}

.btn {
    font-family: 'Inter', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 1.0em;
    font-weight: 500;
    border-radius: 30px;
}

.btn-primary,
.btn-primary:hover {
    background-color: #DB4437;
    border-color: #DB4437;
}

.btn-secondary:hover {
    background-color: #FFF;
}

.date {
    font-family: 'Inter', Roboto, Arial;
    font-weight: 300;
    font-size: 1.8em;
    letter-spacing: -1px;
}

.badge-mywishlist {
    color: #31708F !important;
    background-color: #D9EDF7;
}

.badge-wishlist {
    color: #808080 !important;
    background-color: #dbdbdb;
    font-family: 'Inter', Roboto, Arial;
    font-weight: 300;
}

.hint {
    color: #808080;
    font-weight: 300;
}

.margintop {
    margin-top: 10px;
}

.wtg-navbar {
    background-color: #db4437;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.navbar-toggler .navbar-toggler-icon {
    background-color: #ffffff !important;
}

.navbar-toggler {
    border-color: #db4437;
}

.navbar-header {
    margin-top: 0;
}

.navbar-header a,
.navbar-brand {
    font-family: 'Inter', 'Open Sans', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 22px;
    letter-spacing: -0.75px;
    font-weight: 400;
    margin-left: 25px;
    margin-top: 0;
    color: #fff !important;
}

.navbar-header a:hover,
.navbar-brand:hover {
    text-decoration: none;
    color: #fff !important;
}

.card {
    border: 0 none;
    border-radius: 2px;
    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.card .card-body {
    padding: 15px;
}

.navbar-nav {
    line-height: 50px;
}

.wtg-sitemenu li {
    font: 400 18px 'Google Sans', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
}

.wtg-sitemenu li a {
    font: 400 14px Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    display: block;
    padding: 6px 15px;
    text-decoration: none;
    color: inherit;
}

.wtg-sitemenu li a span {
    color: #808080;
    font-weight: 400;
}

ul.wtg-sitemenu li {
    padding: 3px 0;
    list-style: none;
}

ul.wtg-sitemenu li.active a {
    font: 500 18px Roboto, Arial;
}

ul.wtg-sitemenu {
    padding-left: 0;
}

.row {
    padding-top: 8px;
    padding-bottom: 8px;
    border-radius: 5px;
}

.padding15 {
    padding: 15px;
}

.content-row {
    margin-bottom: 10px;
}

.present img.thumbnail {
    padding: 3px;
    border: solid 1px #DDDDDD;
}

.present a img.thumbnail {
    cursor: pointer;
}

.present a:hover img.thumbnail {
    border: solid 1px #3350AC;
}

.star {
    color: #f6c011;
}

.present .star {
    font-size: 22px;
}

.present-title {
    font-size: 18px;
    font-family: 'Inter', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 400;
}

.domain {
    color: #808080;
    font-size: 12px;
    font-weight: 300;
}

.present-description {
    font-weight: 300;
}

.bought .thumbnail {
    opacity: 0.4;
}

.bought .present-title,
.bought .domain,
.bought .present-description {
    text-decoration: line-through;
}

.boughtText {
    color: #44B449;
    font-weight: 500;
    font-family: 'Inter', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-size: 1.1em;
}

input,
button,
select,
textarea {
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Inter', Roboto, Arial, 'Helvetica Neue', Helvetica, sans-serif;
    font-weight: 500;
    line-height: 1.1;
    font-size: 2.0em;
    letter-spacing: -1px;
    margin-top: 0;
    margin-bottom: 0;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}