
/* Custom CSS theme */
.ec-size .ec-store__category-page .ec-grid {
  order: 2;
}

.ec-size .ec-store__category-page .ec-pager {
  order: 3;
}

.ec-size .ec-store__category-page .ec-footer {
  order: 1;
}

/*Button color*/
.ec-size .ec-store .form-control--primary .form-control__button {
  background-color: #1C7DE2;
}

/*Button color on hover*/
.ec-size .ec-store .form-control--primary .form-control__button:hover {
  background: #187ECB;
}

/*Text color*/
.ec-size .ec-store .form-control--primary .form-control__button {
  color: white;
}

/*Text color on hover*/
.ec-size .ec-store .form-control--primary .form-control__button:hover {
  color: white;
}

/* CSS code below to display the same number of categories per row */
.ec-size .ec-store .ec-grid .grid__categories[data-cols="1"] .grid-category:nth-child(n+1) {
  width: 50%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="1"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="1"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="2"] .grid-category:nth-child(n+1) {
  width: 50%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="2"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="2"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="3"] .grid-category:nth-child(n+1) {
  width: 33.3333333333%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="3"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="3"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="4"] .grid-category:nth-child(n+1) {
  width: 25%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="4"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="4"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="5"] .grid-category:nth-child(n+1) {
  width: 20%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="5"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="5"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="6"] .grid-category:nth-child(n+1) {
  width: 16.6666666667%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="6"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="6"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="7"] .grid-category:nth-child(n+1) {
  width: 14.2857142857%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="7"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="7"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="8"] .grid-category:nth-child(n+1) {
  width: 12.5%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="8"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="8"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="9"] .grid-category:nth-child(n+1) {
  width: 11.1111111111%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="9"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="9"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="10"] .grid-category:nth-child(n+1) {
  width: 10%;
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="10"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories[data-cols="10"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories.grid__categories--large-items[data-cols="1"] {
  justify-content: center;
}

.ec-size .ec-store .ec-grid .grid__categories.grid__categories--large-items[data-cols="1"] .grid-category {
  max-width: 480px;
}

.ec-size .ec-store .ec-grid .grid__categories.grid__categories--large-items[data-cols="1"] .grid-category:nth-child(n+1) {
  width: 100%;
}

.ec-size .ec-store .ec-grid .grid__categories.grid__categories--large-items[data-cols="1"] .grid-category:nth-child(n+1) .grid-category__spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories.grid__categories--large-items[data-cols="1"] .grid-category:nth-child(n+1) .grid-category__image-spacer {
  width: calc(100% - 0px);
}

.ec-size .ec-store .ec-grid .grid__categories {
  padding: 10px;
  justify-content: center;
}
