@mn-cl: #3394e6; @wht: #fff; @txt: #000; @blk: #000; .ox__gad { padding: 20px 0; } .ox__gad * { box-sizing: border-box; } .ox__gad *:focus { outline: none; } .ox__none { display: none; } .ox__btn { cursor: pointer; border-radius: 6px; padding: 0.5rem 2.5rem 0.5rem; text-align: center; font-size: 1.2rem; font-weight: 400; text-decoration: none; display: inline-block; border: 0px solid transparent; line-height: 1; background: @mn-cl; color: @wht; border: 1px solid darken(@mn-cl, 5%); transition: all 250ms ease-out; white-space: normal; &:focus { box-shadow: 0px 0px transparent; } &:hover { background: lighten(@mn-cl, 10%); color: @wht; } &:active, &:focus { background: @mn-cl; color: @wht; border: 1px solid darken(@mn-cl, 5%); &:hover { background: lighten(@mn-cl, 10%); color: @wht; } } } .ox { &__icon { svg { width: 100%; fill: @blk; } } &_mimg { display: block; margin: 0 auto 1rem; max-width: 100%; } &__formcontrol { padding: .5rem 1rem; border: 1px solid darken(@wht, 15%); background: @wht; display: block; width: 100%; } &_form { display: grid; grid-template-rows: auto; grid-template-columns: 1fr 30px 1fr; grid-gap: 2rem; max-width: 550px; width: 100%; margin: 0 auto; @media (max-width: 767px) { grid-template-columns: 1fr; grid-gap: .5rem; } } &__people { width: 100%; text-align: center; img { max-width: 100%; } &-title { text-align: center; font-weight: 800; margin-bottom: 1rem; } } &__forminfo { display: grid; grid-template-columns: 35px calc(~'100% - 35px - 2rem'); grid-gap: 1rem; margin: 1rem auto; img { max-width: 100%; } } &__centerimg { display: flex; justify-content: center; align-items: center; img { max-width: 100%; } @media (max-width: 767px) { max-width: 50px; margin: 2rem auto; } } &__title { text-align: center; margin: 15px 0; padding: 0; @media (max-width: 560px) { font-size: 1.35rem; } &-big { font-weight: 800; font-size: 2rem; @media (max-width: 560px) { font-size: 1.5rem; } } } &__kub { text-align: center; img { max-width: 100%; display: inline-block; margin: 0 1rem; } } &__rezult { display: none; padding: 15px; } &__item { .alignleft { float: left; margin-right: 10px; margin-bottom: 16px; } &:after { content: ''; display: block; width: 100%; height: 1px; clear: both; } } &-zodiak { @w: 100px; &__item { width: 100%; margin: 5px; cursor: default; padding: 0.5rem; border-radius: 6px; display: block; transition: all 250ms ease-out; display: none; &.active { display: block; } &.s1 { @bg-cl: #f6cccc; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s2 { @bg-cl: #d5f3f6; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s3 { @bg-cl: #f6f3c1; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s4 { @bg-cl: #d9eed3; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s5 { @bg-cl: #f5dec6; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s6 { @bg-cl: #ddcee0; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s7 { @bg-cl: #f6dae5; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s8 { @bg-cl: #dee1f6; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s9 { @bg-cl: #e3f6ed; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s10 { @bg-cl: #eee0d6; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s11 { @bg-cl: #f2e0f5; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.s12 { @bg-cl: #e0d291; .ox { &-zodiak { &__icon { &:before { background: @bg-cl; } } } } &.active, &:hover { .ox { &-zodiak { &__icon { &:before { background: darken(@bg-cl, 10%); } } } } } } &.active, &:hover { //background: #dccedf; //border: 1px solid darken(#dccedf, 10%); //box-shadow: 0px 10px 15px -15px fade(@blk, 60%); //background: @wht; //border: 1px solid darken(@wht, 5%); @media (max-width: 767px) { // box-shadow: 0px 10px 15px -15px fade(@blk, 60%); } } } &__icon { width: @w; height: @w; margin: 0 auto; position: relative; &:before { content: ''; display: block; width: @w * 1.25; height: @w; position: absolute; z-index: 1; background: @mn-cl; clip-path: polygon(50% 0%, 0% 100%, 100% 100%); @ot: (@w * 1.25)/10; left: calc(~'0px -' @ot ); top: 0; transition: all 250ms ease-out; } } &__svg { position: relative; z-index: 2; width: @w + 10px; height: @w + 10px; transition: all 250ms ease-out; margin-left: -6px; margin-top: -5px; } &__text { font-size: 1rem; margin-top: 0.5rem; margin-bottom: 0.25rem; } &__desc { font-size: 0.75rem; } } } .btns { text-align: center; margin: 20px auto; grid-column: span 3; @media (max-width: 767px) { grid-column: span 1; } } #ox__rezult { display: none; max-width: 750px; margin: 0 auto; border: 1px solid lighten(@blk, 15%); border-radius: 5px; padding: 5px 15px; } .rezult-list { margin: 1rem auto 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid lighten(@blk, 15%); &__title { font-weight: 800; font-size: 1rem; text-align: center; } &__cardtitle { background: darken(@wht, 10%); padding: 10px 15px; font-weight: 800; font-size: 1.75rem; text-align: center; margin-bottom: 1rem; span { display: block; font-size: 0.85rem; } @media (max-width: 560px) { font-size: 1.35rem; } } } .rezult { &_people { display: grid; grid-template-rows: auto; grid-template-columns: 1fr 1fr; grid-gap: 1rem; &__item { text-align: center; img { width: 100%; max-width: 150px; @media(max-width: 560px) { max-width: 80px; } } } &__title { font-weight: 800; @media(max-width: 560px) { font-size: 12px; } } } }