  /* Browse categories shortcode */

.coursestorm-browse-categories {
	margin: 0 auto;
}

#content .coursestorm-browse-categories.no-categories {
  text-align: center;
}

.coursestorm-browse-categories h2 {
	text-align: center;
}

.coursestorm-browse-categories ul:not(.children) {
  list-style: none;
}

.coursestorm-browse-categories > ul {
  margin: 0 -1em;
  padding-left: 0;
}

.coursestorm-browse-categories > ul > li {
  box-sizing: border-box;
  float: left;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 2em;
  padding: 0 1em;
  width: 100%;
}

.coursestorm-browse-categories > ul > li:nth-child(3n+1) {
  clear: both;
}

.coursestorm-browse-categories ul.children > li {
  font-size: 0.8em;
  font-weight: normal;
}

.coursestorm-classes-link {
  clear: both;
  margin: 1em auto;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .coursestorm-browse-categories > ul > li {
    width: 50%;
    margin-bottom: 1em;
  }

  .coursestorm-browse-categories > ul > li:nth-child(2n+1) {
    clear: both;
  }
}

@media screen and (min-width: 1024px) {
  .coursestorm-browse-categories > ul > li {
    max-width: 33.3336%;
  }
  .coursestorm-browse-categories > ul > li:nth-child(2n+1) {
    clear: none;
  }
  .coursestorm-browse-categories > ul > li:nth-child(3n+1) {
    clear: both;
  }
}