body,
html {
    height: 100%;
}

* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 140%;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #2B2D42;
    position: relative;
    background: linear-gradient(0deg, #F5F7FB, #F5F7FB), #FFFFFF;
}

img {
    max-width: 100%;
}

button,
input,
select,
textarea {
    outline: none;
    box-sizing: border-box;
}

input,
textarea,
select {
    height: 46px;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #2B2D42;
    border: 1px solid #ADB5BD;
    border-radius: 6px;
    padding: 0 16px;
    font-size: 15px;
}

input:focus,
textarea:focus,
select:focus {
    border: 1px solid #9FCAE5;
}

input.error {
    box-shadow: inset 0 0 0 2px red;
}

input.error ~ label {
    display: none !important;
}

input.error ~ .hint {
    display: block;
}

.input-field {
    position: relative;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #CAC5CD;
}

textarea {
    height: 158px;
    resize: none;
}

button,
a.button,
.dropdown-panel.mobile .row a {
	background: #ffffff;
    color: #000000;
    border: 1px solid #767676;
    background-color: transparent;
    border-radius: 20px;
    padding: 0 24px;
    height: 40px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}
a.button {
    display: flex;
    align-items: center;
}
a.button.mobile {
    display: none;
}

a.button:hover,
button:hover {
    background: #ADB5BD !important;
    color: white !important;
}
a.button:hover {
    text-decoration: none;
}

button:active {
    background: #1895E3;
}

.title h1,
.title h2,
.caption h1,
.caption h2,
.address h1 {
    font-size: inherit !important;
    line-height: inherit !important;
    margin: 0 !important;
}

a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration-line: underline;
    color: #266FFFE6;
}

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

p {
    margin: 0;
}

.fr {
    float: right;
}

.wrapper {
    overflow: hidden;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}
.dn,
.mobile {
    display: none;
}

.flex.inline {
    display: inline-flex;
}

.flex.jcsb {
    justify-content: space-between;
}

.flex.jce {
    justify-content: flex-end;
}

.flex.ais {
    align-items: flex-start;
}

.flex.aic {
    align-items: center;
}

.flex.jcc {
    justify-content: center;
}

.flex.aib {
    align-items: flex-end;
}

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

.flex.grow {
    flex-grow: 2;
}

.container {
    max-width: 1200px;
    padding: 0 15px;
    margin: 0 auto;
}

.caption {
    font-weight: 700;
    font-size: 24px;
}
.caption.answers-count {
    margin: 0;
}

.col-4 {
    flex-basis: 25%;
}

.dropdown-panel.mobile {
    display: none;
    position: relative;
    margin: 0 -15px;
    background: #E6ECF1;
    padding: 24px 15px 30px 15px;
    z-index: 1;
}

.dropdown-panel.mobile.show {
    display: block;
}

.dropdown-panel.mobile .search-block {
    margin: 0 0 24px 0;
}

.dropdown-panel.mobile .row a {
    justify-content: center;
    align-items: center;
    display: flex;
    flex-grow: 1;
}

.dropdown-panel.mobile .row a.add {
    flex-grow: 0;
    margin-right: 9px;
    background: #266FFFE6 url('../img/icon-plus.svg') center center no-repeat;
    width: 110px;
}

.dropdown-panel.mobile .row a.add:hover {
    background: #ADB5BD url('../img/icon-plus.svg') center center no-repeat !important;
}

.dropdown-panel.mobile .top-close {
    width: 50px;
    height: 50px;
    background: #E6ECF1 url('../img/arrow-top.svg') center center no-repeat;
    border-radius: 32px;
    bottom: -20px;
    right: 0;
    position: absolute;
    cursor: pointer;
}

.search-block {
    flex-grow: 1;
    border: 1px solid #ADB5BD;
    border-radius: 36px;
    margin: 0 50px;
    position: relative;
    background-color: white;
    padding: 3px;
}

.search-block button {
    width: 40px;
    height: 40px;
    border-radius: 36px;
    padding: 0;
    background: #397bfe url('../img/icon-search.svg') center center no-repeat;
}

.search-block button:hover {
    background: #ADB5BD url('../img/icon-search.svg') center center no-repeat !important;
}

.search-block input {
    border: 0;
    border-radius: 0 6px 6px 0;
    flex-grow: 1;
    height: 40px;
    background-color: transparent;
}

header {
    position: relative;
    padding: 45px 0;
    background-color: white;
    border-bottom: 1px solid #767676;
}

header .logo {
    width: 186px;
}

header .right-menu a:hover {
    text-decoration: none;
}

header .right-menu a.button,
header .right-menu button {
    margin-left: 12px;
}

header .question {
    background: #266FFFE6;
    position: relative;
    padding-left: 48px;
	color: #fff;
}

header .question:before {
    content: '';
    position: absolute;
    color: white;
    font-size: 36px;
    width: 22px;
    height: 22px;
    background: url('../img/icon-plus.svg') center center no-repeat;
    left: 18px;
    top: 50%;
    margin-top: -11px;
    line-height: 36px;
}

header .reg {
    border: 1px solid #767676;
    background-color: transparent;
    color: #000000;
}

header .reg:hover {
    border-color: #ADB5BD;
}

.content {
    padding: 60px 0;
}

.content > .left {
    flex-basis: 66%;
}

.content > .left .row-top {
    margin-bottom: 20px;
    padding: 0 30px;
    flex-wrap: nowrap;
}

.content > .left .row-top .navigate {
    display: flex;
    flex-wrap: nowrap;
}

.content > .left .caption span {
    border: 1px solid #ADB5BD;
    line-height: 28px;
    width: 30px;
    font-size: 20px;
    text-align: center;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 30px;
}

.content .sidebar {
    flex-basis: 31.5%;
}

.content .sidebar .chat {
    overflow: hidden;
}

.content .sidebar .chat .wrap {
    background-color: white;
    border-radius: 25px;
    margin-bottom: 27px;
    height: 600px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.content .sidebar .chat .top-close {
    width: 50px;
    height: 50px;
    background: #E6ECF1 url('../img/arrow-top.svg') center center no-repeat;
    border-radius: 32px;
    float: right;
    margin-bottom: 40px;
    cursor: pointer;
}

.top-btns {
    background: #E6ECF1;
    border-radius: 6px;
    padding: 20px 30px;
    margin-bottom: 60px;
}

.top-btns a.button,
.top-btns button {
    color: #2B2D42;
    font-size: 20px;
    flex-grow: 1;
    height: 68px;
}

.top-btns span {
    display: inline-block;
    margin: 0 37px;
    font-weight: 500;
    font-size: 20px;
}

.top-btns .ask {
    background: #FFDC91;
}

.top-btns .ask:hover {
    background: #FFDC91;
    box-shadow: 0 4px 16px rgba(255, 174, 0, 0.5);
}

.top-btns .ask:active {
    background: #EFC56C;
}

.top-btns .answer {
    background: #AEE875;
}

.top-btns .answer:hover {
    background: #AEE875;
    box-shadow: 0 4px 16px rgba(140, 255, 27, 0.5);
}

.top-btns .answer:active {
    background: #97DA54;
}

.not-found {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 0 100px 0;
}

.not-found p {
    font-weight: 600;
    font-size: 28px;
    margin: 80px 0 35px 0;
}

.not-found a.button,
.not-found a button {
    background: #266FFFE6;
    padding: 0 80px;
}

.feed-list {

}

.feed-list .caption {
    font-size: 24px;
    margin: 0 0 35px 0;
}

.caption.blue {
    display: inline-block;
    position: relative;
}

.feed-list .question {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E5E5;
}

.feed-list .question > p {
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
}

.feed-list .answer {
    padding-top: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #E5E5E5;
}

.feed-list .answer .caption {
    font-size: 22px;
    margin-bottom: 0;
}

.feed-list .answer > p {
    margin-top: 12px;
}

.feed-list .ask-form,
.feed-list form {
    margin-top: 80px;
    margin-bottom: 30px;
}

.feed-list .ask-form p.head,
.feed-list form p {
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 20px;
}
.editor-container {
    position: relative;
}
#editor,
.feed-list .ask-form textarea,
.feed-list form textarea {
    padding: 55px 40px 30px 40px;
    background: #FFFFFF;
    border: 1px solid #ADB5BD;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
    border-radius: 24px;
    resize: none;
    width: 100%;
    height: 245px;
    margin: 7px 0;
}

.feed-list .ask-form a.button,
.feed-list .ask-form button,
.feed-list form a.button,
.feed-list form button {
    background: #266FFFE6;
    font-size: 16px;
    height: 54px;
    border-radius: 34px;
	color: #fff;
}

.feed-list .ask-form .load-img,
.feed-list form .load-img {
    background: #F5F8FB;
    border: 1px dashed #ADB5BD;
    color: #2B2D42;
    margin-right: 9px;
}

.feed-list .item {
    margin-bottom: 30px;
    border: 1px solid #ADB5BD;
    border-radius: 10px;
    position: relative;
}

.feed-list .item > a,
.feed-list .item > p,
.feed-list .item > h1,
.feed-list .item > .editor-content {
    padding: 15px 30px;
    background: #FFFFFF;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
    border: 1px solid transparent;
    border-radius: 10px;
    display: block;
    color: #000;
}

.feed-list .item > a:hover {
    text-decoration: none;
    border: 1px solid #266FFFE6;
}

.feed-list .item .info {
    padding: 20px 30px;
}

.feed-list .item .info ul {
    justify-content: space-between;
    flex-wrap: nowrap;
}

.feed-list .item .info ul li {
    font-size: 14px;
    margin-right: 20px;
}

.feed-list .item .info ul li:last-of-type {
    margin-left: auto;
    margin-right: 0;
}

.feed-list .item .info ul li .count {
    border: 1px solid #ADB5BD;
    line-height: 22px;
    width: 22px;
    text-align: center;
    border-radius: 50%;
}

.feed-list .item .info ul li .estimate {
    padding: 10px 30px;
    border: 1px solid #266FFFE6;
    border-radius: 34px;
    display: flex;
}

.feed-list .item .info ul li .estimate span {
    display: inline-block;
    margin: 0 15px;
}

.feed-list .item .info ul li .edit,
.feed-list .item .info ul li .check,
.feed-list .item .info ul li .delete {
    display: inline-block;
    width: 46px;
    height: 46px;
    border: 1px solid #ADB5BD;
    border-radius: 36px;
    cursor: pointer;
}

.feed-list .item .info ul li .edit {
    background: url('../img/icon-edit.svg') center center no-repeat;
}

.feed-list .item .info ul li .delete {
    background: url('../img/icon-trash.svg') center center no-repeat;
}
.feed-list .item .info ul li .check {
    background: url('../img/icon-check.svg') center center no-repeat;
}

.feed-list .item .info ul li .views {
    position: relative;
    padding-left: 20px;
}

.feed-list .item .info ul li .views:before {
    background: url('../img/icon-preview.svg') left center no-repeat;
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 22px;
    height: 20px;
}

.feed-list .item .info ul li > .views:before {
    -webkit-filter: invert(100%);
    /* Safari/Chrome */
    filter: invert(100%);
}

.feed-list .item .info ul li span,
.feed-list .item .info ul li .count,
.feed-list .item .info ul li .views {
    display: inline-block;
    line-height: 20px;
}

.feed-list .item .info ul li span.mobile,
.feed-list .item .info ul li .count.mobile,
.feed-list .item .info ul li .views.mobile {
    display: none;
}

.feed-list .item .info ul li p {
    display: inline-block;
    margin-right: 8px;
    line-height: 22px;
}
.feed-list .item .info ul li a.button {
    display: flex;
    text-decoration: none;
}
.feed-list .item .info ul li a.button p {
    color: #000;
}

.feed-list .item .info ul li p[class*="icon"] {
    padding-left: 40px;
}

.feed-list .item .info ul li p.bold {
    font-weight: 700;
    padding: 0;
}

.feed-list .item .info ul li .like,
.feed-list .item .info ul li .dislike {
    height: 16px;
    line-height: 18px;
    font-size: 18px;
    padding-left: 18px;
    cursor: pointer;
}

.feed-list .item .info ul li .like {
    background: url('../img/icon-like.svg') left center no-repeat;
}

.feed-list .item .info ul li .dislike {
    background: url('../img/icon-dislike.svg') left center no-repeat;
}

.feed-list .item .info ul li a {
    display: inline-block;
    color: #000;
    text-decoration: underline;
}

.feed-list .item .info ul li a:hover {
    text-decoration: none;
}

.feed-list .item .panel {
    margin-top: 24px;
    font-weight: 500;
}

.feed-list .item .panel .count {
    color: #323C45;
}

.feed-list .item .panel a.button,
.feed-list .item .panel button {
    margin-left: 70px;
    background: #AEE875;
    color: #2B2D42;
    height: 32px;
    font-size: 14px;
    border-radius: 4px;
}

.feed-list .item .panel a.button:hover,
.feed-list .item .panel button:hover {
    background: #AEE875;
    box-shadow: 0 4px 16px rgba(140, 255, 27, 0.5);
}

.feed-list .item .panel button:active {
    background: #97DA54;
}

.feed-list .item .panel .icons a {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 16px;
    cursor: pointer;
}

.feed-list .load {
    margin-top: 12px;
    background: #F5F8FB;
    border: 1px solid #266FFFE6;
    border-radius: 34px;
    height: 56px;
}

.feed-list .load:hover {
    background: #266FFFE6;
    border-color: #ADB5BD;
}

.feed-list .load:hover span,
.feed-list .load:hover p {
    color: white;
}

.feed-list .load:hover span:before,
.feed-list .load:hover p:before {
    filter: brightness(0) invert(1);
}

.feed-list .load:active {
    background: #266FFFE6;
    border: 3px solid #266FFFE6;
}

.feed-list .load:active span,
.feed-list .load:active p {
    color: white;
}

.feed-list .load:active span:before,
.feed-list .load:active p:before {
    filter: brightness(0) invert(1);
}

.feed-list .load span,
.feed-list .load p {
    color: #323C45;
    line-height: 24px;
}

.feed-list .load span:before,
.feed-list .load p:before {
    display: inline-block;
    vertical-align: middle;
    margin-right: 13px;
    margin-top: -2px;
    width: 21px;
    height: 24px;
    content: '';
    background: url('../img/icon-load.svg') center center no-repeat;
}

.description p {
    margin-bottom: 15px;
}
.description .caption {
    margin: 0 0 20px 0;
}

.description a {
    color: #000;
    border-bottom: 1px dashed #266FFFE6;
}

.description a:hover {
    border-bottom-color: transparent;
    text-decoration: none;
}

.without-answer {
    padding: 16px 20px;
}

.bottom-info {
    background-color: white;
    border-radius: 6px;
    padding: 30px;
    margin-top: 32px;
}

.bottom-info .caption {
    margin-bottom: 15px;
}

.list-questions .caption {
    margin-bottom: 25px;
}

.list-questions ul li {
    font-size: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #F2F2F2;
}

.list-questions ul li .top .subject {
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    padding-left: 35px;
}

.list-questions ul li .top .time {
    font-size: 14px;
}

.list-questions ul li a,
.list-questions ul li p {
    display: block;
    margin: 12px 0 0 0;
}

.list-questions a.button,
.list-questions button {
    margin-top: 24px;
}

.new-questions {
    background-color: white;
    border-radius: 6px;
    padding: 30px;
    margin-top: 44px;
}

.new-questions .caption {
    font-size: 20px;
    margin-bottom: 0;
}

.new-questions ul li {
    margin-top: 25px;
    font-size: 16px;
}

.new-questions ul li:last-of-type {
    border: 0;
}

.new-questions ul li p {
    margin-top: 20px;
}

.new-questions .time {
    margin-left: 36px;
    font-weight: 700;
    padding-left: 25px;
}

.rating-users .caption {
    margin: 0 0 25px 0;
    font-size: 28px;
}

.rating-users ul li {
    font-weight: 600;
    margin-top: 10px;
    font-size: 16px;
}
.rating-users ul li {
    font-weight: 600;
    margin-top: 10px;
    font-size: 16px;
}

.rating-users ul li a {
    display: inline-block;
}

.rating-users ul li a:hover {
    text-decoration: none;
}

.rating-users ul li a img {
    vertical-align: middle;
    margin-right: 13px;
    width: 50px;
    height: 50px;
    border-radius: 50px;
}

.rating-users ul li a p {
    display: inline-block;
    vertical-align: middle;
}

.rating-users ul li .points {
    padding-left: 35px;
    line-height: 27px;
    background: url('../img/icon-top.svg') left center no-repeat;
}

.breadcrumb ul {
    list-style-type: none;
    overflow: hidden;
}

.breadcrumb ul li {
    float: left;
    position: relative;
    padding-right: 16px;
    font-size: 14px;
}

.breadcrumb ul li a {
    color: #000;
    text-decoration: underline;
}

.breadcrumb ul li a:hover {
    text-decoration: none;
}

.breadcrumb ul li a:after {
    background-image: url(../img/icon-right.svg);
    background-size: cover;
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 19px;
    height: 22px;
}

.profile {
    text-align: center;
    margin-bottom: 100px;
}
.profile .password-form {
    margin-top: 30px;
    display: none;
}
.profile .d-block {
    display: block;
}
.profile .d-none {
    display: none;
}
.profile.main,
.profile.settings {
    display: none;
}
.profile button.transparent {
    height: 44px;
    background: transparent;
    padding: 10px 20px;
    border: 2px solid #89CFFB;
    font-weight: 500;
    font-size: 15px;
    color: #89CFFB;
    margin-top: 16px;
}
.profile.main.md-active,
.profile.settings.md-active {
    display: block;
}
.profile.settings .avatar {
    border: 1px solid #ADB5BD;
}


.profile .icon-ban,
.profile .icon-unlock,
.profile .icon-settings {
    width: 26px;
    height: 26px;
    background: url('../img/icon-settings.svg') center center no-repeat;
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -13px;
    cursor: pointer;
}
.profile .icon-settings {
    background: url('../img/icon-settings.svg') center center no-repeat;
}
.profile .icon-settings.close {
    background: url('../img/icon-close.svg') center center no-repeat;
}
.profile .icon-ban {
    background: url('../img/icon-ban.svg') center center no-repeat;
}
.profile .icon-unlock {
    background: url('../img/icon-unlock.svg') center center no-repeat;
}

.profile .row {
    position: relative;
    margin-bottom: 30px;
}

.profile .avatar {
    height: 100px;
    border: 1px solid #266FFFE6;
    border-radius: 49px;
    display: inline-block;
    flex-shrink: 0;
}

.profile .avatar img {
    border-radius: 50%;
    display: inline-block;
    vertical-align: middle;
    margin-right: 20px;
    height: 98px;
    width: 98px;
}

.profile .avatar p {
    display: inline-block;
    vertical-align: middle;
    font-size: 18px;
    line-height: 27px;
    padding-left: 35px;
    font-weight: 600;
    background: url('../img/icon-top.svg') left center no-repeat;
    margin-right: 30px;
}

.profile .avatar a {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    display: inline-block;
    vertical-align: middle;
    margin-right: 50px;
}

.profile .name {
    margin-right: 10px;
    font-weight: 600;
    font-size: 28px;
}

.profile .icon-soc {
    width: 50px;
    height: 50px;
    display: inline-block;
}

.profile .tiktok {
    background: url('../img/icon-tiktok.svg') center center no-repeat;
}

.profile .vk {
    background: url('../img/icon-vk.svg') center center no-repeat;
}

.profile .instagram {
    background: url('../img/icon-instagram.svg') center center no-repeat;
}

.profile .twitch {
    background: url('../img/icon-twitch.svg') center center no-repeat;
}

.profile .fb {
    background: url('../img/icon-facebook.svg') center center no-repeat;
}

.profile .tabs {
    border: 1px solid #266FFFE6;
    border-radius: 34px;
}

.profile .tabs a {
    height: 54px;
    width: 49%;
    color: #2B2D42;
    line-height: 54px;
    border-radius: 34px;
}

.profile .tabs a.active {
    background: #1EA6FB;
    box-shadow: 0 0 0 1px #1EA6FB;
    color: white;
}

.profile .tabs a:hover {
    text-decoration: none;
}

.profile form .caption {
    text-align: left;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.profile form button {
    padding: 0 60px;
    margin: 20px auto 0 auto;
    display: block;
}

.profile form input {
    border-radius: 36px;
}

.profile form > input {
    width: 100%;
    margin-bottom: 12px;
}

.profile form .flex {
    margin-bottom: 12px;
}

.profile form div input {
    flex-grow: 1;
    margin-left: 17px;
}
.profile .text-red-600 {
    display: block;
    margin-bottom: 16px;
}

.navigate button {
    border: 1px solid #ADB5BD;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    padding: 0;
    background: url(../img/icon-left.svg) center center no-repeat;
    background-size: 80% 80%;
}

.navigate button.right {
    background: url(../img/icon-right.svg) center center no-repeat;
    background-size: 80% 80%;
    margin: 0 5px;
}

.navigate button.right:hover {
    background: url(../img/icon-right.svg) center center no-repeat !important;
    background-size: 80% 80% !important;
}

.navigate button:hover {
    box-shadow: none;
    background: url(../img/icon-left.svg) center center no-repeat !important;
    background-size: 80% 80% !important;
}

footer {
    background-color: white;
}

footer .container {
    padding-top: 40px;
    padding-bottom: 40px;
}

footer .left {
    flex-grow: 1;
    padding-right: 60px;
}

footer .left a:not(.logo) {
    margin-left: 40px;
}

footer .left .logo {
    margin-right: auto;
}

footer .col {
    padding: 10px 0;
    width: 20%;
    margin-left: auto;
    border-left: 1px solid #767676;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer .col a.button,
footer .col button {
    margin: 8px auto;
}

footer .caption {
    margin: 0 0 30px 0;
    font-size: 24px;
}

footer p {
    font-size: 15px;
}

footer ul li {
    margin: 0 0 12px 0;
}

footer ul li p {
    font-weight: 600;
    font-size: 16px;
}

footer .logo {
    width: 186px;
    display: block;
}

footer .sep {
    height: 1px;
    background: #767676;
}

footer a.button:not(.question, .reg),
footer button:not(.question, .reg) {
    color: #000000;
    border: 1px solid #767676;
    background-color: transparent;
}

footer a.button:not(.question, .reg):hover,
footer button:not(.question, .reg):hover {
    background: #1EA6FB;
    color: white;
    border: 1px solid #ADB5BD;
}

footer a.button.reg,
footer button.reg {
    background: #266FFFE6;
	color: #fff;
}

.custom-select {
    position: relative;
}

.custom-select select {
    display: none;
}

.custom-select .select-items div,
.custom-select .select-selected {
    padding: 0 16px;
    cursor: pointer;
    line-height: 30px;
    min-width: 135px;
}

.custom-select .select-items {
    position: absolute;
    overflow: hidden;
    top: 100%;
    left: 0;
    margin-top: 1px;
    width: 130%;
    z-index: 99;
    background: #F5F8FB;
    border-radius: 6px;
}

.custom-select .select-items div:hover,
.custom-select .select-items .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}

.custom-select .select-hide {
    display: none;
}

.custom-select .select-selected {
    border-radius: 6px 0 0 6px;
    background: #F5F8FB;
    line-height: 44px;
    height: 44px;
    padding-right: 28px;
}

.custom-select .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 3px solid #2B2D42;
}

.md-overlay {
    width: 100%;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.8);
    background-size: cover;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    height: 100%;
    visibility: hidden;
}

.md-show {
    visibility: visible !important;
}

.close {
    position: absolute;
    right: 8px;
    top: 8px;
    width: 40px;
    height: 40px;
    background: url(../img/close.svg) center center no-repeat;
    cursor: pointer;
}

.md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

.pop-up.md-show {
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

a.close:hover {
    opacity: 0.95;
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}

.pop-up {
    position: fixed;
    border-radius: 36px;
    overflow: hidden;
    z-index: 101;
    visibility: hidden;
    -ms-transform: translateY(-30%);
    transform: translateY(-30%);
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    left: 50%;
    top: 50%;
    background-color: white;
    margin-top: -223px;
    width: 360px;
    margin-left: -180px;
    padding: 45px 40px 0 40px;
    text-align: center;
}
.pop-block .btn-ban {
    color: #1699b0;
    font-weight: 600;
    font-size: 20px;
    cursor: pointer;
}
.form {
    border-radius: 6px;
    width: 360px;
    padding: 45px 40px 0 40px;
    text-align: center;
    margin: auto;
}
.form .caption,
.pop-up .caption {
    font-size: 24px;
    margin-bottom: 20px;
}

.form .reset,
.pop-up .reset {
    height: 20px;
}

.form input,
.pop-up input {
    width: 100%;
    margin-bottom: 12px;
    border-radius: 36px;
}

.form button,
.pop-up button {
    width: 100%;
    border-radius: 36px;
}

.form span,
.pop-up span {
    display: block;
    margin: 16px 0;
}

.form .bottom,
.pop-up .bottom {
    padding: 20px 40px;
    margin: 20px -40px 0 -40px;
    background: #F5F7FB;
    border-top: 1px solid #767676;
}

.form form,
.pop-up form {
    margin-bottom: 12px;
}

.form a,
.pop-up a {
    color: #000;
    text-decoration: underline;
}

.form a:hover,
.pop-up a:hover {
    text-decoration: none;
}

.form .ggl,
.pop-up .ggl {
    background: #ea4335;
    border-radius: 36px;
    color: #fff;
    height: 46px;
    display: flex;
    text-decoration: none;
    padding: 0 24px;
    align-items: center;
    justify-content: center;
}

.form .ggl p,
.pop-up .ggl p {
    background: url(../img/google.png) left center no-repeat;
    padding-left: 25px;
}

.form .ggl:hover,
.pop-up .ggl:hover {
    box-shadow: none;
}

@media (max-width: 1020px) {
    header .logo {
        width: 160px;
    }

    header .search input {
        border-left: 0;
        border-radius: 6px;
    }

    .top-btns span {
        margin: 0 15px;
        font-size: 18px;
    }

    .top-btns a.button,
    .top-btns button {
        font-size: 18px;
    }

    footer .logo {
        width: 160px;
    }
}

@media (max-width: 860px) {
    .caption.blue::after {
        content: '';
        width: 12px;
        height: 18px;
        background: url(../img/arrow-link.svg) center no-repeat;
        position: absolute;
        top: 5px;
        right: -20px;
    }
    .mobile {
        display: block;
    }
    footer .mobile.flex {
        display: flex;
    }
    a.button.mobile {
        display: flex;
    }


    .mobile.views {
        display: inline-block !important;
    }

    .container {
        max-width: 375px;
        min-width: 340px;
    }

    .content {
        padding-bottom: 40px;
    }

    .content > .left {
        flex-basis: 100%;
        order: 2;
    }

    .content > .left .row-top {
        padding: 0;
    }

    .content > .left .row-top .navigate {
        display: none;
    }

    .content .sidebar {
        order: 1;
        flex-basis: 100%;
    }

    .content .sidebar .chat {
        display: none;
    }

    .content .sidebar .chat .wrap {
        margin-top: 16px;
    }

    .content .sidebar .chat.show {
        display: block;
    }

    .content .sidebar > div {
        margin-bottom: 36px;
    }

    .col-4 {
        flex-basis: 100%;
    }

    .dropdown-panel .search-block {
        display: flex;
    }

    header {
        padding: 20px 0;
    }

    header .container {
        position: relative;
    }

    header .mob-btns {
        position: absolute;
        right: 0;
        top: 100%;
        margin-top: 21px;
    }

    header .mob-btns button,
    header .mob-btns .button {
        padding: 0;
        background: #266FFFE6;
        width: 50px;
        height: 50px;
        border-radius: 0 0 32px 32px;
        margin-left: 10px;
        float: right;
    }

    header .mob-btns button.btn-chat {
        background: #E6ECF1 url('../img/icon-chat.svg') center 13px no-repeat;
    }

    header .mob-btns button.btn-chat:hover {
        background: #ADB5BD url('../img/icon-chat.svg') center 13px no-repeat !important;
    }

    header .mob-btns .button.btn-burger {
        padding: 17px 17px;
    }

    header .mob-btns .button.btn-burger .line {
        width: 17px;
        height: 3px;
        background: #fff;
        margin-bottom: 3px;
        border-radius: 5px;
    }

    header .search-block {
        display: none;
    }

    header .right-menu .question,
    header .right-menu .reg {
        display: none;
    }

    header .right-menu .login {
        font-size: 17px;
        font-weight: 400;
    }

    header .show + .right-menu {
        display: block;
        position: absolute;
        left: 0;
        top: 100%;
        right: 0;
        z-index: 1;
        margin-top: 6px;
        padding: 60px 0;
        background-color: white;
        box-shadow: 0 4px 16px rgba(43, 45, 66, 0.15);
    }

    .top-btns {
        padding: 20px 15px;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 44px;
    }

    .top-btns span {
        display: none;
    }

    .top-btns a.button,
    .top-btns button {
        width: 100%;
    }

    .top-btns a.button.ask,
    .top-btns button.ask {
        margin-bottom: 20px;
    }

    .feed-list .question > p {
        font-size: 16px;
    }

    .feed-list .answer .info ul li:first-of-type {
        margin-left: 40px;
    }

    .feed-list.tab-questions .item .info {
        padding-right: 10px;
    }

    .feed-list.tab-questions .item .info ul li p {
        margin-right: 2px;
    }

    .feed-list.tab-questions .item .info ul li:nth-child(2) {
        display: none;
    }

    .feed-list.tab-questions .item .info ul li:nth-child(3) {
        float: none;
        margin-top: 0;
    }

    .feed-list.tab-questions .item .info ul li:nth-child(5) {
        float: right;
        margin-top: -96px;
    }

    .feed-list.tab-questions .item .info ul li:nth-child(6) {
        float: right;
        margin-top: -41px;
    }

    .feed-list .item {
        margin-bottom: 20px;
    }

    .feed-list .item .info {
        padding: 12px 20px 20px 20px;
    }

    .feed-list .item .info ul {
        display: block;
        overflow: hidden;
    }

    .feed-list .item .info ul li {
        margin-right: 0;
        margin-bottom: 4px;
        padding: 3px 0;
    }

    .feed-list .item .info ul li:nth-child(3) {
        float: right;
        margin-top: -43px;
    }

    .feed-list .item .info ul li:nth-child(5) {
        float: right;
        margin-top: -41px;
    }

    .feed-list .item .info ul li a {
        max-width: 150px;
        overflow: hidden;
        display: inline-block;
        vertical-align: middle;
    }

    .feed-list .item .info ul li .estimate {
        border-color: transparent;
        padding: 0;
    }

    .feed-list .item .info ul li .views {
        color: #2B2D42;
        padding-right: 10px;
    }

    .feed-list .item .info ul li .views:before {
        -webkit-filter: grayscale(1) invert(0.4);
        filter: grayscale(1) invert(0.4);
    }

    .feed-list .item .info ul li a.button,
    .feed-list .item .info ul li button {
        position: relative;
        padding: 0 18px;
    }

    .feed-list .item .info ul li a.button p,
    .feed-list .item .info ul li button p {
        margin-right: 0;
    }

    .feed-list .item .info ul li a.button .views,
    .feed-list .item .info ul li button .views {
        display: none;
    }

    .feed-list .item .panel {
        margin-top: 12px;
    }

    .feed-list .item .panel a.button,
    .feed-list .item .panel button {
        margin-left: 20px;
    }

    .feed-list .item .panel .left {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 15px;
    }

    .feed-list .item .panel .icons {
        width: 100%;
        display: flex;
        justify-content: end;
    }

    .feed-list .ask-form,
    .feed-list form {
        margin-top: 30px;
		margin-bottom: 30px;
        display: flex;
        flex-direction: column;
    }

    .feed-list .ask-form p,
    .feed-list form p {
        order: 1;
    }

    .editor-container {
        order: 2;
    }
    #editor,
    .feed-list .ask-form textarea,
    .feed-list form textarea {
        height: 187px;
        order: 2;
    }

    .feed-list .ask-form a.button,
    .feed-list .ask-form button,
    .feed-list form a.button,
    .feed-list form button {
        width: 100%;
        height: 54px;
        border-radius: 34px;
        order: 4;
    }

    .feed-list .ask-form .load-img,
    .feed-list form .load-img {
        width: 230px;
        order: 3;
        margin: 0 auto 12px auto;
        padding: 0;
    }

    .profile {
        padding-top: 20px;
        margin-bottom: 50px;
    }

    .description {
        margin-top: 44px;
    }

    .mobile-hide {
        display: none;
    }

    footer a.button,
    footer button {
        font-size: 17px;
        padding: 0 15px;
        font-weight: 400;
    }

    footer .container:first-of-type {
        padding-top: 26px;
    }

    footer .container:last-of-type {
        text-align: center;
    }

    footer .container:last-of-type ul.col-4 {
        flex-basis: 50%;
        margin: 50px 0;
    }

    footer .container:last-of-type .col-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    footer .left {
        padding-right: 0;
        flex-direction: column;
        width: 100%;
    }

    footer .left a.button,
    footer .left button {
        display: none;
    }

    footer .left .logo {
        margin: 10px auto !important;
    }

    footer .contacts {
        display: none;
    }

    footer .col {
        width: 53%;
        border-left: 0;
    }

    footer .col a.button,
    footer .col button {
        padding-bottom: 2px;
    }

    footer .col:last-of-type {
        border-left: 1px solid #767676;
        width: 47%;
    }
    .feed-list .load {
        background: #F5F8FB;
        border: 1px solid #266FFFE6;
    }
}
/*new custom styles*/
.center {
    text-align: center;
}
.second-page {
    background-color: white;
    border-radius: 6px;
    padding: 30px;
    margin-top: 32px;
}
.second-page ul {
    padding-left: 22px;
}
.second-page ul li {
    margin-bottom: 12px;
}
.second-page table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 15px;
}

.second-page td, th {
    border: 1px solid #dddddd;
    text-align: left;
    padding: 8px;
}
.support-form {
    margin-top: 0 !important;
}
.support-form textarea {
    padding: 30px 40px 30px 40px !important;
}
.support-form input {
    padding: 10px 40px 10px 40px;
    background: #FFFFFF;
    border: 1px solid #ADB5BD;
    border-radius: 24px;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
    resize: none;
    width: 100%;
    margin: 7px 0;
}
.support-form a.button,
.support-form button {
    margin: 7px 0;
}
.remember-me{
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    margin-bottom: 5px;
}
.remember-me input{
    width: 16px !important;
    height: 16px !important;
    margin: 0 5px 0 0 !important;
}
.remember-me span{
    display: inline-block !important;
    margin: 0 !important;
}
.text-red-600 {
    font-weight: 600;
    color: #b01616;
    margin-bottom: 12px;
}
.text-green-600 {
    font-weight: 600;
    color: #16b03d;
    margin-bottom: 16px;
}
.email-label {
    display: block;
    text-align: left;
    font-size: 12px;
    color: #ADB5BD;
    margin-bottom: 4px;
}
.preloader {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    display: none;
    z-index: 2;
}

.sk-folding-cube {
    width: 4em;
    height: 4em;
    position: relative;
    margin: auto;
    transform: rotateZ(45deg);
}

.sk-folding-cube .sk-cube {
    float: left;
    width: 50%;
    height: 50%;
    position: relative;
    transform: scale(1.1);
}

.sk-folding-cube .sk-cube:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #1EA6FB;
    animation: sk-folding-cube-angle 2.4s infinite linear both;
    transform-origin: 100% 100%;
}

.sk-folding-cube .sk-cube-1 {
    transform: scale(1.1) rotateZ(0deg);
}

.sk-folding-cube .sk-cube-1:before {
    animation-delay: 0s;
}

.sk-folding-cube .sk-cube-2 {
    transform: scale(1.1) rotateZ(90deg);
}

.sk-folding-cube .sk-cube-2:before {
    animation-delay: 0.3s;
}

.sk-folding-cube .sk-cube-3 {
    transform: scale(1.1) rotateZ(180deg);
}

.sk-folding-cube .sk-cube-3:before {
    animation-delay: 0.6s;
}

.sk-folding-cube .sk-cube-4 {
    transform: scale(1.1) rotateZ(270deg);
}

.sk-folding-cube .sk-cube-4:before {
    animation-delay: 0.9s;
}
@keyframes sk-folding-cube-angle {
    0%,
    10% {
        transform: perspective(140px) rotateX(-180deg);
        opacity: 0;
    }
    25%,
    75% {
        transform: perspective(140px) rotateX(0deg);
        opacity: 1;
    }
    90%,
    100% {
        transform: perspective(140px) rotateY(180deg);
        opacity: 0;
    }
}
.editor-content {
    overflow: hidden;
    word-break: break-word;
}
.editor-content h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
}
.editor-content ul {
    list-style: disc;
    padding-left: 40px;
}
.editor-content ul li,
.editor-content ol li {
    margin: 0;
    padding: 0;
    border: none;
}
.editor-content p {
    word-break: break-word;
    margin: 0 !important;
}
.check-answer {
    background: #cff09e;
}
.owner-answer {
    background: #faf9b6;
}
.images-container {
    margin-bottom: 7px;
}
.select-container {
    display: flex;
    margin-bottom: 7px;
}
.subjects-select,
.select-subject,
.select-grades {
    background: #F5F8FB;
    height: 44px;
    width: 50%;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
}
.subjects-select,
.select-subject {
    border-radius: 25px 0 0 25px;
    border-right-width: 0.5px;
}
.subjects-select {
    width: 135px;
    border-width: 0;
}
.select-grades {
    border-left-width: 0.5px;
    border-radius: 0 25px 25px 0;
}
.ql-editor {
    padding: 0 !important;
}
.ql-toolbar.ql-snow {
    padding: 10px 30px !important;
    background: #FFFFFF;
    border: 1px solid #ADB5BD !important;
    border-radius: 46px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1;
    margin: 0 !important;
}
.ql-editor.ql-blank::before {
    left: 40px !important;
}
.upload__inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}
.upload__btn {
    background: #F5F8FB;
    border: 1px dashed #266FFFE6;
    color: #2B2D42;
    margin-right: 9px;
    font-size: 16px;
    height: 54px;
    border-radius: 34px;
    justify-content: center;
    align-items: center;
    display: flex;
    cursor: pointer;
}
.upload__btn:hover {
    border-color: #1EA6FB;
    color: #1EA6FB;
}
.images-preview-container,
.upload__img-wrap {
    display: flex;
    flex-wrap: wrap;
}
.upload__img-box {
    width: 25%;
    padding: 6px;
}
.upload__img-box.preview {
    width: 100%;
}
.upload__img-box img {
    width: 100%;
}

.upload__img-close {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 10px;
    right: 10px;
    text-align: center;
    line-height: 24px;
    z-index: 1;
    cursor: pointer;
}
.upload__img-close:after {
    content: '\2716';
    font-size: 14px;
    color: white;
}
.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}
.images-preview-container .img-bg {
    cursor: pointer;
}
.pop-img img {
    width: 100%;
    margin-bottom: 45px;
}
.ql-align-center {
    text-align: center;
}
.ql-align-right {
    text-align: right;
}
.ql-align-left {
    text-align: left;
}
.ql-align-justify {
    text-align: justify;
}
.add-question-not-verify span{
    font-weight: 700;
    font-size: 18px;
}
.add-question-not-verify .btn-resend,
.chat .btn-resend {
    margin-top: 20px;
    display: inline-block;
    color: #1EA6FB;
}
.icons a {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-left: 16px;
    cursor: pointer;
}
.icons.absolute {
    position: absolute;
    top: 18px;
    right: 13px;
}
.icons a.icon-remove {
    background: url('../img/icon-remove.svg') center center no-repeat;
}
.icons a.icon-check {
    background: url('../img/icon-check.svg') center center no-repeat;
}
.icons a.icon-edit {
    background: url('../img/icon-editv2.svg') center center no-repeat;
}
.icons a.icon-ban {
    background: url('../img/icon-ban.svg') center center no-repeat;
}
.icons a.icon-unlock {
    background: url('../img/icon-unlock.svg') center center no-repeat;
}
.no-q-profile-btn,
.no-a-profile-btn {
    display: none;
}
.pop-up .caption-error {
    margin-bottom: 45px;
}
.chatbro_header {
    background-color: #fff !important;
    border-radius: 25px 25px 0 0 !important;
    height: 56px !important;
    color: #2B2D42 !important;
    border-bottom: 1px solid #F2F2F2;
    padding: 0 12px !important;
}
.chatbro_chat_name,
.chatbro_participant_wrapper_max,
.chatbro_header_button {
    background-color: #fff !important;
    color: #87878c !important;
}
.chatbro_body {
    border: none !important;
}
.chatbro_connecting_bottom {
    padding: 10px 0 !important;
    height: 56px !important;
}
.chatbro_connecting_bottom,
.chatbro_send {
    border-radius: 0 0 25px 25px !important;
    word-break: break-word;
}
.chatbro_send .chatbro_send_input_block {
    border-color: #F2F2F2 !important;
    padding: 10px 0 !important;
}
.chat .chat-btn {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    text-align: center;
    border-radius: 0 0 25px 25px;
    border-top: 1px solid #F2F2F2;
    display: none;
}
.chat .chat-message {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    text-align: center;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 25px;
}
.chat .chat-message span {
    width: 250px;
    font-weight: 700;
    font-size: 18px;
    display: block;
}
.chat .wrap-container {
    position: relative;
    max-width: 370px;
}
.overflow-hidden {
    overflow: hidden;
}
@media (max-width: 860px) {
    .upload__img-box {
        width: 50%;
    }
    .images-container {
        order: 3;
        margin: 0;
    }
    .upload__btn {
        width: 230px;
        margin: 0 auto 12px auto;
    }
    #editor {
        padding: 55px 30px 30px 30px;
    }
    .ql-toolbar.ql-snow {
        padding: 10px 20px !important;
    }
    .ql-editor.ql-blank::before {
        left: 30px !important;
    }
    .support-form textarea {
        padding: 30px !important;
    }
    .support-form input {
        padding: 10px 30px 10px 30px;
    }
    .chat {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        margin: 0 !important;
        z-index: 1;
    }
    .chat .wrap-container {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #E6ECF1;
        padding: 24px 15px 50px 15px;
    }
    .chat .wrap-container .wrap {
        width: 100%;
        height: 100% !important;
        margin: 0 !important;
    }
    .chat .wrap-container .chat-btn {
        bottom: 50px;
    }
    .chat .top-close {
        position: absolute;
        bottom: 0;
        right: 0;
        margin: 0 !important;
    }
}
.ads-mob {
    display: none;
}
@media (max-width: 768px) {
    .ads-mob {
        display: block;
    }
    .ads-desc {
        display: none;
    }
}
.paginate {
    margin: 32px 0;
    font-size: 20px;
}
.paginate .link.active {
    color: #1EA6FB;
}

.article-item {
    display: flex !important;
    align-items: center
}
.article-item p {
    width: 70%;
    margin-left: 16px
}
@media (max-width: 860px) {
    .article-item {
        display: block !important;
    }
    .article-item p {
        width: 100%;
        margin-left: 0
    }
}
