/**** GENERAL ***/

/* baumans-regular - latin */
@font-face {
    font-family: 'Baumans';
    font-style: normal;
    font-weight: 400;
    src: url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fileadmin/templates/assets/fonts/baumans-v17-latin-regular.svg#Baumans') format('svg'); /* Legacy iOS */
  }
  
html, body {
    height: 100%;
    color: #363844;
    font-size: 16px;
    padding: 0px;
    margin: 0px;
}

body {
    background: #ffffff url(/fileadmin/templates/img/bg_body.jpg) repeat top left;
    font-family: 'Baumans', cursive;
    overflow-y: scroll;
}

.wrap {
    display: table;
    max-width: 1485px;
    width: 100%;
    height: 100%;
    margin: 0px auto;
    float: none;
    padding: 0px;
    overflow: hidden;
    box-shadow: 0px 0px 3px 3px #b1afaf;
    -webkit-box-shadow: 0px 0px 3px 3px #b1afaf; /* WebKit */
    -moz-box-shadow: 0px 0px 3px 3px #b1afaf; /* Firefox */
    box-shadow: 0px 0px 3px 3px #b1afaf; /* Standard */
}

.row {
    margin: 0px;
}

.page-row {
    display: table-row;
}

.page-row-expanded {
    height: 100%;
}

.contentwrap {
    background: #ffffff;
}

.content {
    line-height: 2em;
    padding-top: 50px;
    padding-bottom: 50px;
}

img {
    max-width: 100%;
    height: auto;
    width: auto;
}

@media screen and (-ms-high-contrast: active) , (-ms-high-contrast: none) {
    img, .keyvisual img {
        width: 100% !important;
    }

}

@-moz-document url-prefix() {
img, .keyvisual img {
width: 100% !important;
}
}

.content img {
    border: 5px solid #ffffff !important;
    box-shadow: 0px 0px 10px 0px #b1afaf;
    -webkit-box-shadow: 0px 0px 10px 0px #b1afaf; /* WebKit */
    -moz-box-shadow: 0px 0px 10px 0px #b1afaf; /* Firefox */
    box-shadow: 0px 0px 10px 0px #b1afaf; /* Standard */
}

.logowrap-sm {
    height: 170px;
    width: 100%;
    background: #0065c9 url(/fileadmin/templates/img/Zimmerei_Behrens_Logo.png) no-repeat center center;
    background-size: contain;
}

.logowrap-md {
    display: none;
}

.kvwrap {
    display: none;
}

h1, h2 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0px;
}

a {
    color: #0065c9;
}

a:hover {
    color: #363844;
}

.affix {
    z-index: 1000;
    top: 0px;
    width: 100%;
}

/**** INHALT ****/

.navbar {

    margin-bottom: 0px;
}

.keyvisual img {
    max-width: 100%;
    height: auto;
    width: auto;
    border: none;
}

iframe {
    width: 100%;
    height: 350px;
    border: none;
}

#googlemaps {
    min-height: 200px;
    border: none;
}

.grids:first-of-type {
    padding-left: 0px;
}

.grids h2 {
    font-size: 16px;
    font-weight: bold;
}

.Tx-Formhandler .container {
    width: inherit;
    margin: 0px;
    padding: 0px;
}

.Tx-Formhandler button {
    width: 100%;
}

.form-horizontal .control-label {
    text-align: left;
}

textarea.form-control {
    resize: none;
}

.zurueck {
    margin-top: 50px;
    color: #0065c9;

}

.zurueck:hover {
    text-decoration: none;
    color: #363844;
}

.csc-textpic-caption {
    text-align: center !important;
    font-size: 14px;
}

div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image {
    margin-right: 0px;
}

figure {
    margin: 0;
    display: table;
}

figcaption {
    display: table-caption;
}

.csc-textpic-intext-left-nowrap .csc-textpic-text {
    margin: 0px;
}

/**** FOOTER ****/
.footer {
    background: #0064c6 url(/fileadmin/templates/img/bg_footer.jpg) repeat top left;
    color: #ffffff;
    line-height: 2em;
    font-size: 14px;
}

.footer a {
    color: #ffffff;
}

.footer a:hover {
    color: #a7cef4;
    text-decoration: none;
}

.footer ul {
    margin: 0px;
    padding: 0px;
    list-style-type: none;
}

.footer > div {
    padding-top: 20px;
}

.footer ul li {
    margin-bottom: 15px;
}

.fa-stack {
    width: 2.5em;
}

.fa-info, .fa-paragraph, .fa-phone, .fa-envelope, .fa-align-left {
    color: #0065c9;
}

.fa-paragraph:before {
    font-weight: bold;
    content: '§';
}

@media (max-width: 992px) {
    .grids {
        padding: 0px;
        padding-top: 20px;
    }

    div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-left .csc-textpic-imagewrap, div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
        float: none;
        margin: 0px;
    }

    .csc-textpic-intext-left-nowrap .csc-textpic-text, .csc-textpic-intext-right-nowrap .csc-textpic-text {
        margin: 0px;
    }

}

@media (min-width: 736px) {
    div.csc-textpic-imagecolumn, td.csc-textpic-imagecolumn .csc-textpic-image {
        margin-right: 30px;
    }
}

@media (max-width: 600px) {
    div.csc-textpic-intext-right .csc-textpic-imagewrap, div.csc-textpic-intext-left .csc-textpic-imagewrap, div.csc-textpic-intext-left-nowrap .csc-textpic-imagewrap, div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap {
        float: none;
        margin: 0px;
    }

    .csc-textpic-intext-left-nowrap .csc-textpic-text, .csc-textpic-intext-right-nowrap .csc-textpic-text {
        margin: 0px;
    }
}

@media (min-width: 768px) {

    .logowrap-sm {
        display: none;
    }

    .logowrap-md {
        display: block;
        /*height: 50%;*/
        max-width: 33.6%;
        /*max-height: 396px;*/
        position: absolute;
    }

    .kvwrap {
        display: block;
    }

    .navigation {
        position: absolute;
        right: 0;
        top: 0;
        background: url(/fileadmin/templates/img/bg_navi.png) repeat top left;
    }

    .affix {
        position: static;
    }

    #navbar {
        display: table !important;
        width: 100%;
        padding: 0px;
    }
    .navbar {

        min-height: 50px;
        border: 0px solid transparent;
    }

    .navbar-default, .navbar-default .navbar-collapse, .navbar-default .navbar-form {
        background-color: transparent;
        border-color: transparent;
    }

    .navbar-nav {
        float: right;
        display: table-row;
    }

    .nav > li {
        display: table-cell;
        vertical-align: bottom;
    }

    .navbar-nav > li {
        float: none;
    }

    .navbar-default .navbar-nav > li > a {
        color: #0065c9;
        text-transform: uppercase;
        font-size: 18px;
        padding: 30px 10px;
    }

    .navbar-default .navbar-nav > li > a:hover {

        color: #ffffff;
    }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        color: #ffffff;
        background-color: transparent;
        background-color: #0065c9;
        margin-bottom: -15px;
        padding-top: 70px;
        padding-bottom: 5px;
    }

    iframe {

        height: inherit;
    }

    .galerie > .col-sm-6:nth-of-type(2n+3) {
        clear: left !important;
    }
}

@media (min-width: 960px) {
    footer div:first-of-type {
        padding-left: 0px;
    }

    .navigation {
        position: absolute;
        right: 30px;
        top: 0;
    }

    .navbar-default .navbar-nav > li > a {
        color: #0065c9;
        text-transform: uppercase;
        font-size: 18px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #navbar {

        padding: 0px 15px;
    }

    .content img {
        margin: 10px 10px;
    }

    .content img {
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .grids .csc-textpic-imagewrap {
        max-height: 200px;
    }

    .grids img {
        object-fit: cover;
        height: auto;
        max-height: 200px;
        width: 100%;
    }

    @-moz-document url-prefix() {
    .grids img {

    max-height: inherit;

    }
    }

    _:-ms-fullscreen, :root .grids img {
        max-height: inherit;
    }

    .mitte {
        border-left: 1px dotted #7d7d7d;
        border-right: 1px dotted #7d7d7d;
    }

    .galerie > .col-sm-6:nth-of-type(2n+3) {
        clear: none !important;
    }
    
    .galerie > .col-md-4:nth-of-type(3n+1) {
        clear: left !important;
    }



    .galerie img {
        max-width: 100%;
    }
}

.Tx-Formhandler .help-block {
    color: #a94442;
}


