button, div.new-button {
	    -webkit-appearance: none;
    -moz-appearance: none;
    border-radius: 0;
    border-style: solid;
    border-width: 0;
    cursor: pointer;
    font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    font-weight: normal;
    line-height: normal;
    /*margin: 0 0 1.25rem;*/
    position: relative;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    font-size: 1rem;
    background-color: #008CBA;
    border-color: #007095;
    color: #FFFFFF;
    transition: background-color 300ms ease-out;
}

button:hover, button:focus, .button:hover, .button:focus,
div.new-button:hover, div.new-button:focus {
  background-color: #007095;
}

button[disabled] {
	background-color: grey !important;
	color: lightgrey;
	cursor: auto;
}
select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #FAFAFA;
    border-radius: 0;
    background-image: url(../js_external/handsontable/arrow.svg);
    background-position: 100% center;
    background-repeat: no-repeat;
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    color: black;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: normal;
    padding: 0.2rem;
    border-radius: 0;
    height: 2.0rem;
    padding-right: 20px;
}
select::-ms-expand {
    display: none;
}

input[type=text], input[type=password], input[type=number] {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #FAFAFA;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    color: black;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: normal;
    padding: 0.2rem;
    border-radius: 0;
    height: 1.5rem;
}

textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-color: #FAFAFA;
    border-radius: 0;
    border-style: solid;
    border-width: 1px;
    border-color: #cccccc;
    color: black;
    font-family: inherit;
    font-size: 0.875rem;
    line-height: normal;
    padding: 0.2rem;
    border-radius: 0;
}

input[disabled], select[disabled], textarea[disabled] {
	color: #707070;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus {
	background-color: white;
}

input[type=checkbox], input[type=radio] {
	width: 17px;
	height: 17px;
}

p {
	margin: 0px;
}

/* MENU */
#menu_bar .menu_active {
	background-color: lightblue !important;
}

#div_user_info {
	height: 100%;
	text-align: right;
	padding-right: 10px;
	padding-top:8px;
	color: brown;
}

#primary_nav_wrap
{
	/*margin-top:15px*/
}

#primary_nav_wrap ul
{
	list-style:none;
	position:relative;
	float:left;
	margin:0;
	padding:0;
	z-index: 5000;
}

#primary_nav_wrap ul a
{
	display:block;
	color:#333;
	text-decoration:none;
	font-weight:700;
	font-size:12px;
	line-height:34px;
	padding:0 15px;
	font-family:"HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif
}

#primary_nav_wrap ul li
{
	position:relative;
	float:left;
	margin:0;
	padding:0;
	transition: background-color 300ms ease-out;
}

#primary_nav_wrap ul li.current-menu-item
{
	background:#ddd
}

#primary_nav_wrap ul li:hover
{
	background: white; /*#f6f6f6*/
}

#primary_nav_wrap ul ul
{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	background:#eeeeee;
	padding:0
}

#primary_nav_wrap ul ul li
{
	/*float:none;*/
	width:135px;
}

#primary_nav_wrap ul ul a
{
	line-height:120%;
	padding:10px 15px;
	width:105px;
}

#primary_nav_wrap ul ul ul
{
	top:0;
	left:100%
}

#primary_nav_wrap ul li:hover > ul
{
	display:block
}

/* END MENU */

a:hover {
	color: #7596FD;
	text-decoration:underline;
}

input[readonly=readonly] {
	background-color: lightgrey !important;
}

#div_login_form {
	margin-left: auto;
	margin-right: auto;
	display:inline-block;
}

.inline {
	display: inline-block;
	vertical-align: middle;
}
.block {
	display: inline-block;
}
.center {
	text-align: center;
}
.form_line {
	margin-top: 20px;
	text-align: center;
}

#table_orders {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
}
#table_orders th {
	text-align: center;
}
#table_orders tr {
	vertical-align: top;
}
#table_orders td, #table_orders th {
	border: 1px solid lightblue;
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

#table_orders th {
 background-color: lightblue;
}
#table_orders td{
 background-color: lightcyan;
}

#order_status_info {
	font-size: 20px;
}

#div_change_login_form {
	display: block;
	text-align: center;
}
#div_change_login_form form {
  text-align: left;
  display: inline-block;
}
#div_change_login_form a {
  margin-top: 20px;
  display: block;
}
#div_login_form {
	display: block;
	text-align: center;
}
#div_login_form form {
  text-align: left;
  display: inline-block;
}

#div_nowy_klient_cont div {
	width: 100px;
	display: inline-block;
	text-align: right;
}
.calculation_active, .calculation_active td {
	background-color: aqua !important;
}

.version_active td {
	background-color: aqua !important;
}

#order_form_submit {
	margin-top: 10px;
}
#order_form_submit button {
	margin-top: 10px;
}

#div_users {
	text-align: center;
}

#table_users {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
}
#table_users th {
	text-align: center;
}
#table_users tr {
	vertical-align: top;
}
#table_users td, #table_users th {
	border: 1px solid black;
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

#div_add_user_a {
	margin-top: 20px;
}

#div_user {
	text-align: center;
}

#div_edit_user .form_line div {
  width: 200px;
  display: inline-block;
  text-align: right;
}
#div_edit_user select {
	width: 170px;
}

#div_edit_client .form_line div {
  width: 150px;
  display: inline-block;
  text-align: right;
}

#table_departaments {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
}
#table_departaments th {
	text-align: center;
}
#table_departaments tr {
	vertical-align: top;
}
#table_departaments td, #table_departaments th {
	border: 1px solid black;
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

#div_edit_departament .form_line div {
  vertical-align: top;
  width: 150px;
  display: inline-block;
  text-align: right;
}

#div_edit_user textarea[name=details], #div_my_account_form textarea[name=details] {
	width: 250px;
	height: 80px;
}

#div_partners_in_departament {
	width: auto !important;
	text-align: left !important;
}

#div_new_departament {
	margin-top: 20px;
}

#basic_order_info {
	margin-bottom: 20px;
}

#basic_order_info table {
	width: 100%;
}
td.first_col {
	vertical-align: top;
	text-align: right;
	width: 50%;
	color: darkblue;
}
td.sec_col {
	text-align: left;
}
#div_orders_filtr {
	margin-bottom: 20px;
}
#div_orders_filtr .inline.center {
	margin-left: 10px;
}

input.custom-combobox-input{
  font-size: 15px;
  padding: 5px;
  background: white;
  color: black;
  font-weight: normal;
  vertical-align: middle;
}
.custom-combobox a.ui-button {
	height: 27px;
	background: white;
}

#table_calculation_list {
	/*width: 100%;*/
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
	margin-left: auto;
  margin-right: auto;
}
#table_calculation_list th {
	text-align: center;
}
#table_calculation_list tr {
	vertical-align: top;
}
/*MiB*/
#table_assembly_list{
	/*width: 100%;*/
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
	margin-left: auto;
  	margin-right: auto;
}

#table_assembly_list th {
	text-align: center;
}
#table_assembly_list tr {
	vertical-align: top;
}

#table_assembly_list td, #table_assembly_list th {
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

#div_assembly_list select {
	width: 120px;
}

#div_assembly_list input{
	width: 100px;
	aria-valuemin: 1;
}

#div_assembly_list rolety{
	display: none;
}
/*
#rolety, #metry, #cena_za, #totalRM{
	display: none;
}*/

#assembly_total{
	/*font-weight: bold;*/
	font-size: 20px;
}

/*MiB*/
#table_calculation_list td, #table_calculation_list th {
	border: 1px solid black;
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

#calculation_list_wrapper {
	display: inline-block;
	max-width: 370px;
	vertical-align: top;
	margin-right: 10px;
}
  
#calculation_content_wrapper  {
	display: inline-block;
	width: 705px;
	border-left: 1px solid black;
	padding-left: 10px;
	min-height: 500px;
}

#div_my_account_form .form_line div {
  width: 200px;
  display: inline-block;
  text-align: right;
}

#dialog_change_ofert_to_order {
	 text-align: center;
}

#dialog_change_ofert_to_order table {
	width: 100%;	
}

div[aria-describedby=dialog_change_ofert_to_order] {
	z-index: 5000;
}

div[aria-describedby=dialog_order_info] {
	z-index: 5000;
}

#calculation_list_wrapper input[type=text] {
	width: 90px;
}

#tr_payment_days {
	height: 35px;
}

#tr_payment_days td {
	display: none;
}

textarea[name="delivery_place"] {
    height: 53px;
}

.ui-widget {
	font-size: 14px;
}

#div_group_selection {
	text-align: left;
}

#copyright a {
	color: darkgreen;
}

#pricelist_list_wrapper {
	display: inline-block;
	width: 365px;
	vertical-align: top;
	margin-right: 10px;
}
  
#pricelist_content_wrapper  {
	display: inline-block;
	max-width: 705px;
	border-left: 1px solid black;
	padding-left: 10px;
	min-height: 500px;
}

.li_pricelist {
	margin-top: 15px;
}

.pricelist_active {
	background-color: aqua;
}

#div_pricelist_file {
	/*height: 600px !important;*/
}

#div_pricelist_files {
	display: table;
    margin-left: auto;
    margin-right: auto;
}

.th_header_orders {
	cursor: pointer;
}

/*wyswig*/
.foreColor-trumbowyg-dropdown.trumbowyg-dropdown.trumbowyg-fixed-top {
	left: 277px !important;
}

.backColor-trumbowyg-dropdown.trumbowyg-dropdown.trumbowyg-fixed-top {
	left: 311px !important;
}

#dialog_order_info .trumbowyg-box, #dialog_order_info .trumbowyg-editor {
	min-height: 600px !important;	
}

#dialog_banner .trumbowyg-box, #dialog_banner .trumbowyg-editor {
	min-height: 190px;
    width: 1160px	
}

#table_order_versions_list {
	border-collapse: collapse;
}

#table_order_versions_list td, #table_order_versions_list th {
	border: 1px solid black;	
}

img.user_logo {
	max-width: 900px;
}

#div_display_test {
    margin-top: 10px;
    text-align: center;
    background-color: orange;
    padding: 5px;
}

.ui-autocomplete {
	max-height: 400px;
	overflow-y: auto;
	/* prevent horizontal scrollbar */
	overflow-x: hidden;
	/* add padding to account for vertical scrollbar */
	padding-right: 10px;
 }

 
#csv_handsom_message {
	min-height: 44px;
	padding: 10px;
	margin-bottom:10px;
	background-color: white;
	vertical-align: middle;
}
 
.succ_msg, .error_msg {
    padding: 10px;
    border-radius: 5px;
    margin-bottom:10px;
 }
 
.succ_msg {
	color: darkgreen;
	background-color: lightgreen !important;
}
 
.error_msg {
	color: red;
	background-color: #F5BCA9 !important; 
}
 
.msg_cancel {
 	float: right;
 	color: darkgrey;
 	cursor: pointer;
}
 
.msg_cancel:hover {
  	color: grey
}

/*<MWK>*/
#div_notifi iframe {
	padding: 10px;
	margin-top: 20px;
	border: dotted 2px black;
}

#div_edit_notifi .form_line div {
  	width: 200px;
  	display: inline-block;
  	text-align: right;
}

#notifi_menu_item.unread_notifis::after {
	content: " *";
}

tr.unread_notifi {
	font-weight: 800;
}
 
.div_notifi_view {
    border-radius: 5px;
    margin-bottom: 10px;
	background-color: #FFB831;
}
 
.div_notifi_accept {
	padding-top: 10px;
 	color: #0071D0;
 	cursor: pointer;
}

.div_notifi_accept:hover {
  	color: grey;
}

.div_notifi_title {
	padding: 5px;
    border-radius: 5px 5px 0px 0px;
	background-color: orange;
	font-weight: bold;
 	text-align: center;
 	color: #1F451F;
}

.div_notifi_content {
    padding: 10px;
    color: #1F451F;
 }
 
.div_notifi_attachment {
 	padding: 20px;
 	display: inline;
 }
 
.div_notifi_attachment img {
 	max-width: 100px;
 	max-height: 100px;
 }
 
 .div_notifi_attachment a {
 	color: #1F451F;
 	font-weight: bold;
 }

.div_notifi_message {
	padding-bottom: 10px;
}
/*</MWK>*/

#input_quantity_per_page {
	width: 50px;
}

.table_color{
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
}
.table_color th {
	text-align: center;
}
.table_color tr {
	vertical-align: top;
}
.table_color td, .table_color th {
	border: 1px solid lightblue;
	padding: 5px;
	vertical-align: middle;
	text-align: center;
}

.table_color th {
 background-color: lightblue;
}
.table_color td{
 background-color: lightcyan;
}

th.headerSortUp, th.headerSortDown {
	background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
}

th.headerSortUp {
	background-image: url("../css/img/arrow_desc.png");
}

th.headerSortDown {
	background-image: url("../css/img/arrow_asc.png");
}

.ui-dialog {
	z-index: 5001;
}


#table_sql_profiling {
	width: 100%;
	border-collapse: collapse;
	margin-top: 10px;
	text-align: left;
}
#table_sql_profiling td, #table_sql_profiling th {
	border: 1px solid black;
	padding: 5px;
	vertical-align: top;
}
.sql_profiling_db_error {
	color: red;
}

.promo_actual, .promo_actual td {
	background-color: lightskyblue;
}

#div_edit_promo .form_line div {
  width: 200px;
  display: inline-block;
  text-align: right;
}

#ui-datepicker-div {
	z-index: 5001 !important;
}

#div_promo iframe {
	padding: 10px;
	margin-top: 20px;
	border: dotted 2px black;
}
.promo_in_ofert {
	color: red;
}

#tresc #div_promo_rules p {
	width: auto !important;
}

#div_version {			
	text-align: right;
	position: absolute;
	bottom: 0px;
	right: 0px;
	padding: 3px;
	margin-left: 5px;
}

a, img {
	border: none;	
}

.ui-autocomplete .ui-state-focus {
	font-weight: normal;	
}

#dialog_change_ofert_to_order table td {
    vertical-align: middle;
}

#calculation_list {
	margin-top: 30px;
}

#calculation_list > a {
	display: inline-block;
	margin-top: 5px;
}
#calculation_list > a:before {
	content: "+ ";
}
#div_pdf_a_wrapper a {
	display: inline-block;
	margin-top: 5px;
}

#a_add_new_version {
	display: inline-block;
	margin-top: 5px;
}
#a_add_new_version:before {
	content: "+ ";
}

#form_order_general_info {
	margin-top: 20px;
}

#dialog_order_info #cke_textarea_order_info {
	width: 624px;
    height: 700px;
}

#dialog_order_info .cke_inner, .cke_inner #cke_1_contents {
	height: 624px !important;
}

#form_filtr_orders #input_id {
	width: 70px;
}

/*
#cke_textarea_order_info {
	width: 624px;
    height: 700px;
}

.cke_inner, .cke_inner #cke_1_contents {
	height: 624px !important;
}*/
