/* Extended Attributes
------------------------------------------------ */

.woocommerce div.product form.cart .variations td {
	display: block;
	width: 100%;
	-webkit-box-sizing: border-box;
	    -ms-box-sizing: border-box;
	        box-sizing: border-box;
}
.woocommerce div.product form.cart .variations tr+tr td.label {
	padding: 1em 0 0;
}

.trx_addons_attrib_item {
	cursor:pointer !important;
}
.trx_addons_attrib_item span {
	overflow:hidden;
	display:block;
}

/* Image */
.trx_addons_attrib_item.trx_addons_attrib_image {
	display:inline-block;
	vertical-align:top;
	margin: 0 0.5em 5px 0;
	padding: 5px;
	border: 1px solid #ddd;
	background-color: #fff;
}
.trx_addons_attrib_item.trx_addons_attrib_image img {
	width: 70px;
	height: auto;
}

/* Color */
.trx_addons_attrib_item.trx_addons_attrib_color {
	display:inline-block;
	vertical-align:top;
	margin: 0 0.5em 5px 0;
	padding: 3px;
	border: 1px solid #ddd;
	background-color: #fafafa;
}
.trx_addons_attrib_item.trx_addons_attrib_color span {
	display:block;
	width: 30px;
	height: 30px;
}

/* Button */
.trx_addons_attrib_item.trx_addons_attrib_button {
	display:inline-block;
	vertical-align:top;
	margin: 0 0.5em 5px 0;
	padding: 3px;
	border: 1px solid #ddd;
	background-color: #fafafa;
}
.trx_addons_attrib_item.trx_addons_attrib_button span {
	padding: 0.5em 1.5em;
}


/* Selected items */
.trx_addons_attrib_item.trx_addons_attrib_selected {
	background-color: #f0f0f0;
	border-color: red;
}

/* Disabled items */
.trx_addons_attrib_item.trx_addons_attrib_disabled {
	cursor:not-allowed !important;
}
.trx_addons_attrib_item.trx_addons_attrib_disabled span {
	position: relative;
}
.trx_addons_attrib_item.trx_addons_attrib_disabled span:before,
.trx_addons_attrib_item.trx_addons_attrib_disabled span:after {
	content: ' ';
	position:absolute;
	top: 50%;
	left: -20%;
	width: 140%;
	height: 1px;
	background-color: #f0f0f0;
	-webkit-transform:rotate(-45deg);
	    -ms-transform:rotate(-45deg);
	        transform:rotate(-45deg);
}
.trx_addons_attrib_item.trx_addons_attrib_disabled span:after {
	-webkit-transform:rotate(45deg);
	    -ms-transform:rotate(45deg);
	        transform:rotate(45deg);
}


/* Third-party plugins
------------------------------------------------------ */
.yith_magnifier_zoom_wrap .yith_magnifier_zoom_magnifier {
	border-width: 1px;
	margin-left:4px;
}
.yith_magnifier_gallery li + li {
	padding-left: 20px;
}
.yith_magnifier_gallery li a {
	margin-left:0;
	margin-right: 0;
}