.badge {
	display: inline-block;
	padding: .25em .4em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25rem;
}

.badge-danger {
    color: #fff;
    background-color: #dc3545;
}

.badge-success {
    color: #fff;
    background-color: #28a745;
}

.mr-3 {
	margin-right: 0.50rem;
}

.scrollx {
overflow-x: scroll;
}

.left {
    float: left;
}
.right {
    float: right;
}

/*** Sales ***/
.section.totals tr {
	line-height: 1.7;
}


#modalDialog {
	display: none;
}

tr.ui-sortable-placeholder {
visibility: visible !important;
}

tr.ui-sortable-placeholder td {

border: 1px solid #fcefa1;
background: #fbf9ee;
color: #363636;
height: 41px;
width:400px;
visibility: visible;
}


.move {
font-family: "entypoRegular";
font-size: 170%;
cursor: move;
}



/**** tabs ****/

.view .ui-widget-content {
	color: inherit !important;
	border: 0  !important;
}

.view .ui-widget {
	font-family: inherit !important;
	font-size: inherit !important;
}

.view .ui-widget-header {
	border-top: 0 !important;
	border-left: 0 !important;
	border-right: 0 !important;
	background: none !important;
    margin-left: -19px;
    margin-right: -14px;
}

.view .ui-widget-header li:first-child {
    margin-left: 16px !important;
}

.view .ui-corner-all, 
.view .ui-corner-bottom, 
.view .ui-corner-right, 
.view .ui-corner-br {

	border-bottom-right-radius: 0 !important;
	-webkit-border-bottom-right-radius:  0 !important;

	-webkit-border-bottom-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}


.view .ui-tabs .ui-tabs-panel {
	padding-right: 0 !important;
	padding-left: 0 !important;
    overflow-x: scroll;
    padding-bottom: 0 !important;
}

/*** detail view ***/



.view .section {
    width: 50%;
}

.view_manager_panel {
    height: 30px;
    border-bottom: 1px solid #cacaca;
    padding-left: 2px;
    background-color: #ededed;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
    background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
    background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
    background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
    background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
    background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
}


.view_manager_body .form {
    min-width: 860px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #c8c8d3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 16px;
    background-color: #fff;
}


/*** create/updte Forms ***/

div.panes {
	margin-top: 20px;
}

.tab_content {

	padding: 20px;

}

.form .row {
	margin-top: 10px;
	margin-bottom: 10px;
}

.block input, .block label {

	display: block;

}

.ValignMiddle td {
	vertical-align: middle
}

td.label {
	border-right: 1px solid #cccccc;
	padding-right: 10px;
    vertical-align: top;
    padding-top: 9px !important;
	min-height: 28px;
	font-weight: bold;
	line-height: 16px;
}

td.data {
	padding-left: 10px;
	height: 28px;
	position: relative;
}


.view_manager_body .view {
	padding:8px;
    background: url(form_sheetbg.png);
    border-bottom: 1px solid #dddddd;
}

/*** view manager ***/


.notification {

	z-index: 1600;
	width: 350px;
	position: fixed;
	top: 40px;
	right: 10px;
	background:#000;
	background:rgba(0,0,0,0.8);
	-webkit-box-shadow: 0 0 6px #000;
	box-shadow: 0 0 6px #000;
	padding: 10px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	color: #fff;
	border-width: 1px;
	border-style: solid;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);

}

.notification ul li {
	color: #fff;
	line-height: 1.42857143;
	font-size: 14px;
	margin-left: 17px;
	list-style: disc;
}

.notification .errorSummary p {
	color: #fff;
	font-weight: bold;
	font-size: 14px;
}

.notification .close {
	cursor: pointer;
	float: right;
	color: red;
	font-size: 20px;
	text-shadow: 0 1px 1px #fff;
}

.notification .close:hover {
	color: #fff;
}

.view_manager {
	padding: 8px;
	border-bottom: 1px solid #cacaca;
	background-color: #ededed;
	background-image: linear-gradient(to bottom, #fcfcfc, #dedede);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#fcfcfc), to(#dedede));
	background-image: -webkit-linear-gradient(top, #fcfcfc, #dedede);
	background-image: -moz-linear-gradient(top, #fcfcfc, #dedede);
	background-image: -ms-linear-gradient(top, #fcfcfc, #dedede);
	background-image: -o-linear-gradient(top, #fcfcfc, #dedede);
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 9px rgba(0, 0, 0, 0.1);
    position: relative;
}

.view_manager .breadcrumbs  {
	font-size: 18px;
	margin: 0;
	line-height: 30px;
	font-weight: bold;
}

.view_manager .breadcrumbs a {

	color: #7c7bad;
	text-shadow: 0 1px 1px white;

}

.view_manager ul {
	margin-top: 15px;
	margin-bottom: 0;
    display: inline-block;
}

.view_manager ul li, .view_manager_panel ul li {
	display: inline;
    position: relative;
}

.button > * {
	display: inline-block;
	border: 1px solid rgba(0, 0, 0, 0.4);
	color: #4c4c4c;
	margin: 3px 0 1px 0;
	padding: 4px 12px 4px 12px;
	text-align: center;
	background-color: #e3e3e3;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#efefef), to(#d8d8d8)):
	background-image: -webkit-linear-gradient(top, #efefef, #d8d8d8);
	background-image: -moz-linear-gradient(top, #efefef, #d8d8d8);
	background-image: -ms-linear-gradient(top, #efefef, #d8d8d8);
	background-image: -o-linear-gradient(top, #efefef, #d8d8d8);
	background-image: linear-gradient(to bottom, #efefef, #d8d8d8);
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(255, 255, 255, 0.8) inset;
	text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
	-webkit-font-smoothing: antialiased;
	outline: none;
	cursor:pointer;
}

.button.toggleBtn  > a, .button.toggleBtn  > span {
    padding-right: 20px;
}

.ui-tabs .ui-tabs-nav li a, 
.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active a {
	outline: none;
}

.button.highlight > * {
	background-color: #c02c2c;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#df3f3f), to(#a21a1a));
	background-image: -webkit-linear-gradient(top, #df3f3f, #a21a1a);
	background-image: -moz-linear-gradient(top, #df3f3f, #a21a1a);
	background-image: -ms-linear-gradient(top, #df3f3f, #a21a1a);
	background-image: -o-linear-gradient(top, #df3f3f, #a21a1a);
	background-image: linear-gradient(to bottom, #df3f3f, #a21a1a);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(155, 155, 155, 0.4) inset;
	color: white;
}

.button a {
	text-decoration: none;
}

.button.highlight a {
	color: white;
}


.form_fade_text {
	color: #888;
	font-weight: normal;
	text-shadow: 0 1px 1px white;
}


.form_button_cancel a, table.items td a, td.data a {
	color: #7C7BAD;
	font-weight: bold;
	text-shadow: 0 1px 1px white;
}

.toggleBtn > ul {
	display:none;
	position: absolute;
    left: 0;
    z-index: 3;
    margin: 1px 0 0 0;
    border: 1px solid #afafb6;
    background: white;
    padding: 4px 0;
    min-width: 140px;
    text-align: left;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}
.toggleBtn:after {
	width: 0;
    height: 0;
    display: inline-block;
    content: "&darr";
    text-indent: -99999px;
    vertical-align: top;
    position: absolute;
    top: 7px;
    right: 11px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #404040;
    filter: alpha(opacity=50);
    opacity: 0.9;
}
.toggleBtn > ul li {
    list-style-type: none;
    float: none;
    display: block;
    position: relative;
    margin: 0;
    padding: 2px 8px;
}
.toggleBtn > ul li:hover {
background-color: #efeff8;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#f0f0fa), to(#eeeef6));
    background-image: -webkit-linear-gradient(top, #f0f0fa, #eeeef6);
    background-image: -moz-linear-gradient(top, #f0f0fa, #eeeef6);
    background-image: -ms-linear-gradient(top, #f0f0fa, #eeeef6);
    background-image: -o-linear-gradient(top, #f0f0fa, #eeeef6);
    background-image: linear-gradient(to bottom, #f0f0fa, #eeeef6);
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
/*
.view_manager_wrapper {
	position: relative;
	height: auto;
}
*/


/*** Module Nav (left)***/

td {
	text-align: left;
	padding: 0;
}

#toggleLeftNav {
      position: absolute;
       cursor: pointer;
       font-size: 22px !important;
    z-index:100;
}



td.leftside {
	background: #f0eeee;
	border-right: 1px solid #afafb6;
	text-shadow: none;
}

table.container, td.rightside {
	width: 100%;
	height: 100%;
    margin-bottom: 0;
}


table.w100 { 
	width: 100%;
}

table.w100 td, table.data td { 
	padding: 3px 6px;
}

table.w100 thead, td.grey {
	background: #eee;
}


table.w100 thead td {
	line-height: 30px;
	border-left: 1px solid #dfdfdf;
	vertical-align: middle;
	font-weight: bold;
}

td.rightside, .valginTop, tr.valignTop td {
	vertical-align:top;
}

table.w100 tbody td {
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
	position: relative;
}

table.w100 tbody td input {
	height: 29px;
	
}

.errorMessage, .errorSummary {
	font-size: 11px;
	color: red;
}

.error a {
	color: red;
}


input.error, select.error, textarea.error { 
	border-color: red;
}

table {
	border-collapse: collapse;
	background-color: transparent;
	
}

td.leftside nav {
	height: 100%;
	width: 220px;
	position: relative;
}

td.leftside nav ul li span {
	font-weight: bold;
	margin-left: 8px;
	color: #7c7bad;
	font-size: 13px;
}


td.leftside nav ul li a {
	display: inline-block;
	white-space: nowrap;
	text-overflow: ellipsis;
	max-width: 85%;
	margin-top: 1px;
	text-decoration: none;
	color: #4c4c4c;
	font-size: 13px;
	padding: 6px 4px 2px 18px;
}



/*** Top Nav ***/

#header .inside {
	background-color: #222; 
	border-color: #080808;
	height: 34px;
}

#header .selectscope {
	float: right;
	padding: 5px;
}

#header .inside nav {
	float: left;
	padding-right: 15px;
	padding-left: 15px;
}

#header .inside nav li {
	float: left;
}

#header .inside nav li a {
	padding: 4px 8px 4px 8px;
	margin-top: 2px;
	font-size: 13px;
	color: #fff;
	display: block;
	text-decoration: none;
	line-height: 24px;
}

#header .inside nav li a:hover {
	color: #000;
	background-color: #fff;
}


.form_menu_items {
    display: inline-block;
    width: 33%;
}

.tool_menu_items {
    display: inline-block;
    width: 33%;
    text-align:center;
}

.misc_menu_items {
    display: inline-block;
    text-align:left;
    width: 28%;
    vertical-align: bottom;
}

.misc_menu_items ul {
    font-size:0;
    height: 21px;
    line-height: 24px;
    display: inline-block;
    border: 1px solid #ababab;
    cursor: pointer;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

.misc_menu_items ul li a  {
    border-right: 1px solid #ababab;
    display: inline-block;
    height: 21px;
    vertical-align: top;
}

.misc_menu_items ul li:last-child a {
    border: none;
}

/*** Defaults ***/

iframe {

	border: 0;

}

label {
	font-weight: bold;
}

.titel label {
	margin-bottom: 5px;
}

.readonly .titel label,
.readonly .openDialog {
	display: none;
}

.readonly input, .readonly select {
	border: 0 !important;
	background: none !important;
	color: #4c4c4c !important;
	padding: 0 !important;
}

.readonly .titel input {
	color: #7c7bad !important;	
}

.readonly select {
	-webkit-appearance: none !important;
}

.titel input, 
.titel select, 
input.titel {
	width: 50%;
	min-width: 200px;
	height: 32px;
	color: #1f1f1f;
	font-size: 22px;
	font-weight: bold;
}

td > input[type=text] {
	width: 100%;
}



input[type=text] {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	background: white;
	min-width: 60px;
	color: #1f1f1f;
	font-family: sans-serif, arial;
	padding-top: 2px;
	padding-right: 23px;/** for icons on the right site **/
	width: 50%;
}

input:focus, 
select:focus, 
textarea:focus {
	background-color: #ffeb9c !important;
}


input, button, select, textarea {
	margin:0;
	padding: 2px 4px;
	border: 1px solid #cccccc;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	background: white;
	outline: none;
}


.required + input:not([disabled]):not([readonly]),
.required + select:not([disabled]):not([readonly]),
.required input:not([disabled]):not([readonly]),
.required select:not([disabled]):not([readonly])
{
	background: #d2d2ff;
}


body,form { 
margin:0 !important;
padding:0;
}

#wrapper {
	height: calc(100% - 34px);
}

img {
	border:0
}

header,footer,nav,section,aside,article,figure,figcaption {
	display:block
}

html {
	height: 100%;
}

body {
	font-size:100.01%;
	height: 100%;
	overflow: auto;
}

select,input,textarea {
	font-size:99%
}

#container,.inside {
	position:relative
}

#footer { 
	clear:both
}

#main .inside {
	min-height:1px
} 

img { 
	max-width:100%;
	height:auto
}

.caption { 
	max-width:100%
}

.clear,#clear { 
	height:.1px;
	font-size:.1px;
	line-height:.1px;
	clear:both
}

body,div,h1,h2,h3,h4,h5,h6,p,blockquote,pre,code,ol,ul,li,dl,dt,dd,figure,table,th,td,form,fieldset,legend,textarea{
	margin:0;
	padding:0
}

table { 
	border-spacing:0;
	border-collapse:collapse
}

caption,th,td { 
	text-align:left;
}


abbr,acronym {
	font-variant:normal;
	border-bottom:1px dotted #666;
	cursor:help
}

blockquote,q {
	quotes:none
}

fieldset,img {
	border:0
}

ul {
	list-style-type:none
}

sup {
	vertical-align:text-top
}

sub {
	vertical-align:text-bottom
}

del {
	text-decoration:line-through
} 

ins { 
	text-decoration:none
}

header,footer,nav,section,aside,article,figure,figcaption {
	display:block
}

body {
	font:13px/1 "arial";
	color: #4c4c4c;
}

input,button,textarea,select { 
	font-family:inherit;
	font-size:99%;
	font-weight:inherit
	outline: none;
}

pre,code {
	font-family:Monaco,monospace
}

h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal
}

h1 {
	font-weight: bold;
	font-size: 20px;
	margin: 15px 0px 10px 0px;
	color: #7c7bad;	
}

h2 {
	font-size:1.6667em
} 

h3 {
	font-size:1.5em
}

h4 {
	font-size:1.3333em
}

table {
	font-size:inherit
}

caption,th {
	font-weight:bold
}

a {
	color:#4c4c4c;
	text-decoration: none;
}

.bluelink {
	font-size: 13px !important;
	border:0;
	color: #7c7bad;
	font-weight: bold;
	text-decoration: none;
	font-family: inherit !important;
	cursor: pointer;
}

.bluelink:hover {
	text-decoration: underline;
}


h1,h2,h3,h4,h5,h6,p,pre,blockquote,table,ol,ul,form {
	margin-bottom:12px
}

@font-face {
font-family: entypoRegular;
src: url("Entypo.otf") format("opentype");
}

.icon {
font-family: "entypoRegular" !important;
font-size: 34px;
font-weight: 300 !important;
text-decoration: none !important;
color: #428bca !important;
border: none;
cursor: pointer;
display: inline-block;
outline: none;
}

.icon.error {
color: red !important;
}

.icon.allfine {
color: #2E8B57 !important;
}

.inInput {
position: absolute;
right: 6px;
top: 0px;
}

table.w100 tbody td .inInput {
top: 6px;
}



