/* Shared site typography, fonts, content and buttons; preserves the original app.css prefix order. */

sms.clearfix:after {
    display: table;
    clear: both;
    content: '';
}

.clearfix:after {
    display: table;
    clear: both;
    content: '';
}

.centered {
    display: table;
    width: 100%;
    height: 100%;
}

.centered > * {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.hide {
    display: none !important;
}

@font-face {
    font-family: 'PT Sans';
    font-weight: 400;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/ptsans/regular/PTSans-Regular.eot');
    src: url('../fonts/ptsans/regular/PTSans-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ptsans/regular/PTSans-Regular.woff2') format('woff2'), url('../fonts/ptsans/regular/PTSans-Regular.woff') format('woff'), url('../fonts/ptsans/regular/PTSans-Regular.ttf') format('truetype'), url('../fonts/ptsans/regular/PTSans-Regular.svg#PT Sans') format('svg');
}

@font-face {
    font-family: 'PT Sans';
    font-weight: 700;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/ptsans/bold/PTSans-Bold.eot');
    src: url('../fonts/ptsans/bold/PTSans-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/ptsans/bold/PTSans-Bold.woff2') format('woff2'), url('../fonts/ptsans/bold/PTSans-Bold.woff') format('woff'), url('../fonts/ptsans/bold/PTSans-Bold.ttf') format('truetype'), url('../fonts/ptsans/bold/PTSans-Bold.svg#PT Sans') format('svg');
}

@font-face {
    font-family: 'PT Sans';
    font-weight: 300;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/ptsans/italic/PTSans-Italic.eot');
    src: url('../fonts/ptsans/italic/PTSans-Italic.eot?#iefix') format('embedded-opentype'), url('../fonts/ptsans/italic/PTSans-Italic.woff2') format('woff2'), url('../fonts/ptsans/italic/PTSans-Italic.woff') format('woff'), url('../fonts/ptsans/italic/PTSans-Italic.ttf') format('truetype'), url('../fonts/ptsans/italic/PTSans-Italic.svg#PT Sans') format('svg');
}

@font-face {
    font-family: 'Roboto Slab';
    font-weight: 700;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/robotoslab/bold/RobotoSlab-Bold.eot');
    src: url('../fonts/robotoslab/bold/RobotoSlab-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/robotoslab/bold/RobotoSlab-Bold.woff2') format('woff2'), url('../fonts/robotoslab/bold/RobotoSlab-Bold.woff') format('woff'), url('../fonts/robotoslab/bold/RobotoSlab-Bold.ttf') format('truetype'), url('../fonts/robotoslab/bold/RobotoSlab-Bold.svg#Roboto Slab') format('svg');
}

@font-face {
    font-family: 'Roboto Slab';
    font-weight: 300;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/robotoslab/light/RobotoSlab-Light.eot');
    src: url('../fonts/robotoslab/light/RobotoSlab-Light.eot?#iefix') format('embedded-opentype'), url('../fonts/robotoslab/light/RobotoSlab-Light.woff2') format('woff2'), url('../fonts/robotoslab/light/RobotoSlab-Light.woff') format('woff'), url('../fonts/robotoslab/light/RobotoSlab-Light.ttf') format('truetype'), url('../fonts/robotoslab/light/RobotoSlab-Light.svg#Roboto Slab') format('svg');
}

@font-face {
    font-family: 'Roboto Slab';
    font-weight: 400;
    font-style: normal;
    font-display: optional;
    src: url('../fonts/robotoslab/regular/RobotoSlab-Regular.eot');
    src: url('../fonts/robotoslab/regular/RobotoSlab-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/robotoslab/regular/RobotoSlab-Regular.woff2') format('woff2'), url('../fonts/robotoslab/regular/RobotoSlab-Regular.woff') format('woff'), url('../fonts/robotoslab/regular/RobotoSlab-Regular.ttf') format('truetype'), url('../fonts/robotoslab/regular/RobotoSlab-Regular.svg#Roboto Slab') format('svg');
}

*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    outline: 0;
}

.container {
    max-width: 1256px;
    margin: 0 auto;
    padding: 0 16px;
}

.container:after {
    display: block;
    clear: both;
    content: ' ';
}

@media (min-width: 1200px) {
    .container {
        width: 1256px;
    }
}

body {
    font-family: 'PT Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #4c504a;
    background: #fff;
}

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

dl {
    margin: 0;
    padding: 0;
}

dl dt,
dl dd {
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    color: #4c514a;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 19px;
    line-height: 50px;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

/* Общая типографика заголовка раздела; размещение задаётся собственным классом компонента. */

.section-heading {
    font-family: 'Roboto Slab', Arial, Helvetica, sans-serif;
    font-size: 24px;
    font-weight: 700;
}

p {
    margin: 0;
    padding: 0;
}

hr {
    overflow: hidden;
    height: 1px;
    margin: 25px 0;
    border: 0;
    background: #f3f3f3;
}

q,
blockquote {
    display: block;
    text-align: left;
}

strong,
b {
    font-weight: 700;
}

a {
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-decoration: none;
    color: #4c504a;
}

a.button {
    text-decoration: none;
}

a.button:hover {
    text-decoration: none;
}

[class*='icon-'] {
    display: inline-block;
    vertical-align: top;
}

img[style*='float: left'],
img[style*='float:left'],
img[align='left'] {
    margin: 0 20px 5px 0;
}

img[style*='float: right'],
img[style*='float:right'],
img[align='right'] {
    margin: 0 0 5px 20px;
}

.static-content h1,
.static-content h2,
.static-content h3,
.static-content h5,
.static-content h6 {
    margin-bottom: 20px;
}

.static-content h4 {
    margin-bottom: 37px;
}

.static-content h6 {
    margin-bottom: 6px;
}

.static-content blockquote {
    margin: 0 0 20px;
    padding: 28px 99px 29px 32px;
    border-radius: 5px;
    background-color: #f3f3f3;
}

.static-content ul {
    margin: 0 0 25px;
}

.static-content ul li {
    position: relative;
    padding-left: 39px;
}

.static-content ul li:before {
    position: absolute;
    top: 8px;
    left: 16px;
    display: block;
    width: 8px;
    height: 8px;
    content: '';
    border-radius: 50%;
    background: #4c504a;
}

.static-content ul li:not(:last-child) {
    margin-bottom: 8px;
}

.static-content ul.line li {
    position: relative;
    padding-left: 23px;
}

.static-content ul.line li:before {
    position: absolute;
    top: 12px;
    left: 0;
    display: block;
    width: 10px;
    height: 1px;
    content: '';
    background: #4c504a;
}

.static-content ul.line li a {
    color: #599c28;
    border-bottom: 1px solid #599c28;
}

.static-content ul.line li a:hover {
    color: #4c504a;
    border-bottom-color: transparent;
}

.static-content ol {
    margin: 0 0 25px;
    list-style-position: inside;
    list-style-type: decimal;
    counter-reset: item;
}

.static-content ol li {
    position: relative;
    display: block;
    padding-left: 13px;
}

.static-content ol li:before {
    font-weight: 400;
    display: inline;
    margin-right: 9px;
    content: counters(item, '.') '. ';
    counter-increment: item;
    vertical-align: top;
}

.static-content a {
    border-bottom: 1px solid #4c504a;
}

.static-content a:hover {
    border-bottom-color: transparent;
}

.static-content p {
    margin-bottom: 30px;
}

.static-content p + figure {
    padding-top: 11px;
}

.static-content table,
.section-desc table {
    width: 100%;
    border-collapse: collapse;
}

.static-content table thead,
.section-desc table thead {
    background-color: #337516;
}

.static-content table th,
.section-desc table th {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    padding: 10px 5px 14px;
    text-align: center;
    color: #fff;
}

.static-content table td,
.section-desc table td {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    padding: 4px 5px 3px;
    text-align: center;
    color: #4c504a;
}

.static-content table td .red {
    font-weight: 700;
    color: #f81d00;
}

.static-content table td .price-old {
    position: relative;
    z-index: 1;
}

.static-content table td .price-old::before {
    position: absolute;
    top: 57%;
    right: -3px;
    left: 5px;
    content: '';
    border-bottom: 1px solid #4c504a;
}

.static-content table tr,
.section-desc table tr {
    border-bottom: 1px solid #f3f3f3;
}

.static-content table.params tr td:first-child,
.section-desc table.params tr td:first-child {
    text-align: left;
    background-color: #f3f3f3;
}

.static-content figure {
    max-width: 808px;
    margin: 0 auto 36px;
}

.static-content figure img {
    display: block;
    width: 100%;
}

.static-content figure figcaption {
    font-size: 14px;
    line-height: 1.14;
    padding: 20px 40px 15px;
    text-align: center;
    color: #4c504a;
    background-color: #f3f3f3;
}

.upper {
    text-transform: uppercase;
}

.btn {
    font-size: 16px;
    font-weight: 400;
    line-height: 48px;
    position: relative;
    display: block;
    width: 100%;
    height: 48px;
    padding: 0 10px;
    cursor: pointer;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    text-align: center;
    vertical-align: top;
    color: #fff;
    border: none;
    border-radius: 5px;
    background: #599c28;
}

.btn:hover,
.btn.active {
    color: #fff;
    background: #337516;
}

.btn:focus {
    outline: none;
}

.btn--gray {
    color: #4c504a;
    background-color: #e4e4e4;
}

.btn--small {
    font-size: 14px;
    line-height: 32px;
    height: 32px;
}

.btn--red {
    background-color: #e40606;
}

.btn--red:hover {
    background-color: #a52020;
}

.btn.disabled,
.btn[disabled='disabled'],
.btn[disabled] {
    cursor: not-allowed;
    pointer-events: none;
    /* фикс для предотвращения повторной отправки смс, март 23, Гук */
    color: #ccc;
    border-color: #ccc;
    background: #f3f3f3;
}
