[class*="grid-"][class*="-noGutter"] {
margin: 0;
}
[class*="grid-"][class*="-noGutter"] > [class*="col"] {
padding: 0;
}
[class*="grid-"][class*="-center"] {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
[class*="grid-"][class*="-right"] {
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-align-self: flex-end;
-ms-flex-item-align: end;
align-self: flex-end;
margin-left: auto;
}
[class*="grid-"][class*="-noGutter"] {
margin: 0;
}
[class*="grid-"][class*="-noGutter"] > [class*="col"] {
padding: 0;
}
[class*="grid-"][class*="-center"] {
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
[class*="grid-"][class*="-right"] {
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-align-self: flex-end;
-ms-flex-item-align: end;
align-self: flex-end;
margin-left: auto;
}
[class*="grid-"][class*="-top"] {
-webkit-align-items: flex-start;
-ms-flex-align: start;
align-items: flex-start;
}
[class*="grid-"][class*="-middle"] {
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
[class*="grid-"][class*="-bottom"] {
-webkit-align-items: flex-end;
-ms-flex-align: end;
align-items: flex-end;
}
[class*="grid-"][class*="-reverse"] {
-webkit-flex-direction: row-reverse;
-ms-flex-direction: row-reverse;
flex-direction: row-reverse;
}
[class*="grid-"][class*="-column"] {
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
}
[class*="grid-"][class*="-column-reverse"] {
-webkit-flex-direction: column-reverse;
-ms-flex-direction: column-reverse;
flex-direction: column-reverse;
}
[class*="grid-"][class*="-spaceBetween"] {
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
}
[class*="grid-"][class*="-spaceAround"] {
-webkit-justify-content: space-around;
-ms-flex-pack: distribute;
justify-content: space-around;
}
[class*="grid-"][class*="-equalHeight"] > [class*="col"] {
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
[class*="col-"][class*="-top"] {
-webkit-align-self: flex-start;
-ms-flex-item-align: start;
align-self: flex-start;
}
[class*="col-"][class*="-middle"] {
-webkit-align-self: center;
-ms-flex-item-align: center;
align-self: center;
}
[class*="col-"][class*="-bottom"] {
-webkit-align-self: flex-end;
-ms-flex-item-align: end;
align-self: flex-end;
}
[class*="col-"][class*="-first"] {
-webkit-order: -1;
-ms-flex-order: -1;
order: -1;
}
[class*="col-"][class*="-last"] {
-webkit-order: 1;
-ms-flex-order: 1;
order: 1;
}
/************************
GRID BY NUMBER
*************************/
[class*="grid-1"] > [class*='col'] {
-webkit-flex-basis: 100%;
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
max-width: 100%;
}
[class*="grid-2"] > [class*='col'] {
-webkit-flex-basis: 50%;
-ms-flex-preferred-size: 50%;
flex-basis: 50%;
max-width: 50%;
}
[class*="grid-3"] > [class*='col'] {
-webkit-flex-basis: 33.33333333%;
-ms-flex-preferred-size: 33.33333333%;
flex-basis: 33.33333333%;
max-width: 33.33333333%;
}
[class*="grid-4"] > [class*='col'] {
-webkit-flex-basis: 25%;
-ms-flex-preferred-size: 25%;
flex-basis: 25%;
max-width: 25%;
}
[class*="grid-5"] > [class*='col'] {
-webkit-flex-basis: 20%;
-ms-flex-preferred-size: 20%;
flex-basis: 20%;
max-width: 20%;
}
[class*="grid-6"] > [class*='col'] {
-webkit-flex-basis: 16.66666667%;
-ms-flex-preferred-size: 16.66666667%;
flex-basis: 16.66666667%;
max-width: 16.66666667%;
}
[class*="grid-7"] > [class*='col'] {
-webkit-flex-basis: 14.28571429%;
-ms-flex-preferred-size: 14.28571429%;
flex-basis: 14.28571429%;
max-width: 14.28571429%;
}
[class*="grid-8"] > [class*='col'] {
-webkit-flex-basis: 12.5%;
-ms-flex-preferred-size: 12.5%;
flex-basis: 12.5%;
max-width: 12.5%;
}
[class*="grid-9"] > [class*='col'] {
-webkit-flex-basis: 11.11111111%;
-ms-flex-preferred-size: 11.11111111%;
flex-basis: 11.11111111%;
max-width: 11.11111111%;
}
[class*="grid-10"] > [class*='col'] {
-webkit-flex-basis: 10%;
-ms-flex-preferred-size: 10%;
flex-basis: 10%;
max-width: 10%;
}
[class*="grid-11"] > [class*='col'] {
-webkit-flex-basis: 9.09090909%;
-ms-flex-preferred-size: 9.09090909%;
flex-basis: 9.09090909%;
max-width: 9.09090909%;
}
[class*="grid-12"] > [class*='col'] {
-webkit-flex-basis: 8.33333333%;
-ms-flex-preferred-size: 8.33333333%;
flex-basis: 8.33333333%;
max-width: 8.33333333%;
}