// Mixin for landscape mobile

@mixin mobilelandscape() {
	@include tabletlandscape() {
		@content;
	}
	@include phonelandscape() {
		@content;
	}
}

@mixin tabletlandscape() {
	/*  https://css-tricks.com/snippets/css/media-queries-for-standard-devices/  */

	/* Landscape */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 1) {
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 768px) 
	  and (max-device-width: 1024px) 
	  and (orientation: landscape) 
	  and (-webkit-min-device-pixel-ratio: 2) {
		@content;
	}

	/* Landscape */
	@media 
	  (max-device-width: 1280px) 
	  and (orientation: landscape) { 
		@content;
	}

	/* Landscape */
	@media screen 
	  and (device-width: 601px) 
	  and (device-height: 906px) 
	  and (-webkit-min-device-pixel-ratio: 1.331) 
	  and (-webkit-max-device-pixel-ratio: 1.332) 
	  and (orientation: landscape) {
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 800px) 
	  and (max-device-width: 1280px) 
	  and (-webkit-min-device-pixel-ratio: 1.5) 
	  and (orientation: landscape) {
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 1200px) 
	  and (max-device-width: 1600px) 
	  and (-webkit-min-device-pixel-ratio: 1.5) 
	  and (orientation: landscape) {
		@content;
	}
}


@mixin phonelandscape() {
	/*  https://css-tricks.com/snippets/css/media-queries-for-standard-devices/  */

	/* Landscape */
	@media only screen 
	  and (min-device-width: 320px) 
	  and (max-device-width: 568px)
	  and (-webkit-min-device-pixel-ratio: 2)
	  and (orientation: landscape) {
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 375px) 
	  and (max-device-width: 667px) 
	  and (-webkit-min-device-pixel-ratio: 2)
	  and (orientation: landscape) { 
		@content;
	}

	/* Landscape */
	@media only screen 
	  and (min-device-width: 414px) 
	  and (max-device-width: 736px) 
	  and (-webkit-min-device-pixel-ratio: 3)
	  and (orientation: landscape) { 
		@content;
	}

	/* Landscape */
	@media screen 
	  and (device-width: 320px) 
	  and (device-height: 640px) 
	  and (-webkit-device-pixel-ratio: 2) 
	  and (orientation: landscape) {
		@content;
	}

	/* Landscape */
	@media screen 
	  and (device-width: 320px) 
	  and (device-height: 640px) 
	  and (-webkit-device-pixel-ratio: 3) 
	  and (orientation: landscape) {
		@content;
	}
}