/*
	Original .fitgrd (www.fitgrd.com) - responsive grid system by Jan Müller
	Fitrgrid - small screen first fork by John Coyne 2016
	Fitrgrid  - flexbox edition (c) 2021 John Coyne / iolla.net
	Licensed under GPL and MIT.
*/


*,
*::before,
*::after {
  box-sizing: border-box;
}

.center {
	max-width: 90em;
	margin: 0 auto;
}

.row {
	margin: 0 .5em;
	padding: 2% 1em 0;
	height: 1%;
	*zoom: 1;
	min-height: 1%;
	display: flex;
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
  	-webkit-box-flex: 0;
	-webkit-flex: 0 1 auto;
  	-ms-flex: 0 1 auto;
  	flex: 0 1 auto;
  	-webkit-box-orient: horizontal;
  	-webkit-box-direction: normal;
  	-webkit-flex-direction: row;
  	-ms-flex-direction: row;
  	flex-direction: row;
  	-webkit-flex-wrap: wrap;
  	-ms-flex-wrap: wrap;
  	flex-wrap: wrap;
}

.fg1,
.fg2,
.fg3,
.fg4,
.fg5,
.fg6,
.fg7,
.fg8,
.fg9,
.fg10,
.fg11,
.fg12 {
	margin: 0 2% 1em;
	padding: 0;
	flex-basis: 100%;
}

.fg-no-gutter>[class*="fg"] {
	margin-bottom: 0;
	padding: 0;
}

.fg-no-gutter img {
	width: 100%;
	height: 100%;
}

.fg-wide {
	margin: 0;
	padding: 0;
}

.fg-wide>[class*="fg"] {
	margin: 0;
	padding: 0;
	flex-basis: 100%;
}

.fg-no-mobile {
	display: none;
}

.fg-no-desktop {
	display: flex;
}

@media screen and (min-width:40.000em) {
	.row {
		margin: 0 .5em;
		padding: 2% 1em 0;
	}
	.fg12 {
		flex: 0 0 96%;
	}
	.fg11 {
		flex: 0 0 87.66%;
	}
	.fg10 {
		flex: 0 0 79.33%;
	}
	.fg9 {
		flex: 0 0 71%;
	}
	.fg8 {
		flex: 0 0 62.66%;
	}
	.fg7 {
		flex: 0 0 54.33%;
	}
	.fg6 {
		flex: 0 0 46%;
	}
	.fg5 {
		flex: 0 0 37.66%;
	}
	.fg4 {
		flex: 0 0 29.33%;
	}
	.fg3 {
		flex: 0 0 21%;
	}
	.fg2 {
		flex: 0 0 12.66%;
	}
	.fg1 {
		flex: 0 0 4.33%;
	}
	.push12 {
		margin-left: 100%;
	}
	.push11 {
		margin-left: 93.66%;
	}
	.push10 {
		margin-left: 85.33%;
	}
	.push9 {
		margin-left: 77%;
	}
	.push8 {
		margin-left: 68.66%;
	}
	.push7 {
		margin-left: 60.33%;
	}
	.push6 {
		margin-left: 52%;
	}
	.push5 {
		margin-left: 43.66%;
	}
	.push4 {
		margin-left: 35.33%;
	}
	.push3 {
		margin-left: 27%;
	}
	.push2 {
		margin-left: 18.66%;
	}
	.push1 {
		margin-left: 10.33%;
	}
	.fg-no-gutter {
		padding: 0 3.5%;
		margin-top: 0;
		margin-bottom: 0;
	}
	.fg-no-gutter>[class*="fg"] {
		margin: 0;
		padding: 0;
	}
	.fg-wide {
		margin: 0;
		padding: 0;
		max-width: 100%;
	}
	.fg-no-gutter .fg12 {
		flex: 0 0 100%;
	}
	.fg-no-gutter .fg11 {
		flex: 0 0 91.66%;
	}
	.fg-no-gutter .fg10 {
		flex: 0 0 83.33%;
	}
	.fg-no-gutter .fg9 {
		flex: 0 0 75%;
	}
	.fg-no-gutter .fg8 {
		flex: 0 0 66.66%;
	}
	.fg-no-gutter .fg7 {
		flex: 0 0 58.33%;
	}
	.fg-no-gutter .fg6 {
		flex: 0 0 50%;
	}
	.fg-no-gutter .fg5 {
		flex: 0 0 41.66%;
	}
	.fg-no-gutter .fg4 {
		flex: 0 0 33.33%;
	}
	.fg-no-gutter .fg3 {
		flex: 0 0 25%;
	}
	.fg-no-gutter .fg2 {
		flex: 0 0 16.66%;
	}
	.fg-no-gutter .fg1 {
		flex: 0 0 8.33%;
	}
	.fg-no-gutter .push12 {
		margin-left: 100%;
	}
	.fg-no-gutter .push11 {
		margin-left: 91.66%;
	}
	.fg-no-gutter .push10 {
		margin-left: 83.33%;
	}
	.fg-no-gutter .push9 {
		margin-left: 75%;
	}
	.fg-no-gutter .push8 {
		margin-left: 66.66%;
	}
	.fg-no-gutter .push7 {
		margin-left: 58.33%;
	}
	.fg-no-gutter .push6 {
		margin-left: 50%;
	}
	.fg-no-gutter .push5 {
		margin-left: 41.66%;
	}
	.fg-no-gutter .push4 {
		margin-left: 33.33%;
	}
	.fg-no-gutter .push3 {
		margin-left: 25%;
	}
	.fg-no-gutter .push2 {
		margin-left: 16.66%;
	}
	.fg-no-gutter .push1 {
		margin-left: 8.33%;
	}
	.fg-no-mobile {
		display: inherit;
	}
	.fg-no-desktop {
		display: none;
	}
}
