/*--------------------------------------------------\
| default       |               | default.css       |
|---------------------------------------------------|
| For use with:                                     |
| Vanigam Theme 									|
| http://www.kvcodes.com/  		            		|
| by Kvvaradha			                            |
|---------------------------------------------------|
| Developer:                                        |
| Kvvaradha                                         |
|                                                   |
\--------------------------------------------------*/
@import url('https://fonts.googleapis.com/css?family=Droid+Serif');
body {
	font-family: 'Droid Serif', serif;
	background: #285b86;
	font-size: 12px;
	margin: 5px 0 0 5px;
	padding: 0;
}
pre { margin: 0 !important; padding:0 !important; border:0px !important; line-height: 2em !important; }
#footer_debug hr { margin:0px !important; }
tr, td, th {
	font-size: 12px;
	line-height: 19px;
}

table {
	text-align: left;
	background:#eaebec;
	margin:10px 0;	
}

textarea {
	font-size: 12px;
	width: 100%;
}

input, select {
	font-size: 11px;
	padding: 1px;
}

select {
    max-width: 230px;
    min-width:100px;
    display: inline-block;   
    padding-left: 8px;
    cursor: pointer;
    color: #3C3C3C;
    border: 1px solid #cccccc;
    border-radius: 0;
    outline: 0;
    /*background:#fff;*/
    height:30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
td.label { padding-left:5px; }

.menu_option {   line-height: 25px;}
.date a img {   padding-bottom: 0 !important;}
option.inactive {
	text-decoration: line-through;
	color: gray;
}

input.big {
	width: 100px;
}

input.small {
	width: 50px;
}

a {
	color: #0000bb;
	font-size: 12px;
	text-decoration: none;
}

a:link {
	color: #000000;
	text-decoration: none;
}

a:active {
	color: #000000;
	text-decoration: none;
}

a:hover, a:focus {
	color: #2d8628;
	text-decoration: underline;
}

.inactive {	color: gray;}

#footer_debug { margin-top: 40px; }

button {
	font-size: 11px;
	border: 1px #0066cc solid;
	padding: 1px 0px;
}

button img, span {	vertical-align: middle; }

.editbutton img, #ProcessOrder img, .printlink img, .evenrow img, .oddrow img, #SearchOrders img, #addupdate img , #cancel img, .overduebg img{
   /* width: 20px !important;
    height: 20px !important;*/
}

.navibar table { margin: 0; }
.navbar-nav { /*margin:0 !important;*/ }

.callout_main {
	font-family: 'Droid Serif', serif;
	border: none;
	width: 99%;
	margin: 0;
	padding: 0;
}

.main_page {
	background-color: #f9f9f9;
	border: none;
	width: 100%;
	margin: 0;
	padding: 0;
}
#_page_body{
	margin-top: 10px;
    padding: 10px 15px;
    min-height: calc(100% - 123px);
}
.quick_menu {
	background-color: #285b86;
	border: 0;
	margin: 0;
	padding: 0;
	/*text-align: right;*/
}

.quick_menu_selected {
	font-family: 'Droid Serif', serif;
	font-size: 13px;
	border: none;
	white-space: nowrap;
	margin: 2px;
	padding: 2px;
	color: #00cc00;
	font-weight: bolder;
}

.logoutBar {
	padding-right: 1em;
	background: #dee7ec;
	color: black;
	border-bottom: 1px solid #8cacbb;
	width: 100%;
}

.bottomBar {
	padding-right: 1em;
	background: #2494F2;
	color: black;
	border-bottom: 1px solid #8cacbb;
	width: 100%;
	webkit-box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
    box-shadow: 0 2px 4px -1px rgba(0,0,0,0.06), 0 4px 5px 0 rgba(0,0,0,0.06), 0 1px 10px 0 rgba(0,0,0,0.08);
}

.bottomBarCell {
	font-size: 12px;
	line-height: 25px;
}

.bottomBar2 {
	padding-right: 1em;
	background: #2494F2;
	color: #fff;
	border-top: 1px solid #8cacbb;
	border-bottom: 1px solid #8cacbb;
	width: 100%;
	height: 100%; 
}

.logoutBarRight {
	text-align: right;
}

div.logoutBar {
	padding-right: 1em;
	background: #dee7ec;
	color: black;
	border-bottom: 1px solid #8cacbb;
	text-align: right;
}
div.logoutBar a {
	font-weight: normal;
	margin-left: 1em;
	color: #436976;
	background-color: transparent;
}
div.logoutBar img {
	vertical-align: top;
}

div.tabs {
	padding: 3px 0 0 0;
	background: none transparent scroll repeat 0% 0%;
	white-space: nowrap;
	border-collapse: collapse;
	border-bottom: 1px solid #8cacbb;

}
div.tabs a {
	border: 1px solid #8cacbb;
	padding: 3px 10px;
	font-weight: normal;
	background: white scroll repeat 0% 0%;
	color: #436976;
	margin-right: 0;
	height: 10px;
}
div.tabs a.selected {
	border-top: 1px solid #8cacbb;
	border-right: 1px solid #8cacbb;
	border-bottom:  1px solid #dee7ec;
	border-left: 1px solid #8cacbb;
	font-weight: normal;
	background: #dee7ec;
	color: #436976;
}
div.tabs a:hover {
	background: #dee7ec;
	color: #436976;
}

.menu_group {
	font-size: 13px;
	padding: 0px;
	color: #000000;
	background-color: #dee7ec;
	padding-left: 3px;
	font-weight: bold;
}

.menu_group_items {
	background-color: #f9f9f9;
	font-weight: normal;
	padding: 9px;
	border: 1px solid #8cacbb;
}

#hotkeyshelp {
	text-align: center;
	font-weight: bolder;
}

#footer {
	position: relative;
	bottom: -3px;
}

.footer td a {
	color: #666666;
	font-size: 9px;
}

.footer {
	font-family: 'Droid Serif', serif;
	color: #cccccc;
	font-weight: normal;
	font-size: 9px;
	text-align: center;
	width: 100%;
}

.tableheader {
	font-weight: bold;
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
	color: black;
	
}

.tableheader2 {
	font-weight: bold;
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
	color: black;
	text-align: left;
}

.titletext {
	font-weight: bold;
	font-size: 13px;
	/*border-bottom: 1px solid #ccc;*/
	padding: 9px;
	width: 100%;
	/*background-color: rgba(36, 148, 242, 0.48);*/
	background-color: rgb(36, 148, 242);
	    color: white;
}

.headingtext {
	font-weight: bold;
	font-size: 13px;
	color: black;
}

.headingtext2 {
	font-size: 13px;
	color: black;
}

.headingtext3 {
	font-weight: bold;
	font-size: 10px;
	color: black;
}

.errortext {
	font-size: 13px;
	color: #ff0000;
	font-weight: bold;
}

/*.inputsubmit {
	-webkit-box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;
	-moz-box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;
	box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;
	background-color:#2494F2
	border:1px solid #29447E;
	font-family: 'Droid Serif', serif;
	font-size:12px;
	font-weight:700;
	padding:2px 6px;
	height:28px;
	color:#fff;
	border-radius:4px !important;
	-moz-border-radius:5px;
	-webkit-border-radius:5px
	 
} 
/*
.ajaxsubmit {	-webkit-box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;	-moz-box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;	box-shadow:rgba(0,0,0,0.0.1) 0 1px 0 0;	background-color:#2494F2;	border:1px solid #2494F2;	font-family: 'Droid Serif', serif;	font-size:12px;	font-weight:700;	padding:2px 6px;	height:28px;	color:#fff;	border-radius:2px !important;	-moz-border-radius:4px;	-webkit-border-radius:5px}
*/

.ajaxsubmit , .inputsubmit {
  position: relative;  
 /* padding: 5px;*/
  margin: 5px 0;
  line-height: 30px;
  overflow: hidden;  
  border-width: 0;
  outline: none;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
  padding: 4px 35px;
  background-color: #4e4e4e;
  color: #ecf0f1;
  
  transition: background-color .3s;
}

.ajaxsubmit:hover, .ajaxsubmit:focus, .inputsubmit:hover , .inputsubmit:focus {
  background-color: #4e4e4e;
}

.ajaxsubmit > * , .inputsubmit > * {
  position: relative;
}
.ajaxsubmit span, .inputsubmit span {  /*padding: 12px 24px;*/}

.ajaxsubmit:before, .inputsubmit:before {
  content: "";
  
  position: absolute;
  top: 50%;
  left: 50%;
  
  display: block;
  width: 0;
  padding-top: 0;
    
  border-radius: 100%;
  
  background-color: rgba(236, 240, 241, .3);
  
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.ajaxsubmit:active:before, .inputsubmit:active:before {
  width: 120%;
  padding-top: 120%;
  
  transition: width .2s ease-out, padding-top .2s ease-out;
}


.ajaxsubmit.orange, #CancelOrder, #cancel,  .inputsubmit.orange {
  background-color: #e67e22;
}

.ajaxsubmit.orange:hover, .ajaxsubmit.orange:focus, .inputsubmit.orange:hover, .inputsubmit.orange:focus {
  background-color: #d35400;
}
#clear_quantity{
	background-color: #FF9800;
}

.ajaxsubmit.red, .inputsubmit.red, #delete {
  background-color: #e74c3c;
}
#clone{
	background-color: rgb(52, 182, 238);
}
#Update{
	background-color: #3F51B5;
}

.ajaxsubmit.red:hover, .ajaxsubmit.red:focus, .inputsubmit.red:hover, .inputsubmit.red:focus {
  background-color: #c0392b;
}

.oddrow {
	background-color: #eeeeee;
}

.evenrow {
	background-color: #dddddd;
}

.overduebg {
	background-color: #F44336;
}

.overduefg {
	color: #F44336;
}

.currentfg {
	color: #ff6666;
}

.redfg, a.redfg {
	color: red;
	font-weight: bold;
}

.settledbg {
	background-color: #00bb00;
}

.settledfg {
	color: #00bb00;
}

.inquirybg {
	background-color: #fdfeef;
}

.currencybg {
	background-color: #ee8888;
}

.stockmankobg {
	background-color: pink;
}

.stockmankofg {
	color: red;
}

table.tablestyle {
	border-collapse: collapse;
	border: 1px solid #cccccc;
}
table.tablestyle td {
	border-collapse: collapse;
	border: 1px solid #DAD6D6;
}
table.tablestyle2 {
	border-collapse: collapse;
	border: 1px solid #cccccc;
}
table.tablestyle2 td {
	border-collapse: collapse;
	/*border: 1px solid #cccccc;*/
}
table.tablestyle_inner {
	border-collapse: collapse;
	
}
table.tablestyle_inner td {
	border-collapse: collapse;
	border: 1px solid #f9f9f9;
	line-height: 30px;
}
.tablestyle_noborder {
	padding: 3px;
}

#loginscreen {
	background: #f5f5f5;
}

.login {
	width: 350px;
	border-left: 12px solid #367cb5;
	border-collapse: collapse;
	background-color: #eeeeee;
}
.login td {
	border-collapse: collapse;
	border: 1px solid #cccccc;
}

.amount {
	font-family: 'Open Sans', sans-serif;
	font-size: 11px;
	text-align: right;
}

input.amount {
	padding-right: 0px;
	/*border-right: none;*/
}

.editbutton {
   color:#0000FF;
   background-color:transparent;
   border-style:none;
   text-decoration:underline;
   cursor: pointer;
}

.navibutton[disabled], .navibutton[disabled] span {
  color:#808080;
  text-decoration: none;
  cursor: auto;
}

button.navibutton {
	font-family: 'Droid Serif', serif;
	font-size: 11px;
	font-weight: bold;
   color:#000;
   padding: 0 3px;
   background-color:transparent;
   border-style:none;
   cursor: pointer;
}

.navibutton span {
	text-decoration: underline;
}	

.navibar {
    padding: 0 3px;
	color: #000;
    border-collapse: collapse;
    background-color: #dee7ec;
}

.navibar tr td {
    border: none;
}

.listsubmit {
    display: none;
}

ul.ajaxtabs{
	padding: 3px 0 0 0;
	margin: 3px 3px -1px 3px;
	font: 12px Tahoma,Verdana;
	font-weight: bold;
}

ul.ajaxtabs li{
	list-style: none;
	margin: 0;
	display: inline;
}

ul.ajaxtabs li button{
    background-color: #F9F7F7;
/*	background-repeat: repeat-x;
	background-position: top; */
	padding: 10px 8px;
	margin: 0px;
/*	border-top: 1px solid #8cacbb;*/
	border-right: 1px solid #e0e0e0;
	border-top: 1px solid #ECEFF1;
	border-bottom: 1px solid #ccc;
	border-left: none;
	font-weight: bold;
} 

ul.ajaxtabs li button:hover{
	border-top: 1px solid #8cacbb;
	color: #AAA9A9;
    cursor: pointer;
}
div.spaceBox{
    display: none;
	background-color: #8cacbb;
	height:8px;
	border-bottom: 1px solid #8cacbb;
	border-left: 1px solid #8cacbb;
	border-right:1px solid #8cacbb;
	margin: 0 3px 0px 3px
}

div.contentBox{
	border: 1px solid #ccc;
	margin: 0 3px 3px 3px
}

ul.ajaxtabs li button.current, ul.ajaxtabs li button.current:hover{
	border-left: 1px solid #ccc;
    background-color: #fff;
    color: rgb(71, 179, 238);
    border-top: 3px solid rgb(71, 179, 238);
    border-bottom: 1px solid #fff;
}
#hints {
	font-size: 13px;
	padding: 5px;
	border-bottom: 1px solid #8cacbb;
	margin: -4px -2px -2px;
	border: 1px solid #8cacbb;
	background-color: #FFFFE0;
	white-space: nowrap;
}
/*
	Calendar style
*/
/*#CCIframe {
	display: none;
	left: 0px;
	position: absolute;
	top: 0px;
	height: 250px;
	width: 270px;
	z-index: 99;
}
#CC { 
	position:absolute;
	background-color:#FFF;
	margin:0; padding:0;
	display:none;
	z-index: 100;
}
#CC table { 
	font-family: 'Open Sans', sans-serif;
	font-size: 8pt;
	border-left: 1px solid #336;
	border-right: 1px solid #336;
	margin: 0 !important;
}
#CC th {
	font-weight: normal;
	text-align: center;
}
#CC th a {
	font-weight: normal;
	text-decoration: none;
	color: #FFF;
	padding: 1px;
}
#CC td {
	text-align: center;
}
#CC .header {
	background-color: #285b86;
}
#CC .weekday {
	background-color: #eee;
	color: #000;
}
#CC .weekend {
	background-color: #FFC;
	color: #000;
}
#CC .weekno {
	background-color: #c0daf8;
	color: #555;
}
#CC .current {
	border: 1px solid #339;
	background-color: #285b86;
	color: #FFF;
}
#CC .weekday, #CC .weekend, #CC .current {
	display: block;
	text-decoration: none;
	border: 1px solid #FFF;
	width: 2em;
}
#CC .weekday:hover, #CC .weekend:hover, #CC .current:hover {
	color: #FFF;
	background-color: #285b86;
	border: 1px solid #999;
}
#CC .previous {
	text-align: left;
}
#CC .next {
	text-align: right;
}
#CC .previous, #CC .next {
	padding: 1px 3px 1px 3px;
	font-size: 1.4em;
}
#CC .previous a, #CC .next a {
	color: #FFF;
	text-decoration: none;
	font-weight: bold;
}
#CC .title {
	text-align: center;
	font-weight: bold; 
	color: #FFF;
}
#CC .empty {
	background-color: #ddd;
	border: 1px solid #FFF;
}*/

div.err_msg {
	margin: 10px;
	padding: 3px;
	border: 1px solid #cc3300;
	background-color: #ffcccc;
	color: #dd2200;
	text-align: center;
}

div.warn_msg {
	margin: 10px;
	padding: 3px;
	border: 1px solid #ff9900;
	background-color: #ffff00;
	color: #ff5500;
	text-align: center;
}

div.note_msg {
	margin: 10px; 
	padding: 3px;
	border: 1px solid #33cc00;
	background-color: #ccffcc;
	color: #007700;
	text-align: center;
}

#title {
	margin-bottom: 10px;
	width: 100%;
}

#ajaxmark {
  position: fixed;
  left: 50%;
  top: 40%;
  z-index: 9999;
  background: url(images/ajax-loader.gif) center no-repeat;
}
a.navbar-brand.navbar-right.user-nav{
	display: none;
}
.slicknav_menu {
	display:none;
}
.navbar-default .navbar-nav > li > a {
    font-size: 14px;
}
#mobilemenu{
	display: block;
	float:right;
}
@media(min-width: 992px){
	.navbar-nav{float:none;margin:0 auto; display:  table; table-layout: fixed; }
}

@media (max-width: 991px){
	.navbar-collapse.collapse{display: none !important;}
	
	a.navbar-brand.navbar-right.user-nav{
		float: right;
	    display: block;
	    text-align: right;
	    width: 50px;
	    padding: 8px 10px;
	}
	.menuLine {
		height: 2px;
	    width: 100%;
	    margin: 4px;
	    /* line-height: 5px; */
	    background-color: #fff;
	    display: block;
	    float: right;
	}
	.slicknav_menu {
		display:block;
	}
	
}
tr.overduebg td, tr.overduebg {
	background-color: #F44336 !important;
    color: #fff;
}
@media (min-width: 992px){
	.container-fluid>.navbar-header{
		width: 100%;
	}
}
@media (max-width: 768px){
	#_page_body {margin-top: 5px; padding:10px;}
	.kvfooter td {   height: 37px;   width: 33%; }
	button, input:not[type="checkbox"], optgroup, select, textarea{ width: calc(100% - 33px) !important; max-width: 230px; min-width: 100px; padding:0 5px; line-height: 30px !important;}
	.ajaxsubmit span, .inputsubmit span{ padding:5px; } 
	.label{ white-space: inherit !important; }
	.amount { padding-right: 20px !important; }
	.amount+span { margin-left:-20px;  }
	.combo_select+img { display: none; }
}

@media (max-width: 768px) {
	html[dir="rtl"] table tr td {
		float: right !important;
		text-align: right !important;
	}
}
@media (max-width: 500px){
	.kvfooter table.bottomBar2 tr td, .kvfooter table.bottomBar tr td{ width: 100%; text-align: center !important; line-height: 30px; display: block;}
	td:empty {  height: 0 !important;}
}
@media (min-width: 768px){
	html[dir="rtl"] .dropdown-menu.col-menu-2 li.col-sm-6 {
		float:right; 
	}
	html[dir="rtl"] .navbar-default h5, html[dir="rtl"] .dropdown-menu > li > a, html[dir="rtl"] .dropdown-menu  li > a, html[dir="rtl"] .titletext {
		text-align: right;
	}
	
}

/*----------------*/
@media (max-width: 767px){
	.navbar-default .navbar-nav>li>a {
		margin-top: 0px;
	}
}

/*a.logo {
    width: 100px;
}*/
/*@media (max-width: 768px){
li.dropdown.messages-menu {
    margin-top: 10px;
}

li.dropdown.notifications-menu {
    margin-top: 10px;
}
}*/
/*.label {
    position: absolute;
    top: 9px;
    right: 7px;
    text-align: center;
    font-size: 9px;
    padding: 2px 3px;
    line-height: .9;
}
*/

.navbar-nav > .notifications-menu > .dropdown-menu,
.navbar-nav > .messages-menu > .dropdown-menu,
.navbar-nav > .tasks-menu > .dropdown-menu {
  width: 280px;
  padding: 0 0 0 0;
  margin: 0;
  top: 100%;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li,
.navbar-nav > .messages-menu > .dropdown-menu > li,
.navbar-nav > .tasks-menu > .dropdown-menu > li {
  position: relative;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.header,
.navbar-nav > .messages-menu > .dropdown-menu > li.header,
.navbar-nav > .tasks-menu > .dropdown-menu > li.header {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #ffffff;
  padding: 7px 10px;
  border-bottom: 1px solid #f4f4f4;
  color: #444444;
  font-size: 14px;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  font-size: 12px;
  background-color: #fff;
  padding: 7px 10px;
  border-bottom: 1px solid #eeeeee;
  color: #444 !important;
  text-align: center;
}

ul.dropdown-menu.edge {
    margin-top: 50px;
} 

@media (max-width: 991px) {
  .navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a,
  .navbar-nav > .messages-menu > .dropdown-menu > li.footer > a,
  .navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a {
    background: #fff !important;
    color: #444 !important;
  }
}
.navbar-nav > .notifications-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li.footer > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li.footer > a:hover {
  text-decoration: none;
  font-weight: normal;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu {
  max-height: 200px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: hidden;
  background-color: white; 
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a {
  display: block;
  white-space: nowrap;
  /* Prevent text from breaking */
  border-bottom: 1px solid #f4f4f4;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:hover,
.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a:hover {
  background: #f4f4f4;
  text-decoration: none;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a {
  color: #444444;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 10px;
}
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .glyphicon,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .fa,
.navbar-nav > .notifications-menu > .dropdown-menu > li .menu > li > a > .ion {
  width: 20px;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a {
  margin: 0;
  padding: 10px 10px;
  /*width: 200px;*/
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > div > img {
  margin: auto 10px auto auto;
  width: 40px;
  height: 40px;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 {
  padding: 0;
  margin: 0 0 0 5px;
  color: #444444;
  font-size: 15px;
  position: relative;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > h4 > small {
  color: #E91E63;
  font-size: 14px;
  position: absolute;
  top: 0;
  right: 0;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a > p {
  margin: 0 0 0 45px;
  font-size: 12px;
  color: #888888;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:before,
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
  content: " ";
  display: table;
}
.navbar-nav > .messages-menu > .dropdown-menu > li .menu > li > a:after {
  clear: both;
}
/*------------------------*/

table.tablestyle td {border-collapse: collapse; /*border-bottom: 1px solid #cccccc;*/   background: #fff;   padding:5px;}

@media (max-width: 768px){
	#_page_body > form > center:not(:first-child) > table.tablestyle, #_page_body > form > center:not(:first-child) > table.tablestyle > tbody, #_page_body > form > center:not(:first-child) > table.tablestyle > tbody > tr, #_page_body > form > center:not(:first-child) > table.tablestyle > tbody > tr > td, div#items_table, div#delivery, div#delivery > center > table.tablestyle2, div#delivery > center > table.tablestyle2 > tbody, div#delivery > center > table.tablestyle2 > tbody > tr, div#delivery > center > table.tablestyle2 > tbody > tr > td, div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner, div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner > tbody, div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner > tbody > tr {
		display: block;
	}

}


@media (max-width: 768px) {
    html[dir="rtl"] table tr td {   float: right !important;    text-align: right !important;}
    /*.footer .pull-right {float: none !important;}*/
    input.date {width: calc(100% - 50px) !important;}
    .main-panel .navbar, .main-panel > .content {   width: auto;}
    .main-panel.active .navbar, .main-panel.active > .content { width: 100vw;}
    #items_table button{line-height:20px;min-width: 80px;}
    div#items_table table.tablestyle td[colspan="2"]{   min-width:130px; }
    #_page_body > form > center:not(:first-child) > table.tablestyle, #_page_body > form > center:not(:first-child) > table.tablestyle > tbody, 
    #_page_body > form > center:not(:first-child) > table.tablestyle > tbody > tr, #_page_body > form > center:not(:first-child) > table.tablestyle > tbody > tr > td, 
    div#items_table, div#delivery, div#delivery > center > table.tablestyle2, div#delivery > center > table.tablestyle2 > tbody, div#delivery > center > table.tablestyle2 > tbody > tr, 
    div#delivery > center > table.tablestyle2 > tbody > tr > td, div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner, 
    div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner > tbody, div#delivery > center > table.tablestyle2 > tbody > tr > td > table.tablestyle_inner > tbody > tr {
        display: block;         
    }
    #_page_body center {  /*  overflow-x: auto;*/overflow-y: visible;   }
    select {max-width: 200px;}
    table tr td.navibar div { width:70%; } 
    table tr td.navibar table td{ width: 21%; line-height: 35px; }
    .navibar table.tablestyle tr:first-child{ background-color: transparent; }

    #_page_body center {
        overflow-x: auto;
       /* overflow-y: visible;*/
    }
    .icon-textsms:before, .icon-exposure:before, .icon-receipt:before {    margin-top: 2px;}
    .left_menu, .right_menu {   width: 100%;float: none;}

table.tablestyle2 td {
    border-collapse: collapse;
    /* border-bottom: 1px solid #cccccc; */
    background: #fff;
    padding: 5px;
}

	/*table tr td {
    line-height: 2.5em;
	}*/

}

@media screen and (max-width: 43em){
.navbar-default .navbar-nav>li>a {
	/*margin-left: 15px;*/
}

.navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 50px;
    background-color: #2494f2;
}
}
#qe table.tablestyle2 td input {  max-width: 300px !important; }
table.tablestyle {  border-collapse: collapse;  border: 1px solid #cccccc;}
.tableheader {    font-weight: bold;    color: #6b6565;    text-align: center;}
.tableheader2 {   font-weight: bold;   background-color: #dee7ec;  color: #6b6565;  text-align: left;}
table.tablestyle td {border-collapse: collapse; /*border-bottom: 1px solid #cccccc;*/   background: #fff;   padding:5px;}
table.tablestyle2 { border-collapse: collapse;  border: 1px solid #cccccc;  background: #fff;}
table.tablestyle2 td {  border-collapse: collapse;  /*border-bottom: 1px solid #cccccc;*/padding:7px;}
table.tablestyle_inner {    border-collapse: collapse;  border-bottom: 1px solid #f9f9f9;}
table.tablestyle_inner td {border-collapse: collapse;border-bottom: 1px solid #f9f9f9;padding:5px;}



/*html[dir="rtl"] .main-header .sidebar-toggle { float: right; }*/


/*.main-header .navbar {
  -webkit-transition: margin-left 0.3s ease-in-out;
  -o-transition: margin-left 0.3s ease-in-out;
  transition: margin-left 0.3s ease-in-out;
  margin-bottom: 0;
  margin-left: 230px;
  border: none;
  min-height: 50px;
  border-radius: 0;
}
.layout-top-nav .main-header .navbar {
  margin-left: 0;
}
.main-header #navbar-search-input.form-control {
  background: rgba(255, 255, 255, 0.2);
  border-color: transparent;
}
.main-header #navbar-search-input.form-control:focus,
.main-header #navbar-search-input.form-control:active {
  border-color: rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.9);
}
.main-header #navbar-search-input.form-control::-moz-placeholder {
  color: #ccc;
  opacity: 1;
}
.main-header #navbar-search-input.form-control:-ms-input-placeholder {
  color: #ccc;
}
.main-header #navbar-search-input.form-control::-webkit-input-placeholder {
  color: #ccc;
}
.main-header .navbar-custom-menu,
.main-header .navbar-right {
  float: right;
}
@media (max-width: 991px) {
  .main-header .navbar-custom-menu a,
  .main-header .navbar-right a {
    color: inherit;
    background: transparent;
  }
}
@media (max-width: 767px) {
  .main-header .navbar-right {
    float: none;
  }
  .navbar-collapse .main-header .navbar-right {
    margin: 7.5px -15px;
  }
  .main-header .navbar-right > li {
    color: inherit;
    border: 0;
  }
}
.main-header .sidebar-toggle {
  float: left;
  background-color: transparent;
  background-image: none;
  padding: 15px 15px;
  font-family: fontAwesome;
}
.main-header .sidebar-toggle:before {
  content: "\f0c9";
}
.main-header .sidebar-toggle:hover {
  color: #fff;
}
.main-header .sidebar-toggle:focus,
.main-header .sidebar-toggle:active {
  background: transparent;
}
.main-header .sidebar-toggle .icon-bar {
  display: none;
}*/



body {  background: #444;}

#toggle {  width: 28px;  height: 30px;  margin: 20px auto;  margin-right: unset;}

@media (max-width: 500px) {
	#toggle {margin-left: 8px !important;	}
	img {	padding-left: 10px;	}
	.logo { margin-left: 20px;}
}

@media (min-width: 769px) {
	#menu { width: calc(100% - 414px); float:left; }
}

@media (min-width: 992px){
	#toggle { display: none;}
}

#toggle div {  width: 100%;  height: 4px;  background: white;  margin: 6px auto;  transition: all 0.3s;  backface-visibility: hidden;
}

#toggle.on .one {  transform: rotate(45deg) translate(5px, 5px);}

#toggle.on .two {  opacity: 0;}

#toggle.on .three {  transform: rotate(-45deg) translate(7px, -8px);}

#menu {
  color: white;
 /* border: 1px solid white;*/
  /*width: 150px;
  height: 100px;*/
  padding: 7px;
  border-radius: 3px;
  font-family: "Segoe UI", Candara, "Bitstream Vera Sans", "DejaVu Sans", "Bitstream Vera Sans", "Trebuchet MS", Verdana, "Verdana Ref", sans-serif;
  line-height: 100px;
/*  text-align: center;*/
  margin: auto;
  /*display: none;*/
      display: block;
}

@media (max-width: 500px) {
	#menu {  display: none;      }
}

button, input, optgroup, select, textarea {
    -webkit-box-align: center;
    align-items: center;
    box-shadow: none;
    cursor: default;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    position: relative;
    box-sizing: border-box;
    border-radius: 4px;
    transition: none 0s ease 0s;
    outline: 0px !important;
}

button#CancelOrder:hover, button#AddItem:hover, button#update:hover, button#Search:hover, 
button#SearchOrders:hover, button#ADD_ITEM:hover, button#setprefs:hover, button#refsNEW:hover, button#submit:hover {
    background-color: rgb(199, 120, 1);
}