body{
   background-color: #f3f5f9;
   margin: 0;
   padding: 0;

   font-family: 'Josefin Sans', sans-serif;
}

i.fas, i.fa {
  font-size:20px;
  color: white;
}

.fa-black {
  color: black !important;
}

.fa-green {
  color: green !important;
}

.fa-red {
  color: red !important;
}

.dd-icon { cursor: pointer;}

.dropdown-content a,
a.dropbtn {
  text-align: left;
}

.wrapper{
  display: flex;
  position: relative;
}

.wrapper .sidebar{
  width: 225px;
  height: 100%;
  background: #0070c0;
  padding: 0;
  position: fixed;
}

.wrapper .sidebar h2{
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}

.wrapper .sidebar ul li{
  list-style: none;
  font-family: 'Josefin Sans', sans-serif;
  padding: 20px;
  border-bottom: 5px solid #bdb8d7;
  border-bottom: 5px solid rgba(0,0,0,0.05);
  border-top: 5px solid rgba(255,255,255,0.05);
}

.wrapper .sidebar ul li span {
  color: #fff;
}

.wrapper .sidebar ul li a{
  color: #fff;
  display: block;
}

.wrapper .sidebar ul li a .fas{
  width: 25px;
}

.wrapper .sidebar ul li:hover{
  background-color: #0070c0;
}

.wrapper .sidebar ul li:hover span,
.wrapper .sidebar ul li:hover a{
  color: #fff;
}

.wrapper .sidebar .social_media{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.wrapper .sidebar .social_media a{
  display: block;
  width: 50px;
  background: #594f8d;
  height: 50px;
  line-height: 45px;
  text-align: center;
  margin: 0 5px;
  color: #bdb8d7;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.wrapper .sidebar span.menu-title {
  margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #00A1F1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 60px;
  	margin-top: 15px;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {background-color: grey}

.dropdown:hover .dropdown-content {
    display: block;
}


.sub-dropdown-content {
    display: none;
    position: absolute;
    background-color: #00A1F1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    margin-left: 60px;
  	margin-top: 15px;
}

.sub-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.sub-dropdown-content a:hover {background-color: grey}

.sub-dropdown:hover .sub-dropdown-content {
    display: block;
}

section.content{
  width: 100%;
  margin-left: 225px;
}

.main_content .header{
  padding: 15px;
  background: #fff;
  color: #717171;
  border-bottom: 5px solid #e0e4e8;
}

.main_content .info{
  margin: 10px;
  color: #717171;
  line-height: 25px;
  max-width: 70%;
  margin-left: 15%;
}

.float-right {
  float: right;
}

.main_content .info div.float-right {
  float: right;
  margin-bottom: 0;
}

.main_content .info div{
  margin-bottom: 20px;
}

@media (max-height: 500px){
  .social_media{
    display: none !important;
  }
}

input[type=button], input[type=submit], input[type=reset] {
  background-color: #0070c0;
  border: none;
  color: white;
  padding: 16px 32px;
  text-decoration: none;
  margin: 4px 2px;
  cursor: pointer;
}

img {
	display: block;
	margin-top:-30px;
    vertical-align: middle;
}

.display {
  margin: auto;
  padding-left: 30px;
  padding-bottom: 20px;
  width:100%;
  float: left;
}

.display table {
  width:99%;
  margin: auto;
  padding: 10px;
  padding-bottom: 50px;
}

.dataTables_wrapper {
  overflow: scroll;
  overflow-y: hidden;
  -ms-overflow-y: hidden;
  padding-bottom: 20px;
}

input[type=text],
select {
  height: 30px;
  padding-left: 3px;
  outline: none;
}

input[type=text].xxlwidth {
  width: 200px;
}
input[type=text].xlwidth {
  width: 150px;
}
input[type=text].lwidth {
  width: 80px;
}
input[type=text].mwidth {
  width: 60px;
}
input[type=text].swidth {
  width: 40px;
}
input[type=text].xswidth {
  width: 20px;
}
input.err::-webkit-input-placeholder {color: #ff000050}

tr.tr_add_row.err-warning td.pmkey::after {
  content: "!";
  font-family: auto;
  font-size: 90%;
  line-height: 10px;
  color: #fff;
  background: #ff110050;
  vertical-align: middle;
  position: absolute;
  margin-left: -21px;
  margin-top: 4px;
  padding: 4px 7px;
  border-radius: 50%;
  font-weight: bold;
  transform: scale;
}
tr.err-warning td.pmkey input[type=text] {
  border: solid 1px red;
  background-color: #ff000050;
}

tr:not(.no-select) td .data-editor {
  display: none;
}

.td-icons i {
  vertical-align: middle;
  line-height: 50px;
}

.hidden {
  display: none;
}

span.warning-stock::before {
  content: '(';
  color: red;
}
span.warning,
span.warning-stock {
  color: red;
}
span.warning-stock::after {
  content: ')';
  color: red;
}

.reset-sticky::after {
  content: "×";
  cursor: pointer;
  font-size: x-large;
  color: gray;
  position: absolute;
  opacity: .5;
  line-height: 13px;
  padding: 0;
  margin: 0;
  margin-top: 6px;
  margin-left: -20px;
  border-radius: 50%;
  height: 16px;
  width: 16px;
  text-align: center;
}
