body {
	margin:0px;
	padding:0px;
}

#header {
  background-color:#000;
}

#wrap {
	width:95%;
  margin:0px auto;
}

#windowOutput, #mainPanel, #output {
  width:100%;
  padding:0px;
  margin:0px;
}

body.popupWindow div.wrap {
  padding:0px;
  background-color:#fff;
}

body.popupWindow #wrap {
  margin:10px auto;
}

div.windowWrap {
	margin:10px auto;
  width:95%;
  clear:both;
}

.modal-header {
  padding:0px;
}

.popupWindow h3, .modal-header h3 {
	margin:0px;
  color:#fff;
  font-size:22px;
  line-height:30px;
  font-weight:normal;
  border:none;
  background-image:url(images/tabs_bg1.png);
  background-repeat:repeat-x;
  text-indent:10px;
}

.modal-header a.close, .modal-header button.close {
  font-size:28px;
  line-height:26px;
  margin-right:10px;
  color:#fff;
  opacity:0.60;
  filter:alpha(opacity=60);
}

.modal-header a.close:hover, .modal-header button.close:hover {
  opacity: 0.90;
  filter: alpha(opacity=90);
}

#superMenu {
  float:left;
  display:block;
  width:130px;
  color:#eee;
  text-align:center;
  border:none;
  background-image:url(images/logo.png);
  background-position:left center;
  background-repeat:no-repeat;
}

#mainMenu {
  float:right;
  margin-right:10px;
}

#tabs {
  width:100%;
  margin:0px;
  height:28px;
  background-image:url(images/tabs_bg1.png);
  background-repeat:repeat-x;
}

#tabs form:first-of-type {
  margin-left:5%;
}

#tabs div, #tabs form, #tabs p {
  float:left;
  height:30px;
}

#tabs div {
  padding:0px;
  margin:0px;
}

#tabs p.submit {
  width:auto;
}

#tabs .formtab input, #tabs .formtab button {
  height:28px;
  padding:0px 5px;
  margin:0px;
  min-width:150px;
  text-align:center;
  cursor:pointer;
  font-size:13px;
  line-height:25px;
  border:none;
  color:#fff;
  background:transparent;
}

#tabs div.actual input, #tabs div.actual button {
  color:#fff;
  background-image:url(images/tabs_bg2.png);
  background-position:center bottom;
  background-repeat:no-repeat;
}

#tabs .formtab input:hover, #tabs .formtab button:hover {
  text-decoration:underline;
}

#tabs div.actual input:hover, #tabs div.actual button:hover {
  text-decoration:none;
}

#connSelector form, #connSelector input, #connSelector select, #connSelector p {
  display:inline;
}

#connSelector {
  float:right;
  width:0%;
  margin:0px;
  padding:0px;
  height:28px;
  background-image:url(images/tabs_bg1.png);
  background-repeat:repeat-x;
}

#control {
  clear:both;
  border:none;
  margin:0px;
  heigth:50px;
  padding:0px 0px;
}

#toolbar, .toolbar {
  margin:10px 0px;
}

div.toolbar h5 {
  margin-top:0px;
  margin-bottom:10px;
  padding:0px;
  line-height:30px;
  font-size:17px;
  font-weight:normal;
  text-indent:20px;
  color:#333;
  border-bottom:1px solid #e5e5e5;
  background:none;
  background-color:#eee;
  cursor:pointer;
}

#toolbar form, .toolbar form {
  display:inline;
  margin-left:2px;
  float:left;
  margin-bottom:0px;
}

#toolbar a, .toolbar a {
  float:left;
  margin-left:3px;
  height:24px;
}

#toolbar div.tip {
  float:left;
}

#toolbar div.tip a {
  float:none;
}

#control div.dateFilter {
  margin-top:10px;
}

#message {
	margin:10px 0px;
  padding-top:5px;
  padding-bottom:5px;
  float:right;
}

#divMessage {
  clear:both;
  margin:20px auto;
  width:80%;
  text-align:center;
  padding:10px 0px;
  border-radius:5px;
}

#map_canvas {
  width:100%;
}

/* general */
.hide, .actionToolTip {
  display:none;
  visibility:hidden;
}

.highlight {
  background-color:#fbdb6e;
}

#footer {
  clear:both;
  width:99%;
  margin:0px auto;
  height:40px;
  text-align:center;
}

#footer p {
  float:right;
  margin-left:10px;
}

#footer a {
  color:#808080;
  text-decoration:none;
}

a.tools {
  display:block;
  float:right;
  margin-right:5px;
}

#secondPanel {
  margin-top:0px;
}

div.panel {
  margin:0px;
  margin-bottom:20px;
  padding:0px;
}

div.panel div.panelHeader {
	padding:0px 3px;
  text-align:left;
  background-color:#eee;
  border-bottom:1px solid #e5e5e5;
}

div.panel div.panelHeader h4 {
  float:left;
  text-indent:5px;
  margin:0px;
  padding:8px 0px;
  font-weight:normal;
}

div.panel div.panelHeader form {
  display:inline;
  margin:5px;
  padding:0px;
}

div.panel div.panelHeader input {
  float:right;
  margin:8px 3px;
  padding:0px;
  background:none;
}

div.panel div.panelBody {
  clear:both;
  background-color:#fff;
}

div.panel div.panelBody table {
  width:100%;
}

div.panel div.panelBody table tbody > tr:nth-child(even) > td {
  background-color: #f3f3f3;
}

div.panel div.panelBody table td {
  padding:3px 0px;
  text-indent:10px;
  border:none;
  border-bottom:1px solid #eee;
  border-right:1px solid #eee;
}

div.panel div.panelBody table td.last {
  border:none;
  border-bottom:1px solid #eee;
}

div.panel div.panelBody td input {
	float:right;
	margin-right:5px;
}

#connSelector form {
  float:right;
  margin-right:20px;
}

#connSelector fieldset {
  border:none;
  margin:0px;
  padding:0px;
}

#connSelector div, #connSelector p {
  margin:0px;
  padding:0px;
  height:18px;
}

#connSelector select {
  height:18px;
  padding:0px;
  margin:0px;
  border:none;
  font-size:13px;
  width:120px;
}

#connSelector input.image {
  border:none;
  padding:0px;
}

div.clear {
  clear:both;
}

.hide {
  display:none;
  visibility:hidden;
}


#contactCard {
  width:95%;
  margin:0px auto;
  padding-bottom:20px;
}

#userCalendar {
  padding-top:20px;
}

#userImage {
  float:right;
  padding:20px;
}

#contactData {
  float:right;
  padding:20px;
}

#contactData h5 {
	margin:0px;
  font-size:22px;
  line-height:26px;
  padding-bottom:10px;
}

#contactData p.phone, p.phone {
  text-indent:20px;
  background-image:url(images/iconPhoneSmall.png);
  background-position:left center;
  background-repeat:no-repeat;
}

#contactData p.email, p.email {
  text-indent:20px;
  background-image:url(images/iconEmailSmall.png);
  background-position:left center;
  background-repeat:no-repeat;
}

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

.btn-submit {
	height:30px;
	min-width:70px;
	font-size:14px;
}

.btn-big {
	height:50px;
	min-width:40px;
	max-width:40px;
}

a.btn-submit {
  line-height:24px;
}

span.text-info {
  color:#3a87ad;
}

p.info {
  border:1px solid #77b6d0;
}

/* popups */

p.info {
  border:1px solid #77b6d0;
}

p.succcess {
  background-color:#d7e9a1;
}

p.warning {
  border:1px solid #fec75a;
}

p.info {
  border:1px solid #77b6d0;
}

p.help {
  border:1px solid #ffff33;
}

p.error {
  border:1px solid #f23f72;
}

.btn-letter {
  font-weight:bold;
  font-size:16px;
  line-height:20px;
}

div.fluid1, div.fluid2, div.fluid3, div.fluid4, div.fluid5, div.fluid6,
div.fluid7, div.fluid8, div.fluid9, div.fluid10, div.fluid11, div.fluid12 {
  margin:0px;
  padding:0px;
  float:left;
}

div.fluid1 {
  width:8.33333%;
}

div.fluid2 {
  width:16.66666%;
}

div.fluid3 {
  width:25%;
}

div.fluid4 {
  width:33.33333%;
}

div.fluid5 {
	width:41.66666%;
}

div.fluid6 {
  width:50%;
}

div.fluid7 {
  width:58.33333%;
}

div.fluid8 {
  width:66.66666%;
}

div.fluid9 {
  width:75%;
}

div.fluid10 {
  width:83.33333%;
}

div.fluid11 {
  width:91.66666%;
}

div.fluid12 {
  width:100%;
}

.container-fluid {
  padding:0px;
}

@media (max-width: 767px) {
  div.fluid1, div.fluid2, div.fluid3, div.fluid4, div.fluid5, div.fluid6,
  div.fluid7, div.fluid8, div.fluid9, div.fluid10, div.fluid11, div.fluid12 {
    width:100%;
  }
}

div.tab1, div.tab2, div.tab3, div.tab4, div.tab5, div.tab6,
div.tab7, div.tab8, div.tab9, div.tab10, div.tab11, div.tab12 {
  margin:0px;
  padding:0px;
  margin-top:5px;
  float:left;
}

div.tab1 {
	margin-left:0.5%;
  width:5.35256343%;
}

div.tab2 {
	margin-left:2%;
  width:14.40598290%;
}

div.tab3 {
  margin-left:3%;
  width:21.85897435%;
}

div.tab4 {
	margin-left:4%;
  width:29.4%;
}

div.tab6 {
	margin-left:5.71794871%;
  width:45.3%;
}

div.tab12 {
	margin-left:0%;
  width:96.7%;
}

div.catalog {
  margin:0px;
  padding:0px;
}

div.catalog div.row {
  clear:both;
}

div.catalog div.row div:first-of-type {
  margin-left:3.564102564102564%;
}

@media (max-width: 767px) {
  div.tab1, div.tab2, div.tab3, div.tab4, div.tab5, div.tab6,
  div.tab7, div.tab8, div.tab9, div.tab10, div.tab11, div.tab12 {
    margin-left:0%;
    width:100%;
  }
}

@media (max-width: 767px) {
  div.catalog div.row div:first-of-type {
    margin-left:0%;
  }
}

#crmRecord {
	clear:both;
}

#crmRecord  div.form, #crmRecord  div.grid, #crmRecord div.gridDetails {
  float:right;
  width:88%;
}

#crmRecord  div.form .input-xxlarge {
  width:500px;
}

#toolbarStatus, .panelToolbar {
  margin:0px;
  margin-bottom:20px;
}

#toolbarStatus h5 {
  text-indent:0px;
  text-align:center;
}

#toolbarStatus p.description {
  margin-left:20%;
  width:60%;
  margin-right:20%;
}

#toolbarStatus p.comment {
  clear:both;
  margin-top:20px;
  padding-top:8px;
  padding-bottom:8px;
  padding-left:5%;
  width:90%;
  padding-right:5%;
  background-color:#efefef;
  text-align:center;
  border-radius:5px;
}

#toolbarStatus form, .panelToolbar form {
  clear:both;
  width:100%;
  margin-top:10px;
}

#toolbarStatus form input.btn, .panelToolbar form input.btn {
  display:block;
  margin-left:20%;
  width:60%;
  margin-right:20%;
}

#toolbarStatus a.btn, .panelToolbar a.btn {
  display:block;
  clear:both;
  margin-top:10px;
  margin-left:20%;
  width:60%;
  padding-left:0px;
  padding-right:0px;
  margin-right:20%;
  font-size: 13px;
  line-height: 16px;
  height:auto;
}

#winOrgShipment #divFormShipmentLine label, #winOrgMovement #divFormShipmentLine label, 
#winOrgDevolution #divFormShipmentLine label, #divFormInventoryLine label {
  margin-left:20px;
  margin-right:5px;
}

#winOrgShipment #divFormShipmentLine label:first-of-type, #winOrgMovement #divFormShipmentLine label:first-of-type, 
#winOrgDevolution #divFormShipmentLine label:first-of-type, #divFormInventoryLine label:first-of-type {
  margin-left:50px;
}

#divResource {
	clear:both;
  padding-bottom:20px;
}
#divResource a {
  text-align:center;
  padding:10px 0px;
}

#divResource a:hover {
  text-decoration:none;
  background-color:#ccc;
}

#divAddDecriptionLine a {
  display:block;
  margin-top:10px;
  float:right;
  width:30%;
  padding:5px 0px;
  background-color:#ddd;
  color:#000;
  text-align:center;
  border-radius:10px;
}

#divAddDecriptionLine a:hover {
  background-color:#888;
  color:#fff;
  text-decoration:none;
}


/* Invoice */ 
div.invoiceLines div.element div.product, div.invoiceLines div.element div.linedescription, div.invoiceLines div.element div.total, div.invoiceLines div.element div.tools {
    float:left;
  }

div.invoiceLines div.elements p {
  margin:2px 0px;
}

div.invoiceLines div.elements div.element {
  margin:5px 0px;
  background-color:#fbfbfb;
  padding:0px 0px 5px;
}

div.invoiceLines div.elements div.even {
  background-color:#f2f2f2;
}

div.invoiceLines div.elements div.element div.product {
  width:40%;
  padding:0px;
  text-indent:0px;
}

div.invoiceLines div.elements div.element div.product span.number {
  padding:2px 4px;
  font-size:10px;
}

div.invoiceLines div.elements div.element div.product p:first-of-type {
  margin-top:3px;
}

div.invoiceLines div.elements div.element div.product p {
  width:92%;
  float:right;
}

div.invoiceLines div.elements div.element div.product p.code, div.element div.product a {
  font-weight:bold;
}

div.invoiceLines div.elements div.element div.linedescription {
  width:40%;
  padding:0px;
  text-align:center;
}

div.invoiceLines div.elements div.element div.total {
  width:15%;
  padding:0px;
  text-align:right;
}

div.invoiceLines div.elements div.last div.linedescription {
  width:20%;
}

div.invoiceLines div.elements div.last div.total {
  width:35%;
}

div.invoiceLines div.elements div.element div.tools {
  width:5%;
}

div.invoiceLines div.elements div.element div.total p.total {
  font-weight:bold;
}

div.invoiceLines div.elements div.totals {
  padding:5px 0px;
  background-color:#eee;
}

div.invoiceLines div.elements div.totals div.product {
  text-indent:20px;
}

#divInvoiceLines div.elements div.totals div.linedescription, #divInvoiceLines div.elements div.totals div.total {
  padding:0px;
}

#divInvoiceLines div.elements div.tools div.sectionToolbar a, #divInvoiceLines div.elements div.tools div.sectionToolbar form {
	clear:both;
  float:right;
  margin-top:0px;
  margin-bottom:2px;
  margin-right:2px;
}

#divInvoiceLines div.element p.link a {
  width: 100px;
}

#gridInvoiceBpartner {
	margin-top:0px;
  margin-bottom:20px;
}

#gridInvoiceBpartner h3 span {
  line-height: 20px;
  font-size: 14px;
  font-weight:normal;
}

#bpartnerPanel, #divUserPanel {
  padding-bottom:10px;
}

#bpartnerImage, #divUserImage {
  padding-bottom:10px;
}

#bpartnerImage div.toolbar, #divUserImage div.toolbar {
  width:150px;
  margin:5px auto;
}

#sideToolbar {
	float: left;
  margin-top:40px;
}

div.sideToolbar form {
  text-align:center;
  border-bottom:1px solid #dedede;
  margin:0px;
  padding:10px 0px;
}

div.sideToolbar form:first-of-type {
  border-top:1px solid #dedede;
}

div.sideToolbar form.actual {
  background-color:#dedede;
}

div.sideToolbar form span {
  display:block;
}

#subtabMenu {
  margin:20px 0px;
}

#subtabMenu a {
  background-color:#ddd;
  color:#000;
  text-align:center;
  line-height:30px;
  text-decoration:none;
}

#subtabMenu a:hover {
  background-color:#ccc;
  color:#000;
}

#subtabMenu a.actual {
	background-color:#999;
  color:#eee;
}

p.orgname {
  float:right;
  padding:0px;
  margin:0px;
  margin-right:20px;
  font-size:16px;
  color:#fff;
  padding:12px 0px 0px;
}

@media (max-width:1000px) {
  p.orgname {
    display:none;
  }
}