//
// Utility classes
// --------------------------------------------------

// Floats
// -------------------------
.clearfix
	clearfix()

.center-block
	center-block()

.pull-right
	pull-right()

.pull-left
	pull-left()

// Toggling content
// -------------------------

// Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
.hide
	display: none !important

.show
	display: block !important

.invisible
	visibility: hidden

.text-hide
	text-hide()

// Hide from screenreaders and browsers
//
// Credit: HTML5 Boilerplate
.hidden
	display: none !important
	visibility: hidden !important

// For Affix plugin
// -------------------------
.affix
	position: fixed

// IE10 in Windows (Phone) 8
//
// Support for responsive views via media queries is kind of borked in IE10, for
// Surface/desktop in split view and for Windows Phone 8. This particular fix
// must be accompanied by a snippet of JavaScript to sniff the user agent and
// apply some conditional CSS to *only* the Surface/desktop Windows 8. Look at
// our Getting Started page for more information on this bug.
//
// For more information, see the following:
//
// Issue: https://github.com/twbs/bootstrap/issues/10497
// Docs: http://getbootstrap.com/getting-started/#browsers
// Source: http://timkadlec.com/2012/10/ie10-snap-mode-and-responsive-design/
@-ms-viewport
	width: device-width

// Visibility utilities
.visible-xs, .visible-sm, .visible-md, .visible-lg
	responsive-invisibility()

.visible-xs
	@media $media-max-phone
		responsive-visibility()

.visible-sm
	@media $media-tablet
		responsive-visibility()

.visible-md
	@media $media-desktop
		responsive-visibility()

.visible-lg
	@media $media-min-lg-desktop
		responsive-visibility()

.hidden-xs
	@media $media-max-phone
		responsive-invisibility()

.hidden-sm
	@media $media-tablet
		responsive-invisibility()

.hidden-sm-up
	@media $media-sm-up
		responsive-invisibility()

.hidden-md
	@media $media-desktop
		responsive-invisibility()

.hidden-md-up
	@media $media-md-up
		responsive-invisibility()

.hidden-lg
	@media $media-min-lg-desktop
		responsive-invisibility()

// Print utilities
//
// Media queries are placed on the inside to be mixin-friendly.
.visible-print
	responsive-invisibility()

	@media print
		responsive-visibility()

.hidden-print
	@media print
		responsive-invisibility()

// Misc
.pixel
	display: block
	width: 0
	height: 0
	line-height: 0

.dot-separator
	dot-separator()
