﻿html, body
{
	/*overflow: auto;	*/
}

body
{
	width: 100%;
	height: 100%;
	font-size: 80%;
	background: #f2f2f2;	
}

td
{
	font-size: 80%;
}

body,td,div,iframe,img
{
	font-family: Tahoma, Verdana;
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: top;
}

#ElementHolder
{
	background: #fff;
	border-bottom: 1px solid #c1c1c1;
	border-right: 1px solid #c1c1c1;
	border-top: 1px solid #dfdfdf;
	border-left: 1px solid #dfdfdf;
	padding: 4px;
}

#ExternalElementHolder
{
	background: #fff;
	padding: 0;
}

#Exceptions
{
	background: #fdd url(../img/stop.gif) no-repeat 5px 7px;
	border: 1px solid #cdabab;
	padding: 5px 5px 5px 40px;
	margin: 4px;
	height: 46px;
}

#Exceptions li
{
	list-style: none;
	list-style-position: outside;
}

a
{
	color: #656565;
}

a.Button
{
	color: #777;
}

a.Nounderline
{
	text-decoration: none;
}

#MainHeader
{
	display: block;
	width:100%;
	height:53px;
	margin: 0px;
	padding: 0;
	padding-top: 12px;
	font-family:Tahoma;
}

#MainHeader ul
{
	margin:0;
	padding:0;
	margin-top: 5px;
	float: left;
}

#MainHeader ul li
{
	list-style-type: none;
	float: left;
	height: 22px;
	margin: 0 3px;
}

#MainHeader ul li a
{
	text-decoration: none;
	font-weight: bold;
	color: #999;
}

#MainHeader ul li.selected a
{
	color: #000;
}

#MainTitle
{
	background: url(../img/main_header.jpg) no-repeat;
	vertical-align: middle;
	height: 68px;
	color: White;
}

#MainTitle div
{
	padding: 20px 20px 0 20px;
}

#MainProjectTitle
{
	font-size: 150%;
	cursor: pointer;
}

#selectproject
{
	position: absolute;
	top: 45px;
	left: 30px;
	background: #fff;
	border: 1px solid #ccc;
}

#UserData
{
	position: absolute;
	top: 7px;
	right: 20px;
	font-size: 11px;
}

#MenuHolder
{
}

#MainMenu {
	list-style: none;
	padding: 0;
	font-size: calc(8px + 4*(100vw/1340));
	margin: 0;
	margin-right: 30px;
}

#MainMenu li
{
	padding: 0;
	margin: 0 2px;
	float: left;
}

#SubMenu {
	position: absolute;
	top: 33px;
	left: 147px;
	height: 26px;
	font-size: calc(8px + 4*(100vw/1340));
}

#SubMenu li
{
	padding: 0;
	margin: 0 0 0 5px;
	float: left;
	height: 26px;
}

#ElementContent
{
	clear: both;
}

/* Context Menu */
#ContextMenu
{
	position: absolute;
	width: 120px;
	background: #fff url(../img/contextmenu_bg.gif) repeat-y;
	border: 1px solid #aaa;
	filter: alpha(opacity:85);
	opacity: 0.85;
	-moz-opacity: 0.85;
	z-index: 5;
}

#ContextMenuBg
{
	position: absolute;
	z-index: 4;
}

#ContextMenu img
{
	vertical-align: middle;
	margin-right: 10px;
}

a.ContextMenuItem
{
	display: block;
	padding: 3px;
	font-size: 85%;
	vertical-align: middle;
	color: #777;
	text-decoration: none;
	cursor: default;
}

a.ContextMenuItem:hover
{
	background: #fafafa url(../img/contextmenu_bg_s.gif) repeat-y;
}

/*Inline Iframe*/
#iframeinline
 {
	z-index: 26;
	position: absolute;
}

#fader, #iframefader
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#iframefader
{
	filter: alpha(opacity:0);
	z-index: 24;
}

#fader
{
	z-index: 25;
	background: #333;
}

img.Trigger
{
	border: 0;
	margin: 0 0px;
	cursor: pointer;
}

/*RIGHT MENU*/
#RightMenuHolder
{
	padding: 5px;
}

.RMSubHeader
{
	margin: 10px 0 5px 0;
	color: #000;
}

.inset
{
	margin-bottom: 30px;
}

.insetheader
{
	border-bottom: 1px solid #c1c1c1;
}

.insetcontent
{
	margin-top: 2px;
}

.insetcontent li
{
	list-style: none outside;
}

.top_ins
{
	position: absolute;
	top: -1px;
	_top: 0px;
	left: -1px;
}

.bottom_ins
{
	height: 10px;
	text-align: right;
	margin: 10px 0 0 0;
}

.left
{
	float: left;
}

.right
{
	float: right;
}

/*всплывающее сообщение*/
#MessageHolder
{
	position: absolute;
	z-index: 15;
	background: #fafafa;
}

#Message
{
	border: 1px solid #777;
	padding: 10px;
}

#MessageBg
{
	position: absolute;
	z-index: 14;
}
h4
{
    padding: 4px,0px,4px,10px;
    margin: 0px,0px,0px,0px;
}
#TaskFormButtons,#TaskFormButtonsTop
{
	display: block;
	margin-top: 10px;
	padding: 5px;
	background: #e1e9f5;
	border: 1px solid #c1c9d5;
	width:100%
}

#TaskFormButtonsTop
{
	padding: 5px;
	margin: 0 0 5px 0;
}

#TaskFormButtons a,#TaskFormButtonsTop a
{
	margin-right: 10px;
}

input.Checkbox
{
	width: 15px;
	margin: 3px 5px 0 0;
}

.TaskHistorySystemComments
{
	color: #556;
	font-size: 85%;
}

.TaskHistoryComments
{
	color: #556;
}

.TaskHistoryEditor
{
	font-size: 85%;
	color: #667;
}

.TaskComments
{
	white-space: normal;
	background: #fff;
	border: 1px solid #ccc;
}
.ClientComments
{
	white-space: normal;
}
.TaskComments p
{
	border-bottom: 1px solid #ddd;
	margin:0 0 5px 0;
	padding: 0 5px 3px 5px;
}
.IndexStatus a
{
    color:#AFAFAF;
}
.IndexStatus3 a
{
    color:#AFAFAF;
}
.IndexStatus2 a
{
    color:Black;
}
