:root {
    --topicwidth: 100px;
    --topicwidthhover: 300px;
    --topicnamedisplay : block;
    --topicnameopacity : 0.1s;
    --topicramkaheight : 90px;
    --topicramkamargin : 5px;
    --topicramkashadow : 1px 1px 4px 1px rgb(0 0 0 / 20%);
    --widthoficons : 3;
    /* --szaryjasny: rgb(120, 120, 120); */
    --szaryjasny: rgb(50, 50, 50);
    --szaryciemny: rgb(50, 50, 50);
    --kolorchosen:  rgb(30, 145, 139);
    --main-font: 'Roboto', sans-serif;
    --kolorCzcionkiPodstawowy: rgb(126, 122, 122);
    --kolorCzcionkiWyrozniony: rgb(30, 145, 139);
    --kolorCzcionkiWyrozniony05: rgba(30, 145, 139, 0.5);
    --kolorCzcionkiPodstawowy05: rgba(126, 122, 122, 0.5);
  }

*{
    padding: 0;
    margin: 0;
    font-family: var(--main-font);
    user-select: none;
}

html{
    scroll-behavior: smooth;
}

.border{
    margin: auto;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: rgba(200, 200, 200, 0.5);
}

.topheader{
    width: 1400px;
    margin: auto;
    display: flex;
    flex-direction: row-reverse;
}

.lowheader{
    width: 1400px;
    margin: auto;
    display: flex;
    flex-direction: row-reverse;
}

#autor{
    /* font-family: Arial; */
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 500;
    color:rgb(70, 70, 70);
    height: 50px;
    display: flex;
    align-items: center;
    padding-right: 30px;
}

@media only screen and (max-width: 1400px) {
    .topheader, .lowheader{
        width: auto;
    }

    .middleheader, .barheader{
        width:1349px;
        display: block;
    }
  }

.contacts{
    width: 500px;
    /* font-family: Arial; */
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: 500;
    color:rgb(70, 70, 70);
    height: 50px;
    display: flex;
    justify-content:center;
    align-items: center;
}

.socialmedia{
    padding-right: 10px;
    font-size: 16;
}

.phone, .mail{
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
    border-left-style: solid;
    border-left-width: 1;
    border-left-color: rgba(200, 200, 200, 0.5);
    display: flex;
	justify-content:center;
	align-items: center;
}

.phone{
    margin-right: 7px;
}

.icon-phone, .icon-mail{
    padding-right: 10;
}

.icon-facebook, .icon-youtube-play, .icon-instagram, .phone, .mail{
    transition: color 0.4s;
    padding-right: 5;
}

.icon-facebook:hover, .icon-youtube-play:hover, .icon-instagram:hover, .phone:hover, .mail:hover{
    color:rgb(70, 70, 70, 0.5);
    cursor: pointer;
}

.icon-warning-empty{
    position: absolute;
    font-size: 20px;
    color: red;
    left: 340;
    display: none;
}

#warrning1{
    top: 42;
}

#warrning2{
    top: 77;
}

#warrning3{
    top: 112;
}

.tooltiptext {
    visibility: hidden;
    width: 100px;
    background-color: red;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    left: 364px;
    margin-left: -60px;
    }
      
.tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: red transparent transparent transparent;
    }

.warrning:hover .tooltiptext {
    visibility: visible;
    }



.middleheader{
    margin: auto;
    position: sticky;
    top : 0px;
    display: flex;
    justify-content:center;
    background-color: white;
    z-index: 10;
    overflow: hidden;
}

#logo {
    /* padding-top: 25px; */
    height: 100px;
    width: 200px;
    /* padding-left: 100px; */
    cursor: pointer;
    overflow: hidden;
    transform: scale(1, 1);
    transition: all 0.3s;
}

#logo:hover .smaylogo {
    transform: translateY(-120%);
}

#smaylogo1, #smaylogo2{
    transition: all 0.3s;
    padding: 25px;
}

#smaylogo1{
    margin-top: 5px;
    margin-bottom: 20px;
}




.st1, .st2, .st3, .st4, .st4b, .st5, .st6{
    /* stroke: rgb(120, 120, 120); */
    stroke: var(--szaryciemny);
}

.st4b{ 
    fill: var(--szaryciemny);
}

/* .st1{
    stroke: green;
}

.st2{
    stroke: rgb(200, 0, 150);
}

.st3{
    stroke: darkblue;
}

.st4{
    stroke: rgb(255, 0, 0);
}



.st5{
    stroke: purple;
}

.st6{
    stroke: orange;
} */

.st1, .st1b{
    stroke-width: calc(var(--widthoficons) * 10);
}

.st2, .st4, .st5, .st6, .st6b{
    stroke-width: var(--widthoficons);
}

.st3{
    stroke-width: calc(var(--widthoficons) - 1);
}

#topics{
    width: 800px;
    height: 100px;
    display: flex;
    justify-content:center;
    align-items: center;
    background-color: white;
    transition: all 0.3s;
}

.topic{
    height:100px;
    width: var(--topicwidth);
    color:transparent;
    z-index: 2;
    /* transition: width 0.3s; */
    transition: all 0.3s;
    border-radius: 3px;
}

.topic:hover{
    cursor:pointer;
    width: var(--topicwidthhover);
    /* border: solid green 1px; */
    /* box-shadow: 0 5px 10px rgb(0 0 0 / 100%); */
}

.topicramka{
    box-sizing: border-box;
    position: absolute;
    top:0;
    width: var(--topicwidth);
    height: var(--topicramkaheight);
    margin-top: var(--topicramkamargin); 
    margin-bottom: var(--topicramkamargin); 
    border-radius: 5px;
    transition: all 0.3s;
}

.topic:hover .topicramka{
    width: var(--topicwidthhover);
    /* box-shadow: 1px 1px 4px 1px rgb(0 0 0 / 20%); */
    /* box-shadow: 2px 2px 4px 2px rgb(0 0 0 / 30%); */
    box-shadow: var(--topicramkashadow);
}

.topicname{
    opacity: 0;
    /* transition: opacity, 0.1s ease 0.0s; */
    transition: opacity var(--topicnameopacity) ease;
    padding-left: 90px;
    padding-top: 40px;
    font-size: 25;
    font-family: var(--main-font);

    color: var(--szaryciemny);
    line-height: 0.7;
    font-weight: 900;
    display: var(--topicnamedisplay);
}

.topic:hover .topicname{
    color: var(--szaryjasny);
    transition: opacity 0.2s ease 0.1s, font-size 0.3s ease, padding 0.3s ease;
    opacity:1;
}

.topic.chosen .topicname{
    color: var(--kolorchosen);
}

#topics.hiddenbar .topicname{
    padding-left: 50px;
    padding-top: 21px;
    font-size: 11;
    width: var(--topicwidthhover);
    opacity:1;
    transition: opacity 0.0s ease 0.3s;
}

#topics.hiddenbar .topic:hover .topicname{
    transition: color 0.0s ease 0.0s, font-size 0.3s ease, padding 0.3s ease;
    /* color: var(--szaryjasny); */
}


svg{
    position:absolute;
    transition: all 0.3s;
}

.chosen .st1, .chosen .st2, .chosen .st3, .chosen .st4, .chosen .st4b, .chosen .st5, .chosen .st6 {
    stroke: var(--kolorchosen);
}

.chosen .st4b{
    fill: var(--kolorchosen);
}

.topic:hover.chosen .st1b, .topic:hover.chosen .st4b, .topic:hover.chosen .st6b{
    stroke: var(--kolorchosen);
}

.topic:hover .st1b{
    stroke: var(--szaryjasny);
}

.topic:hover.chosen #svg6l1, .topic:hover.chosen #svg6l2, .topic:hover.chosen #svg6l3, .topic:hover.chosen #svg6l4{
    stroke: var(--kolorchosen);
} 

.topic:hover .st1, .topic:hover .st2, .topic:hover .st3, .topic:hover .st4, .topic:hover .st5, .topic:hover .st6{
    /* stroke: var(--szaryjasny); */
}

.topic:hover .st3, .topic:hover .st4b{
    /* fill:var(--szaryjasny); */
    /* stroke: var(--szaryjasny); */
}

.topic:hover #svg1l1, .topic:hover #svg1l2, .topic:hover #svg1l3, .topic:hover #svg1l4{
    /* stroke: var(--szaryjasny); */
    animation: normal arrowsvg linear 0.5s forwards;
} 

@keyframes arrowsvg {
    0% {
      offset-distance: 0;
    }
    100% {
      offset-distance: 100%;
    }
}

.topic:hover #svg1l1{
    offset-path: path("M 250 36.3663 Q 140.0839 -20.4652 25.0 25.0");
}

.topic:hover #svg1l2{
    offset-path: path("M 36.3663 750 Q -20.4652 859.9161 25 975");
}

.topic:hover #svg1l3{
    offset-path: path("M 750 963.6337 Q 859.9161 1020.4652  975 975");
}

.topic:hover #svg1l4{
    offset-path: path("M 963.6337 250 Q 1020.4652 140.0839  975 25");
}

.topic #svg2l1{
    transform: rotate(15deg);
}

.topic #svg2l2{
    transform: rotate(-15deg);
}

.topic:hover #svg2l1{
    transform: rotate(-45deg);
}

.topic:hover #svg2l2{
    transform: rotate(45deg);
}

#svg2l1{
    transform-origin: 50px 27.5px;
    transition: transform 0.5s;
}

#svg2l2{
    transform-origin: 50px 72.5px;
    transition: transform 0.5s;
}

#fan{
    transform-origin: 49.4px 1007.8px;
    transition: transform 0.5s;
}

.topic:hover #fan{
    transform: rotate(180deg);
}

.topic:hover #svg4l1{
    transform: rotate(90deg);
    /* fill: var(--szaryjasny); */
}

#svg4l1, #svg4l2{
    transform-origin: 55px 35px;
    transition: transform 0.5s;
}

.topic:hover #svg5l1{
    transform: rotate(60deg);
    fill: var(--szaryjasny);
}

#svg5l1{
    transform-origin: 70px 50px;
    /* transform: rotate(30deg); */
    transition: transform 0.5s;
}

.topic:hover #svg6l1, .topic:hover #svg6l2, .topic:hover #svg6l3, .topic:hover #svg6l4{
    stroke:var(--szaryjasny);
    animation: normal arrowsvg6 linear 0.5s forwards;
} 

@keyframes arrowsvg6 {
    0% {
      offset-distance: 0;
    }
    100% {
      offset-distance: 100%;
    }
}

.topic:hover #svg6l1{
    offset-path: path("M21.0 16.0 L10.0 5.0");
}
    
.topic:hover #svg6l2{
    offset-path: path("M79.0 16.0 L90.0 5.0");
}

.topic:hover #svg6l3{
    offset-path: path("M21.0 84.0 L10.0 95.0");
}

.topic:hover #svg6l4{
    offset-path: path("M79.0 84.0 L90.0 95.0");
}













.empty300{
    /* padding-left:300px; */
    padding-left: auto;
}

#border2{
    position: sticky;
    top : 100px;
    box-shadow: 0 1px 2px rgb(0 0 0 / 10%);
    transition: top 0.3s;
}

#barheader{
    top : 50px;
    margin: auto;
    overflow: hidden;
    background-image: url("img/barclear1930.png");
    height:200px;
    display:flex;
    transition: all 0.3s;
}

#barwritting{
    white-space: nowrap;
    /* font-family: Arial;
    font-size: 50; */
    font-family: var(--main-font);
    font-size: 60;
    font-weight: 900;
    color: white;
    width: 1400px;
    margin: auto;
    text-align: center;
}








.tresc{
    max-width: 1350;
    min-width: 700;
    min-height: 820px;
    margin-left :auto;
    margin-right :auto;
    padding-top: 50px;
    z-index: 1;
    position:relative;
}

.tresc#trescglowna5{
    max-width: 1370;
    padding-top: 80px;
}

.ramka{
    clear: both;
    padding-top: 30px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(200, 200, 200, 0.5);
    height: 14px;
}

.legend{
    color: var(--szaryciemny);
    font-family: var(--main-font);
    font-size: 22;
    font-weight: 700;
    width: max-content;
    background: white;
    padding-left: 10px;
    padding-right: 10px;
    margin: auto;
}

#regulatorycav, #regulatoryvav, #regulatoryciśnienia, #elementypomiarowe{
    max-width: 1320;
    margin: auto;
    padding-top: 30px;
    z-index: 2;
    position:relative;
    text-align: center;
}

.fieldsetregulatory{
    max-width: 1350px;
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 30px;
    margin-bottom:20px;
    z-index: 2;
    position:relative;
    text-align: center;
  }

  .fieldsetregulatory2{
    box-sizing: border-box;
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 10%);
    display:flex;
    flex-flow: wrap;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
  }

.mainelement{
    float: left;
    background-repeat: no-repeat;
    background-position: top;
    background-size:contain;
    box-sizing: border-box;
    margin-top: 7.5px;
    margin-bottom: 7.5px;
    margin-left: 10px;
    margin-right: 10px;
    width: 200px;
    height: 180px;
    transition: all 0.3s;
    cursor:pointer;
    font-family: var(--main-font);
    font-size: 18;
    font-weight: 700;
    color: var(--szaryciemny);
    display: flex;
    text-align: center;
    flex-direction: column-reverse;
    transform: scale(0.9);
    z-index: 3;
}

[data-file]{
    background-image: attr(data-file url);
}

.mainelement:hover {
    transform: scale(1);
    box-shadow: 0 0 10px rgb(0 0 0 / 15%);
    position:relative;
}

.opis{
    padding: 7px;
    height: 20px;
    transition: all 0.3s;
    overflow: hidden;
}

.mainelement:hover .opis{
    height: 110px;
    background-color: rgb(255,255,255, 0.8);
}

.opisopisu{
    font-size: 12;
    font-weight: 500;
    color: dimgray;
    margin: 10px;
}

.cien{
    clear: both;
    height: 10px;
    width: 100%;
    background-image: linear-gradient(rgba(255, 255, 255, 0.0), rgba(255, 255, 255, 0.8));
}












.fieldset {
    box-sizing: border-box;
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0px 0px 10px 1px rgb(0 0 0 / 10%);
}

.fieldset#fieldzerowy{
    width:1330px;
    margin: auto;
}

.fieldset#fieldpierwszy{
    height: 180px;
    width: 1330px;
    display: flex;
    margin: auto;
    margin-top: 20px;
}

#regobrazek{
    background: url("./img/regulatory/RCP-R_1.png");
    }

.regobrazki{
    position: relative;
    /* margin-top:10px; */
    width:200px;
    height:150px;
    background-repeat: no-repeat;
    background-position: top;
    background-size:contain;
}

#kontenerObrazki{
    /* background-color: red; */
    height: 150px;
    width: 200px;
    overflow:hidden;
}

.regtypkod{
    position:relative;
    font-size: 12px;
}

#regkod{
    font-weight: 700;
}

#regopis{
    position:relative;
    top:20px;
    left:125px;
    /* border: 1px solid black; */
    width: 600px;
    height: 130px;
    font-size: 15px;
    font-weight: 500;

}

#elementiopis{
    width: 450px;
    height: 150px;
    /* background-color: red; */
}


#fieldy{
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 550px;
}


.fieldset#fielddrugi{
    width: 655px;
    height: 250px;
    margin-top: 20px;
    margin-left: 10px;
}

.fieldset#fieldtrzeci{
    width: 655px;
    height: 250px;
    margin-top: 20px;
    margin-left: 10px;
}

.fieldset#fieldczwarty{
    width: 655px;
    height: 520px;
    margin-top: 20px;
    margin-left: 20px;
    margin-right: 10px;
}
  
section h1 {
    font-family: var(--main-font);
    position: absolute;
    top: 0;
    left:30px;
    font-size: 18px;
    line-height: 1;
    margin: -9px 50px 0;
    padding: 0 3px;
    background-color: rgb(255 255 255 / 50%);
    color: var(--kolorchosen);
  }

section p {
    font-family: var(--main-font);
    font-size: 12px;
  }

#filed4navbar{
    position: absolute;
    height: 10px;
    width: 10px;
    display: flex;
}




.nav-item {
    text-decoration: none;
    transition: .3s;
    position: relative;
    cursor:pointer;
        color: #9a9ca0; 
}

.nav-item:not(:first-child){
    margin-left: 30px;
}

.nav-item:not(.is-active):hover { 
    /* color: #9a9ca0;  */
    color: black;
}

.nav-item:before {
    content: "";
    position: absolute;
    bottom: -6px;
    top: 22px;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: #dfe2ea;
    border-radius: 8px 8px 0 0;
    opacity: 0;
    transition: 0.3s;
  }

  .nav-item:not(.is-active):hover:before {
    opacity: 1;
    bottom: 0;
  }

  .nav-indicator {
    position: absolute;
    top: 20px;
    left: 0;
    bottom: 0;
    height: 4px;
    transition: .4s;
    height: 5px;
    z-index: 1;
    border-radius: 8px 8px 0 0;
  }



  img.zoom {
      transition: transform 0.3s
  }

  img.zoom:hover {
      transform: scale(1.1)
  }


  #obrazWykres{
    width: 620px;
    height: 200px;
    /* background-color:beige; */
    position: absolute;
    top: 200px;
  }









  .container {
    box-sizing: border-box;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 110;
  }
  
  .range-slider {
    position: absolute;
    top: 100px;
    left: 30px;
    height:0px;
  }
  .rs-range {
    width: 540px;
    -webkit-appearance: none;
  }
  .rs-range:focus {
    outline: none;
  }

  /* pasek przesuwny */
  
  .rs-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0px;
    cursor: pointer;
    box-shadow: 0px 1px 2px rgba(255, 0, 0, 0.5);
    background: rgba(255, 0, 0, 0.5);
    border-radius: 0px;
    border: 0px solid #010101;
  }
  
  .rs-range::-moz-range-track {
    width: 100%;
    height: 1px;
    cursor: pointer;
    box-shadow: none;
    background: rgba(255, 0, 0, 0.5);
    border-radius: 0px;
    border: 0px solid #010101;
  }
  .rs-range::-webkit-slider-thumb {
    box-shadow: none;
    border: 0px solid rgba(0, 0, 0, 0.25);
    box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.15);
    height: 22px;
    width: 7px;
    border-radius: 5px;
    background: var(--kolorCzcionkiWyrozniony);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -20px;
  }

  .badlabel .rs-range::-webkit-slider-thumb{
    background: var(--kolorCzcionkiPodstawowy);
    /* background: red; */
  }

  .rs-range::-moz-range-thumb {
    box-shadow: none;
    border: 0px solid red;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
    height: 42px;
    width: 22px;
    border-radius: 22px;
    background: red;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -20px;
  }
  .rs-range::-moz-focus-outer {
    border: 0;
  }
  
  .box-minmax {
    margin-top: 30px;
    width: 540px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: grey;
  }
  
  .pasek{
    position: absolute;
    height: 6px;
    border: 1px;
    z-index: -1;
  }
  
  #pasek1 {
    top: 198px;
    left: 30px;
    width: 340px;
    box-shadow: 0px 1px 2px var(--kolorCzcionkiPodstawowy05);
    background: var(--kolorCzcionkiPodstawowy05);
  }
 
  #pasek2 {
      top: 198px;
      left: 370px;
      width: 100px;
      box-shadow: 0px 1px 2px var(--kolorCzcionkiWyrozniony05);
      background: var(--kolorCzcionkiWyrozniony05);
    }
  
    #pasek3 {
      top: 198px;
      left: 470px;
      width: 100px;
      box-shadow: 0px 1px 2px var(--kolorCzcionkiPodstawowy05);
      background: var(--kolorCzcionkiPodstawowy05);
    } 

    .pasekOpis{
        position:absolute;
        font-weight: 900;
        top: 215px;
        width: 50;
        display: flex;
        justify-content: center;
    }

    #pasekOpis1{
        color:var(--kolorCzcionkiPodstawowy);
        left:8px;
    }

    #pasekOpis2{
        color:var(--kolorCzcionkiPodstawowy);
        left:541px;
    }

    #pasekOpis3{
        color:var(--kolorCzcionkiWyrozniony);
        left:254px;
    }

    #pasekOpis4{
        color:var(--kolorCzcionkiWyrozniony);
        left:354px;
    }
    
    .rs-label {
      position: absolute;
      transform-origin: center center;
      display: block;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      /* line-height: 30px; */
      text-align: center;
      font-weight: bold;
      padding-top:6px;
      box-sizing: border-box;
      border: 2px solid var(--kolorCzcionkiWyrozniony); 
      margin-top: 20px;
      margin-left: -38px;
      left: attr(value);
      top:-90px;
      color: var(--kolorCzcionkiWyrozniony);
      font-style: normal;
      font-weight: normal;
      line-height: normal;
      font-size: 12px;
      transition: border 0.3s;
    }

    .badlabel .rs-label {
        border: 2px solid var(--kolorCzcionkiPodstawowy); 
        color: var(--kolorCzcionkiPodstawowy);
        /* border: 2px solid red;  */
        /* color: red; */
    }

    .rs-label::before {
      display: block;
      font-size: 10px;
      /* letter-spacing: 0.07em; */
      /* margin-top: -55px; */
    }
    #rsbullet1::before{
        content: "Vmax";
    }
    #rsbullet2::before{
        content: "Vmin";
    }
    
  