/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

html {
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
*/*,
*:before,
*:after*/ {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
letter-spacing: normal;
}
a {
    color: #E21F17;
    text-decoration: none;
}

img {
    max-width: 100%;
}
ul {
    list-style: none;
    padding: 0;

}
h1, h2, h3 {
    font-size: 2em;
    font-weight: 300;
    margin: 0 0 0.5em;
    /*text-shadow: 1px 0px 1px #454545;*/
}
h4 {
    margin: 0;
}
body {
    font-family: 'Gotham Rounded A', 'Gotham Rounded B', Verdana, Arial, sans-serif;
    
}
.transparent_class {
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";

  /* IE 5-7 */
  filter: alpha(opacity=0);

  /* Netscape */
  -moz-opacity: 0.0;

  /* Safari 1.x */
  -khtml-opacity: 0.0;

  /* Good browsers */
  opacity: 0.0;
}
.float-left {float: left;}
.transparent {
    background: rgba(255,255,255,0.3);
}
.container {
    margin: 0 auto;
    width: 960px;
}
.tapete {
    background: transparent url(../img/tapete_100.jpg) repeat;
}
.text {
    background: #efefef;
}
i.fa {
    margin-right: 10px;
}

#wrapper {
    margin: 0 auto 60px;
    width: 960px;
}
#wrapper > div {
    padding: 30px;
}
#katalog {
    margin: 30px 0;
    padding-bottom: 45px !important;
    position: relative;
}
header {
    background: #efefef;
    color: #fff; 
/*    margin: -30px -30px 0;*/
    padding: 10px 0;
    text-align: center;
}
header h1 {
    color: #E21F17;
    font-size: 4em;
    margin: 0;
}
#start-wrap {
    position: relative;
}

div#tooltip {
    -webkit-transition: opacity 600ms ease-in;
    -moz-transition: opacity 600ms ease-in;
    -ms-transition: opacity 600ms ease-in;
    -o-transition: opacity 600ms ease-in;
    transition: opacity 600ms ease-in;
    -webkit-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.4);
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.4);
    background: #fff;
    opacity: 0.0;
    padding: 15px;
    position: absolute;
    top: 50px;
    left: -9999px;
    text-align: center;
    width: 240px;
}

div#tooltip::before {
    border-left: 20px solid transparent;
    border-top: 25px solid #fff;
    content: "";
    display: block;
    height: 0;
    position: absolute;
    right: 20px;
    bottom: -25px;
    width: 0px;
}
div#tooltip::after {
    -webkit-box-shadow: 3px 1px 5px -2px rgba(0,0,0,0.6);
    box-shadow: 3px 1px 5px -2px rgba(0,0,0,0.6);
    content: "";
    display: block;
    height: 25px;
    position: absolute;
    right: 20px;
    bottom: -25px;
    width: 6px;
}

#katalog-img:hover #tooltip  {
    -webkit-transition: opacity 600ms ease-in;
    -moz-transition: opacity 600ms ease-in;
    -ms-transition: opacity 600ms ease-in;
    -o-transition: opacity 600ms ease-in;
    transition: opacity 600ms ease-in;
    left: 50px;
    zoom: 1;
    filter: alpha(opacity=80);
    opacity: 0.8;
}

#start {
    /*min-height: 705px !important;*/
    position: relative;
    /*text-align: center;*/
}
#katalog-img {
    display: block;
}
.form {
    position: relative;
    width: 280px;
}
div#start .form-wrapper {
    padding: 10px;
    position: absolute;
    top: 10%;
    right: 50px;
}
div#start .form-wrapper .box{
    background: #7291b8;
    color: #fff;
    font-size: 0.7em;
    margin: -10px -10px 0;
    padding: 10px;
}
div#start .form-wrapper .box p {
    margin: 0;
}
div#start .form-wrapper .box a {
    color: #fff;
    text-decoration: underline;
}
#start .form-wrapper h3{
    font-size: 1.5em;
    margin: 0 0 5px 0;
}
.form ol {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.form input {
    margin-bottom: 8px;
    padding: 5px;
    width: 100%;
}
.form a {
    color: #000;
}
.form .form-str {
    width: 80%;
}
.form .form-nr {
    width: 17.6%;
}
.form .form-plz {
    width: 27.6%;
}
.form .form-stadt {
    width: 70%;
}
.form > label {
    display: block;
    overflow: hidden;
}
.form .form-agb,
.form .form-newsletter {
    float: left;
    margin-top: 5px;
    margin-right: 10px;
    width: inherit;
}
.form .form-submit {
    float: right;
    width: initial;
}
.form .form-str, .form .form-plz {
    margin-right: 6px;
}
#partner-wrap {
    list-style: none;
    margin: 0;
    /*overflow: hidden;*/
    padding: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 40px;
    margin: 0 auto;
    width: 960px;
    z-index: 10;
}
#partner-wrap.partner-stiky {
bottom: inherit;
padding: 10px 0 0;
position: fixed;
top: 0;
}
#partner-wrap li{

    -webkit-box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.4);
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.4);

    background: #efefef;
    cursor: pointer;
    float: left;
    margin: 0 1%;
    position: relative;
    width: 18%;
}
#partner-wrap li:hover {
    -webkit-box-shadow: 4px 4px 15px 0px rgba(0,0,0,0.4);
    box-shadow: 4px 4px 15px 0px rgba(0,0,0,0.4);
}
#partner-wrap li img {
    -webkit-transition: padding 200ms ease-in;
    -moz-transition: padding 200ms ease-in;
    -ms-transition: padding 200ms ease-in;
    -o-transition: padding 200ms ease-in;
    transition: padding 200ms ease-in;
    padding: 20px 40px;
}
#partner-wrap li:hover img,
#partner-wrap li.active img{
    padding: 0px 0px;
}
#partner-wrap li span{
    -webkit-transition: color 200ms ease-in;
    -moz-transition: color 200ms ease-in;
    -ms-transition: color 200ms ease-in;
    -o-transition: color 200ms ease-in;
    transition: color 200ms ease-in;
    font-size: 10px;
    color: #aaa;
    position: absolute;
    bottom: 1px;
    right: 3px;
    text-transform: uppercase;
    text-shadow: none;
}
#partner-wrap li:hover span,
#partner-wrap li.active span{
    color: transparent;
}
.partner-info {
    display: none;
}
#overlay-inner-content {
    letter-spacing: -0.31em;
}

#overlay .partner-map {
display: inline-block;
position: relative;
text-align: right;
width: 43%;
padding-left: 2%;
vertical-align: top;

}

#overlay .partner-map img{
    margin: 1em 0;
    display: block;
    max-height: 380px;
}
#overlay .partner-map span{
    display: block;
}

#overlay .partner-text {
    display: inline-block;
    width: 56%;
    vertical-align: top;
}

.katalog-pic {
    max-width: 100%;
    height: auto;
}
img.testPositionEntfernen {
margin: 50px;
width: 70%;
}

#katalog .form {
    float: left;
    margin-right: 20px;
    overflow: hidden;
    position: static;
    padding-bottom: 30px;
    width: 280px;
}
.form-submit {
    -webkit-transition: background 200ms ease-in;
    -moz-transition: background 200ms ease-in;
    -ms-transition: background 200ms ease-in;
    -o-transition: background 200ms ease-in;
    transition: background 200ms ease-in;
    border: none;
    background: #7CCD7C;
    color: #fff;
}
.form-submit:hover {
    background: #43CD80;
}

#katalog .form ol {
    margin-right: 50px;
    width: 252px;
}
#katalog .form .form-submit {
/*    position: absolute;
    right: 30px;
    bottom: 15px;
    margin-bottom: 0; */
}
.message {
    color: #43CD80;
    margin-bottom: 5px;
}

#overlay {
    background-color: rgba(0, 0, 0, 0.4); 
    color: rgba(0, 0, 0, 0.8);
    list-style: none;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    left: -9999px;
    width: 100%;
    height: 100%;
    z-index: 5;
}
#overlay-inner {
    -webkit-transition: top 400ms ease-in;
    -moz-transition: top 400ms ease-in;
    -ms-transition: top 400ms ease-in;
    -o-transition: top 400ms ease-in;
    transition: top 400ms ease-in;
    -webkit-box-shadow: 0px 0px 25px 2px rgba(0,0,0,0.6);
    box-shadow: 0px 0px 25px 2px rgba(0,0,0,0.6);
    background: #fff;
    font-size: 75%;
    margin: 0 auto;
    padding: 20px;
    position: absolute;
    left: 0;
    right: 0;
    top: 20px;
    width: 960px;
    max-height: 80%;
    overflow: auto;
}
i.fa-times {
    cursor: pointer;
    font-size: 3em;
    margin: 0;
    padding: 10px 20px;
    position: absolute;
    right: 0;
    top: 0;
}
i.fa-times:hover {
    color: #E21F17;
}

footer {

    background: #D0CCC9;
    color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
}
footer a {
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 1px #000;
}
footer a:active,
footer a:focus,
footer a:visited {
    color: #fff;

}
#footer-wrap {
    margin: 0 auto;
    overflow: hidden;
}
footer ul {
    list-style: none;
    margin: 0 -10px;
    overflow: hidden;
    padding: 0;
}
footer ul li {
    float: left;
    padding: 5px 10px;
}




/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
