/*
Theme Name: Saphir Maschinenbau
Theme URI: http://www.saphir-maschinenbau.de
Author: Matthias Klindworth
Author URI: http://www.k-evolution.de
Description: Template WordPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Saphir Maschinenbau - ein Unternehmen der Fricke Holding
*/

@import url('//fonts.googleapis.com/css?family=Istok+Web:400,700,400italic');

body {
	padding-top: 65px;
	background: #ccc;
	color: #333;
	font-family: 'Istok Web', serif;
}

h2, h3, h4, .btn {
	text-transform: uppercase;
}
h5 {
	font-weight: bold;
}


header iframe, #teaser {
	width: 100%;
	height: auto;
	position: absolute;
	z-index: 1;
}

.navbar {
	height: 65px;
	border-color: #b6b6b6;
	z-index: 100;
}
	.navbar-nav > li {
		position: relative;
	}
	.navbar-nav > li > a {
		padding-top: 22px;
		height: 65px;
		text-transform: uppercase;
	}
	.navbar-nav > li.active > a {
		background-color: #e30613 !important;
		color: #fff !important;
	}

	.sub-menu {
		display: none;
		position: absolute;
		background: #fff;
		padding: 0 !important;
	}
		.sub-menu * {
			list-style: none;
			margin: 0 !important;
			padding: 0 !important;
			color: #000;
		}
		.sub-menu a {
			display: block !important;
			padding: 5px 10px !important;
		}
		.sub-menu a:Hover,
		.sub-menu li.active a {
			background-color: #e30613 !important;
			color: #fff !important;
			text-decoration: none;
		}
	.navbar-nav > li:Hover .sub-menu {
		display: block;
	}
@media (max-width: 800px) {
	.navbar-collapse {
		top: 0px !important;
		margin-top: 5px;
		border: none !important;
	}
	.navbar-nav > li > a {
		padding-top: 10px;
		height: auto;
		background: #fff !important;
	}
}


.body {
	z-index: 99;
	background: #f7f7f7;
	position: relative;
	padding: 50px;
	box-shadow: 0 -1px 2px #333;
	/*min-height: 800px;*/
}
	@media (max-width: 800px) {
		.body {
			padding: 30px 0px;
		}
	}
	.body.detail h3 {
		font-size: 1.5em;
		font-weight: 700;
		margin-top: 50px;
	}
	.body.detail h4 {
		font-size: 1.25em;
		font-weight: 700;
		text-transform: none;
	}
	.body.detail ul,
	.body.detail li {
		margin: 0;
		padding: 0;
		list-style: none;
	}
	.body.detail li:before {
		content: "\f00c";
		font-family: FontAwesome;
		margin-right: 10px;
	}
	.body.detail hr {
		border-color: #333;
	}
	.body article {
		clear: both;
		margin-bottom: 50px;
	}
	.body .insidenav,
	.body .insidenav ul {
		list-style: none;
		position: relative;
		margin: 0;
		padding: 0;
	}
		.body .insidenav li {
			border: 1px solid #b6b6b6;
			border-top: none;
			padding: 5px;
		}
		.body .insidenav li:first-child {
			border-top: 1px solid #b6b6b6;
		}
		.body .insidenav a {
			color: #333;
		}
		.body .insidenav .active a {
			color: #e30613;
		}
		.body .insidenav .ebene2 {
			padding-left: 15px;
		}
		.body .insidenav .ebene3 {
			padding-left: 30px;
		}
		.body .insidenav .ebene4 {
			padding-left: 45px;
		}
		.body .insidenav .ebene5 {
			padding-left: 60px;
		}
		.body .maschine {
			clear: both;
			border-top: 1px solid #b6b6b6;
			overflow: hidden;
		}
		.body .maschine h3 * {
			color: inherit;
		}
		.body .maschine:first-child {
			border: none;
		}
		.body .maschine img {
			float: left;
			/*max-width: 20%;*/
			max-width: 100%;
			margin: 0 10px 10px 0;
		}
		.body .maschine p {
			/*-ms-word-break: break-all;
			word-break: break-all;
			word-break: break-word;
			
			-webkit-hyphens: auto;
			-moz-hyphens: auto;
			hyphens: auto;*/
		}
		.body .technikboerse {
			position: relative !important;
			width: 100% !important;
			min-height: 800px !important;
			border: none !important;
		}
	@media (max-width: 800px) {
		.body > * {
			padding-top: 50px !important;
		}
		.body > *:first-child {
			padding-top: 0px !important;
		}
		.body .maschine img {
			max-width: 50%;
		}
	}

footer .container {
	padding: 50px;
	background: #ddd;
	background: #e30613;
	box-shadow: 0 -1px 2px #333;
}
	@media (max-width: 800px) {
		footer .container {
			padding: 50px 15px;
		}
		footer .container > * > * {
			padding-top: 50px !important;
		}
		footer .container > * > *:first-child {
			padding-top: 0px !important;
		}
	}
	footer * {
		color: #fff;
	}
	footer a:link,
	footer a:active,
	footer a:visited,
	footer a:Hover {
		color: #fff;
	}
	footer ul {
		list-style: none;
		margin: 0;
		padding: 0;
	}
	

.tab-pane > p {
	padding: 0 15px;
}	
	
/*		BTN
*************************/
.btn-saphir,
.btn-saphir * {
	background: #e30613;
	color: white !important;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	border-color: #d11122;
	/*border-radius: 0 !important;*/
}
.btn-saphir:hover,
.btn-saphir:hover *,
.btn-saphir:active,
.btn-saphir.active,
.btn-saphir.disabled,
.btn-saphir[disabled] {
  color: #ffffff !important;
  background-color: #cc0511;
  *background-color: #cc0511;
  border-color: #e2001a;
}


/*		News
*********************/
.news div {
	clear: both;
	padding-bottom: 30px;
}
.news h4 a {
	font-size: 1.1em;
	color: #333;
}
.news .img-responsive {
	/*width: 100%;*/
	margin: 0 10px 10px 0;
}



.traktortoopic {
	width: 100% !important;
	height: auto !important;
}