﻿html, body {
    font-family: Barlow, sans-serif;
    height: 100%;
    background-color: #f8f8f8 !important;
}

@media screen and (min-width: 1200px) {
    /* Styles go here */
    body {
        margin-left: auto;
        margin-right: auto;
        max-width: 1440px;
    }
}


.hide-desktop{
    display: none;
}

.main-content {
    min-height: 900px;
}

.h1-default {
    font-family: Barlow !important;
    font-size: 40px !important;
    color: #000;
    font-weight: normal;
}

h1 {
    font-family: Barlow;
    font-size: 65px;
    color: #000;
    font-weight: normal;
}

h2 {
    font-family: Barlow;
    font-size: 40px;
    color: #000;
    font-weight: normal;
}

h3 {
    font-family: Barlow;
    font-size: 30px;
    color: #000;
    font-weight: 400 !important;
}

h4 {
    font-family: Barlow;
    font-size: 20px;
    color: #000;
    font-weight: normal;
}


p {
    font-family: Barlow;
    font-size: 19px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.85;
    letter-spacing: normal;
    color: #000;
}

li p {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
}

a {
    color: inherit !important;
    text-decoration: none;
}

ul {
    list-style: inherit;
}

.rich-text p a {
    color: #000 !important;
}

a:hover {
    color: inherit !important;
}

a, .btn-link {
    color: #006bb7;
}

    .btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
        /*box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;*/
        box-shadow: none;
        background-color: none !important;
    }

input:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #000;
}

/* Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

button:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: none !important;
}

.btn:focus {
    outline: thin dotted;
    outline: none !important;
    border-color: none !important;
}

.btn:focus-visible, a:focus-visible, button:focus-visible {
    box-shadow: none !important;
    outline: 1px solid white !important;
    border-color: white !important;
}

.banner-left a:focus-visible {
    box-shadow: none !important;
    outline: 1px solid black !important;
    border-color: black !important;
}


.btn {
    border-radius: 0 !important;
    padding: 10px 40px;
    font-size: 17px;
}

    .btn:hover {
        color: inherit !important;
    }

.btn-primary {
    color: #000000;
    background-color: #8cd4ba;
    border: solid 1px #8cd4ba;
}

    .btn-primary:hover {
        background-color: #65be9e;
        border: solid 1px #65be9e;
    }

    .btn-primary:disabled {
        background-color: #8cd4ba;
        border: solid 1px #8cd4ba;
    }

    .btn-primary:focus {
        background-color: #65be9e;
        outline: none !important;
        border-color: #8cd4ba !important;
    }

.btn-secondary {
    border: solid 1px #0f3408;
    color: #0f3408;
    background-color: transparent;
}

    .btn-secondary:hover {
        background-color: #996688;
        border: solid 1px #996688;
        color: #fff !important;
    }

    .btn-secondary:focus {
        outline: none !important;
        border-color: #996688 !important;
    }

.btn-secondary-selected {
    border: solid 1px #996688;
    background-color: #996688;
    color: #fff !important;
}

.small-btn {
}


.btn-text {
    color: #0f3408;
}

    .btn-text:hover {
        background-color: #dceee8;
    }

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXR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Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* General Header Styles */
.header {
    background-color: #0f3408;
    color: #fff;
    font-family: 'Barlow', sans-serif;
    padding: 22px 44px 20px 38px;
    top: 0;
    left: 0;
    width: 100%; /* Ensure it spans the full width */
    z-index: 2000; /* Ensure it appears above other content */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: add shadow for visibility */
}

.header-left {
    padding: 0;
}

.header-right {
    padding: 0;
}

.header-right-top {
    display: flex;
    gap: 26px; /* Space between icons */
}

    .header-right-top .btn-link {
        text-decoration: none;
        font-size: 12.5px;
        color: #fff;
        padding: 0;
    }

        .header-right-top .btn-link i {
            margin-right: 5px; /* Adjust icon spacing */
            font-size: 18px; /* Adjust icon size */
        }

        .header-right-top .btn-link:hover {
            text-decoration: underline;
        }

/* Bottom Navigation Menu */
.header-nav {
    display: flex;
    justify-content: flex-end; /* Align to the right */
    gap: 20px;
    padding-top: 40px; /* Space above bottom row */
}

    .header-nav .nav-link {
        color: #fff;
        font-size: 20px;
        padding: 8px 15px;
    }

        .header-nav .nav-link:hover {
            text-decoration: underline;
        }


.top-header-items {
    font-size: 15px !important;
    font-weight: normal;
    text-transform: uppercase;
}

.logout-btn {
    padding-right: 16px !important;
}



/*.diamond-img {
    height: 290px;
}*/


.show-mobile {
    display: none !important;
}

.mud-primary-text {
    color: #976186 !important;
}

.mud-secondary-text {
    color: #d8ece9 !important;
}

.list-group-item {
    font-size: 20px !important;
}

.error-code {
    font-size: 200px;
    font-weight: 600;
}


.diamond-shape-icon {
    display: inline-block;
    text-align: center;
    border: solid 1px transparent;
    margin: 10px;
    cursor: pointer;
}

@media (min-width: 992px) {
    .diamond-shape-icon:hover {
        border: solid 1px #000;
    }
}

    .diamond-shape-icon p {
        font-size: 16px;
        font-weight: 600;
    }

    .diamond-shape-selected {
        border: solid 1px #000;
    }

    .filter-radio {
        width: 36px;
        height: 36px;
        accent-color: #ca7ab0;
    }

    .mud-slider.mud-slider-large .mud-slider-filled {
        height: 11px;
    }

    .mud-grid-item {
        padding-top: 0 !important;
    }

    .mud-range-container {
        margin: 0;
    }

    .filter-text-label {
        font-size: 17px;
        color: #0f3408;
        letter-spacing: 1.7px;
        cursor: pointer;
        text-transform: uppercase;
    }

    .reset-filter-btn:hover {
        text-decoration: underline;
    }

    .filter-bg {
        background-color: #ecf1f0;
    }

    .slider-values {
        background-color: #d8ece9;
        font-size: 16px;
        padding: 4px 6px;
    }

    .slider-input {
        background-color: #d8ece9;
        width: 50px;
        text-align: center;
    }

    .slider-input-small {
        background-color: #d8ece9;
        width: 26px;
        text-align: center;
    }


    .form-label {
        font-size: 20px;
        font-weight: 600;
        color: #000;
    }

    .form-control {
        padding: 10px 14px;
        border: solid 1px #0f3408;
        border-radius: 0;
        font-size: 17px;
        text-transform: uppercase;
        color: #0f3408;
    }

        .form-control:focus {
            border-color: #000;
        }

    .custom-switch {
        display: inline-flex !important;
    }

        .custom-switch > label {
            align-self: center;
            margin-left: 30px;
        }

        .custom-switch > input {
            width: 94px !important;
            height: 47px !important;
            background-color: #d9d9d9;
            border: 0;
            cursor: pointer;
        }

    .form-check-input:checked {
        background-color: #8cd4ba;
        border-color: #8cd4ba;
    }

    ::placeholder {
        color: #0f3408 !important;
        opacity: 1; /* Firefox */
    }

    .search-btn {
        width: 275px;
        height: 60px;
    }

    .reset-filter-btn {
        align-items: center;
        display: inline-grid;
    }

    .radio-padding {
        padding: 40px 0px 40px 30px;
    }

    .login-modal {
        background-color: #ecf1f0;
        padding: 20px 40px 40px 40px;
    }

        .login-modal .close-button {
            position: fixed;
            top: 8px;
            right: 8px;
        }

    .diamond-color-icon {
        padding: 8px;
        border: solid 1px transparent;
        cursor: pointer;
    }

        .diamond-color-icon:hover {
            border: solid 1px #000;
            border-radius: 50%;
        }

    .diamond-color-icon-selected {
        border: solid 1px #000;
        border-radius: 50%;
    }

    .diamond-card-divider {
        margin: 12px 0;
        color: transparent;
        border-bottom: 1px solid #d9d9d9;
        height: 1px;
        opacity: 1;
    }

    .order-icons {
        cursor: pointer;
    }

    .filter-btn {
        padding: 4px 20px;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }

    .filter-label {
        font-size: 17px;
        line-height: 1.36;
        letter-spacing: 1.7px;
        text-transform: uppercase;
    }

    .form-select {
        width: 180px;
    }

    .pagination-number {
        padding: 10px 16px;
        color: #000;
        font-size: 18px;
        cursor: pointer;
    }

    .pagination-number-active {
        font-weight: 600;
        text-decoration: underline;
    }

    .pagination-arrow {
        height: 50px;
        cursor: pointer;
    }

    .favorites-global-dialog {
        padding-right: 75px;
        padding-left: 75px;
        padding-top: 50px;
    }

    .favorite-btn {
        text-transform: uppercase;
        padding: 14px 50px !important;
    }

    .placeholder-shape {
        border: 1px solid #d9d9d9;
        width: 100%;
        aspect-ratio: 1.57;
    }

    .button-in-cart {
        border: solid 1px #0f3408;
        padding: 10px 40px;
        font-size: 17px;
        width: 100%;
    }

    .green-box {
        background-color: #ecf1f0;
    }

    .form-check-label {
        font-size: 19px;
    }

    .complete-order-btn {
        text-transform: uppercase;
    }

    .no-uppercase {
        text-transform: none !important;
    }

    .kaplans-brdtext {
        font-size: 20px;
        font-weight: normal;
        font-stretch: normal;
        font-style: normal;
        line-height: 1.61;
        letter-spacing: normal;
    }

        .kaplans-brdtext:hover {
            text-decoration: underline;
        }

    .rich-text table td {
        border: 1px solid #cdcdcd;
        padding: 4px 10px;
    }

        .rich-text table td p {
            margin: 0;
        }

    .sort-header {
        cursor: pointer;
    }

        .sort-header:hover {
            background: #8cd4ba;
        }

    .show-inline {
        display: inline-block;
    }


    .custom-thumbnail {
        max-width: 108px;
        max-height: 82px;
        width: 100%;
    }

    /* Override the inline sizes on the fancybox gallery slide container (DiamondDetails page) */
    .fancybox__content[style] {
        width: 45vw !important;
        height: 75vh !important;
        max-width: none !important;
        max-height: none !important;
    }

    /* Make sure the image inside the fancybox gallery scales to that container (DiamondDetails page) */
    .fancybox__image {
        width: auto !important;
        height: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }

    /* Make each thumbnail button have a white card - when in the Gallery of the DiamondDetails page */
    .f-thumbs__slide__button {
        background-color: #fff !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.1) !important; /* subtle lift */
    }

    /* Make the thumbnail images themselves sit on white - when in the Gallery of the DiamondDetails page */
    .f-thumbs__slide__img {
        background-color: #fff !important;
    }
    /* make the caption container float over the image */
    .fancybox__backdrop {
        background: rgba(0,0,0,0.85) !important;
    }

    .fancybox__content {
        background: #fff !important;
    }

    .fancybox__caption {
        position: absolute !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        pointer-events: none;
        background: transparent !important;
    }

    .fancybox__caption__body {
        position: relative;
        width: 100%;
        height: 100%;
    }

    /* --- FRONT VIEW overlays --- */
    .overlay-front span {
        position: absolute;
        background: rgba(255,255,255,1);
        padding: 4px 6px;
        font-size: 14px;
        color: #000;
        white-space: nowrap;
    }

    .overlay-front--length {
        z-index: 10000;
        top: 45%;
        left: 36%;
        transform: translateX(-50%);
    }

    .overlay-front--baguete-length {
        z-index: 10000;
        top: 45%;
        left: 40%;
        transform: translateX(-50%);
    }

    .overlay-front--width {
        z-index: 10000;
        bottom: 15%;
        left: 50%;
        transform: translateX(-50%);
    }

    /* --- TOP VIEW overlays --- */
    .overlay-top span {
        position: absolute;
        background: rgba(255,255,255,1);
        padding: 4px 6px;
        font-size: 14px;
        color: #000;
        white-space: nowrap;
    }

    .overlay-top--table {
        z-index: 10000;
        top: 20%;
        left: 50%;
        transform: translateX(-50%);
    }

    .overlay-top--baguete-table {
        z-index: 10000;
        top: 28%;
        left: 50%;
        transform: translateX(-50%);
    }

    .overlay-top--depth {
        z-index: 10000;
        top: 45%;
        right: 35%;
    }

    .overlay-top--girdle {
        z-index: 10000;
        top: 72%;
        left: 40%;
    }

    .overlay-top--culet {
        z-index: 10000;
        top: 77%;
        left: 48%;
    }


    @media (max-width: 768px) {
        .overlay-top span {
            position: absolute;
            background: rgba(255, 255, 255, 1);
            padding: 4px 6px;
            font-size: 9px;
            color: #000;
            white-space: nowrap;
            display: inline-block;
            max-width: 65px;
            white-space: normal;
        }

        .overlay-top--table {
            z-index: 10000;
            top: 37%;
            left: 51%;
            transform: translateX(-50%);
        }

        .overlay-top--depth {
            z-index: 10000;
            top: 47%;
            right: 18%;
        }

        .overlay-top--girdle {
            z-index: 10000;
            top: 59%;
            left: 31%;
        }

        .overlay-top--culet {
            z-index: 10000;
            top: 61% !important;
            left: 48%;
        }

        .overlay-front--length {
            z-index: 10000;
            top: 48% !important;
            left: 26%;
            transform: translateX(-50%);
        }

        .overlay-front span {
            position: absolute;
            background: rgba(255, 255, 255, 1);
            padding: 4px 6px;
            font-size: 9px;
            color: #000;
            white-space: nowrap;
        }

        .overlay-front--width {
            z-index: 10000;
            bottom: 34% !important;
            left: 50%;
            transform: translateX(-50%);
        }
    }

    @media only screen and (min-width: 768px) and (max-width: 834px) and (orientation: portrait), only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
        .overlay-top--depth {
            z-index: 10000;
            top: 47% !important;
            right: 30%;
        }

        .overlay-top--table {
            z-index: 10000;
            top: 36% !important;
            left: 51% !important;
            transform: translateX(-50%);
        }

        .overlay-top--girdle {
            z-index: 10000;
            top: 60% !important;
            left: 37%;
        }

        .overlay-front--length {
            z-index: 10000;
            top: 48%;
            left: 33%;
            transform: translateX(-50%);
        }
        .overlay-top--culet {
            z-index: 10000;
            top: 62% !important;
            left: 49%;
        }
    }

    @media only screen and (min-width: 768px) and (max-width: 834px) and (orientation: portrait), only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
        .overlay-top--table {
            z-index: 10000;
            top: 25%;
            left: 50%;
            transform: translateX(-50%);
        }

        .overlay-top--depth {
            z-index: 10000;
            top: 45%;
            right: 30%;
        }

        .overlay-front--length {
            z-index: 10000;
            top: 45%;
            left: 34%;
            transform: translateX(-50%);
        }

        .overlay-front--width {
            z-index: 10000;
            bottom: 20%;
            left: 50%;
            transform: translateX(-50%);
        }

        .overlay-top--culet {
            z-index: 10000;
            top: 72%;
            left: 49%;
        }
        .overlay-top--girdle {
            top: 68%;
            white-space: break-spaces !important;
            display: block;
            width: 80px;
            left: 38%;
        }
    }

    @media only screen and (min-width: 812px) and (max-width: 900px) and (orientation: landscape) {

        .overlay-top--depth {
            z-index: 10000;
            top: 40%;
            right: 34%;
        }

        .overlay-top--table {
            z-index: 10000;
            top: 12%;
            left: 50%;
            transform: translateX(-50%);
        }

        .overlay-top--girdle {
            z-index: 10000;
            top: 74%;
            left: 35%;
        }

        .overlay-top span {
            position: absolute;
            background: rgba(255, 255, 255, 1);
            padding: 4px 6px;
            font-size: 9px;
            color: #000;
            white-space: nowrap;
        }

        .overlay-top--culet {
            z-index: 10000;
            top: 82%;
            left: 48%;
        }

        .overlay-top--girdle {
            z-index: 10000;
     
            left: 39%;
        }

        .overlay-front--length {
            z-index: 10000;
            top: 40%;
            left: 37%;
            transform: translateX(-50%);
        }

        .overlay-front--width {
            z-index: 10000;
            bottom: 5%;
            left: 50%;
            transform: translateX(-50%);
        }
    }

.custom-add-button {
    border-radius: 5px;
    border: 1px solid;
    padding: 5px;
    width: 100%;
    background-color: #0f3408;
    color: #fff;
}

.enter-pin-input {
    border: 1px solid;
    width: 100%;
    padding: 5px;
    border-radius: 5px;
}

.custom-apply-cards-button {
    height: 60px;
    background-color: #8cd4ba;
    margin-top: 30px;
    width: 450px;
    font-family: Barlow;
    font-size: 17px;
    font-weight: normal;
    font-stretch: normal;
    font-style: normal;
    line-height: 1.36;
    letter-spacing: 1.7px;
    text-align: center;
}

.custom-text {
    padding-left: 10px;
}

.custom-message {
    color: red;
}

.mud-dialog-close-icon {
    width: 43px !important;
    height: 43px !important;
    font-size: 32px !important; /* Increase icon size */
}

.mud-icon-size-medium {
    font-size: 30px;
}

@media only screen and (max-width: 380px) {
    .overlay-top--depth {
        z-index: 10000;
        top: 46%;
        right: 18%;
    }
    .overlay-top--table {
        margin-left: 1px;
        padding: 0px !important;
    }
}