/*
 * Base structure
 */
/* Move down content because we have a fixed navbar that is 3.5rem tall */
body {
    font-family: 'Montserrat', sans-serif;
    /*min-height: 50rem;*/
    padding-top: 4.5rem;
    color: #343a40;
    line-height: 1.4em;
    font-size: .9em;
}

a, 
a:active, 
a:link,    
a:visited { color: #343a40; text-decoration: none; cursor: pointer;}
a:hover   { color: #cc0000; text-decoration: none; cursor: pointer;}

h1 {  }

h2 { font-size: 1.6em; }

h3 { font-size: 1.2em; }

h3 { 
  margin: .5em 0;
}

label { 
  font-weight: bold;
}

h1:after {
    content:' ';
    display:block;
    border:1px solid #343a40;
    border-radius:2px;
    -webkit-border-radius:2px;
    -moz-border-radius:2px;
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
    -moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .05);
   /* margin-bottom: 1em; */
}

#case_number, #client_reference { 
  text-transform: uppercase;
}

.section-header { 
  border-top: 1px solid #343a40;
  border-bottom: 1px solid #343a40;
  padding: 1em 0;
  margin-bottom: .8em;
}

.section-header h5 {
margin: 0;
} 

.section-navigation .btn {
  /* margin: .15em -.75em .5em .15em; */
} 

.section-navigation p {
  margin: .5rem 0;
} 

.pagination, .table tr td { 
   /* font-size: .8em; */
}

.btn { 
  cursor: pointer;
}

.pagination a, 
.pagination a:active, 
.pagination a:link,    
.pagination a:visited { color: #343a40; text-decoration: none; }
.pagination a:hover   { color: #cc0000; text-decoration: none; }

.table td { 
  font-size: .9em;
}

.navbar a { 
    color: #E0D4C2 !important;
 }

 .navbar a:hover { 
    color: white !important;
 }

/* ids */

#moduleHead {
    color: #343a40;
    border-bottom: 1px solid #343a40;
    margin-bottom: 1em;
}

#moduleHead h1 {
    font-size: 2em;
}

#moduleHead a {
    color: #343a40;
    text-decoration: none;

}

#moduleHead a.btn {
    margin-top: -2px;
    margin-left: 4px;
    color: #E0D4C2;
    background-color: #343a40;
    border-color: #343a40;    
}

#moduleHead a.btn:hover {
    color: #343a40;
    background-color: #E0D4C2;
    border-color: #E0D4C2;  
}

#moduleHead a.btn.btn-danger {
    margin-left: 4px;
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}

#moduleHead a.btn.btn-danger:hover {
    color: #fff;
    background-color: #dc3545;
    border-color: #dc3545;
}


#viewportSearch {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 999999;
    padding-top: 5%;
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
    -moz-transform: translate(0px, -100%) scale(0, 0);
    -o-transform: translate(0px, -100%) scale(0, 0);
    -ms-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);    
    opacity: 0;
}

#viewportSearch.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1); 
    opacity: 1;
    color: white;
}

#viewportSearch input, #viewportSearch select {  
  height: 42px;
}
#viewportSearch label {  
  margin-top: 10px;
}
#viewportSearch h1 {  
  margin-bottom: 4px;
}
#viewportSearch i, #viewportSearch a {  
    color: white !important;
    text-decoration: none;
}

#viewportSearch i:hover, #viewportSearch a:hover {  
    color: #e3e3e3 !important;
    text-decoration: none;
}

#viewportSearch .btn-primary {
    color: #343a40;
    background-color: #E0D4C2;
    border-color: #E0D4C2;    
}

#viewportSearch .btn-primary:hover {
    color: #E0D4C2;
    background-color: transparent;
    border-color: #E0D4C2;    
}

#htmPane { 
  min-height: 800px;
 }

/* classes */

.alert:empty{
    display:none;
}

.btn-warning { 
    color: #E0D4C2 !important;
    background-color: #343a40 !important;
    border-color: #E0D4C2;    
}

.btn-warning:hover { 
    color: #343a40 !important;
    background-color: #E0D4C2 !important;
    border-color: #343a40;  
}

.fa-2x {
  vertical-align: middle;
  font-size: 1.4rem;
}

.fa-10x {
  font-size: 5rem;
}

.card { 
    margin-bottom: 8px;
       /* font-size: .8em; */
}
.card-title { 
    margin-bottom: 0;
 }

 .card-header { 
    font-size: 1em;
 }
.card-block { 
    padding: .8em 1.25em;
 
 }

.well { 
  background: #343a40;
  padding: 8px 16px;
  border-radius: 4px;
  color: #E0D4C2;
}

.alert { 
  font-size: .8em !important;
}

.alert-info { 
  background: #343a40 !important;
  color: #E0D4C2;
  border: 1px solid #E0D4C2;;
}

.alert-info input[type="submit"] { 
  margin-top: .5em;
}

.btn-tyfoon {
  width: 100%;
  margin: 5px 5px 5px 0px;
  border: 2px solid #e6e6e6;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  font-weight: normal;
  text-align: left;
  min-height: 44px;
  color: white;
  padding: 10px;
  cursor: pointer;
  background: #343a40;
}

a.btn-tyfoon { 
  color: white;
}

.btn-tyfoon h1, .btn-tyfoon h2{
  font-size: 1.4em;
}

.table i { 
  /* font-size: 1em; */
}

.form-group label, .fradio label { 
  margin-top: .5em;
}


.btn-primary,
.btn-primary:hover,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #808080;
    border-color: #808080;
}

.btn-primary.active {
    background-color: #32CD32;
    border-color: #32CD32;
}

.error { 
    color: #C25B56;
}

.btn .pull-right { 
  margin-top: 2em;
}


input.error::-webkit-input-placeholder {
    color: #C25B56;
}

/* Firefox < 19 */
input.error:-moz-placeholder {
    color: #C25B56;
}

/* Firefox > 19 */
input.error::-moz-placeholder {
    color: #C25B56;
}

/* Internet Explorer 10 */
input.error:-ms-input-placeholder {
    color: #C25B56;
}

hr { 
    margin-top: 1rem !important;
    margin-bottom: .5rem !important;
}

#tyfcrumbtrail { 
  padding-left: 58px;
  margin-bottom: .8em;
}

.close { 
  color: #E0D4C2 !important;  
}

.text-sm { 
  font-size: .6em;
  margin-top: -14px;
}

.smtext { 
    font-size: .8em;
    text-decoration: italic;
}

input, select, .btn-group, textarea { 
  margin-bottom: 8px;
}

a.btn-simple { 
  border: 1px solid #343a40;
  font-size: .8em;
  text-align: center;
  padding: .5em;
  margin: .5em;
  color: #343a40;
}

a.btn-simple:hover { 
  border: 1px solid black;
  font-size: .8em;
  text-align: center;
  padding: .5em;
  margin: .5em;
  background: #343a40;
  color: #E0D4C2;   

}

.inner {
  overflow-y:auto;
  overflow-x:hidden;
  /*height:100%;*/
  min-height:100%;
}

.toolbar
{
  padding:3px;
  height:28px;
}

#htmPane { 
    min-height: 400px;
}

table.table-sortable tbody tr:first-child a[class^="sort_up"]{ display:none; }

table.table-sortable tbody tr:last-child a[class^="sort_down"]{ display:none; }


#draggablePanelList .card-img-top {
  cursor: move;
}

#draggablePanelList .card-title {
  font-size: 1em;
}

#draggablePanelList .card-text {
  font-size: .8em;
}

.btn-group.btn-full {
  display: flex;
}

.btn-full .btn {
  flex: 1
}

a.liteup, 
a.liteup:active, 
a.liteup:link,    
a.liteup:visited { color: #cc0000 !important; }
a.liteup:hover   { color: #cc0000; text-decoration: none; cursor: pointer;}


#queue {
  border: 1px solid #E5E5E5;
  height: 177px;
  overflow: auto;
  margin-bottom: 10px;
  padding: 0 3px 3px;
  width: 100%;
}

.btn-file-upload {
color: white !important;
    font-weight: normal;
    background-color: #C25B56;
    border: 1px solid #C25B56;
    margin: 0 2px 2px 4px;
  display: inline-block;
    padding: -6px 12px 0 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

#general-order .card-body { 
  font-size: .9em !important;
}

.dot-delivery, .badge-delivery {  
    background-color: #36a9c8 !important;
}

.dot-warehouse, .badge-warehouse {  
    background-color: #8174d3 !important;
}

.dot-counter, .badge-counter {  
    background-color: #4dbd5c !important;
} 

.dot-in-hand, .badge-in-hand {  
    background-color: #8c1239 !important;
 }

 .dot-pending, .badge-pending { 
    background-color: #337ab7 !important;
 }

 .dot-active, .badge-active { 
    background-color: #00cc00 !important;
 }

 .dot-in-production, .badge-in-production { 
    background-color: #cccc00 !important;
 }

 .dot-complete, .badge-complete { 
    background-color: #0000cc !important;
 }

 .dot-exception, .badge-exception { 
    background-color: #C25B56 !important;
 }

 .dot-refund, .badge-refund, .dot-refunded, .badge-refunded { 
    background-color: #663399 !important;
 }

 #navbarSide {
    color: #343a40 !important; 

}

#navbarSide a, 
#navbarSide a:active, 
#navbarSide a:link,    
#navbarSide a:visited { color: #343a40 !important; text-decoration: none; cursor: pointer;}
#navbarSide a:hover   { color: #cc0000; text-decoration: none; cursor: pointer;}

#navbarSideButtonDismiss { 
  margin-right: 1em;
  font-size: 1rem;
}


.navbar-side {
  height: 100%;
  width: 25%;
  position: fixed;
  top: 0;
  right: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid #ccc;
  background-color: #f7f7f9;
  color: black;
  overflow-y: scroll;
  z-index: 1000;
}

.navbar-side-title {
  padding: 1.5rem 0 2.5rem 1rem;
  margin: 0;
  border-bottom: 2px solid #ccc;
  height: 5rem;
  font-size: 1.5rem;
}
.navbar-side-item {
  padding: 1.4rem 0;
  margin: 0;
  border-bottom: 2px solid #ccc;
  height: 4rem;
}
.navbar-side-block {
  padding: 1.4rem 1em;
  margin: 0;
  border-bottom: 2px solid #ccc;
}

.side-link {
  padding-left: 1rem;
}

.navbar-side {
    // other code omitted
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
}

.reveal {
  -webkit-transform: translateX(0%);
  -ms-transform: translateX(0%);
  transform: translateX(0%);
  -webkit-transition: 300ms ease;
  transition: 300ms ease;
}

.overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  background-color: #ccc;
  opacity: 0.6;
  z-index: 990;
}

.popover.top {
    margin-top: -10px;
}

.popover-header {
    margin-top: 0px;
}

.nav-tabs {
  border-bottom:none;
}

.nav-tabs > .nav-item {
  background-color:#343a40;
  border-bottom:#343a40;
  color: white !important;
  border-color: #343a40;
  margin-right: 2px;
}

.nav-tabs > .nav-item > .nav-link {
  color: #E0D4C2 !important;

}

.nav-tabs > .nav-item > .nav-link.active {
  background: #E0D4C2;
  color: #343a40 !important;
}

.btn-primary:not([disabled]):not(.disabled).active, .btn-primary:not([disabled]):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #343a40;
    background-color: #E0D4C2;
    border-color: #E0D4C2;
    box-shadow: none;
}

.card-footer { 
  background-color: #343a40!important;
  color: white !important;
  text-align: center;
  text-transform: uppercase;
}

.zkeError { 
  color: #cc0000;
}

.href { 
  cursor: pointer;
}

.small-text { 
  font-size: .9em;
 }

 .large-text { 
  font-size: 3em;
 }

.modal { 
  margin-top: 12%;
}

.modal-wide .modal-body {
  overflow-y: auto;
}

.modal-dialog {
    max-width: 60%;
    margin-left: 20%;  
}

.modal-sm {
    max-width: 40%;
    margin-left: 30%;  
}

.modal-md {
    max-width: 50%;
    margin-left: 25%;  
}

.modal-lg {
    max-width: 74%;
    margin-left: 13%;
}


.modal-header, .modal-footer { 
  padding: .5em 1em;
  background: #343a40 !important;
  color: #E0D4C2;  
}

.modal-footer { 
    display: block !important;
}

.modal-header h3 { 
  margin: 0;
}