body{
    font: 16px/1.66 "Roboto", Arial, sans-serif;
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: "Rubik", Arial, sans-serif;
    font-weight: 700;
    margin: 25px 0 15px;
    color: white;
}

h1, .h1 {
    font-size: 2.5rem;
    line-height: 1.1;
}
h2, .h2 {
    font-size: 2rem;
    line-height: 1.2;
}
h3, .h3 {
    font-size: 1.75rem;
    line-height: 1.3;
}
h4, .h4 {
    font-size: 1.5rem;
    line-height: 1.4;
}
h5, .h5 {
    font-size: 1.25rem;
    line-height: 1.5;
}
h6, .h6 {
    font-size: 1rem;
    line-height: 1.6;
}

p{
    max-width: 130ch;
    margin-bottom: 24px;
}

@media (max-width: 992px){
    h1, .h1 {
        font-size: 2.3rem;
    }
    h2, .h2 {
        font-size: 1.8rem;
    }
    h3, .h3 {
        font-size: 1.55rem;
    }
    h4, .h4 {
        font-size: 1.3rem;
    }
    h5, .h5 {
        font-size: 1.05rem;
    }
    h6, .h6 {
        font-size: 0.8rem;
    }
}

/**************** Списки *****************/
ol {
    list-style: none;
    padding: 0;
}

ol>li {
    margin: 0!important;
    position: relative;
    line-height: 20px;
}

ol>li::before {
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
    color: #ffffff;
    text-align: center;
    font-size: 18px;
}

/* 1-й уровень */
ol {
    counter-reset: num;
}
ol > li {
    padding-left: 45px;
    margin-bottom: 0!important;
    counter-increment: num;
    padding-top: 10px;
}

ol > li::before {
    content: counter(num) '.';
    top: 10px;
}

/* 2-й уровень */
ol ol {
    counter-reset: num2;
    padding-top: 10px!important;
    padding-bottom: 10px;
}
ol ol > li {
    counter-increment: num2;
}
ol ol > li::before {
    content: counter(num) '.' counter(num2);
}

/* 3-й уровень */
ol ol ol {
    counter-reset: num3;
    padding-top: 10px;
    padding-bottom: 10px;
}
ol ol ol > li {
    counter-increment: num3;
    padding-left: 50px;
}
ol ol ol > li::before {
    content: counter(num) '.' counter(num2) '.' counter(num3);
}

/* 4-й уровень */
ol ol ol ol {
    counter-reset: num4;
    padding-top: 10px;
    padding-bottom: 10px;
}
ol ol ol ol > li {
    counter-increment: num4;
    padding-left: 70px;
}
ol ol ol ol > li::before {
    content: counter(num) '.' counter(num2) '.' counter(num3) '.' counter(num4);
}


ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 0!important;
    position: relative;
    line-height: 20px;
    padding-top: 10px;
}

ul li::before {
    position: absolute;
    top: 0px;
    left: 0;
}

/* 1-й уровень */
ul {
    list-style: none;
}
ul li {
    background: rgba(0, 128, 0, 0);
    padding-left: 30px;
}

ul li::before {
    content: "—";
    color: #ffffff;
    border: none;
    background: transparent!important;
}

/* 2-й уровень */
ul ul {
    padding-top: 10px!important;
    padding-bottom: 10px;
}
ul ul li {
    position: relative;
    padding-left: 30px;
}
ul ul li::before {
    content: "●";
    color: #ffffff;
    border: none;
}

/* 3-й уровень */
ul ul ul > li::before {
    content: "○";
}

/* 4-й уровень */
ul ul ul ul > li::before {
    content: "+";
}
/********* Списки конец *********/

/********* Ссылки **********/
a{

    text-decoration: none;
}

a:not([class]){
    border-bottom: 1px solid #cccccc7e;
    text-decoration: none;
}

a:hover{
    text-decoration: none;
    cursor: pointer;
}

a:not([class]):hover{
    color:#f1d233;
    border-bottom: 1px solid #f1d2337e;
    text-decoration: none;
    cursor: pointer;
}
a[href^="http://"]:not([href*="dmistudio.ru"]),
a[href^="https://"]:not([href*="dmistudio.ru"]),
a[href^="ftp://"]:not([href*="dmistudio.ru"]) {
    margin-right: 17px;
}
a[href^="http://"]:not([href*="dmistudio.ru"])::after,
a[href^="https://"]:not([href*="dmistudio.ru"])::after,
a[href^="ftp://"]:not([href*="dmistudio.ru"])::after {
    content: "" ;
    background-image: url('/images/dmi/icon-link-white.svg');
    background-repeat: no-repeat;
    border-bottom: 1px solid #cccccc7e;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    position: absolute;
    background-size: cover;
}

a[href^="http://"]:not([href*="dmistudio.ru"]):hover::after,
a[href^="https://"]:not([href*="dmistudio.ru"]):hover::after,
a[href^="ftp://"]:not([href*="dmistudio.ru"]):hover::after{
    background-image: url('/images/dmi/icon-link.svg');
    color:#f1d233;
    border-bottom: 1px solid #f1d2337e;
}

.anchor{
    border-bottom: 2px dotted #cccccc7e;
}
.anchor:hover{
    border-bottom: 2px dotted #f1d2337e;
    cursor: pointer;
}

/********* Ссылки конец **********/

/********* Таблицы **********/

table{
    border-collapse: collapse;
}

th{
    padding: 10px 10px 10px 10px;
    border: 1px solid #18191b;
    text-align: center;
    font-weight: 300;
}

thead{
    background: #464646;
    color: #ffffff;

}
td{
    padding: 15px 20px ;
}
tbody tr:nth-child(odd) {
    background-color: rgba(228, 149, 228, 0);

}
tbody tr:nth-child(even) {
    background-color: rgba(18, 18, 18, 0);
}

@media (max-width: 732px) {
    .scroll{
        overflow-x: auto;
    }

    table.simply tr, table.simply td, table.simply th, table.simply th, table.simply tbody, table.simply thead{
        display: block;
        clear: both;
    }
}

/********* Таблицы конец**********/

/**************** Сноска ***************/
.footnote{
    font-size: 0.8em;
    background: #464646;
    color: #ffffff;
    display: inline-block;
    padding: 20px;
}

/**************** Цитата ***************/
blockquote {
    position: relative;
    padding: 0 20px 0 41px;
    border: none;
    font-weight: 300;
    font-size: 1.2em;
    line-height: calc(1em + 10px);
    margin: 48px 0;
    max-width: 100ch;
}

blockquote:before{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    content: "";
    width: 10px;
    border-radius: 0px;
    color: #f1d233;
    background-color: #F1D233;
}

blockquote small {
    display: block;
    font-style: italic;
    margin-top: 10px;
    font-size: 0.93333rem;
    line-height: calc(1em + 7px);
}

cite {
    font-style: italic;
}

/************** Конец цитаты ***********/