html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
    text-size-adjust: 100%;
    webkit-text-size-adjust: 100%;
    box-sizing: border-box;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

ul,
ol,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}

a {
    text-decoration: none;
}

.reverse_wrap {
    flex-wrap: wrap-reverse;
}

@-webkit-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@-moz-keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.swap_images {
    position: relative;
}

dt {
    font-size: 105%;
    font-weight: bold;
}

dd {
    margin-bottom: 8px;
}

dd a {
    text-decoration: underline;
}

@keyframes cf3FadeInOut {
  0% {
    opacity:1;
  }
  25% {
    opacity:1;
  }
  33% {
    opacity:0;
  }
  92% {
    opacity:0;
  }
  100% {
    opacity:1;
  }
}

.swap_images img {
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    -webkit-animation: cf3FadeInOut ease-in-out 12s infinite;
    -moz-animation: cf3FadeInOut 12s ease-in-out infinite;
    animation: cf3FadeInOut 12s ease-in-out infinite;
}

.swap_images img:nth-of-type(1) {
    animation-delay: 8s;
}

.swap_images img:nth-of-type(2) {
    animation-delay: 4s;
    position: absolute;
}

.swap_images img:nth-of-type(3) {
    animation-delay: 0;
    position: absolute;
}

.reviews {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: #fff;
}

.reviews > div {
    flex: 1 1 200px;
}

.emph_rule {
    width: 100%;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.fp_header {
    padding: 0 5% 5%;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.fp_header div.c {
    padding: 10px;
    margin: 10px;
    background: #fff;
    border-radius: 0 0 10px;
    border-width: 0 1px 1px 0;
    border-color: #888;
    border-style: solid;
    box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.2);
    flex: 1 1 320px;
}

.fp_header img {
    width: 100%;
    height: auto;
    flex: 1 1 320px;
}

.fp_header div.d {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.fp_header div.d img{
    max-width: 50%;
}

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .reviews,
    .fp_header div.c {
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.8);
        color: black;
    }
}


section {
    padding: 0 5%;
}

.roundel {
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    width: 70px;
    height: 70px;
    margin: 12px;
    color: black;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;
    position: absolute;
}

.saleband {
    width: 100%;
    background: white;
    border: 1px solid black;
    color: var(--contrast);
    font-weight: bold;
    text-align: center;
    position: absolute;
    transform: rotate(45deg);
    left: 23%;
    top: 20%;
}

.close {
    position: absolute;
    right: 32px;
    top: 32px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    background: white;
}
.close:hover {
    opacity: 1;
}
.close:before,
.close:after {
    position: absolute;
    left: 15px;
    content: " ";
    height: 33px;
    width: 2px;
    background-color: #333;
}
.close:before {
    transform: rotate(45deg);
}
.close:after {
    transform: rotate(-45deg);
}

.productgallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.productgallery > a {
    display: flex;
    flex: 1 1 50%;
    outline: none;
}

.productgallery > a > img {
    max-width: 100%;
    margin: 2px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.grid500 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    grid-gap: 10px;
}

.grid500 > * {
    margin: 12px;
}

@media (min-width: 520px) {
    .grid500 {
        grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    }
}

.gridmax500 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 10px;
    justify-items: center;
    align-items: center;
}

.gridmax500 > * {
    width: 100%;
    max-width: 500px;
}

.gridmax300 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    grid-gap: 10px;
    justify-items: center;
    align-items: center;
}

.gridmax300 > * {
    width: 100%;
    max-width: 300px;
}

.aligntop {
    align-items: start;
}

.minmaxmid3C8C {
    width: 80%;
    min-width: 300px;
    max-width: 800px;
    margin: 0 auto;
}

.featherlight.raven .featherlight-content {
    background: var(--darkshade);
}

.subject {
    padding: 0 12px;
    position: relative;
    overflow: hidden;
}

.subject ol {
    list-style: none;
}

.subject ol li a {
    background: black;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 12px;
    border-radius: 12px;
    font-size: 200%;
    color: var(--lightprimary);
}
.subject ol li a:hover {
    color: var(--contrast);
}

.subject img {
    margin-left: 20px;
    width: 25%;
    max-width: 120px;
    height: auto;
}

.subject dl {
    margin-left: 20px;
}

.subject dd {
    font-size: 50%;
    color: white;
}

.tl-ribbon {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50px;
    right: -50px;
}
.tl-ribbon > div {
    transform: rotate(45deg);
    text-align: center;
    background: var(--contrast);
}

#google_translate_element {
    position: absolute;
    right: 5px;
    top: 50px;
    z-index: 20;
}

iframe.goog-te-banner-frame {
    top: initial !important;
    bottom: 0 !important;
}

.mic {
    color: blue;
    font-size: 140%;
    position: relative;
    left: -15px;
    top: -3px;
}

.prelaunch_hide {
    display: none;
}

.prelaunch_show {
    display: block;
}

.countdown {
    text-align: center;
    font-size: 5vw;
    color: grey;
    background: white;
}

.notices {
    color: white;
    padding: 12px;
    margin-left: 20px;
    margin-bottom: 0;
}

.columns {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    overflow-x: hidden;
}

.columns.middle > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.columns > .box {
    border: 1px solid var(--contrast);
    padding: 8px;
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.1);
    max-width: 240px;
    margin: 12px auto;
}

.columns > * {
    flex: calc(100 * calc(300px - 100%));
    flex-grow: 1;
    flex-shrink: 1;
    align-content: flex-start;
    min-width: 320px;
}

.columns.middle > div {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.single-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.single-column > * {
    flex-basis: 300px;
    flex-shrink: 1;
    flex-grow: 1;
    flex: 1;
    max-width: 300px;
}

.testimonial-quote {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    border-bottom: 1px solid lightgrey;
    border-right: 1px solid lightgrey;
    border-radius: 0 0 10px;
    padding: 8px;
    margin-bottom: 12px;
}

.textimonial-quote > * {
    flex-basis: 320px;
    flex-grow: 1;
}

.testimonial-quote blockquote {
    /* Negate theme styles */
    border: 0;
    margin: 0;
    padding: 0;

    background: none;
    color: gray;
    font-family: Georgia, serif;
    font-style: italic;
    line-height: 1 !important;
    margin: 0;
    position: relative;
    text-shadow: 0 1px black;
    z-index: 600;
    max-width: 30em;
}

.testimonial-quote blockquote * {
    box-sizing: border-box;
    min-width: 300px;
    max-width: calc(100vw - 160px);
}

.testimonial-quote blockquote p {
    color: var(--darkshade);
    line-height: 1.1 !important;
    margin: 16px 8px 0 0;
}

.testimonial-quote blockquote p:first-child:before {
    content: "\201C";
    color: var(--primary);
    font-size: 7.5em;
    font-weight: 700;
    opacity: 0.3;
    position: absolute;
    top: -0.4em;
    left: -0.2em;
    text-shadow: none;
    z-index: -300;
}

.testimonial-quote img {
    border: 3px solid #888;
    border-radius: 4px;
    display: block;
    width: 80%;
    height: auto;
    margin: 0 auto;
}
.testimonial-quote cite {
    color: #444;
    display: block;
    font-size: max(16px, 1em);
}

.testimonial-quote cite span {
    color: #444;
    font-size: max(16px, 1em);
    font-style: normal;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px bold;
}

.testimonial-quote {
    position: relative;
}

.testimonial-quote .quote-container {
    padding-left: 160px;
}

.testimonial-quote.right .quote-container {
    padding-left: 0;
    padding-right: 160px;
}

.testimonial-quote.right img {
    left: auto;
    right: 0;
}

.testimonial-quote.right cite {
    text-align: right;
}

.colorcodes {
    text-align: center;
}

.colourtile {
    width: 200px;
    height: 40px;
}

.dispcolor {
    display: inline-block;
    width: 10%;
    height: 100%;
}

.announce {
    text-align: center;
    border-radius: 12px;
    padding: 4%;
}

.shoptions {
    clear: both;
    width: 100%;
}
.shoptions th,
.shoptions td {
    font-size: 16px;
    padding: 10px;
    vertical-align: top;
    text-align: center;
    border-top: 1px solid #888;
    border-right: 1px solid #888;
}
.shoptions th {
    background: black;
    color: white;
}
.shoptions td {
    font-family: arial, sans;
}
.shoptions input[type="date"],
.shoptions input[type="text"] {
    width: 120px;
    text-align: center;
    margin-right: 0px;
}
.inv input[type="text"] {
    width: 120px;
    text-align: center;
    margin-right: 8px;
    color: #000;
}
.inv {
    color: #888;
}
.fpbody {
    margin: 0 20px;
}

.fpbody h2 {
    margin-left: 28px;
}

.fpbody li {
    clear: both;
}

.swatch {
    display: inline-block;
    width: 8%;
    min-width: 24px;
    height: 32px;
    border: 1px solid grey;
    font-size: 16px;
    line-height: 16px;
    padding-top: 8px;
    vertical-align: top;
    text-align: center;
}

.prodselect > li {
    font-size: 120%;
    font-weight: bold;
}

.selcolor {
    width: 20vmin;
    height: 20vmin;
    min-width: 80px;
    min-height: 80x;
    float: left;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: contain;
    position: relative;
    cursor: pointer;
    border: 3px solid white;
}

.selcolor img {
    background: #888;
    border-radius: 50%;
    padding: 4px;
    position: absolute;
    top: 6px;
    left: 6px;
}

.cost-summary {
    margin-top: 12px;
    padding: 20px 0;
    font-size: 24px;
    color: #448;
}

.selcolor.selected img {
    background: #600;
    border-radius: 50%;
    padding: 4px;
    position: absolute;
    top: 6px;
    left: 6px;
}
.selcolor.selected {
    border-color: #224;
}

.selsize img {
    background: #888;
    border-radius: 50%;
    padding: 4px;
    position: absolute;
    top: 0;
    left: -16px;
}

.selsize {
    border: 2px solid black;
    margin: 10px 0;
    text-align: center;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
}
.selsize.selected {
    background-color: #224;
    color: white;
}
.selsize:hover,
.selcolor:hover {
    border-color: #88c;
    color: white;
}

.fadewbg {
    background: rgba(255, 255, 255, 0.5);
}

.cat-image {
    width: 100%;
    height: auto;
}

.bgimg {
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.square-thumb {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 238px;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.square-thumb::after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.square-thumb img {
    width: 100% !important;
    height: auto;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
}
.square-thumb span {
    display: block;
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.75);
}

.two-line {
    height: 2.2em;
}
.three-line {
    height: 3.2em;
}
.six-line {
    height: 7.2em;
}

.minithumb {
    width: 15vmin;
    height: 15vmin;
    display: inline-block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    cursor: pointer;
}

.zoompic {
    width: 100%;
}

.zoompic img {
    width: 100%;
    height: auto;
}

.ug-thumb-wrapper img {
    border-radius: 10px;
}

/* ==== CONTACT FORM ==== */

.contact {
    padding: 15px;
    margin: 10px;
}
.contact h1 {
}
.blue {
}
.contact p {
    margin: 8px 0 0;
}

.placeholders > div {
    position: relative;
    margin-bottom: 6px;
}
.placeholders > div > label {
    position: absolute;
}
.placeholders label {
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    transition: 0.25s;
    color: #ccc;
}
.placeholders input {
    width: 100%;
    background: transparent;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 2px 5px;
    outline: 0;
    box-sizing: border-box;
}
.placeholders input:valid + label,
.placeholders input:focus + label {
    top: 100%;
    margin-top: -20px;
    background: #4f82ad;
    color: #fff;
    font-size: max(16px, 80%);
    height: 20px;
}

.contact .blurfocus {
    color: black;
    border: 1px solid #bbbbbb;
    font-family: monospace;
    font-size: 18px;
    padding: 5px 5px 20px 5px;
}
.contact .blurfocus.error {
    border-color: red;
}
.contact .button {
    float: right;
}
.contact .row {
    max-width: 600px;
}
.contact textarea {
    height: 200px;
    width: 100%;
    box-sizing: border-box;
}
.signup {
    background: #eee;
    padding: 30px 10px;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    margin: 8px 0 44px;
}

/* ==== /CONTACT FORM ==== */

.ny5-btn {
    background: rgba(0, 0, 80, 0.5) !important;
}
.ny5-btn:hover {
    background: rgba(0, 0, 80, 1) !important;
}
.shopwindow h4 {
    text-shadow: 1px 1px 3px black;
}
.shopwindow a:hover {
    text-decoration: none;
}

.palette {
    display: flex;
    flex-wrap: wrap;
}

.palette > div {
    margin: 4px;
    padding: 4px;
    flex-grow: 1;
    flex-shrink: 1;
}

.palette > div > * {
    margin: 4px;
    padding: 4px;
}

.colset {
    flex: 1 1 240px;
    border: 1px solid grey;
    margin: 4px;
    padding: 2px 2px 2px 2px;
    float: left;
    background-size: contain;
    background-repeat: no-repeat;
}
.colset h3 {
    background: black;
    color: white;
    font-size: 170%;
    text-align: center;
}
.colset ul {
    color: #ccc;
    margin-top: 4px;
    margin-bottom: 4px;
}

.frogwood-button {
    width: 80%;
    border: 1px solid white;
    margin: 8px 10%;
}
.frogwood-button:hover {
    background: #6c6 !important;
    color: #000 !important;
}

.admin-table {
    border: 1px solid grey;
}
.admin-table th {
    color: white;
    background: black;
    border: 1px solid grey;
    vertical-align: middle;
}
.admin-table td {
    vertical-align: middle;
    text-align: center;
}
.admin-table tr:nth-child(odd) {
    background: #ccc;
}
.admin-table .lookup {
    color: blue;
    font-weight: bold;
    cursor: pointer;
}

.contact-address {
    border: 1px solid white;
    background: dark-grey;
    color: light-grey;
    padding: 5px;
    margin: 5px;
    display: inline-block;
    float: left;
}
.contact-address p {
    margin-bottom: 4px;
}

.contact-task {
    border: 1px solid gray;
    margin-bottom: 8px;
    background: #eee;
}

.contact-task.REDHOT {
    border-color: red;
    background: #fee;
}

.contact-task.High {
    border-color: red;
}
.contact-task.Normal {
    border-color: blue;
}
.contact-task.Low {
    border-color: yellow;
}
.contact-task.Background {
    border-color: green;
}

.dropzone {
    background: #ddd;
}

.company_note {
    background: #f2eae3;
    padding: 6px;
    position: relative;
}
.company_note button {
    position: absolute;
    top: 0;
    right: 0;
}
.company_note textarea {
    width: 100%;
}

.searchtag,
.hastag,
.addtag {
    display: inline-block;
    border-radius: 12px;
    border: 2px solid white;
    padding: 4px;
}

.addtag {
    background: #ccc;
}
.hastag {
    background: cyan;
}
.searchtag {
    background: #030;
    color: #fff;
}
.searchtag.hit {
    background: #060;
}

/*==================================================*/
.centerspinner {
    position: fixed;
    left: calc(50vw - 64px);
    top: calc(50vh - 64px);
}

.lds-ripple {
    z-index: 10;
    display: inline-block;
    position: relative;
    width: 128px;
    height: 128px;
}
.lds-ripple div {
    position: absolute;
    border: 4px solid #fc8;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
    animation-delay: -0.5s;
}
@keyframes lds-ripple {
    0% {
        top: 56px;
        left: 56px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: -1px;
        left: -1px;
        width: 116px;
        height: 116px;
        opacity: 0;
    }
}

.pager {
    font-size: 110%;
    margin: 0 auto;
}

.pager th {
    width: 3em;
}

.pager td {
    width: 2em;
}
.pager b {
    background: #666;
    color: #fff;
    display: inline-block;
    padding: 4px;
}

.selmail {
    cursor: pointer;
}
.selimg {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 3px;
    margin: 3px;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(191, 191, 191, 1);
    -moz-box-shadow: 3px 3px 5px 0px rgba(191, 191, 191, 1);
    box-shadow: 3px 3px 5px 0px rgba(191, 191, 191, 1);
}
.selimg:hover {
    -moz-transform: translate(2px, 2px);
    -ms-transform: translate(2px, 2px);
    -o-transform: translate(2px, 2px);
    -webkit-transform: translate(2px, 2px);
    transform: translate(2px, 2px);
}

.curlroundel {
    position: absolute;
    background-color: white;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0 50%;
    border-radius: 30px;
    border: 3px white solid;
    width: 60px;
    height: 60px;
    opacity: 0;
    z-index: 21;
    transition: all 0.5s ease;
    overflow: hidden;
    padding-left: 55px;
    font-size: 16px;
    line-height: 54px;
    white-space: nowrap;
}

.curlroundel:hover {
    border-color: red;
    width: 200px;
}

.curlroundel.wide:hover {
    border-color: red;
    width: 300px;
}

.curlimg {
    width: 150px;
    height: 150px;
    position: absolute;
    background-size: 320px 320px;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
    z-index: 21;
}

.curl:hover > .curlimg {
    width: 320px;
    height: 320px;
}

.curl:hover > .curlroundel {
    opacity: 1;
    z-index: 24;
}

.curl {
    width: 150px;
    height: 150px;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    z-index: 23;
}
.curl:after {
    content: "Tap or Hover";
    font-size: 18px;
    padding-top: 80%;
    color: red;
    text-align: right;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 49.5%,
        #aaa 50%,
        #bbb 56%,
        #ccc 62%,
        #f3f3f3 80%,
        #fff 100%
    );
    position: absolute;
    z-index: 22;
    width: 100%;
    height: 100%;
    box-shadow: 0 12px 15px rgba(0, 0, 0, 0.3);
}
.curl:after {
    left: auto;
    right: 0;
    bottom: auto;
    top: 0;
}

.curl:hover {
    width: 320px;
    height: 320px;
}
.curl:hover:before,
.curl:hover:after {
    box-shadow: 0 24px 30px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
}
*:before,
*:after {
    box-sizing: inherit;
}

a {
    text-decoration: none;
}

@keyframes enter {
    from {
        opacity: 0;
        ttransform: scaleY(0.98) translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.euromap,
.usamap,
.worldmap {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.euromap span,
.usamap span,
.worldmap span {
    color: red;
    background: white;
    border: 1px solid black;
    border-radius: 25%;
    width: 8px;
    height: 8px;
    line-height: 12px;
    font-size: 12px;
    position: absolute;
    margin: -0.5em, -0.5em, 0 0;
}

.rooms {
    width: 100vw;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.1);
}

.rooms > div {
    flex: 1 1 240px;
    border: 1px solid grey;
    padding: 2px;
    margin: 2px;
    min-height: 15vh;
    background: rgba(255, 255, 255, 0.2);
}

.rooms > .rooms {
    flex: 1 1 48%;
}
.rooms h3 {
    text-align: center;
    width: 100%;
}

.rooms tag {
    display: inline-block;
    width: 100px;
    margin: 2px;
    background: white;
    border: 1px solid black;
    padding: 2px;
}

.productname-hold {
    width: 180px;
}