.item-company {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 30px;
  justify-content: space-between;
  @media (max-width: 800px){ grid-template-columns: 1fr; }
  .wiz_logo {
    display: grid;
    width: 140px;
    justify-items: center;
    height: fit-content;
    @media(max-width: 800px) { width: 120px; }
    &>a{
      width: 100%; aspect-ratio: 1; display: grid; align-items: center;
      img {width: 100%; object-fit: contain; }
    }
    .nofoto { border: 1px solid #eee; width: 100%; aspect-ratio: 1; border-radius: 6px; }
  }
  .flag {
    display: flex;
    gap: 8px;
    img{ width: 28px; border: 1px solid;}
  }
  .wiz_content{
    width: 100%;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    .naglowek_firm_lista {
      width: 100%;
      margin-bottom: 10px;
      padding: 16px 0 4px;
      h2 { padding: 0 0 2px; }
      .div_czerwony_woj_s{ color: darkred; font-size: 12px; }
    }
    .content_text {
       width: 100%;
       @media(max-width: 800px) { font-szie: .9rem; }
       .minigalery {
          display: flex; margin: 15px 0 15px; flex-wrap: wrap;
          img {margin: 0px 3px 3px 0px; }
       }
       .vi_contact{ 
         display: flex;
         justify-content: space-between;
         align-items: center;
         margin: 15px 0 5px;
         @media(max-width: 550px) { display: grid; justify-content: stretch; }
         // @media(max-width: 550px) { flex-direction: column; }
         .view_kont_tel{
            display: grid;
            span {padding-right: 11px;}
            @media(max-width: 550px) { justify-items: start; width: 100%;}
         }
         .view_napisz{ 
            @media(max-width: 550px) { width: 100%; margin-top: 10px; 
              a { width: 100%;}
            }
         }
       }
       .godzinny_otw {
         margin-top: 18px;
         display: flex;
         flex-direction: row; 
         justify-content: space-between;
         border-top: 1px solid #ebebeb;
         width: 100%;
         padding-top: 4px;
         @media(max-width: 800px) { 
           display: grid;
           border-top: none;
         }
         .godzinny_otwarcia{
          display: flex;
          flex-direction: row;
          justify-content: flex-end;
          align-items: center;
          .zielony, .czarny { 
            margin-left: 3px;
            margin-right: 3px;
            color: #00C800;
            font-weight: bold;
          }
          .czarny { color: black;}
        }
      }
    }
  }
}
.search-company {
  display: flex;
  gap: 20px; 
  padding: 20px;
  background: beige;
  background: beige;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  .nav { display: flex; gap: 10px; }
  .choices { width: 100% ;}
}
#naglowek .version-lang {
   display: flex;
   gap: 7px;
   margin: 25px 0 5px;
}
#naglowek .version-lang img{
   width: 26px;
   height: 18px;
   transition: opacity .3s;
}
#naglowek .version-lang img:hover{ opacity: .5; }
#body_contents{
   display: grid;
   grid-template-columns: 1fr 3fr;
   gap: 60px;
}
.view_cert .img_spec { width: 100%;}
.view_cert .title { 
   padding: 45px 0 10px;
   font-szie: 1.4rem;
}
.view_cert .galery{
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
   gap: 20px;
   padding: 20px 0;
}
#prawy_firma .ramka_opis_firmy ul, .sell_0_single ul { margin-left: 25px;}
.column_Lewy_single .pasekx .name_firmx h1{
   font-size: 1.6rem;
   line-height: 1.4;
}
.column_Lewy_single .pasekx .name_firmx a{ font-weight: 500; }
.tresc_firma_kontakt { margin: 20px 0; }
.strona_www_firmy { margin-top: 10px; padding: 10px 0; }
.strona_www_firmy a { 
   color: var(--color-link-blu);
   transition: color .3s, font-weight .3s;
}
.strona_www_firmy a:hover { 
   color: var(--color-link-blu-hover); 
   font-weight: bold;
}
.godzinny_otw { margin-top: 20px;}
.foto {
   display: flex;
   justify-content: center;
   width: 100%;
}
.descript { padding: 30px 0;}
#map { width: 100%; height: 360px; margin: 0; background: gray; 
   border-bottom: 1px solid #ccc; 
   border-top: 1px solid #ccc; 
   margin-bottom: 1px; 
}
.hiddeH {display: none;}
.KatGielda {font-size: 1em; font-weight: normal;}
.jsprev{
   text-transform: uppercase; 
   font-size: 1.2rem;
   font-weight: bold;
   display: grid;
   grid-template-columns: auto auto;
   gap: 11px;
   align-items: center;
   justify-content: end;
}
.jsprev img { width: 35px; }
.ofertAkcept { display: flex; gap: 5px; }
.fotoImg {align-self: center;}
.komWidth75 {
  width: 50%;
  height: 520px;
  object-fit: contain;
  margin-bottom: 40px;
}
.komWidth100 {width: 100%;}
.kom_tresc {
    padding: 0px 10px;
    height: 100%;
    display: inline-flex;
    flex-direction: column;
}
.kom_tresc .content_tytul {
    font-weight: bold;
    font-size: 15px;
    text-transform: uppercase;
    text-align: left;
}
.kom_tresc .content_text {
    width: 100%;
    margin-top: 7px;
    font-weight: normal;
    font-size: 14px;
    color: #434343;
}
.content_tytul a{color: #29487d;}
.gielda_ramka_aktivtext { 
    display: flex;
    justify-content: space-around;
}
.komunikaty_list .item-kom{
   display: grid;
   grid-template-columns: 130px 1fr;
   gap: 45px;
}
.komunikaty_list .kom_foto_list { 
   width: 100%; 
   aspect-ratio: 1;
   overflow: hidden;
   border-radius: 3px;
}
.komunikaty_list .kom_foto_list img{ 
   height: 100%;
   object-fit: cover;
   object-position: center;
} 
.komunikaty_resp_list {
   margin-bottom: 30px;
   padding: 30px 30px 45px;

   box-shadow: 2px 2px 10px #ccc;
   border-radius: 5px;
   display: grid;
   gap: 11px;
}

.komunikaty_resp_list .content_tytul { font-weight: bold; margin-bottom: 7px;}
.komunikaty_resp_list .content_text {font-size: 0.9em; }
.komunikaty_resp_list .kom_foto_list_1{  width: 200px;}

.sell_0_single { display: grid; gap: 20px;}
.sell_0 {
   display: grid;
   grid-template-columns: 200px 1fr;
   row-gap: 10px;
   column-gap: 25px;
}
.sell_a {
   grid-column: auto/ span 2;
   align-self: flex-start;
   text-transform: uppercase;
   font-weight: bold;
   border-bottom: 1px solid #eaeaea;
   margin-bottom: 5px;
}
.sell_b {
   display: inline-flex;
   flex-direction: row;
   justify-content: space-around;
}
.sell_zdj {
   width: 100%;
   height: 200px;
   overflow: hidden;
   border-radius: 7px;
   display: grid;
   justify-items: center;
}

.sell_zdj img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ramka_info_gielda {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.log_firmy_body {
    width: 100%;
    height: 140px;
    object-fit: contain;
}
#contaktCompany {
   box-shadow: 0 0 10px #ccc;
   border-radius: 8px;
   overflow: hidden;
   font-size: 16px;
}
#prawy_firma_g #foot_adres {margin: 20px;}

#foot_adres {
   display: grid;
   grid-template-columns: 1fr auto;
   gap: 60px;
   padding: 40px 0;
}
#contaktCompany #foot_adres {
   grid-template-columns: 2fr 3fr;
   align-items: start;
   padding: 30px;
}

#dane_firm {
    display: flex;
    flex-direction: column;
    text-align: right;
    align-items: flex-end;
}
.telCont{ color: #888; margin-top: 7px;}
#foot_adres #mail_napisz {
    background-color: #028ad4;
    color: #fff;
    font-weight: bold;
    height: 100%;
}
.capt {
  margin:0; 
  width: 100%;
  font-size: 15px;
  font-weight: normal;
}
.captCell { }
.firmy_body_foot{ font-size: .85em; text-align: right; margin-top: 45px; padding-top: 3px; border-top: 1px solid var(--color-primary); }
.opis_firmy_tresc{ margin: 0 1% 2% 0;}
.dane_firm { margin: 0;     text-align: right;}
#name_f { font-weight: bold; font-size: 18px;}
#adres {
    font-size: 14px;
    border-bottom: solid 1px;
    border-color: #e8e8e8;
    padding-bottom: 5px;
}

#time_open {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    border-top: solid 1px;
    border-color: #e8e8e8;
    padding-top: 10px;
}
#time_tex { margin-right: 5px; font-weight: 600; }
#mapy {
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    align-self: center;
}

#foot_adres #mail_napisz a{
   color: #fff; 
   display: grid;
   grid-template-rows: 1fr auto;
   padding: 7px 16px;
   opacity: .7;
}
#foot_adres #mail_napisz a:hover{opacity: 1; }
#foot_adres #mail_napisz span { 
  font-size: 3.8em; 
  font-weight: normal; 
  text-align: right;
  font-weight: bold;
  opacity: .4;
}

#prawy {
    border-radius: 0 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin-bottom: 35px;
}
#prawy_b {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    font-size: 14px;
    margin: 35px 0px;
}

#prawy #text {
    margin: 10px 0 30px;
    display: grid;
    grid-template-columns: 1fr auto;
}
#prawy #text .top span{ font-weight: bold; color: red; }
.komurka_sprzedam1 {
    border-bottom: 1px solid;
    width: 100%;
}

.sell_b_4 {
    width: 100%;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}
.sell_b_4_2_1x { width: 48%; margin-bottom: 5px; }
.sell_b_4_2_3 { width: 26%; margin-bottom: 5px; }
.sell_b_4_2_3x { width: 48%; margin-bottom: 5px; }
.sell_b_4_2_1og {
   width: 31%;
   height: 38px;
   margin-bottom: 5px;
   vertical-align: center;
   text-align: left;
}
.sell_b_4_2_2og {
    width: 31%;
    height: 38px;
    margin-bottom: 5px;
    vertical-align: center;
    text-align: center;
    color: #ff0000;
}
.sell_b_4_2_3og {
   width: 31%;
   height: 38px;
   margin-bottom: 5px;
   vertical-align: center;
   text-align: right;
}

.tresc_firma_kontakt span{ color: darkred;}
.sell_0_single {justify-content: center; align-items: center; margin-bottom: 80px;}
.sell_a_tytul {
    font-size: 16px;
    align-self: center;
    font-weight: bold;
    border-bottom: 1px solid #eaeaea;
    width: 100%;
    margin-bottom: 7px;
}
.gielda_ilosc_cena { display: inline-flex; flex-direction: column; align-items: center;}

#menu{display: grid; gap: 7px;}
.button_active,
.button {
  width: auto;
  padding: 12px 0 10px 10px;
  background: #fff;
  border: 1px solid var(--color-primary);
  color: #666;
  box-sizing: border-box;
  border-radius: 2px;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1;
  transition: background .3s, color .3s;
  text-transform: initial;
}
.button:visited {color: #000;}
.button:active{ background-color: #fff; color: #000; }
.button:hover {
    color: #fff;
    background: var(--color-primary);
}
.button_active {
   color: #fff;
   background: var(--color-primary);
   border: 1px solid var(--color-primary);
}
.content_tytul {
   font-size: 1.1em;
   padding: 11px 0;
}
.sell_b_detail { width: 100%; flex-direction: row; justify-content: space-around; }
.sell_b_detail_zawartosc {
    display: inline-flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.sell_link_d{
   margin-bottom: 20px;
   display: flex;
   gap: 7px;
   justify-content: start;
   width: 100%;
}
.sell_link_d span {font-weight: 600;}
.sell_link_d a {color: #2c73c3;}
.sell_b_2_zdj_detail { text-align: center; }
.imExtra {
   display: grid;
   grid-template-columns: repeat(auto-fit, 160px);
   gap: 20px;
   align-items: stretch;
    justify-content: center;
   padding: 30px 0 45px;
}
.imExtra a {
  box-shadow: 1px 1px 5px 0 #aaa;
  display: grid;
}
.imExtra img{  width: 100%; aspect-ratio: 1; object-fit: cover; }
.title-mail {
    border-bottom: 1px solid var(--color-link-blu);
    margin-bottom: 12px;
    padding-bottom: 3px;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-link-blu);
   text-align: left;
}
.captSub { 
   width: 100%;
   padding: 5px 0;
   border-top: 1px solid var(--color-link-blu);
}
.view_napisz_buttom {
   background-color: var(--color-link-blu);
   padding: 11px 20px 9px;
}
.min-gal {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
   gap: 20px;
}
.title-section {
   font-size: 1.2rem;
   padding-top: 30px;
   border-bottom: 1px solid var(--color-primary);
}
.content-download .list-pdf{
   display: grid;
   padding: 10px 0 45px;
   gap: 8px;
}

.content-download .list-pdf a{
   display: grid;
   grid-template-columns: 20px 1fr;
   align-items: center;
   gap: 4px;
}
.content-download .list-pdf a span{
  transition: fill .3s;
}
.content-download .list-pdf a svg{ 
  fill: red; 
  transition: fill .3s;
}
.content-download .list-pdf a:hover span{ color: var(--color-primary); }
.content-download .list-pdf a:hover svg{ fill: var(--color-primary); }


@media (max-width: 991px) {
    #naglowek { width: 225px; }
    #menu {
       width: 225px;
       margin-bottom: 25px;
    }
    #prawy, #prawy_b, #lewy { width: 100%; margin-left: 0px; }
    #prawy_b { flex-direction: column; text-align: center;}
    #body_contents { grid-template-columns: 1fr; gap: 45px; }
}
@media (max-width: 600px) {
   .imExtra { 
       grid-template-columns: 1fr 1fr;
       gap: 14px;
   }
   .komunikaty_resp_list { flex-direction: column; }
   .view_kont_tel{display: grid; }
   .sell_0 {grid-template-columns: 1fr;}
   .sell_a {grid-column: auto; }
   .sell_zdj {margin: 0px auto;}
   .sell_0 .view_napisz { margin: 0px;  grid-row: 5/6;}
}

@media (max-width: 745px){
   #foot_adres { gap: 16px; }
   .ramka_opis_firmy { padding: 0; }
   .sell_a  { align-self: center; }
   .sell_b { flex-direction: column; align-items: center; }
   .sell_b_2 {margin: 0px 20px 15px 20px;}
   .sell_b_4 {width: auto; align-items: center;}
   .self_tlo {margin-left: -2px;}
   .sell_b_3 {width: 0%;}
   #menu {display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: auto;}
    .ramka_info_gielda{
       margin: 0px 20px;
       flex-direction: column;
       align-items: center;
    }
   .komurka_sprzedam1 {margin: 21px 0px 11px; text-align: center;}
   #contaktCompany #foot_adres { grid-template-columns: 1fr; }
   .captSub {
      padding: 30px 0 0;
      margin: 0;
   }
   .capt span { display: none; }
}
@media (max-width: 485px) {
   .komunikaty_list .item-kom {
      grid-template-columns: 1fr;
   }
   .komunikaty_list .item-kom .kom_foto_list {
       aspect-ratio: 1.33;
   }
   #prawy #text { 
      grid-template-columns: 1fr; gap: 25px;
      margin: 15px 0 30px;
   }
   .fotoImg.komWidth75 {width: 100%;}
   .kom_foto_list { margin: 0 auto;}
   .view_kont_tel{ margin: auto; text-align: center; }
   #naglowek { width: 100%; }
   #menu { grid-template-columns: 1fr; }
}
