
/*-------- CART WINDOW --------*/

 #compare-window-bg
	{
	display: none;
	position: fixed;
	top:0; left:0; right:0; bottom:0;
	background-color: RGBA(200,200,200, 0.8);
	overflow-y: scroll;
 	-webkit-overflow-scrolling: touch;
    	zoom: 1;
	z-index: 500;

	opacity: 0;
	-webkit-transition: opacity 0.3s ease-in;
	-moz-transition: opacity 0.3s ease-in;
	-o-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
	}

 #compare-window
	{
	position: relative;
	margin: 100px auto;
	padding: 25px 30px;
	box-sizing: border-box;
	width: 80%;
	max-width: 650px;
	background-color: #ffffff;
	font-family: Arial, Tahoma;

	-webkit-transition: all 0.3s ease-in;
	-moz-transition: all 0.3s ease-in;
	-o-transition: all 0.3s ease-in;
	transition: all 0.3s ease-in;

	-webkit-transform: translate(0, -800px);
	-moz-transform: translate(0, -800px);
	-o-transform: translate(0, -800px);
	transform: translate(0, -800px);
	}

 #compare-window.hide
	{
	-webkit-transform: translate(0, 800px);
	-moz-transform: translate(0, 800px);
	-o-transform: translate(0, 800px);
	transform: translate(0, 800px);
	}

 #compare-window.show
	{
	-webkit-transform: translate(0, 0px);
	-moz-transform: translate(0, 0px);
	-o-transform: translate(0, 0px);
	transform: translate(0, 0px);
	}

 #compare-window .close-btn
	{
	position: absolute;
	top: 10px;
	right: 10px;
	width: 26px;
	height: 26px;
	background: url('images/close.png') center center no-repeat;
	background-size: 100% 100%;
	cursor: pointer;
	z-index: 600;
	}
 #compare-window .close-btn:hover
	{
	opacity: 0.7;
	}

 #compare-window h2
	{
	margin: 0 0 7px 0;
	font-size: 28px;
	font-weight: normal;
	text-align: center;
	}

 #compare-window h2 span
	{
	display: inline-block;
	padding-left: 60px;
	background: url('images/compare.png') left center no-repeat;
	background-size: 45px auto;
	line-height: 40px;
	}

 #compare-window h4
	{
	margin: 0;
	font-size: 14px;
	font-weight: normal;
	text-align: center;
	}

 #compare-window .warning
	{
	margin: 10px;
	font-size: 14px;
	color: #ff5050;
	font-weight: bold;
	text-align: center;
	}


/*-------- CART ITEMS --------*/

 #compare-items
	{
	margin-top: 30px;
	width: 100%;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	table-layout: fixed;
	}

 #compare-items td
	{
	*box-sizing: border-box;
	vertical-align: middle;
	}

 #compare-items tr:hover td
	{
	background-color: #f2f2f2;
	}

 #compare-items .td-delete
	{
	width: 40px;
	text-align: center;
	}

 #compare-items .td-photo
	{
	width: 75px;
	padding: 3px 0;
	}
 #compare-items .td-photo img
	{
	width: 100%;
	vertical-align: top;
	}

 #compare-items .td-name
	{
	padding: 0 20px;
	}
 #compare-items .td-name a
	{
	margin-top: 3px;
	font-weight: bold;
	color: #000000;
	}
 #compare-items .td-name .subtitle
	{
	margin-top: 3px;
	color: #555555;
	}

 #compare-items .td-price
	{
	width: 95px;
	padding: 0px 8px;
	font-weight: bold;
	text-align: right;
	}

 #compare-window .delete-btn
	{
	display: inline-block;
	width: 20px;
	height: 20px;
	background: none;
	border: none;
	background: url("images/delete.png") 0 0 no-repeat;
	background-size: cover;
	cursor: pointer;
	outline: none;
	}

 #compare-window .delete-btn:hover
	{
	opacity: 0.6;
	}


/*-------- BOTTOM --------*/

 #compare-window .bottom-buttons
	{
	margin-top: 10px;
	text-align: right;
	}

 #compare-window .bottom-buttons .a
	{
	display: inline-block;
	margin-right: 10px;
	font-size: 13px;
	color: #808080;
	text-transform: uppercase;
	cursor: pointer;
	}
 #compare-window .bottom-buttons .a:hover
	{
	color: #000000;
	text-decoration: underline;
	}

 #compare-window .bottom-buttons .btn
	{
	display: inline-block;
	padding: 8px 15px;
	min-width: 100px;
	box-sizing: border-box;
	border: none;
	background-color: #000000;
	border: 2px solid #000000;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #ffffff;
	text-align: center;
	cursor: pointer;
	outline: none;

	-webkit-transition: all 200ms linear;
	-moz-transition: all 200ms linear;
	-o-transition: all 200ms linear;
	transition: all 200ms linear;	
	}
 #compare-window .bottom-buttons .btn:hover
	{
	background-color: #ffffff;
	color: #707070;	
	}


/*-------- MOBILE --------*/

@media (max-width: 760px) 
 {
 #compare-window
	{
	margin: 30px auto;
	padding: 15px 15px;
	width: 90%;
	}
 }


@media (max-width: 670px) 
 {
 #compare-window
	{
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	}

 #compare-window h2
	{
	font-size: 20px;
	}

 #compare-window h2 span
	{
	padding-top: 40px;
	padding-left: 0px;
	background-position: center top;
	line-height: 22px;
	}

 #compare-window .bottom-buttons
	{
	text-align: center;
	}

 #compare-window .bottom-buttons .btn
	{
	margin-top: 7px;
	}

 #compare-items
	{
	display: none;
	}
 }
