@charset "utf-8"; 
/* $Id: style.css,v 1.5 2009/07/13 23:52:57 andregriffin Exp $ */
/* Drupal 6 Framework - Created by Andre Griffin
----------------------------------------------------------------
[Table of contents]

 0.Reset
 1.Global
 2.Layout
 3.Main
 4.Sidebars
 5.Header
 6.Navigation
 7.Nodes
 8.Comments
 9.Blocks
10.Footer
12.CSS Support
13.Advanced

[Font sizes - based on 75%/12px body]
36px = 3em
30px = 2.5em
24px = 2em
18px = 1.5em
16px = 1.333333em
14px = 1.1667em
12px = 1em
11px = .9167em
10px = .8333em

Equasion for font sizing: 
-Desired in px ÷ Default (or parent) in px = sizing in em

----------------------------------------------------------------*/

/**
 * 0.RESET 
 */
@import "reset.css";

/**
 * 1.GLOBAL
 */
body {
  background: #fff;
  color: #222;
  font-family: "Lucida Grande", Verdana, sans-serif;
  font-size: 75%;
  line-height:1.5;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: #111;
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
}

h1 {
  font-size: 3em;
  line-height: 1em;
  margin-bottom: .5em; 
}

h2 {
  font-size: 2em;
}

h3 {
  font-size: 1.5em;
  line-height: 2em;
}

h4 {
  font-size: 1.2em;
  line-height: 1.25em;
  margin-bottom: 1.25em; 
}

h5 {
  font-size: 1em;
  font-weight: bold;
  margin-bottom: 1.5em; 
}

h6 {
  font-size: 1em;
  font-weight: bold;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
  margin: 0;
}

p {
  margin: 0 0 1.5em 0;
}

p a:link {
  text-decoration: underline;
}

a:link, a:visited {color: #666; outline: none; text-decoration: none;}
a:focus {outline: 1px dotted;}
a:hover, a:active, li a.active {color:#f37000; outline:none; text-decoration:underline;}

/**
 * 2.LAYOUT
 */
.container {
	margin: 0 auto;
	padding: 0;
	width: 1080px;
}

/* add this class to div.container in page.tpl to show grid */
.showgrid {
  background: url(images/grid.png) repeat;
}

/**
 * 3.MAIN
 */
/* 1 column */
#main {
	border: 3px solid #fff;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 3px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 3px 4px rgba(0, 0, 0, 0.3);    
/*	background: -moz-linear-gradient(center top , rgba(0, 0, 0, 0.04) 0%, rgba(200, 200, 200, 0.1) 50%, rgba(200, 200, 200, 0) 100%) repeat scroll 0 0 transparent;    
	background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.04) 0%, rgba(200, 200, 200, 0.1));
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0.04)), color-stop(0.50, rgba(200, 200, 200, 0.1)));
*/	
	margin: 0 0 1.5em;
	position: relative;
}

/* 3 columns */
body.sidebars #main {
  float: left;
  width: 630px;
}

/* 2 columns - sidebar-left */
body.sidebar-left #main {
	float: right;
	width: 790px;
	padding-left:15px;
	padding-right:15px;
}

/* 2 columns - sidebar-right */
body.sidebar-right #main {
  float: left;
  width: 790px;
}

/**
 * 4.SIDEBARS
 */
.sidebar {
  width: 220px;
}

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

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

/**
 * 5.HEADER
 */
#header {
	margin:0;
	padding:10px 0 0 0;
}

#header #logo {
  float: left;
  padding: .5em 10px 0 0;
}

#header #sitename {
  float: left;
  margin-bottom: 1.5em;
}

#header h1 {
  font-weight: bold;
  margin: 0;
}

#header h1 a {
  text-decoration: none;
}

#header #siteslogan {
  display: block;
  font-size: 1.5em;
  line-height: 1em;
}

/*
#search-theme-form {
  float: right;
  margin: 0;
}

#search-theme-form input {
  margin: 1em 0 1.85em;
}
*/

/* removes "Search this site:" label from search forms */
div#edit-search-theme-form-1-wrapper label, 
div#edit-search-block-form-1-wrapper label {
  display: none;
}

/**
 * 6.NAVIGATION
 */
ul.links li {
  background: none;
  margin: 0 1em 0 0;
  padding: 0;
}

/* bottom margin leaves space for secondary links */
#nav {
  font-size: 1em;
  line-height: 1em;
  margin: 0 0 5px 0; 
  position: relative;
}

#nav ul.primary-links, 
#nav ul.dynamic-persistent-menu-menu {
  background: #eee;
  font-weight: bold;
  margin: 0;
  padding: 0 .5em;
}

#nav ul.primary-links li, 
#nav ul.secondary-links li, 
#nav div.block-dynamic_persistent_menu li {
  background: none;
  margin: 0;
  padding: 0;
}

#nav ul.primary-links li a:link, 
#nav ul.primary-links li a:visited, 
#nav ul.dynamic-persistent-menu-menu li a:link, 
#nav ul.dynamic-persistent-menu-menu li a:visited {
  display: inline-block;
  line-height: 3em;
  margin: 0 1em 0 0;
  padding: 0;
}

#nav ul.primary-links li a:hover, 
#nav ul.primary-links li a:active, 
#nav ul.dynamic-persistent-menu-menu li a:hover, 
#nav ul.dynamic-persistent-menu-menu li a:active {
  text-decoration: underline;
}

#nav div#secondary-links, 
#nav ul.dynamic-persistent-menu-sub-menu {
  padding: 0;
  position: absolute;
  width: 100%;
}

#nav ul.secondary-links li a:link, 
#nav ul.secondary-links li a:visited, 
#nav ul.dynamic-persistent-menu-sub-menu li a:link, 
#nav ul.dynamic-persistent-menu-sub-menu li a:visited {
  display: inline-block;
  line-height: 3em;
  margin: 0;
  padding: 0 .5em;
}

#nav ul.secondary-links li a:hover, 
#nav ul.secondary-links li a:active, 
#nav ul.dynamic-persistent-menu-sub-menu li a:hover, 
#nav ul.dynamic-persistent-menu-sub-menu li a:active {
  text-decoration: underline;
}

#nav .block {
  margin: 0;
}

#nav ul.dynamic-persistent-menu-menu {
  display: block !important;
}

.breadcrumb {
  color: #ccc;
  padding: 0;
}

.breadcrumb a:link, 
.breadcrumb a:visited {
  color: #666;
}

.breadcrumb a:hover {
  color: #999;
}

/**
 * 7.NODES
 */
span.submitted {
  color: #898989;
  font-size: .8333em;
  line-height: 1.5em;
}

.node .picture {
  float: left;
  margin: .5em .5em .5em 0;
}

.meta {
  margin: 0 0 3em;
}

.meta div.links {
  float: left;
}

.meta div.terms {
  float: right;
}

.meta div.terms span {
  float: left;
}

.meta div.links ul.links li {
  float: left;
  padding: 0 1em 0 0;
}

.meta div.terms ul.links li {
  float: left;
  padding: 0 0 0 1em;
}

.node_read_more {
  font-weight: bold;
}

/* pagination */
.item-list ul.pager li {
  margin: 0;
  padding: 0;
}

.item-list ul.pager li a:link, 
.item-list ul.pager li a:visited, 
.item-list ul.pager li.pager-current {
  margin: 0;
  padding: 0 .2em;
  text-decoration: none;
}

.item-list ul.pager li a:hover, 
.item-list ul.pager li a:active {
  text-decoration: underline;
}

.item-list ul.pager li.pager-current {
  border-bottom: 2px solid;
  color: #069;
  font-weight: bold;
}

/**
 * 8.COMMENTS
 */
.comment {
  margin: 0;
  padding: 0;
}

.comment-bar {
  font-size: 1em;
  line-height: 1.5em;
  position: relative;
}

.comment span.submitted {
  color: #898989;
}

.comment span.new {
  color: red;
}

.comment-title {
  display: none;
}

.comment .picture {
  float: right;
  margin: 0 0 .5em .5em;
}

.comment ul.links {
  margin: 0 0 1.5em;
}

.comment ul.links li a {
  text-decoration: underline;
}

.indented {
  border-left: 1px solid #ddd;
  margin-left: 2em;
  padding-left: 1em;
}

/**
 * 9.BLOCKS
 */
.block {
  margin: 0 0 1.5em;
  position: relative;
}

/* login block */
#user-login-form {
  padding: 0 .5em;
  text-align: left;
}

#user-login-form .form-item {
  margin: 0;
}

#user-login-form .item-list ul li {
  background: none;
  padding: 0;
}

/* block configuration links */
div.block div.edit {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  display: none;
  font-size: 9px;
  padding: 2px 0 2px 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 40;
}

div.block:hover div.edit {
  display:block;
}

div.block div.edit a {
  color: #999;
  margin-right: 10px;
}

div.block div.edit:hover a {
  color: #000;
}

/* views configuration links */
div.view {
  position: relative;
}

div.view div.views-hide-hover,
div.view:hover div.views-hide,
div.view div.views-admin-links,
div.view div.views-admin-links-hover,
div.view div.views-admin-links:hover {
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  font-size: 9px;
  margin-right: 0;
  margin-top: 0;
  padding: 0;
  padding-left: 10px;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}

div.view div.views-admin-links li a {
  color: #999;
}

/**
 * 10.FOOTER
 */
#footer {
  margin: 0 0 1.5em;
  padding: 1.5em 0;
  position: relative;
}

#footer a.feed-icon {
  position: absolute;
  right: 0;
  top: 1.416667em;
}

/* support drupal */
#footer #block-system-0 {
  position: absolute;
  right: 25px;
  top: 1.5em;
}

/**
 * 11.CSS SUPPORT
 */
span.clear       { clear: both; display: block; font-size: 0; height: 1px; line-height: 0; margin-bottom: -1px; }
.clear           { clear: both; }
.clear-block     { display: block; }

.clearfix:after,
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; overflow: hidden; }
.clearfix,
.container       { display: block; }

.float-left      { float: left; }
.float-right     { float: right; }
.img-left        { float: left; margin: 1.5em 1.5em 1.5em 0; }
.img-right       { float: right; margin: 1.5em 0 1.5em 1.5em; }

.first           { margin-left: 0; padding-left: 0; }
.last            { margin-right: 0; padding-right: 0; }
.top             { margin-top: 0; padding-top: 0; }
.bottom          { margin-bottom: 0; padding-bottom: 0; }

.text-left       { text-align: left; }
.text-right      { text-align: right; }
.text-center     { text-align: center; }
.text-justify    { text-align: justify; }

.bold            { font-weight: bold; }
.italic          { font-style: italic; }
.underline       { border-bottom: 1px solid; }
.highlight       { background: #ffc; }
.quiet           { color: #666; }
.loud            { color: #000; }
.added           { background: #060; color: #fff; }
.removed         { background: #900; color: #fff; }
.small           { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large           { font-size: 1.2em; line-height: 1.25em; margin-bottom: 1.25em; }

.nopadding       { padding: 0; }
.noindent        { margin-left: 0; padding-left: 0; }
.nobullet        { background: none; list-style: none; list-style-image: none; }

.wrap            { width: 950px; margin: 0 auto; }

.hide            { display: none; }

/**
 * 12.ADVANCED
 */
 
/* lists */
ol{margin:0 0 1.5em;padding:0;}
ol li{margin:0 0 0 1.5em;}
ul{margin:0 0 1.5em;padding:0;}
ul li{background:transparent url(images/menu-leaf.gif) no-repeat 1px .4em;list-style-image:none;list-style-type:none;margin:0;padding:0 0 0 1.5em;}
li ol,li ul,ul ul,ol ol{margin:0;}
ul.menu,.item-list ul{margin:0 0 1.5em;padding:0;}
ul.menu ul,.item-list ul ul{margin:0;}
ul.menu li,.item-list ul li,li.leaf{background:transparent url(images/menu-leaf.gif) no-repeat 1px .4em;list-style-image:none;list-style-type:none;margin:0;padding:0 0 0 1.5em;}
ul li.expanded{background:transparent url(images/menu-expanded.gif) no-repeat 1px .35em;}
ul li.collapsed{background:transparent url(images/menu-collapsed.gif) no-repeat 0 .35em;}
ul li.leaf a,ul li.expanded a,ul li.collapsed a{display:block;}
ul li.fake-leaf{font-size:1em;font-weight:bold;}
ul.inline li{background:none;margin:0;padding:0 1em 0 0;}
dl{margin:0 0 1.5em;}
dl dt{font-weight:bold;}
dl dd{margin-left:1.5em;}

/* forms & fieldsets */
input{color:#494949;font:1em Verdana, sans-serif;}
textarea,select{color:#494949;font:1em Verdana, sans-serif;}
fieldset ul.clear-block li{background-image:none;margin:0;padding:0;}
fieldset{background:#fff;border:1px solid #ccc;margin:1em 0;padding:1em;}
fieldset legend{padding:0 0.5em;}
html.js fieldset.collapsed{background:transparent;padding-bottom:.6em;padding-top:0;}
html.js fieldset.collapsible legend a{background:url(images/menu-expanded.gif) no-repeat 0 50%;}
html.js fieldset.collapsed legend a{background:url(images/menu-collapsed.gif) no-repeat 0 50%;}
.form-checkboxes,.form-radios,.form-checkboxes .form-item,.form-radios .form-item{margin:.25em 0;}
.form-button,.form-submit{margin:1em .5em 1em 0;}
.confirmation .form-submit,.search-form .form-submit,.poll .form-submit,fieldset .form-button,fieldset .form-submit,.sidebar .form-button,.sidebar .form-submit,table .form-button,table .form-submit{margin:0 0 1.2em;}
#autocomplete li{cursor:pointer;margin:0;padding:2px;}
#autocomplete li.selected{background:#027ac6;color:#fff;}

/* admin tab links */
#tabs-wrapper{border-bottom:1px solid #ccc;margin:0 0 .75em;padding:0;}
ul.primary{border-bottom:5px solid #eee;margin:0;padding:.25em 0;}
ul.primary li{background:none;border-top:3px solid #ccc;margin:0 .5em 0 0;padding:.25em 0;}
ul.primary li.active{background:#eee;}
ul.primary li:hover{background:#f5f5f5;}
ul.secondary{background:#eee;border:none;margin:0;padding:.5em 1em;}
ul.secondary li{background:none;border:none;display:inline;line-height:2em;margin:0;padding:0 1em 0 0;}
ul.primary li a,ul.primary li.active a,ul.primary li a:hover,ul.primary li a:visited{background:none;border:0;margin:0;padding:0 1em;text-decoration:none;}
ul.secondary li a,ul.secondary li a:visited{background:none;border:0;margin:0;padding:0;text-decoration:none;}
ul.secondary li.active a,ul.secondary li a:hover{text-decoration:underline;}
ul.primary li.active a,ul.secondary li.active a{font-weight:bold;text-decoration:none;}

/* admin styling */
div.admin,div.admin .left,div.admin .right,div.admin-panel,div.admin-panel .body,div.admin .expert-link{margin:0;padding:0;}
div.admin .left{float:left;width:48%;}
div.admin .right{float:right;width:48%;}
div.admin-panel .description,.form-item .description{color:#666;font-size:0.9167em;line-height:1.636364em;margin:0 0 1.63636em;padding:0;}
div.admin-panel { }
body.admin dt{font-weight:normal;}
body.admin dd{color:#898989;font-size:.9167em;line-height:1.636364em;}
.more-help-link {font-size:.8333em;padding:0.2em 0 0.1em;}
.block-region {font-size:0.8333em;line-height:1.5em;margin:0;padding:0.15em 0.5em;}

/* tables */
#forum thead th {border-bottom:3px solid #ccc;}
#forum td.posts,#forum td.topics,#forum td.replies,#forum td.pager{text-align:left;}
#forum tr td.forum{background-position:4px 9px;}
.forum-topic-navigation{background:#eee;border:none;border-bottom:1px solid #ccc;margin-bottom:1em;padding:5px;}
body.admin table{margin:0 0 1.4em;width:100%;}
body.admin thead th{border-bottom:2px solid #ccc;font-weight:bold;padding:0 1em 0 0;}
body.admin tbody{border-top:none;}
body.admin td,body.admin th{padding:.3em .5em;vertical-align:middle;}
body.admin tr.even,body.admin tr.odd,body.admin tbody th{border:solid #ccc;border-width:1px 0;}
body.admin tr.odd td.active{background-color:#e9e9e9;}
body.admin tr.even td.active{background-color:#eee;}
body.admin tr.odd,body.admin tr.info{background-color:#eee;}
body.admin tr.even{background-color:#f5f5f5;}
body.admin tr.drag{background-color:#fffff0;}
body.admin tr.drag-previous{background-color:#ffd;}
body.admin td.region,body.admin td.module,body.admin td.container,body.admin td.category{background-color:#ddd;border-bottom:1px solid #ccc;border-top:1em solid #fff;color:#666;font-weight:bold;}
body.admin tr:first-child td.region,body.admin tr:first-child td.module,body.admin tr:first-child td.container,body.admin tr:first-child td.category{border-top-width:0;}
body.admin table.sticky-header{margin:0 0 0 1px;z-index:1;}
body.admin table.sticky-header th{padding-top:.5em;}
span.form-required{color:#ffae00;}

/* messages */
.messages{background-color:#fff;border:1px solid #b8d3e5;}
.messages,.preview,div.warning,div.error{margin:0 0 1.5em;padding:8px 1em;}
.messages ul{margin:0;}
.preview{background-color:#fcfce8;border:1px solid #e5e58f;}
.preview .node{background-color:#fcfce8;}
div.status{border-color:#c7f2c8;color:#33a333;}
div.error,tr.error{background-color:#fcc;color:#a30000;}
.form-item input.error,.form-item textarea.error{border:1px solid #c52020;color:#363636;}

/* status report */
table.system-status-report tr.error,table.system-status-report tr.error th{background-color:#fcc;border-color:#ebb;color:#200;}
table.system-status-report tr.warning,table.system-status-report tr.warning th{background-color:#ffd;border-color:#eeb;}
table.system-status-report tr.ok,table.system-status-report tr.ok th{background-color:#dfd;border-color:#beb;}
table.system-status-report th{padding-bottom:6px;padding-top:6px;}
table.system-status-report th,table.system-status-report tr.merge-up td{padding-left:30px;}

/* product node form */
.node-form #edit-title-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-title-wrapper input {width:300px;}
.node-form #edit-field-product-client-nid-nid-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-client-nid-nid-wrapper select {width:300px;}
.node-form #edit-field-product-name-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-name-0-value-wrapper input {width:300px;}
.node-form #edit-field-product-date-0-value-wrapper label {width:90px; float:left; display:block; padding-top:10px;}
.node-form .date-clear-block {margin-bottom:0;}
.node-form #edit-field-product-term-0-value-wrapper label {width:90px; float:left; display:block; padding-top:10px;}
.node-form #edit-taxonomy-1-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-taxonomy-1-wrapper select {width:300px;}
.node-form #edit-field-product-format-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-format-0-value-wrapper input {width:300px;}
.node-form #edit-field-product-colors-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-colors-value-wrapper select {width:300px;}
.node-form #edit-field-product-media-nid-nid-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-media-nid-nid-wrapper select {width:300px;}
.node-form #edit-field-product-qty-0-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-qty-0-value-wrapper {margin:0;}
.node-form #edit-field-product-price-0-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-price-0-value-wrapper {margin:0;}
.node-form #edit-field-product-amount-0-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-amount-0-value-wrapper {margin:0;}
.node-form #edit-field-product-invoice-0-nid-nid-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-invoice-0-nid-nid-wrapper input {width:200px;}
.node-form #edit-field-product-income-order-0-nid-nid-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-income-order-0-nid-nid-wrapper input {width:200px;}
.node-form .hierarchical-select-wrapper-wrapper label {width:90px; float:left; display:block; line-height:18px;}
.node-form .hierarchical-select-wrapper-wrapper select {width:300px;}
.node-form .hierarchical-select-wrapper-wrapper {line-height:28px; height:28px;}
.node-form .hierarchical-select-wrapper-for-config-taxonomy-3 select {width:150px;}
.node-form .hierarchical-select-wrapper-for-config-content-taxonomy-field_product_media_n select {width:145px;}


.node-form .content-multigroup-cell-field-product-element-name input {width:100px;}
.node-form #group_elements_values td {padding:0 2px;}
.node-form .content-multigroup-cell-field-product-colors select {width:80px;}
.node-form .content-multigroup-cell-field-product-media-n select {width:100px;}
.node-form .content-multigroup-cell-field-product-media-n-sub select {width:100px;}
.node-form .content-multigroup-cell-field-product-elemen-desc input {width:300px;}

.node-form #edit-field-product-state-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}

/* cost invoice node form */

.node-form #edit-cost-invoice-title-wrapper label {width:105px; float:left; display:block;}
.node-form #edit-cost-invoice-title-wrapper input {width:300px;}
.node-form #edit-cost-invoice-title-wrapper .description {margin-left:105px;}
.node-form #edit-field-cost-supplier-nid-nid-wrapper label {width:105px; float:left; display:block; line-height:32px;}
.node-form #edit-field-cost-supplier-nid-nid-wrapper select {width:300px;}
.node-form #edit-field-cost-invoice-0-value-wrapper label {width:105px; float:left; display:block;}
.node-form #edit-field-cost-invoice-0-value-wrapper input {width:300px;}
.node-form .date-clear-block label {width:105px; float:left; display:block; line-height:32px;}
.node-form #edit-field-cost-invoice-file-0-upload-wrapper label {float:left; width:105px; display:block;}
.node-form #edit-field-cost-invoice-state-value-wrapper label {float:left; width:105px; display:block; line-height:32px;}
.node-form #edit-field-cost-invoice-state-value-wrapper select {width:300px;}

.node-form .content-multigroup-cell-field-cost-description input {width:300px;}
.node-form .content-multigroup-cell-field-cost-description {padding:0;}
.node-form .content-multigroup-cell-field-cost-qty input {width:70px;}
.node-form .content-multigroup-cell-field-cost-qty {padding:0;}
.node-form .content-multigroup-cell-field-cost-price input {width:90px;}
.node-form .content-multigroup-cell-field-cost-price {padding:0;}
.node-form .content-multigroup-cell-field-cost-amount input {width:90px;}
.node-form .content-multigroup-cell-field-cost-amount {padding:0;}
.node-form .content-multigroup-cell-field-cost-product input {width:116px;}
.node-form .content-multigroup-cell-field-cost-product {padding:0;}
.node-form th.content-multigroup-cell-field-cost-qty {text-align:right;}
.node-form th.content-multigroup-cell-field-cost-price {text-align:right;}
.node-form th.content-multigroup-cell-field-cost-amount {text-align:right;}
.node-form th.content-multigroup-cell-field-cost-product {text-align:right;}
.node-form #group-cost-description-items fieldset {margin-bottom:0;}
.node-form .group-cost-totals {margin-top:0; padding-top:0;}
.node-form .group-cost-totals legend {display:none;}
.node-form #edit-field-cost-total-0-value-wrapper label {float:left; display:block; width:470px; margin-left:35px; line-height:32px; text-align:right; padding-right:10px;}
.node-form #edit-field-cost-total-0-value-wrapper input {width:90px;}
.node-form #edit-field-cost-total-0-value-wrapper {margin:5px 0 0 0; border-bottom:1px dotted #ccc;}
.node-form #edit-field-cost-vat-0-value-wrapper label {float:left; display:block; width:470px; margin-left:35px; line-height:32px; text-align:right; padding-right:10px;}
.node-form #edit-field-cost-vat-0-value-wrapper input {width:90px;}
.node-form #edit-field-cost-vat-0-value-wrapper {margin:0; border-bottom:1px dotted #ccc;}
.node-form #edit-field-cost-total-amount-0-value-wrapper label {float:left; display:block; width:470px; margin-left:35px; line-height:32px; text-align:right; padding-right:10px;}
.node-form #edit-field-cost-total-amount-0-value-wrapper input {width:90px;}
.node-form #edit-field-cost-total-amount-0-value-wrapper {margin:0; border-bottom:1px dotted #ccc;}

/* client node form */
.node-form #edit-client-title-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-client-title-wrapper input {width:500px;}
.node-form #edit-field-client-town-0-value-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-field-client-town-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-address-0-value-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-field-client-address-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-representative-0-value-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-field-client-representative-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-id-num-0-value-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-field-client-id-num-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-vat-0-value-wrapper label {float:left; width:90px; display:block;}
.node-form #edit-field-client-vat-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-vat-0-value-wrapper {width:100%; overflow:hidden;}

/* media node form */
.node-form #edit-media-title-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-media-title-wrapper input {width:300px;}
.node-form #edit-field-media-format-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-media-format-0-value-wrapper input {width:100px;}
.node-form #edit-field-media-format-0-value-wrapper {margin:0;}
.node-form #edit-field-media-type-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-media-type-value-wrapper select {width:300px;}
.node-form #edit-field-media-weight-0-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-media-weight-0-value-wrapper {margin:0;}
.node-form #edit-field-media-thickness-0-value-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-field-media-thickness-0-value-wrapper {margin:0;}
.node-form #edit-field-media-price-0-value-wrapper label {width:90px; float:left; display:block; padding-top:10px;}
.node-form #edit-field-media-price-0-value-wrapper {margin:0;}
.node-form #edit-field-media-supplier-nid-nid-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-taxonomy-3-wrapper label {width:90px; float:left; display:block; line-height:32px;}
.node-form #edit-taxonomy-3-wrapper select {width:300px;}

/* supplier node form */
.node-form #edit-supplier-title-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-supplier-title-wrapper input {width:400px;}
.node-form #edit-taxonomy-2-wrapper label {width:90px; float:left; display:block; line-height:16px;}

.node-form #edit-field-supplier-town-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-town-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-address-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-address-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-phone-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-phone-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-fax-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-fax-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-email-0-email-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-email-0-email-wrapper input {width:400px;}
.node-form #edit-field-supplier-id-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-id-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-vat-0-value-wrapper label {width:80px; float:left; display:block; padding-right:10px;}
.node-form #edit-field-supplier-vat-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-vat-0-value-wrapper {width:100%; overflow:hidden;}
.node-form #edit-field-supplier-bank-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-bank-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-iban-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-iban-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-bic-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-supplier-bic-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-contact-person-0-value-wrapper label {width:80px; float:left; display:block; padding-right:10px;}
.node-form #edit-field-supplier-contact-person-0-value-wrapper input {width:400px;}
.node-form #edit-field-supplier-contact-person-0-value-wrapper {width:100%; overflow:hidden;}


.node-form #edit-field-client-phone-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-client-phone-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-fax-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-client-fax-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-contact-person-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-client-contact-person-0-value-wrapper input {width:500px;}
.node-form #edit-field-client-delivery-addr-0-value-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-client-delivery-addr-0-value-wrapper input {width:500px;} 
.node-form #edit-field-client-email-0-email-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-client-email-0-email-wrapper input {width:500px;} 

#main .messages.error {display:none;}
.node-form #group_products_values .form-item label {display:none;}
.node-form #group_products_values .form-item select {width:300px;}
.node-form #group_products_values td.content-multiple-drag {width:66px;}
.node-form #edit-field-preparation-format-0-value-wrapper label {float:left; display:block; width:90px;}
.node-form #edit-field-preparation-format-0-value-wrapper input {width:300px;}
.node-form #edit-field-preparation-colors-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-preparation-colors-value-wrapper select {width:300px;}
.node-form #edit-field-preparation-type-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-preparation-type-value-wrapper select {width:300px;}
.node-form #edit-field-preparation-clicks-0-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-preparation-order-0-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-preparation-printer-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-preparation-printer-value-wrapper select {width:300px;}

.node-form .group-product-finishing {margin-left:90px;}
.node-form .group-product-finishing legend {font-weight:bold;}
.node-form #edit-field-product-folding-value-wrapper {width:100px; float:left; display:block; line-height:32px; margin:0;}
.node-form #edit-field-product-folds-0-value-wrapper label {width:80px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-folds-0-value-wrapper {margin:0;}
.node-form #edit-field-product-creasing-value-wrapper {width:100px; float:left; display:block; line-height:32px; margin:0;}
.node-form #edit-field-product-creases-0-value-wrapper label {width:80px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-creases-0-value-wrapper {margin:0;}
.node-form #edit-field-product-perforation-value-wrapper {margin:0; line-height:32px;}
.node-form #edit-field-product-stitching-value-wrapper {margin:0; line-height:32px;}
.node-form #edit-field-product-diecut-value-wrapper {margin:0; line-height:32px;}
.node-form #edit-field-product-varnish-value-wrapper label {width:100px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-varnish-value-wrapper select {width:185px;}
.node-form #edit-field-product-varnish-value-wrapper {margin:0;}
.node-form #edit-field-product-uv-value-wrapper label {width:100px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-uv-value-wrapper select {width:185px;}
.node-form #edit-field-product-uv-value-wrapper {margin:0;}
.node-form #edit-field-product-laminate-value-wrapper label {width:100px; float:left; display:block; line-height:32px;}
.node-form #edit-field-product-laminate-value-wrapper select {width:185px;}
.node-form #edit-field-product-diecuting-value-wrapper {margin:0; line-height:32px;}
.node-form #edit-field-product-laminate-value-wrapper {margin:0;}
.node-form #edit-field-product-client-0-nid-nid-wrapper label {width:90px; float:left; display:block;}
.node-form #edit-field-product-client-0-nid-nid-wrapper input {width:300px;}
.node-form #edit-field-product-client-0-nid-nid-wrapper .description {margin-left:90px;}


.node-form #edit-incoming-payment-title-wrapper label {float:left; display:block; width:80px;}
.node-form #edit-incoming-payment-title-wrapper input {width:300px;}
.node-form #edit-field-payment-type-value-wrapper label {float:left; display:block; width:80px; line-height:32px;}
.node-form #edit-field-payment-type-value-wrapper select {width:300px;}
.node-form #edit-field-payment-bank-ref-0-value-wrapper label {float:left; display:block; width:80px;}
.node-form #edit-field-payment-bank-ref-0-value-wrapper input {width:300px;}
.node-form #edit-field-payment-date-2-0-value-wrapper label {float:left; display:block; width:80px; line-height:32px;}
.node-form #edit-field-payment-date-2-0-value-wrapper input {width:300px;}
.node-form #edit-field-payment-amount-0-value-wrapper label {float:left; display:block; width:80px; line-height:32px;}

.node-form #group-payment-invoices-items {margin-left:80px;}
.node-form #group-payment-invoices-items legend {font-weight:bold;}
.node-form #group-payment-invoices-items table tr {background-color:#fff;}
.node-form #group-payment-invoices-items table .form-item label {display:none;}
.node-form #group-payment-invoices-items table .form-item input.form-text {width:250px;}
.node-form #edit-field-payment-bank-ref-0-value-wrapper .description {margin-left:80px;}
.node-form #edit-incoming-payment-title-wrapper .description {margin-left:80px;}

/* calculation node form */
.node-form #edit-field-calc-product-fmt-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-calc-product-fmt-value-wrapper select {width:300px;}
.node-form #edit-field-calc-product-qty-0-value-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-calc-product-media-nid-nid-wrapper label {float:left; display:block; width:90px; line-height:32px;}
.node-form #edit-field-calc-product-media-nid-nid-wrapper select {width:300px;}

.node-form #group-calc-elements-items thead tr {border:1px solid red; float:left; width:770px; display:block; padding:0 0 0 6px;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-type {border:1px solid red; width:120px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-machine {border:1px solid red; width:120px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-profile {border:1px solid red; width:120px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-work {border:1px solid red; width:30px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-vol {border:1px solid red;  width:90px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-inpos {border:1px solid red;  width:90px; padding:0;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-price {border:1px solid red;  width:90px; padding:0;}

.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-m-supplier {display:none;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-m-type {display:none;}
.node-form #group-calc-elements-items thead .content-multigroup-cell-field-calc-element-m-format {display:none;}

.node-form #group-calc-elements-items tbody tr {border:1px solid red; height:75px; width:770px; display:block; padding:0;}
.node-form #group-calc-elements-items tbody .content-multiple-drag {float:left; display:block; border:1px solid red; width:20px; padding:0; height:72px; line-height:72px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-type {float:left; display:block; border:1px solid red; width:120px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-machine {float:left; display:block; border:1px solid red;  width:120px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-profile {float:left; display:block; border:1px solid red;  width:120px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-work {float:left; display:block; border:1px solid red;  width:30px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-vol {float:left; display:block; border:1px solid red;  width:90px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-inpos {float:left; display:block; border:1px solid red;  width:90px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-price {float:left; display:block; border:1px solid red;  width:90px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-media {float:left; display:block; border:1px solid red;  width:50px; padding:0; line-height:35px; height:35px;}
.node-form #group-calc-elements-items tbody .content-multigroup-cell-field-calc-element-m-supplier {float:left; display:block; border:1px solid red;  width:120px; padding:0; line-height:35px; height:35px;}
.node-form .content-multigroup-cell-field-calc-element-type select {width:115px;}
.node-form .content-multigroup-cell-field-calc-element-machine select {width:115px;}
.node-form .content-multigroup-cell-field-calc-element-profile select {width:115px;}
.node-form .content-multigroup-cell-field-calc-element-m-supplier select {width:115px;}
.node-form .content-multigroup-cell-field-calc-element-vol input {width:80px;}
.node-form .content-multigroup-cell-field-calc-element-inpos input {width:80px;}
.node-form .content-multigroup-cell-field-calc-element-price input {width:80px;}
//.node-form .content-multiple-remove-cell {border:1px solid red;}

/* machine node form */
.node-form #edit-machine-title-wrapper label {float:left; display:block; width:95px;}
.node-form #edit-machine-title-wrapper input {width:300px;}
.node-form #edit-field-machine-location-value-wrapper {margin-left:95px;}
.node-form #edit-field-machine-supplier-nid-nid-wrapper label {float:left; display:block; width:95px; line-height:32px;}
.node-form #edit-field-machine-supplier-nid-nid-wrapper select {width:300px;}
.node-form #edit-taxonomy-5-wrapper label {float:left; display:block; width:95px; line-height:32px;}
.node-form #edit-taxonomy-5-wrapper select {width:300px;}
.node-form #edit-field-machine-type-value-wrapper label {float:left; display:block; width:95px; line-height:32px;}
.node-form #edit-field-machine-type-value-wrapper select {width:300px;}
.node-form #edit-field-machine-units-0-value-wrapper label {float:left; display:block; width:95px; line-height:32px;}
.node-form #edit-field-machine-polish-unit-value-wrapper {margin-left:95px;}
.node-form #group-machine-profile-items td {padding:0;}
.node-form #group-machine-profile-items tr {background-color:#fff;}
.node-form #group-machine-profile-items .content-multigroup-cell-field-machine-profile input {width:150px;}
.node-form #group-machine-profile-items .content-multigroup-cell-field-machine-prod-time input {width:80px;}
.node-form #group-machine-profile-items .content-multigroup-cell-field-machine-prep-time input {width:80px;}
.node-form #group-machine-profile-items .content-multigroup-cell-field-machine-start-vol input {width:80px;}

/* income order node form */
.node-form #edit-income-order-title-wrapper label {float:left; display:block; width:70px;}
.node-form #edit-income-order-title-wrapper input {width:300px;}
.node-form #edit-income-order-title-wrapper .description {margin-left:70px;}
.node-form #edit-income-order-title-wrapper {margin-bottom:0;}
.node-form #edit-field-income-order-date-0-value-wrapper label {float:left; display:block; line-height:32px; width:70px;}
.node-form #edit-field-income-order-date-0-value-wrapper input {width:300px;}
.node-form .date-clear-block {margin:0; padding:0;}
.node-form #edit-field-income-order-customer-0-nid-nid-wrapper label {float:left; display:block; width:70px;}
.node-form #edit-field-income-order-customer-0-nid-nid-wrapper input {width:300px;}
.node-form #edit-field-income-order-customer-0-nid-nid-wrapper {margin-top:0;}
.node-form #group-income-order-products-items legend {font-weight:bold;}
.node-form #group-income-order-products-items .form-item label {display:none;}
.node-form #group-income-order-products-items .form-item input.form-text {width:300px;}
.node-form #group-income-order-products-items tr {background-color:#fff;}
.node-form #group-income-order-products-items .content-multiple-drag {width:50px;}
.node-form #group-income-order-products-items legend {font-weight:bold;}
.node-form #group-income-order-products-items .content-add-more {}
.node-form #group-income-order-products-items .content-add-more input {float:right;}
.node-form #group-income-order-payments-items legend {font-weight:bold;}
.node-form #group-income-order-payments-items .form-item label {display:none;}
.node-form #group-income-order-payments-items .form-item input.form-text {width:300px;}
.node-form #group-income-order-payments-items tr {background-color:#fff;}
.node-form #group-income-order-payments-items .content-multiple-drag {width:50px;}
.node-form #group-income-order-payments-items .content-add-more {}
.node-form #group-income-order-payments-items .content-add-more input {float:right;}
.node-form #edit-field-income-order-state-value-wrapper label {float:left; display:block; width:80px; line-height:32px;}
.node-form #edit-field-income-order-state-value-wrapper select {width:300px;}

.node-product .field-label-inline-first {float:left; display:block; width:90px;}
.node-product .field-field-product-client {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-type-content-taxonomy.field-field-product-type {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-name {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-date {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-term {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-format {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-colors {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-media {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-qty {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-price {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-amount {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-state {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .field-field-product-invoice {line-height:28px; border-bottom:1px dotted #ccc;}
.node-product .create-new-invocie img {padding:0; margin:0;}
.node-product .create-new-invocie a {padding:0; margin:0;}
.node-product .create-new-invocie {border-bottom:1px dotted #ccc; padding:5px 0 0 90px; margin-bottom:5px;}
.node-product .create-new-order {border-bottom:1px solid #ccc; padding:0 0 0 90px; margin-bottom:5px;}
.node-product .product-preview {float:left; display:block; width:100px; padding-top:10px;}
.node-product .product-info {margin-left:100px;}
.node-product .product-info .create-new-invocie {padding-left:0;}

.node-income-order .view-invoice-customer,
.node-invoice .view-invoice-customer {
	width:310px;
	float:left;
	display:block;
}
.node-income-order .income-order-company,
.node-invoice .invoice-company {
	width:310px;
	float:right;
	display:block;
}
.node-income-order .income-order-company .company-bank-bic-label,
.node-invoice .invoice-company .company-bank-bic-label,
.node-income-order .income-order-company .company-bank-account-label,
.node-invoice .invoice-company .company-bank-account-label,
.node-income-order .income-order-company .company-vat-label,
.node-invoice .invoice-company .company-vat-label,
.node-income-order .income-order-company .company-id-label,
.node-invoice .invoice-company .company-id-label,
.node-income-order .income-order-company .company-representative-label,
.node-invoice .invoice-company .company-representative-label,
.node-income-order .income-order-company .company-town,
.node-invoice .invoice-company .company-town {
	padding-right:5px;
	float:left;
	display:block;
}
.node-income-order .income-order-company .company-name,
.node-invoice .view-invoice-customer .views-field-title,
.node-income-order .view-invoice-customer .views-field-title,
.node-invoice .invoice-company .company-name {
	font-size:14px;
	font-weight:bold;
}
.node-income-order .income-order-company .company-bank-bic,
.node-invoice .invoice-company .company-bank-bic,
.node-income-order .income-order-company .company-bank-account,
.node-invoice .invoice-company .company-bank-account,
.node-income-order .income-order-company .company-representative,
.node-invoice .invoice-company .company-representative,
.node-income-order .income-order-company .company-id,
.node-invoice .invoice-company .company-id,
.node-income-order .income-order-company .company-vat,
.node-invoice .invoice-company .company-vat,
.node-income-order .views-field-field-client-id-num-value span,
.node-invoice .views-field-field-customer-vat-value span,
.node-income-order .views-field-field-client-vat-value span,
.node-invoice .views-field-field-customer-id-num-value span,
.node-invoice .views-field-field-customer-representative-value span {
	font-weight:bold;
}
.node-income-order .income-order-info,
.node-invoice .invoice-info {
	width:100%;
	overflow:hidden;
}
.node-invoice .field-field-invoice-date-of-event {
	width:100%;
	margin:0;
	text-align:center;
}
.node-income-order .field-field-income-order-date {width:100%; margin:0 0 10px 0; text-align:center;}
.node-invoice .field-field-invoice-date {width:100%; margin:0; text-align:center;}
.node-invoice .field-field-invoice-doctype {text-align:center;}

.node-invoice .view-invoice-products table {/*	table-layout:fixed; width:780px;*/}
.node-invoice .view-invoice-products table td {vertical-align:top;}
.node-invoice .view-invoice-products table td.inv-beerlist-info {font-weight:bold;font-size:12px;}

.node-income-order .view-invoice-products table tr,
.node-invoice .view-invoice-products table tr {
	background-color:#fff;
	border-bottom:1px dotted #ccc;
	border-top:1px dotted #ccc;
}
.node-invoice .view-invoice-products table tfoot td {font-style:normal;}
.node-invoice .field-field-invoice-state {line-height:32px; border-top:2px solid #ccc; border-bottom:1px dotted #ccc;}
.node-invoice .content-multigroup-group-invoice-payments {border:0; padding:0; border-bottom:2px solid #ccc;}
.node-invoice .content-multigroup-group-invoice-payments legend {display:none;}
.node-income-order .content-multigroup-group-income-order-payments {border:0; padding:0; border-bottom:2px solid #ccc;}
.node-income-order .content-multigroup-group-income-order-payments legend {display:none;}

.node-invoice .view-invoice-products .views-field-rownumber {width:20px;}
.node-invoice .view-invoice-products .views-field-view-node {width:20px; text-align:right;}
.node-invoice .view-invoice-products .views-field-field-product-description-value {width:360px;}
.node-invoice .view-invoice-products .views-field-field-product-amount-value {text-align:right;}
.node-invoice .view-invoice-products .views-field-field-beerlist-amount-value {text-align:right;}
.node-invoice .view-invoice-products .invoice-total-amount-val {text-align:right;font-weight:bold;}
.node-invoice .view-invoice-products .invoice-total-amount {text-align:right;font-weight:bold;}
.node-invoice .view-invoice-products .invoice-vat-amount-val {text-align:right;font-weight:bold;}
.node-invoice .view-invoice-products .invoice-vat-amount {text-align:right;font-weight:bold;}
.node-invoice .view-invoice-products .invoice-price-amount-val {text-align:right;font-weight:bold;}
.node-invoice .view-invoice-products .invoice-price-amount {text-align:right;font-weight:bold;}

.node-income-order .view-invoice-products .views-field-rownumber {width:20px;}
.node-income-order.view-invoice-products .views-field-view-node {width:20px; text-align:right;}
.node-income-order .view-invoice-products .views-field-field-product-description-value {width:360px;}
.node-income-order .view-invoice-products .views-field-field-product-amount-value {text-align:right;}
.node-income-order .view-invoice-products .views-field-field-beerlist-amount-value {text-align:right;}
.node-income-order .view-invoice-products .invoice-total-amount-val {text-align:right;font-weight:bold;}
.node-income-order .view-invoice-products .invoice-total-amount {text-align:right;font-weight:bold;}
.node-income-order .view-invoice-products .invoice-vat-amount-val {text-align:right;font-weight:bold;}
.node-income-order .view-invoice-products .invoice-vat-amount {text-align:right;font-weight:bold;}
.node-income-order .view-invoice-products .invoice-price-amount-val {text-align:right;font-weight:bold;}
.node-income-order .view-invoice-products .invoice-price-amount {text-align:right;font-weight:bold;}

.node-invoice .sign-info {border-top:1px solid #ccc; border-bottom:1px solid #ccc; padding:10px 0; margin-bottom:10px; float:none; clear:both; width:100%; overflow:hidden;}
.node-income-order .sign-info {border-top:1px solid #ccc; border-bottom:1px solid #ccc; padding:10px 0; margin-bottom:10px; float:none; clear:both; width:100%; overflow:hidden;}

.node-invoice .sign-info .customer-info {width:30%; float:left; display:block; padding:0 40px;}
.node-income-order .sign-info .customer-info {width:30%; float:left; display:block; padding:0 40px;}

.node-invoice .sign-info .supplier-name,
.node-invoice .sign-info .customer-name {font-weight:bold; display:block;}

.node-income-order .sign-info .supplier-name,
.node-income-order .sign-info .customer-name {font-weight:bold; display:block;}

.node-income-order .sign-info .customer-name {font-weight:bold; display:block;}
.node-invoice .sign-info .supplier-info {width:30%; float:right; text-align:right;}
.node-income-order .sign-info .supplier-info {width:30%; float:right; text-align:right;}
.node-invoice .sign-info .supplier-sign {font-size:10px; padding:40px 0 0 0; border-bottom:1px dotted #000; text-align:left;}
.node-income-order .sign-info .supplier-sign {font-size:10px; padding:40px 0 0 0; border-bottom:1px dotted #000; text-align:left;}
.node-invoice .sign-info .customer-sign {font-size:10px; padding:40px 0 0 0; border-bottom:1px dotted #000; text-align:left;}
.node-income-order .sign-info .customer-sign {font-size:10px; padding:40px 0 0 0; border-bottom:1px dotted #000; text-align:left;}

.node-income-order .invoice-number {text-align:center; font-size:18px; font-weight:bold; line-height:32px; padding:20px 0 10px 0;}
.node-invoice .invoice-number {text-align:center; font-size:20px; font-weight:bold; line-height:32px; padding:20px 0 10px 0;}
.node-invoice .create-new-payment {padding:10px 0 5px 0; border-bottom:1px dotted #ccc; margin-bottom:15px;}
.node-income-order .create-new-payment {padding:10px 0 5px 0; border-bottom:1px dotted #ccc; margin-bottom:15px;}


.view-incoming-invoices thead tr { border-top:2px solid #ccc; border-bottom:2px solid #ccc; }
.view-incoming-invoices thead th.views-field-field-invoice-product-nid { text-align:right }
.view-incoming-invoices thead th.views-field-field-invoice-product-vat { text-align:right }
.view-incoming-invoices thead th.views-field-field-invoice-product-amount { text-align:right }
.view-incoming-invoices tbody tr { background-color:#fff; }
.view-incoming-invoices tbody td.views-field-field-invoice-product-nid { text-align:right }
.view-incoming-invoices tbody td.views-field-field-invoice-product-vat { text-align:right }
.view-incoming-invoices tbody td.views-field-field-invoice-product-amount { text-align:right }
.view-incoming-invoices tfoot tr { border-top:2px solid #ccc; border-bottom:2px solid #ccc; }
.view-incoming-invoices tfoot td { font-weight:bold; font-style:normal; }
.view-incoming-invoices tfoot td.total-price { text-align:right }
.view-incoming-invoices tfoot td.total-vat { text-align:right }
.view-incoming-invoices tfoot td.total-amount { text-align:right }
.view-incoming-invoices .views-field-field-invoice-file-fid { text-align: right; }

#views-exposed-form-incoming-invoices-page-2 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-incoming-invoices-page-2 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-incoming-invoices-page-2 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-incoming-invoices-page-2 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-incoming-invoices-page-2 #edit-field-invoice-customer-nid-wrapper {width:300px; float:left; display:block;}
#views-exposed-form-incoming-invoices-page-2 #edit-field-invoice-customer-nid {width:250px;}
#views-exposed-form-incoming-invoices-page-2 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-incoming-invoices-page-2 #edit-submit-incoming-invoices {margin:5px 0 0 0;}


#views-exposed-form-incoming-invoices-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-incoming-invoices-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-incoming-invoices-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-incoming-invoices-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-incoming-invoices-page-1 #edit-field-invoice-customer-nid-wrapper {width:300px; float:left; display:block;}
#views-exposed-form-incoming-invoices-page-1 #edit-field-invoice-customer-nid {width:250px;}
#views-exposed-form-incoming-invoices-page-1 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-incoming-invoices-page-1 #edit-submit-incoming-invoices {margin:5px 0 0 0;}


.view-products thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-products tbody tr {background-color:#fff;}
.view-user-products thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-user-products tr {background-color:#fff;}
.view-user-products .views-field-field-product-qty-value {text-align:right;}
.view-user-products .views-field-field-product-price-value {text-align:right;}
.view-user-products .views-field-field-product-amount-value {text-align:right;}

.view-year-revenue-cons-report table thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-year-revenue-cons-report table tbody tr {background-color:#fff;}
.view-year-revenue-cons-report table tfoot tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-year-revenue-cons-report table tfoot td {font-weight:bold; font-style:normal;}
.view-year-revenue-cons-report table th.views-field-field-invoice-product-amount {text-align:right;}
.view-year-revenue-cons-report table td.views-field-field-invoice-product-amount {text-align:right;}
.view-year-revenue-cons-report table th.views-field-field-invoice-product-vat {text-align:right;}
.view-year-revenue-cons-report table td.views-field-field-invoice-product-vat {text-align:right;}
.view-year-revenue-cons-report table th.views-field-field-invoice-product-nid {text-align:right;}
.view-year-revenue-cons-report table td.views-field-field-invoice-product-nid {text-align:right;}
.view-year-revenue-cons-report caption {font-weight:bold; font-size:13px; line-height:32px;}

#views-exposed-form-year-revenue-cons-report-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-year-revenue-cons-report-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-year-revenue-cons-report-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-year-revenue-cons-report-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-year-revenue-cons-report-page-1 .date-views-filter-wrapper select {width:200px;}
#views-exposed-form-year-revenue-cons-report-page-1 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-year-revenue-cons-report-page-1 #edit-submit-year-revenue-cons-report {margin:5px 0 0 0;}


.node-supplier .field-label-inline-first {float:left; display:block; width:130px;}
.node-supplier .field-items {line-height:28px; border-bottom:1px dotted #ccc; width:100%; overflow:hidden;}

/* clients view list */
.view-clients table thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-clients table tbody tr {background-color:#fff;}

/* cost invoices view list */
.view-cost-invoices table thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-cost-invoices table tbody tr {background-color:#fff;}
.view-cost-invoices .views-field-field-cost-total-value {text-align:right;}
.view-cost-invoices .views-field-field-cost-vat-value {text-align:right;}
.view-cost-invoices .views-field-field-cost-total-amount-value {text-align:right;}
.view-cost-invoices tfoot td {font-style:normal; font-weight:bold;}
.view-cost-invoices tfoot tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}

#views-exposed-form-cost-invoices-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-cost-invoices-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-cost-invoices-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-cost-invoices-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-cost-invoices-page-1 #edit-field-invoice-customer-nid-wrapper {width:300px; float:left; display:block;}
#views-exposed-form-cost-invoices-page-1 #edit-field-invoice-customer-nid {width:250px;}
#views-exposed-form-cost-invoices-page-1 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-cost-invoices-page-1 #edit-submit-cost-invoices {margin:5px 0 0 0;}

/* view month VAT report */
#views-exposed-form-month-vat-report-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-month-vat-report-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-month-vat-report-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-month-vat-report-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-month-vat-report-page-1 #edit-field-invoice-customer-nid-wrapper {width:300px; float:left; display:block;}
#views-exposed-form-month-vat-report-page-1 #edit-field-invoice-customer-nid {width:250px;}
#views-exposed-form-month-vat-report-page-1 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-month-vat-report-page-1 #edit-submit-month-vat-report {margin:5px 0 0 0;}

.view-month-vat-report .month-cost-invoices {width:380px; float:left; margin-right:10px;}
.view-month-vat-report .month-income-invoices {width:380px; float:none;}
.view-month-vat-report .month-income-invoices {}
.view-month-vat-report table thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-month-vat-report table tbody tr {background-color:#fff;}
.view-month-vat-report .views-field-field-cost-total-value {text-align:right;}
.view-month-vat-report .views-field-field-cost-exclusion-value input {margin:0;}
.view-month-vat-report .views-field-field-cost-exclusion-value form {margin:0; padding:0;}
.view-month-vat-report .views-field-field-invoice-product-nid {text-align:right;}
.view-month-vat-report tfoot {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-month-vat-report tfoot tr {border-top:1px dotted #ccc;}
.view-month-vat-report tfoot td {font-weight:bold; font-style:normal;}

.view-income-payments thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-income-payments table tbody tr {background-color:#fff;}
.view-income-payments .views-field-field-payment-amount-value {text-align:right;}

/* unpayed invoices */

#views-exposed-form-unpayed-income-invoices-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-unpayed-income-invoices-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-unpayed-income-invoices-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-unpayed-income-invoices-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block;}
#views-exposed-form-unpayed-income-invoices-page-1 #edit-field-invoice-customer-nid-wrapper {width:300px; float:left; display:block;}
#views-exposed-form-unpayed-income-invoices-page-1 #edit-field-invoice-customer-nid {width:250px;}
#views-exposed-form-unpayed-income-invoices-page-1 .date-views-filter-wrapper .description {margin:0;}
#views-exposed-form-unpayed-income-invoices-page-1 #edit-submit-unpayed-income-invoices {margin:5px 0 0 0;}
.view-unpayed-income-invoices thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-unpayed-income-invoices table tbody tr {background-color:#fff;}
.view-unpayed-income-invoices .views-field-field-invoice-product-nid {text-align:right;}
.view-unpayed-income-invoices .views-field-field-invoice-product-vat {text-align:right;}
.view-unpayed-income-invoices .views-field-field-invoice-product-amount {text-align:right;}

/* incoming orders view */
#views-exposed-form-income-orders-page-1 {margin-bottom:0; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; padding-top:5px;}
#views-exposed-form-income-orders-page-1 label {float:left; display:block; line-height:32px; padding-right:5px;}
#views-exposed-form-income-orders-page-1 #edit-field-income-order-state-value {width:100px;}
#views-exposed-form-income-orders-page-1 #edit-field-income-order-customer-nid {width:150px;}
#views-exposed-form-income-orders-page-1 .views-exposed-widget .views-widget {float:left; display:block; padding:0 10px; 0 0}
#views-exposed-form-income-orders-page-1 .views-exposed-widget {padding:0;}
#views-exposed-form-income-orders-page-1 .date-views-filter-wrapper {padding:0; margin:0; float:left; display:block; min-width:0;}
#views-exposed-form-income-orders-page-1 .date-views-filter-wrapper .date-clear {padding:0; margin:0; float:left; display:block; }
#views-exposed-form-income-orders-page-1 .date-views-filter-wrapper .description {padding:0; margin:0;}
#views-exposed-form-income-orders-page-1 .container-inline-date {float:left; display:block; width:180px;}
#views-exposed-form-income-orders-page-1 #edit-submit-income-orders {margin:5px 0 0 0;}

.view-income-orders thead tr {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.view-income-orders table tbody tr {background-color:#fff;}


/* incoming payment view */
.node-incoming-payment .field-label-inline-first {float:left; display:block; width:90px;}
.node-incoming-payment .field-items {line-height:32px; border-top:1px dotted #ccc;}
.node-incoming-payment .view-income-payment-invoices caption {padding:0; font-weight:bold; line-height:32px; border-top:1px dotted #ccc; border-bottom:1px dotted #ccc; width:100%; overflow:hidden;}
.node-incoming-payment .view-income-payment-invoices caption a {font-weight:normal;}
.node-incoming-payment .view-income-payment-invoices thead {border-top:1px solid #ccc; border-bottom:1px solid #ccc; height:32px;}
.node-incoming-payment .view-income-payment-invoices tbody tr {background-color:#fff;}

.node-incoming-payment .view-income-payment-invoices .views-field-field-invoice-state-value form {margin:0;}
.node-incoming-payment .view-income-payment-invoices .views-field-field-invoice-state-value {text-align:right;}
.node-incoming-payment .view-income-payment-invoices .views-field-field-income-order-state-value form {margin:0;}
.node-incoming-payment .view-income-payment-invoices .views-field-field-income-order-state-value {text-align:right;}

.node-incoming-payment .view-income-payment-invoices .views-field-phpcode {text-align:right;}
.node-incoming-payment .view-income-payment-invoices .views-field-field-product-amount-value {text-align:right;}
.node-incoming-payment .view-income-payment-invoices .views-field-title {width:180px;}
.node-incoming-payment .view-income-payment-invoices .views-field-field-invoice-product-nid {width:180px;}
.node-incoming-payment .view-income-payment-invoices tfoot td {font-weight:bold; font-style:normal;}
.node-incoming-payment .view-income-payment-invoices tfoot tr {border-bottom:1px solid #ccc;}
.node-incoming-payment .view-income-payment-invoices tfoot {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.node-incoming-payment .view-income-payment-invoices tfoot .payment-total-price-val {text-align:right;}
.node-incoming-payment .view-income-payment-invoices tfoot .payment-total-vat-val {text-align:right;}
.node-incoming-payment .view-income-payment-invoices tfoot .payment-total-amount-val {text-align:right;}
.node-incoming-payment .field-field-payment-amount .field-item {font-size:14px; font-weight:bold; color:#1bc300;}
.node-incoming-payment .field-field-payment-amount .field-label-inline-first {font-size:12px; color:#000000;}
.node-incoming-payment .view-income-payment-invoices tbody .views-field-phpcode {font-size:14px; font-weight:bold; color:#ff0000;}

.node-incoming-payment .payment-customer-label {float:left; display:block; width:90px;}

.node-cost-invoice .field-label-inline-first {float:left; display:block; width:110px;}
.node-cost-invoice .field-field-cost-supplier {line-height:22px; margin-top:10px;}
.node-cost-invoice .field-field-cost-invoice {line-height:22px;}
.node-cost-invoice .field-field-cost-invoice-date {line-height:22px;}
.node-cost-invoice .content-multigroup-group-cost-description {padding:0; border:0; margin-bottom:0;}
.node-cost-invoice .content-multigroup-group-cost-description legend {display:none;}
.node-cost-invoice .content-multigroup-group-cost-description th {border-top:2px solid #ccc; border-bottom:2px solid #ccc;}
.node-cost-invoice .content-multigroup-group-cost-description tbody tr {background-color:#fff;}
.node-cost-invoice .content-multigroup-cell-field-cost-qty {text-align:right;}
.node-cost-invoice .content-multigroup-cell-field-cost-price {text-align:right;}
.node-cost-invoice .content-multigroup-cell-field-cost-amount {text-align:right;}
.node-cost-invoice .content-multigroup-cell-field-cost-product {text-align:right;}
.node-cost-invoice .group-cost-totals legend {display:none;}
.node-cost-invoice .group-cost-totals {margin-top:0; border:0; padding:0;}
.node-cost-invoice .field-field-cost-total .field-label {width:570px; float:left; display:block; text-align:right;}
.node-cost-invoice .field-field-cost-total .field-item {text-align:right; margin-right:85px;}
.node-cost-invoice .field-field-cost-total {line-height:32px; border-bottom:1px dotted #ccc;}
.node-cost-invoice .field-field-cost-vat .field-label {width:570px; float:left; display:block; text-align:right;}
.node-cost-invoice .field-field-cost-vat .field-item {text-align:right; margin-right:85px;}
.node-cost-invoice .field-field-cost-vat {line-height:32px; border-bottom:1px dotted #ccc;}
.node-cost-invoice .field-field-cost-total-amount .field-label {width:570px; float:left; display:block; text-align:right;}
.node-cost-invoice .field-field-cost-total-amount .field-item {text-align:right; margin-right:85px;}
.node-cost-invoice .field-field-cost-total-amount {line-height:32px; border-bottom:1px dotted #ccc;}

/*
#block-menu-menu-media-menu,
#block-menu-menu-preparation-menu,
#block-menu-menu-finance-menu,
#block-menu-menu-products-menu,
#block-menu-menu-clients-menu {border:1px solid #E3E3E3; background-color:#f0f0f0;}

#block-menu-menu-media-menu h3,
#block-menu-menu-preparation-menu h3,
#block-menu-menu-finance-menu h3,
#block-menu-menu-products-menu h3,
#block-menu-menu-clients-menu h3 {margin:0; padding-left:10px; border-bottom:1px solid #ddd; color:#666;}

#block-menu-menu-media-menu, h3 a,
#block-menu-menu-preparation-menu h3 a,
#block-menu-menu-finance-menu h3 a,
#block-menu-menu-products-menu h3 a,
#block-menu-menu-clients-menu h3 a {color:#666;}

#block-menu-menu-media-menu ul,
#block-menu-menu-preparation-menu ul,
#block-menu-menu-finance-menu ul,
#block-menu-menu-products-menu ul,
#block-menu-menu-clients-menu ul {list-style-image:none; margin-bottom:0px;}

#block-menu-menu-media-menu ul li,
#block-menu-menu-preparation-menu ul li,
#block-menu-menu-finance-menu ul li,
#block-menu-menu-products-menu ul li,
#block-menu-menu-clients-menu ul li {background-image:none; padding:0; line-height:28px; margin:0; border-bottom:1px solid #ddd; border-top:1px solid #fff;}


#block-menu-menu-media-menu ul li.last,
#block-menu-menu-preparation-menu ul li.last,
#block-menu-menu-finance-menu ul li.last,
#block-menu-menu-products-menu ul li.last,
#block-menu-menu-clients-menu ul li.last {border-bottom:0;}

#block-menu-menu-media-menu ul li.last a,
#block-menu-menu-preparation-menu ul li.last а,
#block-menu-menu-finance-menu ul li.last a,
#block-menu-menu-products-menu ul li.last a,
#block-menu-menu-clients-menu ul li.last a {padding-bottom:7px;}

#block-menu-menu-media-menu ul li a,
#block-menu-menu-preparation-menu ul li а,
#block-menu-menu-finance-menu ul li a,
#block-menu-menu-products-menu ul li a,
#block-menu-menu-clients-menu ul li a {color:#575757; line-height:20px; padding:5px 10px;}

#block-menu-menu-media-menu ul li a:hover,
#block-menu-menu-preparation-menu ul li а:hover,
#block-menu-menu-finance-menu ul li a:hover,
#block-menu-menu-products-menu ul li a:hover,
#block-menu-menu-clients-menu ul li a:hover {background-color:#ddd; text-decoration:none; background:#ddd url(images/menu-leaf-hover.gif) no-repeat 190px 5px;}

#block-menu-menu-media-menu ul li.active-trail a,
#block-menu-menu-preparation-menu ul li.active-trail a,
#block-menu-menu-finance-menu ul li.active-trail a,
#block-menu-menu-products-menu ul li.active-trail a,
#block-menu-menu-clients-menu ul li.active-trail a {text-decoration:none; background:#eee url(images/menu-leaf-hover.gif) no-repeat 190px 5px;}

#block-menu-menu-finance-menu ul li.expanded a {text-decoration:none; background:#eee url(images/stema-menu-expanded.gif) no-repeat 190px 6px; border-bottom:1px solid #ddd;}
#block-menu-menu-finance-menu ul li.collapsed a {text-decoration:none; background:#eee url(images/stema-menu-collapsed.gif) no-repeat 190px 6px; border-bottom:0}
#block-menu-menu-finance-menu ul li.expanded ul li a {border-bottom:0;}
#block-menu-menu-finance-menu ul li.collapsed ul li a {border-bottom:0;}

#block-menu-menu-finance-menu ul li ul li {background-image:none !important; padding-left:10px;}
#block-menu-menu-finance-menu ul li ul li a {background-image:none !important;}

#block-menu-menu-media-menu ul li a.active,
#block-menu-menu-preparation-menu ul li a.active,
#block-menu-menu-finance-menu ul li a.active,
#block-menu-menu-products-menu ul li a.active,
#block-menu-menu-clients-menu ul li a.active {color:#f37000;}
*/


#sidebar-left .block {
	border: 3px solid #fff;
    -moz-border-radius: 10px 10px 10px 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    -moz-box-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 3px 4px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 0.25), 0 3px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.25);
	background: -moz-linear-gradient(center top , rgba(0, 0, 0, 0.04) 0%, rgba(200, 200, 200, 0.1) 50%, rgba(200, 200, 200, 0) 100%) repeat scroll 0 0 transparent;    
	background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.04) 0%, rgba(200, 200, 200, 0.1));
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0.04)), color-stop(0.50, rgba(200, 200, 200, 0.1)));
	background-color: #fff;
    padding: 10px;
    position: relative;
	width: 210px;
    display: block;
	behavior: url("http://stema-dev.com/sites/all/themes/framework/ie-css3.htc");
}

#sidebar-left .block ul li {
	line-height:28px;
	border-bottom:1px dotted #ccc;
}
#sidebar-left .block ul li.leaf {
	background-image: none;
	padding:0 0 0 5px;
}
#sidebar-left .block h3 {
	color: #666;
	font-size: 1.4em;
	background-image: url(images/block-title-bg.png);
	background-position: 0px 30px;
	height: 80px;
	width: 240px;
	line-height: 30px;
	background-repeat: no-repeat;
	margin: 0 0 -35px -20px;
	padding: 0 0 0 10px;
	text-align: center;
}
#sidebar-left .block ul li a {
	font-size:1.1em;
}
#sidebar-left .block ul li a:hover, #sidebar-left .block ul li a.active {
	text-decoration:none;
}

/*
#block-menu-menu-clients-menu ul li.first:hover {
	background:#ddd url(images/lagging-hover.gif) no-repeat 5px 5px;
}
#block-menu-menu-clients-menu ul li.first.active-trail:hover {
	background:#eee url(images/lagging.gif) no-repeat 5px 5px;
}
#block-menu-menu-clients-menu ul li.first {
	background:#eee url(images/lagging.gif) no-repeat 5px 5px;
}
*/

#content-display-overview-form select {width:120px;}

/* request webform */
#webform-client-form-4766 #edit-submitted-company-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-e-mail-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-product-type-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-product-type-wrapper select {width:200px;}
#webform-client-form-4766 #webform-component-product-format legend {font-weight:bold;}
#webform-client-form-4766 #webform-component-product-format .description {color:#999; font-size:10px;}
#webform-client-form-4766 #webform-component-product-format {margin-left:80px; width:425px; padding-bottom:0;}
#webform-client-form-4766 #edit-submitted-product-format-product-width-wrapper input {width:50px;}
#webform-client-form-4766 #edit-submitted-product-format-product-height-wrapper input {width:50px;}
#webform-client-form-4766 #edit-submitted-product-format-product-width-wrapper {float:left; display:block; line-height:36px; margin:0;}
#webform-client-form-4766 #edit-submitted-product-format-product-height-wrapper {line-height:36px; display:block; width:300px; overflow:hidden;}

#webform-client-form-4766 #edit-submitted-product-pages-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-product-pages-wrapper {line-height:36px; padding:0; margin:0;}

#webform-client-form-4766 #webform-component-simple-fieldset {border:0; padding:0; margin-top:0;}

#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-colors-wrapper label {width:70px; float:left; display:block; line-height:36px;}

#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-wrapper {float:left; display:block; margin:0;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-wrapper input {width:300px;}
#webform-component-simple-fieldset--product-paper-select {width:130px; overflow:hidden; display:block; line-height:32px; padding-left:10px;}

#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-varnish-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-varnish-wrapper select {width:200px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-uv-varnish-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-uv-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-uv-varnish-wrapper select {width:200px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-laminate-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-laminate-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-laminate-wrapper select {width:200px;}
#webform-client-form-4766 #edit-submitted-note-wrapper {margin-left:80px; width:480px;}
#webform-client-form-4766 #edit-submitted-note-wrapper #edit-submitted-note {border:1px solid #ccc;}
#webform-client-form-4766 #edit-actions {margin-left:80px;}

#webform-client-form-4766 #webform-component-cover-fieldset {border:0; padding:10px 0 0 0; margin-top:10px; border-top:1px solid #CCCCCC; width:530px;}
#webform-client-form-4766 #webform-component-cover-fieldset legend {padding:0; font-weight:bold; padding-right:10px; color:#F37000;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-colors-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-paper-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-varnish-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-varnish-wrapper select {width:200px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-uv-varnish-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-uv-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-uv-varnish-wrapper select {width:200px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-laminate-wrapper {line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-laminate-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-cover-fieldset-cover-laminate-wrapper select {width:200px;}
/* simple paper select */
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-select-wrapper {margin:0; margin-left:80px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-select-wrapper select {width:200px;}
#webform-client-form-4766 #webform-component-simple-fieldset--simple-paper-select {padding:0;}
#webform-client-form-4766 #webform-component-simple-fieldset--simple-paper-select {float:left; display:block;}
/* simple paper weight */
/*#webform-client-form-4766 #webform-component-simple-fieldset--simple-paper-weight {border:1px solid red; display:block; padding:0;} */
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-weight-wrapper {margin:0; display:block; line-height:36px;}
#webform-client-form-4766 #edit-submitted-simple-fieldset-simple-paper-weight-wrapper select {margin-left:10px; width:160px;}

#webform-client-form-4766  #webform-component-body-fieldset {border:0; padding:10px 0 0 0; margin-top:10px; border-top:1px solid #CCCCCC; width:530px;}
#webform-client-form-4766  #webform-component-body-fieldset legend {padding:0; font-weight:bold; padding-right:10px; color:#F37000;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-colors-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-paper-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-varnish-wrapper {line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-varnish-wrapper select {width:200px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-uv-varnish-wrapper {line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-uv-varnish-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-uv-varnish-wrapper select {width:200px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-laminate-wrapper {line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-laminate-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-body-fieldset-body-laminate-wrapper select {width:200px;}
/* product binding */
#webform-client-form-4766  #edit-submitted-product-binding-wrapper {line-height:36px;}
#webform-client-form-4766  #edit-submitted-product-binding-wrapper label {width:70px; float:left; display:block; line-height:36px;}
#webform-client-form-4766  #edit-submitted-product-binding-wrapper select {width:200px;}

#webform-client-form-4766  #edit-product-diecut-wrapper label {width:70px; float:left; display:block; line-height:36px;}


/* webform submission */
.webform-submission {}
.webform-submission #edit-submitted-company-wrapper label {float:left; display:block; width:70px;}
.webform-submission #webform-component-e-mail label {float:left; display:block; width:70px;}
.webform-submission #webform-component-product-type label {float:left; display:block; width:70px;}
.webform-submission #edit-submitted-product-pages-wrapper label {float:left; display:block; width:70px;}
.webform-submission #webform-component-simple-fieldset {border:0; padding:0;}
.webform-submission #edit-submitted-simple-fieldset-simple-colors-wrapper label {float:left; display:block; width:70px;}
.webform-submission #edit-submitted-simple-fieldset-simple-paper-wrapper label {float:left; display:block; width:70px;}


.view-display-id-page_1 tbody .views-field-phpcode a {font-size:13px; font-weight:bold; color:#000000;}

.view-display-id-page_3 {}
.view-display-id-page_3 td {vertical-align:top; padding:10px 0 10px 16px; width:138px; float:left; display:block;}
.view-display-id-page_3 tr {border-bottom:1px solid #CCCCCC;}
.view-display-id-page_3 .views-field-field-product-preview-fid {border:1px solid #CCCCCC; height:180px; width:120px;}
.view-display-id-page_3 .views-field-field-product-preview-fid img {margin:0 auto; display:block;}
.view-display-id-page_3 .views-field-field-product-client-nid {height:34px; display:block; overflow:hidden; padding-bottom:5px;}
.view-display-id-page_3 .views-field-phpcode {padding:5px 0;}
.view-display-id-page_3 .views-field-phpcode a {font-size:14px; font-weight:bold; color:#000000;}

.view-display-id-page_3 .view-top {width:100%; height:42px; float:none; clear:both; display:block; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; }
.view-display-id-page_3 .view-tab {float:right; display:block; margin-top:10px;}

#views-exposed-form-products-page-3 {margin-bottom:0; padding-top:5px; width:500px; height:35px; float:left; display:block;}
#views-exposed-form-products-page-3 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-products-page-3 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-products-page-3 #edit-field-product-type-value-wrapper {width:200px; float:left; display:block;}
#views-exposed-form-products-page-3 #edit-field-product-type-value-wrapper select {width:180px;}
#views-exposed-form-products-page-3 #edit-submit-products {margin:5px 0 0 0;}

.view-display-id-page_1 .view-top {width:100%; height:42px; float:none; clear:both; display:block; border-bottom:1px dotted #ccc; border-top:1px dotted #ccc; }
.view-display-id-page_1 .view-tab {float:right; display:block; margin-top:10px;}
#views-exposed-form-products-page-1 {margin-bottom:0; padding-top:5px; width:500px; height:35px; float:left; display:block;}
#views-exposed-form-products-page-1 .views-exposed-widget label {float:left; display:block; padding-right:7px; line-height:30px;}
#views-exposed-form-products-page-1 .views-exposed-widget {padding:0; margin:0; float:none; clear:none;}

#views-exposed-form-products-page-1 #edit-field-product-type-value-wrapper {width:200px; float:left; display:block;}
#views-exposed-form-products-page-1 #edit-field-product-type-value-wrapper select {width:180px;}
#views-exposed-form-products-page-1 #edit-submit-products {margin:5px 0 0 0;}

.view-display-id-page_4 .views-field-field-product-state-value form {margin:0;}
.view-display-id-page_4 .views-field-field-product-state-value form select {margin:0;}

/*
* User & logout block
*/
#user-block {width:100%; height:25px; overflow:hidden; padding:5px 0 0 0; margin:0 0 15px 0; text-align:right; border-top:1px dotted #CCC; border-bottom:1px dotted #CCC;}
#user-block .user-link {float:right; display: block; margin:0px; padding:0;}
#user-block .logout-link {float:right; display: block; margin:0 0 0 5px;}

.view-display-id-page_5 tbody .views-field-phpcode {font-size:13px; font-weight:bold; color:#000000;}
.view-display-id-page_5 .views-table .views-field-field-product-state-value form {
	margin:0;
}

/*
* User Products View
*/
.user-products th { border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; }
.user-products tr { background-color: #fff; }
.user-products .product-qty    { text-align: right; }
.user-products .product-price  { text-align: right; }
.user-products .product-amount { text-align: right; }
.user-products .product-vat    { text-align: right; }
.user-products .product-total  { text-align: right; font-weight: bold; }
.user-products .product-state  { text-align: right; }

/*
* User Invoices View
*/
.user-invoices th { border-top: 2px solid #ccc; border-bottom: 2px solid #ccc; }
.user-invoices tr { background-color: #fff; }
.user-invoices .invoice-amount { text-align: right; }
.user-invoices .invoice-vat    { text-align: right; }
.user-invoices .invoice-total  { text-align: right; font-weight: bold; }
.user-invoices .invoice-state  { text-align: right; }
.user-invoices .invoice-file   { text-align: right; }

/*
* Qtip
*/
.order-payments .comma,
.order-products .comma,
.invoice-products .comma {
/*	display: inline-block;	*/
}
a.user-product,
a.order-payment-hover,
a.order-product-hover,
a.invoice-product-hover {
	position: relative;
/*	display: inline-block;
	width: auto;
*/	
}
a.user-product > i,
a.order-payment-hover > i,
a.order-product-hover > i,
a.invoice-product-hover > i {
	position: absolute;
	top: -30px;
	left: 70px;
	width: 300px;
	height: 260px;
	opacity: 0;
	-webkit-transition: opacity 0.5s linear;
	-moz-transition: opacity 0.5s linear;
	-ms-transition: opacity 0.5s linear;
	-o-transition: opacity 0.5s linear;
	transition: opacity 0.5s linear;
	z-index: 9;
	visibility: hidden;
	padding: 10px;
	color: #000;
	background-color: #FFF;
	background-clip: padding-box;
	border: 2px solid #F37000;
	text-align: left;
	font-style: normal;
}
a.user-product > i { width: 255px; height: 355px; top: -105px; }
a.order-payment-hover > i {
	width: 200px;
	height: 100px;
}
a.order-payment-hover > i > span,
a.order-product-hover > i > span,
a.invoice-product-hover > i > span {
	width: 100%;
	float: left;
	display: block;
	border-bottom: 1px solid #DDD;
	height: 24px;
	line-height: 24px;
}
a.order-payment-hover > i > span > label,
a.order-product-hover > i > span > label,
a.invoice-product-hover > i > span > label {
	width: 75px;
	float: left;
	display: block;
	line-height: 24px;
	font-style: italic;
}
a.user-product > i:before,
a.user-product > i:after,
a.order-payment-hover > i:before,
a.order-payment-hover > i:after,
a.order-product-hover > i:before,
a.order-product-hover > i:after,
a.invoice-product-hover > i:before,
a.invoice-product-hover > i:after {
	border: solid transparent;
	content: "";
	height: 0;
	right: 100%;
	position: absolute;
	width: 0;
}
a.order-payment-hover > i:after,
a.order-product-hover > i:after,
a.invoice-product-hover > i:after {
	border-width: 9px;
	border-right-color: #FFF;
	top: 25px;
}
a.order-payment-hover > i:before,
a.order-product-hover > i:before,
a.invoice-product-hover > i:before {
	border-width: 12px;
	border-right-color: #F37000;
	top: 22px;
}
a.user-product > i:after {
	border-width: 9px;
	border-right-color: #FFF;
	top: 105px;
}
a.user-product > i:before {
	border-width: 12px;
	border-right-color: #F37000;
	top: 102px;
}
a.user-product:hover > i,
a.order-payment-hover:hover > i,
a.order-product-hover:hover > i,
a.invoice-product-hover:hover > i {
	visibility: visible;
	opacity: 0.9;
}

/*
* User request form
*/
#edit-product-type-dropdown-wrapper { width: 100%; display: block; overflow: hidden; }
#edit-product-type-dropdown-wrapper label { width: 80px; float: left; display: block; }
#edit-product-type-dropdown-wrapper select { width: 150px; margin: 0; }
#edit-product-wrapper-product-format-dropdown-wrapper { width: 100%; display: block; overflow: hidden; }
#edit-product-wrapper-product-format-dropdown-wrapper label { width: 80px; float: left; display: block; }
#edit-product-wrapper-product-format-dropdown-wrapper select { width: 150px; margin: 0; }
#edit-product-wrapper-product-media-dropdown-wrapper { width: 100%; display: block; overflow: hidden; }
#edit-product-wrapper-product-media-dropdown-wrapper label { width: 80px; float: left; display: block; }
#edit-product-wrapper-product-media-dropdown-wrapper select { width: 150px; margin: 0; }
#edit-product-wrapper-product-media-weight-wrapper-product-media-weight-dropdown-wrapper { width: 100%; display: block; overflow: hidden; }
#edit-product-wrapper-product-media-weight-wrapper-product-media-weight-dropdown-wrapper label { width: 80px; float: left; display: block; }
#edit-product-wrapper-product-media-weight-wrapper-product-media-weight-dropdown-wrapper select { width: 150px; margin: 0; }
#edit-product-wrapper-product-color-dropdown-wrapper { width: 100%; display: block; overflow: hidden; }
#edit-product-wrapper-product-color-dropdown-wrapper label { width: 80px; float: left; display: block; }
#edit-product-wrapper-product-color-dropdown-wrapper select { width: 150px; margin: 0; }

/**
 * Invoice node view
 */
.invoice {
 	border: 1px solid red;
}
.invoice .top-content {
	display: block;
 	width: 100%;
 	overflow: hidden;
 	border: 1px solid red;
}
.invoice .invoice-customer {
	float: left;
	width: 48%;
 	border: 1px solid red;
}
.invoice .invoice-company {
	float: right;
	width: 48%;
 	border: 1px solid red;
}