/* YAN Jewellery CSS Styling Version 1*/
/* General Website */
html {
    font-family: "Verdana", arial, Sans-Serif;
    font-weight: 100;
    font-size: 1em;
    font-size: 100%;
    color: #313131;
    background-color: #faf0e6;
    user-select: none;
    overflow-x: hidden;
}
body {
    width: 100%;
    font-size: 1em;
    line-height: 1.6;
    margin: auto;
}
/* CSS Text and Image Elements*/
h1 {
    font-size: 1.4em;
    font-weight: 400;
    color: #313131;
    padding: 0px;
    margin: 20px auto;
}
h2 {
    font-size: 1.8em;
    font-weight: 400;
    margin: 20px auto;
}
h3 {
    font-size: 1.3em;
    font-weight: 400;
    margin: 20px auto;
}
h4 {
    font-size: 1.2em;
    font-weight: 400;
    margin: 20px auto;
}
h5 {
    font-size: 1.1em;
    font-weight: inherit;
    margin: 20px auto;
}
h6 {
    font-size: 1em;
    font-weight: inherit;
    line-height: 1.6;
    margin: 20px auto;
}
p {
    font-size: 1.1em;
    font-weight: 100;
    margin: 10px auto;
}
a {
    font-size: 1em;
    color: #313131;
    text-decoration: underline;
}
a:focus, a:hover {
  color: #a41f24;
}
table,
td,
th {
    vertical-align: middle;
    border: 0px;
    font-weight: 400;
    font-size: 1em;
    width: auto;
    padding: 0px;
    margin: 0px;
}
ul {
    margin: 0px;
    font-size: 1em;
}
button {
    font-size: 1em;
    background-color: rgb(255,255,255,0.5);
}
.input[type="button"]:focus, button:focus, button:hover, input[type="button"]:hover, input[type="reset"], input[type="reset"]:focus, input[type="reset"]:hover, input[type="submit"], input[type="submit"]:focus, input[type="submit"]:hover {
    border-style: solid;
    border-width: 2px;
    background-color: rgb(255,255,255,0.5);
    color: #313131;
}
.s_button {
    font-size: 1em;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 0;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}
.s_button:focus {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px;
}
.p_button {
    font-size: 1em;
    cursor: pointer;
    border-width: 2px;
    border-style: dashed;
    background-color: white;
    border-color: #a41f24;
}
.p_button:focus {
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px;
}
.s_button_red {
    color: #fff;
    background-color: white;
    background: white;
    padding: 10px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 48px;
}
.s_button_red:hover {
    background-color: rgb(255,255,255,0.5);
    color: #313131;
    border-style: solid;
    border-width: 2px;
    box-shadow: rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px, rgba(17, 17, 26, 0.1) 0px 0px 0px;
}
/* p_button_red red product button has background-color white with !important otherwise overriden by another wordpress theme css class */
.p_button_red {
    color: #a41f24;
    background: white;
    background-color: white !important;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.p_button_red:hover {
    background-color: #a41f24;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}
.p_button_red:focus {
    background-color: #a41f24;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}
.loader {
    margin: 10px;
    position: absolute;
}
.loader img {
    display: block;
    margin: auto;
    height: 30px;
}
/*hidden_when_not_fullscreen is the logo and site title that is hidden when less than max width on tablet and mobile devices */
.hidden_when_not_fullscreen {
        display: flex;
}
@media all and (max-width: 1280px) {
    .hidden_when_not_fullscreen {
        display: none;
    }
}

/* CSS Wordpress Content */
.homepage_title {
    padding: 0px;
    margin: 0px;
}
@media all and (max-width: 1280px) {
.homepage_title h2 {
    font-size: 1.4em;
    }
}
.homepage_links a {
    margin: 20px 0px;
}
.wp-block-post-excerpt__more-text a {
	color: white;
	text-decoration: none;
	background: #a41f24;
	border-style: solid;
	border-width: 5px;
	border-color: #a41f24;
	border-radius: 5px;
    margin: 20px 0px;
}
.homepage_buttons a {
	color: white;
	text-decoration: none;
	background: #a41f24;
	border-style: solid;
	border-width: 5px;
	border-color: #a41f24;
	border-radius: 5px;
    margin: 20px 5px;
}
.uagb-column__inner-wrap a, .wp-block-columns a, .woocommerce-Tabs-panel.woocommerce-Tabs-panel--description.panel.entry-content.wc-tab a {
    text-decoration: none;
}
.wp-block-media-text .wp-block-media-text__content {
    margin: 0px;
	padding: 0px 5px;
}
.entry-content p {
    margin: 2em 5px;
	padding: 0px;
}
@media all and (max-width: 1280px) {
.entry-content p {
    margin: 0.5em 5px;
	padding: 0px;
	}
}
.feature {
    margin: auto;
    text-shadow: 5px 2px 6px #000000;
}
.has-white-color a {
	text-decoration: none;
}
.frontpagelinks a {
	text-decoration: none;
	color: white;
	text-shadow: 1px 1px 1px #000000;
}
.frontpagelinks:hover a {
	text-decoration: underline;
	color: white;
	text-shadow: 1px 1px 1px #000000;
}
.hastextshadow {
	text-shadow: 1px 1px 1px #dcdcdc;
}
.hastextshadowblack {
	text-shadow: 1px 1px 1px #000000;
}
.wp-block-button__link {
	text-decoration: none !important;
}
.hasborderbrown {
	border-style: solid;
	border-color: #a66858;
	border-width: 2px;
	overflow: hidden;
}
.hasborderwhite {
	border-style: solid;
	border-color: #ffffff;
	border-width: 1px;
	overflow: hidden;
}
.hasbackground {
	border-style: solid;
	border-color: #a66858;
	border-width: 10px;
	border-radius: 10px;
	overflow: hidden;
	background: #a66858;
}
.whitebackground {
	background: white;
	border-radius: 5px;
	overflow: hidden;
}

.notextshadow {
		text-shadow: 0px 0px 0px #000000;
}
.onpicturelinks a {
	text-decoration: none;
	background: rgb(255,255,255,0.1);
	padding: 20px;
	color: white;
	text-shadow: 1px 1px 1px #000000;
}
.onpicturelinks:hover a {
	text-decoration: underline;
	color: white;
	text-shadow: 1px 1px 1px #000000;
}
.homepage_feature img {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
}
@media all and (max-width: 1280px) {
    .homepage_feature img {
        height: 300px;
    }
    .homepage_gemstones img {
        height: 300px;
    }
    .homepage_poster img {
        height: 300px;
    }
}
.homepage_poster img {
	width: 100%;
	max-width: 100% !important;
	max-height: 500px;
	object-fit: cover;
}
.homepage_gemstones img {
	max-height: 500px;
	object-fit: contain;
	background-color: white;
}
.homepage_imagegrid {
	padding: 20px;
}
.homepage_imagegrid h6 {
	font-size: 1em;
	padding: 10px;
	text-align: justify;
}
.homepage_imagegrid img {
	width: 100%;
	max-height: 150px;
	object-fit: cover;
}
.uagb-block-11cd0894 .uagb-post__items article {
    padding: 5px;
}
/* CSS Products Content */
.grid-container {
    display: block;
    margin: auto;
    max-width: 80%;
}
@media all and (max-width: 1280px) {
    .grid-container {
        display: block;
        margin: auto;
        max-width: 100%;
    }
}
/* Trust Pilot Review Box */
.trustpilot-widget {
    margin-top: 10px;
}
/* Product Containers */
.related_div {
    padding: 10px;
    text-shadow: 1px 1px 2px #dcdcdc;
}
.related_heading {
    text-decoration: underline;
}
.products_container {
    max-width: 100%;
    margin-top: 10px;
    display: grid;
    grid-template-columns: auto;
    padding: 20px;
    border-color: white;
    border-style: dashed;
    border-width: 2px;
}
@media all and (max-width: 768px) {
    .products_container {
        max-width: 100%;
        margin-top: 10px;
        display: grid;
        grid-template-columns: auto;
        padding: 10px;
        border-color: white;
        border-style: dashed;
        border-width: 2px;
    }
}
.products_grid {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-gap: 20px;
  justify-content: center;
  padding: 20px;
  margin: 20px;
}
@media all and (max-width: 768px) {
    .products_grid {
        display: grid;
        grid-template-columns: 50% 50%;
        grid-gap: 10px;
        justify-content: center;
        padding: 10px;
        margin: 0px;
    }
}
.products {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: 80% 20%;
    cursor: pointer;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.products:hover {
    transform: scale(1.05);
    transition: 0.5s;
}
.sale {
    height: 2.5em;
    position: absolute;
    margin: 5px;
}
.thumbnail {
    width: 100%;
    object-fit: contain;
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}
@media all and (max-width: 768px) {
    .thumbnail {
        min-width: 20vw;
    }
}
.products_names {
    font-size: 0.9em;
    text-align: center;
    text-shadow: 1px 1px 2px #dcdcdc;
    color: #313131;
    font-weight: 400;
    line-height: 1.6;
    margin: 20px auto;
}
.products_attr {
    text-align: center;
    font-style: italic;
    margin-bottom: 0px;
    padding: 2px;
}
@media all and (max-width: 768px) {
    .products_names {
        font-size: 0.9em;
        text-align: center;
        text-shadow: 1px 1px 2px #dcdcdc;
        color: #313131;
        font-weight: 400;
        line-height: 1.6;
        margin: 5px auto;
    }
    .products_attr {
    text-align: center;
    font-style: italic;
    padding: 2px;
    margin: 5px auto;
    }
}
.products_info {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    margin-top: 10px;
    padding: 5px;
}
.products_prices {
    padding: 10px;
    color: #a41f24;
    font-weight: 800;
    font-size: 1.2em;
}

/* #content ID rule #masthead content */
#masthead {
    display: -webkit-box;
    padding: 0px 10px 0px 10px;
    margin: 0;
}

/* primary-menu-container for menu with items previously had negative margin overlap off screen*/
.primary-menu-container {
    margin-left: 0px;
    margin-right: 0px;
}

/* #content ID rule for class site-content just before ajax container need margin to be 0*/
#content {
    margin-top: 0;
}

/* #main ID rule for class site-main just before ajax container need padding to be 0*/
#main {
    padding-top: 0;
}

/* page-template-default class for body tag, background color */
.page-template-default {
    background-color: #FAF0E6;
}

/* CSS Header and Ajax Content previously 15 55 15 15 but a little squashed on ipad before making the switch to mobile */
.ajax_container {
    display: grid;
    grid-template-columns: 20% 40% 20% 20%;
    grid-template-areas: 'header header header header''content content content content';
    text-align: center;
    align-items: center;
    background-color: rgb(255,255,255,0.1);
    border-color: white;
    border-style: dashed hidden dashed hidden;;
    border-width: 2px;
    /* previously 65px top */
    margin: 0px 0px 0px 0px;
}
@media all and (max-width: 768px) {
    .ajax_container {
        display: grid;
        grid-template-columns: 20% 40% 20% 20%;
        grid-template-areas: 'header header header header''content content content content';
        text-align: center;
        align-items: center;
        background-color: rgb(255,255,255,0.1);
        border-color: white;
        border-style: dashed;
        border-width: 2px;
        /* previously 65px top */
        margin: 0px 0px 0px 0px; 
    }
}
.ajax_container a {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    text-decoration: none;
    width: 50%;
}
.menu_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
}
.menu_toggle:hover {
    background-color: rgba(255,255,255,0.5);
}
.menu_toggle:hover a {
    color: #a41f24;
}
@media all and (max-width: 768px) {
.menu_toggle a {
    display: none;
    }
}
#menu_icon {
    display: table-cell;
    width: 100%;
    height: 30px;
    background-image: url('/images/menu.svg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}
#menu_icon.active { 
    background: #c13e3e;
}
.search {
    display: grid;
    grid-template-columns: 10% 90%;
    margin: 0px 10px;
    height: 70%;
}
@media all and (max-width: 768px) {
.search {
    display: grid;
    grid-template-columns: 20% 80%;
    margin: 0px;
    height: 70%;
    }
}
#search_button {
    background-image: url('/images/search.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    background-color: rgb(255,255,255,0.5);
    border-style: solid;
    border-width: 1px 0 1px 1px;
    border-color: rgba(144, 81, 14, 0.4);
    border-radius: 5px 0px 0px 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) inset;
    text-align: center;
    vertical-align: middle;
    align-items: center;
}
#search_button:hover { 
    background-color: rgb(255,255,255,0.1);
}
#search_button:active { 
    background: #c13e3e;
}
#mysearch {
    font-size: 1em;
    background: rgb(255,255,255,0.5);
    border-style: solid;
    border-width: 1px 1px 1px 0;
    border-color: rgba(144, 81, 14, 0.4); 
    border-radius: 0px 5px 5px 0px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) inset;
}
.member_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
}
.member_toggle:hover {
    background-color: rgba(255,255,255,0.5);
}
.member_toggle:hover a {
    color: #a41f24;
}
@media all and (max-width: 768px) {
.member_toggle a {
    display: none;
    }
}
#user_button {
   height: 100%;
    width: 30px;
     -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-image: url('/images/user.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    text-align: center;
    vertical-align: middle;
    align-items: center;  
}
#user_button.hover { 
    background: black;
}
#user_button.active { 
    background: #c13e3e;
}
.user_button {
    /*background-color: #313131;*/
}
.shopping_toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 4em;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: pointer;
    border-radius: 10px 10px 0px 0px;
}
.shopping_toggle:hover {
    background-color: rgba(255,255,255,0.5);
}
.shopping_toggle:hover a {
    color: #a41f24;
}
@media all and (max-width: 768px) {
.shopping_toggle a {
    display: none;
    }
}
#shopping_icon {
    display: table;
    width: 100%;
    height: 30px;
    background-image: url('/images/bag.svg'); 
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
}
#shopping_icon.active { 
    background: #c13e3e;
}
.cart_count {
    text-align:center; 
    display: block;  
    color: white;
    text-shadow: 1px 1px 2px #000000;
}
/* Members Login and Registration Container Content */
.member_container {
    display: grid;
    grid-template-columns: auto auto;
    grid-column-gap: 5px;
    padding: 5px;
    margin: auto;
    background-color: rgb(255,255,255,0.5);
}
@media all and (max-width: 768px) {
    .member_container {
        display: grid;
        grid-template-columns: auto;
        padding: 5px;
        margin: auto;
        background-color: rgb(255,255,255,0.5);
    }
}
.member_container2 {
    display: grid;
    grid-template-columns: auto auto;
    padding: 0;
    margin: auto;
    background-color: rgb(255,255,255,0.5);
}
@media all and (max-width: 768px) {
    .member_container2 {
        display: grid;
        grid-template-columns: auto;
        padding: 0;
        margin: auto;
        background-color: rgb(255,255,255,0.5);
    }
}
.member_container h3, h2 {
    text-align: center;
}
.member_container2 h3, h2 {
    text-align: center;
}
.g-recaptcha {
    width: 100%;
    margin: 20px auto;
    background-color: #a41f24;
    color: white;
    padding: 1em;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    user-select: none;
    text-align: center;
    border: 2px solid rgba(144, 81, 14, 0.3);
        border-top-color: rgba(144, 81, 14, 0.3);
        border-right-color: rgba(144, 81, 14, 0.3);
        border-bottom-color: rgba(144, 81, 14, 0.3);
        border-left-color: rgba(144, 81, 14, 0.3);
    border-top-color: rgba(144, 81, 14, 0.3);
    border-right-color: rgba(144, 81, 14, 0.3);
    border-bottom-color: rgba(144, 81, 14, 0.3);
    border-left-color: rgba(144, 81, 14, 0.3);
    box-shadow: 0 2px 2px rgba(144, 81, 14, 0.1);
}
.details_summary > summary {
    margin: 20px auto;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(144, 81, 14, 0.3);
    box-shadow: 0 2px 2px rgba(144, 81, 14, 0.1);
    border-radius: 5px;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
}
.details_summary > summary:hover {
    background: #a41f24;
    color: white;
    border-color: transparent;
    cursor: pointer;
}
/* Ajax Shopping Container Content */
.empty_container {
    grid-area: content;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: center;
    padding: 10px;
    background-color: rgb(255,255,255,0.5);
    cursor: pointer;
}
.cart_container {
    grid-area: content;
}
.checkout_container {
    text-align: center;
    display: grid;
    grid-template-columns: 55% 45%;
    grid-column-gap: 5px;
    padding: 5px;
    background-color: rgba(255,255,255,0.5);
}
.checkout_container a {
    text-decoration: underline;
    display: block;
    width: 100%;
}
@media all and (max-width: 992px) {
    .checkout_container {
        text-align: center;
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto auto;
        background-color: rgba(255,255,255,0.5);
        border-style: dashed hidden hidden hidden;
        border-color: white;
        border-width: 2px;
    }
}
.cc_div1 {
    padding: 5px;
    background-color: #faf0e6;
}
.cc_div2 {
    padding: 5px;
    background-color: #faf0e6;
}
.cc_div1table {
  border-collapse: collapse;
  width: 100%;
}
.cc_div1table th {
    font-size: 1em;
    text-decoration: underline;
}
.cc_div1table td {
    padding: 5px;
    text-align: center;
}
.cc_div1table tr {
    padding-top: 1em;
}
.cc_div1table a {
	font-size: 1em;
	width: inherit;
	padding: 0px;
}
.total-price {
    font-size: 1.2em;
    font-weight: 600;
}
.remove, .plus, .minus {
    display: block;
    padding: 0;
    margin: 0;
    background: rgb(255,255,255,0);
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
}
.remove:hover, .remove:focus, .plus:hover, .plus:focus, .minus:hover, .minus:focus {
    color: #a41f24;
    background-color: rgb(255,255,255,0.5);
    border-style: solid;
    border-width: 2px;
    border-color: #ababab;
}
.myname, .mystreet, .mycity .mypostcode, .mycountry, .myemail, .mynumber {
    width: 100%;
}
.column:not(:last-child) {
    margin-right: 10px; 
}
.label, .text-input {
    float: left;
    display: block;
    clear: both;
    text-align: left;
    margin-bottom: 0.2em;
}
.label_email {
    font-size: 0.8em;
}
.checkout_form {
    display: grid;
    padding: 10px;
    margin: auto;
}
.checkout_form > label {
    margin-top: 5px;
}
.text_input {
    box-sizing: border-box;
    width: 100%;
    font-size: 1em;
    padding: 1em;
    background: white;
    border: 1px solid rgba(144, 81, 14, 0.4);
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) inset;
}
.order-button {
    margin: 20px auto;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(144, 81, 14, 0.3);
    box-shadow: 0 2px 2px rgba(144, 81, 14, 0.1);
    border-radius: 5px;
    transition: background 0.1s, color 0.1s, border-color 0.1s;
    color: #313131;
}
.order-button:hover {
  background: #a41f24;
  color: white;
  border-color: transparent;
  cursor: pointer;
}
.paydirect-button {
    margin: 20px auto;
    padding: 1em;
    width: 100%;
    box-sizing: border-box;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(144, 81, 14, 0.3);
    box-shadow: 0 2px 2px rgba(144, 81, 14, 0.1);
    border-radius: 5px;
    transition: background 0.1s, color 0.1s, border-color 0.1s;  
    color: #313131;
}
.paydirect-button:hover {
    background: #a41f24;
    color: white;
    border-color: transparent;
    cursor: pointer;
}
.cc_div2table, .cc_div2table_info {
    width: 100%;
    border-spacing: 0 1em;
    text-align: left;
    border-collapse: collapse;
}
.cc_div2table tr, .cc_div2table_info tr {
  padding: 5px;
}
.cc_div2details {
    background-color: rgb(255,255,255,0.5);
    border-style: solid;
    border-color: #eaeaea;
    border-radius: 2px;
    border-width: 1px;
}
.cc_div2thankyou {
    width: 100%;
    padding: 0px;
    border-collapse: separate;
    border-spacing: 0 1em;
}
.cc_div2thankyou td, th {
    font-size: 1em;
    text-align:center;
}
/* HTML Menu Container */
.menu_container {
    display: grid;
    grid-template-columns: 40% 60%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: center;
    font-weight: bold;
    padding: 5px;
    background-color: rgb(255,255,255,0.5);
    cursor: pointer;
}
.menu {
}
.menu_tabs {
    padding: 0px;
}
.menu_tab {
    display: block;
    color: black;
    background-color: #faf0e6;
    width: 100%;
    height: 5em;
    border-style: solid;
    border-width: 5px;
    border-color: rgb(255,255,255,0.5);
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    font-size: 1em;
    font-weight: 100;
}
.menu_tab:hover {
    border-style: solid;
    border-width: 2px;
    border-color: #ababab;
    background-color:rgb(255,255,255,0.5);
}
.menu_tabactive:hover {
    background-color: #ffe0b1;
}
.menu_tabactive:focus {
    background-color: #ffe0b1;
}
.menucontent {
    display: none;
    background-color: #faf0e6;
    padding: 10px;
    border-style:  dashed dashed dashed hidden;
    border-color: white;
    border-width: 2px;
    border-left: none;
    height: auto;
}
.menu_button {
    width: 100%;
    height: 5em;
    color: #313131;
    background-color: #faf0e6;
    border-style: solid;
    border-width: 5px;
    border-color: rgb(255,255,255,0.5);
    border-radius: 10px;
    cursor: pointer;
    font-size: 1em;
}
.menu_button:hover {
    color: #313131;
    background-color: rgba(255,255,255,0.2);
}
.menu_button:active {
    background-color: #ffe0b1;
}
/* Product Information Container */
.product_container {
    display: grid;
    grid-template-columns: 65% 35%;
}
@media all and (max-width: 768px) {
    .product_container {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    }
}
.pc_div1 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
}
.pc_div1img {
    width:100%;
    box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
    cursor:pointer;
    user-select: none;
}
.pc_div11 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    margin-top: 20px;
    overflow: visible;
}
.pc_div11img {
    max-width: 100%;
    object-fit: contain;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    background-color: white;
    cursor:pointer;
    user-select: none;
}
.pc_div11imgo {
    opacity: 0.6;
}
.pc_div11imgn, .pc_div11imgo:hover {
    opacity: 1;
}

/* Full screen images */
.modalbgoff {
    display: inherit;
}

.modalbg {
    display: block;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    min-height: 100vh;
    min-width: 100vw;
    overflow: auto;
    background-color: black;
}
.modal {
    display: block;
    position: relative;
    margin: auto;
    min-height: 100vh;
    min-width: 100vw;
    padding: 2%;
}
.prev,
.next {
    display: block;
    cursor: pointer;
    position: relative;
    width: auto;
    height: min-content;
    align-self: center;
    padding: 20px 20px;
    color: white;
    font-size: 4em;
    transition: 0.6s ease;
    user-select: none;
    text-decoration: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
.next {
    text-align: right;
}
.prev:hover,
.next:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.5);
}
@media all and (max-width: 768px) {
.prev,
.next {
    position: absolute;
    top: 50%;
    padding: 10px 10px;
    transform: translateY(calc(-100% * 0.5));
    animation-duration: 10s;
     -webkit-animation-duration: 10s;
     -moz-animation-duration: 10s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -moz-animation-fill-mode: both;
    }
}
.modalclose {
    color: white;
    background-color: unset;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    position: relative;
    font-size: 2em;
    font-weight: bold;
    z-index: 2;
}
.modalclose:hover,
.modalclose:focus {
    font-size: 2em;
    color: white;
    background-color: rgb(255,255,255,0.5);
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}
.pc_div2 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    grid-gap: 10px;
    margin: 10px 10px 0px 10px;
}
.pc_div2form {
    text-align: center;
}
.pc_div2heading {
    text-align: center;
}
.sale_main:before {
    content: '\2731';
    scale: 2;
    color: #a41f24;
}
/* Further Information Tab Container */
.tab_container {
    display: flex;
    margin-top: 20px;
    background-color: #a41f24;
}
.details_tab {
    display: grid;
    width: 50%;
    padding: 1em 0;
    font-size: 1em;
    text-align: center;
    align-content: center;
    background-color: #a41f24;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
}
.details_tab:hover {
    background-color: rgba(255,255,255,0.2);
}
.details_tabactive {
    background-color: #c13e3e;
}
/* Information Container */
.ic_div1 {
    border-color: transparent white white white;
    border-style: dashed;
    border-width: 2px; 
    padding: 10px;
}
.ic_div1table {
    width: 100%;
    min-height: 300px;
}
.ic_div1table ul {
    margin-top: 10px;
}
/* Toggles */
.hide {
    display: none;
}
.white {
    background-color: rgb(255,255,255,0.5);
}
.white a {
    color: #a41f24;
}
/* CSS Carousel */
img {
    display: block;
    max-width: 100%;
}
.gallery-wrapper {
    display: grid;
    height: auto;
    grid-template-columns: auto;
    grid-template-rows: auto auto;
    grid-gap: 10px;
    overflow: hidden;
}
.gallery {
    display: grid;
    height: auto;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto auto auto;
    grid-template-areas: 'close close close''left content right' 'caption caption caption';
    grid-gap: 0;
    align-items: center;
    overflow: hidden;
}
.gallery-left {
    grid-area: left;
}
.gallery-right {
    grid-area: right;
}
.gallery-images {
    grid-area: content;
    display: flex;
    max-height: 100vh;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    margin: auto;
}
.gallery_img {
    /* Max Height for Iphone limits too tall */
    max-height: 100vw;
    scroll-snap-align: start;
    object-fit: contain;
    /*! height: 100%; */
}
.gallery-close {
    grid-area: close;
    position: relative;
    text-align: right;
    /*! height: 5%; */
}
.gallery-caption {
    grid-area:caption;
    position: relative;
    text-align: center;
    width: 100%;
    color: white;
    text-shadow: 1px 1px 2px black;
    border-style: none;
}
.gallery-nav {
    overflow-x: hidden;
    overflow-y: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
    grid-row-start: auto;
}
.gallery-nav a {
    display: block;
}
.gallery-nav-img {
    object-fit: cover;
    filter: opacity(0.6);
    transition: 0.3s ease all;
}
.gallery-nav-img:hover {
    transform: scale(1.05);
    filter: opacity(1);
}
/* Animations */
         
@-webkit-keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
@keyframes fadeOut {
0% {opacity: 1;}
100% {opacity: 0;}
}
.fadeOut {
-webkit-animation-name: fadeOut;
-moz-animation-name: fadeOut;
animation-name: fadeOut;
}

/* NoSelect */
.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

/* Custom Header Bar with Menu Styling */
.header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #faf0e6;
    height: auto;
}
/* hides menu buttons for example sub menu [+-] big button but be careful as also hides the desired mobile pop up menu button .menu-toggle */
/* menu-toggle */
.menu-toggle, .sub-menu-toggle {
    display: none;
    background-color: #faf0e6;
    background: #faf0e6;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}
/* specific button styling otherwise is black 313131 from above settings, note had no effect as overidden by wordpress so set directly in style tag header.php */
.menu-toggle button:all, .sub-menu-toggle button:all {
    background-color: #faf0e6;
    color: #313131;
    border-width: 1px;
    border-style: solid;
    border-color: #313131;
}
/* menu-toggle mobile note could use absolute and top 10% to move it out of way of new big menu but will not be as prev position also not convenient for thumb use */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        border-width: 1px; 
        border-style: solid;
        border-color: #faf0e6;
    }
}
/* site logo, tried display: none on mobile but didnt look good with just a --- menu  */
.site-logo {
    display: block;
    width: 100px;
    height: 100px;
}
.site-logo img {
    width: 100px;
    height: 100px;
}
/* main navigation */
.main-navigation {
    flex-grow: 1;
    margin-left: 20px;
}
@media (max-width: 768px) {
    .main-navigation {
        display: none;
        flex-direction: column;
        padding: 10px;
    }
    .main-navigation.open {
        position: relative;
        display: flex;
        margin-left: 0px;
    }
}
/* nav menu */
.nav-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}
.nav-menu li {
    position: relative;
}
.nav-menu li a {
    text-decoration: none;
    padding: 10px;
    display: block;
    color: #333;
}
/* principle nav menu note list none removes bullet points, display none hides menu */
.nav-menu li ul {
    display: none;
    position: absolute;
    list-style: none;
    top: 100%;
    left: 0;
    background: #faf0e6;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}
.nav-menu li:hover > ul {
    display: block;
}
.nav-menu li ul li a {
    padding: 10px 15px;
    white-space: nowrap;
}
/* use of calc xx padding left created large left border in menu note does lose the little bullet points */
.nav-menu ul,  .nav-menu ol {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
/* cascading trailing sub menu sub menus otherwise hides menu item */
.nav-menu li ul li ul {
    top: 0;
    left: 100%;
}
/* nav menu mobile note nav-menu left 30% to offset right in mobile, padding left reduces empty space*/
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 0px;
        padding-left: 0px;
    }
    .nav-menu li ul {
        display: none;
        position: absolute;
        list-style: none;
        top: 100%;
        left: 30%;
    }
}
/**
* menu-item  is used in menu-links to override twentytwentyone default class menu-item  green color
**/
.menu-item  {
    background-color: #FAF0E6 !important;
}
/* no scroll to lock down background content when menu open, is toggle in javascript page.js */
.no-scroll {
    overflow: hidden;
    height: 100vh;
}
/* featured image as used in home page and others, now limited to max 250 px height */
.wp-block-post-featured-image {
    height: 250px !important;
}
@media (max-width: 768px) {
    .wp-block-post-featured-image {
        height: 100px;
    }
}
/* image plus text as used in wp now limited in height to half of above */
.wp-block-media-text {
    display: flex;
    justify-content: center;
}
.wp-block-media-text img {
    max-height: 125px !important;
    width: auto;
}
@media (max-width: 768px) {
    .wp-block-media-text {
        display: flex;
        justify-content: center;
    }
    .wp-block-media-text img {
        max-height: 50px !important;
        width: auto;
    }
}


