﻿body {
  min-height: 2000px;
}
html {
  font-size: 0.86rem;
}

.list-group .nav {
  display: none;
}

#main {
  position: absolute;
  top: 50px;
  width: 100%;
}

#tabControl {
  margin-left: 250px;
  margin-top: 10px;
}

.dropdown-menu, .dropdown-item {
    z-index: 1000;
}

.tpl_row{
    margin-bottom:-10px;
}

/*
 * Off Canvas
 * --------------------------------------------------
 */
@media screen and (max-width: 7680px) {
  .row-offcanvas {
    position: relative;
    -webkit-transition: all 0.25s ease-out;
    -moz-transition: all 0.25s ease-out;
    transition: all 0.25s ease-out;
  }

  .row-offcanvas-left
  .sidebar-offcanvas {
    left: -200px;
  }

  .row-offcanvas-left.active {
    left: 200px;
  }

  .sidebar-offcanvas {
    position: absolute;
    top: 0;
    width: 200px;
    margin-left: 12px;
  }
}

.modal.modal-wide .modal-dialog {
  max-width: 90% !important;
}
.modal-wide .modal-body {
  overflow-y: auto;
}

.hidden {
  display: none;
}

.row {
  margin-bottom: 10px;
}

#topnavigation {
  min-height: 50px;
}
.top-icon {
  text-align: center;
}
.topnav-icontext {
  white-space: nowrap;
  max-width: 40px;
  display: block;
  text-overflow: ellipsis;
  overflow:hidden;
  text-align: center;
  font-size: 0.8rem;
}

.nav-item {
  margin-top: 5x;
  margin-bottom: -10px;
}

.dropdown-item i {
  margin-left: -15px;
  margin-right: 5px;
}

#toolbar {
  margin-bottom: 10px;
}

.group-container {
  padding-top: 5px;
  padding-bottom: 5px;
  margin-bottom: 8px;
  background: #e0e0e0;
}

.tab-pane {
  margin-top: 10px;
}

.btn-window {
  margin: 5px;
  padding: 5px 10px;
}

.display_message {
  background:white;
  border-radius:5px;
  border:2px solid black;
}
.display_message_success {
  background:#88ee44!important;
}

.display_message_fail {
  background:#ee8844!important;
}

.debit {
  color:red!important;
}
.credit {
  color:black!important;
}
.format_currency {
  text-align:right;
}

.container-list > * { background-color: #00000022; }
.container-list > *:nth-child(even) { background-color: #00000033; }

[mode=create] [mode-hide=create] {display: none;}
[mode=edit] [mode-hide=edit] {display: none;}

.home .row a, .dashboard .row a {
  margin: 1em;
  display: flex;
	flex-direction: column;
	align-items: center;
  text-decoration: none;
}
.home .row a i, .dashboard .row a i {
  font-size: 300%;
}

/* nav-tabs eg. on Partner Edit */
.modal-dialog .nav-tabs .nav-item {
    color: white;
    background: rgb(0, 123, 255);
    margin-bottom: 0px;
    margin-left: 2px;
}
.modal-dialog .nav-tabs .nav-link.active {
    color: white;
    background: rgb(0, 175, 255);
}

button.btn-light {
    background-color: rgb(224, 224, 224);
    color: #212529;
    ;
}

div.scroll40vh {
    max-height:40vh;
    overflow: auto;
}

/* anchor must be lower because of the top bar (height: 50 px) */
a.anchor {
    display: block;
    position: relative;
    top: -65px;
    visibility: hidden;
}