* {
    box-sizing: border-box;
}

body {
    font-size: 16px;
    line-height: 28px;
    font-family: "Montserrat", sans-serif;
    color: #101418;
}

img {
    max-width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    color: #000;
    text-decoration: underline;
    font-weight: 700;
}

a:hover {
    opacity: 0.9;
}

.wrapper {
    overflow: hidden;
}

.button {
    font-family: "Montserrat", sans-serif;
    display: block;
    width: 100%;
    max-width: 280px;
    font-size: 16px;
    line-height: 16px;
    padding: 22px 10px;

    font-weight: 700;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;

    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#373b3e+1,0c0f12+67,0c0f12+77,0c0f12+100 */
    background: rgb(55, 59, 62);
    /* Old browsers */
    background: -moz-linear-gradient(top, rgba(55, 59, 62, 1) 1%, rgba(12, 15, 18, 1) 67%, rgba(12, 15, 18, 1) 77%, rgba(12, 15, 18, 1) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(55, 59, 62, 1) 1%, rgba(12, 15, 18, 1) 67%, rgba(12, 15, 18, 1) 77%, rgba(12, 15, 18, 1) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(55, 59, 62, 1) 1%, rgba(12, 15, 18, 1) 67%, rgba(12, 15, 18, 1) 77%, rgba(12, 15, 18, 1) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#373b3e', endColorstr='#0c0f12', GradientType=0);
    /* IE6-9 */

    border-radius: 30px;
    -webkit-box-shadow: 0px 3px 0px 1px rgba(7, 7, 8, 1);
    -moz-box-shadow: 0px 3px 0px 1px rgba(7, 7, 8, 1);
    box-shadow: 0px 3px 0px 1px rgba(7, 7, 8, 1);

    transition: all 0.3s;
}

.button:hover {
    color: #edc729;

    background-color: rgb(16, 20, 24);
    box-shadow: none;
}

.clearfix:after {
    content: "";

    display: table;
    clear: both;
}

.container {
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
}

/* HEADER */
.header {
    margin-bottom: 30px;
    padding: 20px 0;

    border-bottom: 1px solid rgba(16, 20, 24, 0.2);
}

.header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header .container .left {
    display: flex;
    align-items: center;
}

.header__logo {
    margin-right: 26px;
    line-height: 1;
}

.header__icons {
    width: 60px;
    height: 20px;
    display: flex;
    align-items: center;
    /*margin-top: 8px;*/
}

.nav {}

.nav__item {
    position: relative;

    margin-right: 20px;
    padding: 0 4px;

    font-weight: 700;
    font-size: 12px;
    color: #909192;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.nav__item_selected {
    color: #101418;
}

.nav__item-txt {
    position: relative;
    z-index: 2;
}

.nav__item-line {
    position: absolute;
    bottom: 4px;
    left: -2px;
    z-index: 1;

    width: 100%;
    height: 6px;

    opacity: 0;

    transition: all 0.3s;
}

.nav__item_selected .nav__item-line {
    opacity: 1;
}

.nav__item-line_green {
    background-color: #6cdb4b;
}

.nav__item-line_purple {
    background-color: #b3aaf2;
}

.nav__item-line_yellow {
    background-color: #edc729;
}

.nav__item-line_blue {
    background-color: #87d2f8;
}

.nav__item-line_pink {
    background-color: #f5abab;
}

.nav__item:hover {
    color: #101418;
}

.nav__item:hover .nav__item-line {
    opacity: 1;
}

.header__icon {
    display: inline-block;

    transition: all 0.3s;

    fill: #edc729;
    height: 20px;
}

.header__icon:hover {
    fill: #9fa1a3;
}

.header__icon:nth-child(1) {
    margin-right: 15px;
}

/* POST */

.post {
    float: left;
    width: 100%;
    max-width: 690px;
    margin-right: 30px;
}

.post__image {
    display: block;
    margin-bottom: 15px;
    width: 100%;
}

.post p,
.post__title {
    margin: 0 0 25px;
    padding: 0 30px;
}

.post__title {
    text-transform: lowercase;
}

.post__title:first-letter {
    text-transform: uppercase;
}

.post p {
    font-family: 'Merriweather', serif;
}

.title {
    margin: 35px 0 30px;

    font-weight: 700;
    font-size: 31px;
    line-height: 43px;
}

.title .tag {
    padding: 2px 5px;

    font-weight: 700;
    font-size: 10px;
    vertical-align: middle;
    color: #edc729;
    text-transform: uppercase;
    text-decoration: none;

    border: 1px solid #edc729;

    transition: all 0.5s;

    fill: #edc729;
    margin-left: 10px;
}

.title .tag:hover {
    color: #101418;

    background-color: #edc729;

    fill: #101418;
}

.post__info {
    margin-bottom: 25px;

    font-size: 12px;
}

.post__date {
    display: inline-block;
    margin-right: 30px;

    color: #909192;
}

.post__comment-length {
    color: #909192;
    text-decoration: none;

    border-bottom: 1px solid #edc729;

    transition: all 0.5s;
}

.post__comment-length:hover {
    color: #101418;
}

.aside {
    float: left;
    width: 100%;
    max-width: 270px;
}

/* specialist */

.specialist {
    font-family: 'Merriweather', serif;
    margin-bottom: 30px;
    padding: 30px 20px 30px;

    background-color: #e5e7e9;
}

.specialist__photo {
    float: left;
    width: 80px;
    margin-top: -32px;
}


.specialist__name {
    margin-bottom: 10px;
    margin-left: 100px;

    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    font-style: italic;
}

.specialist__info {
    margin-left: 100px;

    font-size: 12px;
    line-height: 18px;
}

.post__blockquote {
    margin: 0;
    margin-bottom: 30px;

    font-size: 12px;
    line-height: 18px;
    color: #909192;
}

.post__list {
    margin: 0 0 30px;
    padding-left: 30px;

    list-style-position: inside;
    list-style-type: none;
}

.post__list li {
    position: relative;

    padding-left: 20px;
}

.post__list li::before {
    content: "";
    position: absolute;
    top: 11px;
    left: 0;

    width: 8px;
    height: 8px;

    background-color: #edc729;
    border-radius: 50%;
}

.promo {
    font-family: 'Merriweather', serif;
    margin-bottom: 40px;
    padding: 30px 20px 30px;

    background-color: #edc729;
}

.promo p {
    margin-bottom: 0;
}

.promo b {
    font-style: italic;
}

.promo__product {
    float: left;
    margin-top: -37px;
}

.promo__text {
    margin-left: 115px;
}


.promo .button {
    margin-top: 20px;
}

.tags__item {
    display: inline-block;
    padding: 3px 5px;
    font-size: 10px;
    line-height: 11px;
    font-weight: 700;
    vertical-align: middle;
    color: #edc729;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.5s;
    fill: #edc729;
    letter-spacing: 0.5px;
    border: 1px solid #edc729;
}


.tags__item:hover {
    color: #101418;
    fill: #101418;
    background-color: #edc729;
}

.comments {
    position: relative;
    padding: 30px;
    border-top: 1px solid rgba(16, 20, 24, 0.2);
    margin-top: 40px;
    padding-bottom: 60px;
}

/*
.comments::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    height: 1px;
    width: 100vw;
    background-color: rgba(16, 20, 24, 0.2);
} */

.comments__title {
    font-size: 20px;
    line-height: 30px;
    font-weight: 700;
    margin-bottom: 40px;
}

.comment {
    margin-bottom: 30px;
}

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

.comment__ava {
    float: left;
    max-width: 50px;
    width: 100%;
}

.comment__text {
    font-family: 'Merriweather', serif;
    margin-left: 65px;
    font-size: 14px;
    line-height: 18px;
}

.comment__text p {
    padding: 0;
    margin-bottom: 10px;
    margin-top: 10px;
}

.comment__author,
.comment__date {
    color: #707274;
    font-size: 12px;
    font-weight: 700;
    font-style: italic;
    line-height: 16px;
    display: inline-block;
    vertical-align: top;
}

.comment__date {
    position: relative;
    margin-left: 25px;
}

.comment__date::before {
    position: absolute;
    content: '';
    top: 4px;
    left: -18px;
    width: 7px;
    height: 7px;
    background-color: #edc729;
}

.rating {}

.sidebar__title {
    position: relative;
    font-size: 16px;
    line-height: 22px;
    color: #101418;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    padding-left: 20px;
    padding-bottom: 15px;
    padding-top: 15px;
}

.sidebar {
    float: left;
    max-width: 270px;
    width: 100%;
}

.sidebar__item {
    margin-bottom: 25px;
}

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

.sidebar__title:before {
    position: absolute;
    content: "";
    display: block;
    width: 6px;
    height: 100%;
    background: #edc729;
    left: 0;
    top: 0;
}

.sidebar__item-img {
    position: relative;
}

.sidebar__tag {
    position: absolute;
    color: #edc729;
    font-size: 10px;
    line-height: 10px;
    font-weight: 700;
    padding: 5px;
    border: 1px solid #edc729;
    max-width: 86px;
    text-align: center;
    background: #fff;
    left: -10px;
    bottom: 0;
    min-width: 87px;
}

.sidebar__item-title {
    font-family: 'Merriweather', serif;
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    font-style: italic;
    margin-top: 10px;
}

.sidebar__item-title a {
    text-decoration: none;
}

.footer {
    background: #101418;
    padding-top: 15px;
    padding-bottom: 15px;
}

.footer img {
    float: left;
}

.footer__links {
    float: right;
}

.footer__links a {
    color: #909192;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    margin-right: 15px;
}

.footer__links a:hover {
    color: #edc729;
}

.footer__links a:last-child {
    margin-right: 0;
}

.footer-top {
    margin-bottom: 10px;
}

.footer p {
    font-size: 8px;
    line-height: 8px;
    color: #707274;
    font-weight: 700;
}

.rating__arrow {
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
}

.rating__arrow.up {
    background: url(../img/arrow_up_gray.png) no-repeat center;
    width: 11px;
    height: 6px;
    margin-right: 5px;
}

.rating__arrow.down {
    background: url(../img/arrow_down_gray.png) no-repeat center;
    width: 11px;
    height: 6px;
    margin-left: 5px;
}

.rating__number {
    display: inline-block;
    vertical-align: middle;
    font-weight: 700;
    color: #22a11b;
}

.rating__arrow.up:hover {
    background: url(../img/arrow_up.png) no-repeat center;
    width: 11px;
    height: 6px;
}

.rating__arrow.down:hover {
    background: url(../img/arrow_down.png) no-repeat center;
    width: 11px;
    height: 6px;
}

.mob {
    display: none;
}
.price{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}
@media screen and (max-width:1023px) {
    .mob {
        display: inline-block;
    }

    .container {
        max-width: 320px;
    }


    .header {
        padding: 15px 0;
        margin-bottom: 20px;
    }

    .nav {
        display: none;
    }

    .header__icons {
        width: auto;
    }



    .header__icon:nth-child(2) {
        margin-right: 15px;
    }

    .header__icon svg {
        height: 15px;
    }

    .header .container .left {
        margin-right: 65px;
    }

    .header .container {
        padding: 0 20px;
    }

    .header__logo {
        width: 105px;
        float: none;
    }

    .title {
        margin-top: 20px;
        font-size: 18px;
        line-height: 26px;
        margin-bottom: 20px;
        padding: 0 20px;
    }

    .post p,
    .post__title {
        padding: 0 20px;
    }

    .post__info {
        padding: 0 20px;
    }

    .specialist__photo {
        margin-top: -8px;
    }

    .specialist {
        padding: 25px 20px 25px;
    }

    .post__blockquote {
        padding: 0 20px;
        font-size: 10px;
        margin-top: 10px;
    }

    .post__list {
        padding-right: 20px;
        padding-left: 20px;
    }

    .promo__product {
        display: block;
        float: none;
        margin-left: auto;
        margin-right: auto;
        margin-top: -95px;
    }

    .promo__text {
        margin-left: 0;
        font-size: 13px;
        line-height: 22px;
    }

    .promo p {
        text-align: center;
        margin-top: 10px;
        padding-left: 0;
        padding-right: 0;
    }

    .promo {
        padding-bottom: 40px;
        margin-top: 100px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .tags {
        padding: 0 20px;
    }

    .comments {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
    }

    .comments__title {
        margin-bottom: 30px;
    }

    .comment__text p {
        padding-left: 0;
        margin-top: 5px;
        font-size: 12px;
    }

    .sidebar {
        display: none;
    }

    .footer img {
        float: none;
        display: block;
        margin: auto;
    }

    .footer__links {
        display: none;
    }

    .footer .container {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        padding-bottom: 10px;
    }

    .footer p {
        line-height: 12px;
    }

    .post__image {
        margin-bottom: 0;
    }

    .post p {
        font-size: 14px;
        line-height: 22px;
    }

    .post__title {
        font-size: 15px;
        line-height: 22px;
        margin-bottom: 10px;
    }

    .post__list li {
        font-family: 'Merriweather', serif;
        font-size: 13px;
        line-height: 22px;
        margin-bottom: 24px;
    }

    .post__list li:last-child {
        margin-bottom: 0;
    }

    .promo b {
        display: block;
    }

    .header__logo img {
        padding-top: 5px;
    }


}