/*
Theme Name: urok
Theme URI: https://urok.net
Author: Julia Shamray
Author URI: https://urok.net
Description: Personal premium theme for site.ru
Version: 1.0.0
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: urok
Tags: one-column

This theme, like WordPress, is licensed under the GPL.

*/

@charset 'UTF-8';

/**
* Шрифты
*/

@font-face {
  font-family: 'Roboto';
  font-weight: 900;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Black.woff2') format('woff2'), url('assets/fonts/Roboto-Black.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 900;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-BlackItalic.woff2') format('woff2'), url('assets/fonts/Roboto-BlackItalic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 700;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Bold.woff2') format('woff2'), url('assets/fonts/Roboto-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 700;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-BoldItalic.woff2') format('woff2'), url('assets/fonts/Roboto-BoldItalic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 500;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Medium.woff2') format('woff2'), url('assets/fonts/Roboto-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 500;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-MediumItalic.woff2') format('woff2'), url('assets/fonts/Roboto-MediumItalic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Regular.woff2') format('woff2'), url('assets/fonts/Roboto-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 400;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Italic.woff2') format('woff2'), url('assets/fonts/Roboto-Italic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Light.woff2') format('woff2'), url('assets/fonts/Roboto-Light.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 300;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-LightItalic.woff2') format('woff2'), url('assets/fonts/Roboto-LightItalic.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 100;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-Thin.woff2') format('woff2'), url('assets/fonts/Roboto-Thin.woff') format('woff');
}

@font-face {
  font-family: 'Roboto';
  font-weight: 100;
  font-style: italic;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/Roboto-ThinItalic.woff2') format('woff2'), url('assets/fonts/Roboto-ThinItalic.woff') format('woff');
}

@font-face {
  font-family: 'Core Sans C';
  font-weight: 700;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  src: url('assets/fonts/CoreSansC-75ExtraBold.woff2') format('woff2'), url('assets/fonts/CoreSansC-75ExtraBold.woff') format('woff');
}

.flex {
  display: flex;
}

/**
* Normalize
*/

html {
  font-family: sans-serif;
  line-height: 1.15;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: inherit;
  text-decoration-skip-ink: none;
}

@-ms-viewport {
  width: device-width;
}

article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section {
  display: block;
}

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  margin: 0;
  color: #000000;
  background-color: #ffffff;
}

[tabindex='-1']:focus {
  outline: none !important;
}

hr {
  overflow: visible;
  box-sizing: content-box;
  height: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  cursor: help;
  text-decoration: underline;
  text-decoration: underline dotted;
  border-bottom: 0;
}

address {
  font-style: normal;
  line-height: inherit;
  margin-bottom: 1rem;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: 700;
}

dd {
  margin-bottom: 0.5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

dfn {
  font-style: italic;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

a {
  transition: none;
  text-decoration: underline;
  color: #5c9d1e;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:hover {
  text-decoration: none;
  color: #5c9d1e;
}

a:not([href]):not([tabindex]) {
  text-decoration: none;
  color: inherit;
}

a:not([href]):not([tabindex]):focus,
a:not([href]):not([tabindex]):hover {
  text-decoration: none;
  color: inherit;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

a:focus {
  outline: none;
}

pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  overflow: auto;
  margin-top: 0;
  margin-bottom: 1rem;
}

figure {
  margin: 0 0 1rem;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

a,
area,
button,
[role='button'],
input,
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  caption-side: bottom;
  text-align: left;
  color: #868e96;
}

th {
  text-align: left;
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
}

button:focus {
  outline: none;
}

input,
button,
select,
optgroup,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  margin: 0;
  transition: none;
  outline: none;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type='button'],
[type='reset'],
[type='submit'] {
  cursor: pointer;
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type='button']::-moz-focus-inner,
[type='reset']::-moz-focus-inner,
[type='submit']::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type='radio'],
input[type='checkbox'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='date'],
input[type='time'],
input[type='datetime-local'],
input[type='month'] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  font-size: 1.5rem;
  line-height: inherit;
  display: block;
  width: 100%;
  max-width: 100%;
  margin-bottom: 0.5rem;
  padding: 0;
  white-space: normal;
  color: inherit;
}

progress {
  vertical-align: baseline;
}

[type='number']::-webkit-inner-spin-button,
[type='number']::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type='search']::-webkit-search-cancel-button,
[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

/**
* Общие
*/

.wrapper {
  overflow: hidden;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
}

.content__main {
  width: 1008px;
  margin-bottom: 30px;
  padding-right: 84px;
}

.content__aside {
  width: 232px;
  margin-bottom: 30px;
}

/**
* Шапка
*/

.header {
  position: relative;
  z-index: 901;
}

.header_white {
  background-color: #ffffff;
}

.header_beige {
  background-color: #f3f5d9;
}

.header__inner {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  height: 88px;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
}

.header__logo {
  margin-right: 110px;
}

.header__search {
  margin-left: auto;
}

.header__toggle {
  display: none;
}

.nav-open {
  display: block;
  width: 38px;
  height: 38px;
  padding: 0;
  border: none;
  border-radius: 10px;
  background: #6e9a44 url(assets/img/ico-menu.svg) center center/18px 18px no-repeat;
}

.nav-close {
  display: none;
}

.nav {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.nav__group {
  position: relative;
  margin-right: 50px;
}

.nav__head {
  font-size: 17px;
  font-weight: 700;
  line-height: 20px;
  position: relative;
  width: 188px;
  padding: 13px 44px 13px 24px;
  cursor: pointer;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  color: #222222;
  border-radius: 10px;
  background-color: #efefef;
}

.nav__head:before {
  position: absolute;
  top: 50%;
  right: 18px;
  display: block;
  width: 10px;
  height: 6px;
  margin-top: -3px;
  content: '';
  background: url(assets/img/ico-arrow-menu.svg) center center/10px 6px no-repeat;
}

.nav__group_open .nav__head:before {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.nav__body {
  position: absolute;
  z-index: 500;
  top: 100%;
  left: 0;
  display: none;
  margin-top: 9px;
  border-radius: 10px;
  background-color: #ffffff;
  box-shadow: 0 13px 40px rgba(30, 33, 33, 0.15);
}

.nav__body:before {
  position: absolute;
  top: -9px;
  right: 0;
  left: 0;
  display: block;
  height: 9px;
  content: '';
}

.nav__group_open .nav__body {
  display: block;
}

.nav__menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__item {
  position: relative;
  margin-right: 4px;
  margin-left: 4px;
  border-bottom: 1px solid #e4e4e4;
}

.nav__item:last-child {
  border-bottom: none;
}

.nav__item_sub {
  position: relative;
}

.nav__item_sub:before {
  position: absolute;
  top: 50%;
  right: 19px;
  display: block;
  width: 10px;
  height: 6px;
  margin-top: -3px;
  content: '';
  -webkit-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  transform: rotate(-90deg);
  background: url(assets/img/ico-arrow-menu.svg) center center/9px 5px no-repeat;
}

.nav__link {
  font-size: 17px;
  font-weight: 400;
  line-height: 42px;
  display: block;
  margin-right: -4px;
  margin-left: -4px;
  padding-right: 65px;
  padding-left: 25px;
  white-space: nowrap;
  text-decoration: none;
  color: #222222;
}

.nav__link:hover {
  color: #6e9a44;
}

.nav__link_ico {
  position: relative;
  padding-left: 56px;
}

.nav__link_ico:before {
  position: absolute;
  top: 50%;
  left: 15px;
  display: block;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  content: '';
  background-repeat: no-repeat;
  background-position: center center;
}

.nav__link_maths:before {
  background-image: url(assets/img/ico-menu-01.svg);
  background-size: 24px 20px;
}

.nav__link_world:before {
  background-image: url(assets/img/ico-menu-02.svg);
  background-size: 21px 24px;
}

.nav__link_english:before {
  background-image: url(assets/img/ico-menu-03.svg);
  background-size: 24px 17px;
}

.nav__link_russian:before {
  background-image: url(assets/img/ico-menu-04.svg);
  background-size: 23px 26px;
}

.nav__link_literature:before {
  background-image: url(assets/img/ico-menu-05.svg);
  background-size: 19px 26px;
}

.nav__link_geography:before {
  background-image: url(assets/img/ico-menu-06.svg);
  background-size: 22px 20px;
}

.nav__link_history:before {
  background-image: url(assets/img/ico-menu-07.svg);
  background-size: 20px 27px;
}

.nav__link_biology:before {
  background-image: url(assets/img/ico-menu-08.svg);
  background-size: 23px 23px;
}

.nav__link_physics:before {
  background-image: url(assets/img/ico-menu-09.svg);
  background-size: 24px 20px;
}

.nav__link_chemistry:before {
  background-image: url(assets/img/ico-menu-10.svg);
  background-size: 23px 24px;
}

.nav__link_algebra:before {
  background-image: url(assets/img/ico-menu-11.svg);
  background-size: 23px 23px;
}

.nav__link_geometry:before {
  background-image: url(assets/img/ico-menu-12.svg);
  background-size: 20px 23px;
}

.nav__sub {
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  margin: 0 0 0 4px;
  padding: 0;
  list-style: none;
  border-left: 5px solid #689140;
  border-radius: 0 10px 10px 0;
  background-color: #ffffff;
  box-shadow: 0 13px 40px rgba(30, 33, 33, 0.15);
}

.nav__sub-toggle {
  display: none;
}

.menu-opened {
  overflow: hidden;
}

.overlay {
  position: fixed;
  z-index: 900;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.4;
  background: #000000;
}

.search-form {
  position: relative;
  width: 352px;
}

.search-form__control {
  font-size: 17px;
  font-weight: 300;
  display: block;
  width: 100%;
  height: 46px;
  padding: 0 71px 0 15px;
  color: #3a3a3a;
  border: none;
  border-radius: 10px;
  background-color: #efefef;
}

.search-form__btn {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 56px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 0 10px 10px 0;
  background: #6e9a44 url(assets/img/ico-search.svg) center center/20px 20px no-repeat;
}

.search-open {
  display: none;
}

.search-overlay {
  position: fixed;
  z-index: 900;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0.4;
  background: #000000;
}

/**
* Подвал
*/

.footer {
  background-color: #3c3c3c;
}

.footer__inner {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  padding-top: 50px;
  padding-bottom: 50px;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.footer__copyright {
  font-size: 16px;
  font-weight: 300;
  line-height: 27px;
  color: #e4e4e4;
}

.footer__email {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  padding-left: 30px;
  color: #e5e5e5;
  background: url(assets/img/ico-email.svg) 0 center/20px 20px no-repeat;
}

.footer__desc {
  font-size: 16px;
  font-weight: 300;
  line-height: 23px;
  padding-top: 30px;
  padding-bottom: 30px;
  color: #d8d8d8;
  background-color: #363636;
}

.footer-menu {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-menu__item {
  font-size: 17px;
  font-weight: 400;
  line-height: 22px;
  margin-right: 40px;
}

.footer-menu__item:last-child {
  margin-right: 0;
}

.footer-menu__link {
  text-decoration: none;
  color: #e4e4e4;
}

.footer-menu__link:hover {
  text-decoration: underline;
}

/**
* Типографика
*/

.heading {
  font-family: 'Core Sans C', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 30px 0;
  color: #222222;
}

.subheading {
  font-family: 'Core Sans C', sans-serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 35px 0;
  color: #222222;
}

.article {
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
  color: #232323;
}

.article p {
  margin-bottom: 29px;
}

.article p:last-child {
  margin-bottom: 0;
}

.article a {
  font-weight: 700;
}

.article blockquote {
  margin: 30px 0;
  padding: 30px 30px 30px 130px;
  border-radius: 10px;
  background: #d5e992 url(assets/img/ico-quote.svg) 27px center/79px 88px no-repeat;
}

.article h1,
.article h2,
.article h3,
.article h4,
.article h5,
.article h6 {
  font-family: 'Core Sans C', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 30px 0;
  color: #222222;
}

.article h1 {
  font-size: 40px;
}

.article h2 {
  font-size: 32px;
}

.article h3 {
  font-size: 28px;
}

.article h4 {
  font-size: 24px;
}

.article h5 {
  font-size: 20px;
}

.article h6 {
  font-size: 18px;
}

.article ul,
.article ol {
  list-style: none;
}

.article ul li,
.article ol li {
  margin-bottom: 5px;
}

.article ul li:last-child,
.article ol li:last-child {
  margin-bottom: 0;
}

.article ul li {
  position: relative;
  padding-left: 24px;
}

.article ul li:before {
  position: absolute;
  top: 10px;
  left: 0;
  display: block;
  width: 9px;
  height: 9px;
  content: '';
  border-radius: 50%;
  background-color: #fec859;
}

.article ol {
  counter-reset: list;
}

.article ol li {
  counter-increment: list;
}

.article ol li:before {
  font-weight: 700;
  content: counter(list) ') ';
  color: #6e9a44;
}

.page-desc {
  margin-bottom: 80px;
}

/**
* Home
*/

.category {
  margin-bottom: 60px;
  padding-top: 65px;
  padding-bottom: 70px;
  background: #f2f5da url(assets/img/bg-welcome-home.jpg) center 0 no-repeat;
}

.category__list {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: -16px;
  margin-left: -16px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.category__item {
  width: calc(33.333333% - 32px);
  margin-right: 16px;
  margin-bottom: 32px;
  margin-left: 16px;
  padding: 35px 30px 16px 30px;
  border-radius: 10px;
}

.category__item:nth-child(6n+1) {
  background-color: #99b2bf;
}

.category__item:nth-child(6n+2) {
  background-color: #bad072;
}

.category__item:nth-child(6n+3) {
  background-color: #f0db72;
}

.category__item:nth-child(6n+4) {
  background-color: #c8b8ce;
}

.category__item:nth-child(6n+5) {
  background-color: #83c2b1;
}

.category__item:nth-child(6n+6) {
  background-color: #f0ba8a;
}

.category__item_hide {
  display: none;
}

.category__head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 28px;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
}

.category__title {
  font-size: 25px;
  font-weight: 700;
  line-height: 28px;
  margin-left: 22px;
  color: #222222;
}

.category__body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: -12px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.category__unit {
  margin-right: 12px;
  margin-bottom: 16px;
}

.category__link {
  font-size: 17px;
  font-weight: 400;
  line-height: 24px;
  display: block;
  padding: 5px 13px;
  text-decoration: none;
  color: #222222;
  border: 3px solid transparent;
  border-radius: 10px;
  background-color: #ffffff;
}

.category__link:hover {
  color: #222222;
  border-color: #e0e0e0;
  box-shadow: 0 10px 15px rgba(30, 33, 33, 0.15);
}

.category__more {
  margin-top: 24px;
  text-align: center;
}

.category__more-btn {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  display: inline-block;
  padding: 12px 40px 12px 25px;
  vertical-align: bottom;
  text-decoration: none;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  background: #6e9a44 url(assets/img/ico-arrow-btn-more.svg) calc(100% - 20px) center/9px 6px no-repeat;
}

.category__more-btn:hover {
  color: #ffffff;
  box-shadow: 0 15px 19px 1px rgba(35, 62, 9, 0.15);
}

.group {
  margin-bottom: 15px;
}

.group__head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.group__heading {
  margin: 0;
}

.group__all {
  font-size: 19px;
  font-weight: 700;
  line-height: 24px;
  color: #5c9d1e;
  cursor: pointer;
}

.group__all-link {
  text-decoration: underline;
}

.group__all-link:hover {
  text-decoration: none;
}

.group__body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-right: -10px;
  margin-left: -10px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.group__item {
  width: 20%;
  margin-bottom: 35px;
  padding: 0 10px;
}

.group__item_hide {
  display: none;
}

.group__nav {
  display: none;
  margin-right: -12px;
  margin-bottom: 24px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.group__nav_open {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.group__nav-item {
  margin-right: 12px;
  margin-bottom: 12px;
}

.group__nav-link {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  display: block;
  padding: 6px 19px;
  text-decoration: none;
  color: #494848;
  border: 3px solid transparent;
  border-radius: 10px;
  background-color: #f4f4f4;
}

.group__nav-link:hover {
  color: #3a3a3a;
  border-color: #e0e0e0;
  background-color: #ffffff;
}

.group__more {
  margin-top: 15px;
  margin-bottom: 50px;
  text-align: center;
}

.group__more-btn {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  display: inline-block;
  padding: 12px 40px 12px 25px;
  vertical-align: bottom;
  text-decoration: none;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  background: #6e9a44 url(assets/img/ico-arrow-btn-more.svg) calc(100% - 20px) center/9px 6px no-repeat;
}

.group__more-btn:hover {
  color: #ffffff;
  box-shadow: 0 15px 19px 1px rgba(35, 62, 9, 0.15);
}

.book-item__link {
  display: block;
  padding: 13px;
  text-decoration: none;
  border: 1px solid #e4e4e4;
  border-bottom-width: 6px;
  border-radius: 10px;
  background-color: #ffffff;
}

.book-item__link:hover {
  border-color: transparent;
  border-bottom-color: #bad072;
  box-shadow: 0 13px 30px rgba(0, 0, 0, 0.1);
}

.book-item__img {
  display: block;
  margin-bottom: 12px;
}

.book-item__img img {
  width: 100%;
}

.book-item__name {
  font-size: 17px;
  font-weight: 700;
  line-height: 21px;
  display: block;
  color: #222222;
}

.book-item__author {
  font-size: 16px;
  font-weight: 300;
  line-height: 21px;
  display: block;
  color: #222222;
}

/**
* Category
*/

.category-header {
  padding-top: 55px;
  padding-bottom: 40px;
  background: #f2f5da url(assets/img/bg-welcome-category.jpg) center 0 no-repeat;
}

.category-header__head {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 50px;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
}

.category-header__ico {
  margin-right: 25px;
}

.category-header__title {
  margin: 0;
}

.category-desc {
  padding: 60px 0;
}

.content-nav {
  position: relative;
  margin: 0 0 50px 0;
  padding: 0 0 75px 35px;
}

.content-nav2 {
  list-style: none;
  padding-left: 0;
}

.content-nav2 ol {
  list-style-type: decimal;
}

.content-nav:before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 15px;
  content: '';
  background-color: #ffffff;
  box-shadow: 0 18px 18px rgba(0, 0, 0, 0.08);
}

.content-nav2 .content-nav:before {
  display: none;
}
.content-nav2 .content-nav {
  margin-bottom: 0;
  padding-bottom: 0;
}
.content-nav__item {
  font-size: 27px;
  font-weight: 400;
  line-height: 1.185185185185185;
  padding-top: 4px;
  padding-bottom: 4px;
  color: #222222;
}

.content-nav__link {
  text-decoration: none;
  color: #222222;
}

.content-nav__link:hover {
  /* text-decoration: underline; */
}

.content-nav__sub {
  margin: 0;
  padding: 5px 0 15px 45px;
}

.content-nav__sub-item {
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2;
  padding-top: 8px;
  padding-bottom: 8px;
  color: #222222;
}

.content-nav__sub-link {
  text-decoration: none;
  color: #222222;
}

.content-nav__sub-link:hover {
  text-decoration: underline;
}

/**
* Book
*/

.book {
  position: relative;
  margin-bottom: 50px;
  padding-bottom: 35px;
}

.book:before {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 15px;
  content: '';
  background-color: #ffffff;
  box-shadow: 0 18px 18px rgba(0, 0, 0, 0.08);
}

.book__main {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 44px;
}

.book__img {
  /* width: 25.54113%; */
  float: left;
  margin-right: 22px;
  margin-bottom: 22px;
}

.book__img img {
  border-radius: 8px;
}

.book__inner {
  /* width: 74.45887%;
  padding-left: 22px; */
}

.book__title {
  font-size: 23px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 20px;
  color: #222222;
}

.book__desc p {
  font-size: 17px;
  font-weight: 300;
  line-height: 22px;
  margin-bottom: 22px;
  color: #222222;
}

.book__desc p:last-child {
  margin-bottom: 0;
}

.book__group {
  margin-bottom: 37px;
}

.book__group .flex {
  flex-wrap: wrap;
}

.book__group2 {
  margin-left: 30px;
  margin-bottom: 0px;
  width: calc(100% - 37px);
}

.book__group3 {
  margin-left: 30px;
  margin-bottom: 0px;
}

.book__group-head {
  font-size: 21px;
  font-weight: 700;
  line-height: 24px;
  position: relative;
  margin-bottom: 7px;
  padding: 18px 80px 18px 25px;
  cursor: pointer;
  color: #ffffff;
  border-radius: 10px;
  background-color: #cccccc;
}

.book__group2 .book__group-head {
  padding: 10px 80px 10px 25px;
  font-size: 19px;
}

.book__group3 .book__group-head {
  padding: 5px 80px 5px 25px;
  font-size: 17px;
}

.book__group-head:before {
  position: absolute;
  top: 50%;
  right: 23px;
  display: block;
  width: 34px;
  height: 34px;
  margin-top: -17px;
  content: '';
  border-radius: 50%;
  background: #dddddd url(assets/img/ico-arrow-btn-more.svg) center center/10px 6px no-repeat;
}

.book__group2 .book__group-head:before {
  width: 30px;
  height: 30px;
  margin-top: -15px;
}

.book__group3 .book__group-head:before {
  width: 28px;
  height: 28px;
  margin-top: -14px;
}

.book__group_open > .book__group-head:before {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.book__group_num >.book__group-head {
  background-color: #6e9a44;
}

.book__group_num > .book__group-head:before {
  background-color: #81b153;
}

.book__group_page > .book__group-head {
  background-color: #edab70;
}

.book__group_page > .book__group-head:before {
  background-color: #dd9a5e;
}

.book__group-body {
  display: none;
  margin-right: -7px;
  padding-top: 13px;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}


.book__group_open > .book__group-body {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.book__group_open > .book__group-body2 {
  display: block;
  margin-right: 0;
}

.book__group_open > .book__group-body3 {
  display: block;
  margin-right: 0;
}

.book__group-item {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  margin-right: 7px;
  margin-bottom: 7px;
}

.book__group_page .book__group-item {
  margin-right: 30px;
  margin-bottom: 12px;
}

.book__group-body a {
  font-size: 17px;
  font-weight: 400;
  line-height: 20px;
  display: block;
  min-width: 59px;
  padding: 6px 8px;
  text-align: center;
  text-decoration: none;
  color: #222222;
  border: 3px solid transparent;
  border-radius: 10px;
  background-color: #ebebeb;
  text-decoration: none;
}

.book__group-body a  {
  margin-right: 7px;
  margin-bottom: 7px;
}

.book__group-body a:hover {
  color: #222222;
  border-color: #dcdcdc;
  background-color: #ffffff;
}

.book__group-body a {
  text-decoration: none;
  color: #222222;
}

.book__group-body a:hover {
  /* text-decoration: underline; */
}

.aside-list__item {
  margin-bottom: 40px;
}

.aside-list__item:last-child {
  margin-bottom: 0;
}

.book__group-body2 .book__group {
  margin-left: 30px;
  margin-bottom: 10px;
}

.book__group-body2 .book__group-head {
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 18px;
  margin-bottom: 0;
  /* background: #606060; */
}

/**
* Хлебные крошки
*/

.breadcrumbs {
  font-size: 15px;
  font-weight: 300;
  line-height: 26px;
  margin-bottom: 50px;
  padding: 30px 0 15px 0;
  color: #878787;
  border-bottom: 1px solid #ebebeb;
}

.breadcrumbs__link,  .breadcrumbs a {
  text-decoration: none;
  color: #232323;
}

.breadcrumbs__sep {
  display: inline-block;
  width: 5px;
  height: 10px;
  margin: 8px 10px;
  vertical-align: bottom;
  background: url(assets/img/ico-arrow-bread.svg) 0 0/5px 10px no-repeat;
}

/**
* Answer
*/

.answer {
  margin-bottom: 44px;
  padding: 26px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background-color: #ffffff;
}

.answer__group {
  margin-bottom: 30px;
}

.answer__group:last-child {
  margin-bottom: 0;
}

.answer__title {
  font-family: 'Core Sans C', sans-serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 15px;
  padding-left: 32px;
  color: #222222;
  background-repeat: no-repeat;
  background-position: 0 center;
}

.answer__title_question {
  background-image: url(assets/img/ico-question.svg);
  background-size: 15px 22px;
}

.answer__title_answer {
  background-image: url(assets/img/ico-check.svg);
  background-size: 20px 17px;
}

.answer__desc {
  font-size: 17px;
  font-weight: 400;
  line-height: 25px;
  margin-top: 15px;
  color: #222222;
}

.answer__desc_bg {
  background: url(assets/img/logo_w.png) 0 0 repeat;
}

.answer__img {
  margin-top: 15px;
}

.answer-nav {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.answer-nav__btn {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  position: relative;
  display: block;
  padding-top: 10px;
  padding-bottom: 10px;
  text-decoration: none;
  color: #222222;
}

.answer-nav__btn:before {
  position: absolute;
  top: 0;
  display: block;
  width: 44px;
  height: 44px;
  content: '';
  border: 3px solid #dcdcdc;
  border-radius: 10px;
  background: #ffffff url(assets/img/ico-arrow-pagination.svg) center center/7px 12px no-repeat;
}

.answer-nav__btn_prev {
  padding-left: 64px;
}

.answer-nav__btn_prev:before {
  left: 0;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.answer-nav__btn_next {
  padding-right: 64px;
}

.answer-nav__btn_next:before {
  right: 0;
}

.answer-nav__btn:hover {
  text-decoration: none;
  color: #222222;
}

.answer-nav__btn:hover:before {
  border-color: #ebebeb;
  background-color: #ebebeb;
}

.aside-book__more {
  margin-top: 20px;
}

.aside-book__more-btn {
  font-size: 17px;
  font-weight: 700;
  line-height: 22px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  height: 44px;
  padding: 11px 20px;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  border-radius: 10px;
  background-color: #6e9a44;
  -webkit-align-items: center;
  align-items: center;
  -ms-flex-align: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.aside-book__more-btn:after {
  display: block;
  width: 20px;
  height: 20px;
  margin-left: 10px;
  content: '';
  background: url(assets/img/ico-content-btn.svg) center center/100% auto no-repeat;
}

.aside-book__more-btn:hover {
  color: #ffffff;
  box-shadow: 0 15px 19px 1px rgba(35, 62, 9, 0.15);
}

/**
* Медиазапросы
*/

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 990px;
  }

  .nav__item:first-child .nav__link {
    border-radius: 10px 10px 0 0;
  }

  .nav__item_sub:first-child .nav__link {
    border-radius: 10px 0 0 0;
  }

  .nav__item:last-child .nav__link {
    border-radius: 0 0 10px 10px;
  }

  .nav__item_sub:last-child .nav__link {
    border-radius: 0 0 0 10px;
  }

  .nav__menu > .nav__item > .nav__link:hover {
    color: #ffffff;
    background-color: #6e9a44;
  }

  .nav__menu > .nav__item:hover > .nav__link {
    color: #ffffff;
    background-color: #6e9a44;
  }

  .nav__menu > .nav__item:hover > .nav__link_ico:before {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }

  .nav__item:hover > .nav__sub {
    display: block;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

@media (min-width: 1300px) {
  .container {
    max-width: 1270px;
  }
}

@media (max-width: 1299px) {
  .header__logo {
    margin-right: 60px;
  }

  .nav__group {
    margin-right: 40px;
  }
}

@media (max-width: 1199px) {
  .content__main {
    width: 748px;
    padding-right: 48px;
  }

  .content__aside {
    width: 212px;
  }

  .header__logo {
    margin-right: 30px;
  }

  .nav__group {
    margin-right: 30px;
  }

  .search-form {
    width: 322px;
  }

  .category {
    background-size: 150% auto;
  }

  .category__item {
    width: calc(50% - 32px);
  }

  .category-header {
    background-size: 150% auto;
  }
}

@media (max-width: 991px) {
  .content {
    display: block;
    margin-bottom: 0;
  }

  .content__main {
    width: auto;
    padding-right: 0;
  }

  .content__aside {
    width: auto;
  }

  .header__inner {
    position: relative;
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header__logo {
    width: 110px;
    margin-right: 20px;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 52px 10px;
    background-color: #f3f5d9;
  }

  .header__nav_open {
    display: block;
  }

  .header__search {
    margin-left: 0;
  }

  .header__toggle {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-left: auto;
  }

  .nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #6e9a44 url(assets/img/ico-close.svg) center center/12px 12px no-repeat;
  }

  .nav__group {
    width: 266px;
    margin-right: 15px;
    margin-left: 15px;
  }

  .nav__head {
    width: 100%;
  }

  .nav__head:before {
    display: none;
  }

  .nav__body {
    position: static;
    display: block;
    overflow: hidden;
  }

  .nav__item_sub:before {
    display: none;
  }

  .nav__link:hover {
    color: #6e9a44;
  }

  .nav__menu > .nav__item_sub-open > .nav__link {
    color: #ffffff;
    background-color: #6e9a44;
  }

  .nav__menu > .nav__item_sub-open > .nav__link_ico:before {
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }

  .nav__sub {
    position: static;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav__item_sub-open .nav__sub {
    display: block;
  }

  .nav__sub-toggle {
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    display: block;
    width: 42px;
    height: 42px;
    background: url(assets/img/ico-arrow-menu.svg) center center/9px 5px no-repeat;
  }

  .nav__menu > .nav__item_sub-open > .nav__sub-toggle {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -webkit-filter: brightness(0) invert(1);
    filter: brightness(0) invert(1);
  }

  .overlay {
    display: none;
  }

  .search-form {
    position: absolute;
    top: 10px;
    right: 15px;
    left: 15px;
    display: none;
    width: auto;
  }

  .search-form_open {
    display: block;
  }

  .search-form__control {
    font-size: 15px;
    height: 40px;
    padding-right: 55px;
  }

  .search-form__btn {
    width: 40px;
    height: 40px;
  }

  .search-open {
    display: block;
    width: 38px;
    height: 38px;
    margin-right: 10px;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #6e9a44 url(assets/img/ico-search.svg) center center/18px 18px no-repeat;
  }

  .footer__inner {
    padding-top: 20px;
    padding-bottom: 20px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .footer__copyright {
    width: 100%;
    margin-top: 20px;
    text-align: center;
    -ms-flex-order: 3;
    -webkit-order: 3;
    order: 3;
  }

  .heading {
    font-size: 36px;
  }

  .subheading {
    font-size: 30px;
  }

  .category {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .category__list {
    margin-right: -5px;
    margin-left: -5px;
  }

  .category__item {
    width: calc(50% - 10px);
    margin-right: 5px;
    margin-bottom: 10px;
    margin-left: 5px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .group__item {
    width: 33.333333%;
  }

  .category-header {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .aside-list {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-right: -10px;
    margin-left: -10px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .aside-list__item {
    width: 33.333333%;
    margin-bottom: 20px;
    padding: 0 10px;
  }

  .aside-book {
    max-width: 232px;
    margin-right: auto;
    margin-left: auto;
  }
}

@media (max-width: 767px) {
  .footer__inner {
    flex-direction: column;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
  }

  .footer__nav {
    margin: 20px 0;
  }

  .footer__desc {
    font-size: 14px;
    line-height: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
    text-align: center;
  }

  .heading {
    font-size: 32px;
  }

  .subheading {
    font-size: 26px;
    margin-bottom: 25px;
  }

  .article blockquote {
    padding-top: 130px;
    padding-left: 30px;
    background-position: center 27px;
  }

  .article h1 {
    font-size: 32px;
  }

  .article h2 {
    font-size: 28px;
  }

  .article h3 {
    font-size: 24px;
  }

  .article h4 {
    font-size: 20px;
  }

  .article h5 {
    font-size: 18px;
  }

  .article h6 {
    font-size: 16px;
  }

  .category {
    margin-bottom: 40px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .category__list {
    margin-right: 0;
    margin-left: 0;
  }

  .category__item {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .group__all {
    font-size: 17px;
  }

  .group__item {
    width: 50%;
    margin-bottom: 20px;
  }

  .group__nav {
    margin-right: -10px;
  }

  .group__nav-item {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .group__nav-link {
    padding-right: 16px;
    padding-left: 16px;
  }

  .category-header {
    padding-top: 30px;
    padding-bottom: 10px;
  }

  .category-header__head {
    margin-bottom: 30px;
  }

  .category-desc {
    padding: 40px 0;
  }

  .content-nav {
    padding-bottom: 45px;
    padding-left: 25px;
  }

  .content-nav__item {
    font-size: 23px;
  }

  .content-nav__sub {
    padding-left: 25px;
  }

  .content-nav__sub-item {
    font-size: 18px;
  }

  .aside-list__item {
    width: 50%;
    margin-bottom: 20px;
  }

  .breadcrumbs {
    margin-bottom: 40px;
    padding-top: 15px;
  }

  .answer {
    margin-bottom: 30px;
    padding: 25px 15px;
  }

  .answer__title {
    font-size: 20px;
  }

  .answer-nav__btn {
    font-size: 0;
    width: 44px;
    height: 44px;
    padding: 0;
  }
}

@media (max-width: 640px) {
  .nav {
    display: block;
  }

  .nav__group {
    width: 100%;
    margin-right: 0;
    margin-bottom: 30px;
    margin-left: 0;
  }

  .nav__group:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 425px) {
  .heading {
    font-size: 28px;
  }

  .subheading {
    font-size: 24px;
  }

  .article {
    font-size: 16px;
    line-height: 25px;
  }

  .article p {
    margin-bottom: 25px;
  }

  .article blockquote {
    padding-right: 15px;
    padding-left: 15px;
  }

  .article h1 {
    font-size: 28px;
  }

  .article h2 {
    font-size: 26px;
  }

  .article h3 {
    font-size: 24px;
  }

  .article h4 {
    font-size: 22px;
  }

  .article ol {
    padding-left: 15px;
  }

  .article ul {
    padding-left: 0;
  }

  .category__ico {
    -webkit-flex: 0 0 64px;
    -ms-flex: 0 0 64px;
    flex: 0 0 64px;
  }

  .category__title {
    font-size: 23px;
    line-height: 26px;
  }

  .category__body {
    margin-right: -10px;
  }

  .category__unit {
    margin-right: 10px;
    margin-bottom: 10px;
  }

  .category__link {
    font-size: 15px;
    padding-right: 10px;
    padding-left: 10px;
  }

  .group__all-link span {
    display: none;
  }

  .group__body {
    margin-right: -5px;
    margin-left: -5px;
  }

  .group__item {
    margin-bottom: 15px;
    padding: 0 5px;
  }

  .group__nav-link {
    font-size: 15px;
    line-height: 20px;
    padding-bottom: 10px;
    padding-left: 10px;
  }

  .book-item__link {
    padding: 6px;
  }

  .book-item__name {
    font-size: 16px;
    line-height: 20px;
  }

  .book-item__author {
    font-size: 15px;
    line-height: 20px;
  }

  .category-header__ico {
    margin-right: 20px;
    -webkit-flex: 0 0 64px;
    -ms-flex: 0 0 64px;
    flex: 0 0 64px;
  }

  .category-desc {
    padding: 30px 0;
  }

  .content-nav {
    padding-bottom: 25px;
  }

  .content-nav__item {
    font-size: 20px;
  }

  .content-nav__sub {
    padding-left: 15px;
  }

  .content-nav__sub-item {
    font-size: 17px;
  }

  .book__main {
    display: block;
  }

  .book__img {
    width: 100%;
    max-width: 236px;
    margin-right: auto;
    margin-bottom: 30px;
    margin-left: auto;
  }

  .book__inner {
    width: auto;
    padding-left: 0;
  }

  .book__title {
    font-size: 20px;
    line-height: 24px;
  }

  .book__group-head {
    font-size: 18px;
    padding-top: 15px;
    padding-right: 60px;
    padding-bottom: 15px;
    padding-left: 15px;
  }

  .book__group-head:before {
    right: 15px;
  }

  .aside-list {
    margin-right: -5px;
    margin-left: -5px;
  }

  .aside-list__item {
    margin-bottom: 15px;
    padding: 0 5px;
  }

  .breadcrumbs {
    margin-bottom: 30px;
  }
}

@media (max-width: 375px) {
  .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .search-form {
    right: 10px;
    left: 10px;
  }
}

@media (max-width: 2400px) {

}
@media (max-width: 992px) {}
@media (max-width: 767px) {}
@media (max-width: 576px) {}


/* =WordPress Core
-------------------------------------------------------------- */
article .alignnone {
  margin: 5px 20px 20px 0;
}

article .aligncenter,
article div.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

article .alignright {
  float:right;
  margin: 5px 0 20px 20px;
}

article .alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

article a img.alignright {
  float: right;
  margin: 5px 0 20px 20px;
}

article a img.alignnone {
  margin: 5px 20px 20px 0;
}

article a img.alignleft {
  float: left;
  margin: 5px 20px 20px 0;
}

article a img.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

article .wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%; /* Image does not overflow the content area */
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption.alignnone {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
  margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
  margin: 5px 0 20px 20px;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
border: 0;
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute !important;
width: 1px;
word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
background-color: #eee;
clip: auto !important;
clip-path: none;
color: #444;
display: block;
font-size: 1em;
height: auto;
left: 5px;
line-height: normal;
padding: 15px 23px 14px;
text-decoration: none;
top: 5px;
width: auto;
z-index: 100000;
/* Above WP toolbar. */
}

.gallery:after {content:"";display:table;clear:both;}

article img.aligncenter, article div.aligncenter, article figure.aligncenter, article img.wp-post-image {display:block; margin:1em auto;}
article img.alignright, article div.alignright, article figure.alignright {float:right; margin:1em 0 1em 2em;}
article img.alignleft, article div.alignleft, article figure.alignleft, article img.wp-post-image.attachment-thumb {float:left; margin:1em 1em 2em 0;}
article figure {max-width: 100%; height: auto; margin:1em 0;}
article p img.alignright, article p img.alignleft {margin-top:0;}


.gallery figure img {max-width:100%; height:auto; margin:0 auto; display:block;}


.gallery figure {float:left; margin:0 2% 1em 0;}


.gallery.gallery-columns-1 figure {width:100%; margin:0 0 1em 0; float:none;}


.gallery.gallery-columns-3 figure {width:32%;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+3) {margin-right:0;}
.gallery.gallery-columns-3 figure:nth-of-type(3n+4) {clear:left;}


.gallery.gallery-columns-2 figure {width:49%;}
.gallery.gallery-columns-2 figure:nth-of-type(even) {margin-right:0;}
.gallery.gallery-columns-2 figure:nth-of-type(odd) {clear:left;}


.gallery.gallery-columns-4 figure {width:23.25%;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+4) {margin-right:0;}
.gallery.gallery-columns-4 figure:nth-of-type(4n+5) {clear:left;}


.gallery.gallery-columns-5 figure {width:18%;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+5) {margin-right:0;}
.gallery.gallery-columns-5 figure:nth-of-type(5n+6) {clear:left;}


.gallery.gallery-columns-6 figure {width:14.2%;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+6) {margin-right:0;}
.gallery.gallery-columns-6 figure:nth-of-type(6n+7) {clear:left;}


.gallery.gallery-columns-7 figure {width:12%;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+7) {margin-right:0;}
.gallery.gallery-columns-7 figure:nth-of-type(7n+8) {clear:left;}


.gallery.gallery-columns-8 figure {width:10.2%;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+8) {margin-right:0;}
.gallery.gallery-columns-8 figure:nth-of-type(8n+9) {clear:left;}


.gallery.gallery-columns-9 figure {width:8.85%;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+9) {margin-right:0;}
.gallery.gallery-columns-9 figure:nth-of-type(9n+10) {clear:left;}


@media (max-width:767px) {
	img.alignright, div.alignright, figure.alignright, img.alignleft, div.alignleft, figure.alignleft, img.wp-post-image.attachment-thumb {display:block; margin:1em auto; float:none;}
	.gallery.gallery-columns-4 figure, .gallery.gallery-columns-5 figure, .gallery.gallery-columns-6 figure, .gallery.gallery-columns-7 figure, .gallery.gallery-columns-8 figure, .gallery.gallery-columns-9 figure {width:100%; margin:0 0 1em 0; float:none;}
}

.size-auto, 
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
} 

#wpadminbar {
  z-index: 99988;
  opacity: 0.8;
}

.green {
text-decoration: underline;
text-decoration-color: green;
}

.red {
text-decoration: underline;
text-decoration-color: red;
}

.underline { background: none; text-decoration: underline blue; }
.pristavka2 { background-image: url('/wp-content/themes/urok/img/pristavka2.svg'); background-position: 0 -5px; background-size: 100% 100%; display: inline-block !important; padding: 1px 0; }
.koren { background-image: url('/wp-content/themes/urok/img/koren.svg'); background-size: 100% 100%; display: inline-block; padding: 3px 0 0; }
.suffiks { background-image: url('/wp-content/themes/urok/img/suffiks.svg'); background-size: 100% 100%; display: inline-block; padding: 3px 0 0; }
.custom1 { border: 1px solid blue; display: inline-block !important; line-height: 15px; padding-left: 1px; padding-right: 1px; }
.pristavka3 { background-image: url('/wp-content/themes/urok/img/pristavka3.svg'); background-position: 0 -5px; background-size: 100% 100%; display: inline-block !important; padding: 1px 0; }
.pristavka1 { background-image: url('/wp-content/themes/urok/img/pristavka1.svg'); background-size: 100% 100%; display: inline-block !important; padding: 1px 0; }
.pristavka4 { background-image: url('/wp-content/themes/urok/img/pristavka4.svg'); background-position: 0 -5px; background-size: 100% 100%; display: inline-block !important; padding: 1px 0; }
.underline2 { background: none; text-decoration: underline double blue; }
.custom2 { max-width: 100%; overflow-x: auto; }
.custom3 { border-collapse: collapse; font-family: system-ui, arial, sans-serif; min-width: 600px; width: 100%; }
.custom4 { border: 1px solid #000; padding: 8px; }
.dotdashed { -webkit-box-decoration-break: clone; background-clip: content-box; background-image: linear-gradient(to right,blue 0 0.28em,transparent 0.28em 100%),radial-gradient(circle at 0.49em 50%,blue 0 0.05em,transparent 0.055em); background-origin: content-box; background-position: 0 bottom,0 bottom; background-repeat: repeat-x,repeat-x; background-size: 0.7em 0.10em,0.7em 0.10em; box-decoration-break: clone; display: inline-block!important; padding: 0 0 0.14em; text-decoration: none; }
.custom6 { border: 1px solid blue; display: inline-block !important; padding-left: 1px; padding-right: 1px; }
.underlineWavy { text-decoration: underline wavy blue; }
.underlineDashed { text-decoration: underline dashed blue; }
.custom7 { border: 1px solid #000; padding: 8px; text-align: center; }
.custom8 { border: 1px solid #000; padding: 20px 8px; }
.custom9 { border: 1px solid blue; }
.custom10 { border: 1px solid blue; padding-left: 1px; padding-right: 1px; }
.custom11 { border: 1px solid blue; display: inline-block!important; line-height: 15px; padding: 0 1px; }
.custom12 { border: 1px solid blue; display: inline-block!important; line-height: 15px; padding-left: 1px; padding-right: 1px; }
.custom13 { border: 1px solid blue; display: inline-block; line-height: 15px; padding: 0 2px; }
.custom14 { border: 1px solid #000; color: #6a2ea6; padding: 10px; text-align: center; }
.custom15 { font-style: italic; }
.custom16 { border: 1px solid #000; padding: 10px; }
.custom17 { border: 1px solid blue; display: inline-block !important; line-height: 15px; padding: 0 1px; }
.custom18 { font-family: inherit; margin: 0; white-space: pre-wrap; }
.custom19 { margin: 0; }
.custom20 { margin-top: 0; }
.custom21 { text-align: center; }
.custom22 { border-collapse: collapse; font-family: 'times new roman', serif; font-size: 20px; width: 100%; }
.custom23 { color: #6a2ea6; font-size: 22px; font-weight: bold; }
.custom24 { border: 1px solid #000; padding: 10px; text-align: center; }
.custom25 { border: 1px solid #000; padding: 12px 14px; vertical-align: top; }
.custom26 { color: #4aa10a; }
.relation {
    position: relative;
    display: inline-block;
    padding-top: 30px;
    white-space: nowrap;
    vertical-align: baseline;
}

.relation-question {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 16px;
}

.relation-arrow {
    position: absolute;
    left: 0;
    top: 13px;
    width: 100%;
    height: 23px;
    overflow: visible;
    pointer-events: none;
}

.relation-arrow path {
    fill: none;
    stroke: #7196ad;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
</style>
<style>

/* 1) Подчёркивание: вложенные span наследуют декор, если своего нет */
span[style*="text-decoration"] span:not([style*="text-decoration"]) {
  text-decoration: inherit !important;
  text-decoration-color: inherit;
  text-decoration-style: inherit;
  text-decoration-thickness: inherit;
  text-underline-offset: inherit;
  text-decoration-skip-ink: auto;
  background-color: transparent; /* не перекрывает фон */
}

/* 2) Фон/«подложка»: вложенные span наследуют фон и отступы,
      если у них нет своего background */
span[style*="background-image"] span:not([style*="background"], [style*="background-image"]),
span[style*="background:"]       span:not([style*="background"], [style*="background-image"]),
span[style*="url("]              span:not([style*="background"], [style*="background-image"]) {
  background: inherit !important;          /* включая image/position/repeat/size */
  background-image: inherit !important;    /* дублируем на случай разных движков */
  background-size: inherit !important;
  background-repeat: inherit !important;
  background-position: inherit !important;

  padding: inherit !important;
  display: inherit !important;             /* сохранит inline-block у потомков;
                                              если не нужно — удалите эту строку */
}

/* 3) Красивый разрыв фона, если кусок переносится на новую строку */
span[style*="background"] {
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.ending {
    display: inline-block;
    border: 1px solid #000;
    padding: 0 2px;
    margin: 0 1px;
  }

.mainword {
    display: inline-block;
    position: relative;
    margin: 0 3px;
  }
  
.mainword sup {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
    line-height: 1;
  }
  
.line {
    font-family: "Times New Roman", serif;
    font-size: 20px;
    line-height: 2;
    margin: 0 0 18px;
    white-space: nowrap; /* всё в строку */
  }
  .group-zad {
    position: relative;
    display: inline-flex;
    align-items: flex-start;
    margin: 0 4px;
  }
  .main {
    position: relative;
    margin-right: .35em; /* пробел после главного слова */
  }
  .x {
    position: absolute;
    top: -0.52em; /* X ниже */
    left: 50%;
    transform: translateX(-50%);
    font-size: .8em;
  }
  .brace {
    position: absolute;
    top: -0.50em; /* скобка ещё ниже, близко к слову */
    left: 0;
    width: 100%;
    height: .62em;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #000;
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
  }
  .q {
    position: absolute;
    top: -0.88em; /* ближе к дуге */
    left: 50%;
    transform: translateX(-50%);
    font-style: italic;
    font-size: .9em;
    white-space: nowrap;
  }
  .nblock {
  display: inline-block;
  }
  .bold {
  font-weight: bold;
  }
  
  @media (max-width: 640px) {
    .line { white-space: normal; }           /* разрешаем перенос внутри p на мобилке */
    .group-zad{
      display: inline-block;                 /* не рвём группу посередине */
      padding-top: 0.9em;                    /* запас над группой под скобку/вопрос */
      margin-right: 2px;                     /* мелкий зазор после группы */
      white-space: nowrap;                   /* внутри группы слова не рвём */
      vertical-align: baseline;
    }
    .brace{
      top: 0.05em;                           /* скобка теперь в «подушке» padding-top */
      height: 0.62em;
    }
    .q{
      top: -0.30em;                          /* подпись чуть над скобкой, но в пределах padding */
      font-size: .88em;
    }
    .main{ margin-right: .4em; }             /* сохраняем видимый пробел после главного слова */
    .x{ top: -0.50em; }                      /* X чуть ниже, ближе к слову */
  }
