@import "mixin"; //@import "radio-check"; //@import "inputs"; .new-index { color: #000; section, div.section { margin: 0; } } .index-titles { text-align: center; font-size: 32px; line-height: 36px; font-weight: 700; text-transform: uppercase; } .main-about { height: 479px; background-position: 50% 0; background-repeat: no-repeat; color: #fff; padding-bottom: 17px; > .container { height: 100%; > .row-flex { height: 100%; .row-flex { margin-left: 0; margin-right: 0; } } } &__wrapp_title { padding-top: 99px; } &__title { width: 100%; flex-basis: 0; flex-grow: 1; max-width: 100%; color: #fff; span { display: block; text-transform: uppercase; font-size: 50px; line-height: 57px; font-weight: 700; &:first-child { color: #ffd800; font-size: 74px; line-height: 57px; } &:last-child { font-size: 24px; line-height: 37px; letter-spacing: 2.4px; font-weight: 500; } } } &__button { a { margin: 0; background-color: #ffd800; background-image: none !important; width: 255px; max-width: 100%; padding: 0 10px; height: 48px; border-radius: 0; line-height: 50px; box-shadow: none !important; @include Transition(0.2); position: relative; &:hover { transform: translateY(-3px); background-color: #ffd800; box-shadow: 0 10px 20px rgba(255, 255, 255, 35%) !important; &:after { transform: scaleX(1.4) scaleY(1.6); opacity: 0; } } &:active { transform: translateY(-1px); } &:after { content: ""; display: block; height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: -1; transition: 0.4s; background: #ffd800; opacity: 0.7; } } } &__item { font-size: 13px; line-height: 17px; width: 100%; flex: 0 0 20%; max-width: 20%; position: relative; padding-left: 13px; padding-right: 5px; padding-bottom: 15px; cursor: default; @include Transition(0.15); &:hover { transform: translateY(-15px); @include Transition(0.3); } &:before { content: ''; position: absolute; left: 0; width: 1px; background: #ffffff; @include Opacity(0.3); top: 4px; bottom: 1px; } span { font-weight: 700; color: #ffd800; display: block; } } } .second-about { background: #f6f6f6; padding-top: 15px; padding-bottom: 30px; &__item { padding-top: 15px; a { display: block; width: 100%; position: relative; color: #fff; &:hover { &:before { background: #fed800; @include Opacity(1); } span { transform: translateY(-15px); } } &:before { position: absolute; content: ''; background: #000; z-index: 2; left: 0; top: 0; width: 100%; height: 100%; @include Transition(0.2); @include Opacity(0.5); } img { width: 100%; position: relative; z-index: 1; } span { position: absolute; z-index: 3; left: 25px; right: 0; bottom: 13px; font-size: 14px; line-height: 21px; text-transform: uppercase; font-weight: 700; padding-right: 25px; @include Transition(0.2); &:before, &:after { content: ''; position: absolute; background: #fff; height: 2px; width: 9px; right: 17px; } &:before { transform: rotate(45deg); bottom: 15px; } &:after { transform: rotate(-45deg); bottom: 9px; } } } } } .index-solution { padding-top: 74px; &__title { margin-bottom: 3px; } &__col { margin-top: 30px; } &__item { display: inline-block; vertical-align: top; width: 540px; max-width: 100%; background: #f6f6f6; position: relative; height: 100%; overflow: hidden; @include Transition(0.2); &:hover { box-shadow: 0px 4px 12px 0px rgba(196, 196, 196, 1); .index-solution__item_img { img { @include Opacity(0.7); transform: scale(1.1); } } } &:before { position: absolute; content: ''; left: 0; bottom: 0; width: 100%; height: 2px; background: rgb(0,150,215); background: -moz-linear-gradient(left, rgba(0,150,215,1) 0%, rgba(30,178,105,1) 100%); background: -webkit-linear-gradient(left, rgba(0,150,215,1) 0%,rgba(30,178,105,1) 100%); background: linear-gradient(to right, rgba(0,150,215,1) 0%,rgba(30,178,105,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0096d7', endColorstr='#1eb269',GradientType=1 ); } &_img { display: block; background: #fff; overflow: hidden; img { max-width: 100%; @include Transition(0.2); } } &_text { padding: 24px 24px 23px 22px; a { font-size: 18px; line-height: 21px; font-weight: 700; color: #000; min-height: 66px; display: block; &:hover { text-decoration: underline; } } table { margin-top: 8px; width: 100%; tr { td { font-size: 15px; line-height: 21px; vertical-align: top; &:first-child { font-weight: 700; color: #0096d6; width: 65px; padding-right: 5px; white-space: nowrap; } } } } } } &__more { margin-top: 40px; } } .animation-hover { text-transform: uppercase; margin: 0; background-color: #ffd800; width: 255px; max-width: 100%; padding: 0 10px; height: 48px; border-radius: 0; line-height: 50px; @include Transition(0.2); position: relative; display: block; text-align: center; font-weight: bold; color: #000 !important; box-shadow: 0px 8px 20px 0px rgba(139, 139, 138, 0.2); text-decoration: none !important; &:hover { transform: translateY(-3px); background-color: #ffd800; &:after { transform: scaleX(1.4) scaleY(1.6); opacity: 0; } } &:active { transform: translateY(-1px); } &:after { content: ""; display: block; height: 100%; width: 100%; position: absolute; top: 0; left: 0; z-index: -1; transition: 0.4s; background: #ffd800; opacity: 0.7; } } .index-solution-slider { background: #f6f6f6; margin-top: 80px !important; padding-top: 65px; padding-bottom: 56px; &__row { width: auto; height: auto; } &__title { margin-bottom: 3px; } &__col { margin-top: 30px; &:hover { .index-solution-slider__item { @include Transition(0.30); transform: translateY(-15px); box-shadow: 0px 4px 12px 0px rgba(196, 196, 196, 1); } } } &__item { background: #fff; position: relative; height: 100%; padding: 15px 15px 13px 15px; width: 255px; max-width: 100%; text-align: center; border: 1px solid #ebebeb; @include Transition(0.15); &:before { position: absolute; content: ''; bottom: -1px; left: -1px; right: -1px; height: 2px; background: rgb(0,150,215); background: -moz-linear-gradient(left, rgba(0,150,215,1) 0%, rgba(30,178,105,1) 100%); background: -webkit-linear-gradient(left, rgba(0,150,215,1) 0%,rgba(30,178,105,1) 100%); background: linear-gradient(to right, rgba(0,150,215,1) 0%,rgba(30,178,105,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0096d7', endColorstr='#1eb269',GradientType=1 ); } &:hover { .index-solution-slider__item_img { img { @include Opacity(0.85); } } } &_img { display: block; background: #fff; height: 211px; img { max-width: 100%; max-height: 100%; } } &_link { margin-top: 20px; font-size: 15px; line-height: 21px; font-weight: 700; color: #000; display: block; min-height: 60px; &:hover { text-decoration: underline; color: #000; } } &_price { color: #0096d6; font-size: 15px; line-height: 21px; font-weight: 700; margin-top: 9px; } } .owl-item { .index-solution-slider__col { width: 100% !important; } } .owl-pagination { margin-bottom: -11px; } .owl-controls { .owl-buttons { position: static; top: auto; right: auto; div { display: block; position: absolute; top: 50%; width: 21px; height: 37px; margin: -20px 0 0 0; border-radius: 0; background: none !important; @include Transition(0.15); &:hover { @include Transition(0.3); transform: scale(1.1); } &:before, &:after { position: absolute; width: 26px; height: 4px; left: -3px; content: ''; background: #8e8f90; } &:before { transform: rotate(45deg); top: 9px; } &:after { transform: rotate(-45deg); bottom: 9px; } &.owl-prev { left: -21px; transform: rotate(180deg); } &.owl-next { right: -21px; } &.disabled { &:before, &:after { background: #ebebeb; } } } } .owl-page { span { display: block; // width: 8px; // height: 8px; // margin: 6px 6px 5px 6px; //@include Opacity(1); // border-radius: 100%; // background: #8e8f90; } &.active { span { //background: #0096d6; } } } } } .income-calculator { padding-top: 74px; padding-bottom: 80px; &__switch { margin-top: 39px; } &__left { width: 75%; padding-top: 10px; &_title { font-weight: 700; font-size: 18px; line-height: 21px; } &_wrapp { margin-top: 20px; display: flex; width: 100%; flex-wrap: wrap; } } &__right { width: 25%; padding-top: 26px; position: relative; &:before { content: ''; top: 26px; bottom: 0; left: 34%; width: 1px; background: #ebebeb; position: absolute; } &_item { text-align: right; font-size: 15px; line-height: 24px; font-weight: 700; margin-top: 22px; &:first-child { margin-top: 0; } i { font-style: normal; } span { display: block; color: #0096d6; font-size: 18px; } } } &__button { margin-top: 44px; } } .switch-status { cursor: pointer; &.switch { width: 64px; height: 34px; margin: 0 16px; background: #dcdcdc; border-radius: 34px; position: relative; &:before { position: absolute; top: 50%; margin-top: -13px; width: 26px; height: 26px; left: 4px; background: #fff; border-radius: 100%; box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2); content: ''; z-index: 1; @include Transition(0.2); } &:after { position: absolute; top: 50%; margin-top: -4px; width: 8px; height: 8px; left: 13px; background: #0096d6; content: ''; z-index: 2; border-radius: 100%; @include Transition(0.2); } &.right { &:before, &:after { transform: translateX(30px); } } } &.text { text-transform: uppercase; font-size: 15px; line-height: 23px; color: #8e8f90; text-decoration: underline; cursor: pointer; &.active { color: #000; cursor: default; text-decoration: none; } } } .calc-range { margin-right: -8px; margin-top: 19px; } //ползунок .price_slider { width: 100%; float: left; } .irs { position: relative; display: block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; &.irs-with-grid { padding-bottom: 31px; } } .irs-line { display: block; background: #8e8f90; height: 8px; border-radius: 8px; width: 100%; position: relative; outline: none !important; } .irs-line-left, .irs-line-mid, .irs-line-right { position: relative; display: block; top: 0; height: 8px; } .irs-line-left { left: 0; width: 11%; } .irs-line-mid { left: 9%; width: 82%; } .irs-line-right { right: 0; width: 11%; } .irs-bar { position: absolute; display: block; height: 8px; top: 0; left: 0 !important; background: rgb(54,124,212); background: -moz-linear-gradient(left, rgba(54,124,212,1) 0%, rgba(2,208,255,1) 100%); background: -webkit-linear-gradient(left, rgba(54,124,212,1) 0%,rgba(2,208,255,1) 100%); background: linear-gradient(to right, rgba(54,124,212,1) 0%,rgba(2,208,255,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#367cd4', endColorstr='#02d0ff',GradientType=1 ); border-top-left-radius: 8px; border-bottom-left-radius: 8px; } .irs-slider { position: absolute; display: block; top: -4px; width: 16px; height: 16px; background: #fff; border-radius: 16px; box-shadow: 0px 0px 6px 0px rgba(90, 97, 102, 0.5); cursor: e-resize; &:before { position: absolute; width: 10px; height: 10px; border-radius: 100%; background: #0096d6; content: ''; left: 50%; top: 50%; margin-top: -5px; margin-left: -5px; } } .irs-grid { position: absolute; bottom: 0; left: 0; width: 100%; height: 16px; } .irs-grid-pol { display: none; } .irs-grid-text, .showcase__mark { position: absolute; bottom: 0; left: 0; white-space: nowrap; text-align: center; font-size: 16px; line-height: 16px; padding: 0 1px; color: #000; } .showcase__mark { color: red; bottom: 14px; } .irs-to, .irs-from, .irs-max, .irs-min { display: none; } .irs-single { position: absolute; padding: 2px 12px; text-align: center; background: #fff; font-weight: 700; font-size: 13px; box-shadow: 0px 8px 20px 0px rgba(0,0,0,0.35); top: -35px; border-radius: 2px; @include Opacity(0); transform: translateY(5px); white-space: nowrap; &:before { position: absolute; content: ''; border: 4px solid transparent; border-top: 6px solid #fff; bottom: -10px; left: 50%; margin-left: -4px; } &.show, &.hover { @include Opacity(1); transform: translateY(0); @include Transition(0.1); } } .calc-range-2 { .irs-bar { background: rgb(20,151,86); background: -moz-linear-gradient(left, rgba(20,151,86,1) 0%, rgba(20,190,106,1) 100%); background: -webkit-linear-gradient(left, rgba(20,151,86,1) 0%,rgba(20,190,106,1) 100%); background: linear-gradient(to right, rgba(20,151,86,1) 0%,rgba(20,190,106,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#149756', endColorstr='#14be6a',GradientType=1 ); } } /////////////////// .media-about-section { background: #f6f6f6; padding-top: 58px; padding-bottom: 64px; margin-top: 46px !important; &__title { margin: 0 0 36px 0; } &__text { font-size: 15px; line-height: 23px; } &__button { margin-top: 45px; } } .index-map { iframe { display: block; width: 100% !important; height: 380px !important; border: 0 !important; } } @media (min-width: 768px) { .income-calculator__right_item { br { display: none; } } } @media (max-width: 1199px) { .main-about__item { padding-left: 10px; padding-right: 3px; font-size: 12px; line-height: 16px; } .second-about__item a span { left: 10px; font-size: 12px; line-height: 19px; } .index-solution-slider__item { padding-left: 10px; padding-right: 10px; &_link { font-size: 13px; line-height: 19px; min-height: 57px; margin-top: 15px; } } .index-solution__item_text a { font-size: 15px; line-height: 21px; min-height: 63px; } .income-calculator { &__left { width: 70%; } &__right { width: 30%; } } } @media (max-width: 1055px) { .index-solution-slider .owl-controls .owl-buttons { div { &.owl-next { right: -9px; @include Scale(0.65); } &.owl-prev { left: -9px; transform: rotate(180deg) scale(0.65); } } } } @media (max-width: 991px) { .main-about { height: 360px; padding-bottom: 0; &__row { align-items: center; > div { align-self: center; } } } .main-about__wrapp_title { padding-top: 0; height: auto; } .main-about__title { flex: 0 0 100%; max-width: 100%; text-align: center; } .main-about__wrapp_title { justify-content: center; } .main-about__button { margin-top: 44px; } .index-solution__item_text { padding: 12px 10px 15px 10px; } .index-solution-slider__col:hover .index-solution-slider__item { transform: translateY(0); box-shadow: none; } .index-solution__col { margin-top: 25px; } .index-solution__item_text table { margin-top: 7px; tr { &:first-child { td { padding-top: 0; } } td { font-size: 15px; line-height: 17px; padding-top: 4px; } } } .income-calculator__right:before { left: 31px; } .media-about-section__button { margin-top: 15px; } .index-titles { font-size: 18px; line-height: 21px; } .index-solution, .index-solution-slider, .income-calculator, .section-text, .media-about-section { padding-top: 29px; padding-bottom: 32px; } .index-solution-slider, .media-about-section { margin-top: 0 !important; } .index-solution-slider__col { margin-top: 25px; } .index-solution-slider .owl-controls .owl-buttons { display: none; } .second-about__item { a { &:hover { &:before { background: #000; opacity: 0.5; } } } } } @media (max-width: 767px) { .main-about { height: 298px; } .index-solution { &__col { margin-top: 17px; text-align: center; &:first-child { margin-top: 11px; } } &__item { text-align: left; } } .index-solution-slider__col { margin-top: 17px; } .index-solution__more { margin-top: 24px; } .second-about { padding-top: 1px; padding-bottom: 24px; &__item a span { left: 23px; font-size: 14px; line-height: 21px; } } .main-about__title { span { font-size: 27px; line-height: 31px; &:first-child { font-size: 40px; line-height: 40px; } &:last-child { font-size: 13px; line-height: 20px; letter-spacing: 1.4px; } } } .index-solution__item_text a { min-height: auto; } .index-solution__title { margin-bottom: 0; } .index-solution-slider__col { margin-top: 10px; &:first-child { margin-top: 8px; } &:nth-child(2n + 1) { .index-solution-slider__item { margin-left: auto; } } } .owl-item { .index-solution-slider__col { &:first-child { margin-top: 8px; } } } .index-solution-slider__item_link { font-size: 15px; line-height: 21px; min-height: 63px; margin-top: 20px; } .index-solution-slider { padding-bottom: 24px; } .income-calculator__switch { margin-top: 19px; } .switch-status { &.switch { margin: 0 12px; } &.text { font-size: 13px; text-decoration: none; text-transform: none; } } .income-calculator { &__left { width: 100%; padding-top: 2px; &_title { font-size: 15px; line-height: 17px; } } &__right { width: 100%; padding-top: 16px; margin-top: 21px; &:before { top: 0; right: 0; left: 0; bottom: auto; width: auto; height: 1px; } .col-xs-12 { float: none; display: flex; padding: 0 !important; width: auto !important; justify-content: center; } &_item { flex: 0 0 auto; width: auto; max-width: none; margin-top: 0; text-align: center; padding: 0 34px; line-height: 17px; position: relative; &:first-child { padding-left: 0; } &:last-child { padding-right: 0; } i { display: block; min-height: 34px; } span { margin-top: 3px; } } } &__button { margin-top: 23px; } } .section-text { padding-top: 27px; } .media-about-section__title { margin: 0 0 19px 0; } .media-about-section__text { margin-top: 19px; } .media-about-section__button { margin-top: 22px; a { margin: 0 auto; } } //ползунок .calc-range { margin-right: 0; margin-top: 12px; } .calc-range-2 { .irs-grid-text, .showcase__mark { font-size: 14px; &:last-child { margin-left: -19px !important; } } } .irs-grid-text, .showcase__mark { padding: 0 0; word-spacing: -4px; } ////////// } @media (max-width: 550px) { .index-solution-slider__col { width: 100% !important; } .index-solution-slider__item { margin-left: auto !important; margin-right: auto !important; } } @media (max-width: 540px) { .second-about { &__col { width: 100% !important; } &__item { width: 255px; max-width: 100%; margin: 0 auto; padding-top: 12px; } } .index-solution__col { padding-left: 0 !important; padding-right: 0 !important; } } @media (max-width: 450px) { .income-calculator__right_item { padding: 0 17px; } }