/* HTML5 reset */
html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}
body{line-height:1}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}
nav ul{list-style:none}
blockquote,q{quotes:none}
blockquote:before,blockquote:after,q:before,q:after{content:none}
a{margin:0;padding:0;font-size:100%;vertical-align:baseline;background:transparent}
ins{background-color:#ff9;color:#000;text-decoration:none}
mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}
del{text-decoration:line-through}
abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}
table{border-collapse:collapse;border-spacing:0}
hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}
input,select{vertical-align:middle}

/* Fontų užkrovimas */
@font-face {
	font-family: 'Helvetica';
	font-weight: 400;
	src: url('../fonts/helvetica.eot') format('eot'), url('../fonts/helvetica.woff') format('woff'), url('../fonts/helvetica.ttf') format('truetype'), url('../fonts/helvetica.svg') format('svg');
}

/* General */
a { text-decoration: none; }
ul { list-style-type: none; }
.left { text-align: left; }
.right { text-align: right; }

#yw0 { position: relative; margin-left: 29px; }

/* Topbar & menu settings */
#topbar { border-top: solid 1px #B6B6B6; background: #EEEEEE; height: 41px; padding-top: 7px; }
#topbar ul li { float: left; position: relative; }
#topbar ul li a { padding: 10px 12px; display: block; color: #000; font-family: 'Myriad Pro'; font-size: 16px; }
#topbar ul li a.current, #topbar ul li a:hover { background: #FFFFFF; border-radius: 5px 5px 0 0; }
#topbar ul li ul li a:hover{ border-radius: 0;}
#topbar ul > li > ul { display: none; position: absolute; }
#topbar ul > li:hover > ul { display: inline-block; z-index: 10000; }
#topbar ul > li > ul > li { width: 175px; background: #EEEEEE; }
#topbar ul li a.calendar { padding-right: 20px; background: url(../images/calendar-icon.png) 100px 14px no-repeat; }
#topbar ul li a.calendar:hover { background: url(../images/calendar-icon.png) 100px 14px no-repeat #FFFFFF; }

/* Searchbar settings */
#searchbar { display: none; background: #F1F1F1; height: 51px; }

/* Wrapper settings */
.wrapper { width: 1247px; margin: 0 auto; }

/* Search block settings */
div.search { float: right; margin: 11px 0 0 34px; }
div.search:first-child { margin-right: 7px; }
div.search input[type="text"], div.search input[type="submit"] { float: left; } 
div.search input[type="text"] { padding-left: 11px; border: solid 1px #D9D9D9; color: #000; font-family: Tahoma; background: url(../images/search_icon.png) top right no-repeat #FFF; font-size: 14px; width: 325px; height: 25px; }
div.search input[type="submit"] { margin-left: 15px; cursor: pointer; border: none; height: 29px; width: 70px; background: url(../images/search_button.png); }

/* Rounded table */

#index_page .home-table-container {
	max-height: 250px;
	overflow: auto;	
	margin-bottom: 25px;
  position: relative;
}

#index_page .rounded_table {
	width: 875px;
	margin-bottom: 0 !important;
}

.rounded_table { 
    border: solid 1px #D4D3D3;
    border-radius: 10px 10px 10px 10px;
    border-collapse: inherit;
    width: 887px;
    margin-bottom: 15px;
    box-shadow: 0 0 6px 0 #E5E5E5;
}

.rounded_table img {
	position: relative;
	top: 4px;
}

.rounded_table td, .rounded_table th { 
	padding: 8px 15px; 
	border-bottom: solid 1px #D4D3D3;
	font-weight: normal; 
}

.rounded_table td {
	min-height: 10px;
	padding: 6px 15px 9px 15px; 
}   

.rounded_table tr:last-child td {
	border-bottom: none;	
}   

.grey th { 
	background: #EAEAEA;
}

.purple th {
	background: #F3C0C1;
}

.green th {
	background: #EEF2B6;
}

.rounded_table a {
	color: #6198b0;
	text-decoration: underline;	
}

.rounded_table th:first-child {
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
}

.rounded_table th:last-child {
	-webkit-border-top-right-radius: 10px;
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
}

/* Sidebar */
#sidebar {
	float: left;
	width: 305px;
	margin-right: 7px;
}

#sidebar ul {
	margin-bottom: 15px;
	margin-top: 12px;
}

#sidebar ul#sidebar_menu li a {
	font-family: Calibri;
	font-size: 18px;
	color: #000;
	padding: 7px 0 9px 2px;
	display: block;
}

#sidebar ul li.bottom_divider {
	border-bottom: solid 1px #CDCDCD;
}

/* content */
#content {
	float: left;
	width: 100%;
	margin-bottom: 30px;
}

.ui-widget {
	font-size: 14px !important;
}

.ui-datepicker {
	width: 298px !important;
	padding: 0 !important;
}

.ui-datepicker-inline {
	border: none !important;
}

/* Baloon */
.balloon {       
	margin: 21px 0 0 2px;
	position: relative; 
	border-radius: 10px;
	min-height: 104px;
	width: 298px;
} 
.balloon:first-child {
	margin-top: 11px;
}
.balloon:after { 
	top: 100%; 
	border: solid transparent; 
	content: " "; 
	height: 0; 
	width: 0; 
	position: absolute; 
	pointer-events: none; 	
	border-width: 10px; 
	right: 31px; 
	margin-left: -10px; 
}
.green_balloon {
	background: #EEF2B6; 	
}
.green_balloon:after {
	border-top-color: #EEF2B6;	
}
.max_green_balloon {
	background: #A5F084; 	
}
.max_green_balloon:after {
	border-top-color: #A5F084;	
}
.max_green_balloon a.balloon_contact {
	color: #000;
}
.max_green_balloon .balloon_message { 
	line-height: 100%;
	margin-top: 5px;
	width: 89%;
	float: left;
}
.balloon_respond {
	color: #FFF;
	font-size: 18px;
	font-family: Calibri;
	text-decoration: underline;
	margin: 0 0 0 16px;
}
.balloon_respond:hover {
	color: #FFF;
}
.blue_balloon {
	background: #D7EDF6;
}
.blue_balloon:after {
	border-top-color: #D7EDF6;	
}
.red_balloon {
	background: #F4C7C7;
}
.red_balloon:after {
	border-top-color: #F4C7C7;	
}
a.balloon_contact {
	font-size: 18px;
	color: #6198b0;
	font-family: Calibri;
	text-decoration: underline;
	padding: 10px 0 0 15px;
	float: left;
	width: 283px;
}
.balloon_message, .balloon_time, .balloon_company {
	font-size: 14px;
	font-family: Calibri;
} 
.balloon_time {
	position: absolute;
	top: 9px;
	right: 12px;
}
.balloon_company {
	display: inline-block;
	width: 253px;
	padding: 6px 15px;
}
.balloon_message {
	padding: 3px 16px;
	line-height: 150%;
}
	
/* User details */ 
#current_user {
    color: #FFFFFF;
    float: left;
    font-size: 14px;
    padding-top: 6px;
    font-family: Tahoma;
    padding-left: 15px;
}

/* Calendar styke */
#calendar {
	margin-left: 4px;
	margin-bottom: -7px;
}

/* Reminder style */
h3.reminder_heading {
	font-family: Calibri;
	font-size: 18px;
	border-bottom: solid 1px #CDCDCD;
	padding: 13px 0 8px 4px;
}

/* Sales blokas */
ul#sales {
	margin-top: 54px;
}
ul#sales li {
	border-top: solid 1px #CDCDCD;
}
ul#sales .manager {
	font-size: 18px;
	font-family: Calibri;
	padding: 4px 0 6px 5px;	
}
ul#sales .ammount {
	font-size: 24px;
	font-family: Calibri;
	padding: 2px 0 0 7px;
}
ul#sales a {
	font-family: Calibri;
	color: #6198b0;
	font-size: 14px;
	text-decoration: underline;
	padding: 10px 0 9px 6px;
	display: block; 
}
ul#sales li:last-child {
	border-bottom: solid 1px #CDCDCD;
}

/* Customer preview page */
#customer_information {
	font-family: Calibri;
	font-size: 14px;
	margin-top: 20px;
	color: #000;
	position: relative;
}

#customer_information div.block_header {
	font-size: 24px;
	padding-top: 3px;
	height: 28px;
}

#customer_information div.block_footer {
	float: left;
	width: 100%;
}

#customer_details span.header {
	font-size: 18px;
	float: left;
	width: 304px;
	padding: 14px 0 0 3px;
}

#customer_details span.content {
	float: left;
	line-height: 172%;
	padding: 7px;
	height: 184px;
}

#customer_information .block_left {
	float: left;
	width: 307px;
	margin: 0 0 0 19px;
}

#customer_activity span {
	float: left;
	width: 300px;
}

#customer_activity span.header {
	border-bottom: solid 1px #CDCDCD;
	padding: 0 0 6px 7px;
}

#customer_activity span.content {
	padding: 7px 0 0 7px;
	height: 74px;
}

#customer_comments span.header {
	float: left;
	border-bottom: solid 1px #CDCDCD;
	width: 304px;
	padding: 0 0 7px 3px;
}

#customer_comments span.content {
	float: left;
	width: 303px;
	padding: 4px 0 7px 4px;
}

#customer_information .block_right {
	float: left;
	width: 307px;    
	margin-left: 96px;
}

ul#contacts li {
	border-top: solid 1px #CDCDCD;
}   
ul#contacts li .contact_name {
	font-size: 18px;
	padding: 4px 0 0 7px;
}
ul#contacts li .contact_details {
	line-height: 175%;
	padding: 6px 0 19px 8px;
}

#customer_contacts {
	margin: 39px 0 -4px 7px;
}

#customer_edit_link {
	float: right;
	font-family: Calibri;
	color: #6198b0;
	font-size: 18px;
	text-decoration: underline;
	margin: 2px 12px 0 0;
}

a#customer_new_order {
	float: left;
	font-family: Calibri;
	font-size: 18px;
	color: #FFF;
	background: #4D8FFC;
	border: solid 1px #74A5F3;
	border-radius: 3px;
	padding: 2px 0 7px 0;
	width: 145px;
	text-align: center;
	margin: 2px 114px 15px 24px;
}
ul#customer_footer_links li {
	float: left;
	margin-top: 11px;
}
ul#customer_footer_links li a {
	font-family: Calibri;
	font-size: 18px;
	color: #6198b0;
	text-decoration: underline;
	margin-left: 24px;	
}

#customer_information h3 {
	font-size: 24px;
	margin: 60px 0 18px 16px;
	font-family: Calibri;
}

.text_right { 
	text-align: right;
}

/* Index page style */
#index_page {
	margin-top: 20px;
	font-family: Calibri;
	font-size: 14px;
} 

#index_page table th {
	font-size: 18px;
	padding-left: 23px;
	padding-right: 32px;
}

#index_page table td:first-child {
	padding-left: 19px;
}

#index_page table td:last-child {
}

.rounded_table td.no-padding {
	padding: 6px 5px;
}

#index_page table {
	margin-bottom: 22px;
}

/* Calculator page style */

#calculator_page {
	margin-top: 16px;
}

#calculator_page div.block_header {
	padding: 11px 0 0 24px; 
}

#calculator_type {
	width: 849px;
	border-bottom: solid 1px #CDCDCD;
	margin-left: 25px;
	float: left;
}

#calculator_type ul li, #calculator_matterial ul li {
	float: left;
}

#calculator_type ul li a, #calculator_matterial ul li a {
	display: block;
	font-size: 18px;
	text-decoration: underline;
	color: #6198b0;
	padding: 6px 11px;
	font-family: Calibri;
}

#calculator_type ul li a.active, #calculator_matterial ul li a.active {
	color: #FFF;
	background: #6198B0;
	text-decoration: none;
	text-transform: uppercase;
}

#calculator_customer {
	height: 57px;
	border-bottom: solid 1px #CDCDCD;
	width: 854px;
	margin-left: 20px;
	font-size: 14px;
	font-family: Calibri;
	color: #000;
}

#calculator_customer label {
	display: block;
	margin: 6px 0 7px 7px;
}

#calculator_customer input, #calculator_order input {
	border: solid 1px #C0C0C0;
	width: 336px;
	height: 25px;
}

#calculator_customer a {
	color: #6198b0;
	text-decoration: underline;
	margin-left: 37px;
	position: relative;
	top: -1px;
}

#calculator_order {
	height: 60px;
	font-size: 14px;
	font-family: Calibri;
	color: #000;
}

#calculator_order label {
	display: block;
	margin: 22px 0 6px 22px;
}

#calculator_order input {
	margin-left: 20px;
}

#calculator_matterial {
	width: 355px;
	border-bottom: solid 1px #CDCDCD;
	float: left;
	margin: 17px 0 0 25px;
}

#calculator_matterial li a.active {
	text-transform: none !important;
}

#calculator_matterial ul li a {
	padding: 3px 11px 6px 11px;	
}

.calculator_form {
	width: 233px;
	font-family: Calibri;
	font-size: 14px;
	margin: 0 0 0 25px;
}

.calculator_form div.line {
	height: 34px;
}

.calculator_form .bottom_line {
	border-bottom: solid 1px #CDCDCD;
}

.calculator_form input {
	border: solid 1px #DBDBDB;
	width: 69px;
	height: 18px;
	margin-left: 30px;
	margin-top: 1px;
	text-align: center;
	font-size: 14px;
	font-family: Calibri;
}

.calculator_form label {
	width: 128px;
	display: inline-block;
	text-align: right;
	margin-top: 9px;
}

.calculator_form span {
	width: 84px;
	display: inline-block;
	text-align: center;
	margin-left: 16px;
}

.calculator_form h4 {
	font-size: 18px;
	padding: 20px 0 4px 5px;
}

span#price_no_vat {
	font-size: 30px;
	color: #018904;
	position: relative;
	left: 13px;
	margin-top: 4px;
	width: 150px;
	text-align: left;
}

#calculator_page div.block_footer {
	width: 456px;
	border-top: solid 1px #DBDBDB;
	margin: 24px 0 0 25px;
}

#calculator_page div.block_footer input[type=submit] {
	float: left;
	width: 220px;
	border: none;
	border-radius: 3px;
	height: 29px;
	margin-top: 22px;
	margin-bottom: 25px;
	color: #FFF;
	font-family: Calibri;
	font-size: 18px;
	padding-bottom: 5px;
}
#button1 {
	margin-right: 9px;
	margin-left: 7px;
	background: #9D9D9D;
}

#button2 {
	background: #498AF2;
}

#calculator2_form, #calculator3_form {
	display: none;
}

/* */

#request_page {
	margin-top: 20px;
	font-size: 14px;
	font-family: Calibri;
	color: #000;
}

.rounded_block {
	font-family: Calibri;
}

#request_page .row, #order_page .row, .form .row {
	margin-left: 17px;
}
					
#request_page label, #order_page label, .form label {
	display: block;
	margin: 6px 0;
}

.form label.inline {
	display: inline-block!important;
}

.grid-view table.items th {
	vertical-align: middle;
}

.form_select, #request_page input[type=text], #order_page input[type=text], .form input[type=text], .form input[type=password], .form input[type=number] {
	border: solid 1px #C0C0C0;
	max-width: 336px;
	height: 25px;
}

#request_page textarea #order_page textarea, .form textarea {
	border: solid 1px #C0C0C0;
	width: 336px;
	height: 100px;	
}

#request_page input.shortInput {
	width: 219px;
}

#request_page span.genderText {
	margin-left: 8px;
	position: relative;
	top: 4px;
	margin-right: 15px;
}

a#calculator_link {
	font-size: 18px;
	font-family: Calibri;
	color: #6198b0;
	text-decoration: underline;
	background: url(../images/calculator_icon.png) top right no-repeat;
	padding: 3px 27px 0 0;
	margin-top: 6px;
	display: inline-block;
	height: 24px;
	margin-bottom: -4px;
}

#request_page input.submitButton {
	background: #4888EF;
	border: none;
	border-radius: 3px;
	font-family: Calibri;
	font-size: 18px;
	color: #FFF;
	width: 96px;
	text-align: center;
	height: 29px;
	cursor: pointer;
	padding-bottom: 6px;
	margin: 8px 21px;
}

div.errorMessage {
	color: red;
}

/* */
#customer_form {
	margin: 20px 0 0 0;
	font-family: Calibri;
	color: #000;
	font-size: 14px;
}

#customer_form .block_right {
	float: left;
	width: 400px;
	margin-left: 80px;
	margin-top: 30px;
}

a.add_new_contact {
	background: url(../images/add_contact.png) top left no-repeat;
}

a.add_new_contact, a.delete_contact {
	width: 20px;
	height: 20px;
	display: inline-block;	
	top: 7px;
	position: relative;
	left: 13px;
}

a.delete_contact {
	background: url(../images/delete_contact.png) top left no-repeat;
}

#customer_form .block_right span {
	position: relative;
	top: 5px;
	margin-right: 15px;
	margin-left: 5px;
}

#customer_form input[type=text], #customer_form textarea {
	width: 336px;
	height: 23px;
	border: solid 1px #C0C0C0;
}  

#customer_form textarea {
	height: 100px;
	margin-top: 0;
}

#customer_form .block_left {
	float: left;
	width: 336px;
	margin: 0 0 0 17px;
}

#customer_form #company_name {
	width: 240px;
	position: relative;
	left: 3px;
}

#customer_form label {
	clear: both;
	padding-left: 4px;
	margin: 20px 0 8px 0;
	display: block;
}

#Customer_type {
	width: 82px;
	border: solid 1px #C0C0C0;
	height: 25px;
	margin-right: 6px;
	padding-top: 2px;
}

#customer_form #Customer_id_activity_label {
	display: inline-block;
}

#Customer_id_activity {
	border: solid 1px #C0C0C0;
	margin-left: 9px;	
}

#customer_form .block_left div.row:first-child {
	margin: -8px 0 -2px 0;
}

#grey_button {
	border: solid 1px #B8B8B8;
	background: #9C9C9C;
	width: 70px;
	padding-bottom: 4px;
	margin: 9px 19px 23px 19px;
}

#blue_button, #login_page input[type=submit] {
	border: solid 1px #7CAAF4;
	background: #4787EE;
	width: 145px;
	margin: 9px 0 23px 0;
}

#grey_button, #blue_button, #login_page input[type=submit] {
	color: #FFF;
	font-family: Calibri;
	font-size: 18px;
	cursor: pointer;    
	border-radius: 3px;
	padding-bottom: 4px;
	height: 29px;    
}

#customer_calendar_text {
	margin-left: 2px;
}

#customer_calendar {
	margin-top: 8px;	
}

#customer_calendar_container {
	margin-left: 6px;	
}

.grid-view table.items thead tr.filters{
	display: none;	
}

table.items tr.caption {
 	font-family: Calibri;
 	font-size: 18px;
 	color: #000;
}

table.items tr.caption td {
	background: #EAEAEA;
	padding-top: 8px;
	padding-bottom: 4px;
	padding-left: 22px;
}

table.items tr.caption td {
	border-radius: 10px 10px 0 0;
}

table.items tbody tr:last-child td {
	border-bottom: none;
}

#customer_information table th {
	font-size: 18px;
	font-family: Calibri;
	color: #000;
	border-bottom: none;
}

.request_table {
	margin-bottom: 6px;
}

#order_date {
	float: right;
	margin: 0 23px 0 0;
}

#order_view .block_content {
	padding: 12px;	
}     

#order_item {
	margin-top: 20px;
}

#order_item .block_content {
	padding: 12px;
	font-size: 14px;
	font-family: Calibri;
	color: #000;
}

.item_summary {
	font-family: Calibri;
	font-size: 14px;
	margin: 1px 0 0 8px;
}

.item_summary td {
	padding-bottom: 17px;
}

.item_summary td a, .item_summary td span {
	color: #6198b0;
	text-decoration: underline;
}

#order_item .comments {
	margin-top: 0;
	width: 827px;
}

.summary_row_value ul {
	margin-left: -12px;
	margin-top: 9px;
}

.summary_row_value ul li {
	margin-bottom: 6px;
	float: left;
}

.summary_row_value .c_date {
	float: left;
	width: 425px;
	margin: 0 0 4px 17px;
}

.summary_row_value .c_user {
	float: left;
	width: 377px;
	text-align: right;
}

.summary_row_value .c_body {
	background: #C3D9FF;
	width: 783px;
	padding: 23px 21px;
	border-radius: 10px;
	float: left;
}

.c_bottom {
	float: left;
	width: 825px;
	background: url('../images/c_bottom.png') 774px top no-repeat;
	height: 10px;
}

#add_comment {
	float: left;
	color: #6198b0;
	text-decoration: underline;
	padding-left: 34px;
	height: 20px;
	display: block;
	padding-top: 2px;
	margin-left: -5px;
	background: url('../images/add_comment.png') top left no-repeat;
}

#add_comment_block {
	padding: 10px 0;
	display: none;
}

#add_comment_block label {
	padding-bottom: 10px;
	display: block;
}

#add_comment_block textarea {
	width: 830px;
	resize: none;
	height: 75px;
}

#add_comment_block #grey_button {
	margin-left: 0;
}

.move_next {
	color: #2056c5;
	text-decoration: underline;
}

.summary_row_head {
	width: 854px;
	border-bottom: solid 1px #CDCDCD;
	margin: 0 0 0 11px;
	padding: 0 0 6px 1px;
}

.summary_row_value {
	width: 854px;
	margin: 4px 0 15px 12px;
}

.first_row {
	margin-top: 10px;
}

#order_preview .block_header {
	padding-left: 30px;
}

#order_preview .block_content {
	padding: 10px;
}

#order_preview {
	margin: 21px 0;
	font-family: Calibri;
	font-size: 14px;
}

#order_preview h3 {
	font-weight: bold;
	margin: 35px 10px 10px 10px;
	display: block;
}

#order_preview table {
	font-size: 14px !important;
	width: 850px;
	margin-left: 10px;
	margin-bottom: 25px;
}

#order_preview table th {
	font-size: 14px !important;
}

#order_preview table th {
	font-weight: bold;
}

#order_summary {
	position: relative;
	left: -10px;
}

#order_summary td{
	padding: 6px 10px;
}
#order_summary td a {
	color: #6198B0;
	text-decoration: underline;
}

#customer_information #customer_requests {
	margin: 17px 33px;
}

#customer_information #customer_order {
	margin-left: 30px;
}

#customer_information #customer_order_history {
	margin-left: 11px;	
}

#customer_stat_links li {
	display: inline-block;
	margin-right: 21px;
}

#customer_stat_links li a {
	color: #6198b0;
	font-family: Calibri;
	font-size: 18px;
	text-decoration: underline;
}

#customer_stat_links {
	margin-left: 16px;
}

#order_page {
	margin: 20px 0;	
	font-size: 14px;
	font-family: Calibri;
	color: #000;
}

#order_page label {
	margin-left: 4px;
	margin-top: 6px;
}

#customer_row {
	border-bottom: solid 1px #CDCDCD;
	padding-bottom: 7px;
	width: 854px;
	margin-bottom: 22px;
}

#calculator_row a{
	color: #000;
	text-decoration: none;
	font-size: 14px;
	margin: 9px 0 0 2px;	
	width: 81px;
	padding-top: 6px;
}

#calculator_row {
	border-bottom: solid 1px #CDCDCD;
	padding-bottom: 3px;
	width: 336px;
	margin-left: 21px !important;
}

.col1 {
	float: left;
	width: 338px;
}
.col2 {
	float: left;
	width: 296px;
}
.col3, .col4 {
	float: left;
	width: 71px;
}
.col1 {
	margin-right: 7px;
}
.col2 {
	margin-right: 14px;
}
.col3 {
	margin-right: 18px;
}
#order_page .col3 input[type=text], #order_page .col4 input[type=text] {
	width: 69px;
}
#order_page .col2 input[type=text] {
	width: 294px;
}

.order_item {
	padding-top: 16px;
	border-bottom: solid 1px #CDCDCD;
	padding-bottom: 11px;
	margin-left: 17px;
	width: 854px;
}

#order_page .order_item .row {
	margin-left: 0;
}

.comments_row {
	margin-top: 7px;
	margin-bottom: 17px;
}
#order_page .comments_row label {
	margin-bottom: 12px;
}
#order_page .comments_row textarea, #Order_comments {
	width: 812px;
	height: 110px;
	border: 1px solid #C0C0C0;
	resize: none; 
}

.product_end_till {
	margin: 13px 0 9px 4px;
}

select[name="product_id_status[]"] {
    border: 1px solid #C0C0C0;
    height: 29px;
    width: 338px;
    padding-top: 5px;
    margin: 5px 0 0 0;
}

#add_new_row {
	border-bottom: 1px solid #C0C0C0;	
	width: 854px;
}
#add_new_product, #add_reminder {
	background: url("../images/add_contact.png") right top no-repeat;
	color: #000;
	padding-right: 31px;
	margin: 24px 0 13px 5px;
	display: inline-block;
	height: 18px; 
	padding-top: 2px;    
}

#shipping_row {
	border-bottom: 1px solid #C0C0C0;	
	width: 854px;
	padding: 15px 0 14px 0;
}
#Order_shipping {
	margin-left: 17px;
	margin-top: 8px;
	display: block;
}
#Order_shipping label {
	display: inline-block;
	margin: 0 13px;
	position: relative;
	top: 4px;
}
#order_page #blue_button {
	width: 220px;
}
#order_page .block_footer {
	margin: 5px 0 18px 6px;
}

#order_preview_container {
	display: none;
}

#compare_page {
	margin: 20px 0;
}
#compare_page .block_content {
	padding: 15px;
	margin-bottom: 10px;
}

.compare_block {
	float: left;
	border-top: 1px solid #C0C0C0;
	width: 100%;
	padding: 10px 0 0 0;
	margin-top: 15px;		
}
.compare_block h3, .compare_block p {
	margin-bottom: 10px;
}
.compare_block p {
	margin: 15px 0;
	font-size: 14px;
}
#compare_not_available, .compare_block h3 {
	font-weight: bold;
}
#compare_not_available {
	margin: 15px 0 -15px 0;
	color: #FF6F6F;
}
.company_stats {
	color: #4A8CF6;
	font-weight: bold;
}

.comments {
	float: right;
	width: 298px;
	font-family: Calibri;
	font-size: 14px;
	margin-right: 30px;
	margin-top: 128px;
}

.comment {
	width: 100%;
	min-height: 104px;
	background: #E1E97F;
	border-radius: 15px;
	float: left;
}

.comment_arrow {
	height: 20px;
	width: 100%;
	float: left;
	background: url('../images/comment_arrow.png') 247px top no-repeat;
}

.order_preview_left {
	float: left;
	width: 865px;
}

.comment_profile {
	float: left;
	width: 171px;
	margin: 11px 0 7px 9px;
}
.comment_date {
	float: right;
	margin: 12px 35px 0 0;
}
.comment_author {
	float: left;
	width: 100%;
	font-size: 18px;
	margin: 9px 0 12px 16px;
}
.comment_text {
	float: left;
	margin: 0 20px 10px 20px;
}

#login_page {
	margin-top: 100px;
	margin-left: 350px;
	min-height: 310px;
	width: 480px;
	font-size: 15px;
	font-family: Calibri;
}

#login_page label {
	display: block;
	margin-bottom: 5px;
  font-size: 20px;
}

#login_page .block_content {
	padding: 20px 20px 0 20px;
}

#login_page .row {
	margin-bottom: 20px;
}

#login_page .rememberMe label {
	display: inline-block;
}

#login_page .hint {
  font-size: 20px;
}

#login_page .errorSummary {
  font-size: 18px;
}

#UserLogin_rememberMe {
  position: relative;
  top: -3px;
  margin-right: 4px;
}

#login_page .block_header {
  font-size: 20px;
  height: 38px;
  padding-top: 14px;
}

#login_page input[type=text], #login_page input[type=password] {
	border: solid 1px #C0C0C0;
	width: 438px;
	height: 40px;
  font-size: 20px;
  padding: 10px;
  box-sizing: border-box;
}

#login_page input[type="submit"] {
	float: right;
	margin: -10px 0 15px 0;
  font-size: 20px;
  height: 40px;
}

.delete_order_item {
	float: right;
	position: relative;
	top: -15px;
}

.fieldError {
	border-color: #FF004D !important;
}

#reminders_list {
	width: 880px;
	font-size: 14px;
	margin: 0 10px;
}

#reminder_heading {
	font-size: 25px;
	color: #353535;	
	margin: 10px;
}

#reminder_list_page {
	font-family: Calibri;
}

#reminder_list_page p {
	margin: 0 10px;
}

#new_personal_reminder {
	margin-left: 8px;
}

#reminder_page {
	margin-top: 10px;
}
#reminder_page .block_content {
	padding: 10px 20px;
}
#Reminder_date, #Reminder_time {
	width: 75px;
}

#Reminder_content, #Reminder_cancel_text {
	width: 100%;
	height: 120px;
}

#reminder_page #grey_button {
	margin-left: 0px;	
}

#add_reminder {
	margin: 0;
}
#calculator_reminder {
	border-top: 1px solid #D4D3D3;
	width: 456px;
	margin: 10px 0 0 25px;
	padding-top: 20px;
}

#reminder_form {
	display: none;
	margin: 0;
	margin-top: 15px;
	font-size: 14px;
}
#reminder_form input, #reminder_form textarea, #Reminder_cancel_text {
	border: solid 1px #DBDBDB;
}
#reminder_form .row {
	margin-bottom: 10px;
}
#reminder_form label {
	display: block;
	margin-bottom: 4px;
}
#reminder_form {
	width: 450px;
} 
#reminder_form .block_content {
	padding: 20px;
}

#stats_page, #default_page {
	margin-top: 20px;
}
#stats_page .block_content, #default_page .block_content {
	padding: 20px;
}
#stats_page table td {
	padding: 8px 0;
}

#stats_page ul {
	list-style-type: square;
	margin: 0 0 20px 17px;
}
#stats_page ul li {
	margin-bottom: 4px;
}

#default_page .errorSummary {
	margin: 0;
}

#Product_service label{
	display: inline-block;
}

#attributes td {
	padding: 8px;
}
.remove_attribute {
	color: red;
	cursor: pointer;
}

#order_comments_row {
	margin-top: 15px;
	width: 854px;
}

#inner_comments {
	margin: 10px 0 0 0;
	color: #333;
	border-bottom: 1px solid #C0C0C0;
	padding-bottom: 10px;
}
#inner_comments li {
	margin-bottom: 15px;
}
#inner_comments li:last-child {
	margin-bottom: 0;
}
.c_name {
	color: #4787EE;
}
#Order_comments {
	height: 50px;
}

/**
 *	Filter
 */ 
.filter {
	font-size: 14px;
	/*font-family: Calibri;*/
}

#default_page #grey_button {
	margin-left: 0;
	margin-bottom: 0;
}

.old_message {
	margin-top: 15px;
}

#customer_form #reminder_time {
	width: 60px;
}

#address_row {
	margin: 20px 0 25px 0;
}

#work_calendar {
	position: relative;
	top: -31px;
}

.fc-header .fc-button {
	margin-bottom: -1px !important;
}

.fc-event {
	background: #C7D7ED !important;
	border-color: #C7D7ED !important;
	color: #000 !important; 
	text-align: center !important;
	padding: 3px 0;
}

.fc-header-left span {
	border-radius: 0 !important;
	box-shadow: none;
	text-shadow: none;
	background: #D6D5D5;
	position: relaitive;
	left: 185px;
	color: #FFF;
	font-family: Calibri;
	font-size: 18px;
	height: 18px;
	line-height: 11px;
	padding-top: 11px;
}

.fc-content {
	margin-bottom: -22px;
}

.fc-state-active {
	background: #EAEAEA !important;
	color: #000 !important;
}

#calendar_page {
	margin-top: 20px;
}


div.flash-notice {
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
	margin: 0 20px;
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-notice a {
	color:#514721;
	text-decoration: underline;
}

#customer_registered_notification {
	display: none;
	margin-top: 20px;
	margin-bottom: 20px;
}

.balloon_message a {
	display: block;
	text-decoration: underline;
	color: #6198B0;
}

#order_page #calculator_row {
	display: none;
} 

.order-date {
	float: right;
	padding-right: 20px;
	font-weight: bold;
}

#order_page #footer-buttons {
	position: fixed;
	bottom: 0;
	margin: 0;
	background: #FFF;
	opacity: 0.9;
	width: 885px;
}

#order_page #footer-buttons #grey_button, #order_page #footer-buttons #blue_button {
	margin-bottom: 5px;
}

.order-item-status {
	background: #88AFEA;
	color: #FFF;
}

.grey-background {
	background: #EFEFEF;
}

.image-preview-link {
	position: relative;
}

#image-preview-container {
	position: fixed;
	width: 300px;
	height: 187.5px;
	margin: 0 auto;
	top: 150px;
	left: 0;
	display: none;
}   

#image-preview-container img {
	max-width: 300px;
	max-height: 187.5px;	
}

/* Roletu puslapis */

#order_page .roller-product-row {
  float: left;
  width: 100%;
  margin: 0 0 0 14px;  
}

#order_page .roller-product-row label {
  display: inline-block;     
  position: relative;
  top: 2px;
}

.roller-products-field {
  border: solid 1px #C0C0C0;
  border-radius: 4px;
  background: #88AFEA;
  color: #FFF;
  height: 29px;
  width: 338px;
  margin-left: 11px;
}

.roller-mechanics-field, .roller-mechanicsside-field, .roller-mechanicscolor-field {
  border: solid 1px #C0C0C0;
  border-radius: 4px;
  background: #88AFEA;
  color: #FFF;
  height: 29px; 
}

.roller-mechanics-field {
  width: 243px;
}

.roller-mechanicsside-field, .roller-mechanicscolor-field {
  width: 84px;
}

.roller-mechanics-row {
  float: left;
  width: 854px;
  border-top: dotted 1px #585858;
  margin: 15px 0 0 18px;
  padding-top: 9px;
}

#order_page .roller-mechanics-row label {
  display: inline-block;
  position: relative;
  top: 1px;
}

#order_page .roller-mechanics-row .column-1 label {
  margin-left: 0px;
  width: 106px;
}

#order_page .roller-mechanics-row .column-2 label {
  margin-left: 34px;
  width: 116px;
}

#order_page .roller-mechanics-row .column-3 label {
  margin-left: 59px;
  width: 117px;
}

.roller-mechanics-row > div {
  float: left;
}

.roller-size-row {
  float: left;
  width: 100%;
  margin-top: 14px;
}

#order_page .roller-size-row label {
  display: inline-block;
  margin-left: 0;
}

#order_page .roller-size-row input[type=text] {
  width: 115px;
  border-radius: 4px;
  margin-right: 7px;
}

#order_page .roller-size-left label {
  width: 107px;
}

.roller-size-left, .roller-size-right {
  background: #EEEEEE;
  float: left;
}

#order_page .roller-size-left .roller-size-row-1 {
  width: 262px;
  border-bottom: dotted 1px #515151;
  padding-bottom: 7px;
  margin-bottom: 8px;
}

.roller-size-left {
  width: 288px;
  margin-right: 3px;
  padding: 16px 0 18px 21px;
}

.roller-size-right {
  width: 874px;
  padding: 16px 0 18px 21px;
}

#order_page .roller-size-right .roller-size-row-1 {
  width: 350px;
  border-bottom: dotted 1px #515151;
  padding-bottom: 7px;
  margin-bottom: 8px;
}

#order_page .roller-size-right label  {
  width: 161px;
}

.roller-comments-row {
  float: left;
  width: 100%;
  margin-top: 17px;
}

.roller-comment-left {
  float: left;
  width: 400px;
}

#order_page .roller-comment-left label {
  display: inline-block;
  margin-left: 33px;
  width: 92px;
}

.roller-comment-left select {
  border: solid 1px #C0C0C0;
  border-radius: 4px;
  background: #88AFEA;
  color: #FFF;
  height: 29px;  
}

.roller-matterial-field {
  width: 243px;
}

#roller-products {
  float: left;
  width: 100%;
}



.roller-comment-row-1 {
  margin-bottom: 35px;
  margin-top: 5px;
}

.roller-construction-field {
  width: 84px;
}

.roller-comment-field {
  width: 419px;
  border: solid 1px #BAB9B9;
  border-radius: 5px;
  resize: none;
  height: 74px;
  margin-left: 35px;
  padding: 10px;
}

.roller-price-row {
  float: left;
  width: 100%;
  background: #EEEEEE;
  padding: 8px 0;
  margin-top: 30px;
  margin-bottom: 32px;
}

#order_page .roller-price-row label {
  display: inline-block;
  position: relative;
  top: 1px;
}

.roller-price-left {
  float: left;
  margin-left: 32px;
  margin-right: 60px;
}

#order_page .roller-price-row input[type=text] {
  width: 119px;
  border-radius: 0;
  height: 24px;
}

#roller-buttons {
  float: left;
  width: 100%;
	margin-top: 10px;
}

#roller-button-first-row {
  float: left;
  width: 100%;
}

#roller-buttons input[type=submit] {
  border: none;
  cursor: pointer;
}

#blue-roller-button, #green-roller-button, #grey-roller-button {
  width: 150px;
  height: 37px;
  border-radius: 4px;
  background: #88AFEA;
  margin-left: 27px;
  margin-bottom: 27px;
}

#green-roller-button {
  background: #A5F084;
}

#grey-roller-button {
  color: #FFF;
  background: #A4A4A4;
  margin-left: 41px;
}

.container-header {
  position: relative;
  font-family: Calibri;
  font-size: 18px;
  width: 850px;
  height: 26px;
  border: 1px solid #d4d3d3;
  border-radius: 10px 10px 0 0;
  padding: 8px 0 0 23px;
  border-bottom: none;
}

.container-header span {
  float: right;
  margin-right: 30px;
}

.blue-header {
  background: #C3D9FF;
}

.green-header {
  background: #EEF2B6;
}

.red-header {
  background: #F3C0C1;
}

.no-top-radius {
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}

#roller-form {
  font-family: 'Myriad Pro';
}

#customer-block {
  margin-top: 15px;
}

#roller-form .block-header {
  font-family: 'Myriad Pro';
  font-size: 14px;
  color: #000;
  background: #EEE;
  padding: 9px 0 0 25px;
  height: 22px;
}

#customer-block #id_customer {
  width: 336px;
  height: 25px;
  border: solid 1px #C0C0C0;
  margin: 15px 5px 15px 22px;
}

#create-customer-link {
  height: 30px;
  width: 30px;
  display: inline-block;
  background: url(../images/roller-create-customer.png) top left no-repeat; 
  position: relative;
  top: 12px; 
}

.order-number-block {
  background: #EEEEEE;
  margin-top: 8px;  
}

#order-number-field, #order-end-till-date, #order-create-date-field {
  border: solid 1px #C8C8C8;
  font-size: 18px;
  font-family: Myriad Pro;
  height: 28px;
  width: 328px;
  margin: 11px 0 14px 22px;
  padding-left: 9px;
}

#order-consultant {
	margin: 11px 0 14px 0;
}

#order-end-till-date {
	width: 95px;
	margin-left: 0;
}

.roller-product-name-row {
  float: left;
  width: 100%;
  background: #88AFEA;
  margin: 0 0 20px 0;
}

#order_page input.product-name-field {
  font-family: 'Myriad Pro';
  font-size: 30px;
  color: #6d6d6d;
  height: 33px;
  width: 338px;
  margin: 7px 0 5px 28px;
  padding-left: 4px;
}

#roller-form #order_page {
  margin-top: 9px;
  margin-bottom: 6px;
}

.roller-product-delete-row {
  float: left;
  width: 869px;
  border-top: dotted 1px #585858;
  margin-left: 8px;
}

.roller-product-delete-row .product-delete-link {
  float: right;
  font-family: Myriad Pro;
  font-size: 14px;
  color: #464545;
  background: url(../images/delete-product-icon.png) right top no-repeat;
  height: 24px;
  margin: 4px 9px 6px 0;
  padding: 7px 51px 0 0;
}

#roller-price-block {
  background: #EEEEEE;
  margin-bottom: 18px;
}

#total-order-text {
  font-family: Myriad Pro;
  font-size: 14px;
  margin: 14px 0 19px 13px;
  float: left;
}

#total-order {
  font-size: 24px;
}

#final-roller-price-block, #roller-installation-price, #roller-installer, #installation-date, #roller-installer-arrival-price {
  float: right;
}

#order-shipping-method {
	float: left;
	margin: 0 0 0 12px;
}

#order-shipping-method select, #roller-installer select, #installation-date select {
	margin-left: 5px;
	height: 33px;
	border: 1px solid #c8c8c8;
	margin: 8px 0 0 10px;
}

#roller-installer {
	margin-right: 20px;
}

#installation-date span, #roller-installer-arrival-price span, #roller-installer-arrival-price input, #installation-date input, #installation-date select, #roller-installer span, #roller-installer select, #order-shipping-method span, #order-shipping-method select, #final-roller-price-block span, #final-roller-price-block input, #roller-installation-price span, #roller-installation-price input {
  float: left;
}

#roller-installation-price, #roller-installer-arrival-price {
	margin-right: 15px;
}

#roller-installer span, #roller-installer-arrival-price span, #installation-date span, #final-roller-price-block span, #roller-installation-price span, #order-shipping-method span {
  font-family: Myriad Pro;
  color: #000;
  font-size: 14px;  
  margin-top: 21px;
}

#final-roller-price-block span.currency, #roller-installer-arrival-price span.currency, #roller-installation-price span.currency {
  font-size: 18px;
  margin: 18px 10px 0 0;
}

#final-price-field, #roller-installer-arrival-price input, #roller-installation-price input, #installation-date input {
  border: solid 1px #C8C8C8;
  width: 100px;
  height: 33px;
  color: #126df8;
  font-size: 24px;
  text-align: center;
  margin: 8px 10px 0 10px;
}

#installation-date {
	margin-right: 15px;
}

#installation-date input {
	color: #000;
	width: 150px;
}

#installation-date {
	display: none;
}

.price-block-row {
	float: left;
	width: 100%;
	padding-bottom: 8px;
	border-bottom: solid 1px #d4d3d3;
}

.price-block-row.last {
	border-bottom: none;
	padding-bottom: 0;
}

#total-order-text span.currency {
  font-size: 18px;
}

/* Roletų forma */
#customer-type-row {
  float: left;
  margin: 15px 0 0 26px;
  border-bottom: dotted 1px #AAAAAA;
  padding-bottom: 12px;
}

#customer-type-row span {
  font-family: Myriad Pro;
  font-size: 18px;
  color: #4a7cd3;
  text-decoration: underline;
  margin-right: 55px;
  cursor: pointer;
}

#customer-type-row span.current {
  text-decoration: none;
  color: #000;
}

#customer_form .gender-row label {
  display: inline-block;
  margin: 0;
  font-size: 14px;
  font-family: Myriad Pro;
  width: auto;
  top: 0;
}

#customer_form .gender-row {
  margin: 4px 0 14px 0 !important;
}

#customer_form input[type=radio] {
  margin-right: 31px;
  position: relative;
  top: -3px;
  margin-bottom: -3px;
}

#customer_form .row {
  margin-bottom: 11px;
}

#roller-customer-form {
  float: left;
  width: 100%;
  margin-left: 27px;
}

#roller-customer-form label {
  display: inline-block;
  width: 55px;
  margin: 0 0 0 -3px;
  font-family: Myriad Pro;
  position: relative;
  top: 2px;
}

#roller-customer-form input[type=text], #roller-customer-form select, #roller-customer-form textarea {
  border: solid 1px #A5A4A4;
  border-radius: 5px;
  width: 212px;
  height: 23px;
}

#roller-customer-form textarea {
  resize: none;
  height: 79px;
}

#legal-person-form {
  display: none;
}

#customer-form-left {
  float: left;
  margin-right: 37px;
}

#customer-form-right {
  float: left;
  width: 500px;
  margin-top: 34px;
}

#customer-form-right label {
  float: left;
  width: 58px;
  position: relative;
  top: 7px;
}

#customer-address-form {
  min-height: 76px;
  width: 100%;
  float: left;
  background: #F0F0F0;
  margin: 3px 0 10px 0;
  padding-top: 12px;
}

#customer-address-form .row {
  margin-left: 17px;
}

#customer-address-form label {
  font-family: Myriad Pro;
}

#customer-address-form label, #customer-address-form input, #customer-address-form select {
  float: left;
  margin: 0;
  display: inline-block;
  clear: none;
}

#customer-address-form label {
  margin: 9px 14px 0 5px;
}

#customer_form #customer-address-form input, #customer_form #customer-address-form select {
  border: solid 1px #A5A4A4;
  border-radius: 5px;
  height: 23px;
}

#customer_form #customer-address {
  width: 212px;
}

#customer_form #customer-quarters, #customer_form #customer-house {
  width: 30px;
}

#customer_form #customer-region {
  width: 145px;
}

#customer_form #customer-city {
  width: 171px;
}

#map {
  float: left;
  width: 484px;
  height: 231px;
  background: #E9E5DC;
  margin: 21px 0 0 85px;
}

.roller-customer-save {
  float: left;
  min-width: 70px;
  height: 29px;
  font-family: Myriad Pro;
  font-size: 14px;
  background: #9C9C9C;
  border: solid 1px #B8B8B8;
  border-radius: 3px;
  color: #FFF;
  margin: 6px 0 16px 26px;
}

#warehouse-page {
  margin: 20px 10px;
}

#warehouse-page h1 {
  font-weight: bold;
  font-size: 23px;
  margin-bottom: 15px;
}

#warehouse-page .grid-view .summary {
  font-size: 12px;
}

#warehouse-page .grid-view table.items thead tr {
  display: table-row;
}

#warehouse-page .grid-view .filters input, #warehouse-page .grid-view .filters select {
  text-align: left;
}

#priorities-table {
  margin-bottom: 5px;
  width: 600px;
  border-top: solid 1px #ADADAD;
  border-left: solid 1px #ADADAD;
  margin-top: 5px;
}

#priorities-table td, #priorities-table th {
  border-bottom: solid 1px #ADADAD;
  border-right: solid 1px #ADADAD;
  font-size: 14px;
  padding: 5px;
}

#Agreement_amount_limit, #Agreement_minimal_order_amount, #Agreement_expiration_date_from, #Agreement_expiration_date_to, #priorities-table input, #SupplierProduct_quantity, #package_price, #SupplierProduct_price, #SupplierProduct_price_final {
  width: auto !important;
}

#priorities-table th {
  background: #9D9D9D;
  color: #FFF;
}

#priorities-table tr.current-row {
  background: #F1F1F1;
}

#priorities-table input[type=text] {
  margin: 0;
}

#weekdays label {
  display: inline-block;
}

#checkall-label {
  display: inline-block;
}

#consignment-history-table {
    width: 300px;
}

#consignment-history-table td {
  font-size: 14px;
}

a.editable-list-add-row {
  position: relative;
}

/* Sandėlio likučių santraukos blokas */
#warehouse-balance-columns:after {
	content: '';
	display: block;
	clear: both;
}

#warehouse-balance-columns {
	float: left;
	width: 100%;
	margin: 10px 0 15px 0;
}

#warehouse-balance-left-column {
	float: left;
	width: 80%;
}

#warehouse-balance-right-column {
	float: right;
	width: 20%;
}

#balance-date-form {
	float: left;
	margin-right: 40px;
}

#warehouse-balance-left-column a {
	margin-top: 3px;
	display: inline-block;
}

#warehouse-summary-block h3 {
  font-size: 16px;
	float: right;
}

#warehouse-total-amount {
  font-weight: bold;
}

#consignment-product-table {
  border-left: solid 1px #CCC;
  border-top: solid 1px #CCC;
}

#consignment-product-table td, #consignment-product-table th {
  border-right: solid 1px #CCC;
  border-bottom: solid 1px #CCC;   
  font-size: 14px;
	vertical-align: middle;
}

#consignment-product-table input {
  width: auto !important;
  padding: 0;
}

div.summary-row {
  font-size: 16px;
  text-align: right;
}

#consignment-product-table th {
  background: #AAA;
  color: #FFF;
}

.consignment-history-header, .editable-table {
  margin-bottom: 10px;
}

#order-total-fields {
  float: left;
  width: 100%;
  font-size: 15px;
  color: #555;
  text-align: right;
  font-weight: bold;
  position: relative;
}

#order-total-fields p {
  margin-bottom: 8px;    
}   

#consignment-supplier-information {
  float: right;
  width: 330px;
  padding: 10px;
  background: #F8F8F8;
  position: relative;
  margin-bottom: -17px;
}

#consignment-supplier-information h2 {
  margin-bottom: 10px;
	font-size: 1.6em;
}

#consignment-supplier-information p {
  margin-bottom: 5px;
}

#consignment-supplier-information a {
  text-decoration: none;
}

#warehouse-page a.link {
  font-size: 14px;
}

#weekdays label {
  margin-top: 0;
}

#warehouse-page select {
  padding: 5px;
}

#warehouse-page .filters select {
  padding: 0;
}

#consignments-summary-row {
  float: right;
  width: 900px;
  text-align: right;
  font-size: 16px;
}

#consignments-summary-row .summary-value {
  font-weight: bold;
}

#consignment-product-table input[name="products[name][]"] {
  width: 98% !important;
}

#WarehouseProduct_price {
  width: auto;
}

.writeoff-reason {
  width: auto !important;
}

#inventory-summary-row h3 {
    float: right;
    margin-bottom: 0;
    margin-left: 30px;
}


#inventory-summary-row:after {
    clear: both;
}
#inventory-summary-row {
    float: left;
    margin: 10px 0 15px;
    width: 100%;
}

h3 {
    font-size: 1.4em;
    line-height: 1;
}

.list-selector {
    background: none repeat scroll 0 0 #f8f8f8;
    border: 5px solid #c9e0ed;
    box-shadow: 0 0 10px 2px #c9e0ed;
    display: none;
    height: 380px;
    left: 50%;
    margin-left: -360px;
    margin-top: -200px;
    padding: 10px;
    position: fixed;
    top: 50%;
    width: 720px;
    z-index: 10000;
}
#product-list-selector ul li {
    height: 30px;
    overflow: hidden;
}
.list-selector-container {
    float: left;
    height: 320px;
    overflow-x: hidden;
    overflow-y: scroll;
    width: 100%;
}
.list-selector ul {
    list-style-type: none;
    margin: 0;
}
.list-selector ul li {
    cursor: pointer;
    float: left;
    padding: 5px;
    width: 130px;
}
#technology-card-list-selector li {
    height: 60px;
}
.list-selector ul li:hover {
    color: #0066cc;
}
#close-product-window, #close-technology-card-window {
    float: right;
}
li.inactive {
    opacity: 0.4;
}

#TechnologyCard_technology {
    height: 150px;
    width: 600px;
}
#technology-card-items {
    border-left: 1px solid #cccccc;
    border-top: 1px solid #cccccc;
    width: 840px;
}
#technology-card-items th {
    background: none repeat scroll 0 0 #efefef;
    color: #606060;
}
#technology-card-items th, #technology-card-items td {
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    vertical-align: top;
}
#technology-card-items input {
    margin: 0;
}
#technology-card-items ul {
    list-style-type: square;
    margin: 5px;
}
a.add-icon {
    position: relative;
    top: 2px;
}

#technology-card-items input[type=text] {
  width: auto;
}

th, td, caption {
    padding: 4px 5px;
}

#dimension-fields label {
  display: inline-block;
}

#dimension-fields input[type=text] {
  width: 50px;
}

.color-name {
  position: relative;
  top: 3px;       
  font-size: 14px;
  margin-right: 10px;
}

#customer-address-form .row {
  float: left;
  width: 100%;
}

#customer_form #customer-floor {
  width: 30px;
}

#customer_form #customer-door-code {
  width: 100px;
}

.order-number-block label {
  padding-left: 20px;
  padding-right: 5px;
}

#order-consultant {
  height: 32px;
  border: solid 1px #C8C8C8;
  position: relative;
  top: -2px;
  width: 200px;
}

#page {
	float: left;
}

/* Viršutinės juostos stiliai */
#top-block {
	margin: 0 auto;
	width: 1238px;
	height: 69px;
	overflow: hidden;
}

#top-block #logo {
	float: left;
	margin: 15px 248px 0 28px;
}

#day-summary, #day-summary > div {
	float: left;
}

#day-summary {
	font-family: 'Myriad Pro';
	color: #928f8d;
}

#day-left {
	font-size: 72px;
	position: relative;
	top: -1px;
	margin-right: 4px;
}

#day-right {
	margin-top: 11px;
}

#day-right span {
	display: block;
	font-size: 12px;
	line-height: 13px;
}

/* Index puslapio css aprašymai */
.content-wrapper {
	width: 1230px;
	margin: 0 auto;
}

.content-wrapper:after {
    content: '';
    display: block;
    clear: both;
}

#top-submenu {
    margin-bottom: 9px;
}

#top-submenu ul {
	margin: 10px 0 0 9px;
	padding: 0;
}

#top-submenu ul li {
	float: left;
    margin-right: 31px;
}

#top-submenu a {
	font-family: 'Myriad Pro';
	font-size: 18px;
	color: #000000;
    display: inline-block;
    padding: 10px 6px 9px 6px;
	border-bottom: solid 3px #EEEEEE;
}

#top-submenu a.active, #top-submenu a:hover {
    border-color: #D30201;
}

/* Search bloko stiliai */

#top-search-bar {
    border-bottom: solid 3px #EEEEEE;
    position: relative;
    left: 9px;
    padding-bottom: 8px;
}

#order-search {
    float: left;
}

#order-search label {
    float: left;
    font-family: 'Myriad Pro';
    font-size: 18px;
    color: #000000;
    margin: 9px 10px 0 0;
}

#order-search-field, #order-invoice-search-field, #customer_search, #address_search {
	box-sizing: border-box;
	/*width: 222px;*/
	width: 150px;
	height: 29px;
	border: solid 1px #B6B6B6;
	border-radius: 5px;
	padding-left: 6px;
}

#show-all-orders {
	color: #4d4c4c;
	font-family: 'Myriad Pro';
	font-size: 14px;
	border-bottom: solid 1px #D30201;
	float: left;
	padding: 0 2px 2px 2px;
	margin: 7px 0 0 31px;
	display: none;
}

#order-date-filter, #order-material-filter {
    float: left;
    font-family: 'Myriad Pro';
    color: #4D4C4C;
    font-size: 14px;
    margin-left: 20px;
}

#order-date-filter label, #order-date-filter input, #order-material-filter label, #order-material-filter input {
    float: left;
}

#order-date-filter label, #order-material-filter label {
    margin: 7px 9px;
}

#order-date-filter input, #order-material-filter input {
    height: 29px;
    box-sizing: border-box;
    border: solid 1px #EEEEEE;
    border-radius: 5px;
    padding-left: 6px;
    position: relative;
    top: -1px;
}

#order-date-filter input {
	width: 90px;
}

#order-material-filter-value {
	width: 130px;
}

/* Filtracijos eilutė */
.data-filter-row, .data-filter-group {
	float: left;
	color: #4d4c4c;
	font-size: 14px;
	color: #4d4c4c;
}

.data-filter-row {
	margin-bottom: 10px;
}

.data-filter-group {
	margin-right: 14px;
}

.data-filter-row {
	width: 100%;
	min-height: 35px;
	padding-top: 10px;
	border-bottom: solid 1px #EEEEEE;
}

.data-filter-inner-row {
	margin: 10px 0;
}

.data-filter-group label {
	float: left;
	margin: 7px 7px 0 0;
}

.data-filter-group input[type=text], .data-filter-group select {
	box-sizing: border-box;
	width: 95px;
	height: 29px;
	border: solid 1px #EEEEEE;
	border-radius: 5px;
	padding-left: 6px;
}

/* Duomenų lentelė */
.data-table table {
	width: 100%;
	font-family: 'Myriad Pro';
	color: #4d4c4c;
	font-size: 14px;
	float: left;
	margin-top: 15px;
}

.data-table table th {
	background: none;
	font-weight: bold;
	border-bottom: solid 1px #B6B6B6;
}

.data-table table tbody td {
	height: 31px;
	border-bottom: solid 1px #B6B6B6;
	box-sizing: border-box;
	padding-top: 6px;
}

.data-table table tbody tr.last td {
	border-bottom: none;
}

.data-table tr.active td {
	background: #FCF0F0;
}

.data-table tfoot tr.summary-row td {
	font-style: normal;
	border-top: solid 3px #EEEEEE;
	padding-top: 13px;
}

.data-table td.empty-cell {
	height: 34px;
}

.data-table td.text-right {
	text-align: right;
}

.data-table .cell-1 {
	width: 147px;
}

.data-table .cell-2 {
	width: 88px;
}

.data-table .cell-3 {
	width: 106px;
}

.data-table .cell-4 {
	width: 202px;
}

.data-table .cell-5 {
	width: 171px;
}

.data-table .cell-6 {

}

.data-table .cell-7, .data-table .cell-8, .data-table .cell-9 {
	width: 92px;
}

#customer-thinks, #customer-comes-to-office {
	width: 350px;
	height: 215px;
}

#order-warranty {
	width: 350px;
	height: 165px;
}

#customer-refused-order {
	width: 400px;
}

#customer-refused-order-error {
	margin-bottom: 15px;
	font-size: 13px;
	display: none;
}

#customer-refused-order-comment, #customer-comes-comment, #customer-reminder-comment {
	width: 100%;
}

.fancybox-form {
	margin: 15px 0;
	font-size: 13px;
	font-family: 'Tahoma';
}

.fancybox-form .form-row {
	margin: 7px 0;
}

.fancybox-form .form-row label {
	display: block;
	margin-bottom: 3px;
}

.fancybox-form textarea, .fancybox-form input[type=text] {
	box-sizing: border-box;
	padding: 3px;
}

.fancybox-form textarea {
	width: 93%;
	resize: none;
	height: 60px;
}

#admin-production-link, #logout {
	float: right;
	margin-top: 25px;
} 

#logout {
	color: #d30201;
}

#admin-production-link {
  margin-right: 20px;
  font-weight: bold;
}

#green-roller-button {
	display: none;
}

#roller-button-first-row #blue-roller-button {
	margin: 0;
}

#customer_form .errorSummary {
	margin: 10px;
}

.item-production-disabled .body-cell div {
	background: red!important;
}

#roller-installer {
	display: none;
}

#order-number-field {
	width: 168px;
}

#order-create-date-field {
	width: 100px;
}

#product-name, #material-name, #material-id-product, #customer-firstname, #customer-lastname, #customer-phone, #customer-email {
	width: 200px;
}

#order-summary-row {
	font-family: 'Myriad Pro';
	font-size: 14px;
	border-top: solid 2px #B6B6B6;
	padding-top: 5px;
	width: 1238px;
}

#order-summary-row > span {
	float: left;
	box-sizing: border-box;
	padding: 5px 6px;
}

#order-summary-td-1 {
	width: 340px;
}

#order-summary-td-2, #order-summary-td-4, #order-summary-td-6, #order-summary-td-8 {
	width: 90px;
	font-weight: bold;
}

#order-summary-td-3 {
	width: 90px;
}

#order-summary-td-1 {
	text-align: right;
}

#ppk-number {
	width: 100px;
	margin-right: 15px;
}

.installation-field {
	display: none;
}

/* Užbaigto užsakymo mygtukų išjungimas */
.completed-order .order-employees a, .completed-order .order-footer-summary,
.completed-order .order-installation-block, .completed-order .order-details-heading a {
	display: none;
}

.completed-order .order-middle-col-1 {
	display: none;
}

.order-completed-notice {
	background: #fcf8e3;
	border: solid 1px #faebcc;
	border-radius: 5px;
	color: #8a6d3b;
	padding: 10px;
	margin: 5px 5px 15px 5px;
	display: none;
}

.completed-order .order-completed-notice {
	display: block;
}

.completed-order .order-middle-col-2 {
	width: 790px;
	box-sizing: border-box;
	border-left: none;
	border-right: none;
	padding-top: 8px;
	height: auto;
	min-height: inherit;
	padding-left: 0;
}

.completed-order .order-middle-col-2 p {
	line-height: 130%;
}

.form input.mechanism-price {
	width: 60px;
}

#mechanism-prices {
	width: 250px;
}

.hidden-order {
	display: none;
}

#material-products label {
	display: inline-block;
	margin: 0;
}

#order-options {
	display: inline-block;
}

.component-row, .packing-component-row {
	display: none;
}

.remove-component, .remove-packing-component {
	display: inline-block;
	background: #e30a17;
	color: #FFF;
	box-sizing: border-box;
	padding: 7px 8px;
	border-radius: 3px;
	position: relative;
	top: 1px;
}

.remove-component:hover, .remove-component:focus, .remove-packing-component:hover, .remove-packing-component:focus {
	color: #FFF;
}

.add-new-component, .add-new-packing-component {
	display: inline-block;
	background: #E1E1E1;
	color: #000;
	padding: 2px 10px;
	border-radius: 3px;
	height: 22px;
	box-sizing: border-box;
	position: relative;
	top: 1px;
	margin-left: 5px;
}

.add-new-component:hover, .add-new-component:focus, .add-new-packing-component:hover, .add-new-packing-component:focus {
	color: #000;
}

#filter-writeoff-description, #filter-company-title, #filter-company-address, #filter-product-group-name, #filter-product-name {
	width: 150px;
}

#filter-writeoff-id, #filter-writeoff-amount-before, #filter-writeoff-selected-amount, #filter-warehouse-expense-balance-price, #filter-writeoff-amount, #filter-warehouse-expense-quantity, #filter-warehouse-expense-price, #filter-warehouse-expense-balance-quantity, #filter-product-price, #filter-supplier-number, #filter-supplier-product-price, #filter-supplier-product-number, #filter-consignment-paid, #filter-consignment-completed {
	width: 50px;
}

#filter-consignment-number, #filter-consignment-billing-number, #filter-warehouse-expense-product-group-name, #filter-warehouse-expense-product-name, #filter-warehouse-expense-description {
	width: 60px;
}

#filter-writeoff-date, #filter-writeoff-create-date, #filter-consignment-create-date, #filter-consignment-delivered, #filter-consignment-supplier, #filter-warehouse-expense-date, #filter-warehouse-expense-date-to {
	width: 80px;
}

#default_page .form select, #default_page .form input[type=submit] {
	padding: 5px;
	border: solid 1px #C0C0C0;
}

#default_page .form input[type=submit] {
	margin-top: 15px;
}

/* Fiksuota juosta apačioje */

/* Fiksuotos juostos stiliai */
#fixed-bottom-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
}

#fixed-bottom-bar .bar-content {
	padding-top: 5px;
	background: #efefef;
	border: 1px solid #c9e0ed;
	height: 35px;
	width: 1237px;
	margin: 0 auto;
	opacity: 0.95;
	padding-left: 10px;
}

#fixed-bottom-bar p {
	display: inline-block;
	margin: 3px 10px 0 0;
	float: right;
}

div.flash-error, div.flash-notice, div.flash-success {
	padding:.8em;
	margin-bottom:1em;
	border:2px solid #ddd;
}

div.flash-error {
	background:#FBE3E4;
	color:#8a1f11;
	border-color:#FBC2C4;
}

div.flash-notice {
	background:#FFF6BF;
	color:#514721;
	border-color:#FFD324;
}

div.flash-success {
	background:#E6EFC2;
	color:#264409;
	border-color:#C6D880;
}

div.flash-error a {
	color:#8a1f11;
}

div.flash-notice a {
	color:#514721;
}

div.flash-success a {
	color:#264409;
}

.text-center {
	text-align: center;
}

table .thumb {
  max-height: 50px;
  max-width: 50px;
}

/* Darbuotojo personalas */

#user-personell-list h4 {
	font-weight: 600;
}

div.form .user-personnel-row label {
	margin: 0 2px;
	display: inline-block;
	font-weight: normal;
}

div.form .user-personnel-row input {
	margin: 0;
}

div.form .user-personnel-row {
	margin: 5px 0;
}

/* Vartotojų gamybos vietų nustatymai */

#production-places {
	margin: 15px 0 0 0;
	padding: 10px;
	box-sizing: border-box;
	border: solid 1px #EFEFEF;
	display: none;
}

#production-places h4 {
	margin-bottom: 10px;
	font-weight: 600;
}

.production-place-block {
	margin-bottom: 10px;
}

.production-place-block h5 {
	font-weight: 600;
	background: #EFEFEF;
	padding: 10px;
}

.production-place-block .content {
	padding: 0 10px;
}

.production-place-block .content .row {
	margin: 10px 0;
  height: 25px;
}

#production-places .production-task-inline-label {
  margin-left: 30px;
}

#production-places label {
	margin: 0 0 0 5px;
	position: relative;
	top: 1px;
	display: inline-block;
}

#production-places input[type=checkbox] {
	margin: 0;
}

#production-places input[type=text] {
	margin-left: 5px;
	padding: 3px;
	box-sizing: border-box;
}

#production-places h6 {
	font-size: 15px;
	position: relative;
	top: 3px;
}

.table {
	width: 100%;
	border: 1px solid #CCC;
	font-size: 14px;
}

.table th {
	background: #EFEFEF;
	color: #606060;
}

.table th, .table td {
	padding: 5px;
	border: 1px solid #CCC;
}

.table tr:nth-child(even) td {
	background: #FAFAFA;
}

/* */

.red-button {
	background: #d30201;
	color: #FFF;
	display: inline-block;
	text-align: center;
	padding: 5px 10px;
	box-sizing: border-box;
	border: none;
}

.red-button:hover {
	background: #C20100;
	color: #FFF;
}

.text-right {
	text-align: right;
}

.text-bold {
	font-weight: bold;
}



.form input.input-full-width, .form select.input-full-width {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

div.form label.inline-label {
	display: inline-block;
	margin: 7px 0;
	position: relative;
	top: 1px;
}

.inline-label-description {
	position: relative;
	top: 1px;
}

.inline-checkbox {
	display: inline-block;
}

.d-inline {
	display: inline!important;
}

.production-profile-quantities {
  visibility: hidden;
  display: inline;
}

.production-profile-quantities.expanded {
  visibility: visible;
}