/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');


/* Reset */

* {
    padding: 0;
    margin: 0;
}

*, *:before, *:after {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

:focus, :active, a:focus, a:active {
    outline: none;
}

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

html, body {
    height: 100%;
    width: 100%;
    font-size: 100%;
    line-height: 1;
    -webkit-text-size-adjust: none
}

input, button, textarea, select {
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input:invalid {
    box-shadow: none;
}

input::-ms-clear {
    display: none;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

button, .button, input[type="button"], input[type=submit] {
    cursor: pointer;
}

button[disabled], input[disabled] {
    cursor: default;
}

a, a:hover, a:visited {
    text-decoration: none;
}

img {
    vertical-align: top;
}

h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

ol {
    counter-reset: myCounter;
}

ol li:before {
    counter-increment: myCounter;
    content: counter(myCounter);
    margin-right: 5px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

th {
    font-weight: inherit;
}

.text {
    font-size: 21px;
    line-height: 36px;
    color: #464A53;
}

.text > * {
    margin: 25px 0;
}

.text > *:first-child {
    margin-top: 0;
}

.text > *:last-child {
    margin-bottom: 0;
}

.text > ul {
    list-style: disc;
}

.text > ul,
.text > ol li {
    margin-left: 10px;
    padding-left: 25px;
}

.text > ol > li {
    position: relative;
}

.text > ol > li:before {
    position: absolute;
    left: 0;
}

/* position:fixed блокирует скролл в iOS, чтобы бургер не уезжал, но если меню будет прилипшее к верху, то fixed нужно убрать */
.scroll_disable {
    overflow: hidden;
    position: fixed;
}


/* Global */

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    color: #222428;
    letter-spacing: -0.02em;
    line-height: 24px;
    background: #ffffff;
    overflow-x: hidden;
}

.page {
    overflow: hidden;
    position: relative;
}

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 30px;
    padding-bottom: 160px;
}

.title {
    font-weight: 800;
    font-size: 52px;
    line-height: 66px;
    letter-spacing: -0.04em;
    padding-bottom: 25px;
}

.logo {
    position: relative;
    padding-right: 14px;
}

.mobile-menu {
    display: none;
    position: relative;
}

.button {
    font-weight: bold;
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    background: linear-gradient(183.52deg, #00DFA8 6.33%, #00B98B 93.67%);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 16px 56px rgba(12, 211, 119, 0.12);
    border-radius: 100px;
    border: none;
    padding: 25px 40px;
    display: inline-block;
    text-align: center;
    transition: filter 0.3s;
}

.button_medium {
    padding: 20px 32px;
}

.button_small {
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.button:hover {
    filter: brightness(110%);
}

.button:active {
    background: #00a77d;
}

.photo {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

.list {
    padding-bottom: 16px;
}

.list li {
    font-size: 14px;
    line-height: 24px;
    padding-bottom: 16px;
    padding-left: 40px;
    position: relative;
}

.list li:before {
    content: '';
    display: block;
    position: absolute;
    left: 5px;
    top: 6px;
    width: 17px;
    height: 13px;
    background: url(img/li.svg) center no-repeat;
}


/* Slider global */

.slider {
    width: 100%;
    position: relative;
}

.slick-list {
    overflow: hidden;
}

.slick-track {
    display: flex;
}

.slick-arrow {
    font-size: 0;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 30px;
    height: 35px;
    cursor: pointer;
    border: none;
    z-index: 10;
}

.slick-prev {
    background: transparent url(img/arrow-prev.svg) center no-repeat;
    left: -70px;
}

.slick-prev:hover {
    background: transparent url(img/arrow-prev_green.svg) center no-repeat;
}

.slick-next {
    background: transparent url(img/arrow-next.svg) center no-repeat;
    right: -70px;
}

.slick-next:hover {
    background: transparent url(img/arrow-next_green.svg) center no-repeat;
}

.slick-dots {
    display: flex;
    align-items: center;
    position: absolute;
    width: auto;
    left: 46px;
    bottom: 160px;
}

.slick-dots li {
    background: #ffffff;
    width: 4px;
    height: 4px;
    margin: 10px;
    border-radius: 50%;
    cursor: pointer;
}

.slick-dots li.slick-active {
    height: 18px;
    width: 18px;
    background: none;
}

.slick-dots li button {
    font-size: 0;
    border: none;
    display: none;
}

.slider-nav__item {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-right: 40px;
    padding-bottom: 10px;
    cursor: pointer;
}

.slider-nav__item.slick-current {
    border-bottom: 3px solid #00C695;

}

/* fix бага, иногда убегают вкладки */
@media screen and (min-width: 480px) {
    .slider-nav .slick-track {
        transform: translate3d(0px, 0px, 0px) !important;
    }
}

.slider-nav {
    padding-bottom: 30px;
}

.slider-content {
    margin: -25px -5px 0 -5px;
    width: calc(100% + 10px);
}

.slider-content__item {
    margin: 25px 5px;
}

.best__container {
    position: relative;
}

.progressbar {
    width: 18px;
    height: 18px;
}

.circle__bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 12;
    stroke-linecap: butt;
}

.circle__go {
    fill: none;
    stroke: #ffffff;
    stroke-width: 12;
    stroke-linecap: butt;
}

.slick-dots li .progressbar {
    display: none;
}

.slick-dots li.slick-active .progressbar {
    display: block;
}


/* Header */

.header {
    border-bottom: 1px solid #F0F1F4;
}

.header__container {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}

.header_main {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    border: none;
}

.header_main .header__container {
    height: 148px;
    max-width: 1490px;
}

.header__subnav {
    display: flex;
    align-items: center;
}

.header__buttons {
    display: flex;
    align-items: center;
}

.header__button {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header__button-icon {
    margin-right: 9px;
}

.header__button-count {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: #FDD563;
    border-radius: 4px;
    padding: 2px 6px;
}

.header_main .header__button-icon {
    margin-right: 13px;
}

.header_main .header__button {
    color: #FFFFFF;
}

.header_main .header__button:hover {
    color: #08D6A2;
}


/* Menu */

.menu__item {
    display: inline;
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #222428;
    padding: 0 15px;
    transition: 0.3s;
}

.menu__item:hover,
.menu__item.current-menu-item {
    color: #08D6A2;
}

.header_main .menu__item {
    color: #FFFFFF;
}

.header_main .menu__item:hover,
.header_main .menu__item.current-menu-item {
    color: #08D6A2;
}

.menu__before, .menu__after {
    padding: 10px 0;
    display: none;
}

.menu__item > a {
    color: inherit;
}


/* Submenu */

.header__submenu {
    position: relative;
    cursor: pointer;
}

.header__submenu-list {
    display: none;
    background: #ffffff;
    border-radius: 16px;
    position: absolute;
    top: 70px;
    right: 0;
    padding: 30px 35px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 8px rgba(0, 0, 0, 0.02), 0px 0px 16px rgba(0, 0, 0, 0.02), 0px 0px 40px rgba(0, 0, 0, 0.01);
    z-index: 10;
}

.header__submenu-item {
    display: block;
    font-weight: normal;
    font-size: 18px;
    line-height: 30px;
    color: #222428;
    white-space: nowrap;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.header__submenu-icon {
    fill: #B9BCC3;
    transition: 0.3s;
    margin-right: 18px;
}

.header__submenu-item:hover .header__submenu-icon {
    fill: #00C695;
}

.header__submenu .burger {
    width: 20px;
    height: 14px;
    margin-left: 8px;
}

.header__submenu .burger__lines {
    background: #222428;
    height: 2px;
    position: absolute;
    width: 100%;
}

.header_main .header__submenu {
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 100px;
    padding: 11px 23px;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.header_main .header__submenu-text {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #ffffff;
    transition: 0.3s;
}

.header_main .header__submenu .burger {
    margin-left: 18px;
}

.header_main .header__submenu .burger__lines {
    background: #fff;
}

.header_main .header__submenu_active {
    background: #FDD563;
    border: 1px solid #FDD563;
}

.header_main .header__submenu_active .header__submenu-text {
    color: #222428;
}

.header_main .header__submenu_active .burger__lines {
    background: #222428;
}


/* Burger */

.mobile-menu {
    border: 1px solid #F0F1F4;
    border-radius: 4px;
    padding: 9px;
    margin-left: 6px;
}

.burger {
    width: 21px;
    height: 16px;
    position: relative;
}

.burger__lines {
    background: #222428;
    height: 2px;
    position: absolute;
    width: 100%;
}

.burger__lines_1 {
    top: 0;
}

.burger__lines_2 {
    top: 50%;
    transform: translateY(-50%);
}

.burger__lines_3 {
    bottom: 0;
}


/* Burger animation */

.burger__lines {
    transition-duration: 0.2s;
    transition-property: transform, top, bottom, opacity;
    transition-delay: 0s, 0.1s, 0.1s, 0s;
}

.burger_close .burger__lines {
    transition-duration: 0.2s;
    transition-property: transform, top, bottom, opacity, width, margin;
    transition-delay: 0.1s, 0s, 0s, 0s, 0.1s, 0.1s;
}

.burger_close .burger__lines_1 {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 100%;
    margin: 0;
}

.burger_close .burger__lines_2 {
    opacity: 0;
}

.burger_close .burger__lines_3 {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    width: 100%;
    margin: 0;
}


/* Main */

.main {
    background: url(img/main-bg.jpg) top center no-repeat;
    height: 856px;
}

.main__container {
    display: flex;
}

.main__content {
    max-width: 700px;
    padding-top: 170px;
}

.main__title {
    font-weight: 800;
    font-size: 64px;
    line-height: 74px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    padding-bottom: 25px;
}

.main__title span {
    white-space: nowrap;
}

.main__text {
    font-size: 24px;
    line-height: 44px;
    letter-spacing: -0.04em;
    color: #B9BCC3;
    padding-bottom: 50px;
}

.main__image {
    margin-top: 145px;
}


/* Statistic */

.statistic__container {
    display: flex;
    justify-content: space-between;
    padding-right: 465px;
    padding-bottom: 125px;
    position: relative;
}

.statistic__container:after {
    content: '';
    display: block;
    width: 775px;
    height: 430px;
    position: absolute;
    background: url(img/statistic-bg.svg) top right no-repeat;
    top: 25px;
    left: -350px;
    z-index: -1;
}

.statistic__icon {
    padding-bottom: 25px;
}

.statistic__value {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
}

.statistic__text {
    font-size: 16px;
    line-height: 28px;
    color: #757C8A;
}


/* Events */

.events {
    margin-bottom: -25px;
}

.events__slider-content-item {
    height: 100%;
}

.events-list {
    display: flex;
    justify-content: space-between;
}

.event-card {
    width: 260px;
    border-radius: 8px;
    position: relative;
    perspective: 1000px;
}

.catalouge__list .event-card,
.slider-content .event-card {
    height: 395px;
}

.event-card__front, .event-card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    transition: 1s;
    backface-visibility: hidden;
}

.event-card__front {
    background: #ffffff;
    /* opacity: 1; */
}

.event-card__back {
    transform: rotateY(180deg);
    /* opacity: 0; */
}

.event-card:hover .event-card__front {
    transform: rotateY(180deg);
}

.event-card:hover .event-card__back {
    transform: rotateY(360deg);
}

.event-card__photo {
	position: relative;
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.event-card__photo:before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 1;
}

.event-card__photo >*:not(.event-card__image) {
	z-index: 2;
}

.event-card__image {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    border-radius: 8px 8px 8px 10px;
}

.event-card__sticker {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-block;
    font-weight: bold;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #FDD563;
    border-radius: 100px;
    padding: 8px 16px;
}

.event-card__category {
    position: absolute;
    bottom: 0;
    left: 0;
    font-weight: bold;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #ffffff;
    padding: 8px 12px 8px 28px;
    border-radius: 0 8px;
}

.event-card__category:before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: #00C695;
    border-radius: 100px;
    position: absolute;
    left: 12px;
    top: 12px;
}

.event-card__title {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    color: #222428;
    padding: 25px 0;
}

.author {
    display: flex;
    align-items: center;
}

.author__avatar {
    margin-right: 16px;
}

.author__avatar img {
    object-fit: cover;
    width: 52px;
    height: 52px;
    border-radius: 100%;
}

.author__name {
    font-size: 14px;
}

.event-card__author {
    padding-bottom: 55px;
}

.event-card__price {
    font-size: 14px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.event-card__price .dot {
    padding: 0 2px;
}

.event-card__back {
    width: 100%;
    height: 100%;
    padding: 24px;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 8px rgba(0, 0, 0, 0.02), 0px 0px 16px rgba(0, 0, 0, 0.02), 0px 0px 40px rgba(0, 0, 0, 0.01);
}

.event-card__back .event-card__title {
    padding: 0 0 12px;
}

.event-card__more-info {
    display: flex;
    align-items: center;
    padding-bottom: 16px;
}

.rating {
    height: 32px;
    min-width: 32px;
    background: #FDD563;
    border-radius: 8px;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #222428;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
}

.event-card__rating {
    margin-right: 16px;
}

.event-card__reviews {
    font-size: 14px;
    color: #464A53;
}

.event-card__more-text {
    font-size: 14px;
    color: #464A53;
    height: 145px;
    overflow: hidden;
    transition: 0.5s;
}

.event-card__button {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #222428;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.1);
    background: #FDD563;
    border-radius: 100px;
    padding: 14px;
    text-align: center;
    display: block;
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    transition: 0.3s;
}

.event-card__button:hover {
    filter: brightness(110%);
}

.event-card_big {
    width: 560px;
}

.event-card_big .event-card__photo {
    width: 100%;
    height: 346px;
}

.event-card_big .event-card__photo .event-card__image {
    transition: 1.3s;
    border-radius: 8px;
}

.event-card_big .event-card__photo:hover .event-card__image {
    transform: scale(1.1);
}

@media (pointer: coarse) {
    .event-card_big .event-card__photo:hover .event-card__image {
        transform: scale(1);
    }
}

.event-card_big .event-card__sticker {
    top: 32px;
    left: 32px;
}

.event-card_big .event-card__title {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 80px;
    padding: 0;
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.24);
}

.event-card_big .event-card__title:hover {
    text-decoration: underline;
}

.event-card__info {
    display: flex;
    align-items: center;
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
}

.event-card_big .event-card__category,
.event-card_big .event-card__price {
    position: static;
    background: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    padding-top: 0;
    padding-bottom: 0;
}

.event-card_big .event-card__category {
    padding-left: 16px;
    padding-right: 6px;
}

.event-card_big .event-card__category:before {
    left: 0;
    top: 8px;
}

.event-card_big .event-card__price .dot {
    color: #464A53;
    padding: 0 8px;
}

.event-card_big .event-card__author,
.event-card_big .event-card__more-info {
    padding-bottom: 0;
    margin-right: 32px;
}

.event-card__footer {
    display: flex;
    align-items: center;
    padding: 16px 32px 0;
}


/* Category */

.category {
    position: relative;
}

.category:after {
    content: '';
    display: block;
    background: #F9F9FB;
    position: absolute;
    height: 1200px;
    width: 100%;
    top: 100px;
    left: 0;
    transform: skewY(-3deg);
    z-index: -1;
}

.category__title {
    padding-bottom: 40px;
}

.category__content {
    background: #ffffff;
    box-shadow: 0px 0px 64px rgba(34, 36, 40, 0.06);
    border-radius: 8px;
    padding: 64px;
    height: 874px;
}

.tabs {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.tabs__nav {
    width: 36%;
    max-height: 640px;
    overflow-y: scroll;
}

.tabs__container {
    width: 58%;
    max-height: 640px;
    overflow-y: auto;
    width: 60.5%;
    max-height: 660px;
    margin-right: -30px;
}

.tabs__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    font-size: 16px;
    line-height: 28px;
    color: #222428;
    border-radius: 8px;
    padding-right: 20px;
    transition: 0.3s;
}

.tabs__icon {
    width: 66px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tabs__link-text {
    flex: 1;
}

.tabs__count {
    font-weight: bold;
    font-size: 10px;
    line-height: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #EDF1F7;
    border-radius: 4px;
    padding: 4px 9px;
    transition: 0.3s;
}

.tabs__link:hover, .tabs__link_active {
    background: #F7F9FC;
}

.tabs__link:hover .tabs__count, .tabs__link_active .tabs__count {
    background: #FDD563;
}

.category__course-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.category__course {
    max-width: 290px;
    height: 200px;
    position: relative;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
}

.category__course-photo {
    width: 100%;
    height: 100%;
}

.category__course-photo:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(179.71deg, rgba(9, 20, 42, 0) 50.74%, rgba(9, 20, 42, 0.36) 64.22%, rgba(9, 20, 42, 0.7) 99.64%);
    border-radius: 0 0 8px 8px;
}

.category__course img {
    border-radius: 8px;
    transition: 1.3s;
}

.category__course:hover img {
    transform: scale(1.1);
}

@media (pointer: coarse) {
    .category__course:hover img {
        transform: scale(1);
    }
}

.category__course-title {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.32);
    position: absolute;
    bottom: 46px;
    left: 24px;
}

.category__course-title:hover {
    text-decoration: underline;
}

.category__course-count {
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.7;
    position: absolute;
    bottom: 20px;
    left: 24px;
}


/* Next events */

.nextevents__all {
    text-align: center;
    padding-top: 38px;
}


/* About */

.about__title {
    padding-bottom: 64px;
}

.about__item {
    display: flex;
    align-items: center;
}

.about__image {
    width: 52%;
    position: relative;
}

.about__image img {
    max-width: 100%;
    max-height: 100%;
}

.about__content {
    width: 48%;
}

.about__content--full {
    width: 100%;
}

.about__item:nth-child(2n) .about__image {
    left: -140px;
}

.about__item:nth-child(2n+1) .about__content {
    order: 1;
}

.about__item:nth-child(2n+1) .about__image {
    order: 2;
    right: -100px;
}

.about__subtitle {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    padding-bottom: 24px;
}

.about__text {
    font-size: 21px;
    line-height: 36px;
    color: #464A53;
    padding-bottom: 40px;
}

.about__link {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    color: #00C695;
}

.about__link:after {
    content: '';
    display: inline-block;
    background: url(img/arrow-link.svg) left bottom no-repeat;
    width: 19px;
    height: 18px;
    margin-left: 19px;
    margin-bottom: -2px;
}

.about__link:hover {
    text-decoration: underline;
}


/* Interesting */

.interesting__container {
    position: relative;
}

.page_main .interesting {
    margin-bottom: -96px;
}

.page_main .interesting__container:after {
    content: '';
    display: block;
    width: 775px;
    height: 430px;
    position: absolute;
    background: url(img/statistic-bg.svg) top right no-repeat;
    top: -64px;
    left: -216px;
    z-index: -1;
}

.interesting__title {
    padding-bottom: 40px;
}

.interesting__list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-bottom: 56px;
}

.interesting__item {
    max-width: 360px;
    height: 716px;
    background: #FFFFFF;
    box-shadow: 0px 0px 64px rgba(34, 36, 40, 0.06);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 40px;
}

.interesting__photo {
    width: 100%;
    height: 200px;
    margin-bottom: 24px;
}

.interesting__subtitle {
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    padding: 0 24px;
}

.interesting__course-list {
    padding: 24px;
}

.interesting__course-link {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.interesting__course-link:hover .interesting__text {
    color: #00C695;
}

.interesting__prewiev {
    width: 80px;
    height: 48px;
    margin-right: 16px;
    flex-shrink: 0;
}

.interesting__text {
    font-size: 14px;
    color: #222428;
    transition: 0.3s;
}

.interesting__link {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.04);
    background: #00C695 url(img/arrow-intresting-link.svg) right 24px center no-repeat;
    display: flex;
    align-items: center;
    padding-left: 24px;
    transition: 0.3s;
}

.interesting__link:hover {
    filter: brightness(110%);
}


/* Best */

.best__header {
    display: flex;
    align-items: center;
    max-width: 960px;
    margin: 0 auto;
    margin-bottom: -55px;
}

.best__image {
    padding-right: 80px;
}

.best__content {
    max-width: 370px;
    margin-top: -30px;
}

.best__text {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #757C8A;
    padding-bottom: 16px;
}

.best__text:before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #00C695;
    border-radius: 100px;
    margin-right: 16px;
    margin-bottom: 1px;
}

.best__title {
    font-weight: 800;
    font-size: 52px;
    line-height: 66px;
    letter-spacing: -0.04em;
}

.best__slider .slick-list {
    overflow: visible;
    padding: 0 !important;
    width: calc(100% + 160px);
    margin-left: -80px;
    background: #ffffff;
}

.best__slider-item {
    height: 440px;
    background: rgb(80, 174, 211);
    margin: 0 80px;
    position: relative;
    box-shadow: 0px 1px 2px rgba(27, 10, 91, 0.16), 0px 6px 6px rgba(27, 10, 91, 0.04), 0px 12px 12px rgba(27, 10, 91, 0.04), 0px 20px 20px rgba(27, 10, 91, 0.04), 0px 32px 32px rgba(27, 10, 91, 0.04), 0px 60px 80px rgba(27, 10, 91, 0.08);
    border-radius: 8px;
    opacity: 0.1;
    transition: 0.3s;
}

.best__slider-item.slick-current {
    opacity: 1;
    transition: 0.3s;
}

.best__slider-photo:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 20, 42, 0) 47.82%, rgba(9, 20, 42, 0.4) 65.41%, rgba(9, 20, 42, 0.64) 100%);
    border-radius: 8px;
}

.best__slider-photo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.best__slider-sticker {
    top: 48px;
    left: 56px;
}

.best__slider-info {
    position: absolute;
    bottom: 56px;
    left: 56px;
    right: 56px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.best__slider-title {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    color: #FFFFFF;
    text-shadow: 0px 1px 4px rgba(0, 0, 0, 0.24);
    max-width: 650px;
}

.best__slider-info .author__name {
    color: #ffffff;
    font-size: 18px;
}

.best__slider-info .author {
    padding-bottom: 0;
    width: 29%;
}


/* Footer */

.footer__subscribe {
    background: #1F242E;
}

.footer__subscribe .footer__container {
    padding-top: 64px;
    padding-bottom: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__text {
    width: 340px;
}

.footer__icon {
    float: left;
    padding-right: 32px;
}

.footer__title {
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    color: #FFFFFF;
}

.footer__subtitle {
    font-weight: normal;
    font-size: 14px;
    color: #757C8A;
}

.footer__form-input {
    background: #272D3A;
    border-radius: 100px 0 0 100px;
    border: none;
    font-size: 16px;
    line-height: 28px;
    color: #fff;
    padding: 18px 24px;
}

.footer__form-input::placeholder {
    color: #757C8A;
}

.footer__form-button {
    border: none;
    border-radius: 0 100px 100px 0;
    margin-left: -10px;
}

.footer__button {
    font-size: 16px;
    line-height: 28px;
    color: #FFFFFF;
    border: 1px solid #2D3443;
    border-radius: 100px;
    padding: 18px 32px;
    transition: 0.3s;
    height: 64px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.footer__button:hover {
    background: #00C695;
}

.footer__bottom {
    background: #1A1F28;
}

.footer__bottom .footer__container {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__menu .menu__item {
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    color: #757C8A;
    margin: 0 20px;
    padding: 0;
    text-transform: none;
    letter-spacing: 0;
}

.footer__menu .menu__item:hover,
.footer__menu .menu__item.current-menu-item {
    text-decoration: underline;
}

.footer__social {
    display: flex;
}

.footer__social-link {
    background: #212631;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 16px;
    transition: 0.3s;
}

.footer__social-link:hover {
    filter: brightness(130%);
}


/* Up button */

.up {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00C695;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    z-index: 150;
}

.up:after {
    content: '';
    display: block;
    width: 30%;
    height: 30%;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: 15%;
    transition: 0.3s;
}

.up:hover {
    background: #1adaa7;
}

.up:hover:after {
    margin-top: 0;
}

/* fix для touch устройств, поскольку hover там сам не возвращается обратно */
@media (pointer: coarse) {
    .up:hover {
        background: #00C695;
    }

    .up:hover:after {
        margin-top: 15%;
    }
}


/* Popup */

.popup__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 140px);
    transform: translateY(-70px);
    background: rgba(12, 15, 22, 0.96);
    z-index: 1000;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh + 70px);
    padding: 15px;
    padding-bottom: calc(15px + 70px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* плавный скролл попапа на мобилках */
    display: flex;
    z-index: 1001;
    opacity: 0;
}

.popup__box {
    position: relative;
    margin: auto;
    max-width: 900px; /* максимальная ширина попапа*/
    background: #fff;
    padding: 60px;
    border-radius: 10px;
    z-index: 1001;
}

.popup__close {
    position: absolute;
    top: -35px;
    right: -35px;
    width: 24px; /* размер кнопки с крестиком */
    height: 24px; /* размер кнопки с крестиком */
    background: none; /* фон кнопки с крестиком */
    margin: 0; /* отступ кнопки с крестиком от края попапа */
    padding: 0; /* отступ крестика от края кнопки */
    cursor: pointer;
}

.popup__close-icon {
    transition: all 0.3s;
    position: relative;
    height: 100%;
    padding: 10px;
}

.popup__close-icon:after, .popup__close-icon:before {
    content: '';
    display: block;
    width: 140%;
    left: -20%;
    position: absolute;
    top: 50%;
    height: 2px; /* толщина крестика */
    background: #fff; /* цвет крестика */
}

.popup__close-icon:after {
    transform: translateY(-50%) rotate(45deg);
}

.popup__close-icon:before {
    transform: translateY(-50%) rotate(-45deg);
}

.popup__close:hover .popup__close-icon {
    transform: rotate(180deg); /* вращение крестика при наведении */
}


/* Search */

#search .popup__box {
    width: 100%;
    max-width: 880px;
    background: none;
}

.search__form {
    display: flex;
    align-items: center;
}

.search__input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #464A53;
    border-radius: 0;
    background: none;
    font-weight: 600;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    color: #ffffff;
    padding: 28px 50px 28px 0;
    transition: 0.3s;
}

.search__input::placeholder {
    color: #757C8A;
}

.search__input:focus {
    border-bottom: 2px solid #00C695;
}

.search__input::-webkit-search-decoration,
.search__input::-webkit-search-cancel-button,
.search__input::-webkit-search-results-button,
.search__input::-webkit-search-results-decoration {
    display: none;
}

.search__button {
    width: 32px;
    height: 32px;
    margin-left: -32px;
    font-size: 0;
    border: none;
    background: url(img/search-icon_big.svg);
    opacity: 0.4;
    transition: 0.3s;
}

.search__button:hover {
    opacity: 1;
}


/***** PAGES *****/

/* Breadcrumbs */

.breadcrumbs, .breadcrumbs__link {
    font-size: 12px;
    line-height: 18px;
    color: #B9BCC3;
}

.breadcrumbs__container {
    padding-top: 32px;
    padding-bottom: 32px;
}

.breadcrumbs__separ {
    padding: 0 16px;
}

.breadcrumbs__link {
    transition: 0.3s;
}

.breadcrumbs__link:hover {
    color: #08D6A2;
}


/* Maintitle */

.maintitle {
    border-bottom: 1px solid #F0F1F4;
    margin-bottom: 40px;
}

.maintitle__container {
    padding-bottom: 40px;
}

.maintitle__title {
    font-weight: 800;
    font-size: 64px;
    line-height: 74px;
    letter-spacing: -0.04em;
    padding-bottom: 0;
}

.maintitle__category {
    font-size: 24px;
    line-height: 44px;
    letter-spacing: -0.04em;
    color: #757C8A;
    padding-bottom: 8px;
}

.maintitle__info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
}

.maintitle__statistic {
    font-size: 14px;
    color: #757C8A;
    display: flex;
    align-items: center;
}

.maintitle__statistic_center {
    flex: 1;
}

.maintitle__share {
    flex: 1;
}

.maintitle__rating .rating {
    margin: 0 18px 0 10px;
}

.maintitle__rating {
    display: flex;
    align-items: center;
    color: #757C8A;
}

.maintitle__start {
    display: flex;
    align-items: center;
}

.maintitle__text {
    color: #222428;
    padding-right: 16px;
}

.maintitle__time {
    display: flex;
    align-items: center;
}

.maintitle__time-count {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #222428;
    background: #F9F9FB;
    border-radius: 2px;
    margin: 0 2px;
    width: 29px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maintitle__time-separ {
    color: #B9BCC3;
}

.favorite {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #222428;
    cursor: pointer;
    transition: 0.3s;
}

.favorite:hover {
    color: #00C695;
}

.favorite:before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 21px;
    margin: 0 13px -6px;
    background: url(img/favorite-icon_dark.svg) center no-repeat;
}


/* Pagenav & Loadmore */

.loadmore {
    font-size: 14px;
    color: #222428;
    border: 1px solid #F0F1F4;
    border-radius: 4px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-bottom: 32px;
    transition: 0.3s;
}

.loadmore:hover {
    background: #E7F9F3;
    color: #23B484;
    border-color: #E7F9F3;
}

.pagenav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pagenav__pages {
    display: flex;
    align-items: center;
}

.pagenav__button {
    flex-shrink: 0;
    display: inline-block;
    width: 120px;
    height: 48px;
    border: 1px solid #F0F1F4;
    border-radius: 4px;
    color: #222428;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.pagenav__button:hover {
    background-color: #00C695;
    border-color: #00C695;
    color: #ffffff;
}

.pagenav__button_disabled, .pagenav__button_disabled:hover {
    color: #D0D1DA;
    background: #F7F9FC;
    border-color: #F7F9FC;
    cursor: default;
}

.pagenav__page {
    border-radius: 100px;
    width: 48px;
    height: 48px;
    margin: 0 3px;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    color: #222428;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagenav__page:hover {
    background: #F7F9FC;
}

.pagenav__page_dots:hover {
    background: none;
    cursor: default;
}

.pagenav__page_active, .pagenav__page_active:hover {
    background: linear-gradient(188.25deg, #00DFA8 6.33%, #00B98B 93.67%);
    box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.08), 0px 16px 56px rgba(12, 211, 119, 0.12);
    color: #fff;
    cursor: default;
}


/* News list */

.news__list {
    padding-bottom: 40px;
}

.news__item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #F0F1F4;
}

.news__head {
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news__title {
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    color: #222428;
    transition: 0.3s;
}

.news__title:hover {
    color: #00C695;
}

.news__date {
    font-size: 14px;
    color: #757C8A;
    display: flex;
    align-items: center;
}

.dot {
    color: #B9BCC3;
    padding: 0 12px;
}

.news__views:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 12px;
    background: url(img/views-icon.svg) center no-repeat;
    margin-right: 8px;
}

.news__comments:before {
    content: '';
    display: inline-block;
    width: 17px;
    height: 15px;
    background: url(img/comments-icon.svg) center no-repeat;
    margin-right: 8px;
    margin-bottom: -3px;
}

.news__text {
    font-size: 18px;
    line-height: 30px;
    color: #757C8A;
    width: 28%;
}

.news__photo {
    width: 360px;
    height: 210px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.news__photo .photo {
    border-radius: 4px;
}


/* Checklists */

.checklists__list {
    padding-top: 24px;
    padding-bottom: 20px;
}

.checklists__item {
    display: flex;
    margin-bottom: 64px;
}

.checklists__image {
    width: 360px;
    height: 360px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 40px;
}

.checklists__image .photo {
    border-radius: 8px 8px 8px 10px;
}

.checklists__info {
    flex: 1;
}

.checklists__title {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    padding-bottom: 12px;
    display: inline-block;
    color: #000;
    transition: 0.3s;
}

.checklists__title:hover {
    color: #00C695;
}

.checklists__file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #F0F1F4;
    padding: 16px 0;
    transition: 0.3s;
}

.checklists__more .checklists__file {
    padding: 0 0 16px;
    margin-bottom: 16px;
}

.checklists__more .checklists__file:last-child {
    margin-bottom: 0;
}

.checklists__filename {
    display: flex;
    align-items: center;
}

.checklists__icon {
    fill: #B9BCC3;
    margin-right: 26px;
    transition: 0.3s;
}

.checklists__filetitle {
    font-size: 14px;
    color: #222428;
    transition: 0.3s;
}

.checklists__fileinfo {
    font-size: 12px;
    line-height: 18px;
    color: #757C8A;
    display: flex;
}

.filetype:before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 9px -5px;
}

.filetype_doc:before {
    background: url(img/doc-icon.svg) left center no-repeat;
}

.filetype_pdf:before {
    background: url(img/pdf-icon.svg) center no-repeat;
}

.filetype_mp3:before {
    background: url(img/mp3-icon.svg) center no-repeat;
}

.checklists__button {
    margin-top: 32px;
}

.checklists__file:hover {
    border-bottom: 1px solid #00C695;
}

.checklists__file:hover .checklists__filetitle {
    color: #00C695;
}

.checklists__file:hover .checklists__icon {
    fill: #00C695;
}

.checklists__more-author {
    font-size: 18px;
    line-height: 30px;
    color: #757C8A;
}

.checklists__more-title {
    font-weight: 800;
    font-size: 40px;
    line-height: 56px;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
}

.checklists__file-list {
    width: 780px;
    height: 400px;
    overflow-y: scroll;
    margin-top: 20px;
}


/* Article */

.article__mainimage {
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 64px;
}

.article__body {
    display: flex;
}

.article__content {
    flex: 1;
}

.article__text {
    font-size: 22px;
    line-height: 38px;
    padding-bottom: 40px;
}

.article__content p {
    padding-bottom: 48px;
}

.article__source a {
    color: #222428;
    transition: 0.3s;
}

.article__source a:hover {
    color: #00C695;
}

.share {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #F0F1F4;
    border-bottom: 1px solid #F0F1F4;
}

.share__text {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
}

.share__link {
    display: inline-block;
    margin: 0 6px 0 2px;
    transition: 0.3s;
    cursor: pointer;
}

.share__link:hover {
    filter: brightness(120%);
}

.share__icons_small .share__link {
    margin: 0 3px;
}

.share__icons_small img {
    width: 24px;
}

.article__comments {
    padding-top: 80px;
}


/* Comments */

.comments__title {
    font-size: 32px;
}

.comments__list-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    padding-bottom: 40px;
}

.comments__list-count {
    color: #B9BCC3;
    padding-left: 12px;
}

.comments__item {
    border-bottom: 1px solid #F0F1F4;
    padding-bottom: 32px;
    margin-bottom: 32px;
}

.comments__username {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    padding-bottom: 16px;
}

.comments__info {
    font-size: 14px;
    color: #757C8A;
    margin-bottom: 24px;
}

.comments__rate {
    padding-right: 10px;
}

.comments__dot {
    padding: 0 20px;
}

.comments__text {
    font-size: 16px;
    line-height: 28px;
}

.comments__form {
    padding-bottom: 64px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.comments__field {
    position: relative;
    height: 64px;
    width: 32.5%;
    margin-bottom: 10px;
}

.comments__label {
    font-size: 18px;
    color: #757C8A;
    position: absolute;
    top: 19px;
    left: 24px;
    cursor: text;
    transition: 0.3s;
}

.comments__input {
    height: 64px;
    width: 100%;
    background: #F9F9FB;
    border: 1px solid #F9F9FB;
    border-radius: 4px;
    transition: 0.3s;
}

.comments__field_focused .comments__input {
    background: #FFFFFF;
    border: 1px solid #E1E4EA;
    font-size: 18px;
    line-height: 30px;
    color: #222428;
    padding: 16px 24px 0;
}

.comments__field_focused .comments__label {
    font-size: 12px;
    color: #757C8A;
    top: 8px;
}

.comments__select .comments__input {
    background: #F9F9FB url(img/select-arrowdown.svg) right 20px center no-repeat;
}

.comments__select .comments__input,
.comments__select .comments__label {
    cursor: pointer;
}

.comments__select_open .comments__input {
    background: #FFFFFF url(img/select-arrowup.svg) right 20px center no-repeat;
    border: 1px solid #E1E4EA;
    color: #222428;
}

.comments__select_open .comments__label {
    color: #222428;
}

.comments__select_selected .comments__label {
    font-size: 12px;
    color: #757C8A;
    top: 8px;
}

.comments__select_selected .comments__input {
    display: flex;
    align-items: center;
    background: #FFFFFF url(img/select-arrowdown.svg) right 20px center no-repeat;
    border: 1px solid #E1E4EA;
    font-size: 18px;
    line-height: 30px;
    color: #222428;
    padding: 16px 24px 0;
}

.comments__select_selected.comments__select_open .comments__input {
    background: #FFFFFF url(img/select-arrowup.svg) right 20px center no-repeat;
}

.comments__select:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.comments__select-options {
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 8px rgba(0, 0, 0, 0.02), 0px 0px 16px rgba(0, 0, 0, 0.02), 0px 0px 40px rgba(0, 0, 0, 0.01);
    border-radius: 4px;
    padding: 10px 25px;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 10;
}

.comments__select-item {
    display: block;
    padding-left: 32px;
    position: relative;
    cursor: pointer;
    margin: 20px 0;
}

.comments__select-item:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #B9BCC3;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 1px;
    transition: 0.3s;
}

.comments__select-item_selected:before {
    border: 5px solid #00C695;
}

.comments__textarea {
    background: #F9F9FB;
    border: 1px solid #F9F9FB;
    border-radius: 4px;
    width: 100%;
    height: 180px;
    padding: 16px 24px;
    font-size: 18px;
    line-height: 30px;
    resize: none;
    margin-bottom: 40px;
    transition: 0.3s;
}

.comments__textarea::placeholder {
    color: #757C8A;
}

.comments__textarea:focus, .comments__textarea_focused {
    background: #FFFFFF;
    border: 1px solid #E1E4EA;
    color: #222428;
}

.comments__privacy {
    font-size: 14px;
    width: 40%;
}

.comments__privacy a {
    color: #00C695;
    white-space: nowrap;
}

.comments__privacy a:hover {
    text-decoration: underline;
}


/* Forms */

.form__radio {
    display: none;
}

.form__radio_label {
    display: block;
    padding-left: 32px;
    position: relative;
    cursor: pointer;
    margin: 20px 0;
}

.form__radio_label:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #B9BCC3;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: -3px;
    transition: 0.3s;
}

.form__radio:checked + .form__radio_label:before {
    border: 5px solid #00C695;
}


/* Sidebar */

.sidebar {
    width: 360px;
    margin-left: 7%;
}

.sidebar__widget {
    margin-bottom: 40px;
}

.sidebar__widget-title {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #757C8A;
    padding-bottom: 24px;
}

.recommend__item {
    border-bottom: 1px solid #F0F1F4;
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.recommend__title, .selection__title {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    color: #222428;
    display: block;
    padding-bottom: 16px;
    transition: 0.3s;
}

.recommend__title:hover,
.selection__title:hover,
.other-authors__title:hover {
    color: #00C695;
}

.selection__item {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.selection__image {
    width: 96px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
    margin-right: 24px;
}

.selection__title {
    padding-bottom: 0;
}

.other-authors {
    border: 1px solid #F0F1F4;
    border-radius: 8px;
    margin-bottom: 60px;
}

.other-authors .sidebar__widget-title {
    font-weight: bold;
    font-size: 24px;
    line-height: 34px;
    letter-spacing: -0.04em;
    color: #222428;
    text-transform: none;
    padding: 32px 40px 16px;
}

.other-authors__item {
    display: flex;
    align-items: center;
    padding: 16px 40px;
    border-bottom: 1px solid #F0F1F4;
}

.other-authors__item:last-child {
    border: none;
}

.other-authors__image {
    width: 48px;
    height: 48px;
    border-radius: 100px;
    overflow: hidden;
    margin-right: 16px;
}

.other-authors__title {
    font-size: 16px;
    line-height: 28px;
    color: #222428;
    transition: 0.3s;
}

.event-info__register {
    background: #F9F9FB;
    border-radius: 8px;
    padding: 32px 40px;
    margin-bottom: 40px;
}

.event-info__register-title {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    color: #222428;
    padding-bottom: 24px;
}

.event-info__register-info {
    font-size: 16px;
    line-height: 28px;
    padding-bottom: 8px;
}

.event-info__register-label {
    color: #757C8A;
    padding-right: 16px;
}

.event-info__button {
    margin: 32px 0 10px;
    width: 100%;
}

.event-info__author {
    display: flex;
    align-items: center;
    color: inherit;
    transition: all 0.2s ease-in-out;
    margin-bottom: 20px;
}

.event-info__author:hover {
    color: #00C695;
}

.event-info__avatar {
    width: 52px;
    height: 52px;
    border-radius: 100px;
    overflow: hidden;
    margin-right: 20px;
}

.event-info__author-name {
    font-weight: bold;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: -0.04em;
    padding-bottom: 8px;
}

.event-info__author-position {
    font-size: 12px;
    line-height: 18px;
}

.event-info__rating {
    font-size: 14px;
    color: #464A53;
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.event-info__rating .rating {
    margin-right: 16px;
}

.event-info__author-info {
    margin-bottom: 40px;
}

.event-info__register_more .event-info__register-title {
    font-size: 18px;
    line-height: 26px;
}

.event-info__register_more .event-info__register-info {
    font-size: 14px;
}


/* Selection page */

.selection-list .event-card_big {
    width: 100%;
    margin-bottom: 40px;
}

.selection-list .event-card_big .event-card__title {
    font-size: 32px;
    line-height: 44px;
}

.selection-list-description {
    font-size: 18px;
    line-height: 30px;
    padding-bottom: 65px;
}


/* Authors */

.authors__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.authors__item {
    width: 260px;
    margin-bottom: 74px;
}

.authors__image {
    width: 100%;
    height: 260px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: 16px;
}

.authors__image .photo {
    border-radius: 8px 8px 8px 10px;
}

.authors__title {
    display: block;
    font-weight: bold;
    font-size: 21px;
    line-height: 30px;
    letter-spacing: -0.04em;
    color: #222428;
    padding-bottom: 14px;
    transition: 0.3s;
}

.authors__title:hover {
    color: #00C695;
}


/* Author page */

.authorpage__subtitle {
    font-weight: 800;
    font-size: 32px;
    line-height: 44px;
    padding-bottom: 40px;
}

.authorpage__subtitle-count {
    color: #B9BCC3;
    padding-left: 10px;
}

.authorpage__mainimage {
    display: block;
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 60px;
    position: relative;
}

.authorpage__mainimage:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7) url(img/play-icon.svg) center no-repeat;
    background-size: 15%;
    opacity: 0;
    transition: 0.5s;
}

.authorpage__mainimage:hover:after {
    opacity: 1;
}

@media (pointer: coarse) {
    .authorpage__mainimage:hover:after {
        opacity: 0;
    }
}

.authorpage__description {
    font-size: 21px;
    line-height: 36px;
    padding-bottom: 48px;
}

.authorpage__description ul {
    display: flex;
    flex-wrap: wrap;
}

.authorpage__description ul li {
    width: 50%;
    padding-bottom: 32px;
}

#video iframe {
    width: 700px;
    height: 400px;
}

#video .popup__box {
    background: none;
    padding: 15px;
}


/* Event page */

.event__image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 64px;
}


/* Tips page */

.tips__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.tips__list .event-card_big {
    width: 48%;
    margin-bottom: 40px;
}


/* Catalouge page */

.catalouge__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.catalouge__list .event-card {
    margin-bottom: 80px;
}

.flex {
    width: 260px;
    border: 1px solid #000;
}

.filter-button {
    display: none;
}


/* Forms */

.maintitle__form {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.form__group {
    display: flex;
}

.form__group .form__field {
    margin-right: 16px;
}

.form__field {
    position: relative;
    height: 48px;
    width: 160px;
}

.form__label {
    position: absolute;
    font-size: 14px;
    left: 12px;
    top: 12px;
    padding: 0 8px;
    transition: 0.3s;
}

.form__select .form__input {
    background: url(img/select-arrowdown_small.svg) right 20px center no-repeat, rgba(255, 255, 255, 0.7);
    background-blend-mode: color;
    opacity: 1;
    border: 1px solid #F0F1F4;
    border-radius: 4px;
    height: 48px;
    width: 100%;
    font-size: 14px;
    color: #222428;
    padding: 0 36px 0 20px;
    transition: 0.3s;
}

.form__select:hover .form__input {
    background: url(img/select-arrowdown_small.svg) right 20px center no-repeat, rgba(255, 255, 255, 0);
    border: 1px solid #D9DEE8;
}

.form__select:hover,
.form__select:hover .form__input,
.form__select:hover .form__label, .form__input_date-range:hover {
    cursor: pointer;
}

.form__select_open .form__input,
.form__select_open:hover .form__input {
    background: url(img/select-arrowup_small.svg) right 20px center no-repeat;
    border: 1px solid #00C695;
}

.form__select_selected .form__label {
    top: -12px;
    color: #757C8A;
    font-size: 12px;
    background: #ffffff;
}

.form__select_selected.form__select_open .form__label {
    color: #00C695;
}

.form__select-options {
    background: #FFFFFF;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.06), 0px 0px 4px rgba(0, 0, 0, 0.04), 0px 0px 8px rgba(0, 0, 0, 0.02), 0px 0px 16px rgba(0, 0, 0, 0.02), 0px 0px 40px rgba(0, 0, 0, 0.01);
    border-radius: 4px;
    padding: 20px 32px;
    position: absolute;
    top: 54px;
    left: 0;
    z-index: 10;
    display: none;
    min-width: 100%;
}

.form__select-item {
    margin: 12px 0;
    white-space: nowrap;
    cursor: pointer;
}

.form__field_sort {
    position: relative;
    bottom: -10px;
}

.form__field_sort .form__input,
.form__field_sort:hover .form__input {
    padding: 0;
    border: none;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: -0.04em;
    background-position: right center;
}

.form__field_sort .form__label {
    padding: 0;
    left: 0;
    top: -10px;
}

.form__field_sort .form__select_open .form__label {
    color: #757C8A;
}

.form__field_sort .form__select_open .form__input {
    color: #00C695;
}

.form__field_calendar .form__input {
    background: url(img/calendar-icon.svg) right 20px center no-repeat;
    background-blend-mode: color;
    border: 1px solid #F0F1F4;
    border-radius: 4px;
    height: 48px;
    width: 100%;
    font-size: 14px;
    color: #222428;
    padding: 0 45px 0 20px;
    transition: 0.3s;
}

.form__field_calendar:hover .form__input {
    border: 1px solid #D9DEE8;
}

.form__field_calendar.form__field_open .form__input {
    background: url(img/calendar-icon_green.svg) right 20px center no-repeat;
    border: 1px solid #00C695;
}

.form__field_calendar:hover .form__label {
    z-index: -1;
}

.form__field_calendar.form__field_selected .form__label {
    top: -12px;
    color: #757C8A;
    font-size: 12px;
    background: #ffffff;
    z-index: 1;
}

.form__field_calendar.form__field_selected.form__field_open .form__label {
    color: #00C695;
}

.select-price {
    max-width: 180px;
}

.form__field_price .form__select-item {
    display: block;
    padding-left: 32px;
    position: relative;
    cursor: pointer;
    margin: 20px 0;
}

.form__field_price .form__select-item:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #B9BCC3;
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 1px;
    transition: 0.3s;
}

.form__field_price .select-price__selected:before {
    border: 5px solid #00C695;
}

.form__field_price .form__select-options {
    width: 440px;
}

.form__field-title {
    font-weight: bold;
    font-size: 12px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 12px 0;
}

.select-price .form__field-title {
    padding-bottom: 0;
}

.form__range-inputs {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.form__range-inputs .comments__field {
    width: 43%;
    max-width: 160px;
}

.form__input-separ {
    border: 1px solid #F0F1F4;
    width: 6%;
    margin-top: -10px;
}

.form__input_from::-webkit-outer-spin-button,
.form__input_from::-webkit-inner-spin-button,
.form__input_to::-webkit-outer-spin-button,
.form__input_to::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.form__field_category {
    width: 200px;
}

.form__field_category .form__input {
    text-overflow: ellipsis;
}

.form__field_category .form__select-options {
    padding: 20px 32px 32px;
    overflow: hidden;
}

.form__field_category .form__select-item {
    margin: 0;
}

.form__field_category .tabs__nav {
    width: 320px;
    flex-shrink: 0;
    height: 390px;
}

.form__field_category .tabs__content {
    width: 300px;
    flex-shrink: 0;
    height: 390px;
    margin-left: 56px;
}

.form__field_category .tabs:after {
    content: '';
    display: block;
    position: absolute;
    left: 380px;
    top: 0;
    bottom: 0;
    border-left: 1px solid #F0F1F4;
}

.form__field_category .tabs__link-text {
    font-size: 14px;
}

.form__field_category .tabs__link {
    height: 56px;
}

.form__field_category .tabs__icon {
    width: 56px;
}

.form__field_category .tabs__icon img {
    transform: scale(0.8);
}

.form__field_category .form__field-subtitle {
    font-size: 12px;
    line-height: 18px;
    color: #757C8A;
    margin: -4px 0 -10px;
}

.form__chekbox {
    display: none;
}

.form__chekbox_label {
    display: block;
    cursor: pointer;
    margin: 16px 0;
    font-size: 14px;
}

.form__chekbox_label:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #B9BCC3;
    border-radius: 2px;
    background: url(img/checkbox.svg) center no-repeat;
    background-size: 1%;
    margin-right: 12px;
    margin-bottom: -5px;
    transition: 0.3s;
}

.form__chekbox:checked + .form__chekbox_label:before {
    background: url(img/checkbox.svg) center no-repeat;
    background-size: 80%;
    border: 1px solid #00C695;
}

.form__select_icon:before {
    content: '';
    display: block;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-56%);
    width: 24px;
    height: 24px;
    transition: 0.3s;
}

.form__select_icon .form__label {
    left: 42px;
}

.form__select_icon .form__input {
    padding-left: 49px;
}

.form__field_activity {
    width: 246px;
}

.form__field_activity .form__select_icon:before {
    background: url(img/activity-icon.svg) center no-repeat;
}

.form__field_activity .form__select_open.form__select_icon:before {
    background: url(img/activity-icon_green.svg) center no-repeat;
}

.form__field_activity .tabs:after {
    display: none;
}

.form__field_activity .form__select-options {
    padding: 32px;
}

.form__field_rating {
    width: 178px;
}

.form__field_rating .form__select_icon:before {
    background: url(img/star-icon.svg) center no-repeat;
}

.form__field_rating .form__select_open.form__select_icon:before {
    background: url(img/star-icon_green.svg) center no-repeat;
}


/* Responsive */

/* iPad Pro, Laptops, iPad landscape */
@media screen and (max-width: 1830px) {
    .main {
        background: url(img/main-bg.jpg) top -10px center no-repeat;
    }

    .header__button {
        margin: 0 8px;
    }

    .menu__item {
        padding: 0 8px;
    }
}

@media screen and (max-width: 1279px) {
    .container {
        max-width: 1024px;
        padding-bottom: 130px;
    }

    .header__container {
        padding-bottom: 0;
    }

    .header__button-text,
    .header_main .header__submenu-text {
        display: none;
    }

    .header_main .header__submenu {
        border: none;
        padding: 11px 0;
    }

    .header_main .header__submenu .burger {
        margin-left: 0;
    }

    .header_main .header__button {
        margin: 0 8px;
    }

    .header_main .header__submenu_active {
        background: none;
    }

    .header_main .header__submenu_active .burger__lines {
        background: #ffffff;
    }

    .main__image {
        margin-left: -150px;
    }

    .statistic__container {
        padding-right: 368px;
    }

    .events-list .event-card {
        width: 219px;
    }

    .events-list .event-card_big {
        width: 464px;
    }

    .events-list .event-card__more-text {
        height: unset;
        max-height: 120px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    .category__content {
        padding: 46px;
    }

    .category .tabs__link-text {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        padding-right: 5px;
    }

    .category .tabs__container {
        width: 64%;
    }

    .category__course {
        width: 48%;
    }

    .best__slider .slick-prev {
        background-size: 50%;
        left: -30px;
    }

    .best__slider .slick-next {
        background-size: 50%;
        right: -30px;
    }

    .about__item:nth-child(2n+1) .about__image {
        right: 0;
    }

    .breadcrumbs__container {
        padding-bottom: 0;
    }

    .maintitle__container {
        padding-bottom: 28px;
    }

    .maintitle__title {
        font-size: 56px;
        line-height: 56px;
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .maintitle__statistic_center .dot:first-child {
        display: none;
    }

    .maintitle__start {
        margin-top: -20px;
        margin-bottom: 20px;
        width: 100%;
    }

    .sidebar {
        width: 310px;
    }

    .interesting__list {
        padding-bottom: 24px;
    }

    .interesting__item {
        width: 31%;
        height: auto;
    }

    .interesting__course-list {
        padding-bottom: 74px;
    }

    .news__photo {
        width: 310px;
    }

    .authors__item {
        width: 22%;
    }

    .authors__image {
        height: 210px;
    }

    .maintitle__form {
        margin-top: 25px;
    }

    .form__field_sort .form__select-options {
        left: unset;
        right: 0;
    }

    .form_catalouge {
        position: relative;
    }

    .form_catalouge .form__field_sort {
        position: absolute;
        top: -74px;
        right: 0;
        padding-right: 20px;
        width: 180px;
    }

    .form_catalouge .form__group {
        width: 100%;
        justify-content: space-between;
    }

    .form_catalouge .form__field_price {
        margin-right: 0;
        width: 198px;
    }

    .form_catalouge .form__field_price .form__select-options {
        left: unset;
        right: 0;
    }

    .catalouge__list .event-card_big {
        width: 614px;
    }

    .catalouge__list .event-card_big:first-child {
        order: 2;
    }

    .about__title {
        font-size: 48px;
        padding-bottom: 36px;
    }

    .about__item:nth-child(2n) .about__image {
        left: -40px;
    }

    .about__image img {
        width: 100%;
    }

    .about__text {
        font-size: 20px;
    }

    .footer__title, .footer__subtitle {
        display: none;
    }

    .footer__text {
        width: 86px;
    }

    .footer__form {
        flex: 1;
    }

    .footer__menu .menu__item {
        margin: 0 10px;
    }
}


/* iPad */

@media screen and (max-width: 1023px) {
    .container {
        max-width: 768px;
    }

    .logo {
        flex: 1;
    }

    .header_main .header__submenu, .header__submenu {
        display: none;
    }

    .header_main .mobile-menu {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .header_main .burger__lines {
        background: #ffffff;
    }

    .header__submenu-list {
        box-shadow: none;
    }

    /* Menu on mobile */
    .menu__after .header__submenu-list {
        display: block;
        background: none;
        position: static;
        padding: 30px 0 0 0;
        margin-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 0;
    }

    .menu__after .header__submenu-item {
        color: #ffffff;
    }

    .mobile-menu {
        display: block;
    }

    .menu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        overflow: auto;
        background: linear-gradient(135deg, #1a1f26, #242833);
        transition: 0.4s;
    }

    .menu__body {
        margin-bottom: 50px;
    }

    .menu__item,
    .menu__before,
    .menu__after {
        display: block;
        transition: 0.4s 0.2s;
    }

    .menu__item {
        color: #ffffff;
        padding: 10px 0;
        font-size: 14px;
    }

    .menu__item:hover {
        color: #ffffff;
    }

    /* Menu on mobile Theme LEFT - NAV need modify class .menu_theme_left */
    .menu_theme_left {
        padding: 30px 60px;
        width: 60%;
        transform: translateX(-100%);
        z-index: 1003;
    }

    .menu_active.menu_theme_left {
        transform: translateX(0);
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
    }

    .menu_theme_left .menu__item,
    .menu_theme_left .menu__before,
    .menu_theme_left .menu__after {
        transform: translateX(-100%);
        opacity: 0;
    }

    .menu_active.menu_theme_left .menu__item,
    .menu_active.menu_theme_left .menu__before,
    .menu_active.menu_theme_left .menu__after {
        transform: translateX(0);
        opacity: 1;
    }

    /* Menu on mobile Theme LEFT + FADE Content - NAV need modify class .menu_theme_left + .menu_fade_content  */
    .page__overlay {
        position: fixed;
        width: 100%;
        height: 100%;
        background: #fff;
        opacity: 0.06;
        display: none;
    }

    .main__content {
        max-width: 444px;
    }

    .main__title {
        font-size: 52px;
        line-height: 70px;
    }

    .main__image {
        transform: scale(0.9);
        margin-top: 130px;
    }

    .statistic__container {
        padding-right: 30px;
        padding-bottom: 90px;
    }

    .events-list .event-card:last-child {
        display: none;
    }

    .events-list .event-card_big {
        width: 458px;
    }

    .category__content {
        padding: 36px;
        padding-right: 50px;
        height: auto;
    }

    .category__course {
        width: 100%;
        max-width: 100%;
    }

    .category .tabs__nav {
        width: 50%;
    }

    .category .tabs__container {
        width: 50%;
    }

    .maintitle__title {
        font-size: 52px;
    }

    .maintitle__category {
        padding-bottom: 0;
    }

    .maintitle__statistic {
        order: 1;
    }

    .maintitle__favorite {
        order: 2;
    }

    .maintitle__share {
        order: 0;
        width: 100%;
        flex: auto;
        margin: -20px 0 20px -3px;
    }

    .maintitle__statistic .dot:last-child {
        display: none;
    }

    .article__container {
        padding-bottom: 86px;
    }

    .article__mainimage {
        height: 430px;
        margin-bottom: 56px;
    }

    .article__body {
        display: block;
    }

    .article__content p {
        padding-bottom: 36px;
    }

    .event__image {
        margin-bottom: 56px;
    }

    .event-info__register-title {
        width: 100%;
    }

    .event-info__register {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .event-info__register-text {
        display: block;
    }

    .event-info__author-info {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .event-info__author-info .list {
        width: 100%;
        order: 4;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-top: 20px;
    }

    .event-info__author-info .list li {
        width: 30%;
    }

    .event-info__author-info .event-info__author {
        order: 1;
    }

    .event-info__author-info .event-info__rating {
        order: 2;
    }

    .event-info__author-info .share__icons {
        order: 3;
        margin-bottom: 24px;
    }

    .sidebar {
        width: 100%;
        margin-left: 0;
        margin-top: 96px;
    }

    .recommend__item {
        display: flex;
        justify-content: space-between;
    }

    .recommend__title {
        width: 68%;
    }

    .recommend__item .author {
        width: 26%;
    }

    .interesting__item {
        width: 48%;
    }

    .interesting_main .interesting__item:last-child {
        display: none;
    }

    .best__image {
        padding-right: 20px;
    }

    .slick-dots {
        bottom: 200px;
    }

    .news__item {
        flex-wrap: wrap;
    }

    .news__head {
        order: 1;
        width: 100%;
        padding-bottom: 24px;
    }

    .news__text {
        order: 2;
        width: 50%;
    }

    .news__photo {
        order: 3;
        width: 46%;
    }

    .news__title {
        padding-bottom: 8px;
    }

    .checklists__image {
        width: 300px;
        height: 300px;
    }

    .checklists__fileinfo {
        white-space: nowrap;
    }

    .checklists__fileinfo .dot {
        display: none;
    }

    .filetype {
        font-size: 0;
    }

    .checklists__icon {
        flex-shrink: 0;
    }

    .checklists__file-list {
        width: 100%;
    }

    .checklists__more .popup__box {
        width: 97%;
    }

    .tips__list .event-card_big {
        width: 100%;
    }

    .authors__item {
        width: 47%;
    }

    .authors__image {
        height: 300px;
    }

    .catalouge__list .event-card {
        width: 214px;
    }

    .catalouge__list .event-card__more-text {
        height: unset;
        max-height: 120px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 5;
    }

    .catalouge__list .event-card_big {
        width: 460px;
    }

    .form__field_category .tabs__content {
        width: 274px;
    }

    .daterangepicker {
        right: 22px !important
    }

    .about__container {
        padding-bottom: 70px;
    }

    .about__item {
        padding-bottom: 64px;
    }

    .about__title {
        font-size: 46px;
    }

    .about__subtitle {
        font-size: 30px;
    }

    .about__text {
        font-size: 18px;
    }

    .footer__text {
        display: none;
    }

    .footer__form {
        display: flex;
        padding-right: 24px;
    }

    .footer__form-input {
        width: 100%;
    }

    .footer__bottom .footer__container {
        flex-wrap: wrap;
    }

    .footer__menu {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 16px;
    }

    .footer__logo {
        order: 2;
    }

    .footer__social {
        order: 3;
    }

    .footer__menu .menu__item {
        margin: 0;
    }

    .popup {
        padding-top: 46px;
    }

    .popup__close {
        right: 0;
    }

    #search .popup__box {
        padding-bottom: 120px;
    }

}

@media screen and (min-width: 768px) {
    .form_catalouge .form__group {
        display: flex !important;
    }
}


/* Phones */

/* @media screen and (max-width:850px) and (max-height:850px) - если нужно, чтобы выглядело одинаково на всех телефонах (в том числе в горизонтальной ориентации), включая длинные телефоны вроде iPhone X и Redmi 8 Pro - он еще больше */
/* @media screen and (max-width:767px) - если нужно, чтобы в горизонтальной ориентации на больших телефонах выглядело как на планшете */

@media screen and (max-width: 767px) {
    .container {
        max-width: 414px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 100px;
    }

    .header__container {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 0;
    }

    .header_main .header__container {
        height: 100px;
    }

    .breadcrumbs__container {
        padding-bottom: 0;
    }

    .up {
        right: -100%;
    }

    .menu_theme_left {
        width: 80%;
        padding: 20px 40px;
    }

    .main__content {
        padding-top: 140px;
    }

    .main__title {
        font-size: 32px;
        line-height: 48px;
    }

    .main__text {
        font-size: 21px;
        line-height: 40px;
    }

    .main__button {
        position: relative;
        z-index: 2;
    }

    .main__image {
        transform: scale(0.6);
        margin-top: 226px;
        margin-left: -390px;
    }

    .statistic__container {
        flex-wrap: wrap;
        padding-bottom: 64px;
    }

    .statistic__item {
        width: 50%;
        margin-bottom: 36px;
    }

    .title {
        font-size: 38px;
        line-height: 52px;
    }

    .best__header {
        margin-bottom: 0;
    }

    .best__slider-item {
        height: 370px;
    }

    .best__title {
        font-size: 29px;
        line-height: 34px;
    }

    .best__text {
        font-size: 12px;
        padding-bottom: 10px;
    }

    .best__image {
        padding-right: 10px;
        margin-left: -12px;
    }

    .best__image img {
        width: 120px;
    }

    .best__slider-sticker {
        top: 30px;
        left: 26px;
    }

    .best__slider-info {
        bottom: 30px;
        left: 26px;
        right: 26px;
        display: block;
    }

    .best__slider-title {
        font-size: 30px;
        line-height: 38px;
        padding-bottom: 20px;
        display: block;
    }

    .best__slider-info .author {
        width: 100%;
    }

    .slick-dots {
        left: 17px;
        bottom: 240px;
    }

    .best__slider .slick-prev {
        background-size: 46%;
        left: -26px;
    }

    .best__slider .slick-next {
        background-size: 46%;
        right: -26px;
    }

    .breadcrumbs {
        margin-bottom: 10px;
    }

    .maintitle__title {
        font-size: 40px;
        line-height: 46px;
    }

    .maintitle__category {
        font-size: 22px;
    }

    .maintitle__container {
        padding-bottom: 28px;
    }

    .maintitle__info .news__comments-text {
        display: none;
    }

    .maintitle__favorite {
        margin-top: 24px;
        margin-left: -12px;
    }

    .maintitle__rating .news__rate {
        display: none;
    }

    .maintitle__rating .rating {
        margin-left: 0;
    }

    .maintitle__start .maintitle__text span {
        display: none;
    }

    .maintitle__start .maintitle__text {
        font-size: 14px;
        padding-right: 7px;
    }

    .authorpage__mainimage {
        height: 300px;
        margin-bottom: 36px;
    }

    .authorpage__description ul li {
        width: 100%;
    }

    #video iframe {
        width: 100%;
        height: 230px;
    }

    #video .popup__box {
        width: 100%;
        max-width: 450px;
    }

    .article__mainimage, .event__image {
        height: 260px;
        margin-bottom: 36px;
    }

    .article__text, .authorpage__description {
        font-size: 18px;
        line-height: 36px;
    }

    .article__content p {
        padding-bottom: 26px;
    }

    .event-info__register-text {
        display: inline;
    }

    .event-info__author-info {
        display: block;
    }

    .event-info__author-info .list {
        display: block;
        padding-top: 0;
    }

    .event-info__author-info .list li {
        width: 100%;
    }


    .share {
        flex-wrap: wrap;
    }

    .comments__list-title {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
    }

    .comments__field {
        width: 100%;
    }

    .comments__privacy {
        width: 100%;
        padding-bottom: 20px;
    }

    .comments__textarea {
        margin-bottom: 20px;
    }

    .comments__button {
        width: 100%;
    }

    .recommend__item {
        display: block;
    }

    .recommend__item .author, .recommend__title {
        width: 100%;
    }

    .interesting_main .interesting__container {
        padding-bottom: 130px;
    }

    .interesting__item {
        width: 100%;
        max-width: 100%;
    }

    .interesting_main .interesting__item:last-child {
        display: block;
    }

    .news__list {
        padding-bottom: 0;
    }

    .news__head {
        order: 1;
        width: 100%;
    }

    .news__photo {
        order: 2;
        width: 100%;
        padding-bottom: 24px;
    }

    .news__text {
        order: 3;
        width: 100%;
    }

    .checklists__list {
        padding: 0;
    }

    .checklists__item {
        display: block;
    }

    .checklists__image {
        width: 100%;
        margin-bottom: 24px;
    }

    .checklists__button {
        display: block;
        width: 260px;
        margin: 0 auto;
        margin-top: 32px;
    }

    .popup__box {
        padding: 36px;
    }

    .checklists__more .popup__box {
        width: 100%;
        padding-right: 20px;
        padding-bottom: 40px;
    }

    .checklists__more .checklists__more-title {
        font-size: 32px;
        line-height: 36px;
    }

    .checklists__more .checklists__file {
        flex-wrap: wrap;
    }

    .checklists__more .checklists__fileinfo {
        padding-left: 28px;
        padding-top: 6px;
    }

    .checklists__more .checklists__icon {
        margin-right: 16px;
    }

    .maintitle__form {
        flex-wrap: wrap;
    }

    .filter-button {
        display: block;
        width: 40px;
        height: 40px;
        background: #F7F9FC url(img/filter-icon.svg) center no-repeat;
        background-size: 60%;
        border-radius: 8px;
        position: absolute;
        right: 0;
        top: -74px;
    }

    .form_catalouge .form__group {
        display: none;
        padding-top: 5px;
        margin-top: -5px;
    }

    .form__group {
        width: 100%;
        display: block;
    }

    .form__group .form__field {
        width: 100%;
        margin-bottom: 12px;
    }

    .form__group + .form__field_sort {
        width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }

    .form__group + .form__field_sort .form__label {
        left: 20px;
    }

    .form_catalouge .form__group + .form__field_sort {
        width: 100%;
        padding-right: 20px;
        padding-left: 0;
        transition: 0.5s;
    }

    .form_catalouge .form__group + .form__field_sort .form__label {
        left: 0;
        transition: 0.5s;
    }

    .form_catalouge .form__group + .form__field_sort.form__field_filter-open {
        padding-left: 20px;
    }

    .form_catalouge .form__group + .form__field_sort.form__field_filter-open .form__label {
        left: 20px;
    }

    .form__field_price .form__select-options {
        width: auto;
        min-width: 335px;
    }

    .form__range-inputs {
        margin-bottom: 10px;
    }

    .form__select-options {
        padding: 10px 24px;
    }

    .form_catalouge .form__field_sort {
        position: relative;
        top: unset;
    }

    .form__field_calendar .form__input,
    .form__field_calendar.form__field_open .form__input {
        background-position: right 14px center;
    }

    .daterangepicker.show-calendar {
        width: auto;
        left: 20px !important;
        right: 20px !important;
        padding: 10px;
    }

    .daterangepicker .calendar-table table th, .daterangepicker .calendar-table table td {
        height: 36px;
        width: auto;
        min-width: auto;
    }

    .tabs {
        display: block;
    }

    .tabs__nav.scroll-wrapper {
        padding-right: 12px !important;
    }

    .tabs__link {
        padding-right: 14px;
    }

    .tabs__container {
        width: 100%;
    }

    .form__field_category .tabs__icon {
        width: 52px;
    }

    .form__field_category .form__select-options {
        padding: 22px 18px 32px 22px;
    }

    .form__field_category .form__select-options .form__field-title:first-child {
        display: none;
    }

    .form__field_category .tabs__nav {
        width: 100%;
        height: 280px;
    }

    .form__field_category .tabs__content {
        width: 100%;
        margin-left: 0;
        height: auto;
        padding-top: 10px;
    }

    .form__field_category .form__field-subtitle {
        opacity: 0;
    }

    .comments__input,
    .form__select .form__input,
    .form__field_calendar .form__input {
        font-size: 16px;
    }

    .form__field_sort .form__input {
        font-size: 18px;
    }

    .category__content {
        padding: 0px 14px 0px 20px;
        margin-left: -20px;
        margin-right: -20px;
        box-shadow: none;
    }

    .category:after {
        display: none;
    }

    .category__title {
        padding-bottom: 30px;
    }

    .category .tabs__nav {
        width: 100%;
        height: 320px;
        margin-bottom: 36px;
    }

    .category .tabs__container {
        width: calc(100% + 34px);
        margin-top: 20px;
        margin-left: -20px;
    }

    .category .tabs__container.scroll-wrapper {
        padding-right: 0 !important;
    }

    .category .tabs__container.scroll-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .category .tabs__container.scrollbar-inner > .scroll-element div {
        left: 20px;
    }

    .category__course-list {
        flex-wrap: nowrap;
    }

    .category__course {
        width: 88%;
        max-width: 100%;
        flex-shrink: 0;
        margin-right: 20px;
    }

    .category__course:last-child {
        width: calc(88% + 20px);
        padding-right: 20px;
    }

    .category__course:last-child .category__course-photo {
        border-radius: 8px;
        overflow: hidden;
    }

    .category__course:last-child .category__course-photo:after {
        width: calc(100% - 20px);
        border-radius: 8px;
    }

    .event-card_big .event-card__photo {
		height: 320px;
    }

    .event-card_big .event-card__info {
        flex-wrap: wrap;
        left: 16px;
        right: 16px;
    }

    .event-card_big .event-card__title {
        bottom: 100px;
        left: 16px;
        right: 16px;
    }

    .event-card_big .event-card__sticker {
        left: 16px;
    }

    .event-card_big .event-card__footer {
        padding: 16px 0 0 0;
    }

    .event-card_big .event-card__category {
        width: 100%;
        padding-bottom: 14px;
    }

    .event-card_big .event-card__category:before {
        top: 4px;
    }

    .event-card_big .event-card__price .dot:first-child {
        display: none;
    }

    .event-card_big .event-card__reviews {
        white-space: nowrap;
    }

    .event-card_big .event-card__author {
        flex-shrink: 0;
        width: 44%;
    }

    .event-card_big .author__name {
        line-height: 20px;
    }

    .event-card .event-card__front {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .event-card .event-card__front .event-card__author {
        width: 50%;
        padding-bottom: 0;
    }

    .event-card .event-card__front .event-card__price {
        width: 44%;
        position: static;
        display: flex;
        flex-wrap: wrap;
    }

    .event-card .event-card__front .event-card__title {
        padding: 0;
    }

    .catalouge__list .event-card {
        width: 100%;
    }

    .catalouge__list .event-card,
    .slider-content .event-card {
        height: 332px;
    }

    .catalouge__list .event-card_big {
        width: 100%;
        height: 360px;
    }

    .catalouge__list .event-card_big:first-child {
        order: unset;
    }

    .catalouge__list .event-card__more-text {
        height: unset;
        max-height: 100px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .selection-list .event-card_big .event-card__title {
        font-size: 24px;
        line-height: 34px;
    }

    .events-list, .events-list .event-card:last-child {
        display: block;
    }

    .events-list .event-card {
        width: 100%;
        height: 332px;
        margin-bottom: 36px;
    }

    .events-list .event-card_big {
        width: 100%;
        height: 395px;
        margin-bottom: 16px;
    }

    .events-list .event-card__more-text {
        -webkit-line-clamp: 4;
    }

    .events-list .event-card__photo {
        margin-top: -10px;
    }

    .events-list .event-card_big .event-card__photo {
        margin-top: 0;
    }

    .slider-nav .slick-arrow {
        top: 20%;
    }

    .slider-nav .slick-next {
        background-size: 40%;
        right: 0;
    }

    .slider-nav .slick-prev {
        background-size: 40%;
        right: 50px;
        left: auto;
    }

    .slider-nav__item.slick-current {
        border: none;
    }

    .nextevents__all {
        padding-top: 0;
    }

    .nextevents__slider-content .nextevents__slider-content-item:nth-child(2n+2) .events-list .event-card:last-child {
        display: none;
    }

    .authors__item {
        width: 100%;
    }

    .authors__image {
        height: 300px;
    }

    .pagenav {
        flex-wrap: wrap;
    }

    .pagenav__pages {
        order: 1;
        margin-bottom: 16px;
        width: 100%;
        justify-content: space-between;
    }

    .pagenav__button_prev {
        order: 2;
    }

    .pagenav__button_next {
        order: 3;
    }

    .pagenav__page {
        margin: 0;
    }

    .about__title {
        font-size: 38px;
        line-height: 52px;
    }

    .about__subtitle {
        font-size: 28px;
    }

    .about__item {
        display: block;
    }

    .about .about__item .about__image {
        width: 100%;
        left: 0;
        padding-bottom: 24px;
    }

    .about__content {
        width: 100%;
    }

    .footer__subscribe .footer__container {
        display: block;
    }

    .footer__text, .footer__title, .footer__subtitle {
        display: block;
    }

    .footer__text {
        width: 100%;
        padding-bottom: 32px;
    }

    .footer__form {
        padding: 0;
        display: block;
        margin-bottom: 24px;
    }

    .footer__form-input {
        border-radius: 100px;
        margin-bottom: 24px;
        text-align: center;
    }

    .footer__form-button {
        border-radius: 100px;
        margin: 0;
        width: 100%;
    }

    .footer__button {
        justify-content: center;
    }

    .footer__bottom .footer__container {
        justify-content: center;
    }

    .footer__menu {
        order: 2;
        display: block;
        width: 100%;
        text-align: center;
        margin-bottom: 24px;
        margin-top: 14px;
    }

    .footer__logo {
        order: 1;
        margin-top: 8px;
    }

    .footer__social {
        order: 3;
    }

    .footer__menu .menu__item {
        padding: 8px 0;
    }

    .footer__social-link {
        margin: 0 8px;
    }

}


/* iPhone 5 */

@media screen and (max-width: 360px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .header_main .header__container {
        height: 100px;
    }

    .header_main .header__logo img {
        width: 100px;
    }

    .header__button {
        margin: 0 6px;
    }

    .header__submenu-icon {
        min-width: 20px;
    }

    .header__submenu-item {
        font-size: 16px;
    }

    .main__title {
        font-size: 28px;
    }

    .breadcrumbs__separ {
        padding: 0 6px;
    }

    .maintitle__title {
        font-size: 35px;
        line-height: 42px;
    }

    .maintitle__category {
        font-size: 22px;
    }

    .maintitle__start .maintitle__text {
        line-height: 20px;
    }

    .news__text {
        font-size: 16px;
    }

    .checklists__more .checklists__more-title {
        font-size: 26px;
    }

    .form__field_sort {
        width: 150px;
        margin-left: 10px;
    }

    .form__group + .form__field_sort {
        margin-left: 0;
    }

    .form__field_price .form__select-options {
        min-width: 290px;
    }

    .daterangepicker.show-calendar {
        left: 15px !important;
        right: 15px !important;
    }

    .daterangepicker.show-calendar .drp-calendar.left,
    .daterangepicker.show-calendar .drp-calendar.right {
        padding: 0;
    }

    .form__field_category .tabs__nav {
        width: 260px;
        height: 222px;
    }

    .form__field_category .form__select-options {
        padding: 22px 12px 22px 22px;
    }

    .form__field_category .tabs__link {
        height: 52px;
    }

    .form__field_category .tabs__icon {
        width: 46px;
    }

    .form__field_category .tabs__icon img {
        transform: scale(0.7);
    }

    .form__field_category .tabs__link-text {
        width: 148px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .event-info__register-title {
        font-size: 29px;
        line-height: 40px;
    }

    .event-info__register {
        padding: 32px 26px;
    }

    .event-info__register-label {
        padding-right: 8px;
    }

    .authors__image {
        height: 260px;
    }

    .catalouge__list .event-card_big {
        height: 360px;
    }

    .catalouge__list .event-card {
        height: 342px;
    }

    .event-card .event-card__front {
        display: block;
    }

    .event-card .event-card__front .event-card__author {
        width: 100%;
        padding-bottom: 18px;
    }

    .event-card .event-card__front .event-card__price {
        width: 100%;
        display: block;
    }

    .event-card .event-card__front .event-card__title {
        padding: 20px 0;
    }

    .catalouge__list .event-card__more-text {
        -webkit-line-clamp: 3;
    }

    .events__container {
        padding-bottom: 64px;
    }

    .events-list .event-card__photo {
        margin-top: 0;
    }

    .events-list .event-card .event-card__front .event-card__author {
        padding-bottom: 10px;
    }

    .events-list .event-card .event-card__front .event-card__title {
        padding: 16px 0;
    }

    .events-list .event-card__more-text {
        -webkit-line-clamp: 3;
    }

    .nextevents__button {
        font-size: 12px;
    }

    .best__title {
        font-size: 24px;
    }

    .best__text {
        font-size: 11px;
    }

    .best__slider-title {
        font-size: 26px;
    }

    .best__slider .slick-next {
        background-size: 36%;
        right: -24px;
    }

    .best__slider .slick-prev {
        background-size: 36%;
        left: -24px;
    }

    .pagenav__page {
        width: 40px;
        height: 40px;
    }

    .about__title {
        font-size: 32px;
        line-height: 44px;
    }

    .about__subtitle {
        font-size: 24px;
    }

    .about__text {
        font-size: 16px;
        line-height: 32px;
    }

    .footer__subtitle {
        display: none;
    }

    #search .popup__box {
        padding: 0 30px 60px;
    }
}


/* Small laptops */

@media screen and (min-width: 1024px) and (max-height: 680px) {
    .main {
        height: 700px;
        background: url(img/main-bg.jpg) bottom center no-repeat;
    }

    .main__image img {
        width: 570px;
    }

    .main__image {
        margin-left: -100px;
    }

    .main__title {
        font-size: 48px;
        line-height: 58px;
    }

    .main__content {
        flex-shrink: 0;
        max-width: 825px;
    }

    .about__image img {
        width: 100%;
    }

    .about__item:nth-child(2n) .about__image {
        left: -50px;
    }

    .about__item:nth-child(2n+1) .about__image {
        right: -30px;
    }

    .best__image img {
        width: 230px;
    }

    .best__content {
        max-width: 100%;
        margin-top: -60px;
    }

    .breadcrumbs__container {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    .maintitle__category {
        font-size: 22px;
        line-height: 28px;
        padding-bottom: 0;
    }

    .maintitle__title {
        font-size: 56px;
        line-height: 56px;
        padding-top: 10px;
        padding-bottom: 8px;
    }

    .maintitle__info {
        padding-top: 15px;
    }

    .maintitle__container {
        padding-bottom: 22px;
    }

    .article__mainimage {
        height: 400px;
    }
}


/* Phones Landscape */

@media screen and (max-height: 414px) {
    /* .container {max-width: 414px;} */
    .header__container {
        max-width: 768px;
    }

}


/* Style for FireFox */

@-moz-document url-prefix() {

    @media screen and (min-width: 1024px) {

        .scroll-wrapper.scrollbar-inner {
            padding-right: 0 !important;
        }

        .tabs__nav,
        .checklists__file-list {
            padding-right: 20px !important;
        }

        .form__field_category .form__select-options {
            min-width: 380px;
        }

        .form__field_category .tabs__container .scroll-bar {
            display: none;
        }

        .category__course {
            width: 100%;
        }

        .form__range-inputs .comments__input {
            -moz-appearance: textfield;
        }

        .form__select:before, .comments__select:before {
            content: '';
            display: block;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            cursor: pointer;
        }

        .form__select_icon::before {
            transform: unset;
        }

        .form__field_rating .form__select_icon::before {
            background: url(img/star-icon.svg) left 15px center no-repeat;
        }

        .form__field_rating .form__select_open.form__select_icon::before {
            background: url(img/star-icon_green.svg) left 15px center no-repeat;
        }

        .form__field_activity .form__select_icon::before {
            background: url(img/activity-icon.svg) left 18px center no-repeat;
        }

        .form__field_activity .form__select_open.form__select_icon::before {
            background: url(img/activity-icon_green.svg) left 18px center no-repeat;
        }

    }
}
