* {
box-sizing: border-box;
}
html {
font-family: 'Ubuntu', sans-serif!important;
-webkit-font-smoothing: antialiased;
}
body {
height: 100vh;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
padding-top: 16px;
transition: all 0.3s ease-in;
}
@media (max-width: 512px) {
body {
padding: 32px;
transition: all 0.3s ease-in;
}
}
@media (max-width: 360px) {
body {
padding: 16px;
transition: all 0.3s ease-in;
}
}
h1 {
text-align: center;
color: #000;
margin: 0 0 16px 0;
}
p {
text-align: center;
margin-top: 0;
margin-bottom: 24px;
}
.container {
max-width: 480px;
margin: 0 auto;
background-color: #fff;
padding: 64px;
box-shadow: 2px 2px 96px #111;
border-radius: 8px;
transition: all 0.3s ease-in;
}
@media (max-width: 512px) {
.container {
padding: 32px;
transition: all 0.3s ease-in;
}
}
@media (max-width: 360px) {
.container {
padding: 16px;
transition: all 0.3s ease-in;
}
}
label {
display: inline-block;
width: 25%;
min-width: 128px;
margin-bottom: 8px;
font-weight: bold;
}
input, select {
display: inline-block;
background-color: #fff;
color: #888;
border: 2px solid #888;
border-radius: 2px;
height: 56px;
width: 100%;
font-size: 24px;
padding: 0 16px;
margin-bottom: 24px;
}
input:focus, select:focus {
background-color: #fff;
color: #3200ff;
border-color: #3200ff;
outline: 0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
.payment {
color: #fff;
font-size: 28px;
text-align: center;
font-weight: bold;
transition: all 0.3s ease-in;
background: #0f55ab;
margin: 0px -21px -25px -21px;
padding: 20px 0px;
}
@media (max-width: 512px) {
.payment {
font-size: 40px;
transition: all 0.3s ease-in;
}
}
@media (max-width: 400px) {
.payment {
font-size: 32px;
transition: all 0.3s ease-in;
}
}
@media (max-height: 750px) {
body {
height: 100%;
}
}input[type="radio"]{
display:none;
}
@import url("https://fonts.googleapis.com/css?family=Dax:400,900");
html {
}
.middle {
width: 100%;
text-align: center;
/* Made by */
}
.middle h1 {
font-family: 'Ubuntu', sans-serif;
color: #fff;
}
.middle input[type="radio"] {
display: none;
}
.calcmark {width:150px; font-family: "Ubuntu";
font-size:15px} .calcpolki {width:70px;font-family: "Ubuntu"!important;
font-size: 15px;
text-align: center;}
.middle input[type="radio"]:checked + .box {
border-radius: 3px;
height: 200px;
}
.calcwidth{font-family: "Ubuntu"!important;
font-size: 15px;
text-align: left;}
.calcheight{font-family: "Ubuntu"!important;
font-size: 15px;
text-align: left;}
.calclabel {font-size: 15px;width: 130px;}
}
input::placeholder {
}
.middle input[type="radio"]:checked + .box span {
color: black;
transform: translateY(70px);
}
.middle input[type="radio"]:checked + .box span:before {
transform: translateY(0px);
opacity: 1;
}
.middle .box {
width: 115px;
height: 200px;
background-color: #fff;
transition: all 250ms ease;
will-change: transition;
display: inline-block;
text-align: center;
cursor: pointer;
position: relative;
font-family: 'Ubuntu', sans-serif;
font-weight: 900;
}
.middle .box:active {
transform: translateY(10px);
}
.middle .box span {
position: absolute;
transform: translate(0, 60px);
left: 0;
right: 0;
transition: all 300ms ease;
font-size: 15px;
user-select: none;
}
.middle .box span:before {
font-size: 1.2em;
font-family: FontAwesome;
display: block;
transform: translateY(-10px);
opacity: 0.3;
transition: all 300ms ease-in-out;
font-weight: normal;
color: white;
}
.middle .front-end span:before {
content: '\f121';
background-image: url(http://dressprice.net/calculator/table.svg);
background-size: 70px;
width: 70px;
height: 70px;
background-repeat: no-repeat;
margin: 0 auto;
color: rgba(0, 0, 0, 0);
}
.middle .polki span:before {
content: '\f121';
background-image: url(http://dressprice.net/calculator/polki.svg);
background-size: 70px;
width: 70px;
height: 70px;
background-repeat: no-repeat;
margin: 0 auto;
color: rgba(0, 0, 0, 0);
}
.middle .back-end span:before {
content: '\f121';
background-image: url(http://dressprice.net/calculator/sink.svg);
background-size: 70px;
width: 70px;
height: 70px;
background-repeat: no-repeat;
margin: 0 auto;
color: rgba(0, 0, 0, 0);
}
.middle .cargo span:before {
content: '\f121';
background-image: url(http://dressprice.net/calculator/cargo.svg);
background-size: 70px;
width: 70px;
height: 70px;
background-repeat: no-repeat;
margin: 0 auto;
color: rgba(0, 0, 0, 0);
}
.middle p {
color: #fff;
font-family: 'Ubuntu', sans-serif;
font-weight: 400;
}
.middle p a {
text-decoration: underline;
font-weight: bold;
color: #FFF;
}
.middle p span:after {
content: '\f0e7';
font-family: FontAwesome;
color: yellow;
}
#calculator{box-shadow: -1px 2px 18px 1px #cccccc;
padding: 21px;}
#calculator h1{font-size: 24px;}
input, select {
display: inline-block;
background-color: #fff;
color: #888;
border: 1px solid #888;
border-radius: 2px;
height: 56px;
width: 100%;
font-size: 24px;
padding: 0 16px;
margin-bottom: 24px;
}
label {
display: inline-block;
width: 20%;
min-width: 128px;
margin-bottom: 8px;
font-weight: bold;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: display;
margin: 0;
}