.buttons,
fieldset > ol > li {
display: -webkit-box;
display: -ms-flexbox;
}
body {
line-height: 2;
}
select {
max-width: 100%;
}
select {
background-color: #fff;
}
label,
select {
cursor: pointer;
}
ol {
list-style-position: inside;
}
body,
div,
form,
li,
ol {
padding: 0;
margin: 0;
}
html {
font-size: 10vw;
}
body {
background: #fff;
color: #333;
font-size: 0.4rem;
font-family: Arial, Helvetica, sans-serif;
letter-spacing: 0.01rem;
}
legend {
font-size: 0.44rem;
}
button[type="reset"],
legend {
background-color: #eee;
}
em {
color: red;
}
fieldset {
border: 0.07rem solid #eee;
border-radius: 0.3rem;
padding: 0.2rem;
min-width: inherit;
margin: 20px 0;
}
legend {
border-radius: 0.2rem;
font-weight: 700;
}
legend {
padding: 0.3rem;
margin: 0 0.2rem;
line-height: 1;
cursor: default;
}
fieldset > ol {
list-style-type: none;
}
fieldset > ol > li {
padding: 0.2rem;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
fieldset > ol > li > label {
font-weight: 700;
min-width: 4.3rem;
white-space: nowrap;
}
ol.narrow > li > label {
min-width: 4rem;
}
input[type="number"],
select {
font-size: 0.4rem;
padding: 0.15rem;
box-shadow: 0.03rem 0.1rem 0.15rem 0 rgba(0, 0, 0, 0.08);
border: 1px solid #aaa;
margin: 0 5px;
}
li > label {
cursor: auto;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
button[type="reset"],
button[type="button"] {
position: relative;
overflow: hidden;
-webkit-transition: 0.5s;
transition: 0.5s;
cursor: pointer;
border: 0;
border-radius: 0.1rem;
padding: 0.4rem 0.8rem;
font-size: 0.5rem;
font-weight: 700;
box-shadow: 0.05rem 0.05rem 0.2rem #ccc;
}
button[type="button"] {
background-color: #3b8cee;
color: #fff;
}
button[type="reset"] {
color: #000;
}
button[type="reset"]:active,
button[type="button"]:active {
box-shadow: 0.03rem 0.03rem 0.03rem #ccc;
}
button:after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 5px;
height: 5px;
background: rgba(255, 255, 255, 0.5);
opacity: 0;
border-radius: 100%;
-webkit-transform: scale(1, 1) translate(-50%);
transform: scale(1, 1) translate(-50%);
-webkit-transform-origin: 50% 50%;
transform-origin: 50% 50%;
}
@-webkit-keyframes ripple {
0% {
-webkit-transform: scale(0, 0);
transform: scale(0, 0);
opacity: 1;
}
20% {
-webkit-transform: scale(25, 25);
transform: scale(25, 25);
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(40, 40);
transform: scale(40, 40);
}
}
@keyframes ripple {
0% {
-webkit-transform: scale(0, 0);
transform: scale(0, 0);
opacity: 1;
}
20% {
-webkit-transform: scale(25, 25);
transform: scale(25, 25);
opacity: 1;
}
100% {
opacity: 0;
-webkit-transform: scale(40, 40);
transform: scale(40, 40);
}
}
button:focus:not(:active)::after {
-webkit-animation: 1s ease-out ripple;
animation: 1s ease-out ripple;
}
#container {
padding: 5px;
}
.notlar {
margin: 0.2rem;
}
.buttons {
display: flex;
-ms-flex-pack: distribute;
justify-content: space-around;
margin: 0.5rem 0;
}
.iw10 {
width: 2.6rem;
}
@media (min-device-height: 400px), (min-width: 1200px) {
body {
margin-top: 1.6rem;
}
}
@media (min-width: 500px) and (max-width: 649px) {
html {
font-size: 7vw;
}
}
@media (min-width: 650px) and (max-width: 899px) {
html {
font-size: 6vw;
}
}
@media (min-width: 900px) and (max-width: 1199px) {
html {
font-size: 5vw;
}
}
@media (min-width: 1200px) {
html {
font-size: 42px;
}
body {
margin-top: 75.6px;
}
#container {
max-width: 1290px;
margin: 0 auto;
padding: 0 55px 0 4.2px;
}
@supports ((display: -ms-grid) or (display: grid)) {
#container {
display: -ms-grid;
display: grid;
-ms-grid-columns: 970px minmax(160px, 300px);
grid-template-columns: 970px minmax(160px, 300px);
grid-gap: 15px;
}
}
@supports not ((display: -ms-grid) or (display: grid)) {
main {
display: block;
}
main {
float: left;
width: 970px;
}
#container:after {
content: "";
display: block;
clear: both;
}
}
}