.kalkulator-u{
max-width:1400px;
width: 100%;
margin:auto;
position:relative;
display: flex;
flex-wrap: wrap;
gap: 3em;
--green:#11a700;
--lightgreen:#b3ff82;
--red: #f00;
}
.kalkulator-u .wp-block-table {
overflow-x: auto;
margin: 0px;
max-width: 100%;
}
.kalkulator-u .variables{
display: flex;
flex-direction: column;
gap: 3em;
flex-grow: 1;
flex-basis: 600px;
}
.grubosc-izolacji{
text-align:center;
}
.kalkulator-u .results{
display: flex;
gap: 2em;
flex-direction: column;
flex-basis: 300px;
flex-grow: 1;
}
.kalkulator-u .is-sticky{
position: sticky;
top:0;
}
.kalkulator-u .results .is-sticky{
display:flex;
flex-wrap:wrap;
gap: 1.5em;
align-items: center;
}
.number-control input[type="number"]{
padding:0px !important;
width:auto !important;
min-width:80px;
font-size:30px;
font-weight:bold;
}
.variables table {
border: solid 1px #BDBDBD;
border-collapse: collapse;
border-spacing: 0;
font-size: 15px;
width: 100%;
border-radius:10px;
overflow:hidden;
}
.variables table thead th {
background-color: #BDBDBD;
border: solid 1px #BDBDBD;
color: #000;
padding: 6px;
text-align: left
}
.variables table tbody td {
border: solid 1px #BDBDBD;
color: #000;
padding: 3px
}
.variables table tbody tr:hover {
cursor: pointer
}
.variables table tbody tr:hover td {
background-color:#ddd;
}
.wybrano,
.variables table tbody tr.wybrano:hover td{
background-color: var(--g44-secondary-color-dark);
font-weight:bold;
}
.variables select {
width: 100%
}
.sec-title {
background-color: var(--g44-primary-color);
background-color: var(--g44-darkgray-color);
font-size:1.3em;
color: #fff;
border-radius: 100px;
font-weight: 700;
padding: 10px 20px;
margin: 0 0 10px;
text-align: left;
}
.wykres {
position: relative;
border-width: 0 0 1px 1px;
margin: 0px 0 0 40px;
border-style: solid;
min-height: 210px;
width: calc(100% - 40px);
height: var(--height);
}
.limity {
position: absolute;
bottom: 0;
left: 0;
border-width: 1px 0 0;
border-style: solid;
border-color: #000;
width: 10px
}
.limit_25 {
height: 45px;
}
.limit_45 {
height: 90px;
}
.limit_90 {
height: 180px;
}
.limity>div{
position: absolute;
top: -11px;
left: -45px;
width: 40px;
text-align:right;
}
.limit_legenda_txt {
position: absolute;
top: -5px;
left: -27px;
width: 31.5px;
text-align: right;
}
.limit_oznakowanie {
background-color: var(--lightgreen);
width: 100%
}
.slupek {
position: absolute;
bottom: 0;
left: 10%;
height: 80px;
width: 80%;
background-color: var(--green);
z-index: 9;
height: var(--height);
}
.slupek>div{
text-align:center;
margin-top:0px;
position:relative;
color:#fff;
}
.slupek .wynik_u, .slupek .wynik_txt {
font-size: 30px;
}
.red_bg {
background-color: var(--red);
}
.wynik p {
margin: 6px 0;
}
.wynik {
opacity: 0;
visibility: hidden;
transform: translateY(50px);
-webkit-transition: all 0.2s ease 0s;
-moz-transition: all 0.2s ease 0s;
-o-transition: all 0.2s ease 0s;
-ms-transition: all 0.2s ease 0s;
transition: all 0.2s ease 0s;
color:var(--green);
text-align: center;
position: sticky;
bottom: 0.5em;
background: var(--g44-lightgray-color);
padding: 0.5em 1em;
box-sizing: border-box;
border-radius: 20px;
z-index: 99;
display: flex;
align-items: center;
gap: 0 2em;
flex-wrap:wrap;
box-shadow: 0 0 20px rgb(0 0 0 / 10%), 0 20px 20px -30px rgb(0 0 0 / 35%);
}
.wynik.calc-ready{
visibility: visible;
opacity: 1;
transform: translateY(0px);
}
.wynik>div {
flex-basis: 250px;
flex-grow:1;
}
.wynik>span {
flex-basis:300px;
flex-grow:1;
}
.wynik.red {
color:var(--red);
}
.wynik_u,
.wynik_txt {
font-size: 45px;
line-height: 1;
}
.wynik_txt {
font-weight: bold;
}
.info_txt {
display: block;
flex-grow: 1;
flex-basis: 240px;
text-align: center;
border:3px solid var(--red);
color:var(--red);
border-radius: 12px;
font-size: 0.9em;
font-weight: bold;
padding: 8px 10px;
}
.widget-sciana{
width: 100%;
flex-basis: 300px;
flex-grow: 1;
}
.blok-wykres{
display:block;
width:100%;
flex-grow: 1;
flex-basis: 240px;
}
.sciana_tbl {
border-collapse: collapse;
text-align: center
}
.sciana_tbl td {
position: relative;
padding:5px;
}
.sciana_tbl td>div {
display: flex;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
justify-content: center;
}
.sciana_tbl td>div>span {
position: relative;
left:unset !important;
top:unset !important;
writing-mode: vertical-lr; font-size: 14px;
}
.sciana_tbl tr.sciana {
height: 200px;
}
.tynk1_tbl {
width: 2px;
padding:2px !important;
background-color: #bbb;
}
.mur_tbl {
background-color: #d0764e;
border-left: 1px solid #C3C3C3;
border-right: 1px solid #C3C3C3
}
.mur_tbl.solbet {
background-color: #878787;
}
.izo_tbl {
background-color: #E6E7E8;
border-right: 1px solid #C3C3C3
}
.lico_tbl {
width: 25px;
background-color: #FFE100;
border-right: 1px solid #C3C3C3
}
.tynk2_tbl {
width: 2px;
padding:2px !important;
background-color: #bbb;
}
.number-control {
display: flex;
gap:10px;
margin: 10px 0;
justify-content: center;
}
.number-control button {
font-size: 30px;
line-height: 23px;
}
.number-control input {
text-align: center;
width:60px;
}
.number-control input[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none !important;
}
@media (max-width:1024px) {
.wynik {
margin:0;
width: calc(100% - 35px);
}
}
@media (max-width:768px) {
.kalkulator-u {
display:block
}
.kalkulator-u .results{
margin-top:3em;
}
.wynik p{
font-size:13px;
}
.sec-title {
font-size: 1.1em;
}
}