Files
vidok.com/layout/style-scss/kontakt-v8.scss
2026-01-29 14:54:12 +01:00

1474 lines
26 KiB
SCSS

@import 'variables';
@import '_mixins';
html {
scroll-behavior: smooth;
scroll-padding-top: 105px;
}
body {
&.fixed {
overflow: hidden;
}
}
p {
&:last-child {
margin-bottom: 0;
}
}
strong {
font-weight: 700;
}
.main-page {
padding-top: 0px;
padding-bottom: 0;
}
.breadcrumbs {
margin: 14px 0;
}
.box-1 {
background: linear-gradient(180deg, #ffffff 0%, #f7f6f5 100%);
.box-1--wrapper {
.c-row {
position: relative;
display: flex;
flex-direction: row;
column-gap: 120px;
align-items: center;
justify-content: space-between;
min-height: 437px;
@include respond-below(lg) {
column-gap: 60px;
}
@include respond-below(md) {
flex-direction: column;
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
row-gap: 50px;
}
.bg-icon {
position: absolute;
left: 16%;
top: 0;
border: 0;
@include respond-below(sm) {
left: 50%;
transform: translateX(-50%);
width: 100%;
max-width: fit-content;
}
}
.c-col {
&-1 {
position: relative;
width: 100%;
max-width: 440px;
.box-title {
margin-bottom: 24px;
h1 {
color: $cTxtBlack;
font-family: $font3;
font-style: normal;
font-weight: 500;
font-size: 40px;
line-height: 1;
letter-spacing: 2px;
margin-bottom: 0;
// @include respond-below(lg) {
// font-size: 40px;
// }
}
}
.box-text {
padding-bottom: 19px;
margin-bottom: 17px;
border-bottom: 1px solid #000;
p {
color: $cTxtBlack;
font-family: $font3;
font-style: normal;
font-weight: 300;
font-size: 20px;
line-height: 30px;
letter-spacing: 2px;
text-transform: uppercase;
// @include respond-below(lg) {
// font-size: 24px;
// }
}
}
.box-nav {
ol {
display: flex;
flex-direction: row;
align-items: center;
list-style: none;
padding: 0;
margin: 0;
gap: 16px;
li {
// width: 100%;
// max-width: 241px;
&:nth-child(1) {
a {
background-color: #1e2832;
}
}
&:nth-child(2) {
a {
background-color: #b8aea4;
}
}
a {
display: block;
padding: 18px 13px;
border-radius: 10px;
text-align: center;
box-shadow: 0 1px 1px rgba(0, 0, 0, 0.12);
transition: box-shadow 0.3s;
padding: 0.9rem 1rem 0.8rem 1rem;
border-radius: 6px;
line-height: 1;
width: fit-content;
cursor: pointer;
// @include respond-below(lg) {
// padding: 14px 13px;
// }
span {
display: inline-block;
color: $cWhite;
font-family: $font3;
font-weight: 700;
font-size: 13px;
line-height: 1;
letter-spacing: 1px;
text-transform: uppercase;
// @include respond-below(lg) {
// font-size: 14px;
// }
}
}
}
}
}
}
&-2 {
.box-img {
width: 100%;
max-width: 750px;
img {
width: 100%;
border-radius: 20px;
}
}
}
}
}
}
}
.box-2 {
padding-top: 105px;
padding-bottom: 112px;
.box-2--wrapper {
.c-row {
display: flex;
flex-direction: row;
align-items: center;
@include respond-below(md) {
flex-direction: column;
}
.c-col {
&-1 {
width: 100%;
max-width: 580px;
min-height: 640px;
align-content: center;
border-top: 1px solid #b79f87;
border-left: 1px solid #b79f87;
border-bottom: 1px solid #b79f87;
border-top-left-radius: 30px;
border-bottom-left-radius: 30px;
padding: 45px 30px 45px 60px;
@include respond-below(lg) {
padding: 30px;
}
@include respond-below(md) {
max-width: unset;
min-width: unset;
width: auto;
min-height: unset;
text-align: center;
border-bottom: 0;
border-right: 1px solid #b79f87;
border-top-right-radius: 30px;
border-bottom-left-radius: 0;
padding: 70px 30px 90px 60px;
margin-bottom: -25px;
}
.box-text {
margin-bottom: 35px;
p {
color: $cTxtBlack;
font-family: $font3;
font-weight: 300;
font-size: 20px;
line-height: 1.35;
letter-spacing: -0.48px;
@include respond-below(lg) {
font-size: 20px;
}
}
ul {
width: 100%;
max-width: 460px;
padding-left: 30px;
margin: 35px 0;
@include respond-below(lg) {
margin: 20px 0;
}
@include respond-below(md) {
display: flex;
flex-direction: column;
align-items: center;
max-width: unset;
}
li {
color: $cTxtBlack;
font-family: $font3;
font-weight: 300;
font-size: 20px;
line-height: 1.35;
letter-spacing: -0.48px;
@include respond-below(lg) {
font-size: 20px;
}
&:not(:last-child) {
margin-bottom: 15px;
@include respond-below(lg) {
margin-bottom: 5px;
}
}
}
}
}
.box-nav {
._radios {
display: flex;
flex-direction: column;
row-gap: 20px;
@include respond-below(lg) {
row-gap: 20px;
}
@include respond-below(md) {
align-items: center;
}
._radio {
display: inline-flex;
align-items: center;
justify-content: center;
width: 100%;
max-width: 410px;
input[type='radio'] {
appearance: none;
}
input[type='radio']:checked + label {
color: #fff !important;
background: #1e2832 !important;
}
label,
a {
color: #3f3f3f;
font-family: $font3;
font-style: normal;
font-weight: 600;
font-size: 20px;
line-height: 1;
text-align: center;
margin-bottom: 0;
cursor: pointer;
width: 100%;
max-width: 410px;
border-radius: 20px;
border: 1px solid #dfdfdf;
padding: 13px;
@include respond-below(lg) {
font-size: 18px;
}
}
}
}
}
}
&-2 {
width: 100%;
max-width: 650px;
min-height: 700px;
align-content: center;
padding: 25px 28px 40px 34px;
background: #f7f6f5;
border-radius: 15px;
@include respond-below(md) {
max-width: unset;
}
// @include respond-below(md) {
// border-radius: 14px 14px 22px 22px;
// }
input {
&[type='text'],
&[type='email'] {
padding: 13px 14px 11px 14px;
border-radius: 20px;
width: 100%;
border: none;
background: #fff;
color: #3f3f3f;
font-size: 14px;
font-family: $font3;
line-height: 1;
font-weight: 300;
outline: none;
}
&[type='radio'],
&[type='checkbox'] {
position: relative;
appearance: none;
width: 11px;
min-width: 11px;
height: 11px;
border-radius: 100%;
border: 1px solid #dfdfdf;
transition: all 250ms ease-in-out;
outline: none;
&::before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
border-radius: 100%;
background: #1d1d1e;
transform: translate(-50%, -50%);
visibility: hidden;
transition: all 250ms ease-in-out;
}
&:checked {
border-color: #1d1d1e;
&::before {
width: 6px;
height: 6px;
visibility: visible;
}
}
}
}
textarea {
padding: 13px 14px 11px 14px;
border-radius: 20px;
width: 100%;
border: none;
background: #fff;
min-height: 100px;
color: #3f3f3f;
font-size: 14px;
font-family: $font3;
line-height: 1;
font-weight: 300;
outline: none;
resize: none;
}
select {
position: relative;
appearance: none;
padding: 13px 14px 11px 14px;
border-radius: 20px;
width: 100%;
border: none;
background: #fff;
color: #3f3f3f;
font-size: 14px;
font-family: $font3;
line-height: 1;
font-weight: 300;
outline: none;
}
._1_column {
display: flex;
flex-direction: row;
margin-bottom: 5px;
&._col_message {
margin-top: 15px;
margin-bottom: 16px;
}
> * {
width: 100% !important;
}
}
._2_columns {
display: flex;
flex-direction: row;
column-gap: 25px;
margin-bottom: 7px;
@include respond-below(sm) {
flex-wrap: wrap;
row-gap: 14px;
}
> * {
width: 50% !important;
@include respond-below(sm) {
width: 100% !important;
}
}
}
._text {
margin: 16px 0 14px;
text-align: center;
p {
color: #1d1d1e;
font-size: 11px;
font-weight: 300;
font-family: $font3;
margin-bottom: 0px;
}
}
._file {
padding: 29px;
margin: 0 0 26px 0;
border-radius: 20px;
width: 100%;
border: none;
background: #fff;
color: #3f3f3f;
font-size: 14px;
font-family: $font3;
line-height: 1;
font-weight: 300;
border: none;
.fileuploader-input {
width: fit-content;
margin: 0 auto;
.fileuploader-input-caption {
span {
padding-top: 3px;
display: inline-block;
color: #1d1d1e;
font-size: 16px;
font-family: $font3;
font-weight: 300;
}
}
button.fileuploader-input-button {
background: #1e2832;
border-radius: 25px;
padding: 10px 36px;
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
color: #fff;
font-family: $font3;
font-size: 14px;
font-weight: 700;
letter-spacing: 2px;
text-transform: uppercase;
}
@media (max-width: 768px) {
flex-direction: column;
}
}
@media (max-width: 576px) {
}
}
._radio,
._checkbox {
display: flex;
flex-direction: row;
align-items: center;
gap: 8px;
label {
color: #1d1d1e;
font-size: 10px;
font-family: $font3;
font-weight: 300;
line-height: 1;
padding-top: 2px;
margin-bottom: 0;
cursor: pointer;
}
}
.form_actions {
margin-top: 37px;
align-items: center;
margin-bottom: 0;
@include respond-below(xs) {
flex-direction: column;
align-items: center;
row-gap: 30px;
}
button[type='submit'] {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
padding: 13px 20px 10px 20px;
margin: 0;
background: #fff246;
border-radius: 6px;
color: #1d1d1e;
font-size: 16px;
font-family: $font3;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
line-height: 1;
box-shadow: 0 4px 4px rgba(0, 0, 0, 0.12);
width: fit-content !important;
height: auto;
border: none;
outline: none;
cursor: pointer;
// &:active {
// background: #f0e875;
// }
img {
width: 20px;
padding-bottom: 3px;
}
@include respond-above(xs) {
margin-left: 20px;
}
}
.g-recaptcha {
width: fit-content !important;
@include respond-above(xs) {
margin-left: auto;
}
}
}
}
}
}
}
}
.box-3 {
position: relative;
height: 440px;
background-color: #f1efed;
margin-bottom: 33px;
@include respond-below(sm) {
height: 320px;
}
.box-3--bg {
position: relative;
width: fit-content;
margin-left: auto;
height: 100%;
&::before {
content: '';
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 100%;
max-width: 700px;
background: linear-gradient(
90.95deg,
#f1efed 5.52%,
rgba(245, 248, 255, 0) 95.9%
);
}
img {
width: 100%;
max-width: fit-content;
height: 100%;
object-fit: cover;
object-position: center left;
}
}
.container {
position: absolute;
inset: 0;
align-content: center;
}
.box-3--wrapper {
position: relative;
.c-row {
.box-title {
margin-bottom: 33px;
h3 {
color: #181c1d;
font-size: 36px;
font-family: $font3;
font-weight: 300;
line-height: 1.3;
margin: 0;
strong {
font-size: 40px;
font-weight: 500;
}
}
@include respond-below(sm) {
margin-bottom: 26px;
h3 {
font-size: 28px;
strong {
font-size: 32px;
}
}
}
}
ol {
padding: 0;
margin: 0;
list-style: none;
li {
a {
display: inline-flex;
flex-direction: row;
align-items: center;
column-gap: 12px;
padding: 14px 26px 15px;
background: #ffffff;
border: 1px solid #dfdfdf;
border-radius: 30px;
span {
color: #3f3f3f;
font-size: 20px;
font-family: $font3;
font-weight: 600;
line-height: 1;
padding-top: 2px;
}
@include respond-below(sm) {
font-size: 16px;
}
}
}
}
}
}
}
.box-4 {
background: #1e2832;
.box-4--wrapper {
padding: 100px 0;
.c-row {
.box-title {
margin-bottom: 40px;
h2 {
color: $cWhite;
font-family: $font3;
font-weight: 300;
font-size: 40px;
line-height: 1;
text-align: center;
letter-spacing: 0.01em;
margin: 0;
@include respond-below(sm) {
font-size: 34px;
}
strong {
font-weight: 500;
}
}
}
.box-text {
max-width: 620px;
margin: 0 auto 40px;
@include respond-below(sm) {
max-width: 470px;
}
p {
color: $cWhite;
font-family: $font3;
font-weight: 300;
font-size: 18px;
line-height: 1.7;
text-align: center;
letter-spacing: 0.01em;
margin: 0;
@include respond-below(sm) {
font-size: 16px;
}
}
#share-location-btn {
display: inline-flex;
flex-direction: row;
align-items: center;
column-gap: 8px;
cursor: pointer;
img {
filter: invert(1);
width: 20px;
height: 20px;
}
}
}
.box-form {
form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.form-search {
display: flex;
flex-direction: row;
width: 100%;
max-width: 714px;
background: #ffffff;
border-radius: 100px;
.row-input {
display: flex;
flex-direction: row;
align-items: center;
gap: 10px;
width: 100%;
padding: 0 14px 0 34px;
label {
margin: 0;
}
input {
width: 100%;
padding: 0;
background: transparent;
border: 0;
outline: none;
height: 58px;
color: #1d1d1e;
font-family: $font3;
font-weight: 500;
font-size: 20px;
&::placeholder {
color: #1d1d1e;
}
@include respond-below(sm) {
font-size: 16px;
}
}
}
button {
background: #b8aea4;
border-radius: 30px;
height: 58px;
border: none;
color: #fff;
font-family: $font3;
font-weight: 700;
font-size: 16px;
line-height: 1;
margin-bottom: 0;
padding: 20px 32px 19px;
min-width: fit-content;
outline: none;
cursor: pointer;
@include respond-below(sm) {
font-size: 14px;
padding: 10px 20px 9px;
}
}
}
}
}
}
}
}
.box-5 {
margin-top: 83px;
margin-bottom: 72px;
.box-5--wrapper {
.c-row {
width: 100%;
max-width: 1014px;
height: 1px;
background: #1e2832;
margin: 0 auto;
}
}
}
.box-6 {
padding-bottom: 100px;
.box-6--wrapper {
display: flex;
flex-direction: column;
.c-row {
&-1 {
padding: 36px 35px;
border-radius: 30px;
background: #f6f5f4;
display: flex;
flex-direction: row;
justify-content: space-between;
gap: 40px;
transition: all 250ms ease-in-out;
transition-delay: 250ms;
@include respond-below(md) {
flex-direction: column;
}
&.active {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
transition: all 100ms ease-in-out;
transition-delay: 0ms;
}
.c-col {
&-1 {
@include respond-between(xs, md) {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-areas:
't1 t1'
't2 t3'
't4 t4';
}
@include respond-below(xs) {
display: flex;
flex-direction: column;
}
.text-1 {
margin-bottom: 20px;
@include respond-between(xs, md) {
grid-area: t1;
}
p {
color: #1e2832;
font-family: $font3;
font-weight: 500;
font-size: 20px;
line-height: 1;
}
}
.text-2 {
margin-bottom: 40px;
@include respond-between(xs, md) {
grid-area: t2;
}
h2 {
color: #1e2832;
font-family: $font3;
font-weight: 600;
font-size: 23px;
line-height: 1;
}
p {
color: #1e2832;
font-family: $font3;
font-weight: 400;
font-size: 16px;
line-height: 1.2;
}
}
.text-3 {
margin-bottom: 40px;
@include respond-between(xs, md) {
grid-area: t3;
}
p {
color: #1e2832;
font-family: $font3;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
margin-bottom: 0;
}
}
.text-4 {
@include respond-between(xs, md) {
grid-area: t4;
}
p {
color: #1e2832;
font-family: $font3;
font-weight: 700;
font-size: 16px;
line-height: 1.5;
margin-bottom: 0;
}
}
}
&-2 {
width: 100%;
max-width: 765px;
display: flex;
flex-direction: column;
.box-map {
height: 100%;
line-height: 0;
margin-bottom: 30px;
border-radius: 10px;
overflow: hidden;
@include respond-below(md) {
height: 250px;
}
#big-map {
height: 100%;
}
}
.box-info {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
@include respond-below(sm) {
flex-direction: column;
row-gap: 40px;
text-align: center;
}
.box-info-left {
ul {
padding: 0;
margin: 0;
list-style: none;
li {
.icons {
display: inline-block;
width: 19px;
margin-right: 8px;
}
color: #1e2832;
font-family: $font3;
font-weight: 600;
font-size: 16px;
line-height: 1.5;
a {
color: inherit;
font-family: inherit;
font-weight: inherit;
font-size: inherit;
line-height: inherit;
}
}
}
}
.box-info-right {
display: flex;
flex-direction: row;
align-items: center;
column-gap: 20px;
cursor: pointer;
&.active {
span {
img {
transform: scale(-1);
}
}
}
p {
color: #1e2832;
font-family: $font3;
font-weight: 400;
font-size: 16px;
line-height: 20px;
text-align: right;
text-transform: uppercase;
margin: 0;
}
span {
display: inline-flex;
align-items: center;
justify-content: center;
width: 27px;
min-width: 27px;
height: 27px;
border-radius: 100%;
background: #1e2832;
cursor: pointer;
img {
transition: all 250ms ease-in-out;
}
}
}
}
}
}
}
&-2 {
display: none;
.c-col {
padding-top: 12px;
}
.tiles {
display: flex;
flex-direction: row;
gap: 70px;
flex-wrap: wrap;
// padding-top: 60px;
padding: 37px 60px;
background: #f8f7f6;
border-bottom-left-radius: 30px;
border-bottom-right-radius: 30px;
.tile {
width: calc((100% / 4) - (70px - (70px / 4)));
padding-left: 25px;
border-left: 1px solid #1e2832;
@include respond-below(md) {
width: calc((100% / 2) - (70px - (70px / 2)));
}
@include respond-below(xs) {
width: 100%;
}
h3 {
color: #1d1d1e;
font-size: 20px;
font-weight: 700;
margin-bottom: 30px;
@include respond-below(md) {
font-size: 18px;
}
}
ol {
padding: 0;
margin: 0;
list-style: none;
li {
line-height: 1;
a {
display: inline-flex;
flex-direction: row;
align-items: center;
column-gap: 10px;
color: #1d1d1e;
font-size: 16px;
line-height: 1;
font-family: $font3;
font-weight: 400;
@include respond-below(md) {
font-size: 14px;
}
img {
width: 18px;
height: 18px;
}
}
}
}
// .tile-text {
// border-radius: 15px;
// border: 0.5px solid #181c1d;
// padding: 27px 20px;
// box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.25);
// background: #fff;
// a {
// color: #1d1d1e;
// font-size: 16px;
// font-family: $font3;
// font-weight: 600;
// @include respond-below(md) {
// font-size: 14px;
// }
// }
// }
}
}
}
&-3 {
padding-top: 50px;
.c-col {
p {
color: $cTxtBlack;
font-family: $font3;
font-weight: 300;
font-size: 15px;
line-height: 1.55;
text-align: justify;
}
}
}
}
}
}
#box-map-showrooms {
display: flex;
height: 800px;
margin-bottom: 100px;
#showrooms-sidebar {
width: 0;
transition: all 300ms ease-in-out;
opacity: 0;
visibility: hidden;
&.has-results {
width: 540px;
opacity: 1;
visibility: visible;
}
#results-list {
display: flex;
flex-direction: column;
row-gap: 12px;
padding: 12px 12px;
overflow-y: auto;
overflow-x: hidden;
height: 700px;
.sidebar-item {
// &:hover {
// .sidebar-item--wrapper {
// background: #fff;
// }
// }
&.active {
.sidebar-item--wrapper {
background: #fff;
border: 1px solid #b4aaa2;
box-shadow: -2px 2px 4.6px #b6aca3;
}
}
.sidebar-item--wrapper {
display: grid;
grid-template-columns: 200px 1fr;
gap: 16px 32px;
padding: 24px;
// border: 1px solid #b4aaa2;
border-radius: 10px;
width: 500px;
background: #f7f6f5;
transition: all 250ms ease-in-out;
border: 1px solid #f7f6f5;
.item-type {
span {
display: inline-flex;
padding: 8px 22px 7px;
color: $cWhite;
font-family: $font3;
font-style: normal;
font-weight: 700;
font-size: 16px;
line-height: 1;
background: #1e2832;
border-radius: 100px;
}
}
.item-location {
display: inline-flex;
border-left: 5px solid #1e2832;
padding-left: 14px;
height: fit-content;
p {
color: #1d1d1e;
font-family: $font3;
}
}
.item-working-hours {
p {
color: #1d1d1e;
font-family: $font3;
}
}
.item-contact {
ul {
list-style: none;
padding: 0;
margin: 0;
li {
a {
color: #1d1d1e;
font-family: $font3;
}
}
}
}
}
}
}
}
#showroom-popup.showroom-card--popup {
visibility: hidden;
opacity: 0;
transition: all 50ms ease-in-out;
position: absolute;
z-index: 999;
left: calc(50% + 250px);
top: 40%;
transform: translate(-50%, -50%);
&.active {
visibility: visible;
opacity: 1;
}
.showroom-card--popup-wrapper {
width: 650px;
margin-top: 120px;
background: $cWhite;
border-radius: 30px;
display: flex;
flex-direction: column;
overflow: hidden;
.popup--head {
display: flex;
flex-direction: row;
background: #1e2832;
padding: 40px 60px 35px 60px;
p {
color: $cWhite;
font-family: $font3;
font-weight: 600;
font-size: 20px;
line-height: 1;
margin: 0;
position: relative;
&:not(:last-child) {
padding-right: 25px;
margin-right: 25px;
&::before {
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 3px;
width: 1px;
background: $cWhite;
}
}
}
.close-popup {
cursor: pointer;
margin: 0 0 0 auto;
width: 20px;
height: 20px;
color: #fff;
font-size: 35px;
line-height: 0.7;
}
}
.popup--body {
padding: 20px;
.popup--body-info {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
p,
a {
color: $cTxtBlack;
font-family: $font3;
font-weight: 400;
font-size: 16px;
line-height: 1.5;
strong {
font-weight: 700;
}
}
.info-name {
p {
padding-left: 11px;
border-left: 5px solid #000;
}
}
.info-time {
}
.info-products {
img {
max-height: 30px;
}
}
}
.popup--body-map {
margin-top: 20px;
line-height: 0;
border-radius: 10px;
overflow: hidden;
height: 200px;
.popup-map {
height: 100%;
}
}
}
}
}
}