#windowbackblock{
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url(../images/transparent_dark.png);
	z-index: 2000!important
}
.window{
	display: none;
	font-family: pagefont;
	position: absolute;
	width: auto;
	height:auto;

	color: #000;
	margin: 0 auto;
	overflow: hidden;
	
	box-shadow: 2px 2px 8px #666;
	-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background-color: #fff;
	border: 2px solid  #666;
	/*border-top: none;*/
	
}

.control-bar{
	position: relative;
	width: 100%;
	height: 35px;

	background-color: #2E4053;

	/*-webkit-border-top-left-radius: 6px;
	-webkit-border-top-right-radius: 6px;
	-moz-border-radius-topleft: 6px;
	-moz-border-radius-topright: 6px;
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;*/
}

div.window_close,.message_close{
	cursor: pointer;
	position: absolute;
	top: 0px;
	right:0px;
	width: 25px;
	height: 25px;
	background-image: url(../images/icons.png);
	background-position: 0px 5px;
	background-repeat: no-repeat;
	background-size: 100%
}

.message_close{
cursor: pointer;
	position: absolute;
	top: -3px;
	right:-2px;
	width: 20px;
	height: 20px;
	background-image: url(../images/icons.png);
	background-position: 0px 5px;
	background-repeat: no-repeat;
	background-size: 100%
}

div.window_title{
	position: absolute;
	top:8px;
	left:4px;
	height: 30px;
	width: auto;
	color: #fff;
	/*text-shadow:1px 1px #555;*/
	font-weight: bold;
	font-size: 14px;
}

div.content{
	font-family: pagefont;
	background-color: #fff;
	padding: 2px;
	padding-top:1px;
	max-height: 93%;overflow-y:scroll; 

}

#blockbox{
	display: none;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
	background-image: url(../images/transparent_dark.png);
	z-index: 2000!important
}

.messagebox{
	font-family: pagefont;
	position: absolute;
	width: 400px;
	height: auto;
	background-color: #eee;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	/*box-shadow: 0px 0px 10px #555;*/
	border: 5px solid #aaa;
	padding: 5px;
}

.message_title{
	font-family: pagefont;
	font-size: 12px ;
	font-weight: bold;
	display: block;
	height: 26px;
	margin: -5px;
	padding-left: 5px;
	background-color: #1aae88;
	padding-top: 2px;
	color: #fff
}

.message_content{
	font-family: pagefont;
 	min-height: 50px;
	font-size: 12px!important ;
	display: block;
	margin-top: 15px;
	text-align: center;

}

.msg_buttons{
	width: 100%;
	text-align: center;
	position: absolute;
	bottom: 10;
}

.toast {
	/*margin: 5px;*/
	width: 100%;
	height: auto;
	min-height: 30px;
	position: relative;	
	font-family: pagefont;
	/*-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	border-radius: 2px;*/

	padding-right: 27px;
	left: -22px;
	top: -10px;
	z-index: 999;
	margin: 0px
	
}

.toast .icon{
	width: 18px;
	height: 18px;
	position: absolute;
	left: 15px;
	top: 20%;
	background-size: 100%
}

.icon-info{
	background-image: url(../images/info.png);
	background-repeat: no-repeat;
}

.icon-warning{
	background-image: url(../images/warning.png);
	background-repeat: no-repeat;

}

.icon-error{
	background-image: url(../images/error.png);
	background-repeat: no-repeat;
}


.toast .message{
	margin-left: 45px;
	margin-top: 10px;
	font-size: 12px!important;
}
.info{
	background-color: #85C1E9;
	border: 1px solid #7FB3D5;
	color: #fff;
}

.error{
	background-color: #CD6155;
	border: 1px solid #F1948A;
	color:#fff;
}

.warning{
	background-color: #ffecb9;
	border: 1px solid #E59866;
}

.messageclose{
	cursor: pointer;
	position: absolute;
	right: 1px;
	top: 25%;
	background-size: 70%;
	background-image: url(../images/unselect.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	width: 18px;
	height: 18px;
	

}
#grid{
	width: auto;
	max-width: 800px;
	height: 400px;
}

#grid div{
	padding: 2px;
	display: block;
	height: 25px;
	width: auto;
}


#grid .head{
	background-color: #4da7c1;
	display: block;
	width: auto;
	height: 25px;
	border:1px solid #fff 
}
#grid .head span{
	border: none;;
	color: #000;
	font-weight: bold;
}

#grid .head:hover{
	background-color: #4da7c1;
}


#grid div:hover{
	background-color: #ddd;
}

#grid div  span{
	display: inline-block;
	height: 25px;
	min-width: 100px;
	/*border: 1px solid #eee;*/
	padding: 2px;
	margin-left:-3px;
}




/*******************************************/
.notification{
	width: 450px;
	height: 80px;
	position: absolute;
	/*border: 1px solid #000;*/
	background-color: #fff;
	right: 10px;
	bottom: 5px;
	box-shadow: 0px 0px 2px #aaa;
	z-index: 999;
}
.notify-icon{
	height: 100%;
	width: 15%;
	float: left;
	display: inline-block;
	/*background-image: url(../images/info.png);*/
	background-repeat: no-repeat;
	background-position: center center
}
.notify-title{
	float: left;
	display: inline-block;
	vertical-align: top;
	width: 78%;
	display: inline-block;

	padding: 1%;
	color:#000;
	font-size: 12px;
	font-weight: bold;

}
.notify-message{
	float: left;
	display: inline-block;
	vertical-align: top;
	width: 78%;
	padding: 1%;
	color:#222;
	display: inline-block;
	font-size: 11px;
}
.notify-close{
	position: absolute;
	top:5px;
	right:5px;
	height: 15px;
	width: 15px;
	background-image: url(../images/unselect.png);
	background-size: 80%;
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
}