/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

 html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
    /* 2 */
}

/* Sections
     ========================================================================== */

/**
   * Remove the margin in all browsers.
   */

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 1.75em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

/**
   * Add the correct display in IE 10.
   */

[hidden] {
    display: none;
}

html {
    font-size: 16px;
}

img {
    max-width: 100%;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.3;
    color: rgb(92, 92, 92);
    border-top: 4px solid rgb(0, 168, 198);
    /* padding-top: 1.5rem; */
}
.logo {
    color: #000;font-size: 40px;
    font-weight: 700;
    text-decoration: none;
    /* margin-bottom: 1.5rem; */
}
.red {
    color: red;
}
.content-header {
    background:linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),url(../images/header.jpg);
    background-size: cover;
    background-position:center;
    color: #fff;
    margin-left: -30px;
    margin-right: -30px;
    padding: 15% 30px 15px;

}
.burger {
    color: inherit;
    text-decoration: none;
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer {
    background-color: #222;
    color: #fff;
    padding: 15px;
    text-align: center;
    margin-top: 1rem;
}
.content-header__title {
    margin: 0;
}
.row {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
}
.col {
    padding: 0 15px;
    flex-grow: 1;
}
.sidebar {
    max-width: 200px;
    width: 100%;
    flex-shrink: 0;
}
.tags {
    margin-bottom: 1rem;
}
.tag {

    display: inline-block;
    background-color: rgb(212, 237, 252);
    color: rgb(56, 147, 193);
    font-size: 0.875rem;
    padding: 2px 7px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(117, 185, 221);
    border-image: initial;
    border-radius: 0px;
    text-decoration: none;
    margin: 5px 2px;
}
.mt0 {
    margin-top: 0;
}
.mb0 {
    margin-bottom: 0;
}
p, h1, h2, h3, h4, ol, ul {
    margin: 1rem 0;
}
h1, h2, h3 {
    line-height: 1.2;
}
.section {
    padding: 15px;
}
.section>*:first-child {
    margin-top: 0;
}

.section>*:last-child {
    margin-bottom: 0;
}
.container {
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;

}
.float-img {
    width: 200px;
    float: left;
    margin-right: 15px;
}
.content {
    box-shadow: 1px 1px 10px 0px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 15px 30px;
}

.subtitle {
    border-left: 4px solid #349dee;
    padding-left: 1rem;
    color: #fff;
    opacity: 0.88;
}

.text-center {
    text-align: center;
}

.image {
    margin: 1rem 0;
    text-align: center;
}
.image img {
    max-width: 450px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.image-caption {
    font-size: 0.8em;
    text-align: center;
    display: block;
    margin-top: 0.5rem;
    font-style: italic;
}

.bg {
    margin: 1rem 0;
}

.bg--yellow {
    background-color: rgb(255, 242, 204);
    border: 1px solid #222;
}
ul {
    padding-left: 25px;
}
tr:nth-child(2) td {
    vertical-align: middle;
}
td {
    vertical-align: top;
    border: 1px solid #222;
    padding: 10px;
}
table {
    border-collapse: collapse;
}

.order {
    display: flex;
    align-items: center;
    justify-content: center;

}
.order__title {
    background-color: #222;
    color: #fff;
    text-align: center;
    margin-top: 0;
    padding: 0.5rem;
    margin-bottom: 0;
}

.order__product {
    max-width: 300px;
    width: 100%;
    padding: 0 25px;
}

.order__form {
    max-width: 350px;
    width: 100%;
}

.form__input {
    width: 100%;
    margin-bottom: 15px;
}

.form__btn {
    width: 100%;
}

.btn {
    display: inline-block;
    outline: none;
    border: none;
    cursor: pointer;
    padding: 12px;
    background: rgb(229, 0, 38);
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-family: inherit;
    border-radius: 5px;
    transition: all 400ms;
    box-shadow: 5px 5px px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    color: #fff;
    background: rgb(123, 27, 43);
}


.input {
    background: #fff;
    font-family: inherit;
    font-size: 16px;
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    display: inline-block;
    width: 100%;
    resize: none;
}
.price {
    display: flex;
    justify-content: center;
    padding: 5px;
    background: #f3f3f3;
    border-radius: 10px;
    margin: 15px 0;
}

.price__item {
    padding: 0 10px;
    text-align: center;
    width: 50%;
}

.price__item-title {
    font-weight: 700;
    font-size: 0.9em;
}

.price__item--old {
    border-right: 1px solid #ddd;
}

.price__item-value--old {
    text-decoration: line-through;
    font-size: 22px;
    color: gray;
}

.price__item-value--new {
    color: red;
    font-weight: 700;
    font-size: 26px;
    text-shadow: 0 0 1px darkred;
}
.lastpack-wrap {
    display: inline-block;
    text-align: center;
    padding: 1rem;
    background: red;
    color: #fff;
    text-shadow: 0 -1px 0 #000000, 0 -1px 0 #000000, 0 1px 0 #000000, 0 1px 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
    border-radius: 5px;
}
.comment:not(:last-child) {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #ccc;
}

.comment__ava {
    margin-right: 1rem;
    width: 50px;
    float: left;
}
.comment__name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1em;
}
.comment__text, .comment__footer {
    margin-left: calc(50px + 1rem);
}
.footer {
    text-align: center;
}

.comment__img {
    width: 300px;
    display: block;
    margin-top: 10px;
}
.comment__footer {
    display: flex;
    align-items: center;
    gap: 0 5px;
}
.comment__footer-btn {
    color: inherit;
    background-color: transparent;
    border: none;
    outline: none;
    cursor: pointer;
}
.dislike.active {
    color: red;
}
.like.active {
    color: green;
}
.comment__footer-btn svg {
    pointer-events: none;
}
.comment__date {
    margin-bottom: 0.5rem;
}
.comment__text {
    margin-bottom: 0.5rem;
}
.adult {
    max-width: 500px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    cursor: pointer;
    display: block;
}

.adult:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(../images/18_plus.png);
    background-position: center;
    background-size: 100px;
    background-color: #fff;
    background-repeat: no-repeat;
    box-shadow: 0 0 10px #000;
    position: absolute;
    left: 0;
    top: 0;
    background-repeat: no-repeat
}

.adult--open:before {
    display: none
}
.sidebar__item {
    font-size: 0.875rem;
    color: inherit;
    text-decoration: none;
    display: block;
}
.sidebar__item:hover {
    text-decoration: underline;
}
.sidebar__item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}
.answer {
    margin-left: 60px;
}
.mt0 {
    margin-top: 0;
}
@media screen and (max-width: 991px) {
    .sidebar:first-of-type {
        display: none;
    }
    .order {
        flex-direction: column;
    }
}
@media screen and (max-width: 767px) {
    .sidebar:last-of-type {
        display: none;
    }
    body {
        font-size: 16px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 22px;
    }
    h3 {
        font-size: 22px;
    }
    .image img {
        max-width: 400px;
    }
    .adult {
        max-width: 400px;
    }
    .comment__img {
        width: 250px;
    }

    .float-img {
        float: none;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1rem;
    }
    .content {
        padding: 15px;
    }
    .content-header {
        margin: 0 -15px;
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and (max-width: 479px) {
    table {
        width: 700px;
    }

    .footer {
        margin-left: 0;
    }
    .table-wrap {
        overflow-x: auto;
    }
    html {
        font-size: 14px;
    }
    h1 {
        font-size: 22px;
    }
    h2 {
        font-size: 20px;
    }
    h3 {
        font-size: 18px;
    }
    .image img {
        max-width: 300px;
        width: 100%;
    }
    .adult {
        max-width: 300px;
    }
    .comment__img {
        width: 220px;
    }


    .adult:before {
        background-size: 50px;
    }
    .comment__date {
        display: block;
    }
    .col {
        padding: 0;
    }
    .row {
        margin: 0;
        display: block;
    }
    .content {

        border: none;
        box-shadow: none;
    }

    .container {
        padding: 0;
    }
    body {
        padding-top: 0;
    }
    .answer {
        margin-left: 30px;
    }

}
