﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: none;
    -ms-text-size-adjust: none;
    background: #fff;
    font-family: 'Lato', sans-serif;
}

html {
    width: 100%;
}

/* STRUCTURE ###################################### */
/* Used outside of main divs to hold them centrally */
.centeringdiv {
    margin: 0;
    justify-content: center;
    align-items: center;
}

.flex-container {
    max-width: 800px;
    margin: auto;
    background: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

    .flex-container img {
        width: 100%;
    }

.flex-child {
    width: 100%;
    flex-basis: calc(50% - 5px); /* will be a single 10px margin between the images */
    margin: 0 10px 10px 0;
}

    .flex-child:nth-child(2n) {
        margin-right: 0; /* every even number item cancel the right margin */
    }

.test1 {
    background-color: black;
    min-height: 100px;
}

.test2 {
    background-color: red;
    min-height: 100px;
}


/* white background centered content which sizes okay in small */
.centereddiv {
    width: 800px;
    margin: auto;
    text-align: center;
    background: white;
}
/* contents will middled and centered */
.centereddivcenter {
    width: 800px;
    display: flex;
    justify-content: center; /* Horizontal alignment (center) */
    align-items: center; /* Vertical alignment (center) */
    background-color: white;
    flex-direction: column;
}





a {
    text-decoration: none;
}

.rem3 {
    padding: 3rem;
}

/* add this class for large text bodies 3rem in full screen, 1.5 in mobile */
.textpad {
    padding: 3rem;
}

/* Register section on Register.aspx */
.registersection {
    padding: 3rem;
}



/* a sectio nwith many textboxes */
.textboxes {
    padding-left: 10%;
    padding-right: 10%;
    margin-bottom: 3rem;
}

    .textboxes a {
        margin-top: 2rem;
    }

.textbox-group {
    position: relative;
    height: 66px;
    margin-bottom: 2rem;
}

    .textbox-group label {
        position: absolute;
        top: 0;
        left: 0;
    }

.sidenote {
    position: absolute;
    top: 0;
    right: 0;
    color: red;
}

.textbox-group input {
    position: absolute;
    bottom: 0;
    width: 100%; /* make it full-width */
}



.buttons {
    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.paynow {
    height: 100px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal-width columns */
    background-color: #eee;
    align-items: center;
    padding-top: 14px;
}

    .paynow .item1 {
        flex-grow: 1;
        text-align: center;
        font-weight: 500;
        font-size: 1.3rem;
    }

    .paynow .item3 {
        grid-column: span 2; /* Spans two columns */
    }


/* force to block for anchors */
a.rixButton {
    display: inline-block;
    width: max(40%, 100px);
    color: white;
    cursor: pointer;
}

.a.rixButton.disabled {
    background-color: #ccc; /* Set a background color to indicate it's disabled */
    pointer-events: none; /* Disable pointer events to make it unclickable */
}


/* cardfileimagessmall */
.cfsmall-container {
    width: 100%;
    margin: 0 auto;
}
/*.cfsmall-main {
    max-width: 800px;
    margin: 0 auto;
    background-color: #FFFFFF;
}*/
.cfsmall-image-container {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin: 10px 0;
}

.cfsmall-image {
    flex: 1;
    /*margin: 0 5px;*/
    max-width: 395px;
    display: block;
}

    .cfsmall-image img {
        width: 100%;
    }


/* standard text layouts */
.standard {
    padding: 0 2rem 0 2rem;
    background-color: white;
}

    .standard h1 {
        font-weight: 600;
        font-size: 3rem;
        margin-top: 1rem;
    }

    .standard p {
        padding: 1rem 3rem 1rem 3rem;
        font-size: 1.2rem;
    }


/* historical order section */
.ucHistoricalOrder {
    margin-top: 2rem;
}

.historical-order-date {
    padding: 0 !important;
    margin: 0;
}

.historical-order-footnote p {
    font-size: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}




/* Normal title and text section, dark text*/
.normalboxout {
    background-color: #eee;
    padding: 4rem;
}

    .normalboxout h1 {
        font-size: 28px;
        color: #131313;
        line-height: 44px;
        font-weight: normal;
    }

    .normalboxout p {
        font-size: 14px;
        color: #131313;
        line-height: 30px;
        font-weight: normal;
    }



/* Blue title and text section, white text*/
.blueboxout {
    background-color: #3399ff;
    padding: 4rem;
    font-family: 'Roboto', sans-serif;
}

    .blueboxout h1 {
        font-family: 'Roboto', sans-serif;
        font-size: 28px;
        color: #FFF;
        line-height: 44px;
        font-weight: normal;
    }

    .blueboxout p {
        font-family: 'Roboto', sans-serif;
        font-size: 14px;
        color: #FFF;
        line-height: 30px;
        font-weight: normal;
    }




.rixCardFileQuantityBox {
    background-color: #3399ff;
    width: 60px;
    height: 60px;
    position: absolute;
    left: 8px;
    bottom: 16px;
    border-radius: 10px;
}

.rixCardFileQuantityText {
    color: white;
    font-size: 2.0em;
    font-weight: 600;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 10px;
}


.rixButton {
    display: inline;
    -moz-border-radius: 40px;
    border-radius: 40px;
    font-size: 0.9rem;
    color: #FFF;
    text-transform: uppercase;
    background-color: #3399ff;
    height: 2.6rem;
    padding-right: 5%;
    padding-left: 5%;
    border: none;
    line-height: 2.6rem;
    font-weight: 400;
    margin-top: 16px
}



/* Postage section on checkout */
.thepostage {
    padding: 2rem;
}

.ucCheckItem {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.funky {
    margin-left: 6px;
}

.postagesummary {
    padding-left: 12%;
    padding-right: 12%;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #eee;
    FONT-weight: 600;
    font-size: 0.8rem;
}




/* Coupon code section on checkout page */
.couponcodesection {
    padding: 3rem;
}




/* address section on checkout page */
.addresssection {
    padding: 3rem;
}

.wraptitle {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    width: 100%;
    min-height: 40px;
    padding: 3px;
    vertical-align: middle;
}

.wraptitle-left {
    /*padding: 10px;*/
    text-align: left;
    /*border: 1px solid #000;*/
}

.wraptitle-right {
    /*padding: 10px;*/
    text-align: right;
    /*border: 1px solid #000;*/
}



/* Thin Titles */
.thinleft {
    padding-left: 7.5%;
    min-height: 40px;
}

.thintitle {
    padding-top: 16px;
    padding-bottom: 16px;
    background: #3399ff;
    width: 100%;
    padding-left: 7.5%;
    font-size: 1rem;
    line-height: 0.4rem;
    align-content: start;
    font-weight: 600;
    color: white;
    min-height: 40px;
}

    .thintitle .left {
        padding-top: 2px;
        float: left;
    }

    .thintitle .right {
        padding-top: 2px;
        float: right;
        margin-right: 7.5%;
    }

    .thintitle.light {
        font-weight: 400;
    }


.grid-container {
    display: grid;
    grid-template-columns: 66% 1fr; /* 66% for child1 and remaining for child2 */
    /*gap: 10px;*/ /* Adjust the gap as needed */
}

.child1 {
    background-color: white;
    padding: 0 0 10px;
}

    .child1 img {
        max-width: 100%; /* Ensure the image doesn't exceed the parent width */
        height: auto; /* Maintain aspect ratio */
    }

    .child1 .thetitle {
        font-weight: 600;
    }

.child2 {
    background-color: #eee;
    padding: 1rem;
    margin-bottom: 10px;
}

    .child2 button {
        color: #3399ff;
        border: 0;
        padding: 16px;
    }

    .child2 i {
        color: #3399ff;
        border: 3px solid #3399ff;
        padding: 8px;
    }


/* Media query for screens below 640px */
@media (max-width: 640px) {
    .grid-container {
        grid-template-columns: 1fr; /* Single column layout */
    }

    .child1 {
        padding: 0;
    }
}





/* Do We Need? */
table {
    border-spacing: 0;
    border-collapse: collapse;
}

a, a:hover {
    text-decoration: none;
    color: #FFF;
}

img {
    display: block !important;
}

table td {
    border-collapse: collapse;
}



/* copyright */
/* CSS Styles */
.containercopyright {
    display: flex;
    width: 100%;
    margin: 0 auto;
    background: white;
    flex-direction: row;
}

.columncr {
    flex: 1;
    text-align: center;
    padding: 20px;
}




/* Copyright section */
.copyright-text {
    font-size: 15px;
    font-weight: normal;
    color: #4a494a;
    line-height: 32px;
}

.registration-text {
    font-size: 12px;
    font-weight: bold;
    color: #4a494a;
    line-height: 32px;
    text-transform: uppercase;
}



/* FOOTER */
/* CSS Styles */
.footer-container {
    width: 100%;
    background-color: #383838;
    color: #fff;
    padding: 40px 0;
}

.footer-main {
    max-width: 800px;
    margin: 0 auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}

.footer-column {
    flex: 1;
    max-width: 48%;
    padding: 3rem;
}

.footer-heading {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 15px;
}

.footer-text {
    font-size: 14px;
    line-height: 24px;
}

.footer-link {
    display: inline-block;
    margin-top: 20px;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    background-color: #3399ff;
    padding: 12px 24px;
    border-radius: 40px;
    text-decoration: none;
}

.footer-social-links {
    margin-top: 25px;
}

    .footer-social-links a {
        display: inline-block;
        margin-right: 10px;
    }



/* Bio-degradable cards section */
/* CSS Styles */
.date-container {
    width: 100%;
    background-color: #fff;
    padding: 0;
    padding-top: 17px;
}

.date-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row;
}

.date-column {
    flex: 1;
    max-width: 40%;
    text-align: center;
}

/*    .date-column.images {
        padding-left: 27px;
    }*/

.date-text {
    font-size: 14px;
    font-weight: normal;
    color: #1b1c1b;
    line-height: 30px;
    white-space: nowrap;
}

.date-icons {
    display: flex;
    justify-content: center;
}

    .date-icons a {
        display: inline-block;
        margin-right: 10px;
    }




/* background colours */
.b1 {
    background-color: #3399ff;
    color: white;
}

.b2 {
    background-color: #2389ef;
}

.b3 {
    background-color: #1379df;
}

.o1 {
    background-color: #da6110;
}

.o2 {
    background-color: #ca5100;
}

.k2 {
    background-color: #151515;
}

.k1 {
    background-color: #000;
}

.w1 {
    background-color: #fff;
    color: #151515;
}

.w2 {
    background-color: #eee;
    color: #151515;
}

.w3 {
    background-color: #ddd;
    color: #151515;
}

.r1 {
    background-color: #ff2323;
}

.g1 {
    background-color: #00864c;
}

.y1 {
    background-color: #808080;
}

/* pastel */
.b1p {
    background-color: hsl(210, 90%, 90%);
}

.p1p {
    background-color: hsl(330, 95%, 95%);
}

.g1p {
    background-color: #AEC3AE;
}




/* scrollbars */

/* For WebKit-based browsers (e.g., Chrome, Safari) */
::-webkit-scrollbar {
    width: 10px; /* Set the width of the scrollbar */
    background-color: white; /* Set the background color of the scrollbar track */
    border-radius: 5px; /* Set the radius to round the scrollbar ends */
}

::-webkit-scrollbar-thumb {
    background-color: #e3e3e3; /* Set the color of the scrollbar thumb */
    border-radius: 5px; /* Set the radius to round the scrollbar thumb ends */
}

/* For Firefox */
/* You may need to use !important to override the default styles in Firefox */
/* If this doesn't work, you can try using ::-moz-scrollbar and ::-moz-scrollbar-thumb instead */
body {
    scrollbar-color: #e3e3e3 white; /* Set the color of the scrollbar thumb and track */
    scrollbar-width: thin; /* Set the width of the scrollbar */
}

/* For Microsoft Edge and Internet Explorer */
/* You may need to use !important to override the default styles in Edge and IE */
/* If this doesn't work, you can try using ::-ms-scrollbar and ::-ms-scrollbar-thumb instead */
body {
    -ms-overflow-style: none; /* Hide the default scrollbar */
    scrollbar-width: thin; /* Set the width of the scrollbar */
}

    /* Hide scrollbar when not scrolling (optional) */
    body::-webkit-scrollbar-thumb:hover {
        background-color: #555;
    }

.nopTopicsWrapper .centereddivcenter {
    padding: 3rem;
}

.nopTopicsWrapper a {
    color: #151515;
    font-weight: 600;
}

.nopTopicsWrapper .rixButton {
    color: #fff;
}

.link-list {
    padding: 2rem 0 2rem 0;
}

.one-line-link a {
    color: #151515;
    font-weight: 600;
    font-size: 1.3rem;
}

.section-divider {
    width: 80%;
    margin: auto; /* centers the HR */
    border: 0;
    height: 2px;
    background-color: #aaa; /* You can change this color */
    opacity: 0.5; /* Makes it lighter */
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.add3rem {
    margin-top: 3rem;
}

.add2rem {
    margin-top: 2rem;
}

.add1rem {
    margin-top: 1rem;
}

.add3rembottom {
    margin-bottom: 3rem;
}

.add2rembottom {
    margin-bottom: 2rem;
}

.add1rembottom {
    margin-bottom: 1rem;
}


/* ################################## REQUESTS */

.request-accordion-top {
    display: flex; /* Use flexbox */
    flex-direction: row; /* Lay out children in a row */
    justify-content: space-between; /* Space between children */
    align-items: center; /* Center vertically */
    padding: 1.3rem;
    border-bottom: 1px solid white;
}

    .request-accordion-top > div {
        /* Optional: Add some margin or padding for spacing between child divs */
        margin-right: 10px; /* Adjust as needed */
    }

.requests-title {
    border-bottom: 1px solid white;
    padding: 0.6rem;
}

.request-accordion-hidden {
    padding: 1.2rem;
}

.responsiveimage {
    width: 100%;
}

/* Card history */
.cardhistory-searchfor {
    background-color: #151515;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: left;
    padding-left: 7.5%;
}

    .cardhistory-searchfor input {
        width: 120px;
    }

    .cardhistory-searchfor span,
    .cardhistory-searchfor input,
    .cardhistory-searchfor button {
        margin: 0 5px;
    }

.clear-filter {
    color: white;
    font-weight: 700;
    background-color: transparent; /* Make the background transparent */
    cursor: pointer; /* Show pointer cursor on hover */
    padding: 5px 10px; /* Adjust padding as needed */
    display: inline-block;
}

    .clear-filter:hover {
        color: #3399ff;
    }

.cardhistory-paging {
    background-color: #151515;
    min-height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 32px;
}

.cardhistory-previous {
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.cardhistory-next {
    color: white;
    font-weight: 600;
    cursor: pointer;
}

.showing-paging {
    color: white;
}

#paging-buttons {
    display: flex;
    gap: 10px; /* Adjust the gap between buttons as needed */
}

.seek-container {
    padding-left: 56px;
}

.cardhistory-next.disabled,
.cardhistory-previous.disabled {
    opacity: 0.5; /* Adjust the opacity to visually indicate the disabled state */
    cursor: not-allowed; /* Change cursor to indicate not-allowed */
    /* Add any other styles to visually indicate the disabled state */
}

.sub-toolbar {
    display: flex;
    /* justify-content: space-between; */
    background-color: #f2f2f2;
    padding: 10px;
}

.selectable-button {
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 5px;
    background-color: #e0e0e0;
    text-align: center;
    user-select: none;
    margin-right: 1rem;
    font-size: 0.8rem;
}

    .selectable-button:hover {
        background-color: #d4d4d4;
    }

    .selectable-button.active {
        background-color: #3399ff;
        color: #fff;
        font-size: 0.8rem;
    }

.right-aligned-message {
    margin-left: auto;
    padding-right: 1rem;
    white-space: nowrap;
}

.price-break-layout {
    background-color: #ddd;
    line-height: 0.8rem;
    padding: 1rem;
    margin-bottom: 1.6rem;
}

.alltags {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-content: space-around;
    height: 100%;
}

    .alltags a {
        flex: 0 0 calc(33.33% - 20px);
        margin: 10px;
        white-space: nowrap;
        font-size: large;
        font-weight: 600;
        color: black;
        flex-grow: 1;
    }

.thintitle h1 {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0; /* Resetting margin */
    padding: 0; /* Resetting padding */
    padding-top: 7px;
}

.thintitle h2 {
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0; /* Resetting margin */
    padding: 0; /* Resetting padding */
    padding-top: 7px;
}
