// Filter { #filter { position: relative; .container {position: relative;} &.filter_in_catalog:not(.visible) { display: none; } &.filter_in_catalog { .container { padding-top: 0; padding-bottom: 0; margin-bottom: 40px; @media all and (max-width: 1420px) { margin-left: 0; margin-right: 0; width: 100%; .filter_header .button { bottom: 10px; } } @media all and (max-width: 767px) { bottom: 0px; } } } .filter_header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; .button { z-index: 10; width: calc(33.333% - 21px); @media all and (max-width: 1279px) { width: ~"calc(50% - 15px)"; position: absolute; right: 0; bottom: 90px; } @media all and (max-width: 1280px) { bottom: 80px; } @media all and (max-width: 960px) { bottom: 50px; } @media all and (max-width: 767px) { width: 100%; bottom: 60px; } } } .filter_body { display: flex; flex-wrap: wrap; justify-content: space-between; position: relative; .filter_column { width: ~"calc(33.333% - 21px)"; @media all and (max-width: 1279px) { width: ~"calc(100%)"; display: flex; justify-content: space-between; } @media all and (max-width: 1279px) { &:last-child { margin-bottom: 70px; .fieldgroup .form_field { width: 50%; &:first-child { select {border-right: 0;}} &:last-child { select {border-left: 0;}} } } } @media all and (max-width: 767px) { width: 100%; margin-bottom: 0; display: block; height: 100px; &:nth-child(1) { .fieldgroup { &:nth-child(2) { position: absolute; top: 150px; left: 0; right: 0; } } } &:nth-child(2) { > .form_field { &:nth-child(1) { position: absolute; top: 50px; left: 0; right: 0; } } .fieldgroup { &:nth-child(2) { position: absolute; top: 200px; left: 0; right: 0; } } } &:nth-child(3) { > .form_field { &:nth-child(1) { position: absolute; top: 100px; left: 0; right: 0; } } .fieldgroup { &:nth-child(2) { position: absolute; top: 250px; left: 0; right: 0; } } } } } .form_field { width: 100%; margin-bottom: 10px; @media all and (max-width: 1279px) { width: calc(50% - 15px); } @media all and (max-width: 767px) { width: 100%; } } .fieldgroup { width: 100%; @media all and (max-width: 1279px) { width: calc(50% - 15px); } @media all and (max-width: 767px) { width: 100%; } .form_field { width: calc(50% - 20px); @media all and (max-width: 1279px) { width: calc(50% - 4px); } } } } } // Catalog smamm filter #catalog_small_filter { margin-bottom: 0px; &.hidden { display: none; } .filter_body { display: flex; justify-content: flex-end; select { margin-right: 30px; width: 306px; } button { width: 220px; } @media all and (max-width: 1280px) { justify-content: space-between; .form_field { width: calc(33.333% - 30px); select { width: 100%; } } button { width: 33.3333%; } } @media all and (max-width: 767px) { display: block; .form_field, button { width: 100%; margin-bottom: 8px; } } } } // Order #news + #order .container { max-width: 1340px; padding-left: 25px; padding-right: 25px; .order_form { margin: 0 -25px; @media all and (max-width: 960px) { margin-top: -60px; } @media all and (max-width: 767px) { margin: 0; } } } #order { .order_form { position: relative; margin: 0; @media all and (max-width: 960px) { margin-top: -60px; } @media all and (max-width: 767px) { margin: 0; } .order_email { display: flex; align-items: center; position: absolute; z-index: 1; background: #EDEFF5; height: 235px; left: 0; right: 0; top: 0; bottom: 0; margin: auto; p { width: 320px; font-size: 24px; line-height: 45px; padding: 0 20px; @media all and (max-width: 1600px) and (min-width: 1280px) { font-size: 20px; line-height: 32px; } @media all and (max-width: 1280px) { width: 220px; font-size: 13px; line-height: 20px; } } @media all and (max-width: 767px) { position: relative; height: auto; margin-bottom: 25px; p { padding: 0; } } } form { width: 750px; background: var(--blue); box-sizing: border-box; padding: 55px 90px; margin: auto; margin-left: 390px; position: relative; z-index: 2; @media all and (max-width: 1420px) { width: 550px; margin-left: 320px; } @media all and (max-width: 960px) { width: 50%; padding: 15px 25px; margin-left: auto; margin-right: 0; } @media all and (max-width: 767px) { width: auto; margin-left: -16px; margin-right: -16px; padding: 25px 16px; } input { margin-bottom: 15px; background: rgba(255, 255, 255, 0.2); color: #fff; &::placeholder { color: #fff; } } input[type="radio"] { display: none; visibility: hidden; & + label { display: block; padding-left: 28px; cursor: pointer; color: #fff; margin-bottom: 5px; position: relative; &:last-child { margin-bottom: 15px; } &:before { content: ""; display: block; width: 16px; min-width: 16px; height: 16px; background: #fff; box-sizing: border-box; border-radius: 100%; margin-right: 12px; position: absolute; left: 0; top: 0; } } &:checked + label { &:before { background: var(--blue); border: 4px solid #fff; } } &:disabled + label { &:before { background: var(--gray); cursor: none; } } } .policy { position: relative; z-index: 2; margin: 5px 25px 45px 25px; @media all and (max-width: 1600px) { margin-top: -5px; margin-bottom: 25px; margin-left: 0; margin-right: 0; } label { color: #fff; font-weight: 300; &:before { background: #fff; border-radius: 0; } } input:checked + label:before { border-color: #fff; background: url("/images/icons/checkbox_blue.svg") no-repeat center #fff; } } .button { display: inherit; margin-left: auto; } } } } // Login .login { max-width: 410px; .form_field { margin-bottom: 15px; } input[name="login"] { padding-left: 32px; background: url("/images/icons/icon-login.svg") no-repeat 8px 50%; } input[name="pass"] { padding-left: 32px; background: url("/images/icons/icon-pass.svg") no-repeat 8px 50%; } .button { width: 90px; display: block; margin-left: auto; } } // Поиск договора в лк .search_form { margin-bottom: 55px; margin-left: 20px; margin-right: 20px; @media all and (max-width: 767px) { margin-bottom: 35px; margin-left: 0; margin-right: 0; } form { display: flex; align-items: center; justify-content: space-between; .form_field { &:first-child { width: calc(50% - 15px); min-width: calc(50% - 15px); margin-right: 15px; } &:nth-child(2), &:nth-child(3) { width: 100%; margin-right: 15px; } &.single { width: 100%; margin-right: 20px; } } .button { width: 158px; min-width: 158px; } @media all and (max-width: 767px) { display: block; .form_field.single { margin-right: 0; margin-bottom: 10px; } .button { width: 100%; &:disabled { background: var(--inactive); } } } } } // Акты сверок .reconciliation_form { &.small { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 420px; .form_field { width: ~"calc(50% - 8px)"; } button { margin-top: 35px; width: ~"calc(45% - 8px)"; &:last-child { width: ~"calc(55% - 8px)"; } } } } // Модаль .fade { position: fixed; z-index: 99999; top: 0; left: 0; width: 100%; height: 100%; overflow: auto; background: rgba(0,0,0,0.5); display: block; &:not(.opened) { display: none; } .modal { max-width: 640px; width: 100%; background: #fff; margin: 100px auto; padding: 45px 80px; .modal_footer { text-align: right; margin-top: 30px; .button { margin-left: auto; } } } } // Cookie modal #cookie { position: fixed; bottom: 20px; right: 20px; background: #fff; z-index: 999; display: none; padding: 25px 15px; max-width: 320px; border: 1px solid #EDEFF5; @media all and (max-width: 768px) { bottom: 0; right: 0; left: 0; margin: auto; max-width: none; } .close { width: 22px; height: 22px; border: 0; background: url("/images/icons/close-blue.svg") no-repeat center; outline: none; position: absolute; top: 10px; right: 10px; } p { a { color: var(--blue); } } }