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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    font-size: 14px
}

body {
    margin: 0;
    padding: 0;
    background: #fff;
    min-width: 320px;
    overflow-x: hidden;
    overflow-y: auto;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased
}

img {
    max-width: 100%
}

.wrap {
    max-width: 1500px;
    margin: auto;
    width: 100%
}

.container,
.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex
}

.card {
    background: #f3f4f3;
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
li {
    color: #2c2d2e;
    margin: 0
}

a {
    color: #306fae;
    display: inline-block;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    text-decoration: none;
    margin-bottom: 0
}

small,
small a,
time {
    color: #919399;
    font-size: .857rem
}

h1 {
    font-size: 2.143rem;
    line-height: 2.5rem;
    margin: 0 0 1.5rem
}

h2,
h3 {
    font-size: 2rem;
    line-height: 2.3rem;
    margin: 0 0 1rem
}

h4 {
    font-size: 1.857rem;
    line-height: 2rem;
    margin: 0 0 1rem
}

h5 {
    font-size: 1.286rem;
    line-height: 1.571rem;
    margin: 0 0 1rem
}

h6 {
    font-size: 1.143rem;
    line-height: 1.75rem;
    margin: 0 0 1rem
}

p,
a,
li {
    font-size: 1rem;
    line-height: 1.625rem;
    margin: 0 0 1rem
}

a {
    display: inline-block;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    text-decoration: none
}

hr {
    margin: 1.714rem 0;
    padding: 0;
    height: 0;
    border: none;
    border-top: 1px solid rgba(193, 200, 222, .28)
}

ul {
    padding-left: 1.2rem;
    margin: .75rem 0 0
}

ul li {
    list-style-type: disc;
    margin-bottom: .3rem;
}

form small {
    display: block
}

label {
    display: none
}

input,
textarea {
    padding: .875rem 1rem;
    -webkit-border-radius: .875rem;
    -moz-border-radius: .875rem;
    border-radius: .875rem;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #fff;
    display: block;
    margin: 0 0 .714rem;
    width: 100%;
    font-size: 1rem;
    line-height: 1rem;
    color: #2c2d2e;
    border: 1px solid #d9d9d9;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

textarea {
    resize: none;
    min-height: 7rem
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0
}

input[type=number] {
    -moz-appearance: textfield
}

::-webkit-input-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

:-moz-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

::-moz-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

:-ms-input-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

::placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

:-ms-input-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

::-ms-input-placeholder {
    color: #919399;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in
}

button,
.button {
    font-size: 1rem;
    line-height: 1rem;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
    color: #fff;
    background: #306fae;
    padding: .857rem 1.5rem;
    -webkit-border-radius: .857rem;
    -moz-border-radius: .857rem;
    border-radius: .857rem;
    text-decoration: none;
    border: none;
    transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    -moz-transition: all .3s ease-in;
    -ms-transition: all .3s ease-in;
    -o-transition: all .3s ease-in;
    cursor: pointer;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center
}

button:disabled,
button[aria-disabled=true],
button:disabled:hover,
button[aria-disabled=true]:hover {
    background-color: #919399;
    cursor: default
}

.grecaptcha-badge {
    visibility: hidden
}

.cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: end;
    -webkit-align-items: end;
    -moz-box-align: end;
    -ms-flex-align: end;
    align-items: end;
    z-index: 9999999 !important
}

.cookie-notification__content {
    background: #fff;
    -webkit-box-shadow: rgba(0, 0, 0, .1) 0 10px 25px -5px, rgba(0, 0, 0, .1) 0 8px 10px -6px;
    -moz-box-shadow: rgba(0, 0, 0, .1) 0 10px 25px -5px, rgba(0, 0, 0, .1) 0 8px 10px -6px;
    box-shadow: rgba(0, 0, 0, .1) 0 10px 25px -5px, rgba(0, 0, 0, .1) 0 8px 10px -6px;
    padding: .6rem 1.2rem;
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin-bottom: 1rem;
    -webkit-border-radius: 1.143rem;
    -moz-border-radius: 1.143rem;
    border-radius: 1.143rem
}

.cookie-notification__content a {
    color: #306fae;
    margin: 0;
    text-decoration: none;
    font-size: .875rem;
    line-height: 1rem
}

.cookie-notification__content a:hover {
    color: #245a8f;
    text-decoration: underline
}

.cookie-notification__content p {
    margin: 0;
    text-align: left;
    font-size: .875rem;
    line-height: 1rem;
    min-width: 60%;
    color: #919399
}

.cookie-notification__content .content {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between
}

.cookie-notification__close {
    position: absolute;
    right: .6rem;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 1.8rem;
    height: 1.8rem;
    cursor: pointer;
    stroke: #306fae;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.cookie-notification__close:hover {
    stroke: #245a8f;
    -webkit-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out
}

.cookie-notification__buttons {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -webkit-justify-content: end;
    -moz-box-pack: end;
    -ms-flex-pack: end;
    justify-content: end;
    padding-right: 2rem
}

#accept-cookies,
#decline-cookies {
    overflow: hidden;
    margin-left: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: -webkit-inline-box;
    display: -webkit-inline-flex;
    display: -moz-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -ms-grid-row-align: center;
    align-items: center
}

#accept-cookies {
    background-color: #306fae;
    border: 1px solid #306fae;
    color: #fff
}

#accept-cookies:hover {
    border: 1px solid #245a8f;
    background-color: #245a8f
}

#decline-cookies {
    border: 1px solid #919399;
    background-color: #919399;
    color: #fff
}

#decline-cookies:hover {
    background-color: #2c2d2e;
    border: 1px solid #2c2d2e
}

@media only screen and (max-width:1400px) {
    .wrap {
        max-width: 1200px
    }
}

@media only screen and (max-width:1000px) {
    .cookie-notification__close {
        display: none
    }

    .cookie-notification__buttons {
        padding-right: 0
    }

    .cookie-notification__content .content {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap
    }

    .cookie-notification__buttons {
        -webkit-box-pack: start;
        -webkit-justify-content: start;
        -moz-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start
    }

    .cookie-notification__content p {
        width: 100%;
        margin-bottom: .75rem
    }

    #accept-cookies,
    #decline-cookies {
        margin: 0 1rem 0 0
    }
}

@media only screen and (max-width:600px) {
    html {
        font-size: 13px
    }
}

/* Варианты цвета в карточке (#173): свотчи-ссылки набора.
   Кружок — hex варианта (инлайн), рамка — граница от светлого фона.
   Рендер слепой по данным: 1 вариант — один свотч, N — селектор ряда. */
.card-colors {
    display: flex;
    flex-wrap: wrap;
    gap: 0.357rem;
    margin: 0.2rem 0 0.6rem;
}

.card-colors .color-dot {
    display: inline-block;
    width: 1.286rem;
    height: 1.286rem;
    border-radius: 50%;
    border: 1px solid rgba(44, 45, 46, 0.25);
    box-sizing: border-box;
    text-decoration: none;
    cursor: pointer;
}
