/* ======================
Author's custom styles
======================*/

/* bai-jamjuree-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/bai-jamjuree-v11-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/bai-jamjuree-v11-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* bai-jamjuree-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/bai-jamjuree-v11-latin-600.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/bai-jamjuree-v11-latin-600.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* bai-jamjuree-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Bai Jamjuree';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/bai-jamjuree-v11-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
       url('../fonts/bai-jamjuree-v11-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}


html {
    font-family: sans-serif;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-size: 1.125rem;
    line-height: 1.667em;
    color: #000;
    font-family: 'Bai Jamjuree', Arial, Verdana, sans-serif;
    background-color: #fff;
    font-weight: 300;
}

footer {
    padding: 20px 0;
    color: #fff;
    background-color:#2cca6b;
}

#sidebar {
    display:none;
}

#sidebar p {
    background-color: #2cca6b;
    padding:20px;
    text-align: center;
 }

.container {
    padding-top:25px;
    padding-bottom:25px;
}

header .container {
    padding-top:0;
    padding-bottom:0;
    padding-left:0;
    padding-right:0;
}

.bg-lightgreen {
    background-color: #f5fef9;
}

.bg-green {
    background-color:#2cca6b !important;
    color:#fff;
}

a:link,
a:visited {
    text-decoration: none;
    color: #c1253e;
    font-weight: bold;
}

a:hover,
a:active,
a:focus {
    color: #c1253e;
}

.text-red {
    color:#dd4a63;
}

.btn-primary {
    background: #fff;
    color: #d62744;
    border: 1px solid #d62744;
    border-radius: 0;
    width:70%;
    font-weight: bold !important;
}

.btn-primary:hover {
    background: #d62744;
    border: 1px solid #d62744;
    color: #fff;
}

#topnav {
    background-color: #373f4a;
    color: #fff;
    font-size: 0.875rem;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

footer a:link,
footer a:visited,
#topnav-links a:link,
#topnav-links a:visited {
    text-decoration: none;
    color: #fff;
}

footer a:hover,
footer a:active,
footer a:focus,
#topnav-links a:hover,
#topnav-links a:active,
#topnav-links a:focus {
    color: #fff;
    text-decoration: underline;
}

#logo {
    display: none;
}

.TickerNews {
    width: 100%;
    height: 50px;
    line-height: 50px;
    background-color:#d62744; 
    color:#fff; 
    font-weight:bold;
  }
  
  .ti_wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 50px;
  }
  
  .ti_slide {
    width: 30000px;
    position: relative;
    left: 0;
    top: 0;
  }
  
  .ti_content {
    width: 8000px;
    position: relative;
    float: left;
  }
  
  .ti_news { float: left; }

.card {
    border:2px solid #2cca6b;
    border-radius: 0;
}

.card-img-top {
    border-radius: 0;
}

.card-title {
    color:#d62744;
    font-weight:bold;
}

.card-footer {
    background:#fff;
    border:0;
}

.accordion-item {
    border-color: #2cca6b;
    border-radius: 0 !important;
    margin-bottom:15px;
}

.accordion-item:not(:first-of-type) {
	border-top: 1px solid #2cca6b;
}

.accordion-button:focus {
	outline: 0;
	box-shadow:none;
}

.accordion-button:not(.collapsed) {
	color: #fff;
	background-color: #2cca6b;
	box-shadow: 0;
}

.table-striped > tbody > tr:nth-of-type(2n+1) > * {
	--bs-table-accent-bg: #fff;
	color: #000;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
	--bs-table-accent-bg: #f5fef9;
	color: #000;
}

.newsblock {
    border-bottom:2px solid #2cca6b;
    padding-bottom:1em;
    margin-bottom:2em;
}

.newsblock:last-of-type {
    border-bottom:0;
}

/* mobile Navigation
*****************************/

.navbar-brand {
    padding: 0;
    margin-left:0.75em;
    width: 250px;
    height: 65px;
    background-image: url('../icon/The_Squirrels_Logo_RGB.svg');
    background-repeat: no-repeat;
    background-size: contain;
}

.navbar-toggler {
    border: 1px solid #afb2b6;
    border-radius: .25rem;
    outline: 0;
    margin-right:0.75em;
}

.navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(30, 172, 86, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar .navbar-toggler-icon:hover,
.navbar .navbar-toggler-icon:focus,
.navbar .navbar-toggler-icon:active {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(30, 172, 86, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    outline: 0;
    box-shadow: none;
}

.navbar-toggler:focus {
    text-decoration: none;
    outline: 0;
    box-shadow: none;
}

.navbar-nav {
    padding-top:10px;
}

.navbar-nav .nav-link {
    padding: 5px 10px 5px 25px;
    color: #25c864;
    outline: none;
    font-size: 1.250rem;
    line-height: 1.75em;
    font-weight: bold;
}

.navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #2cca6b;
}

.dropdown-menu {
    border:0;
}

.dropdown-item {
    border-bottom: 2px solid #25c864;
    padding-left:30px;
    padding-top:8px;
    padding-bottom:8px;
}
.dropdown-item.last {
    border-bottom: 0;
}    

.dropdown-item:focus, .dropdown-item:hover {
    color: #fff;
    background-color: #2cca6b;
    text-decoration: none;
}


/* end mobile Navigation
******************************/

h1,
.h1 {
    font-size: 1.375rem;
    line-height: 1.25em;
    font-weight: 600;
    color:#dd4a63;
    margin: 0 0 1em 0;
}

h2,
.h2 {
    font-size: 1.1rem;
    line-height: 1.25em;
    margin: 0 0 15px 0;
    font-weight: 400;
    color:#dd4a63;
}

h3,
.h3 {
    font-size: 1.3rem;
    line-height: 1.250em;
    margin: 0 0 15px 0;
    font-weight: 600;
    color:#dd4a63;
}

h4,
.h4 {
    font-size: 1.25rem;
    line-height: 1.25rem;
    font-weight: 600;
}

h5,
.h5 {
    font-size: 1.0rem;
    line-height: 20px;
    margin: 3px 0 0 0;
    font-weight: 500;
}

.btn-light {
    width:100%;
    border:1px solid #2cca6b;
    background:#fff;
    padding-top:15px;
    padding-bottom: 15px;
}

.btn-light:hover {
    width:100%;
    border:1px solid #2cca6b;
    background:#2cca6b;
    color:#fff;
}

.strong,
strong {
    font-weight: bold;
}

.small {
    font-size: 0.875rem;
    line-height: 1.3rem;
}

@media (max-width: 576px) {
    .img-thumbnail {
        padding: 0;
        border: none;
        border-radius: 0;
    }
}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    header {
        height:200px;
        margin: 0;
        background-color: #2cca6b;
        color:#fff;
    }
    .container {
        padding-top:45px;
        padding-bottom:45px;
    }
    
    header .container {
        padding-top:0;
        padding-bottom:0;
    }

    #topnav-links {
        position: absolute;
        top: 5px;
        right: 0;
    }

    footer {
        background-image: url('../icon/eichhoernchen.svg');
        background-position: top right;
        background-repeat: no-repeat;
        background-size: auto 200px;
    }

    footer .container {
        padding-top:60px;
        padding-bottom:20px;
    }

    .navbar-brand {
        display: none;
    }

    #logo-wrapper {
        position:absolute;
        top:50px;
        left:0;
        width: 310px;
        height:100px;
        background-color: #fff;
        padding-top:10px;
        text-align: center;
        -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4); 
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4);
    }

    #logo {
        display: inline-block;
        width: 280px;
    }    

    #sidebar {
        display:block;
        position:fixed;
        top:40vh;
        right:0;
        color:#fff;
    }

    .navbar {
        position: absolute;
        top: 155px;
        right: 0px;
        background-color: transparent;
        padding: 0;
        margin: 0;
        z-index: 1;
    }

    .navbar-nav {
        margin: 0;
        padding-right: 0;
    }

    .nav-item {
        margin-right:0px;
        border-right:2px solid #fff;
    }

    .last {
        margin-right: 0;
        border-right:0;
    }

    .navbar .navbar-nav .nav-link {
        padding: 0px 8px;
        color: #fff;
        text-align: center;
        outline: none;
        font-weight: 300;
        font-size: 1em;
        line-height: 1.4em;
        text-decoration: none;
    }
    .navbar-nav .nav-link:hover {
        color: #fff;
    }

    .dropdown-menu {
        border-radius: 0;
        padding-top:0;
        padding-bottom:0;
        min-width:250px;
    }

    .dropdown-item {
        border-bottom: 2px solid #25c864;
        padding-left:30px;
        padding-top:8px;
        padding-bottom:8px;
    }
    .dropdown-item.last {
        border-bottom: 0;
    }    

    .dropdown-item:focus, .dropdown-item:hover {
        color: #fff;
        background-color: #2cca6b;
    }


    #index #nav-home,
    #stores #nav-stores,
    #events #nav-events,
    #blog #nav-blog,
    #unternehmen #nav-unternehmen,
    #kontakt #nav-kontakt {
        color: #fff;
        font-weight: 400;
    }
    #index #nav-home:hover,
    #stores #nav-stores:hover,
    #events #nav-events:hover,
    #blog #nav-blog:hover,
    #unternehmen #nav-unternehmen:hover,
    #kontakt #nav-kontakt:hover {
        color: #fff;
        font-weight: 400;
    }
    #headerpic {
        max-width: 1920px;
        margin: 0 auto !important;
    }
    ul.show {
        animation-name: slidenavAnimation;
        animation-duration: .5s;
        animation-iteration-count: 1;
        animation-timing-function: ease;
        animation-fill-mode: forwards;
        -webkit-animation-name: slidenavAnimation;
        -webkit-animation-duration: .5s;
        -webkit-animation-iteration-count: 1;
        -webkit-animation-timing-function: ease;
        -webkit-animation-fill-mode: forwards;
        -moz-animation-name: slidenavAnimation;
        -moz-animation-duration: .5s;
        -moz-animation-iteration-count: 1;
        -moz-animation-timing-function: ease;
        -moz-animation-fill-mode: forwards;
    }
    @keyframes slidenavAnimation {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    @-webkit-keyframes slidenavAnimation {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }
    h1,
    .h1 {
        font-size: 1.75rem;
        line-height: 1.4em;
        font-weight: bold;
    }
    h2,
    .h2 {
        font-size: 1.25rem;
        line-height: 1.25em;
        font-weight: bold;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
        font-weight: bold;
    }
    h4,
    .h4 {
        font-size: 1.5rem;
        line-height: 1.5rem;
        font-weight: 600;
    }
    h5,
    .h5 {
        font-size: 1.1rem;
        line-height: 20px;
    }
}

@media (min-width: 992px) {

    
    #logo-wrapper {
        position:absolute;
        top:0;
        left:0;
        width: 330px;
        height:140px;
        background-color: #fff;
        padding-top:35px;
        text-align: center;
        -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4); 
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4);
    }

    #logo {
        display: inline-block;
        width: 300px;
    }    

    .navbar .navbar-nav .nav-link {
        padding: 0px 10px;
        color: #fff;
        text-align: center;
        outline: none;
        font-weight: 300;
        font-size: 1.25rem;
        line-height: 1.5em;
        text-decoration: none;
    }

}

@media (min-width: 1200px) {

    header {
        height:150px;
        margin: 0;
        background-color: #2cca6b;
        color:#fff;
    }

    #topnav-links {
        top: 10px;
    }

    .navbar {
        top: 95px;
        right: 0px;
        background-color: transparent;
        padding: 0;
        margin: 0;
        z-index: 1;
    }

    #logo-wrapper {
        position:absolute;
        top:0;
        left:0;
        width: 330px;
        height:180px;
        background-color: #fff;
        padding-top:50px;
        text-align: center;
        -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4); 
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4);
    }

    #logo {
        display: inline-block;
        width: 300px;
    }    



    footer .container {
        padding-top:20px;
        padding-bottom:20px;
    }

    h1,
    .h1 {
        font-size: 2rem;
        line-height: 1.4em;
        margin-bottom:1em;
    }
    h2,
    .h2 {
        font-size: 1.5rem;
        line-height: 1.4em;
        margin-bottom:1em;
    }
    h3,
    .h3 {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    h4,
    .h4 {
        font-size: 1.125rem;
        line-height: 1.5rem;
        font-weight: 600;
    }
    h5,
    .h5 {
        font-size: 1rem;
        line-height: 20px;
    }
}

@media (min-width: 1400px) {

    #logo-wrapper {
        position:absolute;
        top:0;
        left:0;
        width: 490px;
        height:245px;
        background-color: #fff;
        padding-top:70px;
        text-align: center;
        -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4); 
        box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.4);
    }

    #logo {
        display: inline-block;
        width: 430px;
    }    


}

@media (min-width: 1920px) {

}