/**
 * @file
 * Is the responsive layout composition.
 *
 * Is intented to set basic layout rules to regions and global blocks.
 * Also add grid common rules.
 */



/**
 * Layout content
 */

.layout-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.main__content {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
}

/**
 * Grid row
 */
.grid-row {
	padding: 0 1rem;
}
@media all and (min-width: 700px) {
  .grid-row {
  	padding: 0;
    width: 90%;
    margin: 0 auto;
  }
  .grid-row--12{
    max-width: 1240px;
  }
  .grid-row--10{
    max-width: 1028px;
  }
  .grid-row--8{
    max-width: 812px;
  }
  .grid-row--6{
    max-width: 604px;
  }
}

/**
 * Grid list (we assume grid list has a grid-row has direct parent)
 */
.grid-list {

}
@media all and (min-width: 750px) {
  .grid-list--2,
  .grid-list--3,
  .grid-list--4 {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: -o-flex;
	display: flex;
	-webkit-flex-direction: row;
	-moz-flex-direction: row;
	-ms-flex-direction: row;
	-o-flex-direction: row;
	flex-direction: row;
	justify-content: space-between;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
  }
  .grid-list--2 > *,
  .grid-list--3 > *,
  .grid-list--4 > * {
  	width: 48%;
  }
}
@media all and (min-width: 900px) {
  .grid-list--3::before,
  .grid-list--4::before {
  	order: 999;
  }
  .grid-list--3::before,
  .grid-list--4::before,
  .grid-list--4::after {
  	content: "";
  	height: 0;
  }
  .grid-list--3 > *,
  .grid-list--3::before {
  	width: 30%;
  }
  .grid-list--4 > *,
  .grid-list--4::before,
  .grid-list--4::after  {
  	width: 23%;
  }
}
