@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__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; &: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 { &__input { padding: 0.5rem 1rem 0.5rem; display: inline-block; background: @wht; border: 1px solid darken(@wht, 15%); border-radius: 6px; } &__title { text-align: center; margin: 15px 0; padding: 0; @media (max-width: 560px) { font-size: 1.35rem; } } &__input { padding: 0.5rem 1rem 0.5rem; display: inline-block; background: @wht; border: 1px solid darken(@wht, 15%); border-radius: 6px; } &__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; } } } &__names { display: grid; grid-template-columns: 1fr 1fr 1fr; grid-gap: 15px; grid-template-rows: auto; @media (max-width: 767px) { grid-template-columns: 1fr; } &-item { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; label { margin-bottom: 5px; } } } &__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; } } } .allcards { display: flex; flex-wrap: wrap; padding-left: 32px; justify-content: center; @media(max-width: 560px) { max-width: 299px; margin: 0 auto; } &__item { background-image: url(img/rubashka.png); background-position: center center; background-repeat: no-repeat; background-size: cover; width: 80px; height: 159px; cursor: pointer; margin-left: -32px; box-shadow: 5px 0px 10px -5px fade(@blk, 50%); border-radius: 18px; transition: all 250ms ease-out; transform: rotateY(180deg); position: relative; z-index: 1; &.hovered { margin-top: -10px; } } } .ox_glaz { width: 170px; opacity: 0; transition: all 750ms ease-out; @media (max-width: 560px) { width: 120px; } } .card-position { max-width: 420px; width: 100%; margin: 0 auto 20px; position: relative; text-align: center; padding-top: 160px; padding-bottom: 0px; &__item { width: 80px; position: absolute; &:nth-child(1) { top: 0; left: calc(~'50% - 40px'); } } &__card{ width: 100%; padding-top: 149px; background-color: transparent; margin: 0 auto; border: 5px solid transparent; background-image: url('img/rubashka.png'); background-position: center center; background-repeat: no-repeat; background-size: cover; } &__desc { background: @wht; padding-top: 5px; text-align: center; font-size: 14px; } } .show__card { background-image: url(img/rubashka.png); background-position: center center; background-repeat: no-repeat; background-size: cover; width: 80px; height: 159px; cursor: pointer; margin-left: 0px; box-shadow: 5px 0px 10px -5px fade(@blk, 50%); border-radius: 18px; transform: rotateY(180deg); position: absolute; opacity: 0; @media (min-width: 767px) { transition: all 250ms ease-out; } //display: none; &.opened { margin-top: -168px; opacity: 1; transform: rotateY(0deg); margin-left: 0px; box-shadow: -5px 0px 10px -5px fade(@blk, 50%); position: absolute; z-index: 2; width: 80px; height: 159px; //z-index: 4; &[data-count="count_1"] { margin-left: -16px; margin-top: -182px; } } } .btns { text-align: center; margin: 20px auto; } .ox_smalltext { display: block; font-size: 1rem; } #ox__rezult { display: none; max-width: 750px; margin: 0 auto; border: 1px solid lighten(@blk, 15%); border-radius: 5px; padding: 5px 15px; } .rezult-list { display: block; margin: 1rem auto 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid lighten(@blk, 15%); &:after { content: ''; display: block; clear: both; } &__img { position: relative; float: left; margin-right: 10px; margin-bottom: 10px; @media (max-width: 560px) { text-align: center; margin-right: 0; float: none; margin-bottom: 1rem; } img { width: 100px; } } &__title { font-weight: 800; font-size: 1.75rem; margin-bottom: 1rem; @media (max-width: 560px) { text-align: center; font-size: 1.35rem; width: 100%; } } &__cardtitle { background: darken(@wht, 10%); padding: 10px 15px; margin-bottom: 1rem; font-weight: 800; font-size: 1.75rem; @media (max-width: 560px) { text-align: center; font-size: 1.35rem; } } &__info { // display: flex; // align-items: center; } }