/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */
* {
    -webkit-tap-highlight-color: rgba(0,0,0,0); /* make transparent link selection, adjust last value opacity 0 to 1.0 */
}

body {
    -webkit-touch-callout: none;                /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none;             /* prevent webkit from resizing text to fit */
    -webkit-user-select: none;                  /* prevent copy paste, to allow, change 'none' to 'text' */
    background-color:#ffffff;
    color: #2a0642;
    font-family: system-ui, -apple-system, -apple-system-font, 'Segoe UI', 'Roboto', sans-serif;
    font-size:12px;
    height:100vh;
    margin:0px;
    padding:0px;
    /* Padding to avoid the "unsafe" areas behind notches in the screen */
    /*padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);*/
    width:100%;
}
input {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
	border-radius: 5px;
}
input[type="radio"] {
	box-shadow: none;
}

.hUnsorted {
	font-weight: bold;
	text-align: center;
	padding: 8px 8px;
}
.hUnsorted:hover {
	cursor:pointer;
}
.hAscsorted::after {
	cursor:pointer;
	content:" ▲"
}

.hDessorted::after {
	cursor:pointer;
	content:" ▼"
}

.hUndisplayed:before {
	cursor:pointer;
	content:"▼ ";
}

.hDisplayed:before {
	cursor:pointer;
	content:"▲ ";
}
h1 {
	font-size: 12px;
	text-transform: uppercase;
	background-color: navy;
	color: white;
	text-align:center;
	border-top-left-radius:6px;
	border-top-right-radius:6px;
	line-height: 25px;
	font-weight: bold;
	margin-top: 0px;
}

h1:hover{
	cursor: pointer;
}

.toolbar {
		z-index:10;
		width:300px;
		height:350px;
		position:fixed;
		background-color:white;
		color:navy;
		display:none;
		border-radius:6px;
		border: 1px solid navy;
		box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.toolContent {
	position: absolute;
    top: 25px;
    bottom: 51px;
    overflow: auto;
    left: 0px;
    right: 0px;
	
}

.toolTotal {
	position: absolute;
	bottom: 0px;
	height: 50px;
	left: 0px;
	right: 0px;	
	border-top:1px solid navy
	
}

.tool {
	margin-left: 5px;
	margin-right: 5px;
	color:navy;
}

.toolToMin,.toolToMax {
	position:absolute;
	right:5px 
}

.toolToMin::after {
	content:'▲' 
}
.toolToMax::after {
	content:'▼' 
}

.toolbarMin {
	z-index:10;
	width:200px;
	height:27px;
	position:fixed;
	background-color:white;
	overflow: hidden;
	color:navy;
	display:none;
	border-radius:6px;
	border: 1px solid navy;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}

.consensusAcheter {
	background-color:OliveDrab;
	color: white;
	text-align:center;
}


.consensusRenforcer {
	background-color:YellowGreen;
	color: white;
	text-align:center;
}

.consensusConserver {
	background-color:MediumSpringGreen;
	color: white;
}

.consensusAlleger {
	background-color:red
	color: white;
	content:"-";
}

.consensusVendre {
	background-color:DarkRed;
	color: white;
	content:"--";
}

.infoAction {
	width:520px;
	height:155px;
	left:50%;
	top:50%;
	/*margin-left:-200px;
	margin-top:-100px;*/
	display:none;
	position:fixed;
	background-color:white;
	overflow: hidden;
	color:navy;
	position:fixed;
	border-radius:6px;
	border: 1px solid navy;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}