2023-02-03 13:44:26 +03:00

596 lines
12 KiB
CSS

#filter {
position: relative;
}
#filter .container {
position: relative;
}
#filter.filter_in_catalog:not(.visible) {
display: none;
}
#filter.filter_in_catalog .container {
padding-top: 0;
padding-bottom: 0;
margin-bottom: 40px;
}
@media all and (max-width: 1420px) {
#filter.filter_in_catalog .container {
margin-left: 0;
margin-right: 0;
width: 100%;
}
#filter.filter_in_catalog .container .filter_header .button {
bottom: 10px;
}
}
@media all and (max-width: 767px) {
#filter.filter_in_catalog .container {
bottom: 0px;
}
}
@media all and (max-width: 1279px) {
#filter.filter_in_catalog .filter_body .filter_column:last-child {
margin-bottom: 40px;
}
}
@media all and (max-width: 767px) {
#filter.filter_in_catalog .filter_body .filter_column:last-child {
margin-bottom: 15px;
}
}
#filter.filter_in_catalog .button_group {
display: flex;
align-items: center;
gap: 0 15px;
}
@media all and (max-width: 767px) {
#filter.filter_in_catalog .button_group {
flex-wrap: wrap;
gap: 0;
width: 100%;
}
#filter.filter_in_catalog .button_group .button {
width: 100% !important;
}
#filter.filter_in_catalog .button_group a {
order: 1;
}
#filter.filter_in_catalog .button_group button {
order: 2;
}
}
#filter.filter_in_catalog .button_group .button {
position: relative;
bottom: 0 !important;
width: auto;
}
#filter .filter_header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 40px;
}
#filter .filter_header .button {
z-index: 10;
}
@media all and (max-width: 1279px) {
#filter .filter_header .button {
width: calc(50% - 15px);
position: absolute;
right: 0;
bottom: 90px;
}
}
@media all and (max-width: 1280px) {
#filter .filter_header .button {
bottom: 80px;
}
}
@media all and (max-width: 960px) {
#filter .filter_header .button {
bottom: 50px;
}
}
@media all and (max-width: 767px) {
#filter .filter_header .button {
width: 100%;
bottom: 60px;
}
}
#filter .filter_body {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
position: relative;
}
#filter .filter_body .filter_column {
width: calc(33.333% - 21px);
}
@media all and (max-width: 1279px) {
#filter .filter_body .filter_column {
width: calc(100%);
display: flex;
justify-content: space-between;
}
}
@media all and (max-width: 1279px) {
#filter .filter_body .filter_column:last-child {
margin-bottom: 70px;
}
#filter .filter_body .filter_column:last-child .fieldgroup .form_field {
width: 50%;
}
#filter .filter_body .filter_column:last-child .fieldgroup .form_field:first-child select {
border-right: 0;
}
#filter .filter_body .filter_column:last-child .fieldgroup .form_field:last-child select {
border-left: 0;
}
}
@media all and (max-width: 767px) {
#filter .filter_body .filter_column {
width: 100%;
margin-bottom: 0;
display: block;
height: 100px;
}
#filter .filter_body .filter_column:nth-child(1) .fieldgroup:nth-child(2) {
position: absolute;
top: 150px;
left: 0;
right: 0;
}
#filter .filter_body .filter_column:nth-child(2) > .form_field:nth-child(1) {
position: absolute;
top: 50px;
left: 0;
right: 0;
}
#filter .filter_body .filter_column:nth-child(2) .fieldgroup:nth-child(2) {
position: absolute;
top: 200px;
left: 0;
right: 0;
}
#filter .filter_body .filter_column:nth-child(3) > .form_field:nth-child(1) {
position: absolute;
top: 100px;
left: 0;
right: 0;
}
#filter .filter_body .filter_column:nth-child(3) .fieldgroup:nth-child(2) {
position: absolute;
top: 250px;
left: 0;
right: 0;
}
}
#filter .filter_body .form_field {
width: 100%;
margin-bottom: 10px;
}
@media all and (max-width: 1279px) {
#filter .filter_body .form_field {
width: calc(50% - 15px);
}
}
@media all and (max-width: 767px) {
#filter .filter_body .form_field {
width: 100%;
}
}
#filter .filter_body .fieldgroup {
width: 100%;
}
@media all and (max-width: 1279px) {
#filter .filter_body .fieldgroup {
width: calc(50% - 15px);
}
}
@media all and (max-width: 767px) {
#filter .filter_body .fieldgroup {
width: 100%;
}
}
#filter .filter_body .fieldgroup .form_field {
width: calc(50% - 20px);
}
@media all and (max-width: 1279px) {
#filter .filter_body .fieldgroup .form_field {
width: calc(50% - 4px);
}
}
#catalog_small_filter {
margin-bottom: 70px;
}
#catalog_small_filter.hidden {
display: none;
}
#catalog_small_filter .filter_body {
display: flex;
justify-content: flex-start;
gap: 0 16px;
}
#catalog_small_filter .filter_body select,
#catalog_small_filter .filter_body .form_field {
width: 100%;
}
#catalog_small_filter .filter_body button {
width: 220px;
min-width: 220px;
}
#catalog_small_filter .filter_body button#rich_filter_toggle {
width: 130px;
min-width: 130px;
}
@media all and (max-width: 767px) {
#catalog_small_filter .filter_body button#rich_filter_toggle {
width: 100%;
}
}
#catalog_small_filter .filter_body button#rich_filter_toggle svg {
margin-right: 12px;
}
@media all and (max-width: 1280px) {
#catalog_small_filter .filter_body {
justify-content: space-between;
}
#catalog_small_filter .filter_body .form_field {
width: calc(33.333% - 30px);
}
#catalog_small_filter .filter_body .form_field select {
width: 100%;
}
#catalog_small_filter .filter_body button {
width: 33.3333%;
}
}
@media all and (max-width: 767px) {
#catalog_small_filter .filter_body {
display: block;
}
#catalog_small_filter .filter_body .form_field,
#catalog_small_filter .filter_body button {
width: 100%;
margin-bottom: 8px;
}
}
#news + #order .container {
max-width: 1340px;
padding-left: 25px;
padding-right: 25px;
}
#news + #order .container .order_form {
margin: 0 -25px;
}
@media all and (max-width: 960px) {
#news + #order .container .order_form {
margin-top: -60px;
}
}
@media all and (max-width: 767px) {
#news + #order .container .order_form {
margin: 0;
}
}
#order .order_form {
position: relative;
margin: 0;
}
@media all and (max-width: 960px) {
#order .order_form {
margin-top: -60px;
}
}
@media all and (max-width: 767px) {
#order .order_form {
margin: 0;
}
}
#order .order_form .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;
}
#order .order_form .order_email p {
width: 320px;
font-size: 24px;
line-height: 45px;
padding: 0 20px;
}
@media all and (max-width: 1600px) and (min-width: 1280px) {
#order .order_form .order_email p {
font-size: 20px;
line-height: 32px;
}
}
@media all and (max-width: 1280px) {
#order .order_form .order_email p {
width: 220px;
font-size: 13px;
line-height: 20px;
}
}
@media all and (max-width: 767px) {
#order .order_form .order_email {
position: relative;
height: auto;
margin-bottom: 25px;
}
#order .order_form .order_email p {
padding: 0;
}
}
#order .order_form 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) {
#order .order_form form {
width: 550px;
margin-left: 320px;
}
}
@media all and (max-width: 960px) {
#order .order_form form {
width: 50%;
padding: 15px 25px;
margin-left: auto;
margin-right: 0;
}
}
@media all and (max-width: 767px) {
#order .order_form form {
width: auto;
margin-left: -16px;
margin-right: -16px;
padding: 25px 16px;
}
}
#order .order_form form input {
margin-bottom: 15px;
background: rgba(255, 255, 255, 0.2);
color: #fff;
}
#order .order_form form input::placeholder {
color: #fff;
}
#order .order_form form input[type="radio"] {
display: none;
visibility: hidden;
}
#order .order_form form input[type="radio"] + label {
display: block;
padding-left: 28px;
cursor: pointer;
color: #fff;
margin-bottom: 5px;
position: relative;
}
#order .order_form form input[type="radio"] + label:last-child {
margin-bottom: 15px;
}
#order .order_form form input[type="radio"] + label: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;
}
#order .order_form form input[type="radio"]:checked + label:before {
background: var(--blue);
border: 4px solid #fff;
}
#order .order_form form input[type="radio"]:disabled + label:before {
background: var(--gray);
cursor: none;
}
#order .order_form form .policy {
position: relative;
z-index: 2;
margin: 5px 25px 45px 25px;
}
@media all and (max-width: 1600px) {
#order .order_form form .policy {
margin-top: -5px;
margin-bottom: 25px;
margin-left: 0;
margin-right: 0;
}
}
#order .order_form form .policy label {
color: #fff;
font-weight: 300;
}
#order .order_form form .policy label:before {
background: #fff;
border-radius: 0;
}
#order .order_form form .policy input:checked + label:before {
border-color: #fff;
background: url("/images/icons/checkbox_blue.svg") no-repeat center #fff;
}
#order .order_form form .button {
display: inherit;
margin-left: auto;
}
.login {
max-width: 410px;
}
.login .form_field {
margin-bottom: 15px;
}
.login input[name="login"] {
padding-left: 32px;
background: url("/images/icons/icon-login.svg") no-repeat 8px 50%;
}
.login input[name="pass"] {
padding-left: 32px;
background: url("/images/icons/icon-pass.svg") no-repeat 8px 50%;
}
.login .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) {
.search_form {
margin-bottom: 35px;
margin-left: 0;
margin-right: 0;
}
}
.search_form form {
display: flex;
align-items: center;
justify-content: space-between;
}
.search_form form .form_field:first-child {
width: calc(50% - 15px);
min-width: calc(50% - 15px);
margin-right: 15px;
}
.search_form form .form_field:nth-child(2),
.search_form form .form_field:nth-child(3) {
width: 100%;
margin-right: 15px;
}
.search_form form .form_field.single {
width: 100%;
margin-right: 20px;
}
.search_form form .button {
width: 158px;
min-width: 158px;
}
@media all and (max-width: 767px) {
.search_form form {
display: block;
}
.search_form form .form_field.single {
margin-right: 0;
margin-bottom: 10px;
}
.search_form form .button {
width: 100%;
}
.search_form form .button:disabled {
background: var(--inactive);
}
}
.reconciliation_form.small {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
max-width: 420px;
}
.reconciliation_form.small .form_field {
width: calc(50% - 8px);
}
.reconciliation_form.small button {
margin-top: 35px;
width: calc(45% - 8px);
}
.reconciliation_form.small button: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;
}
.fade:not(.opened) {
display: none;
}
.fade .modal {
max-width: 640px;
width: 100%;
background: #fff;
margin: 100px auto;
padding: 45px 80px;
}
.fade .modal .modal_footer {
text-align: right;
margin-top: 30px;
}
.fade .modal .modal_footer .button {
margin-left: auto;
}
#cookie {
position: fixed;
bottom: 20px;
left: 20px;
background: #fff;
z-index: 999;
display: none;
padding: 25px 15px;
max-width: 320px;
z-index: 99;
border: 1px solid #EDEFF5;
}
@media all and (max-width: 768px) {
#cookie {
bottom: 0;
left: 0;
margin: auto;
max-width: none;
}
}
#cookie .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;
}
#cookie p a {
color: var(--blue);
}
.page_search {
margin-bottom: 25px;
}
.page_search form {
display: flex;
align-items: center;
}
.page_search form .form_field {
width: 100%;
}
.page_search form button {
min-width: 90px;
}