.body_wrap, .page_wrap
{
  height: 100vh;
  box-sizing: border-box;
}
.page-inner-wrapper
{
  height: 95vh;
  box-sizing: border-box;
  overflow-y: auto;
}
.copyright_wrap
{
  height: 5vh;
}
h3
{
  margin: 0 2%;
}
.page-content
{
  padding: 0 2%;
}
header
{
  height: 100px;
  overflow: hidden;
  z-index: 1;
}
header .logo > img
{
  height: 80%;
}
header .sidebar-inner
{
  height: 100%;
  padding-top: 2% 0;
}
header .sidebar-inner > ul
{
  display: flex;
  height: 100%;
  padding: 1% 0;
  box-sizing: border-box;
}
header .sidebar-inner > ul > li
{
  padding: 0 1px;
  text-align: center;
  cursor: pointer;
}
header .sidebar-inner > ul > li > a
{
  height: 100%;
  overflow: hidden;
}
header .sidebar-inner > ul > li > a::before
{
  display: block;
  font-size: 1.5em;
  margin-bottom: 10px;
}
header li > ul
{
  display: none;
}
header li > ul.active
{
  position: fixed;
  display: flex;
  flex-direction: column;
  padding: 5px 0;
  background-color: #7f7f7f;
  top: 100px;
  right: 0;
}
header li > ul.active > li > a::before
{
  position: absolute;
  left: 10px;
}
header .fa
{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-variant-caps: petite-caps;
  font-size: 1.2em;
  height: 80%;
  width: calc((100vw - 200px) / 10);
  max-width: 100px;
}
#page-filters
{
    position: relative;
    padding: 10px 10px 10px 2%;
    width: 100%;
    text-align: left;
    box-sizing: border-box;
}
#page-filters > form
{
  width: 100%;
}
#page-filters .form-item-wrapper
{
    display: inline-block;
    min-width: 100px;
    width: auto;
    margin: 0 5px;
}
#page-content-wrapper
{
  height: calc(95vh - 120px);
  overflow: auto;
}

.center
{
  text-align: center;
}
.right
{
  text-align: right;
}
.notice
{
  font-size: 2em;
  color: #7f7f7f;
}
.print-only
{
  position: fixed;
  visibility: hidden;
}

span.placeholder
{
  font-style: italic;
  font-size: 0.95em;
}

span.loading
{
  display: flex;
  text-align: center;
  width: 100%;
  flex-direction: row;
  flex-flow: column;
  font-size: 2em;
  color: #7f7f7f;
}
span.loading::before
{
	content: '';
	position: relative;
  background: url('https://media.giphy.com/media/sSgvbe1m3n93G/giphy.gif');
  background-size: cover;
	width: 30%;
	padding-top: 30%;	/*1:1 Aspect Ratio*/
	margin: auto;
}
.modal span.loading:before
{
  width: 20%;
  padding-top: 20%;
}

button.red
{
  background: #ff6666;
  border-color: #ff5555;
  box-shadow: #ff5555 0 0 0 1px;
}
button.red:hover
{
  background: #ff4444 !important;
  border-color: #ff3333;
  box-shadow: #ff3333 0 0 0 1px;
}

/***********************************************Floating buttons******************************************************/
.floating-button-wrapper
{
    position: fixed;
    right: 20px;
    bottom: calc(5vh + 10px);
    display: flex;
    flex-direction: column-reverse;
}

.floating-button
{
    margin-top: 5px;
    padding: 10px;
    border: solid transparent 1px;
    border-radius: 50px;
    background: rgba(23, 15, 238, 0.5);
    opacity: 0.3;
    color: #ffffff;
    -webkit-transition: all 100ms;
}

.floating-button:hover
{
    opacity: 1!important;
    background: rgba(23, 15, 238, 0.8);
}

.floating-button:active
{
    border: solid #170fee 1px;
}

/******************************Flex box**************************************/
.flex-container
{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
ul.flex-list
{
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}
ul.flex-list > li
{
  display: inline-flex;
  padding: 0 10px;
  box-sizing: border-box;
}
ul.flex-list-5 > li
{
  width: 20%;
  white-space: nowrap;
}

/****************************Hover views***************************************/
.has-hover-view
{
  overflow: visible;
  cursor: pointer;
}
.hover-view
{
  position: absolute;
  display: none;
  bottom: 0;
  left: 100%;
  padding: 10px;
  background: #dee4e4;
  border-radius: 5%;
  text-align: left;
}
.has-hover-view:hover > .hover-view
{
  display: block;
}

/***********************Delivery note***********************************/
.delivery-note
{
  width: 17cm;
  margin: auto;
  color: #000000;
  font-size: 12px;
}
.delivery-note table td
{
  border: solid 1px #000000;
  padding: 0;
  height: 21px;
    text-align: center;
}
.delivery-note table td.delivery-note-info
{
  vertical-align: bottom;
  border: none !important;
  padding-bottom: 10px;
}
.delivery-note table td.delivery-note-info p
{
  font-size: 11px;
  line-height: 12px;
}
.delivery-note td.comments
{
  text-align: left;
}

/* select2 */
span.select2-container *
{
  color: #7f7f7f !important;
}
span.select2-dropdown
{
  background: inherit;
}
span.select2-results > ul
{
    overflow-x: hidden;
    max-height: 200px;
}
span.select2-results > ul::-webkit-scrollbar
{
    width: 5px;
    background: transparent;
}
span.select2-results > ul::-webkit-scrollbar-thumb
{
    background: #dee4e4;
    border-radius: 5px;
}
span.select2-results li:hover
{
  background: #939ca1;
}
span.select2-dropdown input
{
  background: #ffffff;
}

/*****************************Load status report********************************/
.load-total-price > .hover-view span
{
  display: inline-block;
  padding: 1px 2px;
  color: #7f7f7f;
  width: calc(50% - 5px);
}
