@charset "utf-8";
@font-face {
    font-family: 'Icomoon';
    src: url('/fonts/icon.woff') format('woff');
}

button {
    background: none;
    color: inherit;
    cursor: pointer;
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    border: 0;
    margin: 0;
    -webkit-appearance: button;
    -moz-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    appearance: button;
    user-select: none;
}

li {
    list-style-type: none;
}

span span {
    pointer-events: none
}

input[type="search"],
input[type="email"] {
    background: none;
    color: inherit;
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

html {
    display: block;
}

html,
body {
    height: 100%;
}

body {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

html,
body,
div,
a,
header,
footer,
article,
nav,
h1,
h2,
h3,
p,
form,
section,
ol,
ul,
li {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
}

i {
    font-style: normal;
    pointer-events: none
}

.wrapper {
    z-index: 4;
    max-width: 1440px;
    width: 1440;
    min-width: 320px;
    overflow: hidden;
    margin: auto;
}

.wrapper-content {
    position: relative;
    width: 100%;
    min-height: 100px;
}

.header {
    z-index: 4;
    display: flex;
    justify-content: flex-end;
    position: fixed;
    max-width: inherit;
    width: 100%;
    box-sizing: border-box;
    padding: 0 1em;
    background: #333;
}

.sidebar {
    display: block;
    position: relative;
    width: 240px;
    min-height: 200px;
    flex-shrink: 0;
    padding: 0 0 1em 1em;
    outline: 2px solid #DCDCDC;
    order: -1;
    background: #f5f2f0;
    align-self: stretch;
}

.wrapper-sidebar {
    margin: auto
}

.sidebar-h2 {
    font-size: calc(.9rem + .2vw);
    color: #333;
    padding: .6em 0 .3em 0;
}

.sidebar a {
    display: inline-block;
    color: #696664 !important;
    font-size: 1em;
    height: 100%;
    text-decoration: none;
    hyphens: auto
}

.sidebar li {
    margin: 4px 0;
}

.navigation {
    display: flex;
    flex-direction: column;
}

.content {
    display: flex;
    margin-top: 2.5rem;
    width: 100%;
    box-sizing: border-box;
    align-items: flex-start;
    background: #fafafa;
}

.header a,
.header button,
.header .nav-wrapper {
    display: inline-block;
    position: relative;
    font-size: 1.1rem;
    color: #fff !important;
    text-decoration: none;
    height: 2.5rem;
    line-height: 2.5rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    flex-shrink: 0;
}

.header .logo {
    display: inline-block;
    flex-shrink: 0;
    flex-grow: 3;
}

.header a::before,
.header button::before {
    display: inline-block;
    vertical-align: top;
    font-family: 'Icomoon';
}

.header .nav-menu {
    display: block;
    background: #333;
    width: 110%;
}

.header .icon-home::before {
    content: "\e94a";
}

.icon-bars::before {
    content: "\f05e";
}

.icon-cancel::before {
    content: "\ea0f";
    color: #FFF8DC;
}
.icon-spinner::before {
    font-family: "Icomoon";
    content: "\e97f";
}
.search {
    z-index: 4;
    position: absolute;
    right: 0;
    top: 0;
    min-width: 320px;
    display: flex;
    justify-content: flex-end;
    box-sizing: border-box;
    align-items: center;
    padding: 0 .7em;
    background: #333;
}
.wrapper-primer{
    background: #fff;
    border: 2px solid #DCDCDC;
    border-radius: 5px;
    padding: 15px 25px;
}

.search .icon-cancel,
.search .icon-search {
    padding: 0;
}

.search .icon-cancel::before {
    font-size: 1.2em;
    padding: 0 .5em;
}

.search .icon-search::before {
    content: "\e986";
    font-size: 1.3em;
    padding-left: .8em;
}

input[type="search"] {
    display: inline-block;
    font-size: .9em;
    padding: 6px 5px;
    color: #333;
    background: #fff;
    border-radius: .3em;
    flex-grow: 1;
}

.search1 {
    display: inline-block;
    font-size: .9em;
    padding: 6px 12px;
    margin-left: 1em;
    color: #fff  !important;
    background: #606060;
    border: solid 1px #606060 !important;
    border-radius: .3em;
    cursor:pointer
}

a[data-bookmark-count]::after,
a[data-cart-count]::after,
a[data-base-count]::after {
    display: inline-block;
    position: absolute;
    top: 1px;
    right: 1px;
    text-align: center;
    font-size: .9em;
    line-height: .8em;
    padding: 3px;
    border-radius: .6em;
}

a[data-bookmark-count]::after {
    content: attr(data-bookmark-count);
    background: #00cc99;
    color: #fff;
}

a[data-cart-count]::after {
    content: attr(data-cart-count);
    background: #0099ff;
    color: #fff;
}

a[data-base-count]::after {
    content: attr(data-base-count);
    background: #ff6666;
    color: #fff
}

.header a[data-bookmark-count]::before {
    color: #00cc99;
}

.header a[data-cart-count]::before {
    color: #0099ff;
}

.header a[data-base-count]::before {
    color: #ff6666;
}

.header a[data-bookmark-count="0"]::after,
.header a[data-cart-count="0"]::after,
.header a[data-base-count="0"]::after {
    display: none;
}

.header a[data-bookmark-count="0"]::before,
.header a[data-cart-count="0"]::before,
.header a[data-base-count="0"]::before {
    color: #fff;
}

.footer {
    display: block;
    padding-top: 5px;
    padding: 10px;
    text-align: center;
    color: #666;
    font-size: .8em;
    border-top: 2px solid #DCDCDC;
}

.main-title {
    text-align: center;
    font-weight: 700;
    font-size: calc(.95rem + .8vw);
    margin: .65em 0;
    padding-bottom: 5px;
    color: #333;
}


.main-header {
    position: relative;
    font-weight: 700;
    font-size: calc(.95rem + .25vw);
    padding: .5em 0;
    color: #333;
    background: #DCDCDC;
    text-align: center;
}

.intro {
    margin: .5em 1em 1em;
    color: #333;
    font-size: 1em;
    text-align: center;
}

#search {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: calc(.7rem + .5vw);
    margin: 0 auto;
    padding: 1.5em;
    text-align: center;
    background: #DCDCDC;
    border-radius: 5px;
}

#search input {
    color: #333;
    border: 2px solid #999;
}
#search > div {
    width: 100% !important;
}
#search input:focus {
    border: 2px solid #00adcc;
}

.main-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.main-wrapper section {
    box-sizing: border-box;
    border: 2px solid #DCDCDC;
    margin: 1.5em 0 1em;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    font-size: 15px;
    line-height: 30px;
    margin-top: 10px
}

.main-nav a {
/*    display: inline-block;*/
    text-decoration: none;
}
a:visited{
    color: #551a8b;
}
a:link{
    color: #0059b2;
}

.main-nav .strela::before {
    font-size: 0.9em;
    content: "\e901";
    font-family: "Icomoon";
    vertical-align: middle;
    color: #999;
    padding: 0 .5em
}

.main-nav .icon-home::before {
    display: inline-block;
    font-family: "Icomoon";
    color: #0059b2;
    content: "\e94a";
    font-size: 20px;
/*    text-align: center;*/
    line-height: 25px;
    height: 25px;
    width: 25px
}

.main-wrapper li {
    margin-left: 2em;
}

.main-wrapper.zadachnik li {
    margin-left: 1.5em;
}

.main-wrapper li div {
    font-size: calc(.9rem + .25vw);
}

.main-wrapper li a {
    font-size: 1em;
}

.main-wrapper ol {
    counter-reset: point;
    height: inherit;
}

.main-wrapper li a,
.main-wrapper li p,
.main-wrapper li div {
    position: relative;
    list-style: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
}

.main-wrapper p + ol {
    margin-bottom: -1em;
    padding-bottom: 1em;
}

.main-wrapper li a::before,
.main-wrapper li p::before,
.main-wrapper li div::before {
    display: inline-block;
    top: 50%;
    margin-top: -.5em;
    left: -2.7em;
    line-height: 1em;
    width: 2.5em;
    height: 1em;
    content: counters(point, ".")".";
    counter-increment: point;
}

.a_r {
    position: relative;
    font-size: 1em;
    border-bottom: 2px #DCDCDC solid;
    font-weight: bold;
    padding: .6em 0;
    text-indent: 0;
}

.main-wrapper li div {
    color: #008000;
    font-weight: bold;
    padding: .5em 0;
}

.main-wrapper ol li a {
    display: block;
    text-decoration: none;
/*    color: #0059b2;*/
    padding: .4em;
}

.zadachi-li {
    display: flex;
    position: relative;
    border: 2px solid #DCDCDC;
    margin-bottom: 10px;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 4px;
    background: #fff;
}

@media screen and (min-width: 1041px) {
    .header .icon-bars {
        display: none;
    }
    .header .nav-menu {
        position: static;
    }
    .search {
        width: 900px;
    }
    .main-wrapper section {
        flex-basis: 49%
    }
    .contacts1{
        flex-basis: 60%
    }
    .wrapper-content {
        padding: 0 7%;
    }
    #sear {
/*        padding: 0 7%;*/
        margin-left: 270px;
        margin-right: 10px
    }
    section:target > ol {
        width: 95%;
/*        margin: auto;*/
        -moz-columns: 2;
        -webkit-columns: 2;
        columns: 2;
    }
    .zadachnik section > ol {
        width: 95%;
        -moz-columns: 2;
        -webkit-columns: 2;
        columns: 2;
        overflow: hidden;
        background: #fff;
        border: 2px solid #DCDCDC;
        border-radius: 5px;
        padding: .5em
    }
    .wrapper-primer,.wrapper-primer1 {
        margin: auto;
    }
    .zadachi-li {
        flex-basis: 32.2%;
    }
}

@media screen and (max-width: 1040px) and (min-width: 840px) {
    .search {
        width: 700px;
    }
}

@media screen and (max-width: 839px) and (min-width: 716px) {
    .search {
        width: 80%;
    }
}

@media screen and (max-width: 1040px) {
    section > ol {
        width: 100%;
        margin: 0 auto;
    }
    .main-wrapper section {
        flex-basis: 100%
    }
    .contacts1{
        flex-basis: 100%
    }
    .contacts2{
        flex-basis: 300px
    }
    
    .header .nav-menu {
        position: absolute;
        opacity: .8;
    }
    .wrapper .header .hidd {
        display: none;
    }
    .header .nav-menu a {
/*        display: block;*/
    }
    .wrapper-content {
        width: 96%;
        padding: 0 3%;
    }
     #sear {
        margin-left: 10px;
        margin-right: 10px;
    }
    section .primer {
        margin: 1em 0 0;
    }
    .wrapper-primer, .wrapper-primer1 {
        margin: auto;
    }
    .zadachi-li {
        flex-basis: 48.5%;
    }
    
}

@media screen and (max-width: 714px) {
    .icon-bookmark::before {
        content: "\e9d3";
    }
    .icon-cart::before {
        content: "\e93a";
    }
    .icon-base::before {
        content: "\e964";
    }
    .icon-tree::before {
        content: "\e9bc";
    }
    .icon-search::before {
        content: "\e986";
    }
    .nav-header {
        margin-bottom: -1.6em;
        padding-bottom: 2.1em;
    }
}

@media screen and (min-width: 713px) {
    a[data-bookmark-count]::before,
    a[data-cart-count]::before,
    a[data-base-count]::before {
        font-family: "Icomoon";
        display: inline-block;
        position: absolute;
        top: 21px;
        right: -2px;
        text-align: center;
        font-size: .9em;
        line-height: .9em;
    }
    a[data-bookmark-count]::before {
        content: "\e9d3";
        color: #00cc99;
    }
    a[data-cart-count]::before {
        content: "\e93a";
        color: #0099ff;
    }
    a[data-base-count]::before {
        content: "\e964";
        color: #ff6666;
    }
    .header a[data-bookmark-count="0"]::before,
    .header a[data-cart-count="0"]::before,
    .header a[data-base-count="0"]::before {
        display: none;
    }
    .main-header {
        margin-bottom: .5em;
    }
    .header a::before,
    .header button::before {
        padding-right: .2em;
    }
    .header a,
    .header button {
        padding: 0 1em;
    }
    .nav-header {
        z-index: 2;
        position: relative;
        margin-bottom: -1.6em;
        padding-bottom: 2.1em;
        background: #fafafa
    }
    section:target {
        margin-top: -1.4em;
        padding-top: 2.85em;
        flex-basis: 100%;
    }
    .info-table {
        width: 300px;
    }
    .zadachnik > section {
        border: 0;
    }
    .zadachnik .main-header {
        background: none;
/*        border-bottom: 2px solid #DCDCDC;*/
    }
    .main-wrapper:not(.zadachnik) section[id] {
        background: #fff
    }
}

.sidebar button {
    display: block;
    position: absolute;
}

@media all and (max-width: 800px) {
    #fixblock button {
        z-index: 3;
        right: -.8em;
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        color: #666;
        font-family: Icomoon;
        background: #DCDCDC;
        opacity: .7
    }
    .show #fixblock button {
        right: -58px;
    }
    #fixblock button::before {
        content: "\ea0f";
    }
    .show #fixblock button::before {
        content: "\f05e";
    }
    .show {
        position: absolute;
        left: -275px;
    }
    .margin-left {
        margin-left: 40px
    }
}

@media screen and (min-width: 320px) and (max-width: 712px) {
    .sidebar {
        align-self: center;
        border: 0;
    }
    #sear {
        margin-left: 10px;
        margin-right: 10px;
    }
    .main-wrapper ol li {
        margin: .5em 1em .5em 2em;
    }
    .content #search {
        display: none;
    }
    .header > a span,
    .header > button span,#menu span {
        display: none;
    }
    
    .header .icon-home::before {
        padding-right: .2em;
    }
    .header a::before,
    .header button::before {
        font-size: 1.8em;
        padding: 0 .6em;
    }
    a[data-bookmark-count]::after,
    a[data-cart-count]::after,
    a[data-base-count]::after {
        right: 5px;
    }
    .search {
        width: 100%;
    }
    .main-wrapper section {
        margin: 0;
        border: 0;
    }
    .main-wrapper .main-header {
        position: relative;
        text-align: left;
        margin-top: 0;
        outline: 5px solid #fafafa;
        padding: .0 0 0 .5em;
    }
    .main-header a {
        display: block;
        padding: 8px 0 8px 0;
        width: 100%;
    }
    .main-header::before {
        position: absolute;
        right: .5em;
        width: 1em;
        height: 1em;
        line-height: 1em;
        top: 50%;
        margin-top: -.4em;
        font-family: Icomoon;
    }
    .content {
        flex-direction: column;
    }
    .main-header + ol,
    .main-header + .wrapper-primer{
        display: none;
    }
    .main-header + .wrapper-primer1{
        display: none;
    }
    section:target .main-header + ol,
    section:target .main-header + .wrapper-primer{
        display: block;
    }
    section:target .main-header + .wrapper-primer1{
        display: block;
    }
    
    section:target .hidde + ol,
    section:target .hidde + .wrapper-primer{
        display: none;
    }
    section:target .hidde + .wrapper-primer1{
        display: none;
    }
    .main-header::before {
        content: "\f078";
    }
    section:target .main-header:not(.hidde)::before {
        content: "\f0a3";
    }
    section:target {
        margin-top: -3.1em;
        padding-top: 3.1em;
    }
    .info-table {
        width: 300px;
    }
    .header .nav-menu{
        width: 90px;
        padding:0 10px;
    }
    .docx{
        display: none;
    }
}

@media screen and (min-width: 320px) and (max-width: 520px) {
    .main-wrapper li a {
        border: solid 1px #0059b2;
        background: #fff;
        border-radius: 10px;
    }
    .header {
        justify-content: space-around;
    }
    .header .logo {
        flex-grow: 0;
    }
    .header .icon-home i {
        display: none;
    }
    .header a::before,
    .header button::before,
    .header .icon-home::before {
        padding: 0 .3em;
        text-align: center;
    }
    a[data-bookmark-count]::after,
    a[data-cart-count]::after,
    a[data-base-count]::after {
        right: -.3em;
    }
    .info-table {
        width: 100%;
    }
    .zadachi-li {
        flex-basis: 100%;
    }
    .not-img {
        display: none;
    }
}

.hidd {
    display: none;
}

.align-left {
    text-align: left;
}
.main-title.align-left {
    border-bottom: solid 3px #eee;
}

.intro-ol {
    margin-left: 2em;
}

.intro-ol li {
    padding: .5em;
}

.intro-ol span {
    color: darkred;
}

article table, .info-table {
    color: #666;
    border-collapse: collapse;
    font-size: .9em;
    margin-top: .3em
}

.zadacha1 .info-table tr:last-child td{
    background-color: #fafafa;
}
.zadacha1 .info-table tr:first-child td{
    background-color: #fafafa;
}

article table td,.info-table td {
    border: solid 1px #DCDCDC;
    padding: .2em;
    background: #fff
}

.info-table tr td:first-child {
    width: 75%;
}

.info-table tr td:last-child {
    text-align: center;
    line-height: 1.2em;
    color: #666;
    font-weight: bold;
    text-align-last:right
}
article table td{
    text-align: center;
}
.info {
    font-size: .95em;
}

section:target {
    order: -2;
}

.number1 {
    order: -1;
}

.main-header a {
    display: inline-block;
    position: relative;
    text-decoration: none;
    color: inherit;
}

sup,
sub {
    vertical-align: middle;
    position: relative;
    font-size: 80%;
}

sup {
    bottom: .5em;
}

sub {
    top: .2em;
}

article {
    position: relative;
    font-size: 1em;
    overflow: auto;
    border: 2px solid #DCDCDC;
    border-radius: 5px;
    margin-bottom: 1em !important;
    padding: 0 1em .5em 1em;
    background: #fff;
}
article p {
    line-height: 1.3em;
    color: #333;
    hyphens: auto;
    text-align: justify
}

p {
    text-indent: 25px;
}

article > h3 {
    text-indent: 25px;
    font-weight: 700;
    color: darkred;
    font-size: 1.1em;
    padding: .5em 0;
}

.p1 {
    white-space: nowrap;
    padding: .5em 0;
}

.p1 span {
    padding-right: .5em;
}

.p1 span {
    font-weight: bold;
}

.open {
    color: blue;
    padding: .1em;
    text-decoration: none;
    border-bottom: 1px dashed blue;
    border-radius: 0
}

.mjx-math > .mjx-mrow {
    display: flex;
    justify-content: center;
    align-items: baseline;
    flex-wrap: wrap;
}

.mjx-math > .mjx-mrow > span {
    flex-shrink: 0;
    padding: .3em 0;
}

.mjx-mo {
    color: chocolate;
}

#fixblock {
    z-index: 2;
    position: relative;
    display: block;
    width: inherit;
}

svg {
    pointer-events: none;
    opacity: .9;
    max-width: 100%;
    height: auto;
}

.hidden {
    display: none;
}

.hidden1 {
    position: absolute;
    top: 0;
    left:0;
    width:0;
    height:0;
    overflow: hidden;
    visibility: hidden;
}


.formula .MJXc-display{
    margin: .5em 0;
}

.formula > .mjx-math > .mjx-mrow {
    text-indent: 0;
    line-height: 0;
}

@media all and (orientation: portrait) and (min-width: 320px) and (max-width: 414px) {
    .zadacha .zadacha-img,
    #bookmark .zadacha-img,
    svg {
        display: block;
        margin: auto;
    }
}

@media all and (orientation: portrait) and (min-width: 415px) and (max-width: 1024px) {
    svg {
        float: right;
        margin-left: 5px
    }
    #sear .zadacha-img,
    .zadacha .zadacha-img,
    #bookmark .zadacha-img,
    svg {
        float: right;
        margin-left: 5px
    }
}

@media all and (orientation: landscape) {
    svg {
        float: right;
        margin-left: 5px
    }
    #sear .zadacha-img,.zadacha .zadacha-img,#bookmark .zadacha-img,
    svg {
        float: right;
        margin-left: 5px
    }
}

.primer {
    font-size: 1em;
    color: #333;
    border: 1px dashed #999;
    border-radius: 4px;
    margin-bottom: 1em !important;
    padding: .5em;
    background: #F5F5F5
}

.primer p {
    line-height: 1.5em;
}

.zadachnik section {
    flex-basis: 100%
}

.zadachi-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    margin-top: .5em;
}

.zadachi-li p {
    margin: 5px 10px 5px 10px;
    text-align: justify;
    line-height: 1.25em;
}

.zadachi-li a {
    display: block;
}

.li-a {
    display: block;
    font-size: 1em;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    height: auto;
    text-decoration: none;
    color: #0059b2;
}

#li-a1 {
    text-decoration: none;
    text-align: center;
    padding: .5em;
}

#li-a1:hover{
    color: #ff9966
}
a.number-zadacha:visited {
    color: darkred
}

.sidebar-navigation {
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: .5em
}

.sidebar-navigation >li {
    padding: 0;
    margin: 0 6px 6px 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%
}

.sidebar-navigation >li >a {
    height: 100%;
    width: 100%;
    line-height: 40px;
    text-align: center;
    text-decoration: none
}

.img-p a {
    text-align: center;
}

.not-img {
    height: 230px;
    background: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMjIiIGhlaWdodD0iMTIyIiB2aWV3Qm94PSIwLCAwLCAxMjIsIDEyMiI+CiAgPGcgaWQ9IkxheWVyXzEiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0xNzksIC01OSkiPgogICAgPHBhdGggZD0iTTE5Mi41LDcyLjUgTDI4OC41LDE2OC41IiBmaWxsLW9wYWNpdHk9IjAiIHN0cm9rZT0iI0VFRUVFRSIgc3Ryb2tlLXdpZHRoPSI3Ii8+CiAgICA8cGF0aCBkPSJNMTkyLjUsMTY4LjUgTDI4OC41LDcyLjUiIGZpbGwtb3BhY2l0eT0iMCIgc3Ryb2tlPSIjRUVFRUVFIiBzdHJva2Utd2lkdGg9IjciLz4KICA8L2c+Cjwvc3ZnPg==") 50% 50% no-repeat;
    background-size: contain;
}
.docx_id{
    position: relative;
    display: flex;
    align-items: center;
}
.docx{
    position: absolute;
    left: 215px;
    background-image: url('/logo/docx.svg');
    background-size: 100px 35px;
    height: 35px;
    width: 100px;
}

.zadacha-img {
    display: block;
    opacity: .9;
    max-width: 100%;
    margin: auto;
    pointer-events: none
}
#sear .zadacha-img,
.zadacha .zadacha-img,
#bookmark .zadacha-img {
    padding-left: 5px;
    opacity: .9;
    max-width: 100%;
    height: auto;
    pointer-events: none
}

button[data-bookmark-zadacha],
button[data-cart-zadacha]{
    display: inline-block;
    border-radius: 5px;
    height: 35px;
    width: 130px;
    margin: 5px;
    padding: 0 0;
    font-size: 1rem;
}

.data-cart-zadacha{
    display: inline-block;
	text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    padding: 5px;
    font-size: 1rem;
	border: 2px solid #999;
	text-decoration: none;
    
}



button[data-cart="0"] {
    border: 2px solid #999;
    color: #999;
}


button[data-bookmark="0"] {
    border: 2px solid #999;
    color: #999;
}


button[data-cart="1"] {
    border: 2px solid #0099ff;
    color: #fff;
    background: #0099ff
}

button[data-bookmark="1"] {
    border: 2px solid #00cc99;
    color: #fff;
    background: #00cc99
}

.data-cart-zadacha::before {
    font-family: Icomoon;
    content: "\e93a";
    vertical-align: middle
}


button[data-bookmark-zadacha]::before {
    font-family: Icomoon;
    content: "\e9d3";
    vertical-align: middle
}

button[data-bookmark="0"]::after {
    content: " Запомнить"
}

button[data-bookmark="1"]::after {
    content: " Забыть"
}

button[data-cart="0"]::after {
    content: " В корзину"
}


button[data-cart="1"]::after {
    content: " Удалить"
}

.zadachi-button {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    margin: 5px 10px;
}

.price {
    display: inline-block;
    padding: 5px;
    color: #fb515d;
    background: #eee;
    font-size: 1rem;
    text-indent: 0;
}

.pg {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.backward,
.forward {
    display: block;
    color: #fff !important;
    background: #606060;
    font-size: .75em;
    text-decoration: none;
    letter-spacing: 1px;
    border-radius: 5px;
    padding: 7px 20px;
    text-align: center;
    margin: 0 10px
}

.forward::after {
    font-family: "Icomoon";
    content: "\e901";
    padding-left: .5em;
    vertical-align: bottom
}

.backward::before {
    content: "\e900";
    padding-right: .5em;
    font-family: "Icomoon";
    vertical-align: bottom
}

.count {
    color: darkred
}

button.zadachi-bookmark-cancal {
    pointer-events: none;
    color: #DCDCDC;
    border-color: #ccc;
}

.zadacha button.zadachi-bookmark-cancal {
    pointer-events: none;
    color: #DCDCDC;
    border-color: #ccc;
}

.zadacha .zadachi-button {
    margin-left: 0;
    margin-bottom: 0;
    margin-right: 0
}
#sear .price,
.zadacha .price,
#bookmark .price {
    margin: .5em 0;
}

article + .pg {
    margin-top: -1em;
    padding-top: 1em;
}

.content .hover {
    color: #ff9966
}

.zadachi-li .button,
.content .zadacha .button {
    opacity: .8
}

.main-header a.hover {
    color: #999;
}

.header a.hover,
.header button.button {
    color: #ff9966
}

.zadacha1 {
    margin-left: 25px;
    margin-top: 1em;
}

.otvet {
    margin-top: .5em;
    font-weight: bold
}

#bookmark .main-title {
    font-weight: 700;
    font-size: calc(1rem + .2vw);
    margin-top: 1em;
}

#bookmark>p {
    padding-bottom: 5px;
}

#table {
    max-width: 700px;
    width: 100%;
    box-sizing: border-box;
    border-collapse: collapse;
    counter-reset: schetchik;
}
.wrapper-primer1 article table{
    margin: auto
}
#table td {
    font-size: .9em;
    padding: 7px;
    text-align: center;
    border: 1px solid #DCDCDC;
    color: #666;
    background: #fff
}

#table th {
    font-size: .95em;
    text-align: center;
    padding: 7px 4px;
    color: #666;
    border: 1px solid #DCDCDC;
    background: #F0F0F0;
}

#table td:last-child > button {
    display: inline-block;
    color: #F08080;
    font-size: 20px;
    height: 30px;
    width: 30px;
    border: 1px solid #F08080;
    line-height: 20px;
    border-radius: 50%
}

#table td:last-child {
    width: 30px;
}

#table td:first-child {
    width: 30px;
}

#table td:nth-last-child(2) {
    width: 50px;
}

#table td:nth-last-child(4) {
    width: 20px;
}

#table td:nth-last-child(4)::before {
    counter-increment: schetchik;
    content: counter(schetchik);
    color: #666;
}

#table td:first-child > button {
    display: inline-block;
    font-size: 20px;
    height: 30px;
    width: 30px;
    border: 1px solid #666;
    line-height: 20px;
    border-radius: 50%
}

#table tfoot td {
    background: #F0F0F0;
}

#sum, #sum_uah {
    font-weight: bold;
    text-align: center !important;
    border-left: none !important;
}

.sum {
    font-weight: bold;
    text-align: right !important;
}

#table td > article {
    border: none;
    text-align: justify;
    margin: -4px;
    padding: 0;
}

input[type="submit"],
input[type="reset"] {
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
    padding: 10px 20px;
    border: solid 1px #606060;
    color: #fff;
    background: #606060;
    margin-left: 5pt;
    text-align: center;
    border-radius: 5px;
    font-size: .9em
}

#p2 {
    text-align: right;
    margin: 0 auto;
    max-width: 700px;
    width: 100%;
    margin-top: 1em;
    margin-bottom: 1em
}

#buy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

#buy,
.email {
    max-width: 700px;
    width: 100%;
    margin-top: 10px;
    text-align: right;
}

#buy ul,
.email input {
    display: inline-block;
    box-sizing: border-box;
    width: 310px;
    font-size: 15px;
    font-weight: bold;
    background: #fff;
    color: #666;
    box-shadow: 0px 0px 15px -5px #999;
    border: solid 1px #999;
    border-radius: 4px;
}

.email input {
    height: 47px;
    padding-left: 15px
}

#selected {
    display: block;
    position: relative;
    width: 310px;
    box-sizing: border-box;
    cursor: pointer;
    padding: 5px 15px;
    font-size: 15px;
    background: #f5f2f0;
    color: #666;
    box-shadow: 0px 0px 15px -5px #999;
    border: solid 1px #999;
    border-radius: 4px;
    user-select: none;
    text-overflow: ellipsis;
    text-align: left;
    font-weight: 700
}
#buy li {
    padding: 5px 15px;
}
#selected>input {
    position: absolute;
    left: 50%;
    pointer-events: none
}

.opacity {
    opacity: 0;
    pointer-events: none
}

#selected::after {
    position: absolute;
    right: .5em;
    width: 1em;
    height: 1em;
    line-height: 1em;
    top: 50%;
    margin-top: -.5em;
    font-family: 'Icomoon';
}

.opn::after {
    content: "\f0a3";
}

.cls::after {
    content: "\f078";
    
}

#selected.cls + ul {
    display: none;
}

#buy ul {
    margin-top: 3px;
}

#buy li {
    display: flex;
    height: 35px;
    text-align: left;
}

#buy li:hover {
    background: #08c;
    color: #fff
}

#buy li label {
    display: block;
    /* padding: 5px 15px; */
    width: 100%;
    cursor: pointer;
}

#buy label::before {
    display: inline-block;
    width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-right: 10px
}

#buy .qiwi::before {
    content: url("/logo/qiwi.svg");
}

#buy .yandex::before {
    content: url("/logo/yandex.svg");
}
#buy .usdt_trc20::before {
    content: url("/logo/usdt_trc20.svg");
}
#buy .usdt_erc20::before {
    content: url("/logo/usdt_erc20.svg");
}
#buy .litecoin::before {
    content: url("/logo/litecoin.svg");
}
#buy .toncoin::before {
    content: url("/logo/ton.svg");
}
#buy .tron::before {
    content: url("/logo/trx.svg");
}
#buy .dash::before {
    content: url("/logo/dash.svg");
}
#buy .cart_ru::before {
    content: url("/logo/cart_ru.svg");
}
#buy .cart_ua::before {
    content: url("/logo/cart_ua.svg");
}
#buy .googlepay_ru::before {
    content: url("/logo/googlepay.svg");
}
#buy .googlepay_ua::before {
    content: url("/logo/googlepay.svg");
}
#buy .applepay_ru::before {
    content: url("/logo/applepay.svg");
}
#buy .applepay_ua::before {
    content: url("/logo/applepay.svg");
}
#buy .cart_ru1::before {
    content: url("/logo/cart_ru1.svg");
}

[hidden] {
    display: none;
}

.email input[type="email"]:valid,
#buy select:valid {
    border-color: #339900;
}

#not {
    text-align: center
}

.w100 {
    max-width: 95%;
    width: 700px;
    margin: 0 auto
}

a.active {
    color: #ff9966 !important;
    text-decoration: none !important;
}

[data-r="hidden"] {
    display: none
}

.otv {
    color: #333 !important;
}

li .p-price {
    text-indent: 0
}

td[colspan="5"] p {
    text-align: justify;
    line-height: 1.3em
}

#cart {
    margin-top: 1em
}

caption {
    font-weight: bold;
    padding-bottom: .5em;
    text-align: left
}

.email input::-webkit-input-placeholder {
    color: #ccc
}

.email input::-moz-placeholder {
    color: #ccc
}

.email input::-ms-input-placeholder {
    color: #ccc
}

.email input::placeholder {
    color: #ccc
}

.p-not {
    text-indent: 0;
    padding: .5em 0
}
.prim {
    padding: 5px 0;
    font-size: 1em;
    color: #999;
    text-align: right
}
.prim span{
    font-weight: 700
}

.primer_rasdel {
    display: block;
    color: #0059b2;
    text-decoration:none;
    padding: .4em .4em; 
}
.wrapper-primer {
    counter-reset:heading;
}
.primer_rasdel::before {
    counter-increment: heading;
    content: counter(heading) ". ";
}
.v {
    text-indent: 0;
    padding: .5em 0;
    font-weight: bold;
    color: #333;
    font-size: 1em;
}
.ot {
    margin: .5em 0;
    font-size: 1em;
    color: #333;
    text-indent: 0;
}

.help {
    padding-bottom: .5em;
}

.formrow{
    padding: .5em 0
}
.formrow > span{
    display: inline-block;
    padding-bottom: .5em;
    color: #666
}
#form_contacts input[type="text"],#form_contacts input[type="email"], #form_contacts select {
    box-sizing: border-box;
    height: 35px;
    width: 100%;
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 1em;
    color: #666
}
#form_contacts input[type="text"], #form_contacts input[type="email"]{
    padding: 0 .5em;
}
#form_contacts textarea{
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 4px;
    font-size: 1em;
    color: #999;
    padding: .5em
}


.flex_box {
    display: flex;
    flex-wrap:wrap;
    justify-content:space-around;
}


.f2 span{
    font-size: 1.1em;
    color: #333;
    font-weight: bold
}

mark {
    padding: .25em;
}

.contacts1, .contacts2 {
    border: solid 2px #DCDCDC;
    border-radius:5px;
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 1em
}

.contacts2 {
    background:#fff;
    flex-basis: 315px
}

dl{
    margin: 0 auto;
}
dt {
    text-transform: uppercase;
    color: #e8554e;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: .85em;
}
dd a{
    color: #204a65;
}

dd {
    padding: 5px 0;
    margin-left: 0;
    margin-bottom: 20px;
    color:#204a65
}
#attach-div {
    position: relative;
    text-align: center;
    font-size: 17px;
    color: #666;
    background: #fff;
    line-height: 35px;
    height: 35px;
    width: 150px;
    border: solid 1px #666;
    border-radius: 5px;
}
.attach {
    display: block;
    position: absolute;
    top:0;
    right: 0;
    height: 100%;
    width: 100%;
    line-height: 100px;
    opacity: 0;
    overflow:hidden;
    cursor: pointer;
}
#form_contacts button {
    width: 150px;
    height: 35px;
    line-height: 35px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background: #0077cc;
    border: solid 1px #0077cc;
    border-radius: 5px;
    letter-spacing: 1px;
}

.fl {
    display: flex;
    align-items: center
}
#div-file, #div-submit{
    padding:0 5px;
    font-size: 14px;
    overflow: hidden;
    text-overflow:ellipsis;
    color: brown;
    background: #fff;
    line-height: 35px;
    height: 35px;
    max-width: 160px;
    border: solid 1px #DCDCDC;
    border-radius: 5px;
    margin-left: 5px
}

#form_contacts #submit[disabled], #submit[disabled]{
    background: #fff;
    color: #DCDCDC;
    pointer-events: none;
    border-color: #DCDCDC
}
#hidden-nav {
    height: 30px;
    width: 50px;
    line-height: 30px;
    border: 1px dashed #0059b2;
    background: #fff;
    margin-left: 10px;
    border-radius: 5px
}

#hidden-nav::before{
    font-size: 16px;
    color: #0059b2
}
.hid::before{
    content: ">>>";
}
.sho::before{
    content: "<<<";
}
#form_contacts input:invalid,#form_contacts select:invalid,#form_contacts textarea:invalid {
    border-color: red
}

.g-recaptcha {
    margin-bottom: 10px;
}

#pb{
    width: 100%;
    margin-top: 40px;
    background: #fff;
    height: 300px;
    border-radius: 5px;
    border: 1px solid #ccc;
    z-index: 999
}
.box{
    overflow-y: auto;
}
.box::-webkit-scrollbar {
    width: .5em !important;
}
 
.box::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3) !important;
}
 
.box::-webkit-scrollbar-thumb {
  background-color: darkgrey !important;
  outline: 1px solid slategrey !important;
}
input[disabled] {pointer-events:none}
#sear {
    position: absolute;
    z-index: 3;
    margin-top: 50px;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 0 10px #000;
    margin-bottom: 20px;
    background: #FFF8DC;
    padding: 0 15px 15px;
}
#project,.project{
    background: #fff;
    width: 95%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    box-shadow: 0 0 5px #333;
}
#project p,.project p{
    line-height: 1.5em;
}
#project p b,.project p b{
    line-height: 3em;
}
.usl{
    display: flex;
    justify-content:flex-end; 
    flex-direction:row;
    align-items:center;
    font-size: 1em;
    margin-top: 15px;
    text-align: right;
}
#usl{
    display: block;
    font-size: 2em;
    margin: 0;
}
.usl1{
    display: block;
    padding: 10px;
    user-select:none
}
.usl span{
    letter-spacing:1px;
    color: #0059b2;
    text-decoration-line:underline;
    cursor: pointer;
}
#usl_text{
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px #333;
}
#usl_text p{
    line-height: 1.5em;
}
.sgl{
    font-weight: 700;
    /* text-align: center; */
    padding: 5px;
}
.html_docx{
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: .9em;
}
.zadacha2{
    font-weight: bold;
    font-size: 18px;
    color: #e8554e;
    padding: 10px 0;
}
.sss{
    font-weight: bold;
    font-size: 13px;
    padding: 10px 0;
    text-align: right
}
.strong{
    padding-bottom: .5em
}
.strong1{
    font-size: .9em;
    padding-top: .5em;
    font-weight: bold;
    text-align: left;
}
.gree{
    color: #008000;
    text-transform: uppercase
}
.red{
    color: #e8554e;
    text-transform: uppercase
}
.htmldocx{
    display: block;
    width: 90px;
    font-weight: bold;
    padding-left: 5px
}
.strong2{
    padding-left: 3em;
    padding-top: .3em;
    font-size: .9em;
}
.strong2 li{
    font-size: .95em;
    padding-bottom: .3em;
    padding-top: .3em;
}