@font-face {
  font-family: 'Ubuntu-Regular';
  src: url('fonts/ubuntu-regular.ttf');
}

@font-face {
  font-family: 'Ubuntu-Light';
  src: url('fonts/ubuntu-light.ttf');
}

.red {
  color: red;
}
.green {
  color: green;
}

.menu_resp {
  display: none;
}

body {
  padding: 0px;
  margin: 0px;
  color: black;
  font-family: 'Ubuntu-Regular';
}

ul a:hover {
  opacity: 0.7;
}

.produkt_img {
  width: 50px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.button {
  background: transparent;
  border: solid 2px #1f6fb0;
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: bold;
  outline: none;
  margin: 0px;
  font-size: 18px;
  border-radius: 5px;
  color: #1f6fb0;
  font-family: 'Ubuntu-Regular';
  transition: ease-out 0.3s;
}
.button1 {
  background-color: transparent;
  border: none;
  outline: none;
  border-radius: 0px;
  color: #1f6fb0;
  font-size: 15px;
  cursor: pointer;
  padding: 0px 2px;
}
.button i {
  margin-right: 10px;
}
.button:hover {
  border: solid 2px white;
  background: #1f6fb0;
  color: white;
  cursor: pointer;
}
.button.red {
  color: white;
  background: #1f6fb0;
}

.button.small {
  border: solid 1px #1f6fb0;
  padding: 5px 15px;
  font-weight: normal;
  outline: none;
  font-size: 14px;
  border-radius: 3px;
}

h1 {
  font-size: 35px;
  text-transform: uppercase;
  /* border-left: solid 5px #1f6fb0; */
  /* padding-left: 10px; */
  margin-top: 0px;
}

.logo {
  width: 100%;
  display: block;
  background-color: #1f6fb0;
  text-align: center;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}
.logo img {
  max-width: 50px;
  padding: 5px;
}
.logo:hover {
  opacity: 0.9;
}
header {
  position: fixed;
  left: 0px;
  top: 0;
  width: auto;
  height: 100%;
  background: black;
  box-shadow: 5px 0px 40px #00000026;
  z-index: 999;
}
header a {
  height: 66px;
}
header a:hover {
  opacity: 1;
}
header h1 {
  text-align: center;
  font-size: 15px;
  padding-bottom: 10px;
  margin: 0px;
  border: 0px;
  background: #1f6fb0;
  padding-left: 0px;
}
header ul {
  margin: 0px;
  list-style: none;
  padding: 0px;
  margin: 20px 0px;
}
header ul.menu_up {
  margin: 0px;
}
header .menu_bottom {
  position: absolute;
  width: 100%;
  bottom: 0;
}
header ul li {
  line-height: 1.7;
  /* padding: 0px 10px; */
  /* padding: 13.5px 9px; */
  padding: 0px;
  transition: ease-out 0.3s;
  border-left: solid 4px transparent;
  text-align: center;
  position: relative;
}
header ul li:hover {
  color: #1f6fb0;
}
header ul li.active {
  border-left: solid 4px #1f6fb0;
  color: #1f6fb0;
}
header ul li i {
  /* width: 20px; */
}
header ul a {
  color: white;
  font-size: 23px;
  text-decoration: none;
  /* position: relative; */
}
header ul li .label {
  position: absolute;
  background: #1f6fb0;
  color: white;
  margin-top: 5px;
  width: 100px;
  padding: 5px 20px;
  border-radius: 5px;
  transition: ease-out 0.2s;
  transform: translateX(-140%);
  font-size: 13px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 999;
}
header ul li .label::before {
  content: "";
  background: #1f6fb0;
  width: 10px;
  height: 10px;
  transform: translate(0%, -50%) rotate(45deg);
  position: absolute;
  left: -5px;
  top: 50%;
}
header ul a:hover .label {
  transform: translateX(25%);
}

.page {
  width: calc(100% - 110px);
  margin: auto 0px auto auto;
  padding: 20px;
}

a {
  color: #1f6fb0;
}

table.vypis {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}
table.vypis tr {
  border-bottom: solid 1px #00000014;
}
table.vypis tr.discarded{
  background-color: #dadada;
}
table.vypis th {
  background: #80808030;
}
table.vypis th a {
  display: inline-block;
  text-decoration: none;
}
table.vypis th.left {
  text-align: left;
}
table.vypis th {
  padding: 10px 5px;
}
table.vypis td {
  padding: 15px 5px;
}
table.vypis td.center {
  text-align: center;
}
table.vypis td.right {
  text-align: right;
}
table.vypis td.bold {
  font-weight: bold;
}
table.vypis td p {
  margin: 0px;
  display: inline-block;
}
table.vypis td br {
  display: block;
}

table.vypis tr.subpages_container > td{
  padding: 0;
  background: #d6d6d6;
}

table.vypis.sublevel{
  margin-top: 0;
}

table.vypis.sublevel tr td:first-child{
  padding-left: 15px;
}

table.vypis input {
  border: none;
  width: 95%;
  padding: 6px;
  background-color: transparent;
  width: calc(100% - 22px);
  outline: none;
  color: black;
  font-size: 25px;
  font-family: 'Ubuntu-Light';
  font-weight: bold;
  min-height: 25px;
}

table.edit {
  width: 100%;
  border-collapse: collapse;
}
table.edit th {
  background: transparent;
  padding: 5px;
  text-align: right;
  color: #1f6fb0;
  color: #1f6fb077;
  font-size: 15px;
  text-transform: lowercase;
  border-bottom: solid 1px #e9ebed;
  transition: linear 0.3s;
  border-bottom: solid 1px #e9ebed;
  transition: linear 0.3s;
  font-family: 'Ubuntu-Light';
}
table.edit td {
  padding: 5px;
  border-bottom: solid 1px #e9ebed;
  transition: linear 0.3s;
}
table.edit td.center {
  text-align: center;
}
table.edit.objednavka td {
  padding: 13px 5px;
  font-weight: bold;
  font-size: 22px;
}
table.edit tr:hover td, table.edit tr:focus td, table.edit tr:hover th, table.edit tr:focus th {
  background: #dadee1;
}
table.edit input {
  border: none;
  width: 95%;
  padding: 6px;
  background-color: transparent;
  width: calc(100% - 22px);
  outline: none;
  color: black;
  font-size: 25px;
  font-family: 'Ubuntu-Light';
  font-weight: bold;
  min-height: 25px;
}
table.edit h2 {
  margin: 0px;
  margin-top: 30px;
  font-size: 30px;
  margin-bottom: 5px;
  border-left: solid 5px black;
  padding-left: 10px;
}
table.edit input[type='checkbox'] {
  width: auto;
  transform: scale(1.5);
}
table.edit input[type='radio'] {
  width: auto;
  transform: scale(1.5);
}
table.edit select {
  border: none;
  width: 100%;
  color: black;
  font-size: 25px;
  font-family: 'Ubuntu-Light';
  outline: none;
  font-weight: bold;
  padding: 6px;
  background-color: transparent;
  background-color: #f6f6f6;
}
table.edit textarea {
  width: 60%;
  outline: none;
  resize: none;
  padding: 10px;
  border: solid 2px #80808030;
  font-family: 'Ubuntu-Light';
  color: black;
  background-color: #f6f6f6;
}
::placeholder {
  font-family: 'Ubuntu-Light';
}

form.hledat {
  display: inline-block;
}
form.hledat button {
  padding: 10px;
}
form.hledat input {
  outline: none;
  border: none;
  border-bottom: solid 2px #1f6fb0;
  padding: 10px;
  color: #1f6fb0;
  width: 100px;
}
form.hledat input::placeholder {
  color: #1f6fb0;
}
form.hledat button i {
  margin: 0px;
}

.edit-head {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 20px;
  /* min-width: 600px; */
}
.edit-head h1 {
  width: 50%;
  margin: 0px;
}
.edit-head .edit-setting {
  width: 50%;
  text-align: right;
}

.message {
  position: fixed;
  bottom: 10px;
  right: 10px;
  border: solid 2px green;
  border-radius: 5px;
  padding: 10px;
  font-weight: bold;
  font-size: 20px;
  background: #c4f3c4db;
  z-index: 9;
}
.error {
  position: fixed;
  bottom: 10px;
  right: 10px;
  border: solid 2px red;
  border-radius: 5px;
  padding: 10px;
  font-weight: bold;
  font-size: 20px;
  background: #f3c4c4db;
  z-index: 9;
}

footer {
  position: fixed;
  bottom: 0;
  left: 80px;
  right: 10px;
  font-size: 12px;
  color: black;
  text-align: left;
  background-color: white;
}

.galerie_obsah form {
  display: inline-block;
  position: relative;
}
.galerie_obsah span {
  width: 150px;
  height: 150px;
  margin-right: 5px;
  margin-bottom: 5px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  border-radius: 5px;
  border: solid 1px #00000014;
  transition: linear 0.3s;
}
.galerie_obsah a {
  transition: linear 0.3s;
}
.galerie_obsah span:hover {
  filter: grayscale(0.9);
}

.galerie_obsah .gal-img {
  position: relative;
}

.galerie_obsah .gal-desc input {
  max-width: 149px;
}

.galerie_obsah .left {
  position: absolute;
  bottom: 10px;
  left: 3px;
  background: #1f6fb0;
  border-radius: 50%;
  color: white;
  height: 45px;
  width: 30%;
  z-index: 999;
  border: none;
  /* box-shadow: 5px 5px 10px #00000087; */
  cursor: pointer;
  outline: none;
}

.galerie_obsah .right {
  position: absolute;
  bottom: 10px;
  right: 8px;
  background: #1f6fb0;
  border-radius: 50%;
  color: white;
  height: 45px;
  width: 30%;
  z-index: 999;
  border: none;
  /* box-shadow: 5px 5px 10px #00000087; */
  cursor: pointer;
  outline: none;
}

.galerie_obsah .delete {
  position: absolute;
  bottom: 13px;
  left: 57px;
  background: #1f6fb0;
  border-radius: 50%;
  color: white;
  height: 37px;
  width: 25%;
  z-index: 999;
  border: none;
  /* box-shadow: 5px 5px 10px #00000087; */
  cursor: pointer;
  outline: none;
}

.login_back {
  background: url('../img/back.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  text-align: center;
}
.container.login {
  position: absolute;
  transform: translate(-50%);
  left: 50%;
  top: 0;
  bottom: 0;
  width: 30%;
  min-width: 500px;
  background: white;
  -webkit-box-shadow: 0px 0px 40px 2px rgba(0, 0, 0, 0.29);
  -moz-box-shadow: 0px 0px 40px 2px rgba(0, 0, 0, 0.29);
  box-shadow: 0px 0px 40px 2px rgba(0, 0, 0, 0.29);
  opacity: 0.9;
  padding-top: 7%;
}
.container.login .logo {
  background-color: transparent;
  display: block;
  max-width: 250px;
  margin: auto;
  margin-bottom: 50px;
}
.container.login table {
  text-align: center;
  width: 60%;
  margin: auto;
}
.container.login table tr td {
  width: 70%;
}
.container.login table tr td input {
  width: 100%;
  padding: 10px 5px;
  border: none;
  border-bottom: solid 2px #1f6fb0;
  opacity: 0.5;
  outline: none;
  margin: 10px 0px;
  text-align: center;
  font-size: 18px;
  transition: linear 0.3s;
}
.container.login table tr td input:hover, table tr td input:focus {
  opacity: 1;
}
.container.login table tr td input::placeholder {
  text-align: center;
  font-size: 18px;
}

.pagination .number {
  border: solid 2px #1f6fb0;
  width: 25px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  font-size: 19px;
  margin-right: 5px;
  transition: all 0.3s;
}
.pagination .number.active, .pagination .number:hover {
  background-color: #1f6fb0;
  color: white;
}

.custom_file_input input{
  display: none;
}

.custom_file_input{
  cursor: pointer;
}

.galerie_obsah .custom_file_input{
  position: absolute;
  font-size: 26px;
  z-index: 10;
  bottom: 12px;
  right: 8px;
  padding: 12px;
  border-radius: 35px;
  opacity: 0.8;
  background: #1f6fb0;
  color: white;
}

.galerie_obsah .sort_handle{
  position: absolute;
  bottom: 14px;
  right: 7px;
  background: #1f6fb0;
  border-radius: 50%;
  color: white;
  height: 35px;
  width: 35px;
  z-index: 999;
  border: none;
  cursor: pointer;
  outline: none;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.ui-sortable-helper {
  display: table;
  background-color: rgba(255, 255, 255, 0.611);
}

.sort_handle{
  width: 30px;
  background: #1f6fb0;
  color: white;
  font-size: 18px;
  text-align: center;
}
.sort_handle i{
  transition: all .3s;
}
.sort_handle:hover{
  cursor: grab;
  background-color: #1f6fb0c7;
}
.sort_handle:hover i{
  transform: translateY(2px);
}