/*
  terrible.css
  Andrew Tunecliffe, 2015
  http://atunnecliffe.com
*/
/* uncomment to see outlines of stuff when you hover *-/
:hover {
  background:rgba(0, 0, 0, 0.1);
}/**/

html,
body {
  margin: 0;
  padding: 0;
    cursor: default;
}

.section {
  width: 100%;
}

.container {
  position: relative;
  width: 1170px;
  margin: 0 auto;
  color: #444;
  font-size: 14px;
  font-weight: 300;
  font-family: Roboto, 'Open Sans', Arial, sans-serif;
  overflow: hidden;
}

h1, h2, h3, h4 {
    margin: 20px 0px 10px 0px;
    padding: 0;
    text-decoration: none;
    color: #051f5c;
}

h3 {
    margin: 14px 0px 6px 0px;
}

hr{
}

a{
    color: #051f5c;
    text-decoration: none;
}

h4 {
    margin: 0 0 15px 0px;
    width: 250px;
    float: left;
}

input[type="text"]{
}

#zweil {
    width: 48%;
    float: left;
    height: 525px;
}

#zweir {
    width: 48%;
    float: right;
    height: 525px;
}

#zweil > form > input[type="text"], #zweil > form > textarea{
    display: inline-block;
    padding: 5px 3%;
    background: none;
    border: 1px solid #051f5c;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-align: left;
    font-weight: 400;
    font-size: 0.80em;
    color: #051f5c;
    transition: 0.5s ease-in-out;
    float: left;
    margin-bottom: 11px;
    width: 93%;
}

#zweil > form > button{
    display: inline-block;
    padding: 12px 24px;
    background: none;
    border: 1px solid #051f5c;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-weight: 400;
    font-size: 0.90em;
    color: #051f5c;
    width: 225px;
    transition: 0.5s ease-in-out;
    float: left;
    margin-top: 5px;
}

#zweil > form > button:hover{
	background: #051f5c;
	color: #fff;
    transition: 0.1s ease-in-out;
}

.button
	{
    display: inline-block;
    padding: 12px 24px;
    background: none;
    text-align: center;
    border: 1px solid #051f5c;
    letter-spacing: 0.20em;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 0.90em;
    color: #051f5c;
    width: 225px;
    transition: 0.5s ease-in-out;
    float: right;
    margin-top: 5px;
	}

.button:hover
	{
	background: #051f5c;
	color: #fff;
    transition: 0.1s ease-in-out;
	}

#line {
    float: left;
    width: 10%;
    margin-right: 90%;
    height: 10px;
    margin-bottom: 17px;
    background-color: #ab3b0d;
}

/******************************************************
  Header
******************************************************/

.hold {
  height: 0px;
}

.header {
  line-height: 110px;
  width: 100%;
  transition: line-height 0.2s linear, box-shadow 0.2s linear;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: rgba(245, 245, 245, 0.97);
}

.header.small {
  line-height: 50px;
  box-shadow: 0px 1px 3px 0px rgba(50, 50, 50, 0.8);
}

.header.small > .container > #logo {
    height: 44px;
    transition-duration: 0.4s;
    width: 100px;
    top: 25px;
    margin-left: -3px;
}

#logo {
    position: absolute;
    top: 55px;
    transform: translateY(-50%);
    float: left;
    height: 88px;
    width: 200px;
    margin-left: 5px;
    transition-duration: 0.8s;
}

ul.nav {
  float: right;
  list-style: none;
  margin: 0;
  padding: 0;
}

ul.nav li {
  float: left;
  position: relative;
}

ul.nav li a {
  transition: color 0.2s linear;
  font-size: 18px;
}

ul.nav li:hover a {
  color: #ab3b0d;
}

ul.nav li a {
  padding: 21px;
  color: initial;
  text-decoration: initial;
}

#header{
    height: 600px;
    overflow: hidden;
    width: 100%;
}

#header > img{
    width: 100%;
    margin-top: -12%;
}

#logo > img{
    width: 100%;
    height: 100%;
}
/******************************************************
  Content
******************************************************/

#content{
    width: 1170px;
    margin: 50px auto;
    font-size: 17px;
    font-weight: 300;
    font-family: Roboto, 'Open Sans', Arial, sans-serif;
}

.leistungen{
}

.leistung{
    width: 32%;
    overflow: hidden;
    float: left;
    margin-left: 2%;
    margin-top: 20px;
}

.leistungbild:hover{
    height: 300px;
    overflow: hidden;
}

.leistungbild{
    height: 300px;
    overflow: hidden;
}

.leistungtext{
    height: 130px;
    padding: 1px 5% 20px;
    background: #F2F2F2;
}

.leistungl{
    width: 32%;
    overflow: hidden;
    float: left;
    margin-top: 20px;
}

#content > div > div.leistungbild > img{
    height: 100%;
    float: none;
    transition-duration: 1s;
    margin-left: -20%;
}

#content > div > div.leistungbild > img:hover{
    height: 115%;
    margin-left: -20%;
    transition-duration: 0.5s;
}

.imagegalleryitem > img {
    height: 100%;
    object-fit: cover;
}

.imagegalleryitem {
    width: 32%;
    overflow: hidden;
    float: left;
    height: 400px;
    margin-right: 2%;
    margin-bottom: 25px;
    object-fit: cover;
}

.imagegalleryitemright{
    margin-right: 0%;
}



/******************************************************
  Footer
******************************************************/

#footer{
    width: 1170px;
    margin: 30px auto;
    font-size: 17px;
    font-weight: 300;
    font-family: Roboto, 'Open Sans', Arial, sans-serif;
    height: 80px;
}

#footerin, #footerinl, #angebot{
    width: 180px;
    float: left;
    padding: 20px;
    
}

#footerinl{
    padding-left: 0px;
    
}

#footerout{
    width: 100%;
    float: left;
    margin-top: 50px;
    background-image: url(../images/footer.jpg);
    background-position: 50% 50%;
    background-size: 100%;
}