body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f0f1f6;
    font-size: 13px;
    
  }
  body.main {
    padding-left: 240px;
  }
  a {
      text-decoration: none;
  }
  main {
    position: relative;
    background: #f0f1f6;
    padding: 0 2.875rem 2.875rem 2.875rem;
  }

  h4 {
    margin-top: 0;
    font-size: 16px;
  }

  main > .page-header {
      margin-left: 30px;
      padding-top: 10px;
  }

  main > .page-header > h2 {
      
  }

  main > .content, main > form > .content {
      flex-grow: 1;
      padding: 2rem 2.8rem;
      background-color: #ffffff;
      overflow: hidden;
  }
  main > .content + .content, main > form > .content + .content {
    margin-top: 40px;
  }
  .menu {
    height: 100vh;
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 5;
    outline: none;
    background: #181824;
  }
  .menu .avatar {
    padding: 1em 1em;
    text-align: center;
    border-bottom: 1px solid #f0f1f6;
  }
  .menu .avatar h2 {
    font-weight: normal;
    margin-bottom: 0;
    color: #aab2bd;
  }
  .menu > ul {
    list-style: none;
    padding: 0.5em 0;
    margin: 0;
  }
  .menu > ul > a > li {
    padding: 0.75em 1em 0.75em 5em;
    font-weight: regular;
    transition: all 0.15s linear;
    cursor: pointer;
    color: #8e94a9;
    background-repeat: no-repeat; 
    background-position: left 20px center;
    background-size: auto 20px;
  }

  .menu > ul > a > li:hover {
    /*color: rgba(255, 255, 255, 1);*/
    color: #ffffff;
  
  }
  .menu > ul > a > li:focus {
    outline: none;
  }
  
  
  .nav {
      border-bottom: 1px solid #e3e5ef;
  }
  .navTop {
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
      padding-left: 0;
      margin-bottom: 0;
      list-style: none;
  }
  .navTop > li {
      line-height: 2.5;
  }
  .navTop > li.active {
      border-bottom: 2px solid #444;
      color: #001737;
  }
  .navTop > li.active a {
      color: #001737;
  }
  .navTop > li > a {
      background: transparent;
      color: #aab2bd;
      border-radius: 0;
      border: none;
      padding: 0.875rem 1.25rem;
      position: relative;
      
  }

.input-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px;
    flex: 1;
}

.input-field.checkbox {
  flex-direction: row;
}

.input-field.checkbox label {
   padding-left: 10px;
}

.input-field.inline {
  flex-direction: inherit;
}

.input-field.small label{
  text-transform: none;
}

.input-field:not(:last-child) {
    margin-right: 16px;
}

.input-field input[type="text"], .input-field input[type="password"], .input-field input[type="file"] {
    display: flex;
    flex-direction: column;
    flex: 1;
    border: 1px solid rgba(151, 151, 151, 0.3);
    height: 2rem;
    padding: 0.7rem 1rem;
}

.input-field input[type="date"] {
  flex: 1;
  border: 1px solid rgba(151, 151, 151, 0.3);
  height: 2rem;
  padding: 0.5rem 1rem;
}

.input-field select {
  flex: 1;
  border: 1px solid rgba(151, 151, 151, 0.3);
  height: 2rem;
  padding: 0.5rem 1rem;
}

.input-field input[type=text]:focus, .input-field input[type=password]:focus, .input-field input[type="file"]:focus, .input-field input[type="date"]:focus {
  border: 1px solid rgba(63, 99, 167, 0.767);
  outline: none;
}

.input-field label {
  letter-spacing: 0.5px;
  font-style: normal;
  margin-bottom: 7px;
  user-select: none;
  color: #333333;
}

.tableData {
  display: flex;
  flex-direction: row;
  align-content: flex-start;
  text-align: left;
  
}
.input-field-table {
  display: inline-flex;
  flex-direction: row;
  width: 30%;
  min-width: 400px;
  margin-right: 20px;
  margin-bottom: 10px;
}
.input-field-table label {
  width: 50%;
  min-width: 150px;
  display: flex;
  align-items: center;
}
.input-field-table input, .input-field-table select, .input-field-table textarea {
  width: 50%;
  min-width: 250px;
  display: flex;
  float: right;
  flex: 1;
  border: 1px solid rgba(151, 151, 151, 0.3);
  padding: 0.7rem 1rem;
}

.invoice-items {
  width: 100%;
}

.invoice-item {
  display: inline-flex;
  flex-direction: row;
  width: 10%;
  padding: 5px 10px 0 0;
  
}

.invoice-item input, .invoice-item select {
  display: flex;
  float: right;
  border: 1px solid rgba(151, 151, 151, 0.3);
  padding: 0.5rem 0.6rem;
  width: 100%;
}

.invoice-items.header .invoice-item{

}




/* TABLE CSS */
.table {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  color: #212529;
  background-color: #FFFFFF;
  border-spacing: 0;
  text-align: left;
  font-size: 0.95em;

}

.table td {
  padding:  6px 15px;
  vertical-align: center;
  border-top: 1px solid rgba(154, 156, 160, 0.3);
}

.table thead th {
  padding:  6px 15px;
  vertical-align: center;
  /*border-bottom: 2px solid rgba(63, 100, 167, 0.3);*/
}

.table tbody + tbody {
  border-top: 1px solid rgba(154, 156, 160, 0.3);
}

.table .icon {
  width: 32px;
  height: 32px;
}
/* SUDA / LICHA */ 
.table tr:nth-child(even) { background: #7a7a7a2a; }
.table tr:nth-child(odd) { background: #FFF; }

div.icon {
  width: 40px;
  height: 40px;
}

/* button */
.btn {
    padding: 5px 20px;
    border: 1px solid #0062ff;
    margin-right: 8px;
    background-color: #0062ff;
    color: #fff;
    cursor: pointer;
    border-radius: 0.1875rem;
    font-weight: 600;
}

.btn:hover {
	background-color:#0153d6;
}
.btn.red {
  background-color:#fc5a5a;
  border:1px solid #fc5a5a;
  color: #000;
}

.btn.red:hover {
  background-color:#fd3f3f;
}

.btn.orange {
  background-color:#ffc542;
  border:1px solid #ffc542;
  color: #000;
}

.btn.orange:hover {
  background-color: #fabc2c;
}

.btn.green {
  background-color: #44ce42;
  border: 1px solid #44ce42;
  color: #000;
}

.btn.green:hover {
  background-color: #34da31;
}

.btn {
  margin-right: 15px !important;
}


/* Velikost */
.w50 {
  width: 50%;
}
.w100 {
  width: 100%;
}
.w40px {
  width: 40px;
}
.w60px {
  width: 60px;
}
.w80px {
  width: 80px;
}
.w100px {
  width: 100px;
}
.w120px {
  width: 120px;
}
.w140px {
  width: 140px;
}
.w160px {
  width: 160px;
}
.w180px {
  width: 180px;
}
.w200px {
  width: 200px;
}
.w220px {
  width: 220px;
}
.w240px {
  width: 240px;
}
.flex {
  display: flex;
}
.flr {
  float: right;
}
.fll {
  float: left;
}
.tr {
  text-align: right;
}

.status {
  display: flex;
  padding: 3px 6px;
  margin-bottom: 15px;
  margin-right: 8px;
  
  background-color: rgba(62, 98, 165, 0.3);
  border: 1px solid rgba(46, 75, 129, 0.801);
}

.status.green {
  background-color: rgb(110, 223, 100);
  border: rgb(91, 128, 18) 1px solid;
}
.status.red {
  background-color: rgb(226, 37, 37);
  border: rgb(126, 11, 11) 1px solid;
}

.bgred {
    background-color: rgb(226, 37, 37);
} 

.bggreen {
    background-color: rgb(110, 223, 100);
}

.pager a {
  padding: 5px 6px;
  border: 1px solid #949494;
  margin-right: 8px;
  background-color: #aab2bd;
  color: #000;
  cursor: pointer;
  border-radius: 0.1875rem;
  font-size: 12px;
  font-weight: 600;
  margin-right: 8px; 

}
.pager a.active {
  border: 1px solid #949494;
  background-color: #aab2bd;
}

/*
.table a {
  padding: 3px 6px;
  border: 1px solid rgba(29, 51, 90, 0.801);
  margin-right: 8px; 
  background-color: rgba(49, 148, 45, 0.3);
  color: #212529;
}*/




/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.invoice-details, .customer-details, .invoice-price {
    margin: 40px 0;
}

.invoice-pdf {
    border: 3px solid black;
    border-radius: 0.35rem;
    background-image: url("/images/pdf_icon.png");
    background-repeat: no-repeat;
    background-position: center;
    height: 75px;
    width: 75px;
    margin: 10px 0;
}
