/*
Theme Name: C-Fuel Station Intranet
Theme URI: ...
Author: Astro Baltics OÜ
Done by: Rain Ant
Version: 1.0 - January 2019
Update date 01.07.2019
Done by: Mari-Liis Truija
*/


/* --- BASIC LAYOUT --- */
.group:before, .group:after {
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.group:after {
  clear: both;
}

body {
  background-color: #eee;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

body, html {
  overscroll-behavior: none;
}

@media screen and (max-width: 700px) {
  #doublescroll {
    overflow-x: visible;
    overflow-y: visible;
  }

  body {
    width: 100%;
  }
}

.main-container {
  position: relative;
  float: right;
  width: calc(100% - 270px);
  padding: 30px 0 20px 20px;
  overflow: hidden;
}

.content-group {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  align-content: stretch;
}

.card-holder {
  width: calc(100% - 20px);
}

.card {
  width: calc(100% - 20px);
  margin: 10px 0 35px;
}

:root {
  --input-padding-x: .75rem;
  --input-padding-y: .75rem;
}

.datepickers-container {
  z-index: 9999;
}

.bg-low {
  background-color: #ffee58;
}

.hide, .del-filter, .hidden {
  display: none;
}

.pull-left {
  float: left !important;
}

.pace {
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: #1ea9e1;
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

.red  {
  background: #e54c5b !important;
}

.yellow {
  background: #f0af3a !important;
}

.green {
  background: #66bb6a !important;
}

.grey {
  background: #606060 !important;
}


.ease, .main-table .row, .main-table .row > .col-sm,
#main_menu a::after, #sidebar, .add-to-sidebar a, .responsive-menu, .responsive-menu span,
#aside {
  -webkit-transition: .3s ease-in-out;
  -moz-transition: .3s ease-in-out;
  -o-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

a {
  color: #333;
}

a:hover, a:focus {
  color: #1ea9e1;
  text-decoration: none;
}

#main_menu a:hover, #main_menu a:focus {
  text-decoration: none;
  background: rgba(30, 169, 225, .3);
  transition: 0.2s;
}

/* doesn't work with bootstrap, unnecessary */
/*.btn {
  background: #ccc;
  text-transform: uppercase;
  font-size: 14px;
}*/

.btn-primary{
  background: #1ea9e1;
  border-color: #1ea9e1;
}
.btn-primary:hover{
  background: #148fb8;
  border-color: #148fb8;
}

i.icon-dark {
  color: #8c8c8c;
}

input{
  border: 1px solid #ccc;
  border-radius: 4px;
}

input[type="file" i] {
  border: none;
}

#logsTable .rows-group button, .ladda-button, #warningsTable .rows-group button, #stationTable .rows-group button {
  background: transparent;
  border: none;
  padding: 2px;
  width: 25px !important;
  height: 25px;
  outline: none !important;
}

#logsTable .ladda-button:hover, #warningsTable .ladda-button:hover, #stationTable .ladda-button:hover {
  border: none;
  background-color: transparent;
  outline: none;
}

#logsTable .ladda-button[disabled], .ladda-button[data-loading], .ladda-button[disabled]:hover, .ladda-button[data-loading]:hover {
  border: none;
  background-color: transparent;
}

#stationName {
  display: none;
}

.accordion {
  overflow-y: hidden;
  display: none;
  margin-bottom: 5px;
}

.accordion .box {
  width: 18px !important;
  height: 18px !important;
  padding-top: 3px !important;
  padding-bottom: 3px !important;
}

.accordion .material-icons, .accordion .accordion-collapse {
  cursor: pointer;
}

.accordion .card {
  margin: 10px 0 10px;
}

.accordion .save-icon, .accordion .delete-icon, .accordion .unlock-icon, .accordion .arrow-down-icon {
  display: none;
}

.accordion .user-action-buttons {
  width: 4%;
}

.accordion .user-action-buttons .unlock-icon {
  position: absolute;
  right: 52px;
  width: 1%;
}

.accordion .user-action-buttons .delete-icon, .accordion .user-action-buttons .save-icon {
  width: 1%;
}

::-webkit-scrollbar {
  width: 8px;
  background-color: rgba(0, 0, 0, 0);
  -webkit-border-radius: 100px;
}

::-webkit-scrollbar:hover {
  background-color: rgba(0, 0, 0, .09);
}

::-webkit-scrollbar-thumb:vertical {
  background: rgba(0, 0, 0, 0.5);
  -webkit-border-radius: 100px;
}

::-webkit-scrollbar-thumb:vertical:active {
  background: rgba(0, 0, 0, .61);
  -webkit-border-radius: 100px;
}
/* -- eof basic layout --*/


/* --- ASIDE ---*/
#aside {
  background: #3a3838;
  width: 260px;
  transform: skewX(-1.1deg);
  position: fixed;
  left: -20px;
  color: #fff;
  overflow: hidden;
  top: 0;
  bottom: 0;
  z-index: 1000;
}

#aside .inner-container {
  transform: skewX(1.1deg);
}

#aside .inner-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
}

#aside .logo,
#aside .user_info {
  flex: 0 0 auto;
}

#main_menu {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#main_menu::-webkit-scrollbar {
  display: none;
};

#aside .inner-container > nav#main_menu {
  flex: 1 1 auto;
  min-height: 0;
}

#aside ul {
  list-style: none;
}

/*logo*/
.logo {
  background: #1ea9e1;
  padding: 15px 20px 10px 40px;
  margin: 0;
  width: calc(100% + 10px);
  text-align: center;
}

.logo img {
  width: 180px;
  margin-top: -10px;
}
/*eof logo*/


/* user_info*/
.user_info {
  padding: 130px 0 0;
  text-align: center;
  position: relative;
}

.user_info::after {
  content: " ";
  width: 85%;
  height: 2px;
  background: #565454;
  display: block;
  float: right;
  margin: 20px 0 10px;
}

.user_info img.user_profileimg,
.user_info img.user_settingicon {
  background: #777;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  margin: auto;
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 9;
  transition: .5s ease-in-out;
}

.user_info img.user_settingicon,
.user_info .user_settings:hover img.user_profileimg {
  opacity: 0.2;
  z-index: 8;
}

.user_info .user_settings:hover img.user_settingicon {
  opacity: 0.7;
  transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
}

.user_info a.log_out {
  color: #c9c3c3;
  text-transform: uppercase;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 5px;
}

.user_info a.log_out img {
  height: 20px;
  margin: 0 5px 10px 0;
  position: relative;
  top: 3px;
  opacity: 0.7;
}

.user_name {
  font-size: 1.5em;
  font-weight: normal;
  margin-top: 10px;
}
/* eof user_info */


/* main_menu */
#main-menu {
  display: none;
  z-index: 9999;
}

#main-menu .logo-icon img {
  margin-top: 5px;
  width: 40px;
  opacity: 0.7;
}

#main_menu ul {
  clear: both;
}

#main_menu li.menu-group {
  margin-bottom: 5px;
  position: relative;
}

#main_menu li.menu-group::after {
  content: " ";
  width: 85%;
  height: 2px;
  background: #565454;
  display: block;
  position: absolute;
  bottom: -4px;
  right: 0;
}

#main_menu li {
  margin: 0;
  position: relative;
  left: 20px;
}

#main_menu a {
  color: #f1f1f1;
  font-size: 14px;
  text-transform: uppercase;
  padding: 10px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  margin: 2px 0;
  text-decoration: none;
}

#main_menu a img,
#main_menu a i {
  height: 20px;
  margin-right: 10px;
  position: relative;
  display: inline-block;
  font-size: 20px;
  text-align: center;
}

#main_menu a::after {
  background: #1ea9e1;
  content: " ";
  display: block;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 5px;
}

#main_menu .active a {
  background: #1ea9e1;
}

#main_menu .active a::after {
  background: none;
}


/* disabled */
#main_menu .disabled a {
  pointer-events: none;
  color: #5a6268;
}

#main_menu .disabled a::after {
  background: #5a6268;
  content: " ";
  display: block;
  width: 0;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  border-radius: 5px;
}

#main_menu .disabled a:hover::after {
  width: 100%;
}

.responsive-menu {
  display: none
}
/*eof main_menu*/


/* --- DEFAULT TABLE HEADER --- */
.main-header {
  background: linear-gradient(60deg, #1ea9e1, #148fb8);
  margin: -20px 15px 5px;
  border-radius: 5px;
  position: relative;
  z-index: 999;
  min-height: 30px;
}

.main-header .col-sm-8 .btn:hover {
  /*border: .5px solid #115c75;*/
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.14), 0 2px 3px -2px rgba(20, 143, 184, 0.3);
  color: #fff;
}

.main-header.header-shadow {
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.14), 0 7px 10px -5px rgba(20, 143, 184, 0.4);
}

.main-header .row div[class*="col-"] {
  padding: 0;
}

.main-header.row div[class*="col-"] {
  margin: 0;
}

.main-header a {
  color: #fff;
  text-transform: uppercase;
  font-size: .8em;
}

.main-header .btn {
  background-color: #148fb8;
  box-shadow: none;
  padding: .5rem 1rem;
  margin: .5rem .5rem .5rem 0;
}

.main-header .btn.active {
  background-color: #0f6b8a;
  border-radius: 4px !important;
}

.main-header .btn.reloadData i {
  font-size: 2em;
  top: 5px;
  position: relative;
}

.main-header img {
  height: 30px;
}

.main-header a span, .status-filter {
  font-size: 1.1em;
  padding: 0 0 0 .4rem;
}

.main-header .submit-btn {
  background-color: transparent;
  position: absolute;
  top: 0;
  right: 0;
}


.main-header .filters-btn {
  margin-right: 0;
  border-radius: 5px 0 0 5px;
}

.main-header .filters-btn:hover {
  border-radius: 5px 0 0 5px;
  box-shadow: 0 14px 26px -12px rgba(153, 153, 153, .42), 0 4px 23px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(153, 153, 153, .2);
  border: 1px solid transparent !important;
}

.main-header .filters-close {
  background-color: rgba(20, 143, 184, .5);
  display: none;
  border-radius: 0 5px 5px 0;
}

.main-header .filters-close:hover {
  background-color: #148fb8;
  border-radius: 0 5px 5px 0;
  border: 1px solid transparent !important;
}

.main-header .filters-close img {
  height: 20px;
  margin-top: 5px;
}

.main-header .search {
  background: none;
  border: none;
  border-bottom: 1px solid #9acffa;
  margin: 12px 0;
  border-radius: 0;
  color: #fff;
}

.form-control:focus {
  box-shadow: none;
}

.main-header .search::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color: #9acffa;
}

.main-header .search:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #9acffa;
  opacity: 1;
}

.main-header .search::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #9acffa;
  opacity: 1;
}

.main-header .search:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #9acffa;
}

.main-header .search::-ms-input-placeholder { /* Microsoft Edge */
  color: #9acffa;
}

.main-header .search::placeholder { /* Most modern browsers support this now. */
  color: #9acffa;
}


.main-header i.icon-dark {
  color: #9acffa;
}
/* -- eof default table header -- */


/* --- DEFAULT TABLE --- */
.main-table {
  padding: 0 0 1rem;
  font-size: 1em;
  width: 95%;
  margin: 10px auto;
}

.main-table .row {
  padding: .3rem;
  margin: auto;
  align-items: center;
}

.main-table .row .row {
  flex-wrap: nowrap;
  line-height: .5rem;
  margin: 0;
}

.main-table .row .row img {
  width: 40px;
}

.main-table .row > .col-sm {
  padding-left: 1.1rem;
  min-width: 230px;
  word-break: break-word;
}

.main-table .row > .col-sm:first-child {
  border: none;
}

#logsTable div.col-sm:first-child {
  border: none;
  min-width: 400px;
}

.main-table .rows-group > .row:nth-child(even) {
  background-color: #f9f9fb;
  position: relative
}

.main-table .rows-group > .row:nth-child(even):before {
  content: " ";
  height: auto;
  background-color: rgba(0, 0, 0, .05);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.main-table .table-head {
  font-weight: bold;
  line-height: .6rem;
}

.main-table .table-head .fa {
  margin: 0 5px;
}

.main-table [class*="col-"] {
  padding: 0 5px;
}

.main-table .col-1, .main-table .col-2 {
  padding: 0 5px;
}

.main-table .col-sm {
  padding: 0 !important;
}

.main-table .col-xs {
  width: 100px;
}

.main-table .row > .row div {
  line-height: 1.3rem;
}

.main-table .row .center-row {
  text-align: center;
}

.main-table .box {
  padding: .5rem 0;
  border-radius: 5px;
  color: #fff;
  font-size: 1.3em;
  text-align: center;
  width: 80%;
}

.main-table .date-day {
  display: block;
  text-transform: uppercase;
  font-size: .8em;
}

.main-table tbody tr:hover {
  background: #f9f9fb;
}

.main-table .log-container {
  padding: .5rem 1rem;
  width: 100%;
}

.main-table .rows-group > .row:hover .log-container .row {
  border-top: 1px solid #fff;
}

.main-table .log-container .row {
  border-top: 1px solid #f1f1f1;
  padding: .5rem;
}

.main-table .log-container .row > div {
  padding: 0 5px;
  line-height: .9rem;
}

.main-table .log-container .error {
  color: #e54c5b;
}

.main-table h3, .stationHeader {
  border-bottom: 1px solid #ccc;
  text-transform: uppercase;
  font-size: 1.5em;
  margin: 20px auto;
}

.stationHeader {
  border-bottom: none;
  margin: 0 2rem .5rem !important;
}

.main-table h4 {
  text-transform: uppercase;
  font-size: 1.3em;
}

.fa-sort-down:before, .fa-sort-desc:before {
  position: relative;
  top: -5px;
}

.main-table .section {
  border-bottom: 1px solid #f1f1f1;
}

.end {
  border-top: 1px solid #ccc;
  text-transform: uppercase;
  text-align: center;
  color: #999;
  margin: .5rem;
  padding: .5rem;
}

.end span {
  display: block;
  font-size: .7em;
  color: #c3c6c7;
}
/* --- eof default table --*/


/* ---- SPECIAL CASES OF DEFAULT TABLES --- */
#logsTable .row {
  padding: .2rem .5rem;
}

#logsTable .row.table-head {
  padding-right: 1rem;
}

#logsTable .transaction-block {
  position: relative;
}

#logTable .transaction-block .open-details {
  display: none;
}

#tanks-table.large-table {
  height: 77vh;
}

#tanks-table.main-table .progress {
  height: 10px;
  margin: 5px 0;
}

#tanks-table.main-table .progress.legend {
  height: 5px;
}

#tanks-table.main-table .progress.critical .progress-bar {
  background-color: #e54c5b;
}

#tanks-table.main-table .progress.low .progress-bar {
  background-color: #f0af3a;
}

#tanks-table.main-table .progress.legend.normal .progress-bar {
  background-color: #66bb6a;
}

#tanks-table.main-table .progress.legend .progress-bar {
  transition: transform .2s;
}

#tanks-table.main-table .progress.legend .progress-bar:hover {
  transform: scale(1.1);
}

.mm_values {
  display: none;
}

.tanks-visual {
  padding: 20px;
}

#logsTable .rows-group {
  overflow: scroll;
  height: 76vh;
}

#warningsTable .transaction-block, #stationTable .transaction-block {
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
}

#stationTable .rows-group {
  overflow: scroll;
  height: 76vh;
}

.missing-info {
  width: 95%;
  margin: 14px auto;
}

#settings-table {
  width: 100%;
}

#stationsTable, #clientsTable {
  overflow-y: scroll;
  height: 80vh;
}

#clientsListTable thead td {
  text-align: center;
}

.cards-count {
  width: 30px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  margin: 0 5px;
  border-radius: 3px;
}

.cards-count:hover {
  color: white;
}

.payment-cards {
  background: rgb(114,167,169);
  background: linear-gradient(90deg, rgba(114,167,169,1) 0%, rgba(28,138,138,1) 50%, rgba(114,167,169,1) 100%);
}

.discount-cards {
  background: rgb(151,157,172);
  background: linear-gradient(90deg, rgba(151,157,172,1) 0%, rgba(104,114,137,1) 50%, rgba(151,157,172,1) 100%);
}

.clients-table a {
  color: #1ea9e1;
}

.card-type {
  border-radius: 5px;
  margin: 0 2px;
  width: 32px;
  display: inline-block;
  text-align: center;
  color: #fff;
}

.card-type.discount {
  background-color: #909090;
}

.card-type.payment {
  background-color: #319e97;
}

#stationsTable .station-icon img {
  height: 25px;
}

#pricesTable .row-item, #clientsTable .row-item {
  padding: .5rem;
}

#stationsTable .row-item {
  padding: .2rem;
}

#stationsTable .rows-group a {
  color: #1ea9e1;
}

#stationsTable .rows-group a:hover {
  color: #0a7ada;
}

#logsTable.station-logs img {
  width: 25px;
}

#pricesTable .row > .row div span.price_searchcode {
  display: none;
}

#logTable .rows-group {
  overflow-y: scroll;
  height: 69vh;
}
#logTable .outer-container {
  margin: .2rem 0;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid #ccc;
}

#transactionTable .rows-group {
  height: 100%;
}

#stationCards .card {
  margin: 30px 0 50px;
}

.empty-price {
  color: #ccc;
}

.col-1.focus {
  outline: 2px dotted #50bbec !important;
}

.price-field input {
  width: 40px;
}

.price-field input[type=button] {
  background-color: #ccc;
  border-radius: 5px;
  width: 35px;
  height: 30px;
}

.prices-lock i {
  color: #6c757d;
  font-size: 22px;
  margin: 5px;
}

.prices-lock-all i,
.prices-export i {
  margin-top: 13px;
  color: #fff;
  font-size: 32px;
}

.prices-in-stations {
  overflow-y: scroll;
  max-height: 60vh;
}

.price-field {
  display: none;
  padding: 0 4px 0 4px;
  font-size: 1em;
  height: 24px;
  width: 48px;
}

.price-field.editable {
  border: 2px dashed #1ea9e1;
  border-spacing: 3px;
}

.price-field.failure {
  border: 2px solid red;
  border-spacing: 3px;
}

.price-field.changing {
  background: #0a6ebd;
  color: #fff;
}

.price-field-text.changed {
  padding: 3px;
  border: 2px solid green;
  border-radius: .25rem;
  border-spacing: 3px;
}

.price-field-text.difference {
  color: #1ea9e1;;
}

.lock-row, .lock-column, .lock-all {
  display: none;
}

#privilegesTable .col {
  padding-left: 0;
  padding-right: 0;

  -ms-flex: 0 0 12.5%;
  flex: 0 0 12.5%;
  max-width: 12.5%;
}

#privilegesTable img {
  width: 20px;
}

#privilegesTable .addNewUser {
  margin-top: -18px;
}

#sysconfTable {
  max-height: 84vh;
  overflow-y: scroll;
}

#sysconfTable h3 {
  margin: 8px auto;
}

#priceTable .col-1 {
  -ms-flex: 0 0 7.6923%;
  flex: 0 0 7.6923%;
  max-width: 7.6923%;
}

.tooltip-templates {
  display: none;
}

.stations-card-body {
  background-color: #eee;
}

.stations-card {
  border: none;
}

.alertify-notifier .ajs-message.ajs-error {
  background: #e54c5b;
  color: #fff;
}

.alertify-notifier .ajs-message.ajs-success {
  background: rgba(91,189,114,.95);
  color: #fff;
}

#detailsArrow i {
  font-weight: 800;
}


.rotate {
  -moz-transition: all 2s linear;
  -webkit-transition: all 2s linear;
  transition: all 2s linear;
  transform: rotate(90deg);
}
/* fuel signs */


.btn-circle {
  width: 38px;
  height: 38px;
  text-align: center;
  padding: 5px 0;
  line-height: 1.8rem !important;
  border-radius: 23px;
  font-size: 13px !important;
  font-weight: bold;
  margin: 2px;
}

.btn-circle.black {
  background: #000;
}

.btn-circle.green {
  background: #1a9b68;
}

.btn-circle.blue {
  background: #0b69b2;
}

.btn-circle.center-row {
  margin: auto;
}
/* --- eof special case of default tables -- */


/* --- MODAL DESIGN --- */
.modal {
  table-layout: fixed;
  word-wrap: break-word;
  background-color: rgba(0, 0, 0, .4);
}

.modal-header {
  background: linear-gradient(60deg, #1ea9e1, #148fb8);
  color: #fff;
}

.card-modal-header, .client-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.5rem 1rem 1rem;
  font-weight: bold;
  border-bottom: 2px solid #f0f0f0;
}

.cards-list-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 1.5rem 1rem 1rem;
  font-weight: bold;
}

.card-modal-header button.close,
.client-modal-header button.close,
.cards-list-modal-header button.close {
  color: black;
  font-weight: normal;
  font-size: 2rem;
}

.card-modal-header button.close:hover,
.client-modal-header button.close:hover,
.cards-list-modal-header button.close:hover {
  color: black !important;
}

.client-limits .icon-holder, .client-bills .icon-holder {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.limits-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  background-color: #90af71;
  border-radius: 30px;
}

.limits-icon img {
  width: 20px !important;
  margin: 0 !important;
}

.warn-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 30px;
  background-color: #d13b28;
  border-radius: 30px;
  color: white;
  font-weight: bold;
}

.modal-content {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .5);
}

button.close {
  color: #fff;
}

.main-panel {
  overflow: hidden !important;
}

.main-panel > .content {
  padding: 10px 10px 10px 0;
}

.main-panel .header {
  margin-left: 15px;
}

.iziModal {
  z-index: 9999 !important;
}

.iziModal-overlay {
  z-index: 9997 !important;
}

.select2 {
  width: 65% !important;
}

.select2-container--default .select2-selection--multiple {
  border-color: #ccc;
  border-bottom: 1px solid #ccc;
}

.filter {
  width: 150px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

.modal-body {
  position: relative;
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1rem;
  margin: 0;
}

.modal-body p {
  margin: 5px 0;
}

.modal-body span i {
  color: #1ea9e1;
  cursor: pointer;
}

.modal-body #workplaces-select {
  padding: 10px 0 0;
}

.card .form-check {
  margin: 0;
}

.nav-tabs {
  padding: 0;
  border: none;
}

.run-filters, .footer .run-filters {
  background-color: #148fb8;
  color: #fff;
}

.run-filters:hover {
  box-shadow: 0 2px 3px 0 rgb(0 0 0 / 14%), 0 2px 3px -2px rgb(20 143 184 / 30%);
  color: #fff;
}

#receiptModal .footer {
  margin-top: 20px;
}

.receipt-content {
  font-family: "Courier New", sans-serif;
}

.receipt-tail {
  font-size: 0.8rem !important;
}

.blue-btn {
  background-color: #148fb8;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

.red-btn {
  background-color: #f33527;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
}

.radio-buttons .btn, #logsPeriod .btn {
  background-color: #1ea9e1;
  color: #fff;
  font-size: .9em;
  padding: 10px 29px;
  margin: .5rem 0;
  text-transform: uppercase;
}

.radio-buttons .btn.active, #logsPeriod .btn.active {
  background-color: #148fb8;
}

.radio-buttons .btn:hover, #logsPeriod .btn:hover {
  box-shadow: 0 14px 26px -12px rgba(153, 153, 153, .42), 0 4px 23px 0 rgba(0, 0, 0, .12), 0 8px 10px -5px rgba(153, 153, 153, .2);
}

.modal-footer .btn {
  text-transform: uppercase;
  font-size: .9em;
  padding: 10px 20px;
}

.modal-footer > :not(:last-child) {
  background-color: #ccc;
  color: #212529;
}
.modal-footer{
  border-top: none;
}

#emailForm {
  display: none;
}

#emailForm .error {
  border-bottom: 1px solid red;
}

#paceSelect {
  width: 150px;
}

#workplaces-select > .select2:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #888;
  position: absolute;
  right: 10px;
  top: 15px;
}
/* eof modal desgin */


/* --- SIDEBAR --- */
#sidebarCollapse {
  width: 30px;
  height: 82vh;
  cursor: pointer;
  align-items: center;
  z-index: 1040;
  top: 0;
  display: flex;
  border-left: 1px dashed #999;
  margin: 10px;
}

#sidebarCollapse .arrow-holder {
  display: flex;
  align-content: center;
}

.arrow-holder .arrow {
  border: solid #999;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 10px;
}

.right-arrow {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  margin-left: 3px;
}

.left-arrow {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  margin-left: 7px;
}

#sidebar {
  overflow: scroll;
  margin-top: -10px;
  padding: 20px 5px 10px;
  width: 33.33%;
}

#sidebar .card {
  margin: 0 0 5px
}

#sidebar .card-header {
  padding: .5rem;
}

#sidebar.undercover {
  margin-right: -33.33%;
}

#sidebar h4 {
  font-size: 1.5em;
  padding-left: 20px;
  margin-bottom: 0;
}

#sidebar h4 span {
  font-size: .5em;
  color: grey;
}

#sidebar .card-body {
  padding: .7rem;
}

.trash-area {
  position: absolute;
  background: url('../img/trash_icon.png');
  background-size: 20px;
  width: 20px;
  height: 20px;
  right: 0;
  bottom: 0;
  margin: 0 5px 5px 0;
  opacity: .3;
  cursor: pointer;
}

.trash-area:hover {
  animation: shake 0.82s cubic-bezier(.36, .07, .19, .97) both;
  transform: translate3d(0, 0, 0);
  perspective: 1000px;
}

@keyframes shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }
  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0);
  }
  40%, 60% {
    transform: translate3d(3px, 0, 0);
  }
}

.chart-settings {
  position: absolute;
  background: url('../img/settings_icon_dark.png');
  background-size: 18px;
  width: 18px;
  height: 18px;
  right: 0;
  top: 0;
  margin: 5px 5px 0 0;
  cursor: pointer;
  opacity: .3;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  transition: all 800ms ease-in-out;
}

.chart-settings:hover {
  -ms-transform: rotate(270deg); /* IE 9 */
  -webkit-transform: rotate(270deg); /* Chrome, Safari, Opera */
  transform: rotate(270deg);
}

#chart-area {
  height: 80vh;
}
/* eof SIDEBAR */


/* --- CHARTS --- */
#salesChartCard {
  background: #f1f1f1;
  border-radius: 3px;
  padding: 15px;
  border: 1px solid #fff;
}

.chart-legend {
  color: #999999;
}

.chart-legend td {
  padding-right: 10px;
}

.chart-legend span {
  padding-left: 20px;
}

#salesChart {
  position: relative;
}

#salesChart > svg {
  overflow: inherit;
  float: right;
}

.map-header {
  background: linear-gradient(60deg, #148fb8, #1ea9e1);
}

#map {
  margin: 0 auto;
  width: 100%;
  height: 280px;
}

#missing {
  display: none;
  font-weight: bold;
  color: #f33527;
  margin: 0 auto;
}

.card-chart .card-header {
  text-align: center;
}
/* -- eof CHARTS -- */


/* -- CHART MODAL -- */
.logs-chart {
  padding: 2rem 0 2rem;
}

.chart-selection {
  margin: 0 5px;
}

.chart-select {
  width: 160px !important;
  height: 220px !important;
  text-align: center;
  cursor: pointer;
  color: #fff;
}

.chart-select p {
  font-size: 12px !important;
  word-wrap: break-word;
  white-space: normal;
}

.chart-select img {
  width: 120px !important;
  height: 120px !important;
}

.chart-select span {
  margin: 0 auto 5px;
  display: inline-block;
  font-weight: bold;
}

.chart-select.selected {
  border: 5px solid #0b6a8a;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}
/* eof chart modal */


/* --- RESPONSIVE FOR CHART MODAL --- */
@media screen and (max-width: 991px) {
  .chart-select {
    height: 230px;
  }

  .chart-select img {
    max-width: 100%;
  }

  #salesByFuelType {
    padding-top: 30px;
  }
}

@media screen and (max-width: 420px) {
  .chart-select {
    height: 200px;
  }
}

@media screen and (max-width: 360px) {
  .chart-select {
    height: 175px;
  }
}


/* --- TANKS --- */
#tanks-table .row {
  padding: 0;
}

#tanks-table h3 {
  margin: 0 0 5px;
  padding: 10px 0 0;
}

#tanks-table h3 a {
  color: #666;
}

#tanks-table .warning-sign, #pricesTable .warning-sign {
  width: 22px;
}

#tanks-table .row.table-head, #tanks-table .row.table-head a {
  color: #888;
  font-weight: normal
}

#tanks-table.station-page .table-section h3 {
  display: none;
}

#tanks-table {
  overflow-y: scroll;
}

#tanks-table .modal-body ul {
  padding-left: 0;
  list-style-type: none;
}
/* eof TANKS */


/* --- TANKS VISUAL ---- */
.tanks-visual h2 {
  font-size: 1.5em;
  text-transform: uppercase;
}

.tanks_section {
  padding: 10px 0;
  margin: 10px 0;
  border-bottom: 1px solid #f1f1f1;
}

.tanks_section li {
  width: 200px;
  margin: 15px;
  height: 170px;
  position: relative;
  list-style: none;
  display: inline-block;
}

.tanks_section li > .row {
  margin: 0;
}

.tanks_section li a {
  white-space: nowrap;
}

.tanks_section .modal-title {
  padding: 0;
  text-transform: uppercase;
  font-size: 1.3em;
}

.tanks_section .modal-body ul {
  display: block;
  padding-left: 0;
  line-height: .4;
}

.tanks_section .modal-body li {
  display: flex;
  float: none;
  width: auto;
  height: auto;
  margin: 15px 0;
}

.tanks_section .modal-body li b {
  padding-left: .2rem;
}

.tanks_section li.tank_info {
  float: left;
  width: 7%;
  font-size: 15px;
}

.free-space {
  position: absolute;
  top: 5px;
  right: 6px;
  color: #999;
}

.in-use {
  position: absolute;
  top: 41px;
  right: 0;
  color: #7acf2e;
}

.waterline {
  position: absolute;
  top: 80px;
  right: 10px;
}

.temp {
  font-weight: bold;
  position: absolute;
  left: 0;
  right: 0;
  top: -20px;
  text-align: center;
}

.tanks_section h4 {
  font-size: 1.5em;
  font-weight: normal;
  text-align: center;
  padding: 10px 0;
}

.tanks_section h4 span, .tanks_section h4 i {
  display: block;
  font-size: .7em;
  color: #999;
}

.tanks_section h4 i {
  color: #ccc;
  font-style: normal;
  line-height: normal;
}

.list-sort.desc {
  display: none;
}

.measurements {
  width: 25px;
}

.tank_icon {
  width: 100px;
  height: 100px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  transform: translate3d(0, 0, 0);
  background: #f1f1f1;
}

.wave_container {
  position: absolute;
  top: 40%;
  left: 50%;
}

.wave_title {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: 20px;
  text-align: center;
  font-size: 18px;
  z-index: 999;
  color: rgba(0, 0, 0, .4);
}

.wave {
  position: absolute;
  opacity: .9;
  background: #00d0ff;
  width: 300px;
  height: 300px;
  margin-left: -150px;
  transform-origin: 50% 48%;
  border-radius: 50%;
}

.tanks_section .critical .wave {
  background: #e54c5b;
}

.tanks_section .low .wave {
  background: #f0af3a;
}

.tanks_section .normal .wave {
  background: #7acf2e;
}

.wave.one {
  border-radius: 47%;
  transform-origin: 50%;
}

.wave.two {
  opacity: .1;
}

.wave.three {
  opacity: .4;
}

.wave.water {
  background: #0af !important;
  height: 300px !important;
  top: 57px;
}

@keyframes drift {
  from {
    transform: rotate(0deg);
  }
  from {
    transform: rotate(360deg);
  }
}

.tank_icon:hover .wave {
  animation: drift 9000ms infinite linear;
  border-radius: 43%;
}

.tank_icon:hover .wave.two {
  animation: drift 13000ms infinite linear;
}

.tank_icon:hover .wave.three {
  animation: drift 11000ms infinite linear;
}

.tank_icon:hover .wave.water {
  animation: drift 20000ms infinite linear;
}

.client-view {
  margin-top: 31px;
}
/* eof tanks visual */


/* --- MAIN NAVBAR (in page navigation) -- */
.main-navbar {
  margin: 0;
  padding: 1.5rem 1rem;
  padding-top: 0;
  justify-content: normal;
}

.main-navbar .nav-link {
  text-transform: uppercase;
  color: #999;
  display: inline-block;
  margin: 0;
  padding: .5rem 1rem;
  height: auto;
  position: relative;
  font-weight: normal;
  font-size: 1.3rem;
}

.main-navbar .nav-link.active {
  font-size: 1.5rem;
  color: #1ea9e1;
  border: none;
  background: none;
}

.main-navbar .nav-link.left {
  border-right: 1px solid #ccc;
}
/* eof main navbar */


/* CLIENT(S) view */
.clients-content-container .row {
  width: 100%;
  margin-bottom: 35px;
}

.clients-content-container .card-holder {
  padding: 0;
}

.clients-content-container .card {
  padding: 0;
  height: 95%;
  margin-right: 10px;
  margin-left: 10px;
}

.clients-content-container .heading-row {
  margin: 10px 0;
  padding-top: 20px;
  padding-left: 20px;
  padding-right: 20px;
  font-weight: bold;
  font-size: 1rem;
}

.clients-content-container h1,
.products-content-container h1 {
  font-weight: bold;
}

.client-sections img {
  width: 100%;
}
.client-sections .card, .client-header-container .card {
  width: 100%;
  height: 95%;
  margin: 10px 0 15px;
  padding: 15px;
}

.client-sections .row, .client-header-container .row {
  margin-right: 0;
}

.client-sections .card-holder, .client-header-container .card-holder {
  padding-left: 0;
}

.client-sections .card-title, .card-modal-table-holder .card-title {
  font-weight: bold;
  margin-top: 10px;
}

.card-list-modal-title {
  font-weight: bold;
  margin-top: 10px;
  color: #687289FF;
}

.client-limits .saldo, .client-limits .limit, .client-bills .limit, .client-bills .saldo {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
}

.client-limits.exceeded, .client-bills.exceeded {
  background: rgb(228,210,212);
  background: linear-gradient(145deg, rgba(228,210,212,1) 0%, rgba(228,210,212,1) 65%, rgba(235,217,217,1) 65%, rgba(235,217,217,1) 100%);
}

.client-limits img {
  margin-bottom: 15px;
}

.client-cards .cards-header {
  font-weight: bold;
  font-size: 13px;
}
.client-cards .payment, .client-cards .discount {
  border-radius: 5px;
  color: #fff;
  text-align: center;
  width: 100%;
}

.client-cards .order {
  cursor: pointer;
  border-radius: 5px;
  background-color: #909090;
  color: #fff;
  text-align: center;
}

.client-cards .row {
  margin-bottom: 4px;
}

.cards-tables-holder .search,
#cardsListModal .search,
#paymentCardInfoModal .search,
.client-transactions-card .search {
  border-radius: 3px;
  border: #aaaaaa solid 1px;
  background-color: #f3f3f3;
}

.cards-tables-holder .search::placeholder,
#cardsListModal .search::placeholder,
#paymentCardInfoModal .search::placeholder,
.client-transactions-card .search::placeholder {
  font-style: italic;
}

#paymentCardReorderModal .accordion,
#discountCardReorderModal .accordion,
#usersSettings .accordion {
  display: block;
  width: 100%;
}


#usersSettings .card {
  width: 100%;
  margin-right: 0;
}

#usersSettings .btn {
  background-color: #1ea9e1;
  border-color: #1ea9e1;
}

#usersSettings .custom-select {
  width: 20%;
}

.client-transactions-search, .card-transactions-search {
  margin-top: 10px;
  margin-bottom: .75rem;
}

.payment-card-transaction {
  cursor: pointer;
  color: #fff;
  border-radius: 3px;
  background: rgb(114,167,169);
  background: linear-gradient(90deg, rgba(114,167,169,1) 0%, rgba(28,138,138,1) 50%, rgba(114,167,169,1) 100%);
}

.cards-modal {
  max-width: max-content;
}

.cards-tables-holder .row {
  margin-left: 0;
}

.cards-tables-holder:not(.modal-body), .client-data {
  overflow: auto;
  max-height: 300px;
}

.cards-tables-holder .expiring {
  background: rgb(237,195,103);
  background: radial-gradient(circle, rgba(237,195,103,1) 75%, rgba(206,201,174,1) 100%);
}

.cards-tables-holder .expired {
  background: rgb(231,160,125);
  background: radial-gradient(circle, rgba(231,160,125,1) 75%, rgba(204,192,182,1) 100%);
}

.client-data p {
  margin-bottom: 5px;
}

.client-data .client-name {
  color: #1ea9e1;
  text-transform: uppercase;
  font-size: 18px;
  margin: 5px 0;
}

.client-data p span {
  font-weight: bold;
}

.modal-sub-header {
  padding: 1rem 1rem 0;
}

.modal-sub-header .client-button {
  cursor: pointer;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-sub-header .cancel-button {
  background: rgb(235,217,217);
  background: linear-gradient(90deg, rgba(235,217,217,1) 0%, rgba(226,117,129,1) 50%, rgba(235,217,217,1) 100%);
}

.modal-card-row {
  width: 100%;
}

#clientBalance {
  color: #e48e33;
}

#clientBalanceLimit {
  color: #90af71;
}

#clientSearchcode {
  padding: 0;
}

#clientInvoicesInfoModal .table-holder,
#clientInvoicesTable {
  width: 100% !important;
}

#clientInvoicesTable .parent-row {
  background-color: #fff;
  cursor: pointer;
}

#clientInvoicesTable tr {
  background-color: #f0f0f0;
}

#clientInvoicesTable .child-container {
  width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.invoice-details-subtitle {
  font-weight: bold;
}

.invoice-check-image {
  height: 30px;
}

.client-button {
  cursor: pointer;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

#clientsUsedLimitsChart,
#clientsDebtsChart {
  width: 100%;
}

#clientsUsedLimitsChart {
  max-width: 660px;
}

.chart-row {
  margin-left: 0;
  justify-content: center;
}

.expired-card-title, .expiring-card-title {
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
}

.expired-card-title {
  color: #E7A07DFF;
}

.expiring-card-title {
  color: #EDC367FF;
}

#clientsTable .client-button-small,
.cards-tables-holder .client-button-small,
.cards-list-modal-actions .client-button-small,
.cards-list-modal-actions .card-gradient-button-small,
.cards-list-modal-actions .card-gradient-green-button-small {
  cursor: pointer;
  border-radius: 5px;
  color: #fff;
  text-align: center;
}

.client-button, .card-order-button {
  width: 100px;
  height: 35px;
  background: rgb(168,168,168);
  background: linear-gradient(90deg, rgba(168,168,168,1) 0%, rgba(138,138,138,1) 50%, rgba(168,168,168,1) 100%);
}

.client-button-small {
  width: 75px;
  height: 25px;
  background: rgb(168,168,168);
  background: linear-gradient(90deg, rgba(168,168,168,1) 0%, rgba(138,138,138,1) 50%, rgba(168,168,168,1) 100%);
}

.card-gradient-button {
  width: 100px;
  height: 35px;
  background: rgb(151,157,172);
  background: linear-gradient(90deg, rgba(151,157,172,1) 0%, rgba(104,114,137,1) 50%, rgba(151,157,172,1) 100%);
}

.card-gradient-green-button {
  width: 100px;
  height: 35px;
  background: rgb(114,167,169);
  background: linear-gradient(90deg, rgba(114,167,169,1) 0%, rgba(28,138,138,1) 50%, rgba(114,167,169,1) 100%);
}

.card-gradient-button-small {
  height: 25px;
  padding: 10px;
  background: rgb(151,157,172);
  background: linear-gradient(90deg, rgba(151,157,172,1) 0%, rgba(104,114,137,1) 50%, rgba(151,157,172,1) 100%);
}

.card-gradient-green-button-small {
  height: 25px;
  padding-left: 15px;
  padding-right: 15px;
  background: rgb(114,167,169);
  background: linear-gradient(90deg, rgba(114,167,169,1) 0%, rgba(28,138,138,1) 50%, rgba(114,167,169,1) 100%);
}

.cards-list-modal-actions {
  padding: 1rem;
}

.cards-list-modal-actions .action-button {
  margin-right: 10px;
}

#paymentCardsTable, #discountCardsTable {
  font-size: 10px;
}

#paymentCardsTable thead td {
  padding: 4px 15px;
}

#discountCardsTableHolder {
  width: 100%;
}

.clickable-card-number {
  cursor: pointer;
}

#paymentCardsModalTable {
  margin-bottom: 15px;
}


#paymentCardInfoModal .sub-title, #discountCardInfoModal .sub-title {
  font-weight: bold;
}

#paymentCardInfoModal .alert, #discountCardInfoModal .alert, #clientInfoModal .alert {
  margin: 1rem 1rem 0 1rem;
}

#clientInfoModal .modal-dialog {
  max-width: 950px;
}

#clientInfoModal .modal-card-row input {
  width: 55%;
}

#addNewClientContactButton {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card-heading {
  margin: 0;
}

.modal-card-heading h6 {
  font-weight: bold;
  margin-bottom: 0;
  margin-top: .5rem;
}

#clientTransactionsTableHolder {
  overflow: auto;
}

#paymentCardInfoModal select,
#discountCardInfoModal select,
#paymentCardReorderModal select,
#discountCardReorderModal select,
#clientTransactionsTableFiltersModal select {
  width: 155px;
  height: 26px;
  border-radius: 1px;
  padding: 0;
  font-size: inherit;
}

#clientTransactionsTableFiltersModal .row {
  margin-top: 10px;
  margin-bottom: 10px;
}

#paymentCardInfoModal .discount-amount,
#paymentCardReorderModal .discount-amount,
#discountCardInfoModal .discount-amount,
#discountCardReorderModal .discount-amount {
  width: 20%;
  margin-right: 3%
}

#paymentCardInfoModal .discount-type,
#paymentCardReorderModal .discount-type,
#discountCardInfoModal .discount-type,
#discountCardReorderModal .discount-type {
  width: 15%;
}

#paymentCardInfoModal .card-picture-upload,
#discountCardInfoModal .card-picture-upload {
  width: 100%;
  height: 75%;
  border: 1px dashed;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-picture-upload input {
  width: 75%;
}

#cardTransactionsTableHolder {
  width: 100%;
}

#cardTransactionsTable {
  font-size: 13px;
  width: 100% !important;
}

#addPricesInStockCountModal, #addNewMeasureUnitModal, #addProductTranslationsModal {
  z-index: 1060;
}

.select2-container--open {
  z-index: 1250;
}

.grey-card {
  background-color: #f0f0f0;
  flex-direction: row;
  padding: 15px 0;
  margin: 10px 15px;
}

.grey-card .row {
  margin-top: 5px;
  margin-bottom: 5px;
}

.card-modal-table-holder {
  margin: 15px;
  padding: 30px;
  width: 100%;
}

.full-width {
  width: 100%;
}



/* --- PRODUCTS --- */
#products .card-header .btn,
#preorder-categories .card-header .btn,
#product-groups .card-header .btn{
  background: #148fb8;
}
#products .heading-row,
#preorder-categories .heading-row,
#product-groups .heading-row {
  padding-right: 45px;
  padding-left: 40px;
}
.product-container, .category-container, .product-group-container { /* ALL 3 TABS */
  border-radius: 10px;
}
.product-container input:disabled,
.category-container input:disabled,
.product-group-container input:disabled {
  border: 0;
  background-color: transparent;
  border-color: transparent;
}
.product-container .select2-container--default .select2-selection--single .select2-selection__rendered{
  color: #000;
}
.product-container .card-header, .category-container .card-header, .product-group-container .card-header{ /* ALL 3 TABS */
  border-radius: 10px 10px 0 0;
}
.product-container .card-header input:disabled, .category-container .card-header input:disabled, .product-group-container .card-header input:disabled{ /* ALL 3 TABS */
  color: #fff;
  font-weight: 600;
  width: 100%;
}

#productsAccordion .card,
#measureUnitsAccordion .card {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  border-radius: 5px;
}

#productsAccordion .accordion-heading,
#productsAccordion .material-icons,
#measureUnitsAccordion .accordion-heading {
  cursor: pointer;
  padding-top: 5px;
  padding-bottom: 5px;
}
#productsAccordion .icons-container {
  height: 20px;
}
#productsAccordion .heading-inputs-container {
  display: none;
  justify-content: space-between;
  align-items: center;
}
#productsAccordion .heading-inputs-container .rise {
  color: #387119;
}
#productsAccordion .heading-inputs-container .fall {
  color: #7f231c;
}

.category-container, .card-container {
  margin-bottom: 5px;
  margin-right: 5px;
  padding: 15px;
}

.product-group-container {
  margin-bottom: 5px;
  margin-right: 5px;
}

#products .products-object-choose .btn{
  color: #fff;
  text-transform: uppercase;
  font-size: 1.1em;
  padding: 1rem .5rem;
}
#products .products-object-choose .btn option{
  background: #fff;
  color: #000;
  text-transform: none;
  text-align: left;
  font-size: 1.3em;
}

#products .products-object-choose ::-webkit-scrollbar-track {
  background: #fff;
}

#products .products-object-choose ::-webkit-scrollbar-thumb {
  background: #f1f1f1;
}

.product-card .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 1.2;
}
.product-card .select2-container--default.select2-container--disabled .select2-selection--single{
  background: transparent;
  height: 15px;
  border: none;
  padding-left: 10px;
}
.product-card .select2-container--default.select2-container--disabled .select2-selection__arrow{
  display: none;
}

.products-switch-view span {
  margin-right: 5px;
  margin-left: 5px;
  color: #fff;
  font-size: 1.5em;
  text-transform: none;
}

/* list */
#productsList th, #productsList td{
  border: none;
  text-align: left;
}
#productsList th{
  padding: 0 .5rem;
}
#productsList td{
  padding: 1rem;
  border-top: 5px solid white;
  border-bottom: 5px solid white;
}
#productsList tbody tr {
  cursor: pointer;
  background-color: #f9f9f9;
}
#productsList tbody tr:hover{
  background-color: rgba(0,0,0,.1);
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}
#productsListTable, #preorder-categories .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody{
  border: none;
}

#addProductModal .grey-card,
#addNewProductModal .grey-card,
#addNewPreorderCategoryModal .grey-card {
  padding: 30px;
  flex-direction: column;
}
#addProductModal .modal-body {
  padding-left: 30px;
  padding-right: 30px;
}
#addProductModal .alert {
  margin-left: 20px;
  margin-right: 20px;
}
#addProductModal .modal-body .row {
  margin: 10px 0;
}
#addProductModal .modal-footer {
  border-top: 2px solid #e9ecef;
}
#addProductModal #oldCheckbox {
  display: flex;
  align-items: center;
}

#addNewProductModal .select2{
  width: 100% !important;
}
#addNewProductModal .translations .select2, #modifyProductModal .translations .select2 {
  width: 30% !important;
}
#addNewProductModal .select2-container--default .select2-selection--single,
#modifyProductModal .select2-container--default .select2-selection--single {
  border: 1px solid #ccc;
}
#addNewProductModal input, #modifyProductModal input {
  height: 32px;
  width: 100%;
  padding: .2rem .5rem;
}
#addNewProductModal .select2-row,
#addNewProductGroupModal .select2-row {
  width: 100%;
  display: flex;
  align-items: center;
}

#modifyProductModal .btn:not(:disabled):not(.disabled){
  float: right;
}
#modifyProductModal .select3 .select2{
  width: 37% !important;
  margin-right: 0.9rem;
}
#modifyProductModal .icons-container span {
  display: none;
}

#addNewPreorderCategoryModal .select2{
  width: 100% !important;
}
#addNewPreorderCategoryModal, #modifyCategoryModal {
  z-index: 1045;
}

#addNewProductGroupModal .custom-control-label::before{
  position: relative;
  top: 3rem;
  left: 0;
}
#addNewProductGroupModal .custom-control-label::after{
  top: calc(3rem + 2px);
  left: calc(0rem + 2px);
}
#addNewProductGroupModal .custom-switch{
  padding-left: 15px;
  margin-top: -1rem;
}

#cardsListModal .modal-dialog,
#cardsModal .modal-dialog,
#paymentCardInfoModal .modal-dialog,
#discountCardInfoModal .modal-dialog,
#paymentCardReorderModal .modal-dialog,
#discountCardReorderModal .modal-dialog,
#addNewRoleModal .modal-dialog,
#addNewUserModal .modal-dialog,
#roleUsersModal .modal-dialog {
  max-width: 1100px;
}

#addNewUserModal .inputs-container {
  width: 50%;
  display: flex;
  flex-direction: column;
}

#addNewUserModal #buttonsContainer {
  display: flex;
  justify-content: flex-end;
}

#addNewUserModal .material-icons {
  cursor: pointer;
}

#addNewUserModal .inputs-container input,
#addNewUserModal .inputs-container select {
  height: 45px;
  margin-bottom: 15px;
  font-size: 22px;
}

.inputs-container input,
.inputs-container select {
  border-radius: 5px;
  border: 2px solid white;
  background-color: #f7f7f7;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  padding: 5px;
}



/* --- PRICES --- */
#priceNewTable {
  margin: 2rem 3rem;
  width: auto;
}

#priceNewTable [class*="col-"] {
  padding: 0;
}

.accordion-group-heading h3 {
  margin: 0;
  border: none;
  color: #1ea9e1;
}

#stationPricesAccordion,
#basePricesAccordion,
#groupPricesAccordion {
  display: block;
  overflow: visible;
}

#stationPricesAccordion .card,
#basePricesAccordion .card,
#groupPricesAccordion .card {
  border-bottom: 1px solid #e0e0e0;
  border-radius: 5px;
  width: 100%;
}

#stationPricesAccordion .card-header,
#basePricesAccordion .card-header,
#groupPricesAccordion .card-header {
  border-bottom: none;
}

#priceNewTable .btn-primary, #priceNewTable .btn-primary:focus,
#priceNewTable .btn-primary:not(:disabled):not(.disabled):active {
  background: #1ea9e1;
  border-color: #1ea9e1;
  text-transform: capitalize;
  color: #fff;
  box-shadow: none;
  margin-top: 1rem;
}

#priceNewTable .modify-group-objects.btn, #priceNewTable .modify-group-objects.btn:focus,
#priceNewTable .modify-group-objects.btn:not(:disabled):not(.disabled):active {
  margin: 0 0 1rem;
}

#addStationsGroupModal .btn, #addStationsGroupModal .btn:focus {
  box-shadow: none;
}

#addStationsGroupModal .btn-primary, #addStationsGroupModal .btn-primary:focus {
  background: #1ea9e1;
  border-color: #1ea9e1;
}

#priceNewTable .btn-primary:hover, #addStationsGroupModal .btn-primary:hover {
  background: #148fb8;
  border-color: #148fb8;
}

#basePricesSaveType {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0 1rem;
}

.modify-price a {
  margin: 0;
}

.modify-price .material-icons {
  margin-right: .5rem;
  font-size: 1.2em;
}

.modify-price .btn-secondary {
  background: none;
  color: #000;
  padding: 1.2rem 0 0;
  border: none;
}

.modify-price .btn-secondary i {
  font-size: 1.8em;
}

#priceNewTable .prices-table-body tr:nth-child(odd) {
  background-color: rgba(0,0,0,.05);
  background-color: #f9f9fb;
}

#priceNewTable .card-body .select2-container {
  margin: 0 1rem 1rem 0;
}

#priceNewTable .locked-table-hidden-cell,
#priceNewTable .save-prices-button,
#priceNewTable .collapse-group-stations-select,
#priceNewTable .save-group-prices-button,
#priceNewTable .modify-group-objects {
  display: none;
}

.prices-table-body .locked-table-hidden-cell .fa-calendar{
  background: #1ea9e1;
  color: #fff;
  padding: .3rem;
  border-radius: .25rem;
  font-size: 1em;
}

#stationPricesAccordion .increase,
#basePricesAccordion .increase,
#groupPricesAccordion .increase {
  color: green;
}

#stationPricesAccordion .decrease,
#basePricesAccordion .decrease,
#groupPricesAccordion .decrease {
  color: red;
}

.logs-column {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  align-items: center;
}



@media screen and (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }

  #pricesNewTable .main-header {
    display: block;
  }

  #pricesNewTable .main-header.row div[class*="col-"] {
    display: flex;
    max-width: 100%;
  }

  #priceNewTable [class*="col-"] {
    max-width: 100%;
    align-items: start;
  }

  #priceNewTable {
    margin: 1.2rem;
  }

  #priceNewTable .card-body {
    padding: .8rem;
  }

  #priceNewTable .card-body .d-flex {
    display: block !important;
  }

  #stationPricesAccordion,
  #basePricesAccordion,
  #groupPricesAccordion,
  .accordion-group-heading {
    margin: 0;
  }

  #stationPricesAccordion .card-header,
  #basePricesAccordion .card-header,
  #groupPricesAccordion .card-header {
    padding: .8rem;
  }

  #stationPricesAccordion .card-header h5,
  #basePricesAccordion .card-header h5,
  #groupPricesAccordion .card-header h5 {
    font-size: 1.2em;
  }

  #priceNewTable .material-icons.expand-arrow {
    font-size: 1.5em;
    margin-left: auto;
  }

  #priceNewTable .card-body .select2-container {
    width: 100% !important;
  }

  .new-base-product-price, .new-group-product-price, .new-product-price {
    width: 75px;
  }

  #priceNewTable .btn-primary, #priceNewTable .btn-primary:focus,
  #priceNewTable .btn-primary:not(:disabled):not(.disabled):active {
    display: table;
    margin: 1rem auto 0;
  }


  #priceNewTable .modify-group-objects.btn, #priceNewTable .modify-group-objects.btn:focus,
  #priceNewTable .modify-group-objects.btn:not(:disabled):not(.disabled):active {
    display: none;
    margin: 0 40% 1rem;
  }

  #priceNewTable .modify-price {
    text-align: center;
  }

  .modify-price .material-icons {
    font-size: 1em;
  }


  #priceNewTable .logs-column .btn-primary {
    display: none;
  }

  #priceNewTable .logs-column {
    background: rgba(0,0,0,.03);
    padding: 1rem;
    margin: 1rem 0 0;
    border-radius: .25rem;
  }
}



/* --- PROFILE SETTINGS PAGE --- */
.info {
  padding: 15px 10px;
}

.info .change-pic {
  border-radius: 5px;
  position: absolute;
  opacity: 0;
  transition: .5s ease;
  width: 120px;
  height: 120px;
  margin-left: -4px;
  background-color: rgba(119, 119, 119, .6);
}

.info .change-pic:hover {
  opacity: 1;
}

.info .change-link a {
  position: absolute;
  color: #fff;
  top: 42%;
  left: 20%;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 18px;
}

.user-info img {
  display: block;
  border-radius: 5px;
  width: 120px;
  height: 120px;
  margin-bottom: 10px;
  margin-left: -4px;
  border: 1px dashed #e2e2e2;
}

.info form {
  padding-right: 5%;
}

.info label {
  color: #888;
}

.info .form-control {
  color: #333;
  border: none;
  padding-left: 0;
  border-bottom: 1px solid #ccc;
  border-radius: 0;
}

.info .form-control:focus {
  box-shadow: none;
  border-color: #1ea9e1;
}

.info .btn {
  background-color: #1ea9e1;
  color: #fff;
  font-size: .95rem;
}

.info .btn:hover {
  background-color: #148fb8;
}

.info form {
  margin-bottom: 40px;
}

.info .form-control:disabled {
  background-color: #fff;
}

#btnCache, #btnChange {
  background-color: #1ea9e1;
  color: #fff;
  text-transform: uppercase;
  font-size: .8em;
  padding: 10px 20px;
}

#btnCache:hover {
  background-color: #148fb8;
}

#drop-area {
  height: 220px;
  border: 2px dashed #ccc;
  text-align: center;
  margin: 10px 10px;
  padding: 60px 0;
}

#drop-area input {
  margin: 20px 0 0 60px
}

#add-user-form {
  margin: auto 5%;
}

#rights-table .table-head {
  text-align: center;
}

#rights-table .rows-group > .row {
  background-color: #f9f9fb;
  text-align: center;
}

.scrollable-table {
  overflow-y: scroll;
  max-height: 66vh;
}
/* eof profile settings page */


/* --- ADD TO SIDEBAR BTN -- */

.add-to-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  overflow: hidden;
  z-index: 999;
}

.add-to-sidebar a {
  margin: -120px -120px 0 0;
  background: #fff;
  border: 1px dashed #ccc;
  border-radius: 50%;
  height: 220px;
  width: 220px;
  text-align: center;
  display: block;
  color: #666;
}

.add-to-sidebar span {
  position: absolute;
  top: -4px;
  right: 0;
  left: 55px;
  font-size: 3em;
}

.add-to-sidebar span:nth-child(2) {
  font-size: 1.2em;
  top: 48px;
  left: 55px;
  text-transform: uppercase;
}

.add-to-sidebar:hover a {
  margin: -110px -110px 0 0;
}
/* add to sidebar btn */


/* --- LOGIN --- */

#login {
  position: fixed;
  margin: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(60deg, #1ea9e1, #148fb8);
  padding-top: 10%;
}

#login .btn.btn-primary {
  margin-top: 20px;
  background-color: #333;
}

#login .form-control {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

#login .field-icon {
  float: right;
  right: 5px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}

#login input {
  padding: 10px;
}

#login img {
  width: 100%;
  margin-bottom: 20px;
}

#login .help-block {
  color: #721c24;
}

.form-signin {
  max-width: 420px;
  padding: 15px;
  margin: 0 auto;
}
/* eof login */


/* --- DASHBOARD  --- */
.center-container {
  width: 90%;
  margin: 0 auto;
  padding-top: 1%;
  text-align: center;
  position: relative;
}

.center-container h3 {
  font-family: GothaMed, sans-serif;
  margin-bottom: 1rem;
}

#dashboard-icons .row {
  display: inline-block;
}

.btn-large {
  background-color: #1ea9e1;
  border-radius: 15px;
  width: 150px;
  height: 150px;
  margin: 20px 10px 0;
}

.btn-large:hover {
  background-color: rgba(30, 169, 225, .6);
}

.button-holder {
  margin: 0 auto;
}

.button-holder a {
  color: #fff;
  text-transform: uppercase;
}

.btn-large img {
  margin-top: 10px;
  width: 80px;
  height: 80px;
}

.btn-large p {
  font-size: 14px;
  padding: 10px 0;
}
/* --- eof dashboard -- */


/* --- RESPONSIVE FOR TANKS --- */
@media screen and (max-width: 700px) {
  .missing-info {
    display: none;
  }
}

@media screen and (max-width: 546px) {
  .btn-large {
    width: 120px;
    height: 120px;
  }

  .btn-large img {
    width: 50px;
    height: 50px;
  }

  .btn-large p {
    font-size: 1em;
  }
}


/* WARNINGS */
#warningsTable {
  height: 80vh;
}

#warningsTable .table-head, #productsList .table-head {
  word-break: keep-all;
}

#warningsTable .box, #productsList .box{
  width: 22px;
  height: 22px;
}

#warningsTable .rows-group, #productsList .rows-group {
  overflow-y: scroll;
  height: 96%;
}

#warnings-container {
  padding-bottom: 10px;
}

.status-filter {
  margin: auto .2rem;
  color: #ffffff;
}
/* --- eof warnings --- */


/* LOADER */
#preloader, #preloaderFilter, .preloaderDashboard, .preloaderDashboardTable, .preloaderDashboardSecondTheSame,
.preloaderOpenSalesByState,
.preloaderOpenSalesByMonth {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: #f1f1f1 url("../img/loader.gif") no-repeat center center;
  background-size: 60px;
  display: none;
}
/* eof loader */

@font-face {
  font-family: GothaMed;
  src: url(../fonts/GothaProNarMed.ttf);
}


/* --- RESPONSIVE FOR WARNINGS --- */
@media (min-width: 901px) and (max-width: 1350px) {
  #warningsTable .table-row div:nth-child(2),
  #warningsTable .table-row div:nth-child(3),
  #warningsTable .rows-group .items-row .col-1:nth-child(2),
  #warningsTable .rows-group .items-row .col-1:nth-child(3){
    min-width: 12%;
  }

  #warningsTable .table-row div:nth-child(4),
  #warningsTable .rows-group .items-row div:nth-child(4) {
    max-width: 12%;
  }

  #warningsTable .col-3 {
    max-width: 22%;
  }

  #warningsTable .col-sm div:nth-child(8) {
    min-width: 10%;
  }
}


@media screen and (max-width: 900px) {
  #warningsTable .table-head {
    display: none;
  }

  #warningLogTable .table-head {
    display: block;
  }

  #warningsTable .log-label {
    display: block;
    min-width: 25%;
  }

  #warningsTable .transaction-block .row {
    display: block;
  }

  #warningsTable .transaction-block .row div {
    display: flex;
  }

  .change-warnings-width {
    max-width: 100%;
  }

  .hide-warning-log {
    display: none;
  }

  #warningLogTable .col-3 {
    min-width: 35%;
  }

  #warningLogTable .col-6 {
    min-width: 65%;
  }
}


@media screen and (max-width: 576px) {
  #warningsTable .log-label {
    min-width: 35%;
  }
}


@media screen and (max-width: 480px) {
  #warningsTable .transaction-block .row,
  #warningLogTable {
    font-size: .8em;
  }

  #warningsTable .log-label {
    min-width: 40%;
  }

  #detailsArrow i {
    font-size: 1.1em;
  }

  #warningLogTable .col-3 {
    min-width: 40%;
  }

  #warningLogTable .col-6 {
    min-width: 60%;
  }
}


/* --- RESPONSIVE FOR TANKS --- */
@media screen and (max-width: 767px) {
  .hide-content {
    display: none;
  }

  .second {
    left: 40px;
  }

  #tank-name {
    display: none;
  }

  #tanks-table .table-head .value, #tanks-table .table-head ._value {
    min-width: 100%;
  }

  #tanks-table .measuring-point-name {
    min-width: 38%;
  }

  #tanks-table .state {
    margin-left: 10%;
  }
}


@media screen and (max-width: 575px) {
  #tanks-table .row {
    flex-wrap: nowrap;
    font-size: .9em;
  }

  #tanksTable .main-header {
    flex-wrap: wrap;
  }

  .second {
    left: 0;
  }

  #tanks-table .warning-sign {
    margin-left: -10px;
  }

  ._product {
    word-break: break-word;
  }
}


/* --- RESPONSIVE FOR SIDEBAR --- */
@media screen and (max-width: 1700px) {
  #sidebar h4 span {
    display: block;
  }
}


@media screen and (max-width: 1200px) {
  #sidebar {
    width: 100%;
  }


  .planner-container #sidebar {
    width: 100% !important;
  }

  #sidebar.undercover {
    margin-right: -100%;
  }

  .responsive-card {
    display: none;
  }

  .arrow-holder .arrow {
    padding: 4px;
  }

  #sidebarCollapse {
    width: 12px;
  }

  #chart-area svg {
    margin-top: -15px;
  }
}


/* --- RESPONSIVE FOR STATIONS --- */
@media screen and (max-width: 700px) {
  #stationsTable .row > .row div {
    font-size: .8em;
    word-break: keep-all;
  }

  #stationsTable .station-icon img {
    height: 20px;
  }

  #stationsTable .btn-circle {
    width: 25px;
    height: 25px;
    font-size: 8px !important;
    padding: 0;
  }
}


@media screen and (max-width: 452px) {
  #stationsTable ._station a:nth-child(1) {
    display: block;
  }
}


@media screen and (max-width: 425px) {
  #stationsTable .row > .row div {
    font-size: .7em;
  }

  #stationsTable .col-sm .col-1 {
    margin-right: 5%;
  }
}


/* --- RESPONSIVE FOR STATION --- */
@media screen and (min-width: 1201px) {
  #stationCards #stationTable .change-table > div:nth-child(1) > div:nth-child(2),
  #stationCards #stationTable .change-row > div:nth-child(1) > div:nth-child(2) {
    max-width: 12%;
  }

  #stationCards #stationTable .change-table > div:nth-child(1) > div:nth-child(3),
  #stationCards #stationTable .change-row > div:nth-child(1) > div:nth-child(3) {
    max-width: 12%;
  }

  #stationCards #stationTable .change-table > div:nth-child(1) > div:nth-child(5),
  #stationCards #stationTable .change-row > div:nth-child(1) > div:nth-child(5) {
    min-width: 15%;
  }
}


@media screen and (max-width: 1200px) {
  .station-hide-content {
    display: none;
  }

  #stationCards #stationTable .change-table > div:nth-child(3),
  #stationCards #stationTable .change-row > div:nth-child(3) {
    max-width: 10%;
  }
}


@media screen and (max-width: 700px) {
  #stationCards .hide-row {
    display: none;
  }

  #stationCards .flex-row {
    display: block;
    padding-left: 0;
  }

  #stationCards .flex-row .col-lg-2, #stationCards .flex-row .col-lg-4, #stationCards .rows-group .col-flex {
    display: flex;
  }

  #stationCards .rows-group .col-flex {
    padding: 0 5px;
  }

  #transactionTable .rows-group .row .col-2 {
    padding: 0;
  }
}


@media screen and (max-width: 500px) {
  #transactionTable .rows-group {
    font-size: .8em;
  }

  #transactionTable .table-head .row .col-2,
  #transactionTable .rows-group .row .col-2 {
    min-width: 20%;
  }
}


@media screen and (max-width: 360px) {
  #transactionTable .rows-group {
    font-size: .7em;
  }
}


/* -- RESPONSIVE FOR PRICES --- */
@media (max-width: 700px) {
  #priceTable .prices-in-stations > div > .col-sm {
    flex-wrap: wrap;
  }

  #priceTable .prices-in-stations > div > .col-sm > .tooltip-title {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    font-weight: bold;
  }

  #pricesTable .table-head {
    display: none;
  }

  #pricesTable .row .row {
    display: block;
  }

  #pricesTable .main-header .row {
    display: flex;
  }

  #pricesTable .row > .row div {
    flex: 0;
    max-width: 50%;
    text-align: left;
    float: left;
    width: 50%;
    line-height: 2rem;
  }

  #pricesTable .row > .row div span.price_searchcode {
    display: inline-block;
    color: #888;
  }

  #pricesTable .row > .row div span {
    width: 40%;
    display: inline-block;
    border-bottom: 1px solid #f1f1f1;
  }

  #pricesTable .row > .row div span.unconfirmed {
    position: absolute;
    right: -20px;
    border-bottom: none;
  }

  #pricesTable .row > .row div span.unconfirmed span {
    border-bottom: none;
  }

  .main-table h3 {
    font-size: 1.1em;
  }

  .base_price {
    display: none;
  }
}


.log-label {
  display: none;
  font-weight: bold;
}

.hidden-element {
  display: none;
}


/* -- RESPONSIVE FOR LOGS --- */
@media screen and (max-width: 1200px) {
  #logsTable div.col-3.document-nr{
    max-width: 80px;
  }
}

@media (max-width: 700px) {
  #logsTable .row, #stationCards .rows-group .col-flex {
    min-width: 100%;
  }

  #logsTable .row {
    padding: .2rem 0.32rem;
  }

  #logsTable .row.table-head, #stationCards .main-table .change-table:nth-child(1) {
    display: none;
  }

  .transaction-block .invisible-log {
    display: none;
  }

  .transaction-block .hidden-element {
    display: block;
  }

  .responsive-column {
    max-width: 100%;
  }

  #logsTable .transaction-block .open-details {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    padding: 8px;
    z-index: 999;
  }

  .change-width {
    max-width: 100%;
  }

  .transaction, .workplace, .time, .device, .document-nr {max-width: 100%;}
  .operation {padding: 0 5px;}

  #logsTable .rows-group .row .col-sm {
    display: block;
  }

  #logsTable .rows-group .row .col-sm div {
    display: flex;
  }

  #logsTable .rows-group col {
    padding-left: 0;
  }

  #logsTable .log-label, #stationCards .log-label {
    display: block;
  }

  #logsTable .row span:nth-child(1), #stationCards .flex-row span:nth-child(1) {
    min-width: 20%;
  }

  #logsTable .row span:nth-child(2) {
    display: block;
  }

  /* accordion */
  #logsTable .accordion .row-item > .row > div,
  #logsTable .accordion .row-item > .row.col-1,
  #logsTable .accordion .row-item > .row > div .log-label{display: none;}
  #logsTable .accordion .row-item > .row > div.time,
  #logsTable .accordion .row-item > .row > div.device,
  #logsTable .accordion .row-item > .row > div.operation,
  #logsTable .accordion .row-item:nth-child(1) > .row > div .log-label{display: block;}

  #logsTable .accordion .row-item{
    flex-wrap: nowrap;
    align-items: flex-start;
    border-top:  1px solid #ccc;
  }

  #logsTable .accordion .row-item > .row{
    display: flex;
    width: 50%;
    min-width: 50%;
    align-items: flex-start;
  }

  #logsTable .accordion .row-item > .row > div{
    width: 50%;
    min-width: 50%;
  }

  #logsTable div.col-3.document-nr{
    min-width: 100%;
  }
}

@media screen and (max-width: 434px) {
  #logsTable .row span:nth-child(1), #stationCards .flex-row span:nth-child(1) {
    min-width: 30%;
  }

  #logsTable div.col-sm:first-child {
    border: none;
    min-width: 30%;
  }
}


/* --- RESPONSIVE FOR SETTINGS --- */
@media screen and (max-width: 1680px) {
  #usersSettings .privileges-width,
  #privilegesTable .privileges-width {
    min-width: 9%;
    word-break: keep-all;
  }

  #privilegesTable .save-btn {
    max-width: 13%;
  }

  #privilegesTable button {
    font-size: .8em;
  }
}


@media screen and (max-width: 1439px) {
  #privilegesTable {
    max-height: 105vh;
  }

  #usersSettings .col-sm {
    font-size: .8em;
  }
}


/* --- RESPONSIVE FOR ALL --- */
@media (max-width: 1023px), screen and (max-height: 600px) {
/*@media (max-width: 1423px), screen and (max-height: 600px) {*/
  #paymentCardsTableHolder,
  #cardTransactionsTableHolder {
    overflow: auto;
  }

  .main-container {
    width: 100%;
  }

  .main-navbar {
    padding: 1rem;
  }

  #aside {
    margin-left: -300px;
  }

  #aside.active {
    background: rgba(58, 56, 56, .9);
    margin-left: 0;
    width: 100%;
    transform: none;
    left: 0;
    z-index: 1060;
  }

  #aside.active .inner-container {
    transform: none;
  }

  .logo {
    padding: 10px 0;
  }

  .logo img {
    width: 150px;
  }

  .user_info {
    padding: 15px 0 0;
  }

  .user_info img.user_profileimg {
    right: inherit;
    left: 0;
    height: 30px;
    width: 30px;
    position: relative;
    top: -3px;
  }

  .user_info img.user_settingicon {
    display: none;
  }

  .user_info::after {
    width: 100%;
    margin: 15px 0;
  }

  #main_menu {
    width: 85%;
    margin: auto;
  }

  #main_menu ul {
    padding: 0;
    margin: 0;
  }

  #main_menu ul::after, #main_menu li.menu-group::after {
    display: none;
  }

  #main_menu li {
    display: block;
    width: 32.33%;
    margin: 0 .5%;
    padding: 0;
    left: 0;
    float: left;
  }

  #main_menu li.menu-group {
    margin-bottom: 0;
  }

  #main_menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    text-align: center;
  }

  #main_menu a img,
  #main_menu a i {
    display: block;
    margin: 0 auto 5px;
  }

  #main_menu a i {
    font-size: 24px !important;
  }

  #main_menu a span {
    display: block;
    font-size: 14px;
  }

  .responsive-menu {
    display: block;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: linear-gradient(60deg, #1ea9e1, #148fb8);
    border-radius: 50%;
    height: 50px;
    width: 52px;
    z-index: 99999;
    cursor: pointer;
    padding: 10px 13px;
  }

  .responsive-menu span {
    display: block;
    height: 3px;
    width: 25px;
    background: #fff;
    border-radius: 10px;
    margin: 5px 0;
  }

  .responsive-menu span:nth-child(2) {
    width: 15px;
  }

  .responsive-menu.active {
    right: 50%;
    margin-right: -25px;
  }

  .responsive-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
  }

  .responsive-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .responsive-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
  }

  .card-holder {
    width: 100%;
  }
}


@media (min-height: 600px) and (max-height: 700px) {
  .logo img {
    width: 120px;
  }
  .user_info {
    padding: 110px 0 0;
  }
  .user_info::after {
    margin: 10px 0;
  }
  .user_info img.user_profileimg, .user_info img.user_settingicon {
    width: 80px;
    height: 80px;
  }
  #main_menu a {
    padding: 8px;
  }
}


@media screen and (max-width: 700px) {
  .main-navbar .nav-link, .main-navbar .nav-link.active {
    font-size: .9em;
    padding: .5rem;
  }

  .add-to-sidebar a {
    margin: -60px -60px 0 0;
    background: #fff;
    border: 1px dashed #ccc;
    border-radius: 50%;
    height: 110px;
    width: 110px;
    text-align: center;
    display: block;
    color: #666;
  }

  .add-to-sidebar span {
    position: absolute;
    top: -12px;
    right: 2px;
    left: 25px;
    font-size: 3em;
  }

  .add-to-sidebar span:nth-child(2) {
    display: none;
  }

  .add-to-sidebar:hover a {
    margin: -50px -50px 0 0;
  }
}


@media (min-width: 576px) and (max-width: 596px) {
  .status-filter {
    font-size: 1em;
  }

  .status-filter img {
    height: 24px;
  }
}


@media screen and (max-width: 575px) {
  .main-header .btn.reloadData i {
    font-size: 1.8em;
  }

  .main-header img {
    height: 25px;
  }

  .main-header .search {
    margin: 0 0 12px 0;
  }

  .main-header .submit-btn {
    margin: 0 .5rem .5rem 0;
  }

  .center-container h3 {
    padding-top: 30px;
  }

  #sidebar .card-header {
    height: 160px;
  }

  #fuelsChartCard {
    padding-top: 1.2rem !important;
  }

  #sidebar .card-body {
    font-size: .8em;
    padding: .5rem;
  }

  #sidebar h4 {
    font-size: 1.2em;
  }

  #chart-area svg {
    margin-top: -25px;
  }
}


@media screen and (max-width: 480px) {

  .card-responsive {
    width: 100%;
  }
}


@media screen and (max-width: 380px) {
  #main_menu {
    width: 95%;
  }

  .main-header .col-sm-8 {
    padding: 0 5px;
  }

  .main-header a {
    font-size: .6em;
  }

  .main-header .btn {
    margin: .5rem .1rem .5rem 0;
    padding: .2rem .6rem;
  }

  .main-header .filters-close img {
    height: 15px;
  }

  .main-header img {
    height: 22px;
  }

  .form-control {
    font-size: .8em;
    padding: 0;
  }

  .material-icons {
    font-size: 20px;
  }

  .prices-lock-all i {
    font-size: 22px;
  }

  .radio-buttons .btn, #logsPeriod .btn {
    padding: 8px 25px;
    font-size: .8em;
  }

  .modal-footer .btn {
    font-size: .8em;
    padding: 8px 18px;
  }

  .status-filter {
    font-size: .8em;
  }

  .status-filter img {
    height: 20px;
  }
}


#logsTable div.col-2.time {
  min-width: 80px;
}

/* --- REPORTS --- */
/*Reports filter modal*/
.reports-view .select2 {
  width: 100% !important;
}

.reports-view .accuracy .select2 {
  width: 15% !important;
  margin-bottom: 10px;
}

.reports-view .row {
  margin-top: 10px;
  margin-bottom: 15px;
}

select#LOCDIFF.select2.report-option  {
  border-color: #ccc;
  min-height: 32px;
  line-height: 32px;
  border-radius: 5px;
}

.reports-view .select2-container--default .select2-selection--single {
  border-color: #ccc;
  min-height: 32px;
  line-height: 32px;
}

.reports-view .select2-container--default .select2-selection--single .select2-selection__rendered{
  line-height: 32px;
  min-height: 32px;
}

.reports-view .select2-container--default .select2-selection--single .select2-selection__arrow{
  height: 32px;
}

.reports-view .select2-container {
  font-size: 16px;
  line-height: 1em;
}

.reports-view .select2-selection--multiple {
  max-height: 180px;
  overflow: auto
}

/*.select2-container .select2-selection--single{*/
/*  height: 32px;*/
/*}*/

.reports-view  .filter {
  width: 150px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 32px;
}

.reports-view .material-icons{
  line-height: 0;
}
/*Reports details page (Reports by product)*/
.reports-upper-left {
  background-color: #ffffff;
  width: 45%;
  flex-grow: 1;
  padding: 20px;
  height: 400px;
  border-radius: 10px;
  margin-bottom: 2%;
  margin-right: 0.5%;
}

.reports-upper-right {
  background-color: #ffffff;
  flex-grow: 1;
  margin-left: 0.5%;
  padding: 20px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 2%;
}

.report-table-header th {
  white-space: nowrap;
  color: #3a3838;
  font-weight: 600;
  top: 0;
}
thead.report-table-header th.sorting_disabled{
  padding: 8px 10px;
}

.report-table-header {
  background: #ffffff;
}
.report-table-header tbody td{
  background: white;
  color: #464646;
  line-height: 1;
}

.report-summary-table .table thead th {
  border: none;
  color: white;
  border-right: .5px solid #dddddd;
}

.report-summary-table table.table thead tr {
  background: linear-gradient(60deg, #1ea9e1, #148fb8);
  position: sticky !important;
  top: 0;
}

.report-summary-table {
  width: 100%;
  height: 65%;
  overflow-x: scroll;
  margin-top: 2%;
}
.report-summary-table .table-striped tbody tr:nth-of-type(even) {
  background-color: rgb(249 249 249);
}
.report-summary-table .table-striped tbody tr:nth-of-type(odd) {
  background-color: white;
}
.report-summary-table .table td,
.report-summary-table .table th {
  padding: .5rem;
  border: none;
  border-bottom: 1px solid #dee2e6;
}

/*Reports horizontal products pies section*/
#generated-report .col-sm-8 {
  width: 100%;
}

.reportsFiltersMenu .btn {
  position: relative;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  -ms-align-items: center;
  align-items: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  -ms-justify-content: center;
  justify-content: center;
  -ms-flex-pack: center;
  text-align: center;
  padding: 0;
  padding: 6px 8px;
  font-size: 12.32px;
  line-height: 1.2em;
  border-radius: 4px;
  cursor: pointer;
  background-color: #c0dae430;
  border-right-width: 1px;
  border-color: rgba(17, 92, 117, 0.22);
}

.reportsFiltersMenu img {
  vertical-align: middle;
  height: 25px;
  margin-right: 4px;
}

#product-pies {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 1%;
  flex-wrap: nowrap;
  align-content: center;
  overflow-x: auto;
}

#product-pies h3 {
  font-size: 1rem;
  text-align: center;
}

#reports-pies-legend {
  width: 100%;
  justify-content: center;
  text-align: center;
  display: flex;
  margin-bottom: 10px;
  margin-top: 5px;
}
.display-pies {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: space-evenly;
}

/* Reports tables SCROLLBARS*/
#product-pies::-webkit-scrollbar {
  height: 8px;
  width: 3px;
  background-color: white;
}

.report-summary-table::-webkit-scrollbar,
.report-table .dataTables_scrollBody::-webkit-scrollbar {
  height: 8px;
  width: 8px;
  background-color: white;
}

#product-pies::-webkit-scrollbar-thumb,
.report-summary-table::-webkit-scrollbar-thumb,
.report-table .dataTables_scrollBody::-webkit-scrollbar-thumb {
  background-color: #7f7f7f;
  border-radius: 8px;
}

/*REPORTS DETAIL STRIPED TABLE*/

/*add borders to datatable header*/
table.dataTable.row-border thead th,
table.dataTable.row-border thead td,
table.dataTable.display thead th,
table.dataTable.display thead td{
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

/*remove borders from datatable*/
table.dataTable.row-border tbody th,
table.dataTable.row-border tbody td,
table.dataTable.display tbody th,
table.dataTable.display tbody td{
  border: none;
}

.report-detail-table{
  width: 100%;
  overflow-y: auto;
  margin-top: 0.5%;
}
.report-detail-table h3{
  font-size: 1.4rem;
  color: #505b5f;
}

.report-detail-table h4{
  font-size: 1.2em;
  color: #545050;
  margin: 0;
  font-weight: 600;
}

/*product name*/
.report-table .group {
  background-color: white;
  margin: 0;
  padding: 2px 10px;
  justify-content: flex-end;
  flex-direction: column;
  width: 100%;
  vertical-align: bottom;
}

table.dataTable.row-border tbody td.group::before,
table.dataTable.row-border tbody th.group::before {
  border-bottom: 1px solid #115c75;
}

/*total row*/
tr#reports-detail-table-total-row.odd,
tr#reports-detail-table-total-row.even {
  background-color: rgba(170, 198, 231, 0.25);
}

/*Location name row*/
table.dataTable tbody tr.location-name {
  background: linear-gradient(60deg, #1ea9e1, #148fb8);
}

table.dataTable tbody tr.location-name.odd>td,
table.dataTable tbody tr.location-name.even>td {
  justify-content: center;
  align-items: center;
  color: white;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

/*report table Copy, CSV, PDF buttons*/
button.dt-button, div.dt-button, a.dt-button, input.dt-button {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  margin-right: .45em;
  margin-bottom: .33em;
  padding:  10px 18px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: .88em;
  line-height: 1.1em;
  color: white;
  white-space: nowrap;
  overflow: hidden;
  background-color: #1ea9e1;
}
button.dt-button:hover:not(.disabled),
div.dt-button:hover:not(.disabled),
a.dt-button:hover:not(.disabled),
input.dt-button:hover:not(.disabled) {
  border: none;
  background-color: #148fb8;
  margin-right: .45em;
  margin-bottom: .33em;
  padding:  10px 18px;
  border: none;
  border-radius: 4px;
  font-size: .88em;
  line-height: 1.1em;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.14), 0 2px 3px -2px rgba(20, 143, 184, 0.3);
}
div.dt-buttons {
  margin-bottom: 15px;
}

/*report table footer row*/
.report-detail-table tfoot{
  background-color: #ececec;
  align-self: center;
}

.report-table table.dataTable tfoot th,
.report-table table.dataTable tfoot td {
  padding: 8px 10px;
}
/*Report legend*/
.reportLegend {
  border-radius: 50%;
  width: 20px;
  height: 20px;
  margin: 0 10px 0 5px;
}
.report-small-col {
  width: -moz-fit-content;
}

.align-right {
  text-align: right;
}

.box .apexcharts-xaxistooltip {
  background: #1B213B;
  color: #fff;
}

.content-area {
  max-width: 80%;
  margin: 0 auto;
}

.box {
  background-color: #262D47;
  padding: 25px 25px;
  border-radius: 10px;
}

.columnbox {
  padding-right: 15px;
}
.radialbox {
  max-height: 333px;
  margin-bottom: 60px;
}
.fixedHeight {
  max-height: 333px;
  margin-bottom: 60px;
}

.apexcharts-legend-series tspan:nth-child(3) {
  font-weight: bold;
  font-size: 20px;
}

.spinner-border {
  display: none;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
  font-size: 1rem;
}

/* Sidebar Scroll Styling */
#aside .inner-container {
  scrollbar-width: thin;
  scrollbar-color: #888 transparent;
}

#aside .inner-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

#aside .inner-container::-webkit-scrollbar-thumb {
  background-color: #888;
  border-radius: 10px;
}

#aside .inner-container::-webkit-scrollbar-track {
  background: transparent;
}

