/**
 * 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         ***
 * ***              S t y l e s h e e t s   f o r   l i n k s              ***
 * ***************************************************************************
 * ***                                                                     ***
 * ***   This stylesheet contains the standard all styling                 ***
 * ***   for XHTML anchor elements in AC Commons webapp.                   ***
 * ***     -> a            ... default text link style                     ***
 * ***     -> a.button.txt ... button style with text                      ***
 * ***     -> a.button.img ... button style with image                     ***
 * ***                                                                     ***
 * ***************************************************************************
 * ***   @author Alf-Christian Schering                                    ***
 * ***   @version 20191006                                                 ***
 * ***************************************************************************/

a.xbutton, .ui-dialog .ui-dialog-buttonpane .ui-button {
	display: inline-block;
	box-sizing: content-box;
	white-space: nowrap;
	user-select: none;
	/* Border and background. */
	border: solid 0.1em #205090;
	border-radius: 0.3em;
	background: #F0F7FF;
	background: linear-gradient(to bottom,  #F0F7FF, #A0E0FF);
	box-shadow: inset 0.2em 0.2em 0.4em -0.1em rgba(255, 255, 255, 0.3), 0.2em 0.2em 0.3em -0.1em rgba(0, 0, 0, 0.3);
	/* Font. */
	font-family: verdana, arial, helvetica;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	color: #305080;
	opacity: 0.4;
	cursor: default;
}

a.xbutton.enabled, .ui-dialog .ui-dialog-buttonpane .ui-button {
	opacity: 1.0;
	cursor: pointer;
}

a.xbutton.enabled:hover, a.xbutton.enabled:focus, .ui-dialog .ui-dialog-buttonpane .ui-button:hover, .ui-dialog .ui-dialog-buttonpane .ui-button:focus {
	box-shadow: inset -0.2em -0.2em 0.4em -0.1em rgba(255, 255, 255, 0.4), -0.2em -0.2em 0.3em -0.1em rgba(0, 0, 0, 0.4);
}

a.xbutton.enabled:active, .ui-dialog .ui-dialog-buttonpane .ui-button:active {
	background: linear-gradient(to bottom,  #E0E7EF, #90D0EF);
	box-shadow: inset -0.2em -0.2em 0.4em -0.1em rgba(255, 255, 255, 0.6), -0.2em -0.2em 0.3em -0.1em rgba(0, 0, 0, 0.6);
}


a.xbutton.txt, .ui-button {
	font-size: 75%;
	vertical-align: baseline;
	padding: 0.1em 0.4em;
}


a.xbutton.img {
	vertical-align: middle;
	padding: 0.15em;
	width: 1.0em;
	height: 1.0em;
}
a.xbutton.img > img {
	vertical-align: top;
}
a.xbutton.img > svg {
	vertical-align: top;
}


/*
------------------------------------------------------------------------------
   A different button style.
------------------------------------------------------------------------------
*/


a.button2 {
	display: inline-block;
	white-space: nowrap;
	user-select: none;
	/* Border and background. */
	border: solid 0.1em silver;
	border-radius: 0.2em;
	background: white;
	margin: 0.2em 0.15em 0.2em 0.15em;
	/* Font. */
	font-family: verdana, arial, helvetica;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	color: #305080;
	opacity: 0.4;
	cursor: default;
}
a.button2.enabled {
	opacity: 1.0;
	cursor: pointer;
}
a.button2.txt {
}
a.button2.img {
	vertical-align: middle;
	padding: 0.15em;
	width: 1.0em;
	height: 1.0em;
}
a.button2.img > img {
	vertical-align: top;
}
a.button2.img > svg {
	vertical-align: top;
}
