html {
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #555;
  font-size: 15px;
  line-height:normal;
  text-rendering: geometricPrecision;
}

label {
  font-weight: 400;
  font-size: 1.2em;
}

.logo {
  width: 150px;
  display: inline-block;
  padding: 0px 30px 0px 10px;
}

a {
  text-decoration: none;
  color: #444;
}

a:hover {
  color: #222;
}

button {
  outline: none;
  background: #09c6d2;
  border: 1px solid #DDD;
  border-radius: 3px;
  color: #fff;
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.2em;
  padding: 10px 35px;
  text-transform: uppercase;
}

button.btn-green {
  color: white;
  background-color: #90cb7e;
}

button.btn-red {
  color: white;
  background-color: #f30e49;
}

button.btn-gray {
  color: white;
  background-color: #AAA;
}

button:disabled {
  color: gray;
  background-color: white;
}

button > span {
  transform: scale(1.1,1);
  display: inline-block;
  font-weight: 100;
}

input[type="checkbox"] {
  -webkit-appearance: none;
  background-color: #FFF;
  height: 16px;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  border: 1.5px solid #AAA;
  max-width: 16px;
  margin: 0;
  padding: 9px;
}

input[type="checkbox"]:checked {
	background-color: #90cb7e;
	border: 1.5px solid #90cb7e;
	color: #99a1a7;
}

input[type="checkbox"]:focus{
  outline:0;
}

input[type="checkbox"]:checked:after {
  content: '\2713';
  font-size: 15px;
  position: absolute;
  top: 0px;
  left: 0px;
  font-weight: 500;
  color: #FFF;
  line-height: 16px;
}


button.btn-dropdown {
  border: 1px solid transparent;
  background: transparent;
  color: #555;
  text-transform: capitalize;;
  font-size: 1em;
  font-weight: 300;
  padding: 10px;
}

button.btn-dropdown:hover, button.btn-dropdown[aria-expanded="true"] {
  border: 1px solid #DDD;
}

button.little {
  border-radius: 10px;
  font-size: 10px;
  font-weight: 100;
  line-height: 1.2em;
  padding: 3px;
  text-transform: none;
  margin: 0px 3px;
  width: 19px;
  cursor: pointer;
  background: transparent;
  color: #09c6d2;
  border: 1px solid #09c6d2;
}

button.medium {
  outline: none;
  background: #FFF;
  border: 1px solid #DDD;
  border-radius: 3px;
  color: #999;
  font-size: 0.8em;
  font-weight: 100;
  line-height: 0.8em;
  padding: 6px 12px;
  text-transform: uppercase;
  margin: 0px 5px;
}

button.medium:hover, button.little:hover {
  color: white;
  background-color: #666;
}

input {
  outline: none;
  color: #555;
  font-size: 1.1em;
  font-style: italic;
  font-weight: 300;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #DDD;
  width: 300px;
}

input.account-search {
  outline: none;
  color: #777;
  font-size: 1.1em;
  font-style: italic;
  padding: 0px 10px;
  border-radius: 4px;
  border: 1px solid #DDD;
  width: 300px;
  line-height: 2em;
}

a.secondary {
  font-size: 0.9em;
  color: #AAA;
  cursor: pointer;
}

a.secondary.-disabled {
  color: #EEE;
  cursor: default;
  text-decoration: none;
  pointer-events: none;
}

.dropdown-menu {
  border: 1px solid rgba(0,0,0,0.05);
}

.dropdown-menu a.menu-item {
  font-size: .95em;
  color: #666 !important;
  height: 28px;
  font-weight: 500 !important;
}

.dropdown-menu a.menu-item.-red {
  color: #A66 !important;
}

.dropdown-menu li:not(:last-of-type) {
  border-bottom: 1px solid #EEE;
}

/*MAIN*/

.wrapper {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
}

.content {
  display: flex;
  min-height: calc(100vh - 120px);
  background: #EEE;
  flex-direction: column;
}

.breadcrumbs {
  padding: 10px;
  border-bottom: 1px solid #DDD;
  flex-shrink: 0;
  height: 60px;
  overflow: hidden;
}

.breadcrumbs > span {
  padding: 0px 20px;
}

.bar {
  padding: 10px;
  border-bottom: 1px solid #DDD;
  display: flex;
  flex-shrink: 0;
  height: 60px;
  overflow: hidden;

}

logout {
  flex: 1;
  text-align: right;
  line-height: 2.7em;
}

/*LOGIN*/

.content.login {
  justify-content: center;
  display: flex;
  flex-direction: row;
}

.content.login > div {
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.content.login > div > button {
  color: #FFF;
  text-transform: none;
}

.login-error {
  color: #da1111;
  font-weight: 400;
  text-align: center;
  padding: 10px 0;
  margin: 20px 0;
  background-color: rgba(255, 255, 255, 0.27);
  border-radius: 5px;
  box-shadow: 0 0 12px -3px rgba(0, 0, 0, 0.25);
}

/*CRUD*/

.crudwrapper {
  background-color: white;
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  overflow: scroll;
}

.crudinnerwrapper {
  display: flex;
  justify-content: center;
}

.crudinnerwrapper > div {
  width: 100%;
}

.crudinnerwrapper > div > div {
  display: flex;
  justify-content: space-between;
  min-width: 1350px;
}

/* LIST */

table {
  border-collapse: collapse;
  margin: 0px;
}


.list-header-label.-extra-large {
  width: 375px;
}

.list-header-label.-medium {
  width: 200px;
}

.list-header-label.-small{
  width: 110px;
}

.list td > tree-view > ul > li {
  margin-left: 0;
}

th, .list-header-label {
  text-align: left;
  text-transform: uppercase;
  font-weight: 200;
  color: #999;
  font-size: 0.9em;
}

tr {
  min-height: 50px;
  vertical-align: baseline;
  line-height: 50px;
}

td, th {
  border-bottom: 1px solid #DDD;
  padding: 0px 15px;
}

.list-header-label {
  display: inline-block;
  padding: 10px 10px;
}

td.fixedwidth {
  width: 400px;
}

.list {
  overflow: scroll;
  background-color: #FFF;
}

.list > table {
  width: 100%;
}

.list th {
}


/*TREE*/

.tree {
  min-width: 250px;
  padding: 10px;
  border-right: 1px solid #DDD;
  flex-basis: 20%;
  flex-grow: 0;
  flex-shrink: 1;
}

tree-view {
  margin-top: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
}

tree-view ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

tree-view li {
  position: relative;
  margin: 0 0 0 20px;
  line-height: 25px;
  cursor: pointer;
  color: #999;
  font-size: 12px;
}

tree-view li span {
  padding: 0 5px 0 0;
}

tree-view li i {
  width: 10px;
}

/*TREE=TABLE*/

network-tree {
  margin-top: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
}

network-tree > div {
  cursor: pointer;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #DDD;
  background-color: #F7F7F7;
}

network-tree > div > div {
  height: 40px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

network-tree div > span {
  min-width: 100px;
  display: inline-block;
}

network-tree div > span.name{
  position: relative;
  min-width: 400px;
  display: inline-block;
  margin-right: 100px;
  text-transform: capitalize;
}

network-tree div > span.name.-root:hover > span {
  border: 1px solid #DDD;
  border-radius: 4px;
  padding: 0 10px;
  min-width: 300px;
  display: inline-block;
  line-height: 2.1em;
}


network-tree div > span.name.-root span.-label {
  font-size: 11px !important;
  font-weight: 100;
}

network-tree .fa-folder.-level0:before {
  color: #0ac6d2;
  font-size: 15px;
  text-shadow: 0 0 1px #08a0aa, 0 0 1px #08a0aa, 0 0 1px #08a0aa;
}

network-tree .fa-folder.-level1:before {
  font-size: 13px;
  color: #3ad3db;
  text-shadow: 0 0 1px #08a0aa, 0 0 1px #08a0aa, 0 0 1px #08a0aa;
}
network-tree .fa-folder.-level2:before {
  font-size: 13px;
  color: #96e5ea;
  text-shadow: 0 0 1px #0ac6d2, 0 0 1px #0ac6d2, 0 0 1px #0ac6d2;
}
network-tree .fa-folder.-level3:before {
  font-size: 13px;
  color: #c5eff1;
  text-shadow: 0 0 1px #3ad3db, 0 0 1px #3ad3db, 0 0 1px #3ad3db;
}

network-tree .fa-caret-right, network-tree .fa-caret-down, .fa.normal {
  font-size: 16px;
}


.crud > ul{
  border-bottom: 1px solid #DDD;
}

network-tree span > i {
  width: 10px;
}

network-tree .link:hover{
  text-decoration: underline;
  color: #333;
}

network-tree .link {
  display: inline-block;
  font-size: 0.8em;
  max-height: 22px;
  line-height: 1.1em;
  overflow: hidden;
}

network-tree .link.-retailers {
  max-height: 2.15em;
}

network-tree .link.-secondary {
  display: inline-block;
  font-size: 1.2em;
  max-height: 22px;
  text-decoration: underline;
}

network-tree .link > .-disabled {
  color: #CCC;
}


network-tree .link > span+span {
  margin-right: 2px;
}

network-tree .link > span:not(:last-of-type):after {
  content: ', '
}

/*NOTIFiCATIONS */

growl-notifications{
  position: fixed;
  top: 30px;
  right: 30px;
  display: flex;
  max-width: 50%;
  flex-direction: column;
  z-index: 1000000;
}
growl-notification{
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 3px 3px 10px -2px rgba(0,0,0,0.5);
  border-radius: 5px;
  font-weight: 100;
}

growl-notification.ok {
  background-color: #a6f3b0;
  color: #028802;
}
growl-notification.error {
  background-color: #f3a6a6;
  color: #9c0e0e;
}

/*LOADING*/

.loading {
  display:flex;
  position: fixed;
  background-color: rgba(200, 200, 200, 0.5);
  min-height: 100vh;
  width: 100%;
  z-index: 2000;
  flex-direction: column;
  justify-content: center;
}

.loading > * {
  margin: 0 auto;
}

.loading i {
  font-size: 26px;
  color: #FFF;
  line-height: 26px;
  width: 26px;
  animation: spin 1s linear infinite;
}

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


/*RETAILERS*/


.op-modal-container {
  display: flex;
  flex-direction: column;
}

.op-modal-title {
  text-align: center;
  font-size: 2.1em;
  font-weight: 200;
  padding: 20px;
  border-bottom: 1px solid #CCC;
  text-transform: capitalize;
}

.op-modal-title.-simple {
  border-bottom: 1px solid transparent;
}

.op-modal-dialog {
  text-align: center;
  font-size: 1.2em;
  font-weight: 100;
  padding: 20px;
}

.op-modal-search-bar {
  padding: 20px;
  border-bottom: 1px solid #CCC;
}

.op-modal-search-bar.-gray {
  background-color: #EEE;
}

.op-modal-search-bar > input {
  width: 100%;
  background-color: #EEE;
}

.op-modal-search-bar > input {
  background-color: #FFF;
}

.op-modal-list {
  padding: 0 20px;
  background-color: #EEE;
  overflow: scroll;
  height: calc(100vh - 320px);
}

.op-modal-list > div {
  padding: 14px;
  font-size: 1.2em;
  font-weight: 100;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid #CCC;
}

.op-modal-list > div:last-of-type {
  margin-bottom: 10px;
}

.op-modal-list > div > span {
  flex: 1;
}

.op-modal-list > div > input {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 5%;
}

.op-modal-buttons {
  display: flex;
  justify-content: flex-end;
  padding: 20px;
  border-top: 1px solid #DDD;
}

.op-modal-buttons.-centered {
  justify-content: center;
  border-top: 1px solid transparent;
}

.op-modal-buttons > button + button {
  margin-left: 20px;
}
