/*
    Author:   Martin Stettler (http://dieweberei.ch/)
    Version:  05092016
*/

/* ==========================================================================================================
   BASE STYLES
   ========================================================================================================== */
body {
    position: relative; /* for correct nav highlight */
    overflow-x: hidden;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    font-size: 18px;
}

li {
    list-style-type: none;
}

p {
    line-height: 1.4;
    padding-bottom: 18px;
    margin-bottom: 0;
}

p:last-child {
    padding-bottom: 0;
}

p strong {
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 700;
    color: #392912;
}

p i {
    font-style: normal;
    white-space: nowrap;
}

a {
    color: #b4073e;
    text-decoration: none;
    outline: 0;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #392912;
    text-decoration: none;
    outline: 0;
}

li a {
    color: #000;
}

li a:hover,
li a:focus,
li a:active,
li a.active {
    color: #392912;
}

a.dark {
    color: #392912;
    text-decoration: none;
}

a.dark:hover {
    color: #000;
    text-decoration: none;
}

a,
a:hover {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  transition: all 0.5s;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    line-height: 1.3;
    padding: 0;
    margin: 0;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
}

.img-centered {
    margin: 0 auto;
}

.bg-light {
    background-color: #eaeae4;
}

.bg-dark {
    background-color: #d6d6d1;
}

/* old browsers */
.browsehappy {
  margin: 0.2em 0;
  background: #cc0033;
  color: #FFF;
  padding: 0.5em;
  margin-top: 145px;
}

.browsehappy a {
  color: #FFF;
  text-decoration: underline;
}

.browsehappy a:hover {
  text-decoration: none;
}

/* ==========================================================================================================
   CUSTOM GLOBAL STYLES
   ========================================================================================================== */
h1.section-heading,
h2.section-heading {
    font-size: 40px;
    font-weight: 700;
    color: #392912;
}

@media (min-width:481px) {
    h1.section-heading,
    h2.section-heading {
        font-size: 48px;
    }
}

h3 {
    color: #392912;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
}

h3.blockquote {
    color: #392912;
    font-weight: 400;
    font-size: 24px;
    line-height: 30px;
}

h4 {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #392912;
}

h5 {
    font-weight: 400;
    font-size: 23px;
    color: #FFF;
}

/* not_found */
h6 {
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 700;
    font-size: 80px;
    color: #392912;
}

.not-found p {
    margin-bottom: 0;
}

@media (max-width: 600px) {

    section.not-found {
        padding-top: 20px;
    }

    h6 {
    font-size: 50px;
    }
}

/* ==========================================================================================================
   LOGO STYLES
   ========================================================================================================== */
a.navbar-brand {
    border-bottom: none;
}

a.navbar-brand span { /* adjust .shrink line 398 */
    display: block;
    text-indent: -9999px;
    width: 150px;
    height: 45px;
    background-image: url(../graphics/tabak-corner.png);
    background-image:
    linear-gradient(transparent, transparent),
    url(../graphics/tabak-corner.svg);
    background-size: 150px 45px;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

.navbar-default.navbar-shrink .navbar-brand span {
    margin-top: 0;
    background-image: url(../graphics/tabak-corner2.png);
    background-image:
        linear-gradient(transparent, transparent),
        url(../graphics/tabak-corner2.svg);
        background-size: 101px 36px;
        -webkit-transition: all .1s;
        -moz-transition: all .1s;
        transition: all .1s;
        width: 101px;
        height: 36px;
}

@media (min-width: 481px) {

    a.navbar-brand span {
        width: 180px;
        height: 54px;
        background-size: 180px 54px;
    }
}

html[data-useragent*='MSIE 10.0'] a.navbar-brand span {
    background-image: url(../graphics/tabak-corner.png);
}

@media (min-width: 768px) {
    a.navbar-brand span {
        width: 310px;
        height: 93px;
        background-size: 310px 93px;
    }  
}

/* ==========================================================================================================
   NAVIGATION STYLES
   ========================================================================================================== */
.navbar {
  min-height: 50px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.85);
  border-top: 6px solid #392912;
}

/* Toggle */
.navbar-toggle {
    border-color: #392912;
    background-color: #392912;
    margin-top: 10px;
    margin-right: 15px;
    margin-bottom: 0px;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #FFF;
}

.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar {
    background-color: #392912;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #FFF;
    border-color: #392912;
}

/* Nav  items */
.navbar-nav > li > a {
    text-align: center;
    padding: 10px 0;
    border-bottom: none;
}

/* Nav colors */
.navbar-default .nav li a,
.navbar-default .nav li a:visited {
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    color: #767765;
    font-size: 20px;
    text-decoration: none;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus,
.navbar-default .nav li a:active {
    outline: 0;
    color: #392912;
    border-bottom: none;
}

.navbar-default .navbar-nav > .active > a {
    border-radius: 0;
    color: #392912;
    background-color: transparent;
}

.navbar-default.navbar-shrink .navbar-nav > .active > a:hover, /* for correct nav color after scrolling */
.navbar-default.navbar-shrink .navbar-nav > .active > a:focus {
    color: #392912;
    background-color: transparent;
}

/* Change navbar breakpoint */
@media (max-width: 767px) {

    .navbar > .container {
        margin: 0;
        padding: 0;
        width: 100%;
    }

    .navbar-default {
        padding: 0;
    }

    .navbar-nav {
        width: 100%;
        margin: 0;
        padding: 0 15px;
    }

    .navbar-header {
        float: none;
        padding: 0 15px;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-brand span {
        padding-left: 15px;
    }

    .navbar-collapse {
        box-shadow: none;
        border: none;
        background-color: #FFF;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-nav {
        float: none !important;
        width: 100%;
        background-color: #FFF;
    }

    .navbar-nav > li {
        float: none;
    }
}

@media (min-width: 768px) {

    .navbar-nav {
        margin-top: 48px;
    }

    .navbar-nav > li > a {
        padding-right: 30px;
    }

    .navbar-default.navbar-shrink .navbar-nav {
        margin-top: 12px;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default.navbar-shrink .navbar-nav > li > a {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }
}

/* ==========================================================================================================
   HEADER STYLES
   ========================================================================================================== */

header {
    padding-top: 82px; /* for slides, custom for mobile */
}

@media(min-width: 481px) {

    header {
        padding-top: 90px; /* for slides, custom for mobile */
    }
}

@media(min-width: 768px) {

    header {
        padding-top: 130px; /* for slides, custom for mobile */
    }
}

.anchor {
    display: block;
    height: 75px; /* same height as header */
    margin-top: -75px; /* same height as header */
    visibility: hidden;
}

/* Carousel */
.carousel {
    position: relative;
}

.carousel-inner img {
    width: 100%;
    height: auto;
}

.carousel-control.left,
.carousel-control.right {
    background-image: none; /* Shadows */
}

/* Icons */
.carousel-control .icon-prev:before,
.carousel-control .icon-next:before {
    font-family: 'FontAwesome';
    font-size: 50px;
}

.carousel-control .icon-prev,
.carousel-control .icon-next {
    display: none;
}

@media (min-width: 480px) {
    .carousel-control .icon-prev,
    .carousel-control .icon-next {
        display: inline;
        top: 45%;
    }
}

.carousel-control .icon-prev:before {
    content: "\f104";
}

.carousel-control .icon-next:before {
    content: "\f105";
}

/* Fading */
.carousel.carousel-fade .item {
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
    transition: opacity 0.5s ease-in-out;
    opacity:0;
}

.carousel.carousel-fade .active.item {
    opacity:1;
}

.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
    left: 0;
    z-index: 2;
    opacity: 0;
    filter: alpha(opacity=0);
}

.carousel.carousel-fade .next,
.carousel.carousel-fade .prev {
    left: 0;
    z-index: 1;
    opacity: 1;
}

.carousel.carousel-fade .carousel-control {
    z-index: 3;
}

.arrow {
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -18px;
  width: 36px;
  color: #FFF;
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
  opacity: 0.65;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}

.arrow:hover {
  color: #FFF;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  -webkit-transition: all .3s linear;
  -o-transition: all .3s linear;
  transition: all .3s linear;
}

@media (max-width: 479px) {
    .arrow {
        display: none;
    }
}

/* ==========================================================================================================
   SECTION & ROW STYLES
   ========================================================================================================== */

section {
    padding: 100px 0 50px 0;
}

.welcome {
    padding-top: 50px; /* custom */
    padding-bottom: 50px; /* custom */
}

@media (min-width: 768px) {
    .welcome {
    padding-top: 100px; /* custom */
    padding-bottom: 100px; /* custom */
}
}

img.single-image {
    width: 100%;
    padding-top: 10px;
    padding-bottom: 30px;
}

.group-image {
    padding: 15px 0; 
}

@media (min-width: 481px) and (max-width: 767px) {
     img.single-image,
    .group-image img {
        width: 75%;
    }
}

/* Spaces */
h1,
h2,
ul,
.row.image-set {
    margin-bottom: 35px;
}

.row.image-set {
    margin-top: 35px;
}

ul p,
#kontakt p {
    margin-bottom: 0;
}

.col-map {
    padding-top: 25px;
    padding-bottom: 25px;
}

@media(min-width:768px) {

    section {
        padding: 100px 0 50px 0;
    }

    .border-left {
        border-left: 0px solid #ccc;
    }

    .border-right {
        border-right: 0px solid #ccc;
    }

    .col-left {
        padding-right: 7%;
    }

    .col-right{
        padding-left: 7%;
    }
}

@media(max-width:768px) {

    .col-left {
        padding-bottom: 35px;
    }
}

ul.list-default {
    margin-bottom: 18px;
    padding: 0 0 0 1em;
    list-style: none;
}

ul.list-default li:before {
    content: ">";
    display: block;
    height: 0;
    width: 0;
    left: -1em;
    top: 0;
    position: relative;
    color: #392912;
}

/* Product */
* {
  box-sizing: border-box;
}
/* Flex items - don't forget conditionals for IE10 */
.product-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

.product-item {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-flex: 1 0 auto;
        -moz-flex: 1 0 auto;
        -ms-flex: 1 0 auto;
}

@media (min-width: 768px) {

        .product-item {
            width: 33%;
        }

}

.product-image {
  background-color: #FFF;
  -webkit-flex: 1 0 auto;
        -moz-flex: 1 0 auto;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
  padding: 15px 10px 15px 10px;
}

.product-image img {
    margin: 0 auto;
}

.product-description {
    background-color: #FFF;
    height: 180px;
    padding: 10px;
    text-align: center;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
  -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .product-description {
        height: 300px;
    }
}

.product-details {
  -webkit-flex: 1 0 auto;
        -moz-flex: 1 0 auto;
        -ms-flex: 1 0 auto;
        flex: 1 0 auto;
}

.price p strong {
    color: #b4073e;
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 767px) {
    .product-item {
        margin-bottom: 25px;
    }
}

.price p {
    font-weight: 700;   
}

/* Portfolio preview */

.portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

.portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    /* max-width: 400px; */
}

.portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: transparent;
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

.portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 1;
    background: rgba(255, 255, 255, .7);
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 45%;
    width: 100%;
    height: 20px;
    margin: 0 auto;
    margin-top: -12px;
    text-align: center;
    font-size: 15px;
    color: #FFF;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
.portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
    margin: 10px;
    font-size: 16px;
    line-height: 1.4;
}

.portfolio-item .portfolio-caption {
    margin: 0 auto;
    padding: 25px;
    max-width: 400px;
    text-align: center;
    background-color: #fff;
}

.portfolio-item .portfolio-caption h4 {
    margin: 0;
    text-transform: none;
}

.portfolio-item .portfolio-caption p {
    margin: 0;
    font-family: Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

@media(min-width:768px) {

    .portfolio-item {
        margin: 0 0 30px;
    }
}

/* ==========================================================================================================
   SECTION CONTACT STYLES
   ========================================================================================================== */
@media(max-width:767px) {

    form {
        margin-bottom: 50px;
    }
}

section#contact .form-group {
    margin-bottom: 5px;
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 5px 7px;
    background-color: #FFF;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: #000 !important;
    font-weight: 400;
    font-size: 16px;
}

label {
    font-family:'Open Sans',Arial,sans-serif;
    font-weight: 300 !important;
    font-size: 14px !important;
    color: #392912 !important;
}

section#contact p.help-block {
    padding-bottom: 0;
    margin-bottom: 5px;
}

.radio-description {
    float: left;
    margin-left: 0;
    display: inline-block;
    padding-right: 20px;
    margin-top: 2px;
    font-weight: normal;
    vertical-align: middle;
    cursor: none;
}

@media (min-width:768px) and (max-width:992px){

    .radio-description {
        width: 100%;
    }
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #392912;
    box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
    font-family: 'Open Sans',Arial,sans-serif;
    color: #000 !important;
}

section#contact :-moz-placeholder {
    font-family: 'Open Sans',Arial,sans-serif;
    color: #000 !important;
}

section#contact ::-moz-placeholder {
    font-family: 'Open Sans',Arial,sans-serif;
    color: #000 !important;
}

section#contact :-ms-input-placeholder {
    font-family: 'Open Sans',Arial,sans-serif;
    color: #000 !important;
}

section#contact .checkbox {
    font-weight: normal!important;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
}

section#contact ul,
section#contact li {
    margin: 0!important;
    padding: 0!important;
}

.text-danger {
    color: #b4073e;
    text-align: left;
}

.text-danger:hover {
    color: #b4073e;
}

#success {
  border: 0;
  color: #FFF;
  font-family: 'Open Sans',Arial,sans-serif !important;
  font-weight: 400 !important;
}

.alert-success,
.alert-danger {
    border-radius: 0;
}

.form-question {
    padding-bottom: 0;
}

.btn {
    -webkit-transition: background linear 350ms;
} 

.btn:hover,
.btn:focus,
.btn:active,
.btn.active,
.open .dropdown-toggle.btn {
    -webkit-transition: background linear 350ms;
}

.btn-default {
    padding: 10px;
    border: none;
    border-radius: 0;
    font-family: 'Open Sans',Arial,sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #FFF;
    background-color: #392912;
    width: 100%;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    border: none!important;
    color: #392912!important;
    background-color: #FFF!important;
}

/* Honeypot */
.website {
    display: none;
}

#map_canvas {
    height: 350px;
    margin: 50px 0 10px 0;
}

@media (min-width: 768px ) {

    #map_canvas {
        height: 450px;
        margin-bottom: 10px;
    }
}

@media (min-width: 992px ) {

    #map_canvas {
        height: 550px;
        margin-bottom: 10px;
    }
}

/* ==========================================================================================================
   FOOTER STYLES
   ========================================================================================================== */

footer {
    padding: 50px 0;
    background-color: #FFF !important;
    color: #392912;
    font-size: 16px;
}

footer p,
footer ul,
footer img {
    margin-bottom: 0;
}

footer img {
    width: 260px;
    height: auto;
}

@media (max-width: 992px) {
    footer .col-md-3,
    footer .col-md-5 {
        padding-bottom: 35px;
    }
}

footer ul {
    margin: 0;
    padding: 0;
}



.copyright {
     text-align: left;
}

footer a {
    color: #392912;
    text-decoration: none;
    border-bottom: none;
}

footer a:hover,
footer a:focus {
    color: #c6c8bb;
    border-bottom: none;
}

footer li a {
    color: #c6c8bb;
    text-decoration: none;
}

footer li a:hover,
footer li a:focus {
    color: #392912;
}

/* ==========================================================================================================
   PORTFOLIO SHOWCASE STYLES
   ========================================================================================================== */

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: left;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
    background-color: #392912; /* custom */
    color: #FFF; /* custom */
}

.portfolio-modal .modal-content h2 {
    margin: 0;
    margin-bottom: 35px;
    font-size: 30px;
    text-transform: none;
    font-family: 'Open Sans',Arial,sans-serif;
}

.portfolio-modal .modal-content p {
    margin-bottom: 10px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 10px;
    font-family: 'Open Sans',Arial,sans-serif;
    font-size: 14px;
    padding-bottom: 10px;
}

.portfolio-modal .modal-content ul.list-default {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content ul.list-default li p { /* is NEW and important! */
    margin-bottom: 0;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #FFF;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #FFF;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.modal-styles h4,
.modal-styles ul.list-default li:before {
    color: #FFF;
}

.modal-link {
    margin-bottom: 40px;
}

.modal-link h4 {
    color: #FFF;
    font-weight: 600;
    font-size: 16px;       
}

.modal-body a,
.modal-styles a {
    color: #FFF;
    text-decoration: none;
}

.modal-body a:hover,
.modal-body a:active
.modal-styles a:hover,
.modal-styles a:active {
    color: #000;
    text-decoration: none;
}

/* ==========================================================================================================
   SELECTION
   ========================================================================================================== */

::-moz-selection {
    text-shadow: none;
    background: #392912;
    color: #FFF;
}

::selection {
    text-shadow: none;
    background: #392912;
    color: #FFF;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #392912;
}

a[href^="tel"], a[href^="sms"]{color:inherit; cursor:default; text-decoration:none;}