body,html {
	overflow:hidden;
}
body {
	background-color:#EFEFEF;
    font-family: 'Open Sans', sans-serif;
	font-size:14px;
}
h1 {
	font-weight:normal;
	font-size:30px;
	margin:0px 0px 20px 0px;
}
.login {
	display:block;
	width:280px;
	margin:0px auto;
	border:1px solid #ccc;
	background-color:#fff;
	padding:20px;
	overflow:hidden;
}
.login input {
	width:calc(100% - 20px);
	padding:5px 10px;
	margin:0px 0px 10px 0px;
}
.login input[type=submit] {
	width:auto;
	float:right;
	background-color:#000;
	border:1px solid #000;
	color:#fff;
	margin:0px;
}
.loginlogo {
	margin:80px auto 20px auto;
	display:block;
}

.notice {
	position:absolute;
	z-index:10000000;
	top:100px;
	right:-500px;
	width:300px;
	border:1px solid #008317;
	background-color:#B7F0C0;
	padding:15px;
	box-shadow:1px 1px 3px 0px #333;
}
.warning {
	border:1px solid #BC0003;
	background-color:#FFE6E7;
}

.nav {
	position:absolute;
	left:0px;
	top:0px;
	height:100%;
	width:250px;
	background-color:#000;
}
.nav .logo {
	margin:50px auto;
	display:block;
}
.nav ul {
	margin:0px;
	padding:0px;
	list-style:none;
	border-top:1px solid #333;
}
.nav ul li {
	border-bottom:1px solid #333;
}
.nav ul li a {
	display:block;
	color:#fff;
	text-decoration:none;
	padding:5px 30px;
}
.nav ul li.active {
	background-color:#EFEFEF;
}
.nav ul li.active a {
	color:#000;
}
.content {
	position:absolute;
	left:250px;
	top:0px;
	height:calc(100% - 100px);
	padding:50px;
	width:calc(100% - 350px);
	overflow-x:hidden;
	overflow-y:auto;
}

.btns {
	margin:0px 0px 30px 0px;
	padding:0px;
	list-style:none;
	overflow:hidden;
}
.btns li {
	float:left;
	margin:0px 10px 0px 0px;
}
.btns li a {
	display:block;
	padding:5px 10px;
	background-color:#00ABFF;
	color:#fff;
	text-decoration:none;
}
.btns li:hover a {
	background-color:#0075af;
}
.btns li.ia a {
	background-color:#ccc;
	cursor:default;
}
table td, table th {
	padding:3px 10px;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
	/*
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	*/
}
table thead th {
	background-color:#000;
	border-right:1px solid #000;
	border-bottom:1px solid #000;
}
table thead tr th:first-child {
	border-left:1px solid #000;
}
table thead td {
	background-image:url("/images/theadtdbg.png");
	background-size:100% 100%;
	border-right:1px solid #ccc;
	border-bottom:1px solid #ccc;
}
table thead td:first-child {
	border-left:1px solid #ccc;
}
table tbody tr:nth-child(even) td {
	background-color:#EFEFEF;
}
table tbody tr:nth-child(odd) td {
	background-color:#fff;
}
table tbody tr td:first-child {
	border-left:1px solid #ccc;
}
table tbody tr.selected td {
	background-color:#9BC5FF!important;
}
table.bt tr:first-child  td {
	border-top:1px solid #ccc;
}



form {
	overflow:hidden;
}
label {
	float:left;
	clear:left;
	width:250px;
	padding:5px 10px;
	margin:0px 0px 10px 0px;
}
label.lbl {
	font-size:20px;
	margin:20px 0px -20px 0px;
}
select, input, textarea {
    font-family: 'Open Sans', sans-serif;
	font-size:14px;
	float:left;
	padding:5px 10px;
	width:250px;
	border:1px solid #ccc;
	margin:0px 0px 10px 0px;
}
input[type=checkbox]{
	width: auto;
	margin-top: 10px;
}
select {
	width:270px;
}
input[type=submit] {
	clear:left;
	color:#fff;
	background-color:#000;
	border:1px solid #000;
	width:auto;
}
hr {
	float:left;
	clear:both;
	width:100%;
	margin:20px 0px;
	border:0px;
	border-bottom:1px solid #ccc;
}
a.cancel {
	float:left;
	color:#000;
	background-color:#ccc;
	padding:6px 12px;
	text-decoration:none;
	border:1px solid #ccc;
	margin:0px 0px 0px 20px;
	width:auto;
}
.cnt {
	float:left;
	clear:left;
}
.cnt select {
	float:left;
	width:200px;
}
.cnt .add, .cnt .del, .cnt .add2, .cnt .del2 {
	float:left;
	width:20px;
	height:20px;
	cursor:pointer;
	border:1px solid #ccc;
	background-color:#E4E4E4;
	text-align:center;
	margin:50px 10px 0px 10px;
}

tr span {
	position: relative;
	display: block;
}
.autof {
	position: absolute;
	top: 32px;
	list-style: none;
	padding: 0px;
	margin: 0px;
	width: calc(100% - 2px);
	background-color: #fff;
	border: 1px solid #ccc;
	z-index: 9;
}
.autof li {
	padding: 3px 5px;
	cursor: pointer;
}
.autof li:hover {
	background-color: #B2E6FF;
}

.txtar{
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
	width: calc(100% - 20px);
	height: 150px;
	padding: 5px 10px;
}

.tinycont{
	float: left;
	width: 100%;
	margin-bottom: 15px;
	height: 500px;
}

.backbtn{
	float: left;
	background-color: #000;
	padding: 5px 10px;
	border: 1px solid #000;
	color: #fff;
	text-decoration: none;
	margin-right: 15px;
}

.backbtn +input[type=submit]{
	clear: none;
}

.removeline{
	cursor: pointer;
	padding: 5px 10px;
}

.removeline:hover{
	color: #fff;
	background-color: red;
}

/*Container, container body, iframe*/
.mce-tinymce, .mce-container-body, #code_ifr {
    min-height: 100% !important;
}
/*Container body*/
.mce-container-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
/*Editing area*/
.mce-container-body .mce-edit-area {
    position: absolute;
    top: 69px;
    bottom: 37px;
    left: 0;
    right: 0;
}
/*Footer*/
.mce-tinymce .mce-statusbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.filters{
	display: block;
	width: auto;
	padding: 5px;
	margin-bottom: 10px;
	background-color: #dedede;
}

.filters .btn{
	clear: none;
}

.filters *{
	margin-right: 10px;
	margin-bottom: 0;
}

a.btn{
	float: left;
	color: #fff;
	background-color: #000;
	border: 1px solid #000;
	width: auto;
	padding: 5px 10px;
	margin: 0 10px;
	text-decoration: none;
}

a.instbtn{
	float: left;
	clear: both;
	color: #fff;
	background-color: #000;
	border: 1px solid #000;
	width: auto;
	padding: 5px 10px;
	margin: 10px;
	text-decoration: none;
}

a.instbtn:hover{
	color: #000;
	background-color: #dedede;
}

div.separator{
	float: left;
	width: 100%;
	height: 10px;
}

.tbllist{
	height: 600px;
	display: block;
	overflow-y: scroll;
}

#overlay{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,.7);
	width: 100vw;
	height: 100vh;
	z-index: 9;
}

#popup{
	position: absolute;
	top: 10%;
	width: calc(50% + 40px);
	left: calc(25% + 20px);
	padding: 20px;
	background-color: #fff;
	z-index: 10;
}

span.close{
	position: absolute;
	top: -20px;
	right: -20px;
	color: #fff;
	background-color: #000;
	font-weight: bold;
	font-size: 18px;
	padding: 10px 15px;
	cursor: pointer;
}

#popupcontent{
	float: left;
	width: 100%;
}

.addbatch, .addingredient{
	color: #fff;
	cursor: pointer;
}

.editbatch, .deletebatch, .removeingr{
	cursor: pointer;
}

.sep{
	float: left;
	width: 100%;
	height: 20px;
}

.ingr{
	float: left;
	clear: left;
}

.afcontainer {
    position: relative;
}
.autofill {
    position: absolute;
    top: 30px;
    left: 0px;
    width: 100%;
    background-color: #fff;
    list-style: none;
    padding: 0px;
    margin: 0px;
    border: 1px solid #ccc;
    max-height: 150px;
    overflow-y: scroll;
    overflow-x: hidden;
}
.autofill li {
    padding: 2px 5px;
}
    