/*
 Theme Name: Decode Child
 Template: decode
 */


/* Fix image width for product page */
.woocommerce div.product div.images img {
	width: auto;
	max-width: 100%;
}

/* Center product gallery images */
.woocommerce div.product div.images .flex-control-thumbs li img {
	margin: auto;
}

/* Fix for image on product page */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	max-width: 10000%;
	/* Disable product image gallery slide animation */
	transition-duration: 0s !important;
}

/* Remove opacity of images on product page and add border to select image */
.woocommerce div.product div.images .flex-control-thumbs li img {
	opacity: 1;
	border: 1px solid transparent;
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
	border: 1px solid white;
	/* Disable blue overlay color since we show a border already */
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

/* Fix background color of tabs on product page */
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background-color: #222;
}

/* Fix font size in shopping cart and on product page */
.entry-content .woocommerce table tbody,
.woocommerce .entry-content table tbody {
	font-size: 16px;
}

/* Increase size of image in shopping cart */
.woocommerce #content table.cart img,
.woocommerce table.cart img,
.woocommerce-page #content table.cart img,
.woocommerce-page table.cart img
{
	height: 150px;
	width: auto;
}

/* Make sure the coupon field on the shopping cart is wide enough to fit the text */
.woocommerce #content table.cart td.actions .input-text,
.woocommerce table.cart td.actions .input-text,
.woocommerce-page #content table.cart td.actions .input-text,
.woocommerce-page table.cart td.actions .input-text
{
	width: 200px;
}

/* Fix colors in shopping cart and checkout */
.woocommerce-error, .woocommerce-info, .woocommerce-message {
	background-color: #2e2e2e;
	color: #fff;
}

/* Fix colors in shopping cart and checkout */
#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
	background-color: #2e2e2e;
}

/* Fix color of disabled button */
.site-content .site-main .woocommerce #respond input#submit,
.site-content .site-main .woocommerce a.button,
.site-content .site-main .woocommerce button.button,
.site-content .site-main .woocommerce input.button {
	background-color: #2e2e2e;
	color: #fff;
}

/* Fix button text color for dropdowns and amount selectors */
/*.woocommerce .site-content .site-main button,*/
.woocommerce .site-content .site-main input,
.woocommerce .site-content .site-main select,
.woocommerce .site-content .site-main textarea,
.woocommerce-cart-form input,
.woocommerce-cart-form select,
.woocommerce-cart-form textarea,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout textarea
{
	color: #000;
	background: #fff;
}

/* Remove meta info at the bottom of each product page */
.entry-meta {
	display: none;
}

/* Fix size of product image during checkout */
.shop_table .cart_item img {
	max-width: 100%;
}

/* Fix "angebot" text being above sidebar */
.sidebar {
	z-index: 50;
}

/* Make variation selector bigger so that reset button is always in the next line */
.woocommerce div.product form.cart .variations select {
	min-width: 100%;
}

.select2-container {
	color: #000;
}
