* {
  box-sizing: border-box;
}

.produkt_pridat
{
  background-color: white;
  color: black;
  border: 2px solid #555555;
  padding: 16px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  transition-duration: 0.4s;
  cursor: pointer;
}
.produkt_pridat:hover {
  background-color: #555555;
  color: white;
}

#produkt_vyhledat {
  background-image: url('TABLE_SEARCH_ic.png');
  background-position: 10px 10px;
  background-repeat: no-repeat;
  width: 100%;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}
#produkty_tabulka {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid #ddd;
  font-size: 18px;
}
#produkty_tabulka th, #produkty_tabulka td {
  text-align: left;
  padding: 5px;
}
#produkty_tabulka tr {
  border-bottom: 1px solid #ddd;
}
#produkty_tabulka tr > *:nth-child(1) {
    display: none;
}
#produkty_tabulka tr.header, #produkty_tabulka tr:hover {
  background-color: #f1f1f1;
}
#produkty_tabulka td a {
  text-decoration: none;
  color: black;
}

#produkt_tabulka td > *:nth-child(1) {
    margin-left: 20px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}
.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}
input:checked + .slider {
  background-color: #00cc00;
}
input:focus + .slider {
  box-shadow: 0 0 1px #00cc00;/*2196F3;*/
}
input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}
.slider.round:before {
  border-radius: 50%;
}



.custom-select {
  position: relative;
  font-family: Arial;
}
.custom-select select {
  display: none; /*hide original SELECT element:*/
}
.select-selected {
  background-color: #f2f2f2;
}
/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: black transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent black transparent;
  top: 7px;
}
/*style the items (options), including the selected item:*/
.select-items div,.select-selected {
  color: black;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
  cursor: pointer;
  user-select: none;
}
/*style items (options):*/
.select-items {
  position: absolute;
  background-color: #f2f2f2;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}
.select-items div:hover, .same-as-selected {
  background-color: rgba(0, 0, 0, 0.1);
}



#produkt_kategorie ul{
  list-style-type: none;
}
#produkt_kategorie li{
  list-style-type: none;
}
#produkt_kategorie li{
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}
/*
#produkt_kategorie li::before{
  content: "\25A2";
  color: dodgerblue;
  display: inline-block;
  margin-right: 6px;
}
*/

#produkt_kategorie {
  margin: 0;
  padding: 0;
}
#produkt_kategorie.podkategorie {
  cursor: pointer;
  -webkit-user-select: none; /* Safari 3.1+ */
  -moz-user-select: none; /* Firefox 2+ */
  -ms-user-select: none; /* IE 10+ */
  user-select: none;
}
#produkt_kategorie .podkategorie::before {
  content: "\229E";
  color: dodgerblue;
  display: inline-block;
  margin-right: 6px;
}
#produkt_kategorie .rozbalit::before {
  content: "\229F"; 
  color: red;
}
#produkt_kategorie .skryt {
  display: none;
}
#produkt_kategorie .zobrazit {
  display: block;
}

.kategorie_checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
    margin: 5px;
    padding-right: 15px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.checkboxZnacka {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.5em;
    width: 1.5em;
    background-color: #ccc;
}
.kategorie_checkbox:hover input ~ .checkboxZnacka {
    background-color: #555;
}
.kategorie_checkbox input:checked ~ .checkboxZnacka {
    background-color: #00cc00;
}
.checkboxZnacka:after {
    content: "";
    position: absolute;
    display: none;
}
.kategorie_checkbox input:checked ~ .checkboxZnacka:after {
    display: block;
}
.kategorie_checkbox .checkboxZnacka:after {
    left: 0.5em;
    top: 0.125em;
    width: 0.25em;;
    height: 0.75em;
    border: solid white;
    border-width: 0 0.25em 0.25em 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

#produkt_tabulka input[type=number] {
    width: 20%;
    height: 2.5em;
    box-sizing: border-box;
    border: 0.25em solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
}
#produkt_tabulka input[type=number]:focus {
    border: 0.25em solid #2196F3;
}
#produkt_tabulka input[type=text] {
    width: 30%;
    height: 2.5em;
    box-sizing: border-box;
    border: 0.125em solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    font-weight: bold;
    font-size: 1em;
}
#produkt_tabulka input[type=text]:focus {
    border: 0.125em solid #2196F3;
}
#produkt_tabulka textarea {
    width: 100%;
    height: 5em;
    box-sizing: border-box;
    border: 0.25em solid #ccc;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    outline: none;
    font-size: 1em;
}
#produkt_tabulka textarea:focus {
    border: 0.25em solid #2196F3;
}

#produkt_tabulka_obrazky tr {
    border: 0;
    border-style:hidden;
}
#produkt_tabulka_obrazky td {
    border: 0;
    border-style:hidden;
}

#produkt_tabulka_obrazky tr:not(:first-child):hover {
  background-color: #f1f1f1;
}