/* TOP */
.nav-toggle {
  position: relative;
  display: none;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 2;
}
.nav-overlay {
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, 0.65);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
}
#menu_top {
  z-index: 3;
}

span.icon-bar {
  position: absolute;
  right: 12px;
  display: block;
  width: 26px;
  height: 2px;
  background-color: rgba(6, 159, 255);
  -webkit-transition-duration: 0.3s;
  -o-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.icon-bar:nth-child(1) {
  top: 17px;
}
.icon-bar:nth-child(2) {
  top: 24px;
}
.icon-bar:nth-child(3) {
  top: 31px;
}

/* CONTENT */
.logo-taurustal img {
  width: 100%;
}
.intro-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.intro-cats a {
  flex: 1 0 30%;
  margin: 5px;
}
.intro-cats img {
  width: 100% !important;
  height: auto !important;
}
#gdzie_tekst {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
#gdzie_tekst,
#gdzie {
  float: none;
  width: initial;
}
#gdzie {
  margin: 0;
}
.textSize {
  float: none;
  width: initial;
  margin-right: 0;
  flex-shrink: 0;
}
.odpowiedz {
  width: 90%;
}
.odpowiedz img {
  max-width: 100%;
}
#lista_wew .pud_gal {
  float: none !important;
  width: initial !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  clear: both;
}
#lista_wew .pud_gal p {
  width: 100%;
}
#lista_wew .box {
  float: none !important;
  width: 93px !important;
  margin: 3px !important;
}
#wstep_pro_big + form {
  overflow-x: auto;
}
.tab_wyniki {
  float: none;
}

/* FOOTER */
#stopka {
  width: initial;
  height: initial;
  clear: both;

  background: none;
}
#stopka .title1 {
  background: url(../img/stopka.jpg) no-repeat 50% 0;
  background-color: #0b82c6;
  position: initial;
  text-align: left;
  padding-left: 20px;
  height: 39px;
  line-height: 37px;
}
#stopka .box_wrapper {
  background-color: #383838;
  padding: 20px 0;
  margin: 0 auto;
}
#stopka .footer-copy {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
}
#stopka #klient,
#stopka #intellect,
#stopka .bottom_menu {
  position: initial;
}
#stopka #klient {
  text-align: left;
}
#stopka #intellect {
  text-align: right;
}
.bottom_menu {
  float: none;
  display: flex;
  flex-wrap: wrap;
  /* align-items: center; */
  justify-content: center;
}
.bottom_menu a {
  padding: 5px 10px;
}
#srodek p img {
  max-width: 100% !important;
  height: auto !important;
}
#srodek h1 {
  line-height: 28px
}

@media (max-width: 1040px) {
  #container {
    width: auto;
    padding: 0 20px;
  }

  /* TOP */
  #top {
    position: initial;
    display: flex;
    height: auto;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
  }

  #logo {
    position: initial;
    display: block;
    height: 50px;
    width: auto;
  }
  #logo img {
    height: 100%;
  }
  .logo_info {
    position: initial;
    float: none;
  }
  .logo_info span {
    font-size: 14px;
  }
  .nav-toggle {
    display: block;
  }
  #menu_top {
    position: fixed;
    margin: 0;
    padding: 10px 0;
    background: none;
    background-color: rgba(6, 159, 255, 0.96);
    left: 0;
    right: 0;
    float: none;
    height: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  #pomenu,
  .submenu {
    display: none !important;
  }
  #menu_top a,
  #menu_top .menu_top,
  #menu_top .activ_menu_top {
    float: none;
    padding: 8px 0;
  }
  .top-nav.active #menu_top {
    height: auto;
    opacity: 1;
    visibility: visible;
  }

  /* MAIN BANNER */
  #new_top_2 {
    width: initial;
    margin: 0 -20px;
  }

  /* CONTENT */
  #srodek_all {
    float: none;
    display: flex;
    flex-direction: column;
  }
  #srodek,
  #prawa {
    width: initial;
    float: none;
  }
  #prawa {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #boxes {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
  }
  #contact-box {
    align-self: flex-end;
  }
  .mini-box-1 a {
    height: initial;
    width: initial;
  }
  .mini-box-1 img {
    width: 100%;
  }
  #prawa #box_pan {
    float: none;
  }
  .tab_wyniki,
  .tab_wyniki_kojce {
    table-layout: fixed;
  }
  form[action$="/mobilgarazs.html"]:nth-child(1) {
    display: none;
  }
  .porcjowanie {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .top-nav.active .nav-overlay {
    opacity: 1;
    visibility: visible;
  }
  
  .produkt_right,
  .produkt_left,
  .big_img,
  #zamowienie_opcje,
  .menuopcjedod,
  #opcjedod,
  #opis_produktu,
  .opcja_opcje,
  .opcja_opis {
    float: none;
    width: auto;
    padding: 0;
  }
  .big_img a {
    position: relative;
    display: block;
  }
  .big_img img {
    position: initial !important;
    width: 100% !important;
    height: auto !important;
  }
  .big_img a img:first-child, .big_img a div {
    display: none;
  }
  #produkt_dane,
  #opis_produktu {
    float: none;
  }
  #opis_produktu h1 {
    font-size: 20px;
  }
  #cena_obliczona {
    font-size: 18px;
    width: auto;
  }
  #zamowienie,
  .opcja,
  #opcjedod dd {
    clear: both;
    width: auto;
    float: none;
  }
  .opcja {
    display: block;
  }
  .gal_dod,
  .gal_dod a,
  .gal_dod a img {
    float: none;
  }
  .gal_dod {
    padding: 0;
  }
  .gal_dod a {
    display: inline-block;
    line-height: 0;
    margin: 5px;
  }
  .gal_dod a img {
    padding: 5px;
  }
  .opcja_opis img {
    max-width: 100%;
  }
  .logo_info {
    display: none;
  }
  #footer .wrapper {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  #cont_form {
    clear: both;
  }
  #cont_form,
  #form_kont,
  #form_kont form,
  #form_kont fieldset {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  #form_kont tr {
    display: flex;
    flex-direction: column;
  }
  #form_kont td {
    height: auto !important;
  }
  #form_kont table {
    width: 100%;
  }
  #form_kont select,
  #form_kont textarea,
  #form_kont input[type="text"] {
    width: 100%;
    box-sizing: border-box;
  }
  #form_kont tbody {
    display: flex;
    flex-direction: column;
  }
  #form_kont tbody tr:first-child {
    order: 1;
  }
  #form_kont tbody tr:last-child {
    display: none;
  }
  #powrot {
    display: block;
    float: none;
    margin-bottom: 50px;
  }
  #srodek img[src$="pytajnik.jpg"] {
    float: none !important;
    margin-right: 0 !important;
    display: flex;
    margin-left: auto;
  }
  .intro-cats a {
    flex: 1 0 45%;
  }
}

@media (max-width: 430px) {
  #new_top_2 .info1,
  #new_top_2 .info2 {
    left: initial;
    right: 10px;
    font-size: 13px;
  }
}

@media (max-width: 400px) {
  #stopka .footer-copy {
    flex-direction: column;
  }
  #stopka #klient,
  #stopka #intellect {
    text-align: center;
  }
  #stopka #klient {
    margin-bottom: 10px;
  }
}
@media (max-width: 365px) {
  .intro-cats a {
    flex: 1 0 100%;
    margin: 0 0 10px 0;
  }
}
