
body {
   
    font-family: Calibri;
}
body, html {


    font-size: 62.5%;
    margin: 0;
    padding: 0;
	
	
}

*, *:after, *:before {
    box-sizing: border-box;
}

#main {
	display: -webkit-box;      /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;         /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;      /* TWEENER - IE 10 */
    display: -webkit-flex;     /* NEW - Chrome */
    display: flex; /* NEW, Spec - Opera 12.1, Firefox 20+ */
	-webkit-box-orient:row;
	-moz-box-direction:horizontal;
	-box-direction:horizontal;
	-webkit-flex-wrap:wrap;
	-ms-flex-wrap:wrap;
    flex-wrap: wrap;
    height: auto;
    margin: 0 auto;
    width: 1041px;
	margin-top:5vh;
}



.pic {
    background-color: #ccc;
    border: 1px solid #363636;
    height: 250px;
    
    width: 250px;
	transition-duration:3s;
}

td > a {
	color:#900;
}



.pic-img {
    width: 250px;
    height: 250px;
    
    
	
	
	
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -ms-transition: 1s;
    transition: 1s;
	
	background-size:cover;
	background-position:center;
	

	
}

.pic-all {
	margin:5px;
	/*
	   -webkit-box-flex: 1 0 250px;      
		-moz-box-flex: 1 0 250px;         
		            
		-webkit-flex: 1 0 250px;          
		-ms-flex: 1 0 250px;             
		flex: 1 0 250px;  
	*/
	
		-webkit-box-flex: 1 1 auto;   
		-moz-box-flex: 1 1 auto;       
		             
		-webkit-flex: 1 1 auto;      
		-ms-flex: 1 1 auto;          
		flex: 1 1 auto;
}

.pic-img:before {
  content: '';
  display: inline-block;
  height: 100%; 
  vertical-align: middle;
  margin-right: -0.25em; /* Adjusts for spacing */

  /* For visualization 
  background: #808080; width: 5px;
  */
}

.pic-title {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5);
    color:white;
	/* text-shadow: white 0.1em 0.1em 0.2em;*/
    display: inline-block;
    font-size: 40px;
    font-weight: bold;
    opacity:0;
    text-align: center;
    transition-duration: 2s;
    vertical-align: middle;
    width: 100%;
	z-index:999;
	
}


.pic-img:hover {
  
}
/*
#pic-1 {
	background-image:url(../img/clients.jpg);
}

#pic-2 {
	background-image:url(../img/career.jpg);
}

#pic-3 {
	background-image:url(../img/team.jpg);
}

#pic-4 {
	background-image:url(../img/philosophy2.jpg);
}

#pic-5 {
	background-image:url(../img/bip.jpg);
}

#pic-6 {
	background-image:url(../img/contact.jpg);
}



#pic-8 {
	background-image:url(../img/what1.jpg);
	background-position:right;
}

#pic-7 {
	background-image:url(../img/logo.png);
	background-size:89%;
	background-repeat:no-repeat;
	background-color:#fff;
	border: 1px solid black;
}

*/

#img-clients {
	background-image:url(../img/clients2.jpg);
}

#img-product {
	background-image:url(../img/bip.jpg);
}

#img-career {
	background-image:url(../img/career.jpg);
}

#img-team {
	background-image:url(../img/team.jpg);
}

#img-what {
	background-image:url(../img/what1.jpg);
}

#img-contact {
	background-image:url(../img/contact.jpg);
	background-position:initial;
}

#img-phil {
	background-image:url(../img/philosophy2.jpg);
}

#img-impressum {
	background-image:url(../img/Logo.png);
	background-size:90%;
	background-color:#fff;
	filter:none;
}

.img-large {
	background-size:contain;
}

.pageWrap {
    color:black;
	
    box-shadow: 0 0 20px black;
    margin: 50px auto;
	padding:1% 5%;
    width: 50%;
	word-wrap:break-word;
	background-color: white;
	font-size:20px;
}

a {
	color:#000;
	text-decoration:none;
}

p { font-size: 20px;
margin-top:0;
text-shadow:none;

}

h1 {
	font-size:3em;
	font-size:6vw;
	margin: 0;
	padding: 5% 0%;
	text-align:center;
}

h1 > a {
	color:#900;
	/*text-shadow: black 0.1em 0.1em 0.2em;*/
}

h4 > a {
	color:#900;
}

h2 {
	text-align:center;
	color:#900;
	font-size:50px;
}

h3 {
	text-align:center;
	margin-top:0px;
}

li {
	text-shadow:none;
	
}

ul {
padding:0em 1em;
}

.clearfix:before, .clearfix:after {
    content: " ";
    display: table;
}

.clearfix:before, .clearfix:after, .row:before, .row:after {
    content: " ";
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}

*, *:after, *:before {
    box-sizing: border-box;
}

.clearfix:after {
    clear: both;
}

.one-quarter {
	width:500px;
	margin-bottom:50px;
	padding-left:10%;
	display:inline-block;
	margin-left:auto;
	margin-right:auto;
	vertical-align:top;
}

#whoMain {
	width:65%;
	padding:0;
}

.header {
	height:20px;
	padding-top:10px;
	padding-right:10px;
	text-align:center;
}

.header > a{
	float:right;
	color:#333;
	padding-left:5px;
	font-size:20px;
	line-height:15px;
}


.languages {
	display:inline-block;
}

.languages img {
	height:15px;
}

h4 {
text-align:center;
}

.bip {
color:#900;
font-weight:bold;
}

.bip-button {
    
	background-color: #900;
    border: 2px outset #333;
    border-radius: 20px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-size: 26px;
    height: 50px;
    line-height: 46px;
    margin: 20px;
    text-align: center;
    vertical-align: middle;
    width: 170px;
	
}


.bip-button:hover {
	background:linear-gradient(#a11,#b22);
}

.buttonWrap {
	text-align:center;
	margin-bottom:20px;
}
/*
.bip-insurance {
	background-image: url("../img/bip-insurance.jpg");
}

.bip-industry {
	background-image: url("../img/bip-industries.jpg");
}

.bip-logistics {
	background-image: url("../img/bip-logistics.jpg");
}
*/
.pic-img img {
	position:absolute;
}

.img-cl {
	z-index:-1000;
	filter: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' height='0'><filter id='greyscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0' /></filter></svg>#greyscale");
	-webkit-filter: grayscale(100%);
	filter:grayscale(100%);
	filter: gray;
	
	
	-webkit-transition: 2s;
    -moz-transition: 2s;
    -ms-transition: 2s;
	transition-duration:2s;
	border:1px solid black;
	height:250px;
	background-size:cover;
	background-repeat:no-repeat;
	background-position:center;
}

.pic-img:hover > .img-cl {
	filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'1 0 0 0 0, 0 1 0 0 0, 0 0 1 0 0, 0 0 0 1 0\'/></filter></svg>#grayscale");
	filter:none;
	-webkit-filter:grayscale(0%);
	filter:grayscale(0%);
}

.link-prod {
	color:#900;
	text-decoration:none;
}

.thankyou {
	text-align:center;
}

.impHeader {
	text-align:center;
	margin-top:10%;
}

.header-content {
/*padding-right:50px;*/
}

#impressum {
	color: #333;
    display: inline-block;
    font-size: 26px;
}

textarea {
	resize:vertical;
	max-width: 100%;
	/*height: 10em;*/
}



/* Older MSIE workarounds */


.lt-ie10 .pic-all  {
	float:left !important;

}

.lt-ie10 #main {
	height:770px !important;
	display:block;
}

.languages > a {
	padding:2px;
}

#whoMain td:first-child {
    font-weight: bold;
    vertical-align: top;
}

.inputbox {
    margin-bottom: 10px;
}

.slogan {
    color: #900;
    font-size: 30px;
    font-style: italic;
    font-weight: bold;
    text-align:center;
	padding-bottom:20px;
}

#prodMain h1 {
	padding-bottom:0;
}

.footer-social-item {
	list-style: outside none none;
}

.footer-social-item img {
    padding: 2px;
}

a.safari-bug-workaround {
   color: black !important;
   background: white !important; 
}
