@use '../utils' as *; /*----------------------------------------*/ /* 08. choose css start /*----------------------------------------*/ .it-choose { &-title-box{ & p{ font-size: 16px; @media #{$lg,$md,$xs}{ font-size: 15px; & br{ display: none; } } } } &-thumb { margin-right: 47px; @media #{$lg}{ margin-right: 20px; } @media #{$md,$xs}{ margin-right: 0px; margin-bottom: 50px; } & img { @media #{$md,$xs}{ width: 100%; margin-bottom: 50px; } } } &-more { &-title { font-weight: 700; font-size: 20px; margin-bottom: 10px; @media #{$xl}{ font-size: 18px; } @media #{$xs}{ font-size: 17px; } } & p { margin-bottom: 0; } &-info { & p{ @media #{$lg,$md,$xs}{ & br{ display: none; } } } } } &-shape-1 { position: absolute; bottom: 0; right: 0; z-index: -1; opacity: .3; @media #{$md,$xs}{ display: none; } } &-style-2 { & .it-choose-more-info { padding: 32px 40px; transition: .3s; background-color: #F4F4F4; position: relative; & p { margin-bottom: 0; line-height: 1.76; @media #{$xs}{ & br { display: none; } } } &::after { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 100%; background-color: var(--it-theme-1); transition: .3s; } &:hover { &::after { height: 100%; } } &.active{ &::after { height: 100%; } } } & .it-choose-thumb { padding-bottom: 110px; margin-right: 0; @media #{$xs}{ padding-bottom: 0; } & img { @media #{$md}{ width: auto; } } } & .it-choose-right { @media #{$md,$xs}{ margin-bottom: 50px; } } & .it-choose-thumb-sm { position: absolute; bottom: 0; left: 10%; @media #{$xs}{ position: static; } & img { border: 5px solid #fff; @media #{$xs}{ width: 100%; } } } } &-style-3 { & .it-choose-thumb { position: relative; margin-right: 0; margin-left: 82px; margin-top: 35px; @media #{$xs}{ margin-left: 40px; } &::after { position: absolute; content: ''; top: -35px; left: -40px; width: calc(100% - 40px); height: calc(100% - 35px); z-index: -1; background-color: var(--it-theme-1); @media #{$xl,$lg,$md}{ width: 90%; } @media #{$xs}{ width: 90%; } } } & .it-choose-right { @media #{$md,$xs}{ margin-bottom: 70px; } } & .it-choose-thumb img { margin-bottom: 0px; } } } .it-choose-2 { &-overlay { background-repeat: no-repeat; background-size: cover; position: relative; z-index: 1; &::after { position: absolute; top: 0; left: 0; content: ''; height: 100%; width: 100%; z-index: -1; background-color: rgba($color: #0F313A, $alpha: .85); } } &-item { padding: 40px 20px; padding-bottom: 30px; background-color: var(--it-common-white); border: 1px solid rgba(15, 49, 58, 0.2); @media #{$md}{ padding: 40px 30px; padding-bottom: 30px; } &:hover { & .it-choose-2-icon svg { color: var(--it-common-white); -webkit-transform: scaleX(-1); transform: scaleX(-1); } } } &-title { font-weight: 600; font-size: 22px; line-height: 1.45; margin-bottom: 0; } &-icon { & svg { transition: 0.3s; color: var(--it-common-black); -webkit-transition: all 300ms ease; transition: all 300ms ease; } } }