/*
* @author: William Khoe
*/

#product-color .color-chips:after
{
	display:block; clear:both; visibility: hidden;
	height:0;
	content:".";
}
.ie #product-color .color-chips
{
	zoom:1;
}

#product-color
{
	position:relative;
	margin:0 0 30px 0; padding:19px;
	border:1px solid #DEDEDE;
	background:#FFF;
	box-shadow:1px 1px 3px rgba(0,0,0,0.2); -webkit-box-shadow:1px 1px 3px rgba(0,0,0,0.2);
}
#product-color .thumbnail-container
{
	height:240px;
	text-align:center;
}
#product-color .thumbnail
{
	display:inline-block; position:relative;
}
#product-color .thumbnail img,
#product-color .no-image
{
	max-width:240px; 
}
#product-color .thumbnail .color-chip
{
	position:absolute;
	bottom:-48px; right:-2px;
}
#product-color .no-image
{
	font-size:11px; font-weight:bold; color:#888; line-height:240px;
	background:#F8F8F8;
	box-shadow:inset 0 0 10px rgba(0,0,0,0.2);
}
#product-color .product-info
{
	margin:70px 0 0 0;
}
#product-color .product-info h2
{
	font-size:13px; font-weight:700; color:#666;
}
#product-color .product-info h2 strong
{
	font-size:14px; color:#222;
}
#product-color .product-info label
{
	font-size:11px; font-weight:bold; color:#666;
}
#product-color .product-info a
{
	font-size:11px; color:#999;
}
#product-color .product-info a:hover
{
	color:#ED1C27;
}
.color-chip
{
	display:block; position:relative; overflow:hidden;
	width:40px; height:40px;
	/*background:url(/img/ui/color-chip-shine.png) no-repeat 0 0;*/
	border:2px solid #FFF;
	box-shadow:1px 1px 5px rgba(0,0,0,0.3); -webkit-box-shadow:1px 1px 5px rgba(0,0,0,0.3);
}
.color-chip.large
{
	width:65px; height:64px;
	background-position:0 -80px;
	border-width:3px;
}
#product-color .color-chip.large.selected-color-chip img
{
	width:65px; height:64px;
	position:absolute; display:block;
	top:0; left:0;
	border-width:3px;
}
.color-chip img
{
	position:absolute; display:block;
	top:0; left:0;
    width:42px; height:42px;
}
.color-chip.active
{
	margin:-1px;
	border:3px solid #ED1C27;
}
#product-color .color-categories > li
{
	margin:15px 0 0 0; padding:10px 0 0 0;
	border-top:1px solid #DDD;
}
#product-color .color-categories > li:first-child
{
	margin:0; padding:0;
	border-top:0;
}
#product-color .color-categories > li > h4
{
	margin:0 0 8px 0;
	font-size:12px; font-weight:700;
}
#product-color .color-groups > li > a
{
	display:block;
	margin:-1px 0 0 0; padding:8px 13px 7px 13px;

	background:#fdfdfd; /* Old browsers */
	background:-moz-linear-gradient(top,  #fdfdfd 0%, #f4f4f4 100%); /* FF3.6+ */
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#f4f4f4)); /* Chrome,Safari4+ */
	background:-webkit-linear-gradient(top,  #fdfdfd 0%,#f4f4f4 100%); /* Chrome10+,Safari5.1+ */
	background:-o-linear-gradient(top,  #fdfdfd 0%,#f4f4f4 100%); /* Opera 11.10+ */
	background:-ms-linear-gradient(top,  #fdfdfd 0%,#f4f4f4 100%); /* IE10+ */
	background:linear-gradient(to bottom,  #fdfdfd 0%,#f4f4f4 100%); /* W3C */
	filter:progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#f4f4f4',GradientType=0 ); /* IE6-9 */

	border:1px solid #DDD;
	font-size:12px; color:#666;
}
#product-color .color-groups > li:first-child > a
{
	margin-top:0;
}
#product-color .color-groups > li > a span
{
	display:block;
	background:url(/img/ui/icon-sprite.png) no-repeat 100% -1989px;
}
#product-color .color-groups > li > a span em
{
	font-style:normal; color:#AAA;
}
#product-color .color-groups > li > ul
{
	display:none;
	padding:10px 0 15px 0;
}
#product-color .color-groups > li.active > ul
{
	display:block;
}
#product-color .color-groups > li.active > a span
{
	background-position:100% -2047px;
}
#product-color .color-chips
{
	margin:0 -5px 0 0;
}
#product-color .color-chips li
{
	display: inline-flex;
	/* float:left;
	margin:0 5px 5px 0; */
}
#product-color .color-toggle-all
{
	display:inline-block;
	margin:0 0 5px 0;
	font-weight:bold;
}
#product-color .color-toggle-all span
{
	display:inline-block;
	padding:0 19px 0 0;
	background:url(/img/ui/icon-sprite.png) no-repeat 100% -3266px;
}
#product-color .color-toggle-all span.collapse
{
	background-position:100% -3323px;
}
#product-color .color-toggle-all span.collapse,
#product-color .color-toggle-all.active span.expand
{
	display:none;
}
#product-color .color-toggle-all.active span.collapse,
#product-color .color-toggle-all span.expand
{
	display:inline-block;
}
#product-color section.select-color
{
	margin:20px 0 0 0;
}
#product-color .click-text {
    display: inline;
    float: right;
    padding-top: inherit;
    margin-top: 50px;
     position: absolute;
    font-size: 10px;
    margin-left: 48px;
}

/* Regular Desktop */

@media only screen and (min-width:1024px)
{

}

/* Tablet Portrait */

@media only screen and (min-width:768px) and (max-width:1023px)
{
	#product-color
	{
		width:191px;
	}
	#product-color .thumbnail img,
	#product-color .no-image
	{
		width:191px; height:191px;
	}
	#product-color .no-image
	{
		line-height:191px;
	}
	#product-color .thumbnail-container
	{
		height:191px;
	}
}

/* Mobile Portrait & Landscape */

@media only screen and (max-width:767px)
{
	#product-color
	{
		margin:0 0 20px 0;
	}
	#product-color .color-groups > li > a
	{
		padding:13px 13px 13px 13px;
	}
	#product-color section.select-color
	{
		margin-bottom:-19px;
	}
	#product-color section.select-color .content
	{
		padding:19px 0;
	}
}
