h1 { font-size:18px; }
h2 { font-size:17px; }
h3 { font-size:16px; }
h4 { font-size:15px; }
h5 { font-size:14px; }
h6 { font-size:13px; }
h1,h2,h3,h4,h5,h6 { margin:0 0 20px 0; font-weight:600;}

.hidden { display:none; }

/* Colors */

.txt-color-black { color:#333333; }
.txt-color-white { color:#fefefe; }
.txt-color-pink { color:#d2277c; }

.bg-color-white { background:#fefefe; }
.bg-color-pink { background:#d2277c; }

.border-color-white { border:2px solid #fefefe; border-radius:2px; }
.border-color-grey { border:2px solid #cccccc; border-radius:2px; }
.border-color-pink { border:2px solid #d2277c; border-radius:2px; }


/* Forms */

div.segment {
	border-top: 1px solid #d2277cdd;
	margin-top: 1rem;
	padding-top: 1rem;
	/*
	padding: 1rem;
	width: 100%;
	border: 2px solid #d2277c;
	border-radius: 10px;
	margin: 10px 0;	
	*/
}

.form-group.form-footer {
	display: -ms-flexbox;
	display: flex;
	/*-ms-flex-align: center;*/
	align-items: center;
	/*-ms-flex-pack: end;*/
	justify-content: flex-end;
	padding: 1rem;
	border-top: 1px solid #d2277cdd;
}

.form-group.form-footer>:not(:last-child) {
    margin-right: .25rem;
}

textarea:focus,
select:focus,
.form-control:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus,
.uneditable-input:focus {   
  border-color: rgba(210, 39, 124, 0.8) !important;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(210, 39, 124, 0.6) !important;
  outline: 0 none !important;
}

[type=checkbox],
[type=radio] {
	width:20px;
	height:20px;
    line-height: 20px;
    vertical-align: bottom;	
}


.tooltip-inner {
	background-color: #d2277c !important;
	/*!important is not necessary if you place custom.css at the end of your css calls. For the purpose of this demo, it seems to be required in SO snippet*/
	color: #fff;
}

.tooltip.bs-tooltip-auto[x-placement^=top] .arrow::before, .tooltip.bs-tooltip-top .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^=right] .arrow::before, .tooltip.bs-tooltip-right .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .tooltip.bs-tooltip-bottom .arrow::before,
.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
		border-top-color: #d2277c;
}


.preisError { color:#ff0000;  }
.preisOverruled { color:#ff5b00; }

.dataTable.table-hover tbody tr:hover td .preisError, 
.dataTable.table-hover tbody tr:hover td .preisOverruled { color:#fefefe; }


/* Tables */
.table td {
	padding: .5rem;
	font-size: 13px;
}

.table td { vertical-align:middle; }

.dataTable.table-hover tbody tr:hover td, .dataTable.table-hover tbody tr:hover th {
	background-color: #d2277c;
	color:#fefefe;
}



/* Header */


#header {
	/*
	position:fixed;
	z-index:3;
	left:0;
	right:0;
	top:0;
	height:112px;
	overflow:hidden;
	*/
}

#header .content {
	width: 100%;
	height:100%;
    padding-top: 10px;
	text-align: center;	
}

#header .content a,
#header .content a:focus,
#header .content a:active,
#header .content a:hover,
#header .content a:visited { 
	color:#efefef; 
	text-decoration: none;
}

#header .content h1 { margin:0; }
#header .content .logo { max-height:40px; width:auto; }



/* Buttons */

.btn {
	text-transform: uppercase;
}

a.btn.disabled {
   pointer-events: none;
   cursor: default;
}

.btn.bt-aktion {
	text-transform: none; 
	font-size:13px;
	padding:2px;

    padding: 0;
    min-width: 24px;
    min-height: 24px;	
}

.btn-primary,
.btn-primary:link,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:visited { 
	color:#fff;
	background:#d2277c !important; 
	border-color:#d2277c !important; 
}


.btn-primary:not(:disabled):not(.disabled).active:focus, 
.btn-primary:not(:disabled):not(.disabled):active:focus, 
.show>.btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(210, 39, 124, .5);
}


.page-link, 
.page-link:hover {
	color:#000;
	background-color:#fff;
	z-index:auto;
}

.page-link:focus {
    z-index: 2;
    outline: 0;
	box-shadow: 0 0 0 0.2rem rgba(210, 39, 124, .5);
}

.page-item.active .page-link {
	background:#fff !important; 
	border-color:#d2277c !important; 
	color: #d2277c !important;
	box-shadow: 0 0 0 0.2rem rgba(210, 39, 124, .5);
}

.page-item.disabled .page-link {
	background:#fff !important; 
	border-color:#ccc !important; 
	color: #ccc !important;
}



#header .nav.nav-tabs { display:block; }

#header .nav.nav-tabs:after {
    content: '';
    display: block;
    clear: both;
}

#header .nav.nav-tabs .nav-item { display:inline-block; float:left; }


#header .content .nav-tabs .nav-item.show .nav-link, 
#header .content .nav-tabs .nav-link.active,
#header .content .nav-tabs a.nav-link.active {
    color: #d2277c;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}


#header .content .dropdown-item,
#header .content a.dropdown-item {
    color: #d2277c;
    background-color: #fff;
}

#header .content .dropdown-item:focus, 
#header .content .dropdown-item:hover,
#header .content a.dropdown-item:focus, 
#header .content a.dropdown-item:hover {
		background:#d2277c !important; 
	border-color:#d2277c !important; 
	color: #fff !important;

}

#header .content h1 { margin-bottom:10px; }

#header .content .nav {
	margin: 0 auto;
	max-width: 1170px;
	border: none;
}

#main {
	z-index:1;
	width:100%;
	margin:0px auto 50px auto;
	max-width:1170px;
	padding:20px;
}



#main .login h2 { margin:0; }

#main .login .box {
	min-height: 20px;
	padding: 20px;
	margin: 20px 0;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

#main .login .alert p {
	margin:0;
}



#main form.settingsForm {
	border: 2px solid #d2277c;
	/*border: 1px solid #ccc;*/
	padding: 18px;
	border-radius: 10px;
	margin-bottom: 10px;
}


#footer {
	position:fixed;
	z-index:2;
	bottom:0;
	left:0;
	right:0;
	height: 50px;
	overflow:hidden;
}


#footer .content {
    width: 100%;
	text-align: center;	
}


#footer .content span {
	display: inline-block;
	margin: auto;
	line-height: 50px;
}


#filialenEditReferenzFilialen table.tableFilialeReferenzFilialen { 
	width:100%; 
}


#filialenEditReferenzFilialenAddModal #filialenEditReferenzFilialenAdd select {
	width:100%;
} 

#dashboard .filiale { 
	padding: 10px;
    font-size: 14px;
}

#dashboard .filiale a,
#dashboard .filiale a:focus,
#dashboard .filiale a:active,
#dashboard .filiale a:hover,
#dashboard .filiale a:visited {
	padding: 10px;
    	background-color:#f5f5f5;
	background-image:url("../img/tanke.jpg");
	background-size:contain;
	background-position:center;
    	border-radius: 5px;
	border: 2px solid #d2277c;
	display:block;
	color:#000;
	text-decoration:none;
}

#dashboard .filiale.typ2 a,
#dashboard .filiale.typ2 a:focus,
#dashboard .filiale.typ2 a:active,
#dashboard .filiale.typ2 a:hover,
#dashboard .filiale.typ2 a:visited {
	border-color:#ffd401 !important;
}

#dashboard img.logo-filiale {
	position: absolute;
	right: 12px;
	top: 17px;
	max-width: 35px;
	opacity: 1;
	rotate: 20deg;
}


#dashboard .filiale table { width:100%; }


.chartContainer { /*height:400px;*/ } 


#statistics.priceProgression .tableContainer { width:100%; overflow-x:scroll; }
#statistics.priceProgression .topScrollContainer { height:20px; width:100%; overflow-x:scroll; overflow-y:hidden; margin-bottom:20px; } 
#statistics.priceProgression .topScrollContainer .scroller { height:20px; width:2000px; }

#statistics.priceProgressionGraph h4,
#referenzfilialenInfoForm h4 { margin: 20px 0; }
#statistics.priceProgressionGraph .praph,
#referenzfilialenInfoForm .praph {width:100%; height:400px;}
#statistics.priceProgressionGraph .praph .graphCanvas,
#referenzfilialenInfoForm .praph .graphCanvas {width:100%; height:100%;}

#referenzfilialenInfoForm .statistics {
	border-top: 1px solid #e9ecef;
}