form {
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	right: 0px;
	bottom: 0px;
	display:inline;
}
body {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	color: #000000;
	background-color: #FFFFFF;
	margin:0px;
	padding:0px;
}

input {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	background-position: left center;
	color: #000000;
}

input[type=text] {
	height:18px;
}

input.date {
	width:75px;
}

input.weight {
	width:65px;
}

select {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	color: #000000;
	height:24px;
	padding-right: 10px;
}

select[multiple] {
	height:60px;
}

textarea {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	color: #000000;
}

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

header {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	text-align:center;
	background-image: url("https://www.anckonsult.eu/images/custom-header.jpg");
	color:#FFFFFF;
	font-weight:bold;
}

header .top-header {
	width: 1000px;
	height: 75px;
	padding-top: 25px;
}
header .top-header h1 {
	margin-top: 0px;
	font-size: 24px;
}
header .top-header h2 {
	margin-top: 0px;
}

footer {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	background-color:#CCCCCC;;
	color:#000000;
	font-weight:bold;
	text-align:center;
	margin-top:14px;
}

label {
	cursor:pointer;
}

h1 {
	text-align:center;
	font-size:15px;
	margin-bottom:0px;
}

h5 {
	cursor:pointer;
	font-size:16px;
	color:#0b3861;
	margin-top:15px;
	margin-bottom:7px;
}

h6 {
	text-align:center;
	font-size:10px;
	margin-top:0px;
}

ul {
    list-style: none outside none;
	padding-left:0px;
	margin:0px;
}

input[type=button], input[type=submit], button{
	cursor: pointer;
}

ul.links li
{
	cursor:pointer;
    color: #000080;
}

#site {
	width:1000px;
	margin-left: 50%;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 0px;
	left: -500px;
	position:relative;
}

#main {
	border:0;
}

.hsep {
	height:1px;
	width:100%;
}

.box {
	border: 1px solid #A7A5A5;
	margin-top:10px;
	font-size:12px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	padding:5px;
}

.hidable {
	width:100%;
}

.hidable .outer {
	height:0px;
	overflow:hidden;
}

.hidable .open {
	cursor:pointer;
	font-weight:bold;
}

.hidable .open h5{
	display:block;
	border-style: solid;
	border-width: 1px;
	border-radius: 5px;
	padding:5px;
	display: inline-block;
	font-size: 14px;
}

input.disabled {
	background-color:#EEE;
}

div.button {
	cursor:pointer;
}

/* -- menüüd -- */
#menu {
	width:100%;
	background-color:#CCCCCC;
    color: #000080;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 18px;
    text-decoration: none;
	font-weight:bold;

	border-color:#FFF;
	border-style:solid;
	border-width:0px;

	border-top-width:1px;
	border-bottom-width:1px;
}

#menu tr td {
	width:121px;
	text-align:center;
	cursor:pointer;
}

#menu tr td a {
	color:#000000;
	text-decoration: none;
}

#menu tr td.auto {
	width:auto;
}

#menu tr td.sep {
	width:1px;
	height:32px;
}

#menu tr td.sep div {
	width:1px;
	height:32px;
	background-color:#FFF;
}

#menu tr td.active, #menu tr td:hover, #menu tr td.active a, #menu tr td:hover a {
	text-decoration: underline;
}
#menu tr td.active, #menu tr td.active a {
	font-weight: bold;
	color:#F00;
}

#submenu{
	padding-top: 25px;
}
#submenu ul {
    list-style: none outside none;
	display:none;
	padding-left:0px;
}
#submenu ul.active {
    display: block;
}
#submenu ul li {
	display:inline-block;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 14px;
    font-style: normal;
	color:Blue;
	font-weight: bold;
	border-right-width:1px;
	border-right-style:solid;
	border-right-color:#000;
	cursor:pointer;
	padding-right:5px;
	padding-left:5px;
}
#submenu ul li.active, #submenu ul li:hover {
	text-decoration: underline;
}
#submenu ul li.active {
	font-weight: bold;
	color:#F00;
}
#submenu ul li:last-child {
  border:none;
}

.toolbar {
    font-family: Verdana,Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-style: normal;
	width:100%;
}

/* -- tabelid -- */

.datatable {
	border-collapse: initial;
	border-spacing: 0px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-style: normal;
	font-weight: normal;
	width:100%;

}

.datatable th {
	font-family: Verdana, Arial, "Sans Serif";
	font-size: 12px;
	font-style: normal;
	background-color: #CCCCCC;
	font-weight: normal;
	font-variant: normal;
	padding-right: 2px;
	text-align:left;
}

.datatable tr.light th {
	background-color: #EEEEEE;
}

.datatable.sortable tr th {
	cursor: pointer;
	position:relative;
}
.datatable.sortable tr th.sorttable_nosort {
	cursor: default;
}
.datatable.sortable tr th #sorttable_sortrevind, .datatable.sortable tr th #sorttable_sortfwdind {
	position:absolute;
	/*right:5px;*/
}

.datatable tr .edit, .datatable tr .delete, .datatable tr .view, .datatable tr .psw
{
	cursor:pointer;
	color: #000033;
}
.datatable tr .edit, .datatable tr .delete , .datatable tr .psw
{
	width:20px;
	vertical-align:middle;
	text-align:center;
	padding-right: 0;
}

.datatable tr td.vm
{
	vertical-align:middle;
}

.datatable tr .choose , .datatable .weekdays th
{
	cursor:pointer;
	color: #0B3861;
	text-align:center;
	font-weight:bold;
	text-decoration: underline;

}

.datatable tr.active td {
	color:green;
}

.datatable tr.thisweek td {
	font-weight:bold;
}

.datatable tr.b th,
.datatable tr.b td,
.datatable tr td.b {
	font-weight:bold;
}

.datatable .blue {
	color:blue;
	font-size:10px;
}

.datatable .red {
	color:red;
	font-size:10px;
}

.datatable th , .datatable td {
	border: 1px solid #696969;
	padding:1px;
}

.datatable tr th ul {
	padding:0;
}
.datatable tr th ul li {
	margin-top:10px;
}

.datatable tr:hover td {
	background-color:#EEE;
}

.datatable.clickable  tr td {
	cursor:pointer;
}

.datatable .borderless td {
	border:none;
}

.form_table {
	font-size:12px;
	font-family: Verdana,Arial,Helvetica,sans-serif;
}

.form_table tr td {
	vertical-align:middle;
	padding:5px;
}
.report_table tr td {
	text-align:right;
	padding-right:5px;
}
.report_table tr th {
	text-align:center;
	vertical-align:middle;
}
.report_table ul li {
	text-align:left;
}

table.numbers tr td{
	text-align:right;
	padding-right:5px;
}
table tr td.l, table tr th.l,
table tr.l td, table tr.l th{
	text-align:left;
	padding-left:5px;
}
table tr td.r, table tr th.r,
table tr.r td, table tr.r th {
	text-align:right;
	padding-right:5px;
}
p.c,
table tr td.c, table tr th.c,
table tr.c td, table tr.c th {
	text-align:center;
}

table tr td.link, table tr th.link {
	cursor:pointer;
}

table.width100{
	width:100%;
}

.button_table tr td {
	vertical-align:middle;
	cursor:pointer;
	line-height:16px;
	height:16px;
	font-size:12px;
}

/*
#calc_tk_hind,
#calc_tk_kaal,
#calc_tk_kogus,
#calc_table td
{
	width: 80px;
	border-width:1px;
	border-style:solid;
	border-color:#000;
}
#calc_tk_hind,
#calc_tk_kaal,
#calc_tk_kogus{
	background-color: #eee;
}

#calc_table
{
	border-width:1px;
	border-style:solid;
	border-color:#000;
	float:right;
	margin-top:10px;
}
*/
.aright
{
	text-align:right;
	padding-right:5px;
}

.sep_row
{
	height:1px;
}

/* -- popupite teema -- */
#popup{
	position:fixed;
	top:50%;
	left:50%;
	display:none;
	overflow:visible;
	z-index:210;
	box-sizing: border-box;
}

.popup_header
{
/*    background-color: #d7d853;
    background-image: -moz-linear-gradient(center top , #f5f5dd, #c5c606);*/
	padding-top:6px;
	padding-left:12px;
	padding-right:10px;
	border-color:#f1f1f1;
	color:#006200;
	font-weight:bold;
	text-transform:uppercase;
	border-style: solid;
    border-width: 1px;
	border-radius: 8px 8px 0px 0px;
	background-color:#f1f1f1;
	height: 30px;
}

.popup_content
{
	background-color:#f1f1f1;
	padding-left:25px;
	padding-right:25px;
	padding-bottom:30px;
	padding-top: 1px;
	border-color:#f1f1f1;
	border-style: solid;
    border-width: 1px;
    border-top-width: 0px;
	border-radius: 0px 0px 8px 8px;
}

.popup_content p:first-child{
	margin-top: 0px;
}

.popup_content input
{
	margin-bottom:15px;
}

.popup_content table tr td input
{
	margin-bottom:0px;
}

.popup_header img
{
	float:right;
	margin-left:15px;
	cursor:pointer;
}

#popup_title
{
	display:none;
	display:inline-block;
}

#popup.full-height
{
	margin-top:5px;
	padding-bottom:10px;
	height:100%;
	height: calc(100% - 30px);
}

#popup.full-height .popup_content
{
	height:100%;
	overflow-y:auto;
	box-sizing: border-box;
}

#mask {
    background-color: #000000;
    height: 100%;
    left: 0;
    opacity: 0.2;

	filter:alpha(opacity=60);
	-moz-opacity: 0.60;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
	display:none;
}


#alert_box{
   padding:10px;
    position:fixed;
    top:50%;
    left:50%;
	margin-left:-155px;
	margin-top:-45px;
	display:none;
	z-index:250;
	min-height:70px;
	width:290px;
	border-width:1px;
	border-color:#e7e7e7;
	border-style:solid;
	background-color:#f1f1f1;
	color:#878787;
}

#alert_box img
{
	float:right;
    cursor:pointer;
}

#alert_box div
{
	margin-top:10px;
	float:left;
	color:#878787;
	padding-left:10px;
	font-size:16px;
	max-width:200px;
}

.error_box {
	background-color: #FF6464;
}

#happy_box{
   padding:10px;
    position:fixed;
    top:50%;
    left:50%;
	margin-left:-155px;
	margin-top:-45px;
	display:none;
	z-index:200;
	height:70px;
	width:290px;
	border-width:1px;
	border-color:#e7e7e7;
	border-style:solid;
	background-color:#FFF;
	color:#878787;
}

#happy_box img {
	float:right;
}

#happy_box div {
	margin-top:10px;
	float:left;
	color:#878787;
	padding-left:10px;
	font-size:16px;
	max-width:200px;
}

#loading_bar{
	left:50%;
    top:145px;
	width:19px;
	height:19px;
    position:absolute;
	display:none;
	z-index:100;
}

#loading_bar img{
	float:right;
}

/*-------- login ------*/
#login_sep
{
	width:100%;
	height:5px;
	background-color:#CCCCCC;;
	margin-bottom:5px;
}

#login_box
{
	background-color:#FFF;
	margin-top:5px;
	padding-top:10px;
	color:#000;
	text-align:right;
}

#login_box label
{
/*	height:22px;
	padding-left:3px;
	font-size:12px;*/
	display:block;
}

#logout_button{
	float:right;
}
/*------- muu ---------*/

#month_choose_buttons
{
	margin-bottom:5px;
}

.fltrow
{
	cursor:auto;
}

/* -- printimise vaade -- */

.print_button
{
	float:right;
	background-image: url('../images/print.gif');
    background-repeat: no-repeat;
    background-position: 10px center;
	padding:5px;
	color:#0a0935;
	font-weight:bold;
	padding-left:30px;
	margin-top:3px;
	margin-right:3px;
	font-size:12px;
}
.print_button.no_image{
	background-image: none;
	padding-left:5px;
}
.search_button
{
	background-image: url('../images/search.png');
    background-repeat: no-repeat;
    background-position: 10px center;
	padding:3px;
	color:#0a0935;
	font-weight:bold;
	padding-left:30px;
	font-size:12px;
}
.button-row{
	height:20px;
}

#print .fltrow, #print .print_button, #print .edit, #print .delete, #print #content button, #print .noprint
{
	display:none;
}

#print
{
	padding:0;
	font-size:10px;
}

.only_print
{
	display:none;
}

#print .only_print
{
	display:block;
}
/*
#print .datatable tr:nth-child(odd)
{
	background-color:#EEE;
}*/

#print .datatable tr th
{
	background-color:#FFF;
	font-weight:normal;
}
#print .datatable tr.gray td{
	background-color:#EEE;
}

#print, #print .datatable, #print .datatable tr th
{
	font-size:10px;
}

#print .print-shrink{
	width:0px;
	padding:0px;
	border: none;
}

@media print {
	input
	{
		border:none;
		color:#000;
	}
	.hide-from-printing{
		display: none!important;
	}
}

/*--------- maha kandmine -----------*/

#writeoff_warehouse_condition #active_products_table tr:hover td
{
	cursor:pointer;
}

/*----- käive ---*/
#flow_table .invent
{
	display:none;
}

/*---- planeerija -----*/
.meal h3 img
{
	cursor:pointer;
}

.hideAllergens .allergens{
	display:none;
}

.allergensTable tr td{
	font-size: 10px;
}

.meal:last-child img.down{
  display:none;
}


.meal:first-child img.up{
  display:none;
}

.synced .no_sync
{
	display:none;
}

.restricted .no_sync
{
	display:none;
}

button.small{
	font-size: 10px;
}

/*---- planeerija päev -----*/
.meal_table .info{
	display: none;
	position: absolute;
	left:80px;
	top:10px;
	background-color: #FFF;
	width:100px;
	padding:5px;
	border-radius: 5px;
	border-color: #000;
	border-width: 1px;
	border-style: solid;
	z-index: 1;
}

.meal_table .showInfo{
	position: relative;
}

.meal_table .showInfo:hover .info{
	display: block;
}

.parent_account .not_for_parent, .only_for_parent{
	display: none;
}
.parent_account .only_for_parent{
	display: block;
}

/* pealeht */

.yellow_brake
{
	background-color:#CCCCCC;
	width:100%;
	height:3px;
}

#main_table tr td
{
	width:33%;
	height:300px;
}

#main_table tr td .outer
{
	color: #135cae;
	background-color:#EEE;
	padding:10px;
	padding-top:1px;
	padding-bottom:15px;
	height:100%;
	border-radius:10px;
}
#main_table h3
{
	padding-left:1px;
	margin-top:5px;
	margin-bottom:5px;
}
#main_table tr td .outer .inner
{
	color: #000;
	background-color:#FFF;
	padding:10px;
	height:250px;
	border-radius:10px;
}

#register_info_table tr td
{
	text-align:center;
	width:50%;
}

#demand_view hr {
	border-width: 1px;
	border-top-width: 0px;
}

.green
{
	color:green;
}

.red
{
	color:red;
}

.report_table tr th.rotate {
	height: 180px;
	white-space: nowrap;
	padding: 0px;
	max-width: 40px;
	padding-left: 25px;
	vertical-align: bottom;
	text-align: left;
}
th.rotate > div {
	transform:rotate(-90deg);
	transform-origin: 0% 0%;
}

/*foorum*/
#new_forum_topic_form textarea
{
	width:400px;
	height:100px;
	margin-top:5px;
}

#new_forum_topic_form input
{
	width:90%;
	margin-top:5px;
}

.forum_title
{
	margin-bottom:3px;
	width:100%;
	background-color:#e6e6e6;
	padding:3px;
	font-weight:bold;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

#comment_form textarea
{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width:100%;
	height:150px;
}

.forum_created
{
	font-weight:bold;
	font-size:10px;
}

.forum_section table tr td
{
	cursor:pointer;
}

.delete_button
{
	float:right;
	cursor:pointer;
}


.back_button
{
	background-image: url('../images/back.png');
    background-repeat: no-repeat;
    background-position: 5px center;
	padding:5px;
	color:#0a0935;
	font-weight:bold;
	padding-left:25px;
	margin-top:3px;
	margin-right:3px;
	font-size:12px;
}

/*-- kohalolijad --*/
#group_arrival input[type=text] ,
#department_arrival input[type=text]
{
	height:25px;
	width:40px;
	margin-left:20px;
	font-size:16px;
	padding:5px;
}

#group_arrival button
{
	margin-left:370px;
}


.arrivals .open
{
	z-index:10;
}
.arrivals .inner
{
	z-index:20;
	position:relative;
	background-color:#FFF;
}
/*--- seaded ----*/
#companies_table tr.status1 td,
#children_companies_table tr.status1 td
{
	background-color:#e9e9e9;
}

#companies_table tr.status2.wh td,
#children_companies_table tr.status2.wh td
{
	background-color:#DDFFDD;
}

#companies_table tr.status2.wh.parent td,
#children_companies_table tr.status2.wh.parent td,
#department_users_table tr.company td
{
	background-color:#2e9c28;
}

#users_table tr.status1 td,
#department_users_table tr.status1 td
{
	background-color:#e9e9e9;
}

#users_table tr.status2 td,
#department_users_table tr.status2 td
{
	background-color:#DDFFDD;
}
.arrivals
{
	position:absolute;
	right:20px;
	background-color:#F6F6F6;
	width:auto;
}
.arrivals .open
{
	text-align:center;
}

th.order
{
	width:40px;
}

.datatable tr:last-child img.down{
  display:none;
}

.datatable tr:nth-child(2) img.up{
  display:none;
}

.synced  #total_ingredients_table tr th:last-child, .synced  #total_ingredients_table tr td:last-child {
	display:none;
}
#day_view .order_preview_button{
	display:none;
}

.scroll-x {
	overflow-x: auto;
}

/* tootegruppide haldus */
.group-ingredient-list span img{
	height:10px;
	cursor:pointer;
}

#planner-table img{
	width:13px;
	cursor:pointer;
}

#planner-table .day-meal-box ul li {
	position: relative;
	padding-right:15px;
	min-height: 15px;
}
#planner-table .mealdelete{
	position: absolute;
	right:0px;
}
#planner-table .day-meal-box ul li:last-child img.mealdown,
#planner-table .day-meal-box ul li:first-child img.mealup{
	display:none;
}

.meal:first-child img.up{
	display:none;
}
.hideEditButtons img.mealdown,
.hideEditButtons img.mealup,
.hideEditButtons .mealdelete,
.hideEditButtons .mealadd,
.hideEditButtons .no_meals
{
	display:none;
}

/* recipes */
.recipe_eater tr td.name{
	width:250px;
	text-align:left;
	height:40px;
}
.recipe_eater tr th.name {
	width: 40%;
}
.recipe_eater tr input {
	width:70px;
}

.datatable tr.unfilled td,
.hidable.unfilled .open{
	color:red;
}