﻿: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: 1px solid;
  border-right: 1px solid;
  border-top: 0px;
  border-bottom: 1px solid;
  padding: 5px;
}

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;
}

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

section div.row div.item.button_package_labels sup{
  font-size: 12px;
  color: #297d29;
}

section div.row div.item.button_package_labels sub{
  font-size: 15px;
  color: #bf0606;
  margin-left: 15px;
}

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;

}

.thumbnail img{
  max-height: 20px;
}
      
.thumbnail img:hover{
  max-height: 200px;
  position: relative;
  x-index: 999;
  border: 1px solid #000000;
}

.courier_ico{
  max-width: 25px;
  float: left;
  border-radius: 3px;
}

#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;
}

#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;
}

.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;
}

.link:hover {
  cursor: pointer;
}

@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;
}

div.group_box{
  border: 1px dotted #cccccc;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 20px;
}

div.group_box div.header{
  font-weight: bold;
  border-bottom: 1px solid #cccccc;
}

@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;
}

table {
	width: 100%;
	border-collapse: collapse;
}

th, td {
	border: 1px solid #ccc;
	padding: 6px;
	font-size: 14px;
}

th {
	background: #efefef;
}

.qty-zero {
	color: #a00;
	font-weight: bold;
}

.qty-low {
	color: #dd1;
	font-weight: bold;
}

.qty-ok {
	color: #060;
	font-weight: bold;
}

.import_sumbit{
	position: fixed;
	bottom: 20px;
	height: 30px;
}

.text-right {
	text-align: right;
}

tr:hover{
	background: #aaff80;
}