﻿/* Common */
/* ------ */
:root {
    --blue: #2a2185;
    --white: #fff;
    --red: #d13139;
    --charcoal: #4a4a4a;
    --gray: #bcbcbc;
    --paper: #f9f9f9;
    --black1: #222;
    --black2: #999;
}
body {
    margin: 0;
    font: 16px arial, verdana;
    background-color: #F0F0F0;
    /*overflow-x: hidden;*/
}


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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#content {
    /*overflow-y: auto;*/
    overflow-y: auto;
}
    #content #photographListContainer * {
        font-size: large;
        justify-self: center;
        align-self: center;
    }

.collapse.navbar-collapse, .collapse.navbar-collapse .dropdown .dropdown-toggle, .collapse.navbar-collapse .searchbar input[type="text"] {
    font-size: large;
}

#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;
    }

/* Layout */
/* ------ */
.productCard .images img {
    height: auto !important;
}

.full-modal {
    z-index: 2 !important;
    height: auto !important;
}

.brandedBackground {
    /* background-color: #463e3e; */
    background-image: url("Images/LandingImage.png");
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#container {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#photographListContainer {
    /*    position: relative;*/
    left: 8px;
    right: 8px;
    bottom: 8px;
    /*margin-top: 15px;*/
}

#productListContainer {
/*    position: relative;
*/    top: 42px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    overflow-y: auto;
    overflow-x: hidden;
}

.no-accesscode .flat-anim {
    left: 28%; /* 'left: 50%' is overridden by 'left: 28%' */
}

.no-accesscode .WCC_form_input_container {
    text-align: left;
    width: 100%;
    margin: 0px;
}

.no-accesscode .WCC_form_input {
    width: 100%;
    box-sizing: border-box;
    font-size: 1.5rem;
    border-radius: 8px;
}

.no-accesscode .faq {
    margin: 0 !important;
    background-color: #ffffffa1 !important;
}

    .no-accesscode .faq.active {
        background-color: #ffffffa8 !important;
    }

.no-accesscode .faq-title {
    font-size: large;
}


/* Small */
@media only screen and (max-width: 400px) {

    #content {
        position: relative;
        width: 100%;
        text-align: center;
    }

    .orderItemImageContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 16px;
    }
}

/* Large */
@media only screen and (min-width: 401px) {

    #content {
        position: relative;
        width: 100%;
        text-align: center;
/*        max-width: 1260px;
*/    }

    #photographList {
        width: 100%;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        gap: 25px 6px;
        justify-content: center;
        justify-self: center;
        align-items: flex-end;
    }

    #productList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        column-gap: 8px;
        justify-content: center;
        align-items: flex-end;
        padding: 10px;
    }
}

@media only screen and (max-width: 600px) {
/*    #content {
        height: 80vh;
    }*/

    .orderItemImageContainer {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 16px;
    }

    .productName {
        text-align: start;
        font-size: 16px;
        font-weight: 400;
    }

    .productTotal {
        text-align: end;
        font-size: 16px;
/*        font-weight: 600;
*/    }
}
@media only screen and (min-width: 601px) {
    
    .orderItemImageContainer {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        column-gap: 16px;
        padding: 15px;
    }

    .productName {
        text-align: start;
        font-size: 20px;
        font-weight: 400;
    }

    .productTotal {
        text-align: end;
        font-size: 20px;
    }    
}


@media only screen and (max-width: 480px) {
    
    .orderItemDetails {
        display: flex;
        /*flex-direction: column;*/
        align-items: center;
        justify-content: space-between;
    }
    
}
@media only screen and (min-width: 481px) {

    .orderItemDetails {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-left: 22px;
        padding-right: 22px;
    }
    
}

.marginTop4 {
    margin-top: 4px;
}

.marginTop12 {
    margin-top: 12px;
}

.marginBottom8 {
    margin-bottom: 8px;
}

.margin8 {
    margin: 8px;
}

.marginBottom24 {
    margin-bottom: 24px;
}

.marginTopBottom8 {
    margin-top: 8px;
    margin-bottom: 8px;
}

.marginTopBottom24 {
    margin-top: 24px;
    margin-bottom: 24px;
}

.marginLeftRight2 {
    margin-left: 2px;
    margin-right: 2px;
}

.marginRight8 {
    margin-right: 8px;
}

.horizontalSpacerSmall {
    margin-right: 4px;
}

/* General styling */

.errorMessage {
    font-size: 16px;
    color: #A02020;
}

.primaryCallToAction {
    color: #008000;
}

.imageChangeIcon {
    margin: 10px;
    padding: 8px;
    font-size: 16px;
    color: black;
    background: floralwhite;
    border-radius: 20px;
    opacity: 0.25;
    pointer-events: none;
}

.imageChangeIconCentre {
    text-align: center;
}

.imageChangeIconRight {
    text-align: right;
}

.imageLabel {
    font-size: 12px;
    color: #909090;
}

/* Text */

.textSmall {
    font-size: 0.85rem;
}

/* Navigation bar */

.navigationBar {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-direction: row;
    height: 38px;
    padding: 4px;
    font-size: 20px;
}

    .navigationBar > .barIcon {
        color: black;
        cursor: pointer;
    }

    .navigationBar > .barLabel {
        margin-left: 4px;
        color: black;
        cursor: pointer;        
    }

    .navigationBar > .barSpace {
        flex-grow: 1;
    }

    .navigationBar > .barItem {
        flex-basis: auto;
    }

/* CartButton */

.cartIcon {
    font-size: 30px;
}

.cartItemCount {
    position: absolute;
    left: 16px;
    top: 4px;
    font-size: 12px;
    color: white;
}

/* InputAccessCodeEntry */

#inputAccessCodeEntry {
    box-sizing: border-box;
    width: 100%;
    padding: 8px;
    font-size: 24px;
    border: 2px solid black;
}

.inputAccessCodeEntryContainer {
    width: 90%;
    background-color: #ecf0f1;
    border-radius: 12px;
    padding: 9px;
}

#inputAccessCodeEntry::placeholder {
    font-size: 24px;
    color: #CCC;
}

/* Quantity */

.quantityButton {
    border: 2px solid #00D000;
    background-color: #00D000;
    color: white;
    font-size: 20px;
}

.quantityInput {
    padding: 0;
    border: 2px solid #00D000;
    background-color: #FFFFFF;
    color: black;
    font-size: 20px;
}

/* Product card */

.productCard {
    padding: 16px;
    border: 2px solid #D8D8D8;
    background: #fff;
}

.productPhotograph {
    object-fit: contain;
}

.productBackground {
    object-fit: cover;
}

.productCardIcon {
    font-size: 16px;
    color: black;
}

/* Cart */

.shippingOptionDescription {
    font-size: 0.8rem;
    color: #AAA;
}

.shippingOptionCost {
    font-size: 16px;
    text-align: right;
    font-weight: 600;
}

.total {
    font-size: 20px;
    text-align: right;
    font-weight: 600;
}

/* Photographs page */

.countIcon {
    font-size: 18px;
    color: black;
    opacity: 0.33;
    vertical-align: middle;
}

.countLabel {
    font-size: 14px;
    color: black;
    opacity: 0.33;
    vertical-align: middle;
}

.countValue {
    font-size: 20px;
    color: black;
    vertical-align: middle;
}

.placeholder {
    background-color: transparent !important;
}
.loader {
    width: 48px;
    height: 48px;
    width: 10rem;
    height: 10rem;
    border: 5px solid #6b6b6b;
    border-bottom-color: white;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

.staticPreviewContainer .placeholder {
    min-height: 16rem;
}

.disabled-link {
    pointer-events: none; /* prevents clicking */
    cursor: default; /* remove pointer cursor */
    /*color: inherit;*/ /* keep normal text colour */
    text-decoration: none; /* no underline */
}

.loadingDisplayContainer {
    margin-top: 50px;
    position: relative;
    display: inline-block;
    background-color: #FFFFFFB0;
    border-radius: 12px;
    padding: 24px
}

.justify-self-center {
    justify-self: center;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*Loader*/

/*Image Loading Fading in on Render*/

@media only screen and (min-width: 1px){
    .image {
        opacity: 0;
        transition: opacity 1.3s ease-in-out; /* Adjust the duration as needed */
    }

        .image.loaded {
            opacity: 1;
            width: 100%;
        }

    /*Loader css for Images in the solution*/
    .placeholder {
        opacity: 1;
        transition: opacity 0.8s ease-in-out; /* Adjust the duration as needed */
    }

        .placeholder.hidden {
            opacity: 0;
            pointer-events: none; /* Ensures the placeholder doesn't block interactions */
        }

    .placeholder {
        transform: scale(50%);
    }
}

/*End Loader*/

.offcanvas.cart {
    /* default (mobile): full width */
    --bs-offcanvas-width: 100%;
}

@media (min-width: 768px) {
    /* tablets: 75% */
    .offcanvas.cart {
        --bs-offcanvas-width: 75%;
    }
}

@media (min-width: 992px) {
    /* desktop and up: 50% */
    .offcanvas.cart {
        --bs-offcanvas-width: 50%;
    }
}

.modal-drop-shadow {
    -webkit-box-shadow: -2px 2px 7px -1px #000000;
    box-shadow: -2px 2px 7px -1px #000000;
}

.title-text-strong-bold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "wdth";
    letter-spacing: 1px;
}

.title-text-bold {
    font-family: "Noto Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: bold;
    font-style: normal;
    font-variation-settings: "wdth";
    letter-spacing: 0.5px;
}