/* ======================================== */
/* global element styling */
/* ======================================== */

* {
	box-sizing: border-box;
}

/****************
  overwrite APEX-core.css - tpetri: */
html { font-size:16px; }
form#wwvFlowForm { height:auto; min-height:auto; }
/**/

body {
	font-family: "Tahoma", sans-serif;
	margin: 0;
	line-height:1.5em;
	font-size: 0.85em;
	background: linear-gradient(175deg, #cccc22, #cccc22 36em, white 36em, white);
}

@media screen and (min-width:500px) {
	body {
		font-size: 0.85em;
	}
}

@media screen and (min-width:800px) {
	body {
		font-size: 0.9em;
	}
}

@media screen and (min-width:1050px) {
	body {
		font-size: 1.05em;
	}
}

/****************
  overwrite APEX-core.css - tpetri: */
h1, h2, h3, h4, span, ul { margin:0; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.17em; margin:1em 0; }
p, li, span { font-size: 1em; }
p, li { line-height: 1.5em; }

/****************/


main { display: block; } /* ie11 fix */


h1 {
	font-weight: normal;
	color: #333333;
	font-size: 1.3em;
	margin: 0;
	display: flex;
	align-items: center;
}

h2 {
	line-height: 1.3em;
	font-weight: normal;
}

h3 {
	line-height: 1.3em;
	font-weight: normal;
}

h3 + p {
	margin-top: -0.5em;
}

a {
	color: #99aabb;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

ul {
	padding-left: 0;
}

li {
	margin-bottom: 1em;
	list-style: none;
	background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMyIgaGVpZ2h0PSIxOC44IiB2aWV3Qm94PSIwIDAgMjMgMTguOCI+PHRpdGxlPkVsZW1lbnQgMTwvdGl0bGU+PHBhdGggZD0iTTExLjEsMTguOCwxLjIsMTIuNkEyLjQsMi40LDAsMCwxLC40LDkuMmEyLjQsMi40LDAsMCwxLDMuNC0uOGw2LjEsMy44TDE4LjUsMUEyLjUsMi41LDAsMCwxLDIyLC41LDIuNSwyLjUsMCwwLDEsMjIuNSw0WiIgZmlsbD0iIzMzMzMzMyIvPjwvc3ZnPg==) top 5px left no-repeat;
	padding: 0 0 0 2em;
}

/* ======================================== */
/* global classes */
/* ======================================== */

.clear {
	clear: both;
}

.wrap {
	display: inline-block;
}

/* ======================================== */
/* buttons */
/* ======================================== */

.btn-primary {
	background: #cccc22;
	padding: 1em 2em;
	margin: 1em 0 1em 0;
	text-decoration: none;
	display: inline-block;
	font-weight: bold;
	color: #333333;
	box-shadow: 0 1px 5px rgba(0,0,0,0.2);
	transition: background 0.075s ease-in-out;
}

.btn-primary:hover {
	background: #abab32;
}

.btn-primary:focus {
	background: #ebeb38;
}

.btn-secondary {
	display: inline-block;
	padding: 0.5em 1em;
	margin: 1em;
	background: #f6f6f6;
	color: #333333;
	border: 2px solid #cccc22;
	text-decoration: none;
	transition: background 0.075s ease-in-out;
}

.btn-primary, .btn-secondary { border-radius: 7px; }




.btn-secondary:hover {
	background: #cccc22;
	color: #333333;
	border: 2px solid rgba(0,0,0,0.1);
}

.btn-secondary:focus {
	background: #ebeb38;
	color: #333333;
	border: 2px solid rgba(0,0,0,0.2);
}

.btn-primary + h3 {
	margin-top: 2em;
}


/* ======================================== */
/* header */
/* ======================================== */

.logo {
	height: 50px;
	margin-top: 0.25em;
	margin-bottom: 1em;
}

.logo:hover {
	opacity: 0.9;
}

.site-header {
	border-top: 5px solid  #cccc22;
	padding: 1em;
	background: white;
	margin-bottom: 1em;
}

.site-header > .container-plh {
	max-width: 68em; /* 1088px */ 
	margin:  0 auto;
}

@media screen and (min-width: 800px) {

.logo {
	height: 60px;
	margin-bottom: 0;
}

.site-header > .container-plh {
		display: flex;
		justify-content:space-between;
	}
}

/* ======================================== */
/* boxes */
/* ======================================== */
	

main {
	max-width: 69em;
	margin: 0 auto;
	border: .5em solid transparent;
}

.box + .box {
	margin-top: 2em;
}

@media screen and (min-width: 800px) {
	.box {
		flex: 1;
		display: flex;
	}

	.box + .box {
		margin: 0;
	}
}

.box-title {
	padding: 1em 2em 1em 1.5em;
	margin: 0;
	display: flex;
	align-items: center;
	background: rgba(0,0,0,0.05);
}

@media screen and (min-width: 800px) {
	.box-title {
		padding-top: 2em;
		width: 360px;
		align-items: flex-start;
	}
}

.box-title-lable {
	font-size: 0.75em;
	opacity: 0.5;
	display: block;
}

.box-content {
	flex: 1;
	padding: 2em;
}

.box-wartungsarbeiten {
	margin-bottom: 20px;
}

/* primary */

.box-primary {
	box-shadow: 0 5px 25px rgba(0,0,0,0.2), 0 2px 2px rgba(0,0,0,0.05);
	background: #99aabb;
	color: #333333;
}

.box-primary .box-title {
    background: #5d5e5d;
	color: white;
}

.box-primary a {
	color: #333333;
}

/* secondary */

.box-secondary {
	background: #eee;
	/* color: #282828; */
	color: #333333;
}

@media screen and (min-width: 800px) {
	.box.box-secondary {
		margin-top: 2em;
	}
}

/* info buergercard */

.info-buergercard {
	z-index: 10;
	border-top: 2px solid white;
}

.icon {
	width: 70px;
    min-width: 60px;
    max-width: 80px;
    height: 100%;
    border-right: 1em solid transparent;
}	

@media screen and (min-width: 800px) {
	.icon {
		width: 100px;
	    min-width: 90px;
	    max-width: 110px;
	    border-right: 1em solid transparent;
	}	
}


/* ======================================== */
/* header */
/* ======================================== */	

.site-footer {
	margin-top: 2em;
	text-align: center;
	font-size: 0.8em;
	background: #cccc22;
	padding: 2em;
	color: #333333;
}

.site-footer a {
	color: #333333;
}

.copyright-sign {
	font-style: normal;
}

#SFG_PORTAL_BUILDINFO {
    float: right;
    margin-top: -10px;
}

/* ======================================== */
/* Wartungsarbeiten */
/* ======================================== */	

#P1_BESCHREIBUNG_WARTUNGSARBEITEN_DISPLAY
{
	font-weight: unset;
	border:none;
}

/* ======================================== */
/* Popup-Logindialog - übernommen aus style.css */
/* ======================================== */	

/*
body .ui-dialog .ui-dialog-titlebar.ui-widget-header {
    background-color: #878787 !important;
}

body .ui-dialog .ui-dialog-title {
    float: left;
    margin: 0;
    line-height: 24px;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
	color:white;
}	*/

#P1_BESCHREIBUNG_WARTUNGSARBEITEN_CONTAINER
{
	background-color: #5d5e5d;
	flex: 1;
}
#P1_BESCHREIBUNG_WARTUNGSARBEITEN_DISPLAY
{
	color: white;
}

#P1_BESCHREIBUNG_WARTUNGSARBEITEN_DISPLAY a
{
	color: white;
}

#P1_BESCHREIBUNG_WARTUNGSARBEITEN_DISPLAY p
{
	margin: 15px;
}