/**
 * Calculator buttons
 * Author: Sergey Dyagovchenko, http://d.sumy.ua/
 * Project: Fotokniga
 * Created: 02.03.2013
 */

.calc-buttons {
	position: absolute;
	top: 40px;
	right: 2px;
	min-width: 300px;
}

.calc-buttons .calc-btn {
	display: block;
	/* fix for using button with popover */
	min-width: 300px;

	margin: 0 auto;
	padding: 1px 20px 0 20px;

	border: 0;
	border-radius: 5px;

	text-shadow: -1px -1px 0 rgba(255, 255, 255, .7);

	text-decoration: none;
	text-transform: uppercase;
}

.calc-buttons .calc-btn,
.calc-buttons .calc-btn.disabled:hover,
.calc-buttons .calc-btn.disabled:active {
	margin-top: 0;
	box-shadow: 1px 1px 2px #000;
}

.calc-buttons .calc-btn:active {
	box-shadow: none;
	margin-top: 1px;
}

.calc-buttons .calc-btn.disabled {
	opacity: .3;
	cursor: default;
}

/* calc-order-btn */
.calc-order-btn {
	top: 0;
	font:bold 17px/36px 'MyriadPro';
}

.calc-order-btn.disabled:hover,
.calc-order-btn.disabled:active,
.calc-order-btn {
	background: #e4f4c1; /* Old browsers */
	background: -moz-linear-gradient(top,  #e4f4c1 0%, #8cd22f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4f4c1), color-stop(100%,#8cd22f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4f4c1 0%,#8cd22f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4f4c1 0%,#8cd22f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4f4c1 0%,#8cd22f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e4f4c1 0%,#8cd22f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f4c1', endColorstr='#8cd22f',GradientType=0 ); /* IE6-9 */
}

.calc-order-btn:hover {
	background: #e4f4c1; /* Old browsers */
	background: -moz-linear-gradient(top,  #e4f4c1 20%, #8cd22f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4f4c1), color-stop(100%,#8cd22f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4f4c1 20%,#8cd22f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4f4c1 20%,#8cd22f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4f4c1 20%,#8cd22f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #e4f4c1 20%,#8cd22f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f4c1', endColorstr='#8cd22f',GradientType=0 ); /* IE6-9 */

}

.calc-order-btn:active {
	background: #e4f4c1; /* Old browsers */
	background: -moz-linear-gradient(top,  #e4f4c1 0%, #8cd22f 80%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e4f4c1), color-stop(80%,#8cd22f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #e4f4c1 0%,#8cd22f 80%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #e4f4c1 0%,#8cd22f 80%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #e4f4c1 0%,#8cd22f 80%); /* IE10+ */
	background: linear-gradient(to bottom,  #e4f4c1 0%,#8cd22f 80%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f4c1', endColorstr='#8cd22f',GradientType=0 ); /* IE6-9 */
}

.calc-order-btn b {
	display: inline-block;
	color: #fff;
	padding-left: 25px;
}

/* calc-order-ed-btn */

.calc-buttons .calc-order-ed-btn {
	min-width: 302px;

	position: absolute;
	right: 0;
	top: 47px;

	font:bold 15px/21px 'MyriadPro';

	color: #000;
}

.calc-buttons .calc-order-ed-btn.disabled {
	color: #666;
}

.calc-order-ed-btn.disabled:hover,
.calc-order-ed-btn.disabled:active,
.calc-order-ed-btn {
	background: #f9ec4d; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9ec4d 0%, #eab312 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9ec4d), color-stop(100%,#eab312)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f9ec4d 0%,#eab312 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f9ec4d 0%,#eab312 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f9ec4d 0%,#eab312 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f9ec4d 0%,#eab312 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9ec4d', endColorstr='#eab312',GradientType=0 ); /* IE6-9 */
}

.calc-order-ed-btn:hover {
	background: #e4f4c1; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9ec4d 20%, #eab312 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9ec4d), color-stop(100%,#eab312)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f9ec4d 20%,#eab312 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f9ec4d 20%,#eab312 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f9ec4d 20%,#eab312 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f9ec4d 20%,#eab312 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e4f4c1', endColorstr='#eab312',GradientType=0 ); /* IE6-9 */
}

.calc-order-ed-btn:active {
	background: #f9ec4d; /* Old browsers */
	background: -moz-linear-gradient(top,  #f9ec4d 0%, #eab312 80%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9ec4d), color-stop(80%,#eab312)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f9ec4d 0%,#eab312 80%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f9ec4d 0%,#eab312 80%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f9ec4d 0%,#eab312 80%); /* IE10+ */
	background: linear-gradient(to bottom,  #f9ec4d 0%,#eab312 80%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f9ec4d', endColorstr='#eab312',GradientType=0 ); /* IE6-9 */
}