body {
margin: 0 auto;
font-family: open-sans, sans-serif;
}
label {
position: relative;
display: block;
font-weight: 600;
font-size: 14px;
margin-bottom: 10px;
}
input {
position: relative;
display: block;
background: #f4f4f4;
border: none;
border-radius: 6px;
height: 40px;
width: 200px;
font-size: 16px;
text-indent: 10px;
outline: none;
}
button {
position: relative;
display: inline-block;
width: 180px;
background: transparent;
color: #00b5cc;
border: solid 1px #00b5cc;
border-radius: 6px;
font-size: 12px;
font-weight: 400;
height: 40px;
cursor: pointer;
opacity: 1;
transition: 0.2s;
outline: none;
padding: 0!important;
}
button:hover {
background: #00b5cc;
color: #fff;
}
.order-btn {
position: relative;
display: inline-block;
border: solid 1px #00b5cc;
color: #00b5cc;
margin-right: 10px;
height: 35px;
width: 150px;
padding: 0!important;
}
@media screen and (max-width: 1000px) {
.order-btn {
margin-bottom: 12px;
width: 100%;
height: 40px;
}
.press-enter {
display: none;
}
}
select {
position: relative;
display: block;
background: #f4f4f4;
border: none;
border-radius: 6px;
height: 40px;
width: 190px;
font-size: 14px;
outline: none;
text-indent: 10px;
} .calculator {
position: relative;
display: flex;
flex-direction: row;
align-items: top;
width: 1300px;
margin: 50px auto;
}
.calculator p {
font-weight: 400;
font-size: 15px;
line-height: 1.8;
font-style: normal;
margin: 1em 0!important;
}
.calculator span {
font-size: 12px;
margin: 0;
color: #888;
}
.calculator a {
text-decoration: none;
color: #222;
}
.inputs {
position: inherit;
display: inline-block;
width: 500px;
padding: 40px;
}
.outputs {
position: inherit;
display: inline-block;
width: 700px;
padding: 40px;
}
.header { }
@media screen and (max-width: 1000px) {
.header {
height: 100%;
padding: 0 !important;
}
}
.col-full {
position: relative;
display: block;
width: 100%;
margin: 20px 0;
}
.col-half {
position: relative;
display: inline-block;
width: 49%;
margin: 20px 0;
margin-top: 0;
}
.row {
position: relative;
display: flex;
flex-direction: row;
justify-content: start;
align-items: center;
background: #fff;
border-bottom: solid 1px #eee;
transition: 0.2s;
}
.row:hover {
background: linear-gradient(to left, #ffff, #f7f7f7, #fff);
z-index: 999;
}
.product-img {
margin-right: 30px;
margin-left: 10px;
}
.product-img img {
position: relative;
display: block;
width: 40px;
}
.product-name {
width: 250px;
color: #222222;
}
.product-name p {
font-weight: 700;
text-transform: uppercase;
margin-bottom: 0!important;
line-height: 1;
}
@media screen and (max-width: 1000px) {
.product-name {
max-width: 170px;
word-break: break-word;
}
}
.product-qty {
width: 100px;
}
.product-qty p {
display: inline-block;
font-weight: 700;
font-size: 18px;
text-transform: uppercase;
}
.product-unit {
width: 100px;
}
@media screen and (max-width: 1000px) {
.product-unit p {
font-size: 12px;
}
}
.info-icon {
text-align: right;
display: inline-block;
margin-right: 10px;
}
.dropdown {
position: relative;
display: block;
background: #f4f4f4;
border: none;
height: 40px;
width: 200px;
border-radius: 6px;
}
.icon {
color: #ccc;
opacity: 1;
cursor: pointer;
outline: none;
transition: 0.2s;
}
.icon:hover {
color: #00b5cc;
} .tooltip .tooltip-text {
position: absolute;
display: inline-block;
background: #333;
color: #fff;
padding: 10px 20px;
font-size: 0.8em;
border-radius: 2px;
left: 390px;
top: 15px;
opacity: 0;
transform: translateX(-10px);
visibility: hidden;
transition: 0.1s ease-out;
cursor: default;
text-align: left;
z-index: 999;
}
.tooltip-text::before {
content: "";
position: absolute;
border: solid 8px transparent;
border-right: solid 8px #333;
left: -15px;
top: 12px;
}
.tooltip:hover .tooltip-text {
transform: translateX(0);
opacity: 1;
visibility: visible;
}
.tooltip-result {
top: -6px!important;
}
.exchange {
position: relative;
display: block;
padding: 10px;
transition: .3s;
cursor: pointer;
}
.exchange:hover {
color: #00b5cc;
transform: rotateX(180deg);
}
@media screen and (max-width: 1000px) {
.exchange {
position: absolute;
right: 101px;
font-size: 20px;
}
} @media screen and (max-width: 1000px) {
input {
width: 100%;
}
select {
width: 100%;
}
button {
width: 100%;
}
.dropdown {
width: 100%;
}
.calculator {
position: relative;
display: block;
margin: 5%;
padding: 0;
width: 90%;
overflow: hidden;
}
.inputs {
display: block;
padding: 0;
width: 100%;
}
.outputs {
display: block;
padding: 0;
width: 100%;
}
.col-half {
display: block;
width: 100%;
}
.tooltip .tooltip-text {
left: 280px;
}
.product-img {
margin-right: 20px;
}
}