/**
 * This style sheet is just used for AIM. It uses classes to target built-in AIM styles.
 *
 * The main goals are:
 * - To center the images.
 * - To remove the hanging indent from numbered lists and bold the letters/numbers.
 */
.center,
.mainSectionText {
    text-align: center;
}

.list-style-type-decimal {
    list-style-position: inside;
}

.underline {
    text-decoration: underline;
}

img.faa_figure {
   margin-left: auto !important;
   margin-right: auto !important;
   display: block;
   max-width: 100%;
}

li > p {
    margin: 0;
    padding: 0;
}

li.list-style-type-lowerLetter {
    list-style-position: inside;
    list-style-type: lower-alpha;
}

ol.level-four > li.level-four-item,
ol.level-three > li.level-three-item,
ol.level-two > li.level-two-item,
ol.list-style-type-lowerLetter > li,
ol.list-style-type-lowerLetter > li > ol.list-style-type-decimal > li {
    counter-increment: item;
    list-style-type: none;
}

ol.level-four > li.level-four-item:before {
    content: "(" counter(item, lower-alpha) ")";
}

ol.level-four > li.level-four-item:before,
ol.level-three > li.level-three-item:before,
ol.level-two > li.level-two-item:before,
ol.list-style-type-lowerLetter > li > ol.list-style-type-decimal > li:before,
ol.list-style-type-lowerLetter > li:before {
    display: inline-block;
    font-weight: 700;
    padding-right: .5em;
    text-align: right;
}

ol.level-four,
ol.level-three,
ol.level-two,
ol.list-style-type-lowerLetter,
ol.list-style-type-lowerLetter > li > ol.list-style-type-decimal {
    counter-reset: item;
}

ol.level-three {
    margin-left: 30px;
}

ol.level-three > li.level-three-item:before,
ol.list-style-type-lowerLetter > li > ol.list-style-type-decimal > li:before {
    content: counter(item, decimal) ".";
}

ol.level-two > li.level-two-item:before,
ol.list-style-type-lowerLetter > li:before {
    content: counter(item, lower-alpha) ".";
}

p.paragraph-list-item-content {
    padding-left: 25px;
}

ul.paragraph-title {
    margin-block-end: 1em;
    margin-block-start: 1em;
}
