$screen-xs-max: ($screen-sm-min - 1);
$screen-sm-max: ($screen-md-min - 1);
$screen-md-max: ($screen-lg-min - 1);

@mixin mq($breakpoint) {
	// xs - 768 - sm - 970 - md - 1200 - lg
	// <-->
	@if $breakpoint == "xs" {
		@media only screen and (max-width: $screen-xs-max) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	//      <-------->
	@if $breakpoint == "sm" {
		@media only screen and (min-width: $screen-sm-min) and (max-width: $screen-sm-max) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	//                 <-------->
	@if $breakpoint == "md" {
		@media only screen and (min-width: $screen-md-min) and (max-width: $screen-md-max) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	//                            <------->
	@if $breakpoint == "lg" {
		@media only screen and (min-width: $screen-lg-min) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	// <------------->
	@if $breakpoint == "sm-down" {
		@media only screen and (max-width: $screen-sm-max) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	// <------------------------>
	@if $breakpoint == "md-down" {
		@media only screen and (max-width: $screen-md-max) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	//      <----------------------------->
	@if $breakpoint == "sm-up" {
		@media only screen and (min-width: $screen-sm-min) {
			@content;
		}
	}
	
	// xs - 768 - sm - 970 - md - 1200 - lg
	//                 <------------------>
	@if $breakpoint == "md-up" {
		@media only screen and (min-width: $screen-md-min) {
			@content;
		}
	}

	@if $breakpoint == "touch-hover" {
		@media only screen and (max-width: 1024px) {
			@content;
		}
	}

	@if $breakpoint == "mouse-hover" {
		@media only screen and (min-width: 1025px) {
			@content;
		}
	}

	@if $breakpoint == "lg-down" {
		@media only screen and (max-width: 1450px) {
			@content;
		}
	}

	@if $breakpoint == "too-high" {
		@media only screen and (min-height: 900px) {
			@content;
		}
	}
}