.row {
    margin-left: 0px;
    margin-right: 0px;
}

.header_contact {
    font-size: 16px;
    color: #999;
}

.header_contact > a:link, .header_contact > a:visited, .header_contact > a:hover, .header_contact > a:active {
    font-size: 16px;
    color:#999;
}

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-right: 0px;
    padding-left: 0px;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 300;
    src: url(../fonts/Ubuntu/Ubuntu-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url(../fonts/Ubuntu/Ubuntu-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 500;
    src: url(../fonts/Ubuntu/Ubuntu-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url(../fonts/Ubuntu/Ubuntu-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 300;
    src: url(../fonts/Ubuntu/Ubuntu-LightItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 400;
    src: url(../fonts/Ubuntu/Ubuntu-Italic.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 500;
    src: url(../fonts/Ubuntu/Ubuntu-MediumItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: italic;
    font-weight: 700;
    src: url(../fonts/Ubuntu/Ubuntu-BoldItalic.ttf) format('truetype');
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

body {
    font-family: 'Ubuntu';
    background-color: #d0d0d0;
}

.starter-template {
  padding-top: 20px;
//  padding-bottom: 40px;
  padding-left: 45px;
  padding-right: 42px;
  text-align: center;
}

.footer {
    color: #999;
    background: #fff;
    padding: 20px 0;
    font-size: 11px;
    line-height: 22px;
}
.footer a {
    color: #999;
}
.footer a:hover {
    color: #B90000;
}
.footer .left {
    float: left;
    color: #000;
    display: block;
    margin-bottom: 10px;
}
.footer .right {
    float: right;
    display: block;
    margin-bottom: 10px;
}
.footer span {
    padding: 0 3px;
    color: #bbb;
}
.footer .primary,
.footer .primary ul {
    display: inline;
    margin: 0;
    padding: 0;
}
        .footer .primary li {
            display: inline;
        }
.ie6 .footer .primary li,
.ie7 .footer .primary li { /* this is a bugfix for ie6/7 */
    display: inline;
    zoom: 1;
    margin-right: 10px;
}
.footer .primary li:after { /* adds '/' to separate the footer navigation items */
    padding: 0 3px 0 5px;
    content: '/';
    color: #999;
}
.footer .primary li:last-child:after {
    content: ''; /* makes sure last nav item doesn't have a '/' following it */
}
.footer .arrow {
    padding: 0 8px 0 5px;
    color: #b80000;
    font-size: 13px;
}
.footer .primary .nav-open-button {
    display: none; /* the footer includes the primary nav include - this makes sure the nav open close button doesn't show up */
}

hr {
    border-top: 1px solid #333;
}

header hr {
    margin-top: 0;
    height: 12px;
    background-color: #695d5d;
}

.main_container {
    background-color: #ffffff;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

header h1 {
    font-weight: 300;
    font-size: 22px;
}

header .logo {
    margin-left: 75px;
}

.header_links {
    color: #000000;
    font-size: 16px;
    float: right;
    word-spacing: 0.4em;
    margin-right: 45px;
    margin-top: 10px;
}

.header_links a {
    font-size: 16px;
    color: #000000;
}

.header_links a.facebook {
    font-weight: bolder;
    font-size: 22px;
    color: #999999;
}

.navbar_left {
    background-color: #333;
    margin-top: 52px;
    margin-left: 20px;
    padding-left: 90px;
    padding-top: 40px;
    min-width: 270px;
    min-height: 385px;
}

.navbar_left ul {
    list-style: none;
    font-size: 15px;
    line-height: 2;
}

.navbar_left a {
    color: white;
}

.navbar_left_text {
    font-weight: lighter;
    text-align: right;
    font-size: 18px;
    font-style: italic;
    margin-left: 25px;
    min-width: 250px;
    width: 250px;
    margin-top: 13px;
    margin-bottom: 40px;
    line-height: 1.5;
    color: #000000;
} 

footer {
    color: #685d5d !important;
    background-color: #fff;
}

footer a{
    color: #685d5d !important;
}

footer p, footer h3 {
    text-align: center;
}

footer p {
    font-weight: lighter;
    font-size: 14px;
}

footer h3 {
    font-size: 18px;
}

footer h4 {
    font-size: 18px;
}

footer label {
    font-weight: lighter;
}

footer input {
    width: 100%;
    border: none;
}

footer input[type=submit] {
    color: #fff !important;
    border: none;
    width: 170px;
    background-color: #695d5d;
    border-radius: 0;
}

footer textarea {
    padding-bottom: 0;
    width: 100%; 
    max-width: 100% !important;
}

footer label {
    line-height: 18px;
}

footer h4 {
    margin-left: 20px;
    font-weight: 500;
}

footer form {
    width: 90%;    
    max-width: 100%;
    margin-left: 20px;
}

#gallery_container {
    height: 380px;
}

#gallery_container img{
    margin-top: 35px;
}

.img_orange-border {
    width: 465px;
    padding: 10px;
    background-color: #333;
    margin-bottom: 10px;
}

.img_right {
    margin-bottom: 10px;
    text-align: center;
}

.bx-wrapper {
    max-width: 92% !important;
    padding-left: 10px;
}

#gallery_container img {
    margin-top: 0;
}

.bx-wrapper .bx-viewport {
    box-shadow: none;
    border: none;
}

.bx-caption {
    text-align: left;
    padding: 15px;
    font-size: 18px;
    left: auto !important; 
    width: 50% !important;
    right: 20px !important;
    bottom: 20px !important;
}

.col-md-8 img {
    height: 310px;
}

.col-md-4 img {
    height: 310px;
}

.submenu {
    padding-left: 10px;   
}

.submenu .link, .submenu .current {
    line-height: 20px;
}

.submenu .current a {
    font-weight: bold;
}

.submenu a {
    font-size: 12px;
}

.title_image {
    padding-top: 50px;
    padding-left: 45px;
}

article {
    margin-top: -22px;
}

article h1, article p {
    text-align: left;
    color: #333333;
}

article h1 {
    font-size: 16px;
    margin-bottom: 30px;
}

header .subtitle {
    margin-top: 90px;
    margin-left: 10px;
}

.navbar_mobile {
    width: 100%;
    background-color: #333;
    display: none;
}

.navbar_mobile img {
    margin-left: 15px;
    margin-top: -9px;
}

.navbar_mobile span {
    color: white;
    font-size: 24px;
    display: inline-block;
    padding-top: 19px;
}

.navbar_left_text {
    display: block;
}
    
.navbar_left_text_mobile {
    display: none;
}

.PhotoGallery #content_area{
    padding-left:45px; /* war mal: 70px */
}

#content_area {
    padding-left:45px;
}

.photo-gallery-name {
    display: none;
}

#photo-albums {
    list-style-type: none;    
    padding: 0;
    margin-top: 20px;
}

#photo-albums li {
    float: left;
    margin: 10px;
}

#photo-albums li:first-child {
    margin-left: 0px;
}

.other-albums {
    display: none;
}

.navbar-top {
    margin-top: 25px;
    list-style-type: none;
}

.navbar-top li {
    float: left;
}

.navbar-top li a {
    color: #000000;
    font-size: 18px;
    padding: 0 10px;
    border-right: 1px #000000 solid;
}

.navbar-top li:last-child a {
    border-right: none;
}

#footer_kontaktdaten {
    /*margin-right: 47px;*/
    height: 370px;
    background-image: url('../images/tischlerei_ellendorff_kontakt_background.jpg');
    background-repeat: no-repeat;
    background-position: center; 
}

iframe {
    width: 98.9%;
}

.col-md-12 {
    text-align: left;
}

@media (max-width: 992px) {
    .map {
        height: 50vh;
    }
    
    .no_mobile {
        display: none;
    }
    
    .navbar_mobile {
        display: block;
    }
    
    .header_links {
        /* margin-top: -203px; */
        margin-right: 20px;
    }
    
    header .logo {
        margin-left: 20px;
/*        margin-top: 10px;*/
    }
    
    header .subtitle {
/*        margin-top: 20px; margin-left: 40px;*/
	margin-top: 140px;
/*	margin-left: 240px;*/
    }

    .subtitle img {
/*        max-width: 90%; */
    }
    
    .navbar_left {
        display: none;
        margin-top: 0px;
        margin-left: 0px;
        padding-left: 0px;
        padding-top: 0px;
        min-height: 0px;
        width: 100%;
    }  
        
    .navbar_left_text {
        display: none;
    }
    
    .navbar_left_text_mobile {
        display: block;
    }

    .col-md-8 img { 
        height: auto;
    }
    
    .navbar_left_text_mobile {
        font-weight: lighter;
        text-align: center;
        font-size: 20px;
        font-style: italic;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
        line-height: 1.5;
        color: #999999;
    } 
    
    .img_orange-border {
        width: 100%;
    }
    
    .img_orange-border img {
        width: 100%;
        height: auto;
    }
    
    .starter-template {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .title_image {
        padding-left: 10px;
        padding-right: 10px;
        width: 100%;
        height: auto;
    }    
    
    .impressum {
        width: 100%;
        background-color: #bab4b4;
        color: #fbfbfb !important;
        display: block;
        margin-top: 25px;
        font-weight: 400;
        font-size: 26px;
        padding: 20px;
    }
    
    footer input[type=submit] {
        font-weight: 400;
        font-size: 26px;
        padding: 20px;
    }
    
    footer p {
        line-height: 22px;
        font-size: 14px;
    }

    iframe {
        padding-right: 0px !important;
	max-width: 92%;
	padding-left: 10%;
        padding-top: 20px;
    }

    #gallery_container {
        height: calc(36vw) !important;
    }

    .navbar-top {
        display: none;
    }

    .col-md-12 {
        text-align: center;   
    }

}

@media (max-width: 600px) {
    
//    .bx-wrapper {
//        padding-top: 10px !important;
//        height: 100%;
//        max-width: 100% !important;
//    }
    
    .bx-viewport {
        height: 100% !important;
    }
    
    #gallery_container {
//        margin-left: -10px;
//        margin-right: -10px;
        background-image: none;
        margin-bottom: 25px;
        height: auto;
    }

    header .subtitle {
/*        margin-top: 20px; margin-left: 40px;*/
	margin-top: -70px;
	margin-left: 240px;
    }

    .subtitle img {
        width: 90%;
    }

    .header-links: {
        font-size: 14px;
	max-width: 40%;
    }
    .header-links a: {
        font-size: 14px;
    }
    
    .bx-caption {
        text-align: center;
        padding-top: 0px;
        padding-bottom: 0px;
        width: 100% !important;
        bottom: 0px !important;
    }
    
    footer input[type="submit"] {
        margin-left: -20%;
        width: 140%;
    }

    .navbar_left_text_mobile { 
        margin-top: -10px;
    }

}

@media (min-width: 992px) {

}

@media (max-width: 500px) {
    #content_area {
        padding-left: 0;
    }
    
    header .logo {
/*        margin-top: 30px;*/
    }
    header .subtitle {
        margin-top: 0px;
	margin-left: 0px;
    }
    
    .header_links {
        max-width: 100%;
        margin-top: -203px;
        text-align: right;
    }

    .header_links span {
        display: none;
    }

   
    .captionImage {
	max-width: 90%;
    }

    .captionImage img {
	max-width: 100%;
    }

    .col-md-8 img {
        max-width: 100%;
    }

    .navbar_left_text_mobile {
        margin-top: -10px;
    }
}

@media (min-width: 992px) {
    iframe {
        margin-left: -43px;
    }
}

