/* ===== Primary Styles ========================================================
   Author: mihajlov@art.su
   ========================================================================== */
html, body{
	height: 100%;
}
#wrapper {
	min-height: 100%;
	height: auto !important;
	height: 100%;
}
	#wrapper div.all{
		padding-top: 50px;
	}

#sidebar, table.detail-view, .form {
	margin: 20px 0; 
}
	.form form {
		margin: 0;
	}
	.form .buttons{
		margin-top: 15px;;
	}

tt {
	word-wrap: break-word;
}
#header-top, #header-top.img {
	margin-top:20px;
	margin-bottom:20px;
}
footer {
	position: relative;
	margin: -45px auto 0;
	height: 45px;
	color: #999999;
	background-color: #2c2c2c;
	background-image: -moz-linear-gradient(top, #333333, #222222);
	background-image: -ms-linear-gradient(top, #333333, #222222);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#222222));
	background-image: -webkit-linear-gradient(top, #333333, #222222);
	background-image: -o-linear-gradient(top, #333333, #222222);
	background-image: linear-gradient(top, #333333, #222222);
	background-repeat: repeat-x;
	-webkit-border-radius: 4px;
	 -moz-border-radius: 4px;
		  border-radius: 4px;
	filter: progid:dximagetransform.microsoft.gradient(startColorstr='#333333', endColorstr='#222222', GradientType=0);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
	 -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
		  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
footer p {
	padding:12px 10px 6px 10px;
}
/* common classes */
.float_l {
	float: left;
}
.float_r {
	float: right;
}
.text-center {
	text-align:center;
}
.width_340{
	width: 352px;
}

/* login page */
#recovery_error {
	text-align: center;
}
	#recovery_error div.alert {
		padding: 8px 14px;
	}

div#login, #recovery_error {
	width: 400px;
	margin: 10% auto 0;
}
	#login .additional_link{
		padding: 0 20px;
		overflow: hidden;
		margin-bottom: 17px;
	}
 	#login h1 {
		margin-bottom: 10px;
		text-align: center;
		color: #444;
		font-style: italic;
	}
	#login form {
		margin: 0;
	}
	#login label.label_checkbox{
		display: inline;
		padding-left: 10px;
		vertical-align: -2px;
		cursor: pointer;
	}
	#login .form-actions {
		padding-bottom: 0px;
		margin-bottom: 0px;
	}
.blocked {
	color: #aaa;
}
/* Styles for the Google search, on error page */
#goog-fixurl ul { list-style: none; padding: 0; margin: 0; }
#goog-fixurl form { margin: 0; }
#goog-wm-qt, #goog-wm-sb { border: 1px solid #bbb; font-size: 16px; line-height: normal; vertical-align: top; color: #444; border-radius: 2px; }
#goog-wm-qt { width: 220px; height: 20px; padding: 5px; margin: 5px 10px 0 0; box-shadow: inset 0 1px 1px #ccc; }
#goog-wm-sb { display: inline-block; height: 32px; padding: 0 10px; margin: 5px 0 0; white-space: nowrap; cursor: pointer; background-color: #f5f5f5; background-image: -webkit-linear-gradient(rgba(255,255,255,0), #f1f1f1); background-image: -moz-linear-gradient(rgba(255,255,255,0), #f1f1f1); background-image: -ms-linear-gradient(rgba(255,255,255,0), #f1f1f1); background-image: -o-linear-gradient(rgba(255,255,255,0), #f1f1f1); -webkit-appearance: none; -moz-appearance: none; appearance: none; *overflow: visible; *display: inline; *zoom: 1; }
#goog-wm-sb:hover, #goog-wm-sb:focus { border-color: #aaa; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); background-color: #f8f8f8; }
#goog-wm-qt:focus, #goog-wm-sb:focus { border-color: #105cb6; outline: 0; color: #222; }


.container.all {
    padding-bottom: 50px;
}

.hidden {
	display: none !important;	
}

#tab .status2 td {
	background: #BBEEBB !important;
}

#tab .checked td {
	background: #FFFF99 !important;
}

#tab .change td {
	background :#EEBBBB !important;
}

#tab td {
	height: 15px !important;
	border-left: 1px solid #FFFFFF !important;
	border-top: 1px solid #FFFFFF !important;
}

#tab .hours-week{
	font-weight: bold !important;
}

#tab .hours-all{
	font-weight: bold !important;
}

#tab tr {
	height: 15px !important;
}

.backhref {
	display: block; 
	padding-top: 10px; 
	padding-bottom: 10px;
}



.a-report {
	margin-top: -10px !important;
}


#archive {
	float: right !important;
}

#close {
	float: right !important;
	margin-right: 20px;
}

#bot-block {
	height: 40px;
	margin-top: -10px;
}

#hours {
	display: inline-block;
	font-weight: bold;
	font-size: 18px;
	margin-top: 2px;
}

#report-tab .radio-btns{
	display: block !important;
	float: right !important;
	margin-right: 60px !important;
	margin-top: 2px !important;
}

#report-tab .salary-sum {
	width: 120px;
}

.radio-btns input{
	margin-top: -3px !important;
}

#tab .remove-button, #tab .cancel-button, #tab .save-button, #tab .edit-button, #tab .add_ok, #tab .add_cancel{
	float: left;
	margin-right: 5px;
}

#tab input{
	width: 160px !important;
}

.add_time_container{
	margin-bottom: 20px;
}

#ui-datepicker-div {
	z-index: 10000 !important;
}
