// Rem output with px fallback
@mixin font-size($sizeValue: 1) {
	font-size: ($sizeValue * 16) * 1px;
	font-size: $sizeValue * 1rem;
}

// Center block
@mixin center-block {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

// Clearfix
@mixin clearfix() {
	content: "";
	display: table;
	table-layout: fixed;
}

// Clear after (not all clearfix need this also)
@mixin clearfix-after() {
	clear: both;
}

// Column width with margin
@mixin column-width($numberColumns: 3) {
	width: map-get( $columns, $numberColumns ) - ( ( $columns__margin * ( $numberColumns - 1 ) ) / $numberColumns );
}

// Media queries

@mixin mqmax991 {
  @media (max-width: 991px) {
    @content;
  }
}
@mixin mqmax767 {
	@media (max-width: 767px) {
	  @content;
	}
}
@mixin mqmax600 {
	@media (max-width: 600px) {
	  @content;
	}
}
@mixin mqmax1199 {
	@media (max-width: 1199px) {
	  @content;
	}
}