
input[type=submit]:hover
{
	box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #bbb;
}

input[disabled=disabled]
{
	background-color: #fff;
	box-shadow: none !important;
}
input[type=text], form select
{
	width: 51px;
	margin-top: 1px;
	margin-bottom: 1px;
	padding: 3px;
	font-size: 14px;
	color: #444;
	border-radius: 3px;
	box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #333;
}
input[type=text]:hover, form select:hover
{
	box-shadow: inset 0 0 3px rgba(51,51,51,0.65), 0 3px 6px -5px #333;
}

textarea
{
	width: 100%;
	max-width: 100%;
	height: 65px;
}

table.perm2 input[type=text]
{
	text-align: center;
}

#perm_warn
{
	padding-bottom: 6px;
	color: #f40;
	text-align: center;
}

/*---- ----*/

div.perm_nabor
{
	padding-left: 3px;
	padding-right: 3px;
	text-align: center;
}

table.perm
{
	width: 100%;
	margin-bottom: 1px;
}
table.perm td
{
	padding: 1px;
	font-size: 14px;
	color: #444;
}
table.perm td.perm_in
{
	width: 45px;
}
table.perm td.perm_sr
{
	width: 44px;
}
table.perm td.perm_top
{
	height: 31px;
	border-top: 1px solid #678;
}
table.perm td.perm_bot
{
	height: 7px;
	border-bottom: 1px dotted #345;
}


table.perm2
{
	width: 100%;
	margin-top: 12px;
	margin-bottom: 2px;
	border-collapse: collapse;
	border-spacing: 0;
	border: 1px solid #99a;
}
table.perm2 tr.perm2_top td
{
	font-size: 14px;
	background-color: #99a;
	color: #123;
	border: none;
	background: radial-gradient(ellipse at center, #dfdfef 0%,#99a 100%);
	text-shadow: 1px 1px 1px #fff;
}
table.perm2 td
{
	width: auto;
	padding: 5px;
	font-size: 14px;
	color: #234;
	border-bottom: 1px solid #89a;
	text-align: center;
}
table.perm2 td.perm_num
{
	width: 33px;
	text-align: center;
}
table.perm2 td.perm_num span
{
	position: absolute;
	margin-top: 11px;
	margin-left: -33px;
	padding: 5px 9px 5px 9px;
	background: radial-gradient(ellipse at center, #fff 0%,#798 100%);
	border-radius: 50%;
	font-family: Arial;
	font-size: 17px;
	text-shadow: 1px 1px 1px #fff;
	cursor: pointer;
}
table.perm2 td.perm_num span:hover
{
	background: radial-gradient(ellipse at center, #fff 0%,#8b9 100%);
	transition: .25s;
}
table.perm2 td.perm_num em
{
	margin-top: 3px;
	text-decoration: none;
	font-style: normal;
}


table.perm2 td.del
{
	width: 30px;
}
table.perm2 td.del span
{
	padding: 4px 7px 4px 7px;
	border-left: 1px solid #99a;
	background-color: #fff;
	background: radial-gradient(ellipse at center, #fff 0%,#998 100%);
	text-shadow: 1px 1px 1px #fff;
	font-size: 14px;
	border-radius: 50%;
	cursor: pointer;
}
table.perm2 td.del span:hover
{
	background: radial-gradient(ellipse at center, #fff 0%,#c98 100%);
	transition: .25s;
}


span.perm_menu
{
	padding: 7px 12px 7px 12px;
	border-left: 1px solid #678;
	border-bottom: 1px solid #678;
	text-align: center;
	background-color: #fff;
	background: radial-gradient(ellipse at center, #fff 0%,#dde 100%);
	color: #234;
	text-shadow: 1px 1px 1px #fff;
	cursor: pointer;
	border-radius: 0 0 0 7px;
}
span.perm_menu:hover, .perm_menu_hover
{
	background: radial-gradient(ellipse at center, #fff 0%,#8d9 100%) !important;
	box-shadow: 1px 1px 3px #678;
}
span.perm_menu em
{
	text-decoration: none;
	font-style: normal;
	font-weight: 600;
	color: #567;
}

#perm_clear
{
	margin-top: 15px;
}
#perm_clear span
{
	padding: 5px 8px 5px 8px;
	background: radial-gradient(ellipse at center, #fff 0%,#ec9 100%);
	_box-shadow: 1px 1px 3px #678;
	text-shadow: 1px 1px 1px #fff;
	border-left: 1px solid #abc;
	border-bottom: 1px solid #abc;
	border-radius: 5px;
	cursor: pointer;
}
#perm_clear span:hover
{
	box-shadow: 1px 1px 3px #987;
}

#perm_rez
{
	margin-top: 12px;
	font-size: 16px;
	text-align: center;
}
#perm_rez span
{
	color: #486;
}

/*---- управление ----*/


#contentShowSet, #linkShowSet
{
	padding: 5px;
	border: 1px solid #BFBFBF;
	text-align: center;
	border-radius: 3px;
	background-color: #fff;
	box-shadow: inset 0 0 3px rgba(51,51,51,0.45), 0 3px 6px -5px #BBB;
	text-shadow: 1px 1px 1px #fff;
	cursor: pointer;
}
#contentShowSet:hover, #linkShowSet:hover
{
	background-color: #def;
	background: radial-gradient(ellipse at center, #f0f9ff 0%,#bfdfff 100%);
}

#contentShowSet, #linkShowSet
{
	width: auto;
	margin-left: 3px;
	text-align: center;
}
.contentShow
{
	display: none;
}
.linkShow
{
	display: none;
	margin-top: 7px;
	margin-bottom: 7px;
	padding: 17px 2px 15px 2px;

	text-align: center;
	background: radial-gradient(ellipse at center, #ffffff 0%,#f5f5f5 100%);
	font-size: 12px;
	text-shadow: 1px 1px 1px #fff;
	border-radius: 3px;
}
#linkShow
{
	width: 740px;
	margin-top: 7px;
	padding: 5px;
	font-family: Arial;
	font-size: 13px;
	color: #08e;
	border: 1px solid #bcd;
	text-shadow: 1px 1px 1px #fff;
	border-radius: 3px;
}
