#body, html, form
{
  color: #333333;
  background-color: #F2F2F2;
  text-align: left;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: Tahoma, Arial, Verdana, Helvetica, "Trebuchet MS";
}

/* TocContent */

header
{
  clear: both;
  width: 100%;
  height: 60px;
  padding: 8px;
  line-height: 28px;
}

  header input,
  header select,
  footer input,
  footer sleect
  {
    height: 22px;
    line-height: 22px;
    margin: 0 4px 0 0;
    border: solid 1px silver;
  }

  header input,
  footer input
  {
    width: 100px;
  }

div.ws_toolBar
{
  margin: 0 0 6px 0;
}

  div.ws_toolBar span
  {
    color: red;
    font-weight: bold;
  }


footer
{
  clear: both;
  width: 100%;
  height: 28px;
  padding: 8px;
  line-height: 28px;
}

div.ws_tocContent
{
  height: 100%;
  display: flex;
  overflow: hidden;
}

main
{
  width: 100%;
  clear: both;
  display: flex;
}

aside, article
{
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
}

aside
{
  flex-basis: 55%;
  flex-grow: 1;
  flex-shrink: 1;
  border-right: solid 4px black;
}

article
{
  flex-basis: 45%;
  flex-grow: 1;
  flex-shrink: 1;
}

aside,
article
{
  font-size: 16px;
}

table.tbProducts
{
  width: 100%;
  border-left: none;
  margin-bottom: 100px;
}

  table.tbProducts td,
  table.tbOrders td
  {
    text-wrap: none;
    text-align: left;
    vertical-align: middle;
    height: 118px;
  }

  table.tbProducts th,
  table.tbOrders th
  {
    text-align: center;
    font-weight: bold;
    background-color: silver;
  }

  table.tbProducts td,
  table.tbOrders td,
  table.tbProducts th,
  table.tbOrders th
  {
    padding: 6px;
    border: 1px dashed #000;
  }

    table.tbProducts td:first-child,
    table.tbProducts th:first-child,
    table.tbOrders td:first-child,
    table.tbOrders th:first-child
    {
      border-left: none;
      width: 118px;
    }

    table.tbProducts td:last-child,
    table.tbProducts th:last-child,
    table.tbOrders td:last-child,
    table.tbOrders th:last-child
    {
      border-right: none;
    }

table.tbOrders
{
  width: 100%;
  border-left: none;
  border-right: none;
  margin-bottom: 100px;
}

aside td.Slika,
article td.Slika
{
  background-color: white;
  width: 118px;
  vertical-align: middle;
  text-align: center;
}

table.tbProducts td.Proizvod,
table.tbOrders td.Proizvod
{
  word-break: break-all;
}

table.tbProducts p,
table.tbOrders p
{
  line-height: 100%;
  padding: 3px 0;
  text-align: left;
  text-wrap: none;
  font-size: 14px;
}

  table.tbProducts p.ProizvodKodProduct,
  table.tbOrders p.ProizvodKodOrder
  {
    padding: 0 0 6px 0;
    font-size: 16px;
    font-weight: bold;
    color: blue;
  }

  table.tbProducts p.Proizvod,
  table.tbOrders p.Proizvod
  {
    text-wrap: normal;
    overflow-wrap: break-word;
    color: #333;
  }

  table.tbOrders p.Proizvod
  {
    height: 48px;
  }

  table.tbProducts p.CenaStrong
  {
    color: red;
  }

  table.tbProducts p.Kolicina
  {
    color: green;
  }

  table.tbProducts p.KolicinaPreporucena,
  table.tbOrders p.KolicinaPreporucena
  {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
  }

table.tbProducts td.Order,
table.tbOrders td.Order
{
  width: 70px;
  padding: 4px 6px;
  margin: 0;
  text-align: center;
}


table.tbProducts input,
table.tbOrders input
{
  font-size: 20px;
  line-height: 28px;
  border: 1px solid #C0C0C0;
  margin: 4px;
  padding: 3px;
  vertical-align: middle;
  text-align: center;
  width: 50px;
}

table.tbProducts a.btnAdd,
table.tbProducts a.btnMinus,
table.tbProducts a.btnEdit,
table.tbProducts a.btnRemove,
table.tbOrders a.btnAdd,
table.tbOrders a.btnMinus,
table.tbOrders a.btnEdit,
table.tbOrders a.btnRemove
{
  font-size: 20px;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: 6px;
  border: 1px solid #7A9741;
  background-color: #9EC453;
  color: #FFFFFF;
  font-weight: bold;
  width: 44px;
}

table.tbProducts a.btnEdit,
table.tbOrders a.btnEdit
{
  width: 28px;
}

table.tbProducts a.btnEdit,
table.tbOrders a.btnEdit
{
  background-color: green;
  margin-right: 0;
}

table.tbProducts a.btnMinus,
table.tbOrders a.btnMinus
{
  background-color: orange;
}

table.tbOrders a.btnRemove
{
  background-color: red;
}

  table.tbProducts a.btnAdd:hover,
  table.tbProducts a.btnMinus:hover,
  table.tbProducts a.btnEdit:hover,
  table.tbProducts a.btnRemove:hover,
  table.tbOrders a.btnAdd:hover,
  table.tbOrders a.btnMinus:hover,
  table.tbOrders a.btnEdit:hover,
  table.tbOrders a.btnRemove:hover
  {
    border-color: black;
    cursor: pointer;
  }


a.btnTop
{
  font-size: 14px;
  border-radius: 4px;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  padding: 6px;
  border: 1px solid #7A9741;
  background-color: silver;
  color: black;
  font-weight: bold;
  min-width: 46px;
}

a.btnTopLast
{
  float: right;
  margin-right: 12px;
}

a.btnTop:hover
{
  border-color: black;
  cursor: pointer;
}
