﻿:root{
  --scrollbar-width: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  background: #ffffff;
  color: #000000;
  text-align: center;
}

div.main {
  width: 100%;
}

section {
  text-align: left;
  padding: 10px;
}

section div.row{
  border-left: 0px solid;
  border-right: 0px solid;
  border-top: 0px;
  border-bottom: 0px solid;
  padding: 0px;
}

section div.row:hover{
  background: #aaff80;
}

section div.item{
  float: left;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 5px;
  height: 21px;
}

section div.row div.item{
  float: left;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 5px;
}

section div.row div.item.button{
  float: right;
}

.mini_text{
  font-size: 11px;
}

.mini_text_red{
  font-size: 11px;
  color: #ff0000;
}

div.confirm_ok {
  padding: 10px;
  background: #aaffaa;
  padding-top: 5px;
  padding-bottom: 5px;
}

div.confirm_err {
  padding: 10px;
  background: #ffaaaa;
  padding-top: 5px;
  padding-bottom: 5px;

}

#window_info{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #6eff6e;
  border: 1px solid #b4b4b4;
  border-radius: 3px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0px 2px 3px gray;
  -moz-box-shadow: 0px 2px 3px gray;
  -webkit-box-shadow: 0px 2px 3px gray;
  font-weight: 600;
}

#window_info div.item{
  float: left;
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 5px;
  margin-right: 5px;
}

a.material-icons-round {
  text-decoration: none;
  cursor: pointer;
}

a.material-icons-round:hover {
  color: #ff0000;
}

#window_alert{
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background-color: #ff6e6e;
  border: 1px solid #b4b4b4;
  border-radius: 3px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  box-shadow: 0px 2px 3px gray;
  -moz-box-shadow: 0px 2px 3px gray;
  -webkit-box-shadow: 0px 2px 3px gray;
  font-weight: 600;
}

#akt_paragon{
  line-height: 1px;
  border: 1px solid #000000;
  padding: 5px;
}

input[type="text"]:focus{
  background-color: #c9ffc9;
}

input[type="number"]:focus{
  background-color: #c9ffc9;
}

.pos_pozycja_sell{
  margin: 0px;
}

.pos_pozycja_sell input[type="number"]{
  width: 50px;
  margin-top: 0px;
}
.pos_pozycja_sell input[type="submit"]{
  width: 90px;
  margin-top: 0px;
}
.pos_pozycja_delivery input[type="number"]{
  width: 50px;
  margin-top:17px;
}
.pos_pozycja_delivery input[type="submit"]{
  width: 120px;
  margin-top:17px;
}

.frame_details {
  display: none;
  margin: 2px;
  padding: 5px;
  border: 1px dotted;
}

.karty_box {
  width: 100%;
}

.karty_name_line {
  width: 100%;
}

.karty_name {
  border: 1px solid #000000;
  padding: 5px;
  float: left;
}

#pages_box {
  border: 1px solid #000000;
  display: none;
  padding: 5px;
}

#search_box {
  border: 1px solid #000000;
  display: none;
  padding: 5px;
}

.dotted {
  border-top: 1px dotted #ff0000;
  border-bottom: 1px dotted #ff0000;
}

@media (min-width: 700px) {
  .polowa {
    width: 45%;
    float: left;
    margin: 1%;
  }
}

@media print {
  .noprint{display: none;}
}

.pole_wymagane{
  color: #ff0000;
}

#progressbar{
  width: 280px;
  height: 2px;
  display: none;
}

input {
  margin-top: 4px;
  margin-bottom: 4px;
  margin-left: 0px;
  margin-right: 4px;
  width: 280px;
}

input[type=radio] {
  width: 20px;
}

input[type=checkbox] {
  width: 20px;
}

div#button_add_row input[type=button]{
  width: 80px;
}

input.item_ilosc {
  width: 60px;
  margin: 0px;
}

nav{
  width: 100%;
  margin: 0;
  vertical-align: center;
}

nav ul {
width: 100px;
max-width: 100%;
padding: 0;
margin: 0 auto;
list-style: none;
}

nav ul li a {
display: block;
float: left;
text-align: center;
font-size: 1.2em;
text-decoration: none;
color: #000000;
background-color: #ffffff;
padding: 5px 10px;
margin: 0px 1px 1px 5px;
border: 1px solid #b4b4b4;
border-radius: 3px;
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
box-shadow: 0px 2px 3px gray;
-moz-box-shadow: 0px 2px 3px gray;
-webkit-box-shadow: 0px 2px 3px gray;
}

nav ul li a:hover {
color: #000000;
background: #f5fffd;
}


div.parent {
  font-weight: bold;
}

div.parent img {
  vertical-align: middle;
}

div.sub {
  margin-left: 30px;
}

div.sub table tr td {
  border-bottom: solid 1px #eeeeee;
}

div.sub img {
  vertical-align: middle;
}

@media (min-width: 5px) {
  footer {
    position: fixed;
    bottom: 0px;
    width: 100%;
    height: 50px;
    background: #ffffff;
    border-top: 1px solid #b4b4b4;
  }
}

@media (min-width: 700px) {
  footer {
    position: fixed;
    bottom: 20px;
    right: 0px;
    width: 200px;
    height: 50px;
    background: #ffffff;
    border: 1px solid #b4b4b4;
    border-right: 0px;
    border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -webkit-border-radius: 5px 0px 0px 5px;
  }
}

footer p {
  text-align: center;
}

div.dzialy {
  margin: 0 auto;
  width: 90%;
  text-align: center;
}

div.dzialy div.dzial {
  margin: 5px;
  width: 18%;
  min-width: 150px;
  max-width: 300px;
  height: 300px;
  border: 1px solid #bbbbbb;
  padding: 5px;
  float: left;
  text-align: center;
  color: #333333;
  background-repeat: no-repeat;
  background-size: cover;
}

div.dzialy div.dzial div.dzial_mask {
  width: 100%;
  max-width: 100%;
  height: 30px;
  margin-top: 250px;
  background-color: #000000;
  color: #ffffff;
  opacity: 0.9;
  transition: all .6s ease-in-out;
  text-overflow: ellipsis;
  overflow: hidden;
}

div.dzialy div.dzial:hover div.dzial_mask {
  width: 100%;
  height: 100%;
  margin-top: 0px;
  opacity: 0.7;
  font-weight: bold;
}



@media (min-width: 320px) {
	div.dzialy div.dzial {
    width: 43%;
    min-width: 120px;
    max-width: 300px;
  }
}

@media (min-width: 550px) {
  div.dzialy div.dzial {
    width: 45%;
    min-width: 120px;
    max-width: 300px;
  }
}

@media (min-width: 750px) {
	div.dzialy div.dzial {
    width: 21%;
    min-width: 120px;
    max-width: 300px;
  }
}

@media (min-width: 900px) {
  div.dzialy div.dzial {
    width: 22%;
    min-width: 150px;
    max-width: 300px;
  }
}

@media (min-width: 1050px) {
	div.dzialy div.dzial {
    width: 17.5%;
    min-width: 150px;
    max-width: 300px;
  }
}

@media (min-width: 1240px) {
  div.dzialy div.dzial {
    width: 18%;
    min-width: 150px;
    max-width: 300px;
  }
}

#galeria {
  line-height: 0px;
  width: 90%;
  margin: 0 auto;
  padding: 0 auto;
  text-align: center;
}

#galeria img {
  height: 200px;
  margin: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}