﻿.terms {
    width: 100%;
    padding: 40px;
    /*background-color: #ffffffe9;
    border: 1px solid #bbbbbb;
    box-shadow: 0px 0px 5px 0px rgba(40,40,40,0.30);*/
}
.termsmenu {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}
    .termsmenu a {
        display: block;
        flex: 1;
        text-align: center;
    }
@media print {
    .terms {
        background-color: #ffffff;
        box-shadow: none;
        border: none;
        padding: 0px;
    }
    .termsmenu {
        display:none;
    }
    header, footer, nav {
        display: none;
    }
}
.bold {
    font-weight:bold;
}
ol, ul {
    /*  display: block;
            list-style-type: decimal;
            margin-block-start: 1em;
            margin-block-end: 1em;
            margin-inline-start: 0px;
            margin-inline-end: 0px;
            padding-inline-start: 40px;
            unicode-bidi: isolate; */

    margin: 0px 0 0 0;
    padding: 5px 0;
}

li {
    /*  list-style: revert;

            display: list-item;
            text-align: -webkit-match-parent;
            unicode-bidi: isolate; */
    padding: 5px 0;
}

ol, ul, li {
    list-style-type: none;
    list-style-type: none;
}

    ol h2, ul h2, ol h3 {
        display: inline;
    }


/* Default (fallback) list (letters) */
ol, ul {
    /*counter-reset: _lettercount_ 0;*/
    margin-left:40px;
}
    ol.first, ul.first {
        counter-reset: _lettercount_ 0;
    }
    ol > li:before, ul > li:before {
        content: "" counter(_lettercount_, lower-latin) ") ";
    }
    ol > li, ul > li {
        counter-increment: _lettercount_;
    }

/* Contained lists (fallback) */
    ol.containedlist, ul.containedlist {
        counter-reset: _lettercount_cl_ 0;
    }
        ol.containedlist > li:before, ul.containedlist > li:before {
            content: "" counter(_lettercount_cl_, lower-latin) ") ";
        }
        ol.containedlist > li, ul.containedlist > li {
            counter-increment: _lettercount_cl_;
        }


    /*Decimal lists*/

    ol._list_1-0, ul._list_1-0 {
        font-size: 20px !important;
        margin-left: 0px;
    }
    ol._list_1-1, ul._list_1-1 {
        margin-left: 10px;
    }
    ol._list_1-2, ul._list_1-2 {
        margin-left: 20px;
    }


   /* ol._list_1-0:first-of-type, ol._list_1-0.reset, ul._list_1-0:first-of-type, ul._list_1-0.reset {
        counter-reset: _list_1-0 0;
    }
    ol._list_1-1.reset, ul._list_1-1.reset {
        counter-reset: _list_1-1 0;
    }
    ol._list_1-2.reset, ul._list_1-2.reset {
        counter-reset: _list_1-2 0;
    }*/
    ol._list_1-0:first-of-type, ol._list_1-0.first, ul._list_1-0:first-of-type, ul._list_1-0.first {
        counter-reset: _list_1-0 0;
    }
    ol._list_1-1.first, ul._list_1-1.first {
        counter-reset: _list_1-1 0;
    }
    ol._list_1-2.first, ul._list_1-2.first {
        counter-reset: _list_1-2 0;
    }

._list_1-0 > li {
    counter-increment: _list_1-0;
}
._list_1-1 > li {
    counter-increment: _list_1-1;
}
._list_1-2 > li {
    counter-increment: _list_1-2;
}

._list_1-0 > li:before {
    content: "" counter(_list_1-0, decimal) ". ";
}
._list_1-1 > li:before {
    content: "" counter(_list_1-0, decimal) "." counter(_list_1-1, decimal) ". ";
}
._list_1-2 > li:before {
    content: "" counter(_list_1-0, decimal) "." counter(_list_1-1, decimal) "." counter(_list_1-2, decimal) ". ";
}


.lvl-1 {
    margin-left:10px;
}
.lvl-2 {
    margin-left: 20px;
}
.lvl-3 {
    margin-left: 30px;
}