* {
    font-family: 'Arial', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #dddddd;
    background-image: url('img/bg.png');
    background-repeat: repeat-x;
    background-position: center top;
    background-attachment: fixed;
}
img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

main {
    background-color: #fff;
}

div, section, aside, header, footer, main, p, form, h1, h2, h3, h4, h5, h6 {
    display: block;
    width: 100%;
}

ul {
    padding-left: 20px;
}

p, h1, h2, h3, h4, h5, h6, ul {
    margin: 15px 0;
}

p {
    line-height: 1.5;
}

.flex {
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.wrap {
    max-width: 1100px;
}

.container {
    max-width: 1100px;
    width: 100%;
    padding: 0 15px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.header {
    background: #13a89e;
    color: #fff;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.header__container_nowrap {
    padding: 0;
    align-items: flex-start;
    flex-wrap: nowrap;
}

.header__container_top {
    justify-content: flex-start;
    padding: 0;
}

.header__top {
    color: #13a89e;
    background-color: #fff;
    text-transform: uppercase;
}

.header__top-item {
    margin: 10px;
    font-size: 12px;
    font-weight: 700;
}

.header__right {
    padding: 6px;
    position: relative;
    max-width: 40px;
    flex: 1 0 100%;
    display: flex;
    align-items: center;
}

.nav {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 10px;
}

.nav__item {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 800;
    padding: 10px;
    margin: 0 5px;
    cursor: pointer;
}
.nav__item_black {
    background-color: #000;
}

.header__input {
    display: block;
    width: 100%;
    color: #000;
    background: #fff;
    padding: 2px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.search {
    max-width: 20px;
    cursor: pointer;
}

.search path {
    fill: #fff
}

.title {
    font-size: 45px;
    color: #13a89e;
    margin-top: 20px;
}

.post {
    max-width: 740px;
    flex: 1 0;
    margin-right: 25px;
}

.breadcrumbs {
    display: flex;
    padding: 0;
    list-style: none;
}

.breadcrumbs__item {
    margin-right: 10px;
    color: #c3c3c3;
    font-size: 12px;
}

.breadcrumbs__item:after {
    content: ">";
    display: inline;
    margin-left: 10px;
}

.breadcrumbs__item:last-child:after {
    content: none;
}

.tags {
    display: flex;
    padding: 0;
    list-style: none;
}

.tags__item {
    margin-right: 10px;
    color: #fff;
    background-color: #000;
    font-size: 12px;
    padding: 5px;
}

.tags__item_aside {
    font-size: 10px;
    padding: 3px;
}

.post__title {
    font-weight: 400;
    font-size: 16px;
}


.logo {
    max-width: 280px;
    padding: 5px;
}

.soc {
    max-width: 120px;
    display: flex;
    align-items: center;
}

.soc__item {
    max-width: 30px;
    height: 30px;
    padding: 0 8px;
    margin: 0 5px;
    cursor: pointer;
}

.soc__svg {
    width: 100%;
    max-width: 30px;
    height: 100%;
    flex: 1 0 100%;
}

.soc__item_facebook {
    max-width: 25px;
}

.soc__svg path {
    fill: #13a89e;
}

.share {
    font-size: 10px;
    margin-left: 5px;
}

.aside {
    max-width: 300px;
    margin-top: 15px;
    padding: 15px;
}

.aside__item {
    margin-bottom: 50px;
}

.aside-date {
    margin: 0;
}

.aside__title {
    font-size: 17px;
    display: block;
    padding: 5px 5px 5px 0;
    margin: 5px 0 20px;
    background: #fff;
    position: relative;
}

.aside__title:before,
.aside__title:after {
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f5f5f5;
}

.aside__title:after {
    background-color: #13a89e;
    z-index: 2;
    width: 20%;
}

.aside__list {
    list-style: none;
    padding: 0;
}

.aside__list-item {
    font-weight: 700;
    border-bottom: 1px solid #ccc;
    padding: 5px 0;
    margin-bottom: 10px;
    font-size: 16px;
}

.aside__news {
    margin: 10px 0;
    cursor: pointer;
    padding-bottom: 10px;
    display: flex;
    align-items: flex-start;
}

.aside__img {
    display: block;
    width: 100%;
    max-width: 100px;
    padding-right: 15px;
}

.aside__title-background {
    font-size: 21px;
}

.aside__text {
    font-size: 14px;
    margin: 3px 0;
    line-height: 1.2;
}

.footer {
    align-self: flex-end;
    background-color: #13a89e;
    color: #fff;
    margin-top: 20px;
}

.footer__bg {
    padding: 15px 0;
    background: url('img/bg__footer.png') repeat-x center;
}

.footer__container {
    justify-content: space-between;
    align-items: flex-start;
}

.footer__item {
    margin: 10px;
}

.footer__left {
    max-width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer__img {
    max-width: 200px;
}

.footer__center {
    max-width: 450px;
    flex: 1 0 100%;
}

.footer__text {
    font-size: 14px;
    margin: 0 0 10px;
}

.footer__right {
    max-width: 300px;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}

footer .soc__svg path {
    fill: #fff
}

.footer__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin-bottom: 10px;
    list-style: none;
}

.footer__item {
    font-size: 13px;
    margin: 2px 10px;
    padding: 0 10px 0 0;
    position: relative;
}

.footer__item_right {
    max-width: 100%;
    flex: 1 0 100%;
    margin: 5px 0;
    text-align: right;
}

.footer__logo-right {
    max-width: 150px;
    flex: 1 0 100%;
    margin-bottom: 15px;
}

@media screen and (max-width: 991px) {
    .aside,
    .header__right {
        display: none;
    }

    .title {
        font-size: 32px;
        line-height: 1.2;
        margin: 10px 0;
    }

    .content {
        justify-content: center;
    }

    .post {
        flex: 1 0 100%;
        margin: 0;
    }

    .footer__center,
    .footer__right {
        margin: 10px 0;
    }

}

@media screen and (max-width: 768px) {
    .nav {
        display: none;
    }
}


.comment-block {
    width: 100%;
    margin-top: 30px;
}

.comment-block span {
    color: #000000;
    font-weight: 700;
}

.comment-header {
    border-bottom: 2px solid #e7e9ee;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.comment-heading {
    font-size: 1.5rem;
    color: #000;
}

.comment-heading:after {
    content: "";
    display: block;
    height: 2px;
    width: 120px;
    background-color: #2a2e2e;
    position: absolute;
    bottom: -2px;
}

.comment {
    display: flex;
    margin: 20px 0;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e8e8;
}

.comment-answer {
    margin-left: 60px;
}

.avatar {
    margin-right: 12px;
    flex: 1 0 100%;
    width: 100%;
    max-width: 70px;
    height: 70px;
    overflow: hidden;
    border-radius: 3px;
    background-color: lightgrey;
    background-size: cover;
    background-position: center;
}

.comment-date {
    color: grey;
    font-size: .8rem;
    text-decoration: none;
}

.comment-circle {
    display: inline-block;
    background-color: lightgrey;
    border-radius: 50%;
    width: 5px;
    height: 5px;
    margin: 5px;
    position: relative;
    top: 2px;
}

.comment-name {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
}

.comment-text {
    font-weight: 300;
}

.comment-info {
    margin-bottom: 10px;
}

.comment-text p {
    color: #000;
    margin: 0;
}

.comment .comment-content .comm-img {
    display: flex;
    align-items: flex-start;

    width: 40%;
    margin: 10px 0;
}

.order {
    font-size: 16px;
    display: block;
    text-align: center;
    background-color: #87daef;
    color: #2a2e2e;
    padding: 10px;
    border-radius: 5px;
    margin: 10px auto;
    max-width: 305px;
    text-transform: uppercase;
    text-decoration: none;
}

@media screen and (max-width: 991px) {
    nav {
        display: none;
    }

    .comment-text p {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {

    .main-content {
        flex-wrap: wrap;
    }

    aside {
        display: none;
    }

    .main-img {
        height: 250px;
    }

}

@media screen and (max-width: 568px) {

    .post-title {
        font-size: 32px;
        line-height: 1.3;
    }

    p, h2, h3 {
        line-height: 1.3;
    }

    h2 {
        font-size: 20px;
    }

    .main-title {
        font-size: 63px;
    }

    .avatar {
        max-width: 45px;
        height: 45px;
    }
}

.all-form {
    font-family: sans-serif;
    width: 100%;
    max-width: 620px;
    color: #000;
    font-size: 16px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 30px;
    margin-bottom: 30px;
}

.all-form__time {
    color: #000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.all-form__time > span {
    color: #000;
    display: block;
}

.all-form__count {
    color: red;
    margin-top: 15px;
}

.all-form__body {
    padding: 25px 45px;
    margin-top: 15px;
    background-color: #fff;
    -webkit-box-shadow: 4px 5px 10px 0px rgba(0, 0, 0, 0.25);
    box-shadow: 4px 5px 10px 0px rgba(0, 0, 0, 0.25);
}

.all-form__title {
    font-size: 33px;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 20px;
    line-height: 40px;
}

.all-form__title span {
    font-size: 33px;
    font-weight: 700;
    color: #50b27c;
    text-transform: uppercase;
}

.all-form__label > span {
    display: block;
    margin-bottom: 5px;
}

.all-form__label + .all-form__label {
    margin-top: 20px;
}

.all-form__field {
    display: block;
    width: 100%;
    height: 50px;
    border: 1px solid #d1d1d1;
    border-radius: 3px;
    padding: 10px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.all-form__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.all-form__btn {
    width: 100%;
    max-width: 320px;
    flex: 1 0 100%;
    padding: 15px 40px;
    border-radius: 3px;
    text-align: center;
    color: #fff;
    text-transform: uppercase;
    margin: 10px 20px 10px 0;
    background-color: #53b57f;
    background: rgb(90, 188, 134);
    background: -o-linear-gradient(top, rgba(90, 188, 134, 1) 0%, rgba(66, 163, 110, 1) 50%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(90, 188, 134, 1)), color-stop(50%, rgba(66, 163, 110, 1)));
    background: linear-gradient(180deg, rgba(90, 188, 134, 1) 0%, rgba(66, 163, 110, 1) 50%);
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    cursor: pointer;
    border: 0;
    font-size: 16px;
}

.all-form__btn:hover {
    text-indent: 10px;
    padding-right: 30px;
    -webkit-box-shadow: inset 10px 0px 20px 0px rgba(0, 0, 0, .4);
    box-shadow: inset 10px 0px 20px 0px rgba(0, 0, 0, .4);
}

.all-form__prices {
    max-width: 180px;
    flex: 1 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-form__price-new {
    margin-right: 15px;
    color: #49aa75;
    font-size: 20px;
    max-width: 80px;
    flex: 1 0 100%;
}

.all-form__price-old {
    font-size: 14px;
    color: #8c8c8c;
    text-decoration: line-through;
    max-width: 60px;
    flex: 1 0 100%;
}

@media (max-width: 576px) {
    .all-form__footer {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .all-form__btn {
        margin-right: 0;
        font-size: 15px;
    }

    .all-form__body {
        padding: 25px;
    }
}