/**
 * Copyright © 2014 - 2019 Alf-Christian Schering (info@skipac.de)
 *
 * Licensed 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.
 */
@charset "utf-8";

/* ***************************************************************************
 * ***         C o m m o n s   W e b   A p p l i c a t i o n   U I         ***
 * ***                     P r i m a r y   S t y l e s                     ***
 * ***************************************************************************
 * ***   @author Alf-Christian Schering                                    ***
 * ***   @version 20191006                                                 ***
 * ***************************************************************************/

.please-wait {
	z-index: 10000;
	position: fixed;
	top: 0; left: 0; bottom: 0; right: 0;
	margin: auto;
	background-repeat: no-repeat;
	background-position: center center;
	
	background-color: white;
	opacity: 0.0;
	
	background-image: url("wait.svg");
	background-size: 0%;
}
.please-wait.vis {
	opacity: 0.4;
	background-size: 15%;
	transition: opacity 300ms ease-in-out 700ms, background-size 800ms ease-in-out 1000ms;
	xtransition: background-color 500ms ease-in-out 100ms, background-image 600ms linear 300ms;
}

a {
    font-weight: bold;
    text-decoration: none;
    transition-duration: 0.2s;
    color: inherit;
}

.noselect {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}


/**
 * Styling for headed block.
 * @see base/DivHeaded.java
 */
.div-headed {
	border: 0.05em solid silver;
	border-radius: 0.4em;
}

.div-headed > .head {
	background-color: silver;
	margin: 0.1em;
	padding: 0.2em 0.4em;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
}

.div-headed > .head:last-of-type {
    border-bottom-right-radius: 0.3em;
    border-bottom-left-radius: 0.3em;
}


/**
 * Styling for tabs.
 * @see base/Tabs.java
 */
.tabs {
 	background-color: silver;
 	padding: 0 0 0 0.2em;
 	overflow: hidden;
}
.tabs > .tab {
	background-color: white;
 	cursor: pointer;
	margin: 0.2em 0.2em 0 0;
	border-style: solid;
	border-color: lightgray;	
	border-width: 0.08em 0.08em 0 0.08em;
	border-radius: 0.3em 0.3em 0 0;
	padding: 0 0.25em;
	white-space: nowrap;
}
.tabs > .tab.active {
 	background-color: #337AB7;
	cursor: default;
}
.tabs > .tab:not(.active):FOCUS,
.tabs > .tab:not(.active):HOVER {
	background-color: #B2D2EA;
	transition: background-color 0.2s ease-in-out 0s;
}
.tabs > .tab > .cap {
	color: #515151;
}
.tabs > .tab.active > .cap {
	color: white;
 	font-weight: bold;
}
.tabs > .tab > .cls {
	width: 1em;
	height: 1em;
	cursor: pointer;
	margin-left: 0.25em;
	opacity: 0.7;
}
.tabs > .tab > .cls:FOCUS,
.tabs > .tab > .cls:HOVER {
	opacity: 1.0;
	transition: opacity 0.2s ease-in-out 0s;
}

/* Override for bootstrap styling: BS aligns vertically middle, which busts everything. */
svg {
	vertical-align: unset;
}