/*
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;
	margin: 3px;
	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_details_username {
	display: inline-block;
	min-width: 14em;
}

.home_details_casename {
	display: inline-block;
	min-width: 8em;
}

.highlight:hover {
	background-color: #f7f7f7;
}

.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 tbody :hover {
	background-color: #ffe;
}

.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 {
	
}

/*
 *	Dropzone (file upload) configuration
 */

div.dropzonediv {
	position: relative;
}

div.dropzone {
	position: relative;
	
	display: grid;
    grid-template-columns: repeat( auto-fill, minmax( 100px, 1fr ) );
    grid-auto-rows: 100px;
    grid-gap: 10px;
	
	border: 2px solid #CCCCCC;
	border-radius: 20px;
	
	padding: 20px;
    box-sizing: border-box;
	height: 100%;
	width: 100%;
	
	overflow-y: auto;
	overflow-x: hidden;
}

.dropzone div {
	position: relative;
}

.dropzone img {
	vertical-align: middle;
	align-self: center;
	justify-self: center;
    display: inline;
	
	height: 100px;
	width: 100px;
	
	border-radius: 20px;
	box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.1), 2px 2px 4px 0px rgba(0, 0, 0, 0.2);
}

.dropzonetitle {
    position: absolute;
    float: true;
    z-index: 10;
    
    top: -14px;
    left: 30px;
    
    font-size: 14pt;
    background: white;
    
    padding-left: 10px;
    padding-right: 20px;
    
    border: 2px solid #CCCCCC;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.03);
}

.dz-details, .dz-size, .dz-filename, .dz-error-message {
    position: absolute;
    visibility: hidden;
    float: true;
    left: -1000px;
    top: -1000px;
    height: 0px;
    width: 0px;
}

.dz-preview {
    opacity: 0.5;
}

.dz-processing {
    opacity: 1;
}

div.dz-success-mark,
div.dz-error-mark  {
	position: absolute;
	visibility: hidden;
	height: 20px;
	width: 20px;
}
.dz-processing div.dz-success-mark,
.dz-processing div.dz-error-mark  {
    position: absolute;
    right: -5px;
    top: -10px;
}
.dz-complete svg {
    height: 20px;
    width: 20px;
}
.dz-success .dz-error-mark,
.dz-error .dz-success-mark {
    visibility: hidden;
}
.dz-success .dz-success-mark > svg > g > path {
    visibility: visible;
    fill: rgb( 16, 150, 24 );
}

.dz-error .dz-error-mark > svg > g > g {
    visibility: visible;
    fill: rgb( 220, 58, 18 );
}

.dz-error div.dz-image {
	opacity: 0.5;
}
.dz-processing .dz-success-mark,
.dz-processing .dz-error-mark{
    visibility: hidden
}

.dz-complete div.dz-progress {
    visibility: hidden;
}
.dz-processing .dz-progress {
    visibility: visible;
    position: absolute;
    display: flex;
    
    bottom: 0px;
    top: unset;
    
    height: 8px;
    width: 100%;
}
.dz-processing .dz-progress span {
    background-color: rgb( 4, 183, 252 );
    border-radius: 5px;
}

::-webkit-scrollbar {
    width: 16px;
}
::-webkit-scrollbar-thumb {
    border: 5px solid rgba( 0, 0, 0, 0 );
    border-radius: 10px;
    background-color: rgba( 0, 0, 0, 0.15 );
    background-clip: padding-box;
}
::-webkit-scrollbar-button {
    width: 0;
    height: 0;
}
