#azsms-terms-container {
    margin: 50px auto;
    width: 90%;
    padding: 16px 30px 22px;
    border: 1px solid #000;
}

#azsms-terms-fmh-container {
    margin: 50px auto;
    padding: 20px 30px;
    border: 1px solid #000;
    max-width: 768px;
}

.azsms-terms h1 {
    /* font-family: "Arial"; */
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    padding: 0;
    margin: 0 0 30px 0;
    line-height: 1.1;
    font-weight: 500;
    text-align: center;
    color: #333;
}

.azsms-terms h1 b,
.azsms-terms h2 {
    /* font-weight: 500;
    font-family: 'Arial Bold'; */
}

.azsms-terms a,
.azsms-terms p {
    font-family: Arial, Helvetica, sans-serif;
}

.azsms-terms li b,
.azsms-terms p b {
    /* font-family: 'Arial Bold';
    font-weight: 400; */
}

.azsms-terms h2,
.azsms-terms h3,
.azsms-terms p {
    color: #333;
}

.azsms-terms h2,
.azsms-terms h3 {
    /* font-family: 'Arial Bold'; */
    margin-top: 0;
}

.azsms-terms h2 {
    font-size: 25px;
    margin-bottom: 33px;
}

.azsms-terms h3 {
    font-size: 22px;
    padding-bottom: 5px;
    margin-bottom: 25px;
}

.azsms-terms h3 .trademark {
    position: relative;
    top: -4px;
}

.azsms-terms p {
    font-weight: 400;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.42857143;
}

.azsms-terms p:has(+p) {
    margin-bottom: 10px;
}

.azsms-terms sup {
    font-size: 75%;
}

.azsms-terms ul {
    list-style-type: disc;
}

.azsms-terms ul li {
    margin-bottom: .5em;
}

.azsms-terms ul li:last-of-type {
    margin-bottom: 30px;
}

.azsms-terms ul:last-of-type li:last-of-type {
    margin-bottom: 1em;
}

.azsms-terms ul li a {
    font-size: 18px;
    font-weight: 400;
}

.azsms-terms a {
    color: #000;
    text-decoration: underline;
}

.azsms-terms a:focus,
.azsms-footer.terms a:focus {
    color: #23527c;
}

.azsms-terms ol {
    list-style-position: outside !important;
    padding-left: 1.1em !important;
    list-style-type: decimal;
}

.azsms-terms ol li {
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    font-weight: 400;
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.42857143;
}

.azsms-terms .tel-link {
    color: #000;
    text-decoration: none;
    white-space: unset;
}

.azsms-terms.brand-links h2 {
    font-size: 22px;
    word-break: break-word;
}

.azsms-terms.brand-links h2 .reg {
    font-size: 75%;
}

.azsms-terms.brand-links h2 .trade {
    font-size: 104%;
    position: relative;
    left: -2px;
    top: 3px;
}

.azsms-footer.terms a,
.azsms-footer.terms p {
    font-size: 18px;
}

.azsms-footer.terms li,
.azsms-footer.terms p {
    margin-bottom: 10px;
}

.azsms-footer.terms li,
.azsms-footer.terms li a {
    line-height: 1.42857143;
}

.azsms-footer.terms {
    border-top: unset;
    padding: unset;
    margin: 100px 0 0;
}

.azsms-footer.terms .footer-nav {
    gap: 0px 21px;
    flex-wrap: wrap;
    margin: 0;
}

.azsms-footer.terms .footer-nav li {
    line-height: 1.42857143;
}

.azsms-footer.terms .footer-nav li:not(:last-child)::after {
    content: '';
    position: relative;
}


.azsms-footer.terms .footer-nav.uppercase li {
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.azsms-footer.terms .footer-nav.separated li:not(:last-child)::after {
    content: '|';
    font-size: 18px;
}

.azsms-footer.terms img {
    max-width: 165px;
    width: 100%;
}


/*.pink, .pink .tel-link {
    color: #ff01fd;
}*/

#azsms-terms-fmh-container .terms-title {
    text-decoration: underline;
}

.terms-title.left {
    text-align: left;
}

.azsms-footer.fmh .ext-link {
    margin-left: 5px;
    vertical-align: middle;
}

.azsms-footer.fmh .ext-link img {
    height: 13px;
    width: 13px;
    display: inline-block;
}

.footer-border {
    padding: 15px 50px;
    border-top: 1px solid #000000;
    margin-top: 200px;
}

.footer-border p {
    display: none;
}

.footer-border.transparent {
    border-top: 1px solid transparent;
}

.azsms-footer.terms .privacy-toggle-link {
    display: flex;
    align-items: center;
}

.azsms-footer.terms .privacy-toggle-link::after {
    width: 40px;
    height: 17px;
}



@media only screen and (max-width:991px) {
    #azsms-terms-container {
        margin: 20px auto;
        padding: 15px 30px 15px 30px;
    }

    #azsms-terms-fmh-container {
        max-width: 90%;
    }

    .azsms-terms .terms-title,
    .azsms-terms h2 {
        font-size: 20px;
        margin-bottom: 12px;
        line-height: 1.1;
    }

    .azsms-terms h3 {
        font-size: 20px;
        margin-bottom: 10px;
        word-break: break-word;
    }

    .azsms-terms p {
        margin-bottom: 10px;
    }

    .azsms-terms p:has(+p) {
        margin-bottom: 5px;
    }

    .azsms-terms ul {
        list-style: none;
    }

    .azsms-terms ul li {
        position: relative;
        padding-left: 16px;
        margin-bottom: 0;
    }

    .azsms-terms ul li::marker {
        content: "";
        display: none;
    }

    .azsms-terms ul li::before {
        content: "•";
        font-size: 32px;
        margin-right: 5px;
        position: absolute;
        top: -7px;
        left: 2px;
    }

    .azsms-terms ul li:last-of-type {
        margin-bottom: 10px;
    }

    .azsms-terms ul li a {
        line-height: 1.42857143;
    }

    .azsms-terms ul:last-of-type li:last-of-type {
        margin-bottom: 5px;
    }

    .azsms-terms ol {
        padding-left: 1em !important;
    }

    .azsms-terms ul li,
    .azsms-terms ul li a,
    .azsms-terms ol li,
    .azsms-terms ol li a,
    .azsms-terms a,
    .azsms-terms p,
    .azsms-footer.terms a,
    .azsms-footer.terms p {
        font-size: 16px;
    }

    .azsms-footer.terms {
        margin: 30px 0 0;
    }

    .azsms-footer.terms img {
        max-width: 125px;
    }

    .azsms-footer.terms p:has(+p) {
        margin: 5px 0;
    }

    .footer-border {
        padding: 8px 50px;
        margin-top: 78px;
    }

    .azsms-footer.terms .footer-nav {
        gap: 0 10px;
    }

    .azsms-footer.terms .footer-nav li {
        margin-bottom: 0;
        display: flex;
        align-items: center;
    }

    .azsms-footer.terms .footer-nav li:not(:last-child)::after {
        margin-left: 5px;
    }


    .azsms-footer.terms .privacy-toggle-link::after {
        width: 30px;
    }

    .azsms-footer.terms .footer-nav.separated {
        gap: 0 5px;
    }
}

@media only screen and (min-width:991px) {
    .azsms-terms ul {
        margin: 0 0 .8em 1.5em !important;
    }

    .azsms-footer.terms .footer-nav.separated {
        gap: 0 10px;
    }

    .azsms-terms .tel-link {
        cursor: text;
        pointer-events: none;
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 991px) and (orientation: landscape) {

        /* iOS Safari portrait only */
        .azsms-terms ol {
            padding-left: 2em !important;
        }
    }
}

@supports (-webkit-touch-callout: none) {
    @media (max-width: 991px) and (orientation: portrait) {

        /* iOS Safari portrait only */
        .azsms-terms ol {
            padding-left: 1.5em !important;
        }
    }
}


@media only screen and (min-width: 1366px) and (max-width: 1999px) {
    .right-align-desktop {
        justify-content: flex-end;
    }
}
