div.fendler-box {
    position:relative;
    clear:both;
    float:none;
    width:100%;
}

div.fendler-box.fendler-box-broschure ,
div.fendler-box.fendler-box-office ,
div.fendler-box.fendler-box-adv ,
div.fendler-box.fendler-box-date.fendler-box-full ,
div.fendler-box.fendler-box-branches-list ,
div.fendler-box.fendler-box-subsite ,
div.fendler-box.fendler-box-form ,
div.fendler-box.fendler-box-location {
    margin:0 0 1.5em 0;
    padding:0 0 2.5em 0;
    background:url('../images/bg-fendler-box-fallback.png') bottom center no-repeat;
    min-height:20em;
min-height:6em;
}

div.fendler-box.fendler-box-broschure ,
div.fendler-box.fendler-box-office.fendler-box-full ,
div.fendler-box.fendler-box-adv.fendler-box-full ,
div.fendler-box.fendler-box-branches-list ,
div.fendler-box.fendler-box-subsite ,
div.fendler-box .fendler-box-form {
    margin-top:1em;
}
div.fendler-box.fendler-box-broschure {
    text-align:left;
}
div.fendler-box.fendler-box-broschure , div.fendler-box.fendler-box-office.fendler-box-full , div.fendler-box.fendler-box-adv.fendler-box-full , div.fendler-box.fendler-box-form {
/*    padding-top:1em;
    border-top:2px solid #cacac9;
    border-top:2px solid rgba(112,112,112,0.25);*/
}

div.fendler-box.fendler-box-form {
    padding-bottom:115px;    
}

div.fendler-box-office .content-right , .fendler-box-adv .content-right , .fendler-box-location .content-right {
    position:relative;
    float:right;
    width:35%;
    height:auto;
    top:0;
    margin:0 0 2em 2em;
}
.fendler-box-location .content-right {
    width:50%;
}
div.fendler-box-office.fendler-box-short .content-right , .fendler-box-adv.fendler-box-short .content-right , .fendler-box-location.fendler-box-short .content-right {
    margin-top:2em;
}

div.fendler-box-subsite .content-left {
    position:relative;
    float:left;
    width:32.5%;
    min-height:100px;
    height:auto;
    _height:100pxem;
    top:0;
    margin:0 2.5% 0 0;
}

div.fendler-ornament {
    clear:both;
    float:none;
    margin:1em 0 2em 0;
    width:100%;
    height:50px;
    background:url('../images/bg-fendler-box-fallback.png') bottom center repeat-x;
}

.fendler-box .fendler-title {
    font-size:1.35em;
    color:#c10a15;
/*    max-width:60%;
    _width:60%;*/
/*    margin-top:1.5em;
    margin-bottom:0;*/
}

div.fendler-box.header-box {
    position:relative;
    width:100%;
    margin:2em 0 1em 0;
}

.fendler-box-short .header-box {
    display:none;
}
.fendler-box-short .header-box p , .fendler-box-short .header-box h4 , .fendler-box-short  .header-box ul , .fendler-box-short .header-box ol {
    margin:0;
}
.fendler-box-short .header-box h3 {
    margin:0.5em 0;
}


span.fendler-box {
    margin:0;
    padding:0;
}

.link-to-post {
    clear:both;
    position:relative;
    right:0;
    color:#a0a0a0;
    text-align:right;
}


/* Select */

.fendler-box.fendler-box-search-branches {
    padding:1em 2em;
    background-color:#707070;
    background-color:rgba(128,128,128,0.8);
}
.fendler-box.fendler-box-search-branches .inner-box {
    position:relative;
    width:100%;
}
.fendler-box.fendler-box-search-branches .inner-box * {
    margin-top:0 !important;
    margin-bottom:0.5em !important;
}
.fendler-box.fendler-box-search-branches .inner-box h2 {
    color:#fff;
}

.fendler-box .select {
    float:left;
    margin:1em 1em 1em 0;
    padding:0.125em 1.25em 0.075em 1.25em;
    height:1.85em;
    border:1px solid #cacac9;
    border:1px solid rgba(112,112,112,0.25);
    font-weight:normal;
    font-size:0.875em;
}
.fendler-box .select .select-option {
    padding:0.125em 0.5em 0 1em;
    margin:0;
}

.fendler-box .button {
    width:auto;
    min-width:0;
    border-top:1px solid #e05566;
    border-left:1px solid #e05566;
    border-bottom:1px solid #a80014;
    border-right:1px solid #a80014;
    background-color:#d10019;
}
.fendler-box .button:active , .fendler-box .button:hover {
    border-top:1px solid #8a000c;
    border-left:1px solid #8a000c;
    border-bottom:1px solid #d43846;
    border-right:1px solid #d43846;
    background-color:#aa000f;
}

.link-to-directory {
    margin:2em 0 -2em 0;
    padding:0.5em 0 0  0;
    width:100%;
    text-align:center;
    border-top:2px solid #cacac9;
    border-top:2px solid rgba(112,112,112,0.25);
    color:#a0a0a0;
}

/* Funktionen */

.fendler-box .expand-button , .fendler-box .collapse-button {
    display:none;
}

.fendler-action .body-box {
    display:none;
}
.fendler-action .header-box {
    display:block;
}
.fendler-action .expand-button , .fendler-action .collapse-button {
    display:inline-block;
    _display:inline;
}



/* Spezielles */

.fendler-box-adv p , .fendler-box-adv ul , .fendler-box-adv ol , .fendler-box-office p , .fendler-box-office ul , .fendler-box-office ol {
    margin-bottom:0.35em;
}
.fendler-box-adv h2 , .fendler-box-adv h3 , fendler-box-office h2 , .fendler-box-office h3 {
    margin-bottom:0.35em;
    margin-top:1em;
}

.fendler-box-full .fendler-box-office-item , .fendler-box-full .fendler-box-adv-item , .fendler-box-full .fendler-box-location-item {
    position:relative;
    top:0;
    left:0;
    width:100%;
    margin:1em 0;
    padding:0;
}
.fendler-box-full .fendler-box-office-item {
    margin-bottom:2em;
}
.fendler-box-full .fendler-box-subsite-item {
    position:relative;
    top:0;
    left:0;
width:47.5%;
    margin:0 1.125% 1em 1.125%;
    padding:0;
    float:left;
}

.fendler-box-subsite.wide .fendler-box-subsite-item .content-left {
    float:none;
    margin:0 0 0.5em 0;
    min-height:0;
    max-height:160px;
    width:100%;
    overflow:hidden;
}
.fendler-box-subsite.wide .fendler-box-subsite-item h3.subsite-title {
    text-align:center;
    margin-top:0;
}
.fendler-box-subsite.wide .fendler-box-subsite-item p.subsite-excerpt {
    display:none;
}  

.fendler-box-short .fendler-box-office-item , .fendler-box-short .fendler-box-adv-item , .fendler-box-date li , .fendler-box-short .fendler-box-location-item {
    position:relative;
    top:0;
    left:-40px;
    width:100%;
    margin:1em 0;
    padding:10px 0 0 40px;
    min-height:80px;
min-height:60px;
    background:url('../images/bg-item-fallback.png') top left no-repeat;
    overflow:hidden;
}
.fendler-box-short .fendler-box-item .header-box , .fendler-box-short .fendler-box-item .body-box {
    border-top:1px solid transparent;
}
.fendler-box-short .fendler-box-item .body-box {
}

.fendler-box-broschure .content-right {
    float:right;
    width:35%;
    height:auto;
    margin:-0.5em 0 2em 2em;
/*margin:2em 0 2em 2em;*/
}
.fendler-box-broschure .content-right img {
    -ms-transform:rotate(3deg);
    -webkit-transform:rotate(3deg);
    -moz-transform:rotate(3deg);
    transform:rotate(3deg);
    
    box-shadow:rgba(0,0,0,0.5) 5px 8px 15px;
    width:100%;
    height:auto;
}

.fendler-box.fendler-box-broschure h5  , .fendler-box.fendler-box-form input[type='submit'] {
    border-top:1px solid #e05566;
    border-left:1px solid #e05566;
    border-bottom:1px solid #a80014;
    border-right:1px solid #a80014;
    background-color:#d10019;
}
.fendler-box.fendler-box-broschure h5:active , .fendler-box.fendler-box-broschure h5:hover , .fendler-box.fendler-box-form input[type='submit']:active , .fendler-box.fendler-box-form input[type='submit'] submit:hover {
    border-top:1px solid #8a000c;
    border-left:1px solid #8a000c;
    border-bottom:1px solid #d43846;
    border-right:1px solid #d43846;
    background-color:#aa000f;
}
.fendler-box.fendler-box-form .field-required , .wpcf7-not-valid-tip {
    color:#d10019 !important;
}
.wpcf7-form-control wpcf7-submit {
    margin:2em;
}
div.wpcf7-response-output {
    position:absolute !important;
    z-index:99 !important;
    top:auto !important;
    bottom:35px !important;
    font-size:0.875em !important;
    background-color:#fff !important;
}
div.wpcf7-validation-errors {
    border:2px solid #a0a0a0 !important;
}


.fendler-box-date.fendler-box-full li {
    list-style-type:none;
    padding-top:40px;
    margin-bottom:1em;
}
.fendler-box-date.fendler-box-full li b , .fendler-box-date.fendler-box-full li strong , .fendler-box-date.fendler-box-full li a {
	margin:0 0 0.5em 0;
	display:inline-block;
	_display:block;
	color:#d10019;
	font-weight:normal;
}
.fendler-box-date.fendler-box-full li b+br , .fendler-box-date.fendler-box-full li strong+br , .fendler-box-date.fendler-box-full li a+br {
}

.fendler-box-subsite-item h3.subsite-title {
    margin-bottom:0;
    text-align:left;
    font-weight:normal;
}
.fendler-box-subsite-item p.subsite-excerpt {
    font-weight:bold;
    font-weight:normal;
    text-align:left;
}    
.fendler-box-subsite-item a {
    text-decoration:none;
}
.fendler-box-subsite .fendler-box-separator {
    display:none;
}
.fendler-box-subsite .fendler-box-separator-3 {
    clear:both;
    margin:0;
    display:block;
}
.fendler-box-subsite .wp-caption , .fendler-box-subsite img {
    margin-top:0 !important;
}

.fendler-box-branches-list li {
    position:relative;
    float:left;
    width:20%;
    margin:1em 5% 0.5em 0;
    list-style-type:none;
    font-family:'Oswald',sans-serif;
    font-size:1.25em;
    font-weight:normal;
    line-height:1.5em;
    color:#707070;
    height:2em;
}
.fendler-box-branches-list li a {
    text-decoration:none;
}
.fendler-box-branches-list li a:hover {
    color:#d10019;
}

div.fendler-box.fendler-box-random-text {
    margin:2em 0 1em 0;
}

.fendler-box.fendler-box-random-text * {
    color:#a0a0a0;
}

.fendler-edit-link {
    position:absolute;
    z-index:9;
    top:35%;
    right:0;
    display:block;
    font-size:11px;
    margin:-18px 0 0 0;
    padding:2px 10px 0 10px;
    background-color:#909090;
    color:#fff;
    max-width:180px;
    height:18px;
    overflow:hidden;
    white-space:nowrap;
    opacity:0;
    transition:opacity 350ms ease-in-out;
}
.fendler-edit-link a {
    text-decoration:none;
    color:inherit;
    color:#fff !important;
}

.fendler-box:hover .fendler-edit-link {
    opacity:1;
}
.fendler-box:hover .fendler-box-item .fendler-edit-link {
    opacity:0;
}
.fendler-box .fendler-box-item:hover .fendler-edit-link {
    opacity:1;
}


/* HIGH RES BACKGROUNDS */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    
/*    div.fendler-box.fendler-box-broschure , div.fendler-box.fendler-box-office , div.fendler-box.fendler-box-adv , div.fendler-box.fendler-box-date.fendler-box-full , div.fendler-box.fendler-box-branches-list , div.fendler-box.fendler-box-subsite , div.fendler-box.fendler-box-form {
        background-image:url('../images/bg-fendler-box.png');
        background-size:840px 45px;
    }
    div.fendler-ornament {
        background-image:url('../images/bg-fendler-box.png');
        background-size:840px 45px;
    }
    .fendler-box-short .fendler-box-office-item , .fendler-box-short .fendler-box-adv-item , .fendler-box-date li {
        background-image:url('../images/bg-item.png');
        background-size:380px 120px;
    }*/

}


/* HUGE SCREENS */
@media screen and (min-width:1280px ) {
     body {
	font-size:105.01%;
    }
    .fendler-box-broschure .content-right {
	width:30%;
    }

.fendler-box-full .fendler-box-subsite-item {
	width:30.75%;
    }
}


/* TABLET ONLY (PORTRAIT) */
/* SMALLER TBALETS / PHONES */
@media screen and (max-device-width:980px) and (orientation:portrait) , screen and (max-device-width:760px) , screen and (max-width:760px) , print {
    
    .fendler-box-branches-list li {
        width:28%;
    }
    
}


/* SMALLEST SCREENS */
@media screen and (max-device-width:600px) , screen and (max-width:600px) {

    div.fendler-box.fendler-box-broschure , div.fendler-box.fendler-box-office , div.fendler-box.fendler-box-adv , div.fendler-box.fendler-box-date.fendler-box-full , div.fendler-box.fendler-box-branches-list , div.fendler-box.fendler-box-subsite , div.fendler-box.fendler-box-form {
        background-size:560px auto;
        padding-bottom:35px;
    }
    div.fendler-ornament {
        background-size:560px auto;
        padding-bottom:35px;
    }
    div.fendler-box.fendler-box-form {
        padding-bottom:10em;    
        
    }

    div.fendler-box.fendler-box-broschure .content-right , div.fendler-box-office .content-right, .fendler-box-adv .content-right {
        float:none;
        width:100%;
        margin-left:0;
        margin-right:0;
        text-align:center;
        margin-bottom:-0.5em;        
    }
    div.fendler-box-broschure .content-right img  , .div.fendler-box-office .content-right img , .fendler-box-adv .content-right img {
        width:auto !important;
        max-width:100% !important;
        height:auto !important;
        max-height:240px !important;
        display:inline;
        margin-bottom:0;
    }
    
    .fendler-box.fendler-box-search-branches {
        width:100%;
        padding:0;
    }
    .fendler-box.fendler-box-search-branches .inner-box {
        margin:0;
        width:auto;
        border:0px none;
    }
    .fendler-box.fendler-box-search-branches .inner-box  h2 {
        font-size:0.875em !important;
    }
    .fendler-box .select , .fendler-box .button {
        width:100%;
        margin:0 0 0.5em 0;
    }
    .fendler-box.fendler-box-branches-list {
        display:none;
    }

    div.fendler-box-subsite .content-left {
        display:none;
    }
    .fendler-box-subsite-item h2.subsite-title {
        font-size:0.875em !important;
        margin-bottom:0.5em;
    }
    .fendler-box-subsite-item p.subsite-excerpt {
        font-weight:normal;
    }
    
    .fendler-box.fendler-box-broschure h5, .fendler-box.fendler-box-form input[type="submit"] {
        width:69%;
        padding:0.75em 15% 0.5em 15%;
    }
    
    .fendler-box .fendler-title {
        max-width:100%;
    }
    
    .link-to-post {
        text-align:left;
    }    
    
}
