body {
  font-size: 13px;
}

.img-thumbnail:hover, .img-thumbnail.checked {
  border: 1px solid red;
}

.product-thumb .caption, .product-layout .product-thumb .button-group {
	width: 100%;
	text-align: center;
	clear: both
}

.product-thumb .caption {
	padding: 0 3px;
	transition: all 0.3s ease-in-out
}

.product-thumb .caption h4 {
	margin-bottom: 10px;
	padding: 0 10px
}

.product-thumb .caption h4 a {
	font-size: 14px;
	color: #222;
	font-weight: 500;
	text-transform: capitalize
}

.product-thumb .button-group {
  display: flex;
  justify-content: center;
	position: absolute;
	font-size: 15px;
	bottom: 50px;
	right: 0;
	left: 0;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	text-align: center;
  overflow: visible;
  border: none;
  background-color: transparent;
}

.product-thumb .button-group button {
  align-items: flex-start;
	bottom: -70px;
	position: relative;
	border: none;
	height: 32px;
	border-radius: 100%;
	border: 1px solid #e08453;
	min-width: 32px;
	text-align: center;
}

.product-thumb .button-group button:nth-of-type(1) {
	padding: 0 8px;
	padding-bottom: 3px;
  width: 120px;
	height: 32px;
	line-height: 29px;
	color: #fff;
	border-radius: 16px;
	transition: bottom 0.2s ease-in-out;
	font-size: 13px
}

.product-thumb .button-group button:nth-of-type(2) {
	padding: 0;
	padding-bottom: 3px;
	width: 32px;
	transition: bottom 0.4s ease-in-out;
}

.product-thumb .button-group button:nth-of-type(3) {
	padding: 0;
	padding-bottom: 3px;
	width: 32px;
	transition: bottom 0.6s ease-in-out;
}

.product-thumb:hover .button-group {
	opacity: 1;
	visibility: visible
}

.product-thumb:hover .button-group button {
	bottom: 0;
	margin: 0 1px !important
}

.product-thumb:hover .button-group button:hover {
	background-color: #e08453;
	color: white
}

.product-thumb:hover .caption {
	opacity: 0;
	visibility: hidden
}

.product-thumb {
  text-align: center;
}

.price, .price .price-new, .price span.price {
    color: #e08453 !important;
    font-size: 16px;
    font-size: 1.6rem;
    font-weight: 500;
}

/*.product-thumb .caption {
	min-height: 140px;
}*/

/*	Define style for design features, related yarns and yarn shades table	*/
/*	Normal product shots such as leaflets and books are square; yarns shots are portrait hence we need to adjust the size avalable for the text on the right hand side.*/
#product_details
{
	/*border: 1px solid red;*/
	float: right;
	margin: 0;
	padding: 0;
	width: 58%;
}

#product_template .SquareProductImage
{
	width: 48%;
}

#product_template h2, #product_template h3, #product_template h4
{
	float: left;
	font-size: 120%;
	font-weight: bold;
	margin: 0 0 20px 0;
	padding: 0;
	width: 70%;
}

#product_template h3
{
	float: right;
	margin-bottom: 8px;
	width: auto;
}

#product_template h4
{
	margin-bottom: 8px;
	margin-top: 30px;
	width: 100%;
}

#tab-description legend
{
	display: none;
}

#tab-description fieldset
{
	border: 0px solid #FFFFFF;
	float: left;
	margin: 0;
	padding: 0;
	width: 100%;
}

#tab-description p, #tab-description dl, #tab-description ol
{
	clear: left;
	float: left;
	margin: 0 0 25px 0;
	padding: 0;
	width: 100%;
}

#tab-description dl
{
	margin-bottom: 15px;
}

#tab-description p.RelatedDesignsCount
{
	margin-bottom: 0;
}

#tab-description ul.ListRelatedDesigns
{
	margin-top: 10px;
	margin-bottom: 40px;
}

#tab-description p.YarnLink
{
	margin: 6px 0 0 0;
	padding: 0;
	text-transform: uppercase;
}

#tab-description ul.SizeRange
{
	margin: 0;
	padding: 0;
}

#tab-description ul.SizeRange li
{
	clear: both;
	margin: 0 0 3px 0;
	padding: 0;
}

/*	Define table styles to display the number of yarns for each shade for given design;
each type of design (round neck and v-neck) will be displayed in separte tables 	*/
#tab-description .yarn_shade
{
	/*border: 1px solid #FF0000;*/
	margin: 0 0 10px 0;
	padding: 0;
	float: left;
	width: 100%;
}

#tab-description .LastDesing
{
	margin-bottom: 30px
}

.yarn_shade caption
{
	/*border: 1px solid #FF0000;*/
	margin: 0 0 1px 0;
	padding: 0 0 0 2px;
	text-align: left;
	text-transform: capitalize;
	width: 100%;
}

#tab-description table
{
    border-collapse: separate !important;
    border-spacing: 2px !important;
}

.yarn_shade th
{
	background-color: #EBEBEB;
	font-size: 85%;
	font-weight: normal;
	margin: 0;
	padding: 4px 7px 4px 7px;
	text-align: right;
	/*white-space: nowrap;*/
	width: 36%;
}

.yarn_shade td
{
	background-color: #F0F0F0;
	font-size: 85%;
	margin: 0;
	width: 14px;
	padding: 4px;
	text-align: center;
	width: auto;
}

.yarn_shade td.SizeLabels
{
	width: 14%;
	white-space: nowrap;
}

 .yarn_shade td.DesignYarnSizeMessage
{
	padding-right: 0;
	text-align: left;
	width: 100%;
}

/*	End of table styles definitions 	*/

/* hover on header cart button */
@media (min-width: 1200px) {
  .btn-group .dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    transition:         all 0.5s  ease;
    -moz-transition:    all 0.5s  ease;
    -webkit-transition: all 0.5s  ease;
    -o-transition:      all 0.5s  ease;
    -ms-transition:     all 0.5s  ease;
  }
  .btn-group:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
  }
  .btn-group {
    display: inline-block;
  }
}