// 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: 768px) { bottom: 40px; } } } .filter_header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; .button { 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: 50px; } @media all and (max-width: 768px) { width: 100%; bottom: 60px; } } } .filter_body { display: flex; flex-wrap: wrap; justify-content: space-between; .filter_column { width: calc(33.333% - 21px); @media all and (max-width: 1279px) { width: calc(50% - 15px); margin-bottom: 35px; &:nth-child(3) { margin-bottom: 0; } } @media all and (max-width: 768px) { width: 100%; margin-bottom: 24px; &:last-child { margin-bottom: 100px; } } } .form_field { width: 100%; margin-bottom: 10px; } .fieldgroup { width: 100%; .form_field { width: calc(50% - 20px); @media all and (max-width: 768px) { width: calc(50% - 4px); } } } } } // Catalog smamm filter #catalog_small_filter { margin-bottom: 40px; &.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: 768px) { display: block; .form_field, button { width: 100%; margin-bottom: 8px; } } } } // Order #order { .order_form { position: relative; margin: 0 -25px; @media all and (max-width: 960px) { margin-top: -60px; } @media all and (max-width: 768px) { 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: 1280px) { width: 220px; font-size: 13px; line-height: 20px; } } @media all and (max-width: 768px) { 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: 285px; } @media all and (max-width: 768px) { width: auto; margin-left: -16px; margin-right: -16px; padding: 25px 16px; } input { margin-bottom: 32px; background: rgba(255, 255, 255, 0.2); color: #fff; &::placeholder { color: #fff; } @media all and (max-width: 1280px) { margin-bottom: 15px; } } .policy { position: relative; z-index: 2; margin: -16px 25px 45px 25px; @media all and (max-width: 1280px) { 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("/assets/images/icons/checkbox_blue.svg") no-repeat center #fff; } } .button { display: inherit; margin-left: auto; } } } } // Login .login { max-width: 610px; .login_with { display: flex; align-items: center; margin-bottom: 50px; justify-content: flex-start; p { margin-right: 20px; } .tabs { .tab { margin-right: 0; &:not(.active) { background-color: var(--inactive); } } } } .button-group { display: flex; align-items: center; justify-content: flex-end; .button { margin-left: 30px; display: flex; &:first-child { width: auto; } } } .form_field { margin-bottom: 15px; } input[name="login"] { padding-left: 32px; background: url("/assets/images/icons/icon-login.svg") no-repeat 8px 50%; } input[name="pass"] { padding-left: 32px; background: url("/assets/images/icons/icon-pass.svg") no-repeat 8px 50%; } .button { width: 90px; display: block; margin-left: auto; } @media all and (max-width: 960px) { max-width: 440px; form { max-width: 400px; } } @media all and (max-width: 768px) { .login_with { display: block; margin-bottom: 30px; p { margin-bottom: 10px; } .tabs { width: 100%; .tab { width: 50%; text-align: center; } } } .button-group { flex-wrap: wrap; justify-content: center; .button { margin-left: 0; } button { order: 1; width: 100%; } a { order: 2; display: inline-flex; } } } &.recovery { max-width: 815px; .message { margin-bottom: 15px; } form { display: flex; justify-content: space-between; .form_field { width: calc(100% - 205px); } .button { width: 175px } &.newPass_form { flex-wrap: wrap; } } .resend { display: flex; align-items: center; justify-content: flex-start; p { margin-right: 30px; } .button { margin-left: 0; width: auto; } } @media all and (max-width: 960px) { form { max-width: 100%; } } @media all and (max-width: 768px) { form { display: block; .form_field, .button { width: 100%; } } .resend { display: block; text-align: center; margin-top: 15px; p { margin-right: 0; } .button { margin-left: auto; margin-right: auto; } } } } } // Поиск договора в лк .contract_search { margin-bottom: 55px; 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: 80px; } .button { width: 158px; min-width: 158px; } input + label { display: none; } } } @media all and (max-width: 960px) { margin-bottom: 40px; form { flex-wrap: wrap; justify-content: flex-start; .form_field { &:first-child { margin-bottom: 15px; width: 100%; &.single { width: calc(100% - 105px); margin-right: 30px; margin-bottom: 0; } } &:nth-child(2), &:nth-child(3) { width: 25%; margin-right: 30px; } } .button { margin-left: auto; } } } @media all and (max-width: 768px) { form { justify-content: space-between; .form_field { margin-right: 0; &:first-child { margin-right: 0; margin-bottom: 15px; width: 100%; &.single { width: 100%; margin-right: 0px; } } &:nth-child(2), &:nth-child(3) { width: calc(50% - 4px); margin-right: 0px; input { } } .date_input, input[type="date"] { height: 55px; background-position: 8px 14px; position: relative; padding-bottom: 8px; &::placeholder {color: transparent} &[value=""] + label { display: inline-block; position: absolute; left: 32px; top: 10px; z-index: 2; font-size: 13px; line-height: 20px; color: #919399; } } } .button { margin-left: auto; width: 100%; margin-top: 15px; background: var(--blue); color: #fff; &:disabled { opacity: 0.48; } } } } } // Акты сверок .reconciliation_form { &:not(.small) { margin-bottom: 35px; display: flex; flex-wrap: wrap; justify-content: space-between; p { width: 100%; font-weight: 700; margin-bottom: 20px; } .form_group { width: calc(65% - 8px); display: flex; flex-wrap: wrap; justify-content: space-between; &:last-child { width: calc(35% - 8px); } } .form_field { width: calc(50% - 8px); } .button { width: calc(40% - 8px); &:last-child { width: calc(60% - 8px); } } @media all and (max-width: 1279px) { .form_group, .form_group:last-child { width: calc(50% - 8px); } } @media all and (max-width: 768px) { p { margin-bottom: 8px; } .form_group, .form_group:last-child { width: 100%; } .form_field { margin-bottom: 15px; } .button, .form_field { width: calc(50% - 4px); &:last-child { width: calc(50% - 4px); } } } } &.small { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 420px; @media all and (max-width: 768px) { max-width: 100%; } .form_field { width: ~"calc(50% - 8px)"; @media all and (max-width: 768px) { width: ~"calc(50% - 4px)"; } .date_input_wrapper { > .rw-widget .rw-widget-container { display: block; > button { margin: 0; width: 100%; } } } } button.button { margin-top: 35px; width: ~"calc(45% - 8px)"; &:last-child { width: ~"calc(55% - 8px)"; } @media all and (max-width: 768px) { width: calc(50% - 4px) !important; margin-top: 15px; } } } } // Модаль .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 40px; .modal_footer { text-align: right; margin-top: 30px; .button { margin-left: auto; } } } @media all and (max-width: 768px) { .modal { padding: 25px 20px; margin: 0; } } } // Акты сверок .reconciliation_form { &.small { display: flex; flex-wrap: wrap; justify-content: space-between; max-width: 420px; .form_field { width: ~"calc(50% - 8px)"; @media all and (max-width: 768px) { width: ~"calc(50% - 4px)"; } } button.button { margin-top: 15px; width: ~"calc(45% - 8px)"; &:last-child { width: ~"calc(55% - 8px)"; } @media all and (max-width: 768px) { width: ~"calc(50% - 4px)"; } } } } // Модаль .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 40px; .modal_footer { text-align: right; margin-top: 30px; .button { margin-left: auto; } } } }