/*
	by Allu22 (allu22@tlu.ee)
*/
body {
	margin: 0px auto 30px auto;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	background-image: url('images/taust_gradient.jpg');
	background-repeat: repeat-x;
	background-position: right top;
}

table:not(.ui-datepicker-calendar), td {
	border: 1px solid black;
	padding: 2px;
}

#main_content{
	padding: 5px;
	float: left;
}

#filtering{
	padding-bottom: 5px;
}

div#manage_users{
	padding: 5px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	margin-top: 5px;
	float: left;
	clear: both;
}

div#login,
div#manage_users{
	background-color: #CCE6D9;
	background-color: rgba(204,230,217,0.5);
}

div.work_tab_body,
.work_tab{
	background-color: #CCE6D9;
	background-color: rgba(204,230,217,0.3);
}

div.work_tab_body{
  padding: 5px;
  border-radius: 10px;
  border-top-left-radius: 3px;
  -moz-border-radius: 10px;
  -moz-border-radius-topleft: 3px;
  float: left;
  clear: both;
  background-image:url("images/tab_bottom_gradient.png");
  background-repeat:repeat-x;
  
	border: 1px solid #ddd;
	border-top: 1px solid #fff;
	z-index: 3;
	position: relative;
}

div.work_tab_body table, div.work_tab_body td{
	border: 1px solid black;
	padding: 2px;
	border-collapse: collapse;
	margin-bottom: 5px;
}

div.work_tab_body.public table, div.work_tab_body.public td{
	border: 0px solid black;
    border-bottom: 1px solid gray;
	padding: 2px;
	border-collapse: collapse;
	margin-bottom: 5px;
}

td.registration_date{
	width: 80px;
}

div#manage_users h2{
	margin: 0px;
}

div#manage_users table,div#manage_users td{
	border: none;
	padding: 1px;
	border-collapse: collapse;
}

.work_title{
	width: 500px;
}

.work_title_small{
	width: 300px;
}

textarea{
	width: 99%;
	width:-moz-available;
	border: 1px solid;
}

div#login{
	position: absolute;
	right: 0px;
	top: 0px;
	/*background-color: #D6F5C1;
	background-color: rgba(214,245,193,0.6);*/
	padding-left: 5px;
	padding-bottom: 3px;
	padding-top: 1px;
	padding-right: 1px;
	border-radius-bottomleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
}

div#login div{
  float: left;
}

div#login .username,
div#login .password{
	width: 100px;
    margin-right: 1px;
	/*background-color: rgba(255, 255, 255, 0.5);*/
}

div#login div.open_id_container{
  float: right;
  padding-top: 2px;
}

div#message{
	left: 50%;
	top: 0px;
	color: red;
}

div#work_description_view_back{
	position: fixed;
	top: 0; left: 0; /*right: 0; bottom: 0;*/
	width: 100%;
	background-color: #000;
	background-color: rgba(0,0,0,0.8);
	filter: alpha(opacity=80); 
	z-Index: 20;
	margin: 0;
	padding: 0;
}
div#work_description_view{
	background-color: #CCE6D9;
	position: relative;
	width: 60%;
	margin: 20px auto;
	padding: 30px;
	z-Index: 25;
	-moz-box-shadow: 0px 0px 15px #000;
	box-shadow: 0px 0px 15px #000;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; 
}

div#work_description_view:hover{
	-moz-box-shadow: 0px 0px 15px #FFF;
	box-shadow: 0px 0px 15px #FFF;
}

img#work_description_view_close_btn{
	position: absolute;
	top: 1px;
	right: 1px;
}

img#work_description_view_close_btn:hover,
div#work_description_view_back:hover ~ * img#work_description_view_close_btn{
	-moz-box-shadow: 0px 0px 10px #F00;
	box-shadow: 0px 0px 10px #F00;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px; 
}

thead{
	font-weight: bold;
}
tr.add{
	background-color: #9EBFB4;
}
td.header{
	font-weight: bold;
}
input.date{
	width: 65px;
}
a:visited, a:link{
	color: black;
}

input, button{
	border:1px solid #828282;
	margin-bottom:1px;
	background-position:right center;
	background-repeat:no-repeat;
	padding: 1px;
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
	-moz-border-radius: 2px;
	border-radius: 2px;
}

input[type=button], input[type=submit], button{
	padding: 0px 1px;
}

input:hover, button:hover{
	border:1px solid #B9CEC4;
}

input[type="checkbox"],
input[type="radio"] {
	border: 0px; 
}

input.name:hover{
	background-image:url("images/input_bg_nimi2.png");
}

input.telephone:hover{
	background-image:url("images/input_bg_telephone.png");
}

input.email:hover{
	background-image:url("images/input_bg_email.png");
}

input.username:hover{
	background-position:left center;
	background-image:url("images/input_bg_kasutajanimi.png");
}

input.password:hover{
	background-position:left center;
	background-image:url("images/input_bg_parool.png");
}

input.username:focus,
input.password:focus,
input.email:focus,
input.telephone:focus,
input.name:focus{
	background-image:none;
}

.file_picker_background {
	width: 52px;
	height: 22px;
	background-image:url('images/vali_fail.png');
	background-repeat:no-repeat;
	overflow: hidden;
}

input.file_picker{
	width: 52px;
	height: 19px;
	opacity: 0;
	filter:alpha(opacity=0);
}

.file_wrapper{
	display: inline;
}

img{
	border: 0px;
}

a.remove_file_link{
	color: #F00;
	text-decoration: none;
}

div#filters{
   background-color: rgba(255, 255, 255, 0.3);
	padding: 5px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	margin-top: 5px;
	float: left;
	clear: both;
	
	border: 1px solid #ddd;
	border-top: 1px solid #fff;
}


div#filters table{
  border: 0px solid black;
}

div#filters td:not(.empty){
	border: 1px solid #B9CEC4;
	background-color: #CEE5DA;
	padding: 1px;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-moz-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
	-webkit-box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(255, 255, 255, 0.7) inset;
}

div#filters td.filter.selected{
	background-color: #9EBFB4;
}

div#filters td:not(.header):not(.empty):hover,
div#filters td.filter:not(.header):not(.empty):hover,
div#filters td.filter.selected:not(.header):hover{
	background-color: #9BE5DA;
}

div#filters td.empty{
	border: none;
	background-color: transparent;
}

div#filters a{
	display: block;
	text-decoration:none;
}

div#filters input.date,
div#filters button{
	margin: 0px;
	font-size: 9pt;
}

div#reg_works{
  float: left;
  clear: both;
}

#works_container{
  float: left;
  clear: both;
}

#works_tabs_headers{
  float: left;
  clear: both;
  margin-top: 5px;
	margin-bottom: -1px;
}

.work_tab{
  float: left;
  padding: 5px;
  font-size: 16px;
  margin-top: 5px;
  margin-right: 3px;
  margin-left: 3px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-topleft: 10px;
  background-color: #9EBFB4;
  
	border: 1px solid #ddd;
	border-top: 1px solid #fff;
	border-bottom: 0px solid;
	z-index: 1;
	position: relative;
}


.work_tab:hover{
  padding-top: 7px;
  margin-top: 3px;
}

.work_tab.selected{
  padding-top: 9px;
  margin-top: 0px;
  background-color: #9EBFB4;
  background-image: url('images/tab_bottom_gradient_reverse.png');
  background-repeat: repeat-x;
  background-position: left top;
  font-weight: bold;
  z-index: 4;
}

#unreg_works table.curriculas, #unreg_works table.curriculas td{
  border: 0px solid black !important;
  border-collapse: collapse;

}

.textarea_wrapper{
	position: relative;
}

#curriculas, #curriculas td{
	border: none;
	padding: 0px;
	border-collapse: collapse;
}

td.notes, textarea.notes{
	width: 150px;
}

.char_counter{
	visibility: hidden;
	bottom: 6px;
	float: right;
	height: 14px;
	position: absolute;
	right: 20px;
	background-color: #FFF;
	background-color: rgba(255,255,255,0.7);
	filter:alpha(opacity=70);
}

td:hover .char_counter{
	visibility: visible;
}

textarea.title{
	position: relative;
}

select{
	width: 60px;
}

#corner_image{
	position: absolute;
	width: 100%;
	height: 100%;
	background-image: url('images/tausta_nurk.jpg');
	background-repeat: no-repeat;
	background-position: right top;
	z-index: -1;
}

dt{
	font-weight: bold;
}

.underlined_text{
  text-decoration: underline;
  cursor: pointer;
}