* {
    vertical-align: baseline;
    font-family: inherit;
    font-style: inherit;
    font-size: 100%;
    border: none;
    padding: 0;
    margin: 0
}

body {
    padding: 0;
    font-family: 'Merriweather', serif;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
pre,
blockquote,
form,
ul,
ol,
dl {
    margin: 20px 0
}

img {
    display: block;
    max-width: 100%
}

li,
dd,
blockquote {
    line-height: 1.4;
    list-style-type: none;
    margin-top: 0;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: 1px;
}

ul {
    display: block;
    margin-bottom: 0;
    margin-left: 20px;
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

.container {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.page__head {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background-image: url("img/head.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin-right: -30px;
    margin-left: -30px;
    margin-bottom: 30px;
    padding: 30px;
}

.page__head-top {
    color: #fff;
    font-weight: 700;
}

.page__head-top span {
    margin-right: 5px;
    margin-left: 5px;
    font-size: 18px;
    font-weight: 300;
}

.page__body .page__head > span {
    color: #fff;
    margin-bottom: 0;
    margin-top: auto;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
}

.page__body .page__head p:nth-child(3) {
    color: #fff;
    font-family: 'Merriweather', serif;
    border-left: 5px solid #6fd7f7;
    padding-left: 20px;
}

.page__body .page__head p:last-child {
    display: inline-block;
    color: #c3c3c3;
    margin-right: auto;
    border-radius: 5px;
    font-size: 20px;
}

.page {
    margin-bottom: 60px;
    margin-right: 60px;
    margin-left: 60px;
}

.page__body {
    padding: 0 30px 30px;
    background-color: #fff;
    box-shadow: 0 0 45px #d8d8d8;
}

.page__body h1 {
    margin-top: 0;
    font-size: 30px;
    font-weight: 700;
    font-family: 'Merriweather', serif;
    line-height: 1.2;
}

.page__body h3 {
    margin-top: 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    font-family: 'Merriweather', serif;
}

.page__body h2 {
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.page__body h2 + p {
    margin-top: 10px;
}

.page__body p {
    display: block;
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
}

.page__body a {
    text-decoration: none;
    color: #0094bf;
}

.page__body p + h2 {
    margin-top: 30px;
}

.page__body p + ul {
    margin-top: 5px;
}

.all-form {
    font-family: sans-serif;
    width: 100%;
    color: #000;
    font-size: 16px;
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

.all-form__time {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

.all-form__time>span {
    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;
    text-align: center;
    margin-bottom: 20px;
    line-height: 40px;
}

.all-form__title span {
    color: #50b27c;
}

.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;
    align-items: 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;
    }
}

.commits {
    margin-top: 15px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px
}

.send-message {
    margin-top: 30px;
}

.commits__title {
    margin-bottom: 15px;
    font-size: 24px
}

.commits__item+.commits__item {
    padding-top: 25px
}

.commits__item.hide .commits__add {
    display: none
}

.commits__item+.commits__item {
    margin-top: 20px;
    border-top: 1px solid #eaeaea
}

.commits__item:first-child {
    padding-top: 0
}

.commits__head {
    display: flex;
    align-items: center;
    margin-bottom: 5px
}

.commits__face {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    background-color: gray;
    overflow: hidden
}

.commits__face img {
    display: block;
    width: 100%
}

.commits__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.tac img {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.commits__date {
    font-size: 12px
}

.commits__description {
    color: #4c4c4c;
    line-height: 20px;
    letter-spacing: 1px;
}

.commits__media {
    margin-top: 10px
}

.commits__success {
    display: inline-block;
    padding: 5px 15px;
    margin-top: 20px;
    font-style: italic;
    font-size: 12px;
    background-color: #e2e2e2
}

.commits__media img {
    display: block;
    max-width: 100%
}

.commits__add-title {
    margin-bottom: 10px
}

.commits__field-name {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
    box-sizing: border-box;
    border: 1px solid #b9b7b7
}

.commits__field-message {
    display: block;
    width: 100%;
    height: 100px;
    margin-bottom: 10px;
    padding: 5px;
    resize: none;
    box-sizing: border-box;
    border: 1px solid #b9b7b7
}

.commits__item_hide {
    display: none
}

.commits_error {
    border-color: red
}

.commits__sucses {
    background-color: #a1caa6;
    color: #fff;
    display: inline-block;
    padding: 7px 20px;
    margin-top: 15px;
    font-style: italic
}

.commits__add-btn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 12px;
    color: #ffffff;
    background-color: #b10000;
    text-decoration: none;
    opacity: .9;
    text-transform: uppercase;
    outline: 0;
    border: 0;
    cursor: pointer
}

.commits__add-btn:hover {
    transform: scale(.98);
    opacity: 1
}

.mybtn {
    display: inline-block;
    padding: 10px 25px;
    font-size: 12px;
    color: #ffffff;
    background-color: #b10000;
    text-decoration: none;
    opacity: .9;
    text-transform: uppercase
}

.mybtn:hover {
    transform: scale(.98);
    opacity: 1
}

@media(max-width:480px) {
    .commits__sucses {
        font-size: 12px
    }
}

@media (max-width: 576px) {
    .page {
        margin-right: 0;
        margin-left: 0;
    }

    .page__body {
        padding: 0 15px 30px;
    }

    .page__head {
        margin-left: -15px;
        margin-right: -15px;
        min-height: 190px;
    }

    .page__head-top {
        margin-bottom: 30px;
    }

    .page__body .page__head > span {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .page__body .page__head p:last-child {
        font-size: 14px;
    }

    .page__head-top span {
        font-size: 14px;
    }

    .page__body h1 {
        font-size: 24px;
    }

    .page__body p {
        font-size: 18px;
    }

    .page__body h2 {
        font-size: 22px;
    }

    .page__body p + h2 {
        margin-top: 20px;
    }
}