@charset "utf-8";

/* Imports ---------------------------------------------------------------- */
@import url("reset.css");

/* General ---------------------------------------------------------------- */
body,html  {
	background-color: white;
	color: #000;
	margin: 0px;
	padding: 0px;
	font-family: Arial;
	font-size: 13px;
	background-image: url(bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	background-attachment: fixed;
}

/* Basic styles ------------------------------------------------------------ */
#page {
	padding: 40px;
}

#header {
	padding-bottom: 20px;
}

#logo h1 a {
	font-size: 40px;
	color: #06C;
	text-shadow: 1px 1px 2px #666;
}

#body h1, 
#body h2,
#body h3 {
	color: #06C;
	text-shadow: 1px 1px 2px #aaa;
	letter-spacing: -1px;
}

/* ProjectList ---------------------------------------------------------------- */
#projectList ul li {
	list-style: none;
	margin: 0px;
	padding: 0px;
}
#projectList a {
	display: inline-block;
	width: 97%;
	margin-top: 20px;
	margin-bottom: 20px;
	color: white;
	background-color: #06C;
	border-radius: 6px 6px 6px 6px;
	box-shadow: 6px 4px 8px #AAA;
	
	background: #2f91ce; /* Old browsers */
	background: -moz-linear-gradient(top,  #2f91ce 2%, #2666a6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#2f91ce), color-stop(100%,#2666a6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* IE10+ */
	background: linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f91ce', endColorstr='#2666a6',GradientType=0 ); /* IE6-9 */
	
}
#projectList a:hover {
	box-shadow: 6px 4px 8px #666;
	margin-left: 2px;
}
#projectList a:hover .projectBox span.nazev {
	text-shadow: 1px 1px 3px #ddd;
}
#projectList li {
	position:relative;
}
#projectList a.remove {
	width: 15px;
	height: 30px;
	position:absolute;
	right: 0px;
	top: 30px;
	border-radius: none;
	box-shadow: none;
	background-image: url(remove.png);
	background-repeat: no-repeat;
	background-position: center center;	
}
#projectList a.remove span {
	display: none;
}

/* ProjectBox ---------------------------------------------------------------- */
.projectBox {
	display: block;
	padding: 20px;
}
.projectBox span{
	display: block;
}
.projectBox span.nazev {
	font-size: 22px;
	letter-spacing: -1px;
	text-shadow: 1px 1px 3px #111;
	background-image: url(project.png);
	background-repeat: no-repeat;
	height: 32px;
	padding-left: 45px;
}
.projectBox span.zakaznik {
	color: #C7DDF3;
	margin-left: 46px;
}


/* ProjectInfo ------------------------------------------------------------ */

#projectInfo .name {

}
#projectInfo .terminy {
	float: left;
	width: auto;
}
#projectInfo .terminy p {
	display: inline;
	margin-right: 20px;
	color: #333;
}
#projectInfo .terminy span {
	font-weight: bold;
}

/* ProjectControllers ----------------------------------------------------- */

#projectController * ,
#projectTimeController *{
	margin: 0px;
	padding: 0px;
	vertical-align: baseline;
}
#projectController {
	text-align: right;
}
#projectTimeController {
	margin-top: 20px;
}
#projectController ul,
#projectController li,
#projectTimeController ul,
#projectTimeController li,
#projectTimeController form {
	list-style: none;
	display: inline;
}
#projectController ul {
	margin-left: 10px;
}
#projectController ul li a,
#projectTimeController ul li a {
	padding: 6px;
	padding-left:10px;
	padding-right: 10px;
	font-size: 10px;
	color: #C7DDF3;
	border-radius: 4px 4px 4px 4px;
	box-shadow: 2px 2px 5px #AAA;
	background: #2f91ce; /* Old browsers */
	background: -moz-linear-gradient(top,  #2f91ce 2%, #2666a6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#2f91ce), color-stop(100%,#2666a6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* IE10+ */
	background: linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f91ce', endColorstr=	'#2666a6',GradientType=0 ); /* IE6-9 */
}
#projectController ul li a:hover,
#projectTimeController ul li a:hover {
	color: white;
}
#projectTimeController li#startLink {
	margin-top: 3px;
	float: left;
}
#projectTimeController li#todayLink {
	
}
#projectTimeController li#dayLink {
	margin-left: 36%;
}
#projectTimeController li#endLink {
	margin-top: 3px;
	float: right;
}
#projectTimeController li#dayLink form {
	height: 100%;
}
#projectTimeController li#dayLink input {

}
#projectTimeController li#dayLink input::-moz-focus-inner { 
	border: 0; padding:0 
}

#projectTimeController input {
	padding: 4px;
	font-size: 11px;
	color: #333;
	border: 1px solid #2f91ce;
}
#projectTimeController input#dateinput {
	border-radius: 4px 0px 0px 4px;
	-webkit-min-device-pixel-ratio:0;
}
@media screen and (-webkit-min-device-pixel-ratio:0) { 
	#projectTimeController input#dateinput {
		padding: 3px;
		padding-bottom: 2px;
	}
}
#projectTimeController input#datesubmit {
	border-radius: 0px 4px 4px 0px;
	border-left-style: none;
	padding-left: 10px;
	padding-right: 10px;
	box-shadow: 2px 2px 5px #ccc;
	cursor: pointer;
	color: #C7DDF3;
	background: #2f91ce; /* Old browsers */
	background: -moz-linear-gradient(top,  #2f91ce 2%, #2666a6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#2f91ce), color-stop(100%,#2666a6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* IE10+ */
	background: linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f91ce', endColorstr=	'#2666a6',GradientType=0 ); /* IE6-9 */
}
#projectTimeController input#datesubmit:hover {
	color: white;
}

/* ProjectHolder ----------------------------------------------------------- */
#projectHolder {
	/*overflow: hidden;*/
	position: relative;
	margin-top: 20px;
	margin-bottom: 10px;
	
	width: 100%;
	height: 100%;
	
	clear: both;
}
#projectHolder * {
	/*outline: dashed 1px;*/
}

#projectHolder #lookPrev,
#projectHolder #lookNext {
	position: absolute;
	height: 100%;
	top: 0px;
	overflow: hidden;
}
#projectHolder #lookPrev {
	left: 0px;
}
#projectHolder #lookNext {
	right: 0px;
}
#projectHolder #lookPrev .mask,
#projectHolder #lookNext .mask {
	height:100%;
	position: relative;
	top: 50%;
}

#projectHolder #lookPrev a,
#projectHolder #lookNext a {
	display: block;
	height: 600px;
	width: 32px;
	background-repeat: no-repeat;
	background-image: url(arrow.png);
	background-position: center;
	margin-top: -300px;
}
#projectHolder #lookPrev a {
	-webkit-transform: rotate(-180deg); 
	-moz-transform: rotate(-180deg);
}
#projectHolder #lookPrev a:hover, #projectHolder #lookPrev a:active, 
#projectHolder #lookNext a:hover, #projectHolder #lookNext a:active {
	background-image: url(arrow-hover.png);
}
#projectHolder #lookPrev a span,
#projectHolder #lookNext a span {
	display: none;
}


#projectHolder #projectTable {
	overflow: auto;
	margin: 0px 35px;
}
#projectHolder #projectTable table {
	width: 100%;
}

/* ProjectActivity -------------------------------------------------------- */
table th {
	font-size: 9px;
	color: #666;
	padding-bottom: 2px;
	padding-top: 2px;
	
	min-width: 28px;
	max-width: 50px;
	
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #ddd;
	border-right-color: #ddd;
	border-bottom-color: #eee;
	border-left-color: #ddd;
}
table td {
	height: 45px;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: none;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: none;
	border-top-color: #ddd;
	border-right-color: #ddd;
	border-bottom-color: #eee;
	border-left-color: #ddd;
	
	min-width: 28px;
	max-width: 50px;
	
	vertical-align: middle;
}
table td:last-child,
table th:last-child {
	border-right: none;	
}
table td.today,
table th.today {
	font-weight: bold;
	background-color: #ddd;
	border-bottom-color: #ccc;
}
table .activityInfo {
	display: none;
}
table .activity .activityTitle {
	white-space: nowrap;
	padding: 15px;
	padding-top: 12px;
	padding-bottom: 12px;
}
table .activity .activityTitle div {
	overflow: hidden;
}
table .activity {
	display: block;	
	width: auto;
	height: 90%;
	margin: 2px;	
	cursor: pointer;
	position: relative;
	
	border-radius: 4px 4px 4px 4px;
	box-shadow: 3px 2px 4px #aaa;
}
table .activity.end {
	border-radius: 0px 4px 4px 0px;
}
table .activity.start {
	border-radius: 4px 0px 0px 4px;
}
table .activity.trought {
	border-radius: 0px;
}
table .activity.end div.arrow,
table .activity.trought div.arrow {
	background-image: url(arrow-mini-left.png);
	background-repeat: no-repeat;
	background-position: 6px center;
}
table .activity.start div.arrow,
table .activity.trought div.arrow div.arrow  {
	background-image: url(arrow-mini-right.png);
	background-repeat: no-repeat;
	background-position: right 6px center;
}


table .activity {
	color: white;
	background: #09C; /* Old browsers */
	background: -moz-linear-gradient(top,  #2f91ce 2%, #2666a6 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,#2f91ce), color-stop(100%,#2666a6)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* IE10+ */
	background: linear-gradient(top,  #2f91ce 2%,#2666a6 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2f91ce', endColorstr='#2666a6',GradientType=0 ); /* IE6-9 */
}
table .activity span {
	color: #C7DDF3;
}
table .activity.critical {
	background: #C00;	
}
table .activity.critical span {
	color: white;
}
table .activity.planed {
	background: #aaa;
}
table .activity.planed span {
	color: #ddd;
}
table .activity.finished {
	color: #E9FCE4;
	background: #90c000; /* Old browsers */
	background: -moz-linear-gradient(top,  #90c000 0%, #74a32f 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#90c000), color-stop(100%,#74a32f)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #90c000 0%,#74a32f 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #90c000 0%,#74a32f 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #90c000 0%,#74a32f 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #90c000 0%,#74a32f 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#90c000', endColorstr='#74a32f',GradientType=0 ); /* IE6-9 */
}
table .activity.finished span {
	color: #CCE6C1;
}
table .activity.late {
	color: #FFEFD7;	
	background: #ff9900; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff9900 0%, #f97c00 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9900), color-stop(100%,#f97c00)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff9900 0%,#f97c00 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff9900 0%,#f97c00 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff9900 0%,#f97c00 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff9900 0%,#f97c00 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9900', endColorstr='#f97c00',GradientType=0 ); /* IE6-9 */
}
table .activity.late span {
	color: #FFEFD7;
}
/* ActivityInfo -------------------------------------------------------- */
#activityInfo {
	position: absolute;	
	margin-left: 18px;
	margin-top: 30px;
	
	min-width: 200px;
	display: none;
}
#activityInfo .top {
	height: 7px;
	background-image: url(arrow-activityInfo.png);
	background-repeat: no-repeat;
	background-position: 8px bottom;
	position:relative;
}
#activityInfo .content {
	background-color: white;
	box-shadow: 3px 2px 20px #999;
	padding: 12px;
	border-radius: 2px 2px 2px 2px;
}
#activityInfo div div {
	padding: 2px;	
}
#activityInfo span {
	font-weight: bold;	
}
#activityInfo h3 {
	font-size: 15px;
	margin: 0px;
	padding: 0px;
	padding-right: 20px;
	margin-bottom: 2px;
	text-shadow: none;
	letter-spacing: -1px;
	text-transform: uppercase;
	
}