﻿/* embedded video handling */
iframe {
    max-width: 100%;
    border: none;
}

/* the 3 categories with special texts */
h2.homepagecategory {
    text-align: center;
    position: relative;
    top: -4rem;
    color: white;
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: rgba(23,162,184,0.4);
}

/* gallery controls to work on white background too */
.vgs__next, .vgs__prev {
    -webkit-text-stroke: 1px black;
}

.review-text {
    font-style: italic;
    color: #666;
}

/* generally smaller headings */
.h1, h1, .h2, h2 {
    font-size: 1.5rem;
}

/* cart should be active on all the pages */
.cart-view ul.sidebar-cart:not(.wishlist) {
    pointer-events: auto !important;
}

/* Special checkbox - product attributes styling */
.attributes {
    margin: 0 !important;
    border: none !important;
}

.attributes .custom-control {
    float: left;
}

.attributes [type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.attributes [type=radio] + img {
    cursor: pointer;
    width: 120px;
}

.attributes [type=radio] + img:hover {
    cursor: pointer;
    width: 120px;
    outline: 1px solid #ccc;
}

.attributes [type=radio]:checked + img {
    object-fit: cover;
    filter: drop-shadow(2px 2px 5px rgb(0 0 0 / 0.5));
    outline: 1px solid #138496;
}

.attributes [type=radio]:checked + img + div {
    font-weight: bold;
    background: #138496;
    color: white;
}

/* arukereso widget slighly lower */
div#ak-widget.akw-side-right, div#ak-widget.akw-side-right-badge, div#ak-widget.akw-side-right-text {
    top: 70px !important;
}

/* Google search console - too tiny font fix - 1rem */
footer .list-group-item-action, footer .list-group-item span:first-child, footer .list-group-item span:last-child, span.footer-disclaimer {
    font-size: 1rem !important;
}

/* this button we don't need on mobile */
button#sidebar-mobile-button {
    display: none;
}

/* slider button color */
#GrandCarousel .carousel-item .animate-bottom.btn {
    background-color: #138496 !important;
    border-color: #117a8b !important;
}

/* unpublished products */
.discontinued-product h2 {
    background: #dc3545;
    color: #fff;
    padding: 0.2em;
}

/* The various awards as background */
.award {
    background-repeat: no-repeat;
    background-position: left 0px top 0px;
}

.award .content {
    margin-left: 5em;
}

.award1 {
    background-image: url('/ob2020-minosegi.png');
}

.award2 {
    background-image: url('/ob2019-minosegi.png');
}

.award3 {
    background-image: url('/ob2018-minosegi.png');
}

/* Important! Fixing our oversized images for mobile, in the product description */
.tab-pane img {
  	max-width: 100%;
}

iframe {
    max-width: 100% !important;
}

/* List styling in our product descriptions */
.tab-pane dl, .tab-pane ol, .tab-pane ul {
  list-style-type: disc;
}

/* Styling of order totals - separator lines */
.totals .table .order-total td {
	border-top: double;
  	border-bottom: 1px solid;
}

.tax-value td {
  	color: #aaa;
  	font-style: italic;
}

.totals span.selected-shipping-method {
    display: block;
    font-style: italic;
    color: #aaa;
    font-size: 75%;
    white-space: nowrap;
    overflow: hidden;
}

/* truncate the product name if too long */
.product-box .card-title a {
    margin: 0 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    width: 95%;
    line-height: 1.5em;
}

/* items move to the middle */
.product-box .card-body {
    text-align: center;
}

.product-box .rating {
    justify-content: center;
}

.product-box .prices:first-child
{
    color: #c00 !important;
}