body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
	margin: 0;
	padding: 0;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	font: 12px/18px Verdana,Arial,Tahoma,sans-serif;
}
fieldset, img {
	border: 0;
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}
ol, ul {
	list-style: none;
}
caption, th {
	text-align: left;
}
h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
	font-weight: normal;
}
q:before, q:after {
	content: '';
}
abbr, acronym {
	border: 0;
}
body {
	font: 12px/18px Verdana,Arial,Tahoma,sans-serif;
	background:url(/tpl/img/bg.png);
}
a {
	color: blue;
	outline: none;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}
.wrapper{
		width:100%;
}
.content{
	margin: 0 auto ;
	margin:10px;
	/*height:100%;*/
	background:#fff;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	border:1px solid #ccc;
	padding:5px;
}
.menu{
	margin:10px 10px;
	background:#fff;
	height:40px;
	text-align:center;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background: #fefefe;
	background: -moz-linear-gradient(top,  #fefefe 0%, #d5dee5 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#d5dee5));
	background: -webkit-linear-gradient(top,  #fefefe 0%,#d5dee5 100%);
	background: -o-linear-gradient(top,  #fefefe 0%,#d5dee5 100%);
	background: -ms-linear-gradient(top,  #fefefe 0%,#d5dee5 100%);
	background: linear-gradient(top,  #fefefe 0%,#d5dee5 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fefefe', endColorstr='#d5dee5',GradientType=0 );
	behavior: url(border-radius.htc);
	box-shadow		: 0px 0px 4px #3b3b3b;
	-moz-box-shadow		: 0px 0px 4px #000;
	-webkit-box-shadow	: 0px 0px 4px #000;
}
.link-s a{
	color:#fff;
	background: #4793c1;
	background: -moz-linear-gradient(top,  #4793c1 0%, #066dab 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4793c1), color-stop(100%,#066dab));
	background: -webkit-linear-gradient(top,  #4793c1 0%,#066dab 100%);
	background: -o-linear-gradient(top,  #4793c1 0%,#066dab 100%);
	background: -ms-linear-gradient(top,  #4793c1 0%,#066dab 100%);
	background: linear-gradient(top,  #4793c1 0%,#066dab 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4793c1', endColorstr='#066dab',GradientType=0 );
	margin: 7px;
	padding:4px 10px;
	float:left;
		-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	box-shadow		: 0px 0px 2px #000;
	-moz-box-shadow		: 0px 0px 2px #000;
	-webkit-box-shadow	: 0px 0px 2px #000;
	behavior: url(border-radius.htc);
	behavior: url(ie-css3.htc);
	text-decoration:none;
}
.link-a a,.link-s a:hover {
	text-decoration:none;
	color:#3b3b3b;
	background: #fff;
	margin: 7px;
	padding:4px 10px;
	float:left;
		-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	box-shadow		: inset 0 0 5px #000000;
	-moz-box-shadow		: inset 0 0 5px #000000;
	-webkit-box-shadow	: inset 0 0 5px #000000;
	behavior: url(border-radius.htc);
	behavior: url(ie-css3.htc);
}

.submenu{
	height:20px;
	margin-left:5px;
}
.s-l, .s-l-a{
	float:left;
	padding:3px 10px;
}
.s-l a{
	padding:4px 10px;
}
input[type="text"], textarea, select, input[type="file"]{
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) inset;
	border-radius: 2px;
	border: 1px solid #B3B3B3;
    color: #333333;
    text-shadow: 0 1px 0 #FFFFFF;
	margin: 2px 0 0 0;
	font-size:16px;
}
input[type="button"]{
	padding:1px 8px;
	font-size:16px;
}
.s-l-a a{
	text-decoration:none;
	color:#3b3b3b;
	background: #fff;
	padding:4px 10px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	box-shadow		: inset 0 0 5px #2b2b2b;
	-moz-box-shadow		: inset 0 0 5px #2b2b2b;
	-webkit-box-shadow	: inset 0 0 5px #2b2b2b;
	behavior: url(border-radius.htc);
	behavior: url(ie-css3.htc);
}
.block{
	display:inline-block;
	margin: 0 5px;
	text-align:center;
	padding:0 2px;
	padding-bottom:5px;
	vertical-align:middle;
}
.content table{
	width:100%;
	text-align:center;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
	border-radius: 7px;
	background:#A9C6D8;
}
.clear-p{
	padding-top:4px;
	margin:0;
	font-weight:bold;
}
.head-t{
	font-weight:bold;
	font-size:14px;
	padding:4px 0;
	border-radius:5px;
	cursor:pointer;
}
.input-clear{
	width:100%;
}
.head-i{
	width:25px;
}
.tr-l{
	background:#fff;
}
.tr-d{
	background:#EAEAEA;
}
.tr-a{
	background:#bef574;
	border:1px solid #fff;
}
.tr-z{
	background:#fffddf;
}
.tr-z td{ padding: 0 1px;border:1px solid #fff;}/*.tr-a td, */
.footer-t{
	height:3px;
}

#TB_overlay {
position: fixed;
z-index: 100;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: #000;
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=55);
-moz-opacity: 0.55;
-khtml-opacity: 0.55;
opacity: 0.55;
}
* html #TB_overlay {
position: absolute;
height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + "px");
}

.ui-resizable-handle {
	position: absolute;
	font-size: 0.1px;
	z-index: 99999;
	display: block;
}
.ui-resizable-disabled .ui-resizable-handle,
.ui-resizable-autohide .ui-resizable-handle {
	display: none;
}
.ui-resizable-n { /* верхняя граница */
	cursor: n-resize;
	display: none;
}
.ui-resizable-s { /* нижняя граница */
	cursor: s-resize;
	display: none;
}
.ui-resizable-e { /* правая граница */
	cursor: e-resize;
	display: none;
}
.ui-resizable-w { /* левая граница */
	cursor: w-resize;
	display: none;
}
.ui-resizable-se { /* правый нижний уголок */
	cursor: se-resize;
	width: 7px;
	height: 7px;
	right: 1px;
	bottom: 10px;
	right: 3px;
	background: url(../img/resize-rb.gif); /* углам и границам можно задать любой фон */
}
.ui-resizable-sw { /* левый нижний уголок */
	cursor: sw-resize;
	width: 7px;
	height: 7px;
	left: 1px;
	bottom: 1px;
	background: url(../img/resize-lb.gif);
}
.ui-resizable-nw { /* левый верхний уголок */
	cursor: nw-resize;
	display: none;
}
.ui-resizable-ne { /* правый верхний уголок */
	cursor: ne-resize;
	display: none;
}

textarea{
	position:relative;
	margin:0 auto;
}
