@import url(https://fonts.googleapis.com/css?family=Nunito);
@charset "UTF-8";
body {
  font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  text-align: left;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;
}

a {
  text-decoration: none;
  color: #0E2C50;
}

h1, h2 {
  color: #009fe3;
}

header {
  background-color: #009fe3;
  color: #ffffff;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
}
header img {
  max-height: 60px;
  margin: 0 20px;
}
header nav {
  padding: 20px 20px 0 20px;
}
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}
header nav ul li {
  position: relative;
  padding: 10px 30px;
  color: #ffffff;
  cursor: pointer;
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
}
header nav ul li span {
  display: block;
  text-align: center;
  padding: 0;
  margin: 0;
  height: 34px;
}
header nav ul li span .material-symbols-outlined {
  font-size: 35px;
}
header nav ul li a {
  color: #ffffff;
}
header nav ul li.active {
  background-color: #ffffff;
  color: #0E2C50;
}
header nav ul li.active > a {
  color: #0E2C50;
}
header nav ul li:hover ul {
  display: block;
}
header nav ul li ul {
  display: none;
  position: absolute;
  width: 100%;
  top: 100%;
  left: 0;
  background: rgb(0, 159, 227);
  background: linear-gradient(180deg, rgb(0, 159, 227) 0%, rgb(0, 97, 139) 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1;
}
header nav ul li ul li {
  padding: 10px;
  color: #fff;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
  text-align: center;
  border-top: 1px solid #009fe3;
}
header nav ul li ul li:hover {
  font-weight: bold;
}
header nav ul li ul li a {
  color: #ffffff;
}
header nav ul li ul li.active a {
  color: #0E2C50;
}

main {
  padding: 20px;
}

footer {
  padding: 1em;
  text-align: center;
  position: fixed;
  bottom: 0;
  width: 100%;
}

.row {
  display: flex;
  flex-wrap: wrap;
  /*margin-right: -15px;
  margin-left: -15px;*/
}
.row.spacer {
  height: 25px;
}
.row .col {
  flex-basis: 0;
  flex-grow: 1;
  max-width: 100%;
  padding: 5px;
}
.row .col.alignment-right {
  text-align: right;
  align-self: center;
}
.row.special_order {
  margin-right: 0;
  margin-left: 0;
}
.row.special_order > .col {
  padding: 20px;
}
.row.special_order > .col:first-of-type {
  max-width: 40%;
  background-color: #CEEAF0;
}

form label {
  color: #0067B1;
}

input[type=text],
input[type=number],
input[type=date],
input[type=email],
input[type=search],
select,
textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.375rem 0.75rem;
  font-family: "Open Sans", sans-serif;
  line-height: 1.5;
  color: #242424;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #97BAE3;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

button,
input[type=button] {
  display: inline-block;
  color: #ffffff;
  background-color: #0E2C50;
  border-color: #009fe3;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border-radius: 10px;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
  min-width: 120px;
}
button:hover,
input[type=button]:hover {
  background-color: #0067B1;
}
button.greenbutton,
input[type=button].greenbutton {
  background-color: #089727;
}
button.pinkbutton,
input[type=button].pinkbutton {
  background-color: #aa064a;
}
button.btn-icon,
input[type=button].btn-icon {
  background-color: transparent;
  border: none;
  color: black;
  min-width: 30px;
  padding: 0;
}
button.btn-icon:hover,
input[type=button].btn-icon:hover {
  background-color: transparent;
  color: #009fe3;
}
button i.color-green,
input[type=button] i.color-green {
  color: green;
}
button i.color-red,
input[type=button] i.color-red {
  color: red;
}
button.addnewbuttonicon i,
input[type=button].addnewbuttonicon i {
  font-size: 20px;
  margin-right: 15px;
  vertical-align: middle;
}

.errormessage {
  font-size: 12px;
  color: red;
}

#partnerhistory {
  max-height: 300px;
  overflow: auto;
}
#partnerhistory table {
  width: 100%;
}
#partnerhistory table td, #partnerhistory table th {
  vertical-align: top;
}

.cb_bubble {
  display: none;
}

.cb_bubble + label {
  background-color: #9f9f9f;
  color: #ffffff;
  border-radius: 50%;
  padding: 2px;
  width: 20px;
  height: 20px;
  display: inline-block;
  text-align: center;
  line-height: 20px;
}

.cb_bubble:checked + label {
  background-color: #009fe3;
}

#addedProducts {
  width: 100%;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 25px;
}
#addedProducts table {
  width: 100%;
}
#addedProducts table th {
  background-color: #efefef;
  padding: 9px 4px;
}
#addedProducts table td {
  border-bottom: 1px solid #efefef;
  padding: 6px 4px;
}

.select2-container {
  z-index: 999999 !important;
}

.preloader-container {
  display: none; /* Initially hide the preloader */
  position: fixed;
  /* position: relative;*/
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.preloader-container .preloader {
  border: 8px solid #61CE70;
  border-top: 8px solid #223A73;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  position: absolute;
  top: 40%;
  left: 50%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 20px;
  float: left !important;
}
.dataTables_wrapper .dataTables_filter label {
  position: relative;
}
.dataTables_wrapper .dataTables_filter label:before {
  content: "\e8b6"; /* Replace with the Unicode character for the Material Icon you want to use */
  font-family: "Material Symbols Outlined";
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin-right: 5px; /* Adjust the spacing between the icon and the input */
  font-size: 20px;
  position: absolute;
  left: 14px;
  top: 0px;
}
.dataTables_wrapper .dataTables_filter label input {
  display: inline-block;
  padding-left: 25px;
}
.dataTables_wrapper table {
  margin-top: 25px;
  border-radius: 10px;
  border: 1px solid #D9D9D9;
  overflow: hidden;
  max-width: 100%;
}
.dataTables_wrapper table.dataTable.no-footer {
  border: 1px solid #D9D9D9;
}
.dataTables_wrapper table thead {
  border-bottom: none;
}
.dataTables_wrapper table thead th {
  background-color: #009fe3;
  color: #ffffff;
  font-weight: bold;
  border-bottom: none !important;
  word-break: break-word;
  font-size: 13px;
}
.dataTables_wrapper table tbody tr.even {
  background-color: #EFF7FB;
}
.dataTables_wrapper table tbody tr.ui-state-highlight {
  background-color: yellow !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: transparent !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  color: #009fe3 !important;
  border: none !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  color: #009fe3 !important;
  border: none !important;
}

.editPartner i, .editOrder i, .editShipping i, .editProduct i, .editSupplier i {
  color: green;
}

.deletePartner i, .deleteOrder i, .deleteShipping i, .deleteProduct i, .deleteSupplier i {
  color: red;
}

.modal-open {
  overflow: hidden;
}
.modal-open .modal {
  overflow-x: hidden;
  overflow-y: auto;
}

.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 5000;
  display: none;
  overflow: auto;
  outline: 0;
}
.modal.fade .modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -25%);
}
.modal.show .modal.show .modal-dialog {
  transform: translate(0, 0);
}

.fade {
  transition: opacity 0.15s linear;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 0 auto;
  pointer-events: none;
  max-width: 800px;
  margin: 1.75rem auto;
}
.modal.fade .modal-dialog {
  transform: translate(0, 0);
}
.modal.show .modal-dialog {
  transform: translate(0, 0);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 20px * 2);
}
.modal-dialog-centered::before {
  display: block;
  height: calc(100vh - 20px * 2);
  content: "";
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  border-radius: 20px;
  overflow: hidden;
  outline: 0;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 4000;
  background-color: #efefef;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.6;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 30px;
}

.close {
  padding: 5px;
  margin: -10px -10px -10px auto;
  background-color: transparent;
  max-width: 40px;
  color: black;
  font-size: 50px;
  position: absolute;
  top: 0;
  right: 0;
}
.close:hover {
  background-color: transparent;
}

.modal-title {
  margin-bottom: 0;
  line-height: 25px;
  color: #009fe3;
  font-size: 26px;
  font-weight: 500;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 45px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid #333;
}
.modal-footer > :not(:first-child) {
  margin-left: 0.25rem;
}
.modal-footer > :not(:last-child) {
  margin-right: 0.25rem;
}

.modal-scrollbar-measure {
  position: absolute;
  top: -9999px;
  width: 50px;
  height: 50px;
  overflow: scroll;
}

.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}

.modal-backdrop.show {
  opacity: 0.5;
}

@media only screen and (max-width: 1200px) {
  table.dataTable thead th, table.dataTable tbody td {
    font-size: 11px;
    word-break: break-word;
  }
}
@media only screen and (max-width: 900px) {
  header {
    grid-template-rows: auto 1fr;
    grid-template-columns: initial;
    align-items: center;
  }
  header img {
    max-height: 40px;
    margin: 10px auto;
  }
  header nav {
    padding: 10px 10px 0 10px;
  }
  header nav ul li {
    padding: 10px 10px;
    margin: auto;
  }
  header nav ul li span .material-symbols-outlined {
    font-size: 28px;
  }
  .modal .modal-dialog {
    max-width: 90%;
    margin: 20px auto;
  }
  .modal .modal-dialog .modal-body {
    padding: 20px;
  }
  .modal .modal-dialog .col {
    flex-basis: 100%;
  }
  h1 {
    font-size: 22px;
  }
  #partnerhistory {
    font-size: 12px;
  }
  /* TABLE*/
  /* Force table to not be like tables anymore */
  table.data-table {
    max-width: 100%;
    /* Hide table headers (but not display: none;, for accessibility) */
    /*
    Label the data
    */
    /* td:nth-of-type(1):before { content: "Megrendelés dátuma"; }
     td:nth-of-type(2):before { content: "Ügyfél"; }
     td:nth-of-type(3):before { content: "Kapcsolattartó"; }
     td:nth-of-type(4):before { content: "Telefon"; }
     td:nth-of-type(5):before { content: "Megj. (ügyfél)"; }
     td:nth-of-type(6):before { content: "Termékek"; }
     td:nth-of-type(7):before { content: "Ism. (-tól)"; }
     td:nth-of-type(8):before { content: "Ism. (-ig)"; }
     td:nth-of-type(9):before { content: "Ismétlődik"; }
     td:nth-of-type(10):before { content: "Napokon"; }
     td:nth-of-type(11):before { content: "Megjegyzés"; }
     td:nth-of-type(12):before { content: "Szállító"; }
     td:nth-of-type(13):before { content: "Várható szállítás"; }*/
  }
  table.data-table thead, table.data-table tbody, table.data-table th, table.data-table td, table.data-table tr {
    display: block;
  }
  table.data-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  table.data-table tr {
    /* border: 1px solid #ccc; */
  }
  table.data-table tbody td {
    /* Behave  like a "row" */
    border: none;
    /*border-bottom: 1px solid #eee; */
    position: relative;
    padding-left: 50% !important;
    min-height: 26px;
  }
  table.data-table tbody td:before {
    /* Now like a table header */
    position: absolute;
    /* Top/left values mimic padding */
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    color: #009fe3;
  }
  .row.special_order .col:first-of-type {
    max-width: 100%;
  }
}
