
/*Basic Grid Styles*/
.Grid {
  display: flex;
  flex-flow: row;
  flex-wrap: wrap;
}

.textCenter {
  text-align: center;
}

.Grid-cell {
  flex: 1;
}

.Card {
  padding: .8em 1em 0;
  margin-bottom: 1em;
  background: #fff;
  transition: background-color 0.3s ease;
  border: 1px dashed #A3A3A3;
  border-radius: 10px;
}

.Card:after {
  content: "";
  display: block;
  margin-top: .8em;
  height: 1px;
}

.Card:hover {}

.Card-Nav {
  padding: .8em 1em 0;
  margin-bottom: 1em;
  transition: background-color 0.3s ease;
  border: 1px dashed #A3A3A3;
  background: #F5EBFE;
  border-radius: none;
  color: #151515;
}

.Card-Nav:after {
  content: "";
  display: block;
  margin-top: .8em;
  height: 1px;
}

.Card-Nav:hover {}

/* With gutters*/
.Grid--gutters {
  margin-left: -1em;
}

.Grid--gutters .Grid-cell {
  padding-left: 1em;
}

.Grid--gutters .Grid--nested .Grid-cell:first-of-type .Card {
  margin-right: 1em;
}

/* Justify per row*/
.Grid--right {
  justify-content: flex-end;
}

.Grid--center {
  justify-content: center;
}

/* Alignment per row */
.Grid--top {
  align-items: flex-start;
}

.Grid--bottom {
  align-items: flex-end;
}

.Grid--center {
  align-items: center;
}

/* Alignment per cell */
.Grid-cell--top {
  align-self: flex-start;
}

.Grid-cell--bottom {
  align-self: flex-end;
}

.Grid-cell--center {
  align-self: center;
}

.navigation {
  list-style: none;
  /*background: light;*/
  background: #C2FFE1;
  margin: 0 0 1em;
  border: 1px dashed #A3A3A3;
  border-radius: 0px;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: flex-end;
}

.navigation a {
  text-decoration: none;
  display: block;
  padding: 1em;
  color: #333;
}

.navigation a:hover {
  background: #99FFCE;
  border-radius: 0px;
}

.navigation:hover {}

@media all and (max-width: 800px) {
  .navigation {
    justify-content: space-around;
  }
}

@media all and (max-width: 600px) {
  .navigation {
    -webkit-flex-flow: column wrap;
    flex-flow: column wrap;
    padding: 0;
  }

  .navigation a {
    text-align: center;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .navigation li:last-of-type a {
    border-bottom: none;
  }
}

/*===========================================*/
/* Base classes for all media - Mobile first */
.Grid--cols-2>.Grid-cell {
  flex: 0 0 100%;
}

.Grid--cols-3>.Grid-cell {
  flex: 0 0 100%;
}

.Grid--cols-4>.Grid-cell {
  flex: 0 0 100%;
}

.Grid--cols-6>.Grid-cell {
  flex: 0 0 calc(50% - 1em);
}

.Grid--cols-12>.Grid-cell {
  flex: 0 0 calc(33.3333% - 1em);
}

.Grid--holly-grail .aside,
.Grid--holly-grail .main {
  flex: 1 100%;
}

/* One of -- columns*/
.Grid--1of2>.Grid-cell,
.Grid--1of4>.Grid-cell:first-of-type,
.Grid--1of3>.Grid-cell:first-of-type {
  flex: 0 0 100%;
}

.Grid--1of6>.Grid-cell:first-of-type {
  flex: 0 0 50%;
}

.Grid--fit>.Grid-cell {
  flex: 1;
}

.Grid--full>.Grid-cell {
  flex: 0 0 100%;
}

/* Tablet (medium) screens */
@media (min-width: 30em) {
  .Grid--cols-4>.Grid-cell {
    flex: 0 0 calc(50% - 1em);
  }

  .Grid--cols-6>.Grid-cell {
    flex: 0 0 calc(33.3333% - 1em);
  }

  .Grid--cols-12>.Grid-cell {
    flex: 0 0 calc(16.6666% - 1em);
  }

  .Grid--holly-grail .aside {
    flex: 1 calc(25% - 1em);
  }

  .Grid--1of2>.Grid-cell {
    flex: 0 0 50%;
  }

  .Grid--1of6>.Grid-cell:first-of-type {
    flex: 0 0 30%;
  }

  .Grid--1of4>.Grid-cell:first-of-type {
    flex: 0 0 50%;
  }

  .Grid--1of3>.Grid-cell:first-of-type {
    flex: 0 0 100%;
  }
}

/* Large screens */
@media (min-width: 48em) {

  .Grid--cols-2>.Grid-cell,
  .Grid--cols-3>.Grid-cell,
  .Grid--cols-4>.Grid-cell,
  .Grid--cols-6>.Grid-cell,
  .Grid--cols-12>.Grid-cell {
    flex: 1;
  }

  .Grid--holly-grail .main {
    flex: 2;
  }

  .Grid--holly-grail .aside {
    flex: 1;
  }

  .Grid--holly-grail .aside-1 {
    order: 1;
  }

  .Grid--holly-grail .main {
    order: 2;
  }

  .Grid--holly-grail .aside-2 {
    order: 3;
  }

  .Grid--1of2>.Grid-cell {
    flex: 0 0 50%;
  }

  .Grid--1of6>.Grid-cell:first-of-type {
    flex: 0 0 16.6666%;
  }

  .Grid--1of4>.Grid-cell:first-of-type {
    flex: 0 0 25%;
  }

  .Grid--1of3>.Grid-cell:first-of-type {
    flex: 0 0 30%;
  }

  .Grid--gutters.Grid--nested .Grid-cell:first-of-type .Card {
    margin-right: 0;
  }
}

.content-1of1::before {
  content: "1";
}

.content-1of2::before {
  content: "1/2";
}

.content-1of3::before {
  content: "1/3";
}

.content-1of4::before {
  content: "1/4";
}

.content-1of6::before {
  content: "1/6";
}

.content-1of12::before {
  content: "1/12";
}