/*##########################
  Global
###########################*/
@font-face {
  font-family: 'MyriadPro';
  src: url('../fonts/MyriadPro-Light.otf');
  font-weight: normal;
  font-style: normal;
}

html {
    scroll-behavior: smooth;
    min-width: 320px;
}
body {
    padding-top: 4rem;
    min-width: 320px;
    font-family: 'MyriadPro';
    font-size: 16px;
}

.container {max-width: 100%; min-width: 320px;}

h1 { font-size: 2rem;}

@media screen and (min-width: 768px) {
    body {padding-top: 5rem;}
    .container {max-width: 100%;}
}
@media screen and (min-width: 992px) {
    .container {max-width: 100%;}
}
@media screen and (min-width: 1200px) {
    .container {max-width: 1600px;}
}

/*~~~ Farben ~~~*/
.bg-dt-white {background-color: #ffffff;}
.bg-dt-blue {background-color: #1a4785;}
.bg-dt-blue-hover:hover {background-color: #1a4785;}
.bg-dt-darkblue {background-color: #0a3452;}
.bg-dt-darkblue-hover:hover {background-color: #0a3452;}
.bg-dt-yellow { background-color: #fbba00;}
.font-dt-white {color: #ffffff;}
.font-dt-blue {color: #004a84;}
.font-dt-darkblue {color: #0a3452;}
.font-dt-yellow { color: #fbba00;}


/*~~~ Listen ~~~*/
ol.bold li {font-weight: bold;}
ol.bold li span {font-weight: normal;}
ol.align-left {padding-left: 20px;}

/*~~~ Links ~~~*/
a, a:visited, a:hover {color: #0a3452; text-decoration: none;}

/*~~~ Button ~~~*/
.btn-primary {
    border-color: #0a3452;
}
.btn-primary:hover {
    border-color: #0a3452;
}
.btn-primary:focus {
    box-shadow: unset;
}
.btn-primary:disabled {
    color: #0a3452;
    background-color: #cccccc;
    border-color: #cccccc;
}

/*##########################
  Header
###########################*/
header { height: 4rem; }
img#logo-dt-markenwelt { width: 210px; }
#navbarCollapse .mr-auto { margin-left: auto !important; margin-right: 0 !important;}
.navbar-dark .navbar-toggler {border-color: #fbba00;}
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(251, 186, 0, 1.0)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media screen and (min-width: 768px) {
  img#logo-dt-markenwelt { width: 340px; }  
  header { height: 5rem; }
}

/*##########################
  Carousel
###########################*/
.carousel { margin-bottom: 0rem; }
.carousel-control-prev-icon {background-image: url("../img/control/carousel_prev.png");}
.carousel-control-next-icon {background-image: url("../img/control/carousel_next.png");}
.carousel-inner { height: 400px; }
.carousel-caption {
    bottom: 0; 
    top: 0;
    height: 400px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.carousel-caption h1, .carousel-caption p, .carousel-caption div { width: 100%; max-width: 900px;}

@media screen and (min-width: 768px) {
    .carousel-inner, .carousel-caption { height: 350px; }
}

/*##########################
  Kategorien
###########################*/
#categories.row {
    justify-content: center;
    margin-top: 4rem;
}
#categories .heading {
    width: 100%;
    text-align: center;
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 40px;
}
#categories .col-lg-4 { 
    max-width: 100%; flex: 0 0 100%; text-align: center;
}

.bd-category-link:hover {
    text-decoration: none;
}
.bd-category-link:hover img.bd-category-img {
  transform: scale(1.05);
}
.bd-category-link img.bd-category-img {
    transition: 1.0s;
}
.bd-category-img {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #0a3452;
}
.bd-category-heading {
    margin-top: 10px;
    margin-bottom: 25px;
}

@media screen and (min-width: 500px) {
  #categories .col-lg-4 { max-width: 50.00%; flex: 0 0 50.00%;}
}
@media screen and (min-width: 768px) {
  #categories .col-lg-4 { max-width: 33.33%; flex: 0 0 33.33%;}
  #categories .heading { font-size: 50px; }
}
@media screen and (min-width: 1200px) {
  #categories .col-lg-4 { max-width: 20.00%; flex: 0 0 20.00%;}
}

/*##########################
  Featurette
###########################*/
.featurette .col-md-7 {
    display: flex;
    align-items: center;
}
.featurette-heading {
    margin-top: 0rem;
}
.featurette .col-md-5 {
    display: flex;
    align-items: flex-start;
}
.bd-featurette-img {
    max-width: 350px;
}
/*~~~ Video ~~~*/
.featurette.with-video  {
    flex-wrap: wrap;
}
.featurette.with-video .col-md-7 {
    -ms-flex: 0 0 100.00%;
    flex: 0 0 100.00%;
    max-width: 100.00%;
}
.featurette.with-video .col-md-5 {
    -ms-flex: 0 0 70.00%;
    flex: 0 0 70.00%;
    max-width: 70.00%;
}
/*~~~ um das Padding vom Container auszugleichen ~~~*/
.embed-responsive iframe {
    padding-left: 15px;
    padding-right: 15px;
}

@media screen and (min-width: 500px) {
    .featurette p { text-align: justify; }
}
@media screen and (min-width: 768px) {
    .bd-featurette-img {max-width: 100%;}
}
@media screen and (min-width: 992px) {
    .featurette .col-md-5 {
        display: flex;
        align-items: center;
    }
    .featurette.with-video .col-md-7 {
        -ms-flex: 0 0 58.333333%;
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
    .featurette.with-video .col-md-5 {
        -ms-flex: 0 0 41.666667%;
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
}

/*##########################
  Impressum
###########################*/
.impressum-text { margin-top: 4rem; }
.impressum-text a {text-decoration: underline; }
#impressum h2 { font-size: 2rem;font-weight: 400; }
@media screen and (min-width: 500px) {
  #impressum h2 { font-size: 50px; }
}

/*##########################
  Datenschtz
###########################*/
.datenschutz-text { margin-top: 4rem; }
.datenschutz-text a {text-decoration: underline; }
#datenschutz h2 { font-size: 2rem;font-weight: 400; }
@media screen and (min-width: 500px) {
  #datenschutz h2 { font-size: 50px; }
}

/*##########################
  Newsletter
###########################*/
#newsletter.row {
    flex-wrap: wrap;
}
#newsletter-wrapper .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
}
#newsletter-wrapper .col-md-5 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
}
#newsletter-email {
    max-width: 400px;
}
#newsletter-validation-feedback {
    height: 20px;
}
#newsletter-submit {
    margin-top: 20px;
}

#newsletter-wrapper img {
    margin-top: 30px;
    max-height: 230px;
}
@media screen and (min-width: 992px) {
    #newsletter-wrapper img {
        margin-top: 0px;
    }
    #newsletter-wrapper .col-md-7 {
        flex: 0 0 58.3333%;
        max-width: 58.3333%;
    }
    #newsletter-wrapper .col-md-5 {
        flex: 0 0 41.6667%;
        max-width: 41.6667%;
    }
}

/* Honeypot Newsletter für alle Formulare */
.newsletter-form {position: relative;}
.newsletter-form #newsletter-yourname {position: absolute; top: 0px; z-index: -1; width: 100%; max-width: 200px; border: none;}

/*##########################
  Footer
###########################*/
hr.footer-divider { margin: 5rem 0 5rem 0; }
