
@mixin linear-gradient-x($fromColor, $toColor) {
	background-color: $toColor; /* Fallback Color */
	background-image: -webkit-gradient(linear, left top, right top, from($fromColor), to($toColor)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(left, $fromColor, $toColor); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(left, $fromColor, $toColor); /* FF3.6 */
	background-image:     -ms-linear-gradient(left, $fromColor, $toColor); /* IE10 */
	background-image:      -o-linear-gradient(left, $fromColor, $toColor); /* Opera 11.10+ */
	background-image:         linear-gradient(left, $fromColor, $toColor);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#{$fromColor}', EndColorStr='#{$toColor}');
}

@mixin linear-gradient-y($fromColor, $toColor) {
	background-color: $toColor; /* Fallback Color */
	background-image: -webkit-gradient(linear, left top, left bottom, from($fromColor), to($toColor)); /* Saf4+, Chrome */
	background-image: -webkit-linear-gradient(top, $fromColor, $toColor); /* Chrome 10+, Saf5.1+, iOS 5+ */
	background-image:    -moz-linear-gradient(top, $fromColor, $toColor); /* FF3.6 */
	background-image:     -ms-linear-gradient(top, $fromColor, $toColor); /* IE10 */
	background-image:      -o-linear-gradient(top, $fromColor, $toColor); /* Opera 11.10+ */
	background-image:         linear-gradient(top, $fromColor, $toColor);
	filter: progid:DXImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#{$fromColor}', EndColorStr='#{$toColor}');
}

@mixin linear-gradient-xy($fromColor, $toColor) {
	background: $fromColor;
	background-image: -moz-linear-gradient(left top,$fromColor 0%,$toColor 100%);
	background-image: -webkit-gradient(linear,left top, right bottom,color-stop(0, $fromColor),color-stop(1, $toColor));
	background: -webkit-linear-gradient(left top, $fromColor 0%, $toColor 100%);
	background: -o-linear-gradient(left top, $fromColor 0%, $toColor 100%);
	background: -ms-linear-gradient(left top, $fromColor 0%, $toColor 100%);
	background: linear-gradient(left top, $fromColor 0%, $toColor 100%);
}

@mixin linear-gradient-yx($fromColor, $toColor) {
	background: $fromColor;
	background-image: -moz-linear-gradient(left bottom,$fromColor 0%,$toColor 100%);
	background-image: -webkit-gradient(linear,left bottom, right top,color-stop(0, $fromColor),color-stop(1, $toColor));
	background: -webkit-linear-gradient(left bottom, $fromColor 0%, $toColor 100%);
	background: -o-linear-gradient(left bottom, $fromColor 0%, $toColor 100%);
	background: -ms-linear-gradient(left bottom, $fromColor 0%, $toColor 100%);
	background: linear-gradient(left bottom, $fromColor 0%, $toColor 100%);
}

@mixin radial-gradient($from, $to) {
	background: -moz-radial-gradient(center, circle cover, $from 0%, $to 100%);
	background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, $from), color-stop(100%, $to));
	background: -webkit-radial-gradient(center, circle cover, $from 0%, $to 100%);
	background: -o-radial-gradient(center, circle cover, $from 0%, $to 100%);
	background: -ms-radial-gradient(center, circle cover, $from 0%, $to 100%);
	background: radial-gradient(center, circle cover, $from 0%, $to 100%);
	background-color: $from;
}


