@import url('https://fonts.googleapis.com/css?family=Heebo:300,400,500&display=swap');
@import url('customer.css');
@import url('grid.css');
a{
  text-decoration: none;
  color: inherit;
}
body, html{
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
}
body{
  background: #e0e0e0;
  font-family: 'Heebo', sans-serif;
}
.right{
  float: right;
}
#left-nav{
  width: 195px;
  height: calc(100% - 0px);
  background: #fff;
  display: inline-block;
  box-shadow: 0px 0px 8px 0px #bdbdbd;
}

#left-nav ul{
  margin: 0;
  padding: 0;
}

#left-nav ul > li{
  width: calc(100% - 29px);
  padding: 20px 5px 20px 20px;
  list-style-type: none;
  border-left: 4px solid transparent;
  cursor: pointer;
  max-height: 19px;
  overflow: hidden;
  transition: 0.1s all ease;
  font-weight: 500;
}

#left-nav ul > li:hover{
  background: #f9f9f9;
  /* border-left: 4px solid var(--secondary-color); */
}

#left-nav ul > .selected{
  /* border-left: 4px solid var(--main-color); */
  max-height: none;
  background: #efefef;
}

#left-nav i{
  color: #909090;
  font-size: 15px;
  margin-right: 10px;
}

#left-nav > ul > li > ul{
  margin-top: 20px;
  margin-left: -7px;
}

#left-nav > ul > li > ul > li{
  border-left: none !important;
  background: #dcdcdc;
  max-height: 19px !important;
  min-height: 19px !important;
  padding: 10px 5px 10px 5px;
}

#left-nav > ul > li > ul > li:nth-child(1){
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

#left-nav > ul > li > ul > li:last-child{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#left-nav > ul > li > ul > li:hover{
  border-left: none !important;
  background: #d6d6d6;
}

#top-nav{
  width: calc(100% - 20px);
  padding: 8px 20px 8px 0px;
  background: #fff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
}

#top-nav .right{
  float: right;
}

#top-nav ul
{
	list-style:none;
	position:relative;
	float:left;
	margin:0;
	padding:0;
}

#top-nav ul li{
  color: #000;
  padding: 5px;
}

#top-nav ul a
{
	display:block;
	text-decoration:none;
	font-weight:500;
	font-size:12px;
	line-height:25px;
	padding:0 5px;
  height: 25px;
  color: inherit;
}

#top-nav ul li
{
	position:relative;
	float:left;
	margin:0;
	padding: 5px 10px 5px 10px;
}

#top-nav ul li.current-menu-item
{
	background:rgba(0,0,0,0.3);
}

#top-nav ul li:hover
{
	background: var(--secondary-color);
  color: #fff !important;
}

#top-nav > ul > li{
  margin-right: 2px;
  margin-top: 2px;
  color: #383838;
  line-height: 28px;
  padding: 0px 10px 0px 10px;
  cursor: pointer;
}

#top-nav > ul > li:hover{
  background: #403b3b;
  color: #fff !important;
  height: 28px;
}

#top-nav .logout{
  padding: 0px 10px 0px 10px;
}

#top-nav .search{
  background: #fff;
  border-radius: 5px;
  font-size: 13px;
}

#top-nav .search:hover{
  background: #fff;
  color: #000 !important;
}

#top-nav .search input{
  border: none;
  background: #ccc;
  outline: none;
  padding: 0px 5px 0px 5px;
}

#top-nav .chosen-container-single .chosen-single{
  background: transparent;
}

.search select{
  border: 1px solid transparent;
  background: transparent;
  outline: none;
}

#top-nav ul ul
{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#fff;
	padding:0;
  max-height: 800px;
  max-width: 200px;
}

#top-nav ul ul li:nth-child(even):not(.separator):not(.disabled){
  background: #d0d0d0;
  color: #000 !important;
}

#top-nav ul ul li:nth-child(even):not(.separator):not(.disabled):hover{
  background: var(--secondary-color);
  color: #fff !important;
}

#top-nav ul ul a
{
	line-height:120%;
	padding:10px 15px;
  font-size: 10px;
  height: auto;
}

#top-nav ul ul ul
{
	top:0;
	left:100%
}

#top-nav ul li:hover > ul
{
	display:block;
  background: #d2d2d2;
}

#top-nav .separator {
  background: #929292;
  font-weight: bold;
  font-size: 11px;
  color: #000 !important;
  padding-top: 0px;
  padding-bottom: 0px;
}

#top-nav .separator:hover {
  background: #929292;
  color: #000 !important;
}


#top-nav ul ul li
{
	float:none;
	width: 170px;
  max-width: 200px;
  color: #000 !important;
}


#top-nav .logout{
  background: #e24141;
  color: #fff;
}

#top-nav .logout:hover{
  background: #f44336 !important;
}

#top-nav .disabled {
  opacity: 0.5;
  cursor: default;
}

#top-nav .disabled:hover {
  opacity: 0.5;
  background: #d0d0d0 !important;
  color: #000 !important;
}

#top-nav input{
  width: 100%;
}

#content{
  width: calc(100% - 20px);
  padding: 10px 10px 20px 10px;
  display: inline-block;
  vertical-align: top;
  overflow-y: scroll;
  margin-top: 46px;
  max-height: calc(100% - 76px);
  height: calc(100% - 76px);
}

#ediMap .small-round{
  width: 13px;
  height: 13px;
  border-radius: 100%;
  margin-right: 3px;
  line-height: 13px;
  text-align: center;
  font-size: 9px;
}

#ediMap .edi-error{
  background: #e8caca;
}

#ediMap .edi-error .small-round{
  background: #d42f2f;
  color: #fff;
}

#ediMap .segmentHeader{
  display: flex;
}

#ediMap .segments{
  padding: 3px;
  border-radius: 3px;
  font-size: 12px;
}
#ediMap .segments:hover{
  background: #484545;
  cursor: pointer;
  color: #fff;
}

#ediMap .segmentDelimiter{
  margin: 3px 0px 0px 1px;
  font-size: 12px;
}

.tooltip{
  opacity: 1 !important;
  font-size: 12px !important;
  border-radius: 0px !important;
}

#ediMap .header-elements{
  border-left: 2px solid #ff9800;
}

#ediMap .loop-elements{
  border-left: 2px solid var(--main-color);
}
.grid-select{
  height: 20px;
}
.grid-buttons{

}


a{
  text-decoration: none;
}

.btn{
  padding: 5px;
  font-size: 13px;
  border-radius: 1px;
  display: inline-block;
  cursor: pointer;
}

.btn-blue-outline{
  border: 1px solid #7ba7e8 !important;
  background: #aaccff;
  color: #0053d0;
}

.btn-blue-outline:hover{
  background: #7ba7e8;
  color: #fff;
}

.btn-green-outline{
  border: 1px solid #7cd68b !important;
  background: #d2ffda;
  color: #45794e;
}

.btn-green-outline:hover{
  background: #7cd68b;
}

.btn-yellow-outline{
  border: 1px solid #ffff1a !important;
  background: #ffff1a;
  color: #ffff1a;
}

.btn-yellow-outline:hover{
  background: #ffff1a;
}

.btn-gray-outline{
  border: 1px solid #7f9082 !important;
  background: #dedede;
  color: #6c6d6c;
  font-size: 9px !important;
}

.btn-gray-outline:hover{
  background: #7f9082;
  color: #fff;
}

.btn-green{
  background: #4fab5f;
  color: #fff;
}

.btn-green:hover{
  background: #3fb554;
}

.btn-yellow{
  background:  #e6e600;
  color: black;
}

.btn-yellow:hover{
  background: #ffff1a;
}

.btn-red{
  background: #e24141;
  color: #fff;
}

.btn-red:hover{
  background: #e85b5b;
}

.btn-gray{
  background: #333;
  color: #fff;
}

.btn-orange{
  background: #ffa500;
  color: #fff;
}

.btn-orange:hover{
  background: #dc920b;
}

/* pagination */
.page{
	padding: 1px 12px 1px 12px;
	background: #333;
  color: #fff;
	border-radius: 3px;
	display: inline-block;
	margin: 0px 2px 0px 0px;
	cursor: pointer;
}
.currentPage{
	background: var(--main-color);
	color: #fff;
  font-weight: bold;
}

.td_original{
  background: #74d885;
  color: #fff;
  text-align: center;
  padding: 0px;
  border-radius: 3px;
  text-shadow: 2px 1px 0px #5ab96a;
}

.td_change{
  background: #ffc107;
  color: #fff;
  text-align: center;
  padding: 2px;
  border-radius: 3px;
}

.td_hold{
  background: #7b3737;
  color: #fff;
  text-align: center;
  padding: 2px;
  border-radius: 3px;
}

.td_cancel{
  background: #f44336;
  color: #fff;
  text-align: center;
  padding: 2px;
  border-radius: 3px;
}

.page-title{
  font-size: 18px;
}

.h1{
  font-size: 23px;
  color: #564343;
}

/* initializer */
#initializer{
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  position: fixed;
  top: 0;
  left: 0;
  transition: 0.2s all ease;
  z-index: 99998;
}

.loader,
.loader:after {
  border-radius: 50%;
  width: 10em;
  height: 10em;
}
.loader {
  font-size: 10px;
  position: absolute;
  width: 35px;
  height: 35px;
  top: calc(45% - 17.5px);
  left: calc(50% - 17.5px);
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0);
  border-right: 1.1em solid rgba(255, 255, 255, 0);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0);
  border-left: 1.1em solid #000;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.disabled{
  pointer-events: none;
  cursor: not-allowed;
  opacity: 0.45;
}

.in_400, .in_eka{
  background: #72ad5a;
  color: #fff;
  border-radius: 100%;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin: auto;
  text-shadow: 3px 3px 6px #335027
}

.in_400 i, .in_eka i{
  line-height: 30px;
}

.pulseRed{
  animation-name: pulseRed;
  animation-duration: 1s;
  animation-iteration-count: infinite;
  color: #fff;
  width: 30px;
  height: 30px;
  line-height: 30px;
  margin: auto;
  border-radius: 100%;
}

.pulseRed i{
  line-height: 30px;
}

@keyframes pulseRed{
  0%{
    background: red;
  }
  50%{
    background: #801b1b;
  }
  100%{
    background: red;
  }
}

.details-pane{
  width: calc(100% - 10px);
  height: auto;
  padding: 5px;
  background: #ccc;
  border-radius: 3px;
  font-size: 12px;
  text-align: left;
}


.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }

.error{
  width: calc(50% - 55px);
  padding: 5px 25px 5px 25px;
  background: #c74848;
  color: #fff;
}

.success{
  width: calc(50% - 55px);
  padding: 5px 25px 5px 25px;
  background: #579a57;
  color: #fff;
}

.tabs{
  width: auto;
  display: flex;
}

.tabs .selected{
  background: #fff;
}

.tab{
  background: #ccc;
  padding: 10px;
  cursor: pointer;
}

.tab:hover{
  background: #efefef;
}

.tab_content{
  background: #fff;
  max-height: 72%;
  overflow-x: hidden;
  width: calc(100% - 40px);
  padding: 10px;
}

.banner{
  width: calc(100% - 40px);
  padding: 5px 20px 5px 20px;
  border-radius: 3px;
}

.banner_green{
  background: #54a962;
  background: linear-gradient(90deg, rgba(84,169,98,1) 0%, rgb(68, 117, 76) 35%);
  color: #fff;
}

.banner_title{
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
}

.banner_subtitle{
  font-size: 14px;
}

h1,h2,h3,h4,h5{
  margin: 0;
}

.mobile-hamburger{
  display: none;
}

@media screen and (max-width: 768px){
  .jconfirm-box{
    width: 80% !important;
  }

  #top-nav .logo{
    display: none;
  }
  #top-nav .history-back-button, #top-nav .history-forward-button{
    display: none;
  }
  #top-nav {
    width: calc(100% - 10px);
    padding: 5px;
    height: 42px;
    overflow-y: auto;
    /*transform: scale(0.8);
    opacity: 0;
    pointer-events: none;*/
  }
  #top-nav .left, #top-nav .right{
  }
  #top-nav ul{

  }
  #top-nav li{
    display: inline-block;
    width: calc(100% - 42px);
  }
  #top-nav ul > li{
    height: 40px;
    line-height: 40px;
    float: none;
    padding: 10px 20px 10px 20px;
    background: #efefef;
    border-radius: 5px;
  }
  #top-nav > ul > li:hover {
    height: auto;
    line-height: 40px;
  }
  #top-nav .helpHeader i{
    line-height: 40px;
  }
  #top-nav .logout{
    width: calc(100% - 22px);
    text-align: center;
  }
  #top-nav ul li:hover > ul {
    max-width: none;
    max-height: none;
    width: 100%;
  }
  #top-nav ul ul {
    position: inherit;
  }
  #top-nav ul ul li {
    width: 100%;
  }
  #top-nav > ul > li:hover {
    background: inherit;
  }
  #top-nav .separator {
    width: 100%;
  }
  #top-nav ul ul li {
    max-width: calc(100% - 40px);
  }
  #top-nav > ul > li:hover {
    color: #000 !important;
  }
  #top-nav li:not(.mobile){
    display: none;
  }
  #top-nav ul ul li{
    border-radius: 0;
  }
  #top-nav ul ul li:not(.separator){
    background: #efefef !important;
  }
  .mobile-hamburger{
    width: 15px;
    height: 20px !important;
    line-height: 20px !important;
    display: block !important;
  }
  .my-account{
    height: 20px !important;
    line-height: 20px !important;
    white-space: nowrap;
  }
  .tab_content{
    overflow-x: scroll !important;
  }
}
