@charset "UTF-8";

/* LIBS */
/**
* 1. Change the default font family in all browsers (opinionated).
* 2. Correct the line height in all browsers.
* 3. Prevent adjustments of font size after orientation changes in
*    IE on Windows Phone and in iOS.
*/
html {
    font-family: sans-serif;
    /* 1 */
    line-height: 1.15;
    /* 2 */
    -ms-text-size-adjust: 100%;
    /* 3 */
    -webkit-text-size-adjust: 100%;
    /* 3 */
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* Sections
========================================================================== */
/**
* Remove the margin in all browsers (opinionated).
*/
body {
    margin: 0;
}

/**
* Add the correct display in IE 9-.
*/
article, aside, footer, header, nav, section, figcaption, figure, main {
    display: block;
}

/**
* 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 */
}

/* Text-level semantics
========================================================================== */
/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/
a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */
}

/**
* Remove the outline on focused links when they are also active or hovered
* in all browsers (opinionated).
*/
a:active,
a:hover {
    outline-width: 0;
}

/**
* 1. Remove the bottom border in Firefox 39-.
* 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 */
}

/**
* 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
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
audio,
video {
    display: inline-block;
}

/**
* Add the correct display in iOS 4-7.
*/
audio:not([controls]) {
    display: none;
    height: 0;
}

/**
* Remove the border on images inside links in IE 10-.
*/
img {
    border-style: none;
}

/**
* Hide the overflow in IE.
*/
svg:not(:root) {
    overflow: hidden;
}

/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea {
    font-family: sans-serif;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**Enable panning and pinch zoom gestures, but disable additional non-standard gestures such as double-tap to zoom. Disabling double-tap to zoom removes the need for browsers to delay the generation of click events when the user taps the screen. */
a, area, button, input, label, select, textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

/**
* 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;
}

/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/
button,
html [type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    /* 2 */
}

/**
* 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;
}

/**
* 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 */
}

/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
progress {
    display: inline-block;
    /* 1 */
    vertical-align: baseline;
    /* 2 */
}

/**
* Remove the default vertical scrollbar in IE.
*/
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;
}

/* Scripting
========================================================================== */
/**
* Add the correct display in IE 9-.
*/
canvas {
    display: inline-block;
}

/**
* Add the correct display in IE.
*/
template {
    display: none;
}

/* Hidden
========================================================================== */
/**
* Add the correct display in IE 10-.
*/
[hidden] {
    display: none;
}

/* Reset
========================================================================== */
h1, h2, h3, h4, h5, h6, p, blockquote, em, img, i, dl, dt, ol, ul, li, video, canvas {
    margin: 0;
    padding: 0;
    border: 0;
    vertical-align: baseline;
    /*font-weight: normal;*/
}

div, input, textarea, select, button,
h1, h2, h3, h4, h5, h6, a, span {
    outline: none;
}

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

input[type="submit"],
button {
    cursor: pointer;
}

input[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
    width: 100%;
}

/** to remove the rounded in IOS*/
textarea,
input[type="text"],
input[type="button"],
input[type="submit"] {
    -webkit-appearance: none;
    border-radius: 0;
}



.icon-vintage-logo {
    width: 0.73em;
    height: 1em;
    fill: currentColor;
    stroke: initial;
}

/* COMPONENTS */
body {
    font-family: "MuseoSansCyrl";
    font-size: 18px;
    position: relative;
    padding-top: 143px;
    width: 100%;
}

body:after {
    left: 0;
    right: 0;
    top: 0;
    display: block;
    content: '';
    height: 143px;
    position: absolute;
    background: #1f282c;
}

body.hide, html.hide {
    overflow: hidden;
}

.container {
    max-width: 100%;
    width: 1200px;
    padding-left: 16px;
    padding-right: 16px;
    margin-left: auto;
    margin-right: auto;
}

.header {
    background-color: #1f282c;
    font-family: "MuseoSansCyrl";
    font-weight: 500;
    font-size: 18px;
    position: absolute;
    top: 0;
    z-index: 51;
    right: 0;
    left: 0;
    transition: height 1s;
}

.header .container {
    position: relative;
}

.header.fixed {
    height: 48px;
    position: fixed;
}

.header.fix {
    position: fixed;
}

.header.active {
    position: fixed;
    z-index: 100;
}

.header.active .sub__menu {
    top: 48px;
}

.header.active .header__top {
    margin-bottom: 0;
    padding: 0;
}

.header.active .header__top__contacts {
    position: absolute;
    right: 226px;
    top: 0px;
    padding-left: 30px;
    padding-right: 30px;
}

body.with-hover .header.active .header__top__contacts:hover .header__top__contacts__button {
    color: rgba(255, 255, 255, 0.2);
}

body.with-hover .header.active .header__top__contacts:hover .header__top__contacts__numbers {
    visibility: visible;
    opacity: 1;
}

.header.active .header__top__contacts .header__top__contacts__button {
    padding-top: 17px;
    padding-bottom: 17px;
    margin-bottom: 0;
    transition: color .3s;
    height: auto;
}

.header.active .header__top__contacts .header__top__contacts__button.hide {
    display: none;
}

.header.active .header__top__contacts .header__top__contacts__numbers {
    display: none;
}

body.with-hover .header.active .header__top__contacts .header__top__contacts__numbers:hover {
    visibility: visible;
    opacity: 1;
}

.header.active .header__top__contacts .header__top__contacts__numbers a {
    white-space: nowrap;
    font-size: 14px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.header.active .header__top__contacts .header__top__contacts__numbers a:first-child:after {
    top: 8px;
    background: #fff;
}

.header.active .header__top__form {
    position: absolute;
    margin: 0;
    left: 620px;
    bottom: 8px;
    display: none;
}

.header.active .header__top__form .header__top__form__input {
    background-size: 24px 16px;
    padding-left: 30px;
    width: 130px;
    font-size: 14px;
}

.header.active .header__top__logo {
    height: 36px;
    width: 46px;
    background: url(/test2/static/img/old_h/logo.svg) left center no-repeat;
    background-size: 150px 32px;
    bottom: 4px;
    position: absolute;
}
.header.active .header__top__logo.NY{
    background: url("/test2/static/img/ny_logo.svg") left center no-repeat !important;
    background-size: 132px 34px!important;
    width: 48px !important;
}
.header__top {
    padding-top: 24px;
    margin-bottom: 26px;
}

.header__top__logo {
    display: inline-block;
    width: 191px;
    height: 48px;
    margin-right: 22px;
    background: url("/test2/static/img/old_h/logo.svg") center center no-repeat;
    background-size: cover;
    transition: opacity .3s;
}
.header__top__logo.NY{
    background: url(/test2/static/img/ny_logo.svg) center center no-repeat !important;
    width: 171px !important;
    height: 50px !important;
}

.header__top__form {
    display: inline-block;
    vertical-align: top;
    margin-top: 10px;
    position: relative;
}

.header__top__form__input {
    background-color: inherit;
    border: none;
    background: url(/test2/static/img/old_h/search.svg) left center no-repeat;
    background-size: 32px 24px;
    padding-left: 40px;
    height: 32px;
    width: 240px;
    color: #fff;
    font-family: "MuseoSansCyrl";
}

.header__top__form__input:focus + .bar, .header__top__form__input:valid + .bar {
    -webkit-transform: scaleX(1);
    -ms-transform: scaleX(1);
    transform: scaleX(1);
}

.header__top__form .bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    display: block;
    width: 100%;
    -webkit-transform: scaleX(0);
    -ms-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    height: 1px;
    transition: .4s;
    background-color: #fff;
}

.header__top__burger {
    padding: 31px;
    position: relative;
    top: -2px;
    padding-top: 30px;
    padding-bottom: 32px;
    padding-right: 2px;
    padding-left: 25px;
    margin-left: 5px;
    display: none;
}

.header__top__burger.active span:first-child {
    -webkit-transform: translateX(-10px);
    -ms-transform: translateX(-10px);
    transform: translateX(-10px);
    opacity: 0;
}

.header__top__burger.active span:nth-child(2) {
    -webkit-transform: rotate(45deg) translate(6px, 5px);
    -ms-transform: rotate(45deg) translate(6px, 5px);
    transform: rotate(45deg) translate(6px, 5px);
}

.header__top__burger.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
    -ms-transform: rotate(-45deg) translate(6px, -6px);
    transform: rotate(-45deg) translate(6px, -6px);
}

.header__top__burger span {
    background-color: #fff;
    width: 26px;
    height: 3px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    transition: .3s;
    margin: auto;
}

.header__top__burger span:first-child {
    top: 0;
}

.header__top__burger span:nth-child(2) {
    top: -16px;
}

.header__top__burger span:last-child {
    top: 16px;
}

.header__top__contacts {
    display: inline-block;
    float: right;
    text-align: right;
	margin-top: 26px;
}

.header__top__contacts__button {
    display: inline-block;
    padding-left: 24px;
    overflow: hidden;
    height: 20px;
    margin-bottom: 7px;
    border: none;
    background-color: inherit;
    background: url("/test2/static/img/old_h/call.svg") left center no-repeat;
    text-align: right;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    line-height: 1;
    font-family: "MuseoSansCyrl";
}

.header__top__contacts__button.hide {
    display: none;
}

.header__top__contacts__numbers {
    line-height: 0.78;
}

.header__top__contacts a:first-child {
    padding-right: 16px;
    margin-right: 16px;
    position: relative;
}

.header__top__contacts a:first-child:after {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    background-color: #444b4c;
    position: absolute;
    top: 2px;
    right: 0;
    bottom: 0;
}

.header__top__contacts a {
    text-decoration: none;
    color: #fff;
    transition: color .3s;
}

body.with-hover .header__top__contacts a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.header__bottom {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    color: #fff;
    line-height: 1;
}

.header__bottom .header__top__contacts__numbers {
    display: none;
}

.header__bottom__auth a {
    transition: color .3s;
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
}

.header__bottom__auth a:first-child {
    padding-left: 24px;
    margin-right: 16px;
    padding-right: 8px;
    text-decoration: none;
    color: #1eb0cd;
    background: url("/test2/static/img/Key1.svg") left center no-repeat;
}
a.super-enter-icon {
    padding-left: 24px;
    margin-right: 16px;
    padding-right: 8px;
    text-decoration: none;
    color: #1eb0cd;
    background: url("/test2/static/img/Key1.svg") left center no-repeat;
    position: absolute;
    right: 75px;
    top: 13px;
    height: 20px;
    width: 20px;
    background-size: contain;
    display: none;
    z-index: 10;
}
@media (max-width: 960px) {
    a.super-enter-icon{
        display: block;
    }
}
body.with-hover .header__bottom__auth a:first-child:hover {
    color: rgba(30, 176, 205, 0.7);
}

.header__bottom__auth a:last-child {
    padding-left: 24px;
    text-decoration: none;
    color: #f2c400;
    background: url("/test2/static/img/old_h/connect.svg") left center no-repeat;
}

body.with-hover .header__bottom__auth a:last-child:hover {
    color: rgba(242, 196, 0, 0.7);
}

.header__menu > ul li {
    display: inline-block;
    position: relative;
}

body.with-hover .header__menu > ul li:hover > a {
    color: rgba(255, 255, 255, 0.7);
}

body.with-hover .header__menu > ul li:hover > a:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

body.with-hover .header__menu > ul li:hover > a + .sub__menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.header__menu__link {
    display: inline-block;
    padding-right: 18px;
    margin-right: 24px;
    padding-bottom: 16px;
    padding-top: 8px;
    position: relative;
    text-decoration: none;
    cursor: pointer;
    color: #fff;
    transition: color .3s;
}

.header__menu__link.active {
    color: #8f9496;
}

.header__menu__link.active:after {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}

.header__menu__link.has-active:after {
    content: '';
    display: block;
    width: 10px;
    height: 18px;
    background: url("/test2/static/img/old_h/nav-arr.svg") center center no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 8px;
    margin: auto;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background-color: rgba(230, 223, 212, 0.97);
    font-family: "MuseoSansCyrl";
    color: #1f282c;
    opacity: 0;
    visibility: hidden;
}

.popup .container {
    position: relative;
}

.popup__btn {
    background-color: #746a5c;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    margin-top: 250px;
    margin-bottom: 250px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    border: none;
    padding: 15px 26px;
    transition: .3s;
}

body.with-hover .popup__btn:hover {
    background-color: rgba(116, 106, 92, 0.7);

}

.popup__content {
    margin-top: 240px;
    max-width: 746px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.popup__content__send {
    position: static;
    visibility: visible;
    opacity: 1;
    height: 200px;
    top: 0;
    bottom: 0;
    margin: auto;
    display: none;
}

.popup__content__send__img {
    margin-bottom: 24px;
}

.popup__content__send__info h3 {
    font-size: 40px;
    line-height: 1;
    color: #1f282c;
    margin-bottom: 12px;
}

.popup__content__send__info p {
    font-size: 30px;
    line-height: 1;
    color: #1f282c;
    margin-bottom: 178px;
}

.popup__content__title {
    max-width: 622px;
    display: inline-block;
    margin-bottom: 42px;
}

.popup__content__title h3 {
    font-size: 30px;
    line-height: 1.2;
    text-align: left;
    font-family: "MuseoSansCyrlBold";
}
.popup__content__title .pop_form_header {
    font-size: 30px;
    line-height: 1.2;
    text-align: left;
    font-family: "MuseoSansCyrlBold";
}

.popup__content__title .active {
    font-size: 38px;
    line-height: 1;
    display: inline-block;
    font-family: "MuseoSansCyrlBold";
    color: #1eb0cd;
}

.popup__content__close {
    cursor: pointer;
    vertical-align: top;
    padding-top: 13px;
    padding-bottom: 13px;
    display: inline-block;
    padding-right: 32px;
    z-index: 3;
    font-size: 14px;
    line-height: 1;
    position: absolute;
    top: 0px;
    right: 0;
}

body.with-hover .popup__content__close:hover:after {
    opacity: 0.7;
}

.popup__content__close:after {
    content: '';
    width: 24px;
    height: 24px;
    background: url("/test2/static/img/old_h/close.svg") center center no-repeat;
    position: absolute;
    top: 7px;
    right: 0;
    transition: .3s;
}

.popup__content__form {
    padding-bottom: 21px;
}

.popup__content__form .form-group:first-child {
    margin-bottom: 12px;
}

.popup__content__form .form-group:nth-child(2) {
    margin-bottom: 22px;
}

.popup__content__form .form-group:nth-child(2) .iferror {
    font-size: 18px;
    line-height: 1;
    margin-top: 22px;
    padding-left: 19px;
    color: #cc211d;
    position: relative;
}

.popup__content__form .form-group:nth-child(2) .iferror:before {
    content: '!';
    text-align: center;
    font-size: 11px;
    line-height: 13px;
    display: block;
    width: 12px;
    height: 12px;
    background-color: #cc211d;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    left: 0;
    top: 3px;
}

.popup__content__form__label {
    display: inline-block;
    position: relative;
}

.popup__content__form__label.error {
    position: relative;
}

.popup__content__form__label.error span {
    color: #cc211d;
}

.popup__content__form__label.error input {
    border: 1px solid #cc211d;
}

.popup__content__form__label.error:after {
    content: '!';
    text-align: center;
    font-size: 11px;
    line-height: 13px;
    display: block;
    width: 12px;
    height: 12px;
    background-color: #cc211d;
    border-radius: 50%;
    color: #fff;
    position: absolute;
    right: 16px;
    top: 50px;
    bottom: 18px;
}

.popup__content__form__label span {
    font-size: 14px;
    display: inline-block;
    padding-top: 8px;
    padding-bottom: 8px;
}

.popup__content__form__label:nth-child(odd) {
    margin-right: 20px;
}

.popup__content__form__label input {
    height: 48px;
    width: 360px;
    padding-left: 20px;
    padding-right: 40px;
    background-color: rgba(230, 223, 212, 0.97);
    border: 1px solid #1f282c;
    display: block;
}

.popup__content__form__label input:focus {
    background-color: #fff;
}

.popup__content__form__button {
    background-color: #746a5c;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    border: none;
    padding: 15px 26px;
    transition: .3s;
}

body.with-hover .popup__content__form__button:hover {
    background-color: rgba(116, 106, 92, 0.7);
}

.popup__content__personaldata {
    margin-bottom: 48px;
}

.popup__content__personaldata p {
    font-size: 14px;
    line-height: 1;
    color: #1f282c;
}

.popup__content__personaldata p a {
    font-size: 14px;
    line-height: 1;
    color: #1f282c;
    transition: .3s;
    -webkit-text-decoration-color: rgba(31, 40, 44, 0.25);
    text-decoration-color: rgba(31, 40, 44, 0.25);
}

body.with-hover .popup__content__personaldata p a:hover {
    opacity: 0.7;
}

.popup__content__contacts .pop_phone {
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    opacity: .5;
}
.popup__content__contacts h3 {
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    opacity: .5;
}
.popup__content__form__button, .xsendthisshit {
    background-color: #746a5c;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    border: none;
    padding: 15px 26px;
    transition: .3s;
}

body.with-hover .popup__content__form__button:hover, body.with-hover .xsendthisshit:hover {
    background-color: rgba(116, 106, 92, 0.7);
}
.popup__content__contacts a {
    font-size: 24px;
    line-height: 1;
    padding-left: 16px;
    text-decoration: none;
    color: #1f282c;
    transition: .3s;
}

body.with-hover .popup__content__contacts a:hover {
    color: rgba(31, 40, 44, 0.7);
}

.footer {
    display: block;
    background-color: #1f282c;
    font-family: "MuseoSansCyrl";
    font-size: 18px;
    position: relative;
    box-shadow: 0px 192px 0px 0px #1f282c;
    padding-top: 0;
    padding-bottom: 0;
}

.footer__top {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    padding-top: 64px;
    margin-bottom: 30px;
}

.footer__top__logo {
    display: inline-block;
    width: 143px;
    height: 36px;
    background: url("/test2/static/img/old_h/logo.svg") center center no-repeat;
    background-size: cover;
    margin-right: 60px;
    transition: .3s;
}

body.with-hover .footer__top__logo:hover {
    opacity: 0.7;
}

.footer__top__contacts {
    display: inline-block;
    color: #fff;
    line-height: 1.33;
    max-width: 228px;
}

.footer__top__contacts p {
    font-family: "MuseoSansCyrl";
    font-size: 16px;
}

.footer__top__contacts a {
    display: block;
    max-width: 200px;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

body.with-hover .footer__top__contacts a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer__top__contacts a:nth-child(2) {
    margin-bottom: 16px;
    padding-left: 10px;
}

.footer__top__social {
    display: inline-block;
    text-align: right;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

.footer__top__social p {
    font-family: "MuseoSansCyrl";
    color: #8f9496;
    font-size: 14px;
    margin-bottom: 16px;
}

.footer__top__social__icons li {
    display: inline-block;
    margin-right: 12px;
}

.footer__top__social__icons li:last-child {
    margin-right: 0;
}

.footer__top__social__icons li a {
    display: inline-block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    transition: .3s;
    background-size: cover;
}

body.with-hover .footer__top__social__icons li a:hover {
    opacity: 0.7;
}

.footer__top__social__icons__fb {
    background: url("/test2/static/img/old_h/facebook.svg") center center no-repeat;
}

.footer__top__social__icons__vk {
    background: url("/test2/static/img/old_h/vk.svg") center center no-repeat;
}

.footer__top__social__icons__tel {
    background: url("/test2/static/img/old_h/tel.svg") center center no-repeat;
}

.footer__top__social__icons__youtube {
    background: url("/test2/static/img/old_h/youtube.svg") center center no-repeat;
}

.footer__bottom__menu {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 48px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.footer__bottom__menu__item {
    width: 193px;
    margin-right: 10px;
}
.footer__bottom__menu__item ul{
list-style-type: none;
}

.footer__bottom__menu__item .footer_menu_head {
    font-family: "MuseoSansCyrl";
    font-size: 24px;
    color: #8f9496;
    margin-bottom: 12px;
}

.footer__bottom__menu__item__list li {
    padding-bottom: 16px;
}

.footer__bottom__menu__item__list li:last-child {
    padding-bottom: 0;
}

.footer__bottom__menu__item__list li a {
    line-height: 1;
    text-decoration: none;
    color: #fff;
    transition: .3s;
}

.footer__bottom__menu__item__list li a.active {
    color: #1eb0cd;
}

body.with-hover .footer__bottom__menu__item__list li a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.footer__bottom__terms {
    padding-bottom: 64px;
    font-size: 14px;
}
.footer__bottom__terms ul{
list-style-type: none;
}

.footer__bottom__terms__item {
    display: inline-block;
    vertical-align: top;
}

.footer__bottom__terms__item:first-child {
    margin-right: 38px;
}

.footer__bottom__terms__item li {
    padding-bottom: 16px;
}

.footer__bottom__terms__item li:last-child {
    margin-bottom: 0;
}

.footer__bottom__terms__item li a {
    text-decoration: none;
    color: #8f9496;
    transition: .3s;
}

body.with-hover .footer__bottom__terms__item li a:hover {
    color: rgba(143, 148, 150, 0.7);
}

.sub__menu {
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s linear,opacity 0.2s linear;
    padding-left: 26px;
    padding-right: 60px;
    padding-top: 24px;
    padding-bottom: 24px;
    box-sizing: border-box;
    background: #444b4c;
    left: -26px;
    top: 42px;
    /*-webkit-transform: scale(0);*/
    /*-ms-transform: scale(0);*/
    /*transform: scale(0);*/
}

.sub__menu.products {
    width: 640px;
    padding-right: 26px;
}

body.with-hover .sub__menu:hover {
    opacity: 1;
    visibility: visible;
}

.sub__menu.active {
    position: static;
    opacity: 1;
    visibility: visible;
}

.sub__menu h5 {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #8f9496;
    margin-bottom: 8px;
}

.sub__menu .header_menu_head {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: #8f9496;
    margin-bottom: 8px;
}

.sub__menu__block {
    width: 49%;
    display: inline-block;
    vertical-align: top;
}

.sub__menu__block ul li {
    display: block;
}

.sub__menu__block a {
    text-decoration: none;
    display: block;
    color: #ffffff;
    /*color: #f2c400 !important;*/
    padding-top: 4px;
    cursor: pointer;
    padding-bottom: 4px;
    transition: .3s;
    margin-top: 2px;
    margin-bottom: 2px;
    white-space: nowrap;
}

body.with-hover .sub__menu__block a:hover {
    color: rgba(255, 255, 255, 0.7);
}

.sub__menu__block__title {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
    color: #ffffff;
    text-decoration: none;
    transition: .3s;
}

.sub__menu__block__subtitle {
    font-size: 14px;
    font-weight: 500;
    color: #8f9496;
}

.sub__menu__block.full {
    width: 100%;
    border-bottom: 1px solid rgba(143, 148, 150, 0.5);
    padding-bottom: 1px;
    margin-bottom: 24px;
}

.sub__menu__block.full h5 {
    margin-bottom: 18px;
}

.sub__menu__block.full a {
    margin-bottom: 22px;
    display: block;
    padding-top: 0;
    margin-top: 0;
    cursor: pointer;
    padding-bottom: 0;
}

body.with-hover .sub__menu__block.full a:hover .sub__menu__block__title {
    color: rgba(255, 255, 255, 0.7);
}

.sub__menu__block.full ul {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.sub__menu__block.full li {
    box-sizing: border-box;
    padding-left: 38px;
    position: relative;
    width: 50%;
    margin-right: 0;
    margin-left: 0;
}

.sub__menu__block.full li img {
    width: 28px;
    position: absolute;
    left: 0;
    top: 0;
}

/* PAGES */

@media only screen and (min-width: 960px){
    .header.active .header__menu__link{
        font-size: 14px;
        margin-right: 18px;
        padding-top: 10px;
        padding-bottom: 10px;
        line-height: 28px;
    }
    .header.active .header__menu__link:after{
        bottom: 0;
    }
    .header.active .header__menu__link.has-active:after{
        margin-top: 16px;
    }

    .header.active .header__bottom{
        padding-left: 50px;
    }
    .header.active .header__bottom__auth a{
        font-size: 14px;
        padding-top: 17px;
        padding-bottom: 17px;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1200px){
    .header.active .header__menu__link{
        margin-right: 5px;
    }
    .header.active .header__bottom__auth a:first-child{
        margin-right: 0;
    }
}

@media only screen and (max-width: 1200px){
    .header.active .header__bottom{
        padding-left: 45px;
    }
    .header.active .header__top__contacts{
        right: 200px;
    }
    .header.active .header__top__form{
        left: 560px;
    }
    .header__bottom__auth a:first-child{
        margin-right: 0;
    }
    .header__menu__link{
        margin-right: 10px;
    }
}

@media screen and (max-width: 1200px){
    .container{
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media only screen and (max-width: 970px){
    body{
        padding-top: 45px;
    }
    body:after{
        display: none;
    }
    body.hide, html.hide{
        position: fixed;
    }
}

@media only screen and (max-width: 960px){
    .header.active .header__top__burger{
        padding-top: 18px;
    }
    .header.active .header__bottom{
        padding-left: 0;
        top: 48px;
        height: calc(100vh - 48px);
        /*height: 100vh;*/
        /*padding-bottom: 60px;*/
    }
    .header.active .header__top__contacts{
        right: 50px;
        padding-left: 15px;
        padding-right: 0px;
    }
    .header.active .header__top__contacts .header__top__contacts__button{
        margin-top: 6px;
    }
    .header.active .header__top__contacts .header__top__contacts__numbers{
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        left: 0;
        right: 0;
        width: 100%;
        top: 48px;
        position: fixed;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 13px;
        padding-top: 28px;
        visibility: hidden;
        opacity: 0;
        transition: .3s;
    }
    .header.active .header__top__contacts .header__top__contacts__numbers.active{
        visibility: visible;
        opacity: 1;
    }
    .header.active .header__top__contacts .header__top__contacts__numbers a{
        padding: 4px;
        font-size: 14px;
    }
    .header.active .header__top__contacts .header__top__contacts__numbers a:first-child:after{
        top: 0;
        right: -8px;
    }
    .header.active .header__top__contacts .header__top__contacts__numbers a:first-child:before{
        content: 'Звоните';
        position: absolute;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        top: -15px;
    }
    .header.active .header__top__form{
        left: 60px;
        bottom: -40px;
    }
    .header.active .header__top__form .header__top__form__input{
        background-size: 32px 24px;
        background-position: -5px 50%;
        padding-left: 25px;
    }
    .header.active .header__top__logo{
        height: 34px;
        width: 120px;
        background: url("/test2/static/img/old_h/logo.svg") left center no-repeat;
        background-size: 120px 28px;
        margin-right: 5px;
        bottom: -40px;
    }
    .header.active .header__top__logo.NY{
        background: url("/test2/static/img/ny_logo.svg") left center no-repeat !important;
        background-size: 120px 34px!important;
        width: 40px !important;
        bottom: -48px;
    }
    .header__top{
        display: block;
        margin-bottom: 0;
        padding-top: 1px;
    }
    .header__top__logo{
        height: 32px;
        width: 120px;
        background: url("/test2/static/img/old_h/logo.svg") left center no-repeat;
        background-size: 120px 28px;
        margin-right: 5px;
        margin-top: 14px;
    }
    .header__top__form{
        margin-top: 14px;
    }
    .header__top__form__input{
        width: 100px;
        padding-left: 20px;
        background-size: 36px 26px;
        background-position: -10px center;
    }
    .header__top__form .bar{
        bottom: 0;
    }
    .header__top__burger{
        display: inline-block;
        float: right;
    }
    .header__top__contacts__button{
        padding-top: 20px;
        padding-bottom: 20px;
        padding-left: 20px;
        padding-right: 20px;
        margin-top: 10px;
        margin-right: 5px;
        font-size: 0;
        background: url(/test2/static/img/old_h/call.svg) center center no-repeat;
        background-size: 22px 22px;
    }
    .header__top__contacts__numbers{
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        left: 0;
        right: 0;
        width: 100%;
        top: 63px;
        position: absolute;
        -webkit-justify-content: flex-start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 13px;
        background-color: #444b4c;
        padding-top: 28px;
        visibility: hidden;
        opacity: 0;
        transition: .3s;
    }
    .header__top__contacts__numbers.active{
        visibility: visible;
        opacity: 1;
    }
    .header__top__contacts__numbers a{
        padding: 4px;
        font-size: 14px;
        position: relative;
    }
    .header__top__contacts__numbers a:first-child:after{
        top: 0;
        right: -2px;
        background: #fff;
    }
    .header__top__contacts__numbers a:first-child:before{
        content: 'Звоните';
        position: absolute;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.5);
        top: -15px;
    }
    .header__bottom{
        position: fixed;
        top: 63px;
        left: 0;
        right: 0;
        /*height: calc(100vh - 63px);*/
        height: 100vh;
        box-sizing: border-box;
        z-index: 10;
        background: #444b4c;
        bottom: 0;
        padding-top: 48px;
        visibility: hidden;
        display: none;
        opacity: 0;
        transition: .2s;
        /*max-height: 100vh;*/
        overflow-y: scroll;
    }
    .header__bottom.active{
        opacity: 1;
        display: block;
        visibility: visible;
        padding-bottom: 65px;
    }
    .header__bottom .header__top__contacts__numbers{
        display: block;
        position: relative;
        opacity: 1;
        top: 0;
        visibility: visible;
        padding-bottom: 24px;
        padding-left: 12px;
    }
    .header__bottom .header__top__contacts__numbers a:first-child{
        margin-right: 6px;
        position: relative;
    }
    .header__bottom .header__top__contacts__numbers a:first-child:after{
        content: '';
        display: block;
        width: 1px;
        height: 14px;
        background-color: #fff;
        position: absolute;
        top: 5px;
        right: -5px;
        bottom: 0;
    }
    .header__bottom .header__top__contacts__numbers a{
        text-decoration: none;
        color: #fff;
        transition: color .3s;
    }
    body.with-hover .header__bottom .header__top__contacts__numbers a:hover{
        color: rgba(255, 255, 255, 0.7);
    }
    .header__bottom__auth{
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 8px;
    }
    .header__menu{
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 5px;
        width: 100%;
    }
    .header__menu > ul{
        display: block;
        width: 100%;
    }
    .header__menu > ul > li{
        display: block;
        overflow: hidden;
    }
    .header__menu__link{
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .header__menu__link.has-active:after{
        bottom: 0;
    }
    .popup .container{
        max-height: 100%;
        overflow-y: scroll;
    }
    .popup__content__title h3{
        font-size: 24px;
    }
    .popup__content__title .pop_form_header{
        font-size: 24px;
    }
    .sub__menu{
        padding-right: 25px;
        padding-left: 25px;
        padding-top: 10px;
        padding-bottom: 0;
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);
    }
    .sub__menu.products{
        width: 100%;
    }
    .sub__menu{
        transition: 0s;
    }
    .sub__menu__block{
        width: 100%;
        margin-bottom: 15px;
    }
    .sub__menu__block__subtitle{
        display: none;
    }
    .sub__menu__block.full{
        border-bottom: none;
        margin-bottom: 0;
    }
    .sub__menu__block.full li{
        width: 100%;
    }
}

@media screen and (max-width: 960px){
    .footer__top{
        padding-top: 32px;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .footer__top__logo{
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        margin-bottom: 48px;
        background-position: left center;
        height: 50px;
        background-size: 143px;
    }
    .footer__top__contacts{
        -webkit-order: 3;
        -ms-flex-order: 3;
        order: 3;
    }
    .footer__bottom__menu{
        margin-bottom: 0;
    }
    .footer__bottom__menu__item{
        margin-right: 0;
        -webkit-flex-basis: 25%;
        -ms-flex-preferred-size: 25%;
        flex-basis: 25%;
        margin-bottom: 48px;
    }
}

@media only screen and (max-width: 767px){
    .popup__content{
        margin-top: 75px;
        padding-left: 8px;
        padding-right: 8px;
        padding-bottom: 30px;
    }
    .popup__content__send{
        top: -200px;
    }
    .popup__content__send__info h3{
        font-size: 24px;
        line-height: 1.25;
    }
    .popup__content__send__info p{
        font-size: 18px;
        line-height: 1.33;
    }
    .popup__content__title{
        margin-bottom: 16px;
        position: relative;
        padding-top: 40px;
    }
    .popup__content__title h3{
        font-size: 18px;
    }
    .popup__content__title .pop_form_header{
        font-size: 18px;
    }
    .popup__content__title .active{
        font-size: 24px;
        position: absolute;
        top: 0;
        left: 0;
    }
    .popup__content__close{
        padding-top: 6px;
        padding-bottom: 6px;
        padding-right: 24px;
        position: absolute;
        right: 8px;
        top: -3px;
    }
    .popup__content__close:after{
        width: 16px;
        height: 16px;
        top: 5px;
    }
    .popup__content__form .form-group{
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    .popup__content__form .form-group:first-child{
        margin-bottom: 0;
    }
    .popup__content__form .form-group:nth-child(2) .iferror{
        margin-top: 19px;
    }
    .popup__content__form__label{
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
        width: 100%;
        margin-bottom: 8px;
    }
    .popup__content__form__label:nth-child(odd){
        margin-right: 0;
    }
    .popup__content__form__label input{
        width: 100%;
    }
    .popup__content__personaldata{
        margin-bottom: 24px;
    }
    .popup__content__personaldata p{
        line-height: 1.43;
    }
    .popup__content__personaldata p a{
        line-height: 1.43;
    }
    .popup__content__contacts .pop_phone{
        font-size: 18px;
        display: block;
        margin-bottom: 16px;
    }
    .popup__content__contacts h3{
        font-size: 18px;
        display: block;
        margin-bottom: 16px;
    }
    .popup__content__contacts a{
        font-size: 18px;
        padding-left: 0;
        padding-right: 16px;
    }
}

@media screen and (max-width: 767px){
    .footer__top{
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .footer__top__logo{
        -webkit-flex-basis: auto;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }
    .footer__top__contacts{
        margin-bottom: 48px;
    }
    .footer__top__social{
        text-align: left;
        -webkit-order: 3;
        -ms-flex-order: 3;
        order: 3;
    }
    .footer__bottom__menu__item{
        -webkit-flex-basis: 50%;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
    }
}

@media screen and (max-width: 500px){
    .footer__bottom__menu__item{
        -webkit-flex-basis: 100%;
        -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    }
}

@media only screen and (max-width: 500px){
    .popup__content__contacts a{
        padding-right: 0;
        display: block;
        margin-bottom: 12px;
    }
}

@media only screen and (max-width: 400px){
    .header__top__form__input{
        width: 60px;
    }
}
