@-ms-viewport{
	width: device-width;
}

html{
	overflow-y: scroll;
}
body { 
	padding-top: 50px;
	font-size: 14px;
}
.logo {
	width: 151px;
	height: 50px;
	background: url(../img/profiroll-logo.png) no-repeat;
	float: left;
}
#rechner1,#rechner2 {
	padding-top: 120px;
}
.schraubenliste {
	position: absolute;
	width: 100%;
	top: 50px;
	background: #ffffff;
	z-index: 100;
	background: #000000;
	text-align: center;
}
/*.schraubenliste  table {
	margin: 0 auto;
}*/
.schraubenliste td {
	padding: 0;
	border: 1px solid #333;
}
.schraubenliste .schraube {
	position: relative;
	display: block;
	width: 100px;
	height: 100px;
/*	padding-top: 80px;*/
	color: #ffffff;
	font-weight: bold;
	text-decoration: none;
}
.schraubenliste .schraube.active {
	background: #cc0000;
	box-shadow: inset 0 0 7px rgba(0,0,0,0.75);
}
.schraubenliste .schraube .nut{
	position: absolute;
	bottom: 17px;
	left: 0;
	display: block;
	width: 100%;
	text-align: center;
	border: none;
}
.schraubenliste .schraube .label{
	position: absolute;
	bottom: 0px;
	left: 0;
	display: block;
	width: 100%;
	font-size: 80%;
	line-height: 80%;
}
.padding-row{
	padding: 15px;
}
.h-padding-row{
	padding: 0 15px;
}
.v-padding-row{
	padding: 15px 0;
}
.no-padding-col{
	padding: 0;
}
.border-row {
	border-bottom: 1px solid black;
}
.right-text {
	text-align: right;
}
.center-text {
	text-align: center;
}
.nobr {
	white-space: nowrap;
}
.col-padleft {
	padding-left: 50px;
}
.horiz-label {
	position: absolute; 
	top: 0;
	left: 0;
	-ms-transform: rotate(270deg) translate(-200px,-80px);
	-moz-transform: rotate(270deg) translate(-200px,-80px);
	-o-transform: rotate(270deg) translate(-200px,-80px);
	-webkit-transform: rotate(270deg) translate(-200px,-80px);
	white-space: nowrap;
}
.steigung-table {
	 margin-left: auto; 
	 margin-right: auto; 
	 max-width: 250px;
	 position: relative;
}
.walzkraft-table {
	 margin-left: auto; 
	 margin-right: auto; 
	 max-width: 410px;
	 position: relative;
}
.wert {
	font-weight: bold;
}
h1{
	font-size: 1.6em;
}
h2{
	font-size: 1.3em;
}
h3{
	font-size: 1.1em;
}
h1,h2,h3{
	margin-bottom: 20px;
}
h1:first-child,
h2:first-child,
h3:first-child{
	margin-top: 0;
}
.panel-body a{
	color: #c00 !important;
}
.value-table{
	width: 100%;
	border-spacing: 0;
	border-collaps: collapse;
}
.value-table th,
.value-table td{
	text-align: center;
	padding: 5px;
}
.value-table th,
.value-table td{
	border-right: 1px solid #000;
}
.value-table th{
	border-bottom: 1px solid #000;
}
.value-table th:last-child,
.value-table td:last-child{
	border-right: 0;
}
.small{
	font-size: 0.8em;
	line-height: 1.2em;
}

/** overrides */
nav.navbar-fixed-top{
	background: url(../img/navbar-bg.png) repeat-x;
	margin-bottom: 0;
}
.nav-dropdown {
	line-height: 50px;
	margin-left: 10px;

}
.navbar-nav li{
	background: #c00;
}
.navbar-nav li a{
	padding: 15px 10px;
}
.navbar-nav li.active a{
	background-color: #a00 !important;
}
.navbar-nav li *{
	color: #fff !important;
}
.navbar-toggle{
	width: 50px;
	height: 50px;
	margin: 0;
	border: 0;
	border-radius: 0;
	background-color: #c00;
}
.navbar-toggle:hover,
.navbar-toggle:focus{
	background-color: #a00 !important;
}
.navbar-collapse{
	border: 0;
	padding: 0;
}
.navbar-collapse .navbar-nav{
	margin: 0;
}
.navbar-collapse .navbar-nav.navbar-right:last-child{
	margin-right: 0;
}
.navbar-toggle .icon-bar{
	width: 100%;
	height: 3px;
	background-color: #fff;
}
.navbar-header {
	min-width: 205px;
}
.navbar-text {
	margin: 0;
}
.panel{
	border-radius: 0;
	border: 0;
	margin-bottom: 0;
}
.panel-primary>.panel-heading{
	background-color: transparent;
	color: #c00;
	text-transform: uppercase;
	border-bottom: 2px solid #c00;
	padding: 15px;
}
.panel-primary>.panel-heading h1{
	margin: 0;
}
.panel-body{
	padding: 0 15px;
	background-color: #eee;
}
.panel-body *{
	color: #000 !important;
}
.table-responsive {
	width: 100%;
	margin-bottom: 15px;
	overflow-x: scroll;
	overflow-y: hidden;
	border: 1px solid #ddd;
	-webkit-overflow-scrolling: touch;
}

@media screen and (min-height: 640px){
	.schraubenliste{
		position: fixed;
	}
}