/*! CampusGroups extension to ContentTools v1.2.4 by Anthony Blackshaw <ant@getme.co.uk> (https://github.com/anthonyjb) */

.ts-stack div > ul,
.ts-stack div > ol {
    margin: 0 !important; 
    padding-left: 1em !important; /* First level starts with 1em */
    list-style-position: outside !important; /* Make sure bullets/numbers are outside the text */
}

.ts-stack div > ol {
    padding-inline-start: 1em !important;
}
  
.ts-stack div > ul ul,
.ts-stack div > ul ol,
.ts-stack div > ol ul,
.ts-stack div > ol ol {
    margin: 0 !important;
    padding-left: 1em !important;
}

/* Unordered lists bullet style (Repeat disc, circle, square twice) */

.ts-stack div > ul,
.ts-stack div > ul ul ul ul,
.ts-stack ul.accordion > ul,
.ts-stack ul.accordion > ul ul ul ul,
.ts-stack .accordion__content ul,
.ts-stack .accordion__content ul ul ul ul {
    list-style-type: disc !important;
}
  
.ts-stack div > ul ul,
.ts-stack div > ul ul ul ul ul,
.ts-stack ul.accordion > ul ul,
.ts-stack ul.accordion > ul ul ul ul ul,
.ts-stack .accordion__content ul ul,
.ts-stack .accordion__content ul ul ul ul ul {
    list-style-type: circle !important;
}
  
.ts-stack div > ul ul ul,
.ts-stack div > ul ul ul ul ul ul,
.ts-stack ul.accordion > ul ul ul,
.ts-stack ul.accordion > ul ul ul ul ul ul,
.ts-stack .accordion__content ul ul ul,
.ts-stack .accordion__content ul ul ul ul ul ul {
    list-style-type: square !important;
}

.ts-stack ul.accordion {
    list-style-type: none !important;
}

/* Margins for paragraphs before/after lists */

.ts-stack ul + p,
.ts-stack ol + p {
    margin-top: 1em !important;
}

.ts-stack p + ul,
.ts-stack p + ol {
    margin-bottom: 1em !important;
}

.ts-stack ul,
.ts-stack ol {
    margin-bottom: 1em !important;
}

.ts-stack li > ol {
    margin-top: 1em !important;
}

.ts-stack ol li:not(:last-child) {
    margin-bottom: 0em !important;
}

section div[data-editable] > ol {
    margin-inline-start: 40px !important;
}

/* consistent font size (the ol previously had noticeably smaller font size) */
.cgLead > p,
.cgLead > ul,
.cgLead > ol {
    font-size: 1.35714286em;
}
