/*
PiAnoS (Picture Annotation System), A fingerprint examiner training tool
Copyright (C) 2011-2012 University of Lausanne, Switzerland
https://ips-labs.unil.ch/pianos

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see http://www.gnu.org/licenses/.
*/

.ui-widget
{
	font-size: 0.8em;
}

.login_panel
{
	width: 30em;
	text-align:left;
	margin-left:auto;
	margin-right:auto;
}

.login_panel div
{
	margin-bottom: 0.5em;
}

.login_panel .pianos_version
{
	float: left;
	padding-left: 1em;
	display: inline-block;
	color: #dddddd;
}

.login_panel .lang_selector
{
	text-align: right;
	padding-right: 1em;
}

.login_panel .lang_selector li
{
	list-style: none;
	display: inline-block;
	font-size: 75%;
}

.login_panel label
{
	float: left;
	width: 10em;
	text-align: right;
	margin-right: 1em;
}

html, body
{
	height: 100%;
	margin: 0;
	padding: 0;
}



.ui-layout-north .ui-widget-content
{
	height: 100%;
	padding: 0.5em;
	
}

.ui-layout-north .app_title
{
	vertical-align: middle;
	font-size: 1.2em;
	font-weight: bold;
}

.ui-layout-north img.loading
{
	vertical-align: middle;
	margin-left: 0.5em;
	margin-right: 0.5em;
}

.ui-layout-north .main_links
{
	float: right;
	font-size: 0.9em;
}

.ui-layout-north .main_links a:visited, .ui-layout-north .main_links a:link
{
	text-decoration: none;
}
.ui-layout-north .main_links a:hover, .ui-layout-north .main_links a:active
{
	text-decoration: underline;
	color: #666666;
}

.udb-tree
{
	font-size: 0.9em;
}

.aligned_form form>div
{
	margin-bottom: 0.5em;
}

.aligned_form label
{
	display: inline-block;
	margin-right: 1em;
	text-align: right;
	width: 8em;
}


.ui-layout-center>.ui-widget-content
{
	/*min-height: 32px;*/
    display: block;
    position: absolute;
    height: auto;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
	overflow: auto;
}

.pianos4_main
{
	margin: 1em;
}

.pianos4_main_form>div
{
	margin: 1em;
}

.pianos4_main_form label
{
	display: inline-block;
	width: 10em;
	vertical-align: middle;
}

.pianos4_main_form input[type=text]
{
	width: 20em;
}

.pianos4_image_preview
{
	width: 128px;
	height: 128px;
	border: 1px solid #eeeeee;
	display: inline-block;
	position: relative;
}
.pianos4_image_preview img
{
/*	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;*/
	width: 128px;
	height: 128px;
}
.pianos4_image_options
{
	display: inline-block;
}

.home_details_status
{
	display: inline-block;
	width: 7em;
}

.home_progressbar
{
	max-width: 400px;
	position: relative;
}
.home_progressbar ._percent_wrap
{
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	text-align: center;
}
.home_progressbar ._percent
{
	margin-top: 3px;
	display: inline-block;
}

.image_library_header
{
	height: 2em;
	/*background: #e7e7e7;*/
}

.image_library_header form
{
	display: inline-block;
	float: right;
}

.image_library_header form input
{	
	width: 20em;
	margin-left: 1em;
}

.image_library_image
{
	display: inline-block;
	cursor: pointer;
	width: 128px;
	height: 178px;
}

.image_library_legend
{
	display: inline-block;
	overflow: hidden;
	width: 128px;
	height: 50px;
	font-size: 0.8em;
	text-align: center;
}

.exercise_description
{
	white-space: pre-wrap;
	word-wrap: break-word;
}


.pianos4_frame
{
	margin-bottom: 1em;
}

.pianos4_frame .ui-widget-header
{
	padding: 0.2em 0.5em;
}

.pianos4_frame .ui-widget-content
{
	padding: 0.5em 1em;
}

.pianos4_frame .ui-button
{
	margin-top: 0.5em;
}

.ui-qtable .qtable_row_link 
{
	background-color:#fff; 
	/*border-bottom: 1px #99b solid;*/
}

.ui-qtable .qtable_row_link:hover 
{
	background-color:#ffe;
}

.ui-qtable .qtable_cell_link
{
	text-decoration: none;
	display: block;
}

#pianos4_search_results
{
	position: absolute;
/*	bottom: 10px;
	left: 10px;
	min-width: 200px;
	min-height: 100px;
	max-width: 60%;
	max-height:600px;*/
	width: 600px;
	height: 300px;
	z-index: 10;
	overflow: auto;
	border-width: 3px;
	opacity: 0.95;
}
#pianos4_search_results .title
{
	text-align: center;
	font-size: 1.2em;
	color: #666666;
}

#pianos4_search_results .nomatch
{
	text-align: center;
	position: absolute;
	top: 50%;
	height: 2em;
	margin-top: -1em;
	width: 100%;
	font-size: 2em;
	color: #666666;
}

#pianos4_search_results .ui-qtable
{
	border: 0;
}

#pianos4_search_results a
{
	
}
