main { overflow: hidden; section { //padding: 80px 0; &.gray { background: var(--inactive); } } .title_wrapper { display: flex; justify-content: space-between; margin-bottom: 50px; h1, h2, h3, h4, h5 { margin-bottom: 0; line-height: 1; } .title_link { font-weight: 600; display: inline-block; margin-left: 55px; align-self: flex-end; line-height: 24px; } .left { display: flex; } .right { display: flex; } } // Главный слайдер #main_slider { height: 708px; background: var(--gray-light); padding: 0; position: relative; .container { position: relative; height: 100%; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 10%), rgba(255, 255, 255, 10%) 1px, transparent 2px, transparent 20%); } .slider_active_title { font-weight: bold; font-size: 43px; line-height: 63px; letter-spacing: 2px; color: #fff; max-width: 560px; position: absolute; top: 176px; left: 0; text-transform: uppercase; font-family: 'PF Din Display Pro Bold'; } .slider_list { position: absolute; bottom: 0; left: 0; right: 0; display: flex; .slider_item { width: 20%; max-width: 20%; height: 300px; padding: 15px 25px; display: flex; flex-wrap: wrap; align-items: flex-end; align-content: flex-end; cursor: pointer; position: relative; overflow: hidden; &:after { content: ""; display: block; position: absolute; left: 0; right: 0; top: 0; z-index: 1; width: 100%; height: 100%; transform: translateY(100%); transition: 175ms transform cubic-bezier(0.25, 0.46, 0.45, 0.94); } .item_name { font-size: 24px; line-height: 24px; text-transform: uppercase; color: #fff; width: 100%; display: flex; height: 86px; align-content: center; align-items: center; justify-content: space-between; transition: 175ms transform cubic-bezier(0.25, 0.46, 0.45, 0.94); transform: translateY(57px); position: relative; z-index: 2; margin-right: 15px; font-family: 'PF Din Display Pro Bold'; &:after { content: ""; display: block; width: 22px; min-width: 22px; height: 14px; background: url("/images/icons/slider_arrow.svg") no-repeat center; } } a { display: inline-block; line-height: 40px; color: #fff; font-weight: 600; transition: 175ms transform cubic-bezier(0.25, 0.46, 0.45, 0.94); transform: translateY(57px); position: relative; z-index: 2; } &.active { background: currentColor; .item_name, a { transform: translateY(0px); } .item_name:after { width: 44px; background: url("/images/icons/slider_arrow-hover.svg") no-repeat center; transform: rotate(-90deg) translate(15px, 15px); } } &:hover { .item_name, a { transform: translateY(0px); } &:after { transform: translateY(0px); background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, currentColor 100%); } } } .slider_navto { width: 20%; max-width: 20%; height: 300px; a { background: #fff; width: 100%; height: 100%; clip-path: polygon(100% 0, 0% 100%, 100% 100%); transition: 175ms background cubic-bezier(0.25, 0.46, 0.45, 0.94); box-sizing: border-box; padding: 0 25px; display: flex; align-items: flex-end; justify-content: flex-end; &:after { content: ""; display: block; width: 22px; min-width: 22px; height: 86px; transition: 175ms all cubic-bezier(0.25, 0.46, 0.45, 0.94); background: url("/images/icons/slider_arrow-blue.svg") no-repeat center; } &:hover { background: #04a8a4; &:after { width: 90px; background: url("/images/icons/arrow-navto.svg") no-repeat center; } } } } } } // Калькулятор #calc { .container { background: url("/images/calc-bg.jpg") no-repeat right center #EDEFF5; padding: 70px 25px; position: relative; &:after { content: ""; display: block; position: absolute; top: 0; bottom: 0; right: -100%; width: 100%; left: auto; background-color: inherit; } } .calc_body { display: flex; justify-content: space-between; .calc_settings { width: 830px; .settings_box { background: rgba(255, 255, 255, 0.6); border-radius: 4px; height: 57px; margin-bottom: 80px; position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; padding: 10px; &:last-child { margin-bottom: 20px; } p { margin-bottom: 15px; font-weight: 700; &.min { position: absolute; top: 65px; font-weight: 400; left: 10px; margin: 0; } &.max { position: absolute; top: 65px; font-weight: 400; right: 10px; margin: 0; } } .line { position: relative; width: 100%; background: rgb(142 148 167 / 40%); height: 5px; z-index: 2; .active_line { background: var(--blue); position: absolute; left: 0; bottom: 0; height: 10px; } .dragble { position: absolute; top: 8px; left: 0; width: 16px; height: 16px; transform: rotate(45deg) translate(-6px, 6px); cursor: pointer; background: var(--blue); } } } } .calc_result { width: 350px; align-items: stretch; align-content: stretch; display: flex; flex-wrap: wrap; .result_box { p { font-weight: 700; &.price { font-size: 41px; line-height: 1; sup { font-weight: 300; font-size: 12px; line-height: 18px; color: #8E94A7; vertical-align: super; } } } } .button { width: 100%; align-self: center; } .secondary { align-self: flex-end; } } } } .news_arrows { display: flex; align-content: center; button { width: 97px; height: 28px; background-color: var(--blue); box-sizing: border-box; padding: 0 10px; transition: 175ms background ease-in-out; svg { width: 8px; height: 12px; margin-left: auto; path { stroke: #fff; transition: 175ms stroke ease-in-out; } } &.prev {} &.next {} &:disabled, &.slick-disabled { cursor: default; background-color: var(--inactive); background-position: center; svg { margin-left: 0; path { stroke: #8E94A7; } } } } } .news_list, .career_list { display: flex; white-space: nowrap; width: 100%; .slick-list { // overflow: visible; width: 100%; .slick-track { white-space: nowrap; display: flex; padding-right: 100px; &:after { content: ""; display: block; width: 365px; min-width: 365px; height: 200px; } } } .news_item, .career_item { width: 365px; min-width: 365px; padding: 35px 20px; background: #EDEFF5; position: relative; p { white-space: normal; margin-bottom: 22px; line-height: 24px; transition: 175ms color ease-in-out; } .news_date { margin-bottom: 35px; } img { display: block; margin-bottom: 22px; object-fit: cover; } .news_title, .career_title { color: #0C0C0C; font-size: 24px; line-height: 28px; font-weight: 700; } .news_description, .career_description {} .news_link, .career_link { margin-bottom: 0; color: var(--blue); } a { display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 3; } &:after { content: ""; display: block; position: absolute; top: -24px; left: 0; right: 0; bottom: -24px; opacity: 0; visibility: hidden; transition: 175ms all ease-in-out; } &:hover { z-index: 2; &:after { opacity: 1; visibility: visible; background: var(--green); z-index: 0; } p, img { color: #fff; z-index: 2; position: relative; } .news_date { &:after { content: ""; position: absolute; bottom: -8px; height: 2px; left: 0; right: 0; background: linear-gradient(to right, #ffffff 0%, rgba(255, 255, 255, 0) 100%); } } } } &.masongry_columns { display: flex; justify-content: space-between; .column { width: calc(50% - 15px); } .news_item, .career_item { width: 100%; margin-bottom: 30px; } } } .programs_list, .services_list { display: flex; flex-wrap: wrap; .program_item, .service_item { margin-top: 40px; margin-bottom: 40px; width: calc(25% - 23px); position: relative; background: #EDEFF5; transform-origin: left; transition: all 175ms ease-in-out; height: 390px; &:after { content: ""; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: #eeeff4; z-index: 0; transition: all 125ms ease-in-out; } a { height: 100%; display: block; box-sizing: border-box; padding: 36px 18px; position: relative; z-index: 2; span { display: inline-block; } } &:not(:nth-child(4n)) { margin-right: 30px; } .program_name, .service_name { font-weight: 700; font-size: 26px; line-height: 36px; color: #000; position: relative; z-index: 2; transform: translateY(0px); transition: 125ms transform ease-in-out; max-width: 70%; } .program_link, .service_link { position: absolute; right: 0px; bottom: -10px; color: var(--blue); font-weight: 600; font-size: 15px; line-height: 20px; opacity: 0; z-index: 2; transform: translate(0, 0); transition: 125ms all ease-in-out; } img { position: absolute; right: 0; bottom: 0; transform: translate(0, 0); transition: 125ms all ease-in-out; } &:hover { &:after { top: -35px; right: -20px; bottom: -35px; } img { transform: translate(20px, -35px); } .program_name, .service_name { transform: translateY(-30px); } .program_link, .service_link { opacity: 1; transform: translate(-10px, -10px); } } } } .services_list { justify-content: center; .service_item { &:after { background: #f1f2f7; } .service_name { max-width: 50%; } &:not(:nth-child(3n)) { margin-right: 30px; } &:nth-child(3n) { margin-right: 0; } &:nth-child(4n) { margin-right: 30px; } width: calc(33.333% - 20px); } } .special_list { display: flex; flex-wrap: wrap; justify-content: space-between; .special_item { position: relative; width: calc(50% - 18px); min-width: calc(50% - 18px); margin-bottom: 80px; a { display: block; color: #0C0C0C; position: relative; z-index: 2; box-sizing: border-box; padding: 25px calc(50% + 20px) 25px 20px; .special_name { font-size: 26px; line-height: 35px; font-weight: 700; color: #0C0C0C; margin-bottom: 25px; display: block; transition: all 220ms ease-in-out; } .speacial_text { display: block; margin-bottom: 10px; font-weight: 700; color: #0C0C0C; transform: translate(0px, 0px); transition: all 220ms ease-in-out; } .special_desc { font-size: 15px; line-height: 24px; transform: translate(0px, 0px); transition: all 220ms ease-in-out; } .special_link { display: inline-block; font-weight: 600; opacity: 0; transform: translate(10px, 10px); transition: all 220ms ease-in-out; color: #fff; } } &:after { content: ""; display: block; position: absolute; top: 20px; bottom: 30px; right: 30px; left: 30%; transition: all 220ms ease-in-out; background: var(--inactive); z-index: 0; } img { display: block; position: absolute; top: 0; bottom: 0; width: 50%; height: 100%; right: 0; object-fit: cover; z-index: 1; } &:hover { a { .special_name { color: #fff; } .speacial_text, .special_desc { transform: translate(0px, -10px); color: #fff; } .special_link { opacity: 1; color: #fff; transform: translate(0px, 0px); } } &:after { background: var(--green); top: 0; left: 0; bottom: 0; } } } &.swiped { flex-wrap: unset; white-space: nowrap; .special_item { margin-top: 30px; margin-bottom: 30px; margin-right: 30px; > * { white-space: normal; } a { .special_link { color: var(--blue); opacity: 1; } } &:hover { a .special_link { color: #fff; } } } } } .brand_select { max-width: 306px; margin-left: auto; margin-top: 35px; margin-bottom: 35px; } .special_detail { .special_offer { position: relative; padding: 25px calc(100% - 390px) 0 25px; margin-bottom: 45px; h2 { font-size: 26px; line-height: 35px; color: #0C0C0C; font-weight: 700; margin-bottom: 25px; span { color: #A8026B; font-size: 58px; line-height: 58px; } mark { color: #A8026B; background: transparent; } } .button { width: 100%; margin-top: 40px; } &:after { content: ""; display: block; position: absolute; z-index: 1; left: 420px; top: 15px; bottom: 25px; right: 0; background: var(--inactive); } img { display: block; height: 100%; width: calc(100% - 502px); position: absolute; right: 0; bottom: 0; z-index: 2; } } .special_offer-text { margin-bottom: 80px; padding: 0 25px; } .aside_container { margin-top: 60px; } } .leasing_offer { h3 { padding: 0 25px; margin-bottom: 15px; } .leasing_list { display: flex; flex-wrap: wrap; .leasing_item { width: calc(33.333% - 20px); margin-bottom: 30px; &:not(:nth-child(3n)) { margin-right: 30px; } .item_wrapper { display: block; padding-bottom: 35px; background: #fff; transition: background-color 175ms ease-in-out; img { display: block; width: 100%; height: 220px; object-fit: cover; margin-bottom: 30px; } span { display: block; color: #000; transition: color 175ms ease-in-out; } .leasing_model { padding: 0 30px; margin-bottom: 5px; font-weight: 700; } .leasing_desc { padding: 0 30px; } &:hover { background: var(--green); .leasing_model, .leasing_desc { color: #fff; } } } } } .leasing_offer-detail { display: flex; justify-content: space-between; margin-top: 100px; .image_slider { height: 425px; width: calc(100% - 560px); .slide { height: 100%; img { width: 100%; height: 100%; object-fit: cover; } } } .offer_desc { width: 530px; padding-bottom: 40px; position: relative; .offer_name { font-size: 26px; line-height: 35px; text-transform: uppercase; font-weight: 700; margin-bottom: 30px; } ul { li { line-height: 25px; } margin-bottom: 20px; } .button { margin-top: 40px; width: 390px; position: absolute; bottom: 0; left: 0; } } } } .faq_search { margin-bottom: 40px; .form_field { width: 100%; max-width: 635px; margin-left: auto; } } .dropdown_blocks_list { font-size: 15px; line-height: 24px; .dropdown_block { &:not(:last-child) { border-bottom: 1px solid #EDEFF5; } .block_header { padding: 15px 0; height: 70px; display: flex; align-items: center; justify-content: space-between; p { margin-bottom: 0; margin-right: 20px; font-weight: 700; &.with-icon { display: inline-flex; align-items: center; img { margin-right: 20px; } } } button { width: 22px; height: 22px; min-width: 22px; cursor: pointer; background: url("/images/icons/dropdown-blue.svg") no-repeat center; } } .block_body { display: none; } &.open { .block_header { button { background: url("/images/icons/close-blue.svg") no-repeat center; } } .block_body { display: block; margin-top: 25px; p { margin-bottom: 35px; } } } } &.filled { .dropdown_block { &.open { .block_header { background: var(--inactive); color: var(--blue); } } .block_body { margin-top: 0; } } } } aside { .aside_nav { list-style: none; padding: 0; margin: 0 0 30px 0; li { margin-bottom: 8px; a { display: flex; align-items: center; min-height: 56px; color: #000; font-size: 15px; line-height: 23px; font-weight: 700; box-sizing: border-box; padding: 0 15px; &.active { background: var(--green); color: #fff; } } } } .button { width: 100%; } } #order { .container { padding-bottom: 180px; } } } // Detail Car .model_container { display: flex; flex-wrap: wrap; justify-content: space-between; margin-top: 60px; .col { width: calc(50% - 15px); .model_desc { margin-top: 35px; p { margin-bottom: 10px; } } } #calc { background: var(--inactive); padding: 35px 30px; position: relative; &:after { content: ""; display: block; position: absolute; top: 0; right: -100%; bottom: 0; width: 100%; background: inherit; } .calc_body { flex-wrap: wrap; .calc_settings { width: 100%; margin-bottom: 35px; } .calc_result { width: 100%; .result_box { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; p { font-weight: 400; } &.bolder { margin-bottom: 35px; p { font-weight: 700; font-size: 26px; line-height: 35px; } } } .calc_footer { width: 100%; display: flex; justify-content: space-between; align-items: center; margin-top: 20px; .button { width: calc(50% - 13px); } } } } } .aside_container { width: 100%; margin-top: 0px; border-top: 1px solid #EDEFF5; aside { width: 305px; padding-top: 40px; } article { width: calc(100% - 305px); padding-top: 40px; border-left: 1px solid #EDEFF5; .dropdown_blocks_list { .dropdown_block { padding: 0 40px; } } } } } // Catalog .catalog_list { display: flex; flex-wrap: wrap; .catalog_item { width: calc(33.333% - 20px); margin-bottom: 110px; &:not(:nth-child(3n)) { margin-right: 30px; } img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 30px; } .item_class { font-size: 26px; line-height: 35px; color: #0C0C0C; font-weight: 700; margin-bottom: 8px; } .item_model { font-size: 14px; b { display: block; font-size: 15px; } } ul { li { display: flex; justify-content: space-between; line-height: 29px; p { margin: 0; } &.pay { font-weight: 700; margin: 25px 0; } } } .item_footer { text-align: right; margin-top: 30px; } } } // Реквезиты .requisites { padding: 0 110px; .requisites_row { display: flex; justify-content: flex-start; margin-bottom: 25px; p { margin: 0; max-width: calc(50% - 15px); text-align: left; &:first-child { font-weight: 700; margin-right: 30px; width: 180px; } } } .button { margin-top: 40px; } } // Контакты #choose_region { display: flex; align-items: center; p { margin-right: 30px; max-width: 340px; } .form_field { width: 415px; } } #map { display: none; width: 100%; height: 615px; margin: 45px 0; background: var(--gray-light); &.visible { display: block; } } .popover { position: absolute; top: 0; left: 0; z-index: 1010; display: block; padding: 1px; text-align: left; white-space: normal; background: var(--blue); color: #fff; -webkit-box-shadow: 0 5px 10px rgb(0 0 0 / 20%); -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgb(0 0 0 / 20%); -webkit-background-clip: padding-box; -moz-background-clip: padding; background-clip: padding-box; padding: 30px 20px; max-width: 500px; } .popover .close { position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; font-size: 0; cursor: pointer; background: url("/images/icons/close-white.svg") no-repeat center; } .popover p { margin: 5px 0; } .popover .arrow { position: absolute; left: 0; right: 0; bottom: -25px; margin: auto; width: 43px; height: 54px; background: url("/images/pin-open.svg") no-repeat center; } .offices_list { display: flex; justify-content: space-between; border-top: 1px solid #EDEFF5; &#offices:not(.visible) { display: none; } .column { width: calc(50% - 15px); .dropdown_block.open { .block_body { p { margin-bottom: 8px; } a { display: inline-block; font-weight: 700; margin: 20px 0 20px 28px; } } } } } // Документы .dosc_list { .row { margin-bottom: 35px; display: flex; align-items: center; justify-content: space-between; p { margin-bottom: 0; } .doc_name { font-weight: 700; min-height: 56px; display: inline-flex; flex-wrap: wrap; align-items: center; margin-right: 30px; max-width: 50%; span { display: block; font-weight: 400; margin-top: 8px; } } .doc_date { margin-right: 30px; margin-left: 30px; white-space: nowrap; } .button { width: 104px; } } } // Таблица договоров в лк .contract_table { margin-bottom: 80px; .table_row { min-height: 80px; display: flex; width: 100%; .table_cell { padding: 16px 8px; border: 1px solid #EDEFF5; width: 14%; &:nth-child(3) { width: 16%; } p { margin: 0; &.closed { color: var(--text_not_active); } &.opened { color: var(--green); } } b { display: block; } } } .table_header { .table_cell { border: 0; color: var(--text_not_active); font-weight: 700; display: flex; align-items: center; &.caret { cursor: pointer; &:after { content: ""; display: inline-block; width: 16px; min-width: 16px; height: 16px; margin-left: 6px; background: url("/images/icons/icon-select.svg") no-repeat center; } } } } &.schedule { .show_more { width: 100%; height: 60px; text-align: center; background: var(--inactive); color: var(--blue); font-weight: 600; } .table_row { .table_cell { width: 25%; &:nth-child(1), &:nth-child(2), &:nth-child(4) { width: 14%; } } &[data-status="overpayment-2"] { background: rgb(28 1 169 / 10%); } &[data-status="overpayment-1"] { background: rgb(168 2 107 / 10%); } &[data-status="paid"] { background: rgb(4 168 164 / 10%); } } } } // Блок с логотипами .logo_list { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 35px 0; .logo_item { width: calc(16.666% - 25px); height: 97px; display: flex; align-items: center; justify-content: center; margin: 15px 0; img { max-width: 100%; max-height: 100%; object-fit: contain; } } } // Лизинговое предложение .leasing_offers_list { display: flex; justify-content: space-between; margin-top: 60px; .offer_item { width: calc(33.333% - 20px); padding-left: 80px; position: relative; p { margin-bottom: 15px; } img { position: absolute; top: 0; left: 0; } ul { li { &:not(:last-child) { margin-bottom: 6px; } } } } } // Сортировка .catalog_sort { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 65px; .sort_container { margin-left: 40px; position: relative; button { height: 40px; padding: 0 20px 0 48px; color: var(--blue); &.i-filter { background: url("/images/icons/icon-filter.svg") no-repeat 20px 50%; } &.i-sort { background: url("/images/icons/icon-sort.svg") no-repeat 20px 50%; } } } } // Страница новости .news_cotnainer { display: flex; justify-content: space-between; .left { width: 525px; .image { width: 100%; height: 525px; background: var(--gray-light); margin-bottom: 30px; img { width: 100%; height: 100%; object-fit: cover; } } .socials { a { width: 48px; height: 48px; margin-right: 15px; } } } .right { width: calc(100% - 555px); h1 { margin-bottom: 20px; } .date { display: block; text-transform: uppercase; margin-bottom: 35px; } p, ul, ol { margin-bottom: 20px; } } }