/*
 * Copyright (c) 2019 TASoft Applications, Th. Abplanalp <info@tasoft.ch>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

header {
    background-image: url("/Public/img/laden-front.jpg");
    background-size: cover;
    height: 200px;
    background-position: center center;
}

.sticky-fixed .release-from-top {
    color: white !important;
}

.sticky-fixed.nav-collapse .release-from-top, .landing .release-from-top {
    background-color: #79c337 !important;
    padding: .3rem 1rem .3rem 1rem;
    width: calc(100% - 1.9rem);
}

.landing .release-from-top {
    width: 100%;
    border-bottom: 2px solid #407626;
    -webkit-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important ;
    -moz-box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.sticky-fixed .position-fixed {
    position: -webkit-sticky !important;
    position: sticky !important;
}

.sticky-fixed.nav-collapse .position-fixed {
    position: fixed !important;
}

.navbar-collapse.collapse .nav-link {
    -webkit-transition: background-color 500ms;
    -moz-transition: background-color 500ms;
    -ms-transition: background-color 500ms;
    -o-transition: background-color 500ms;
    transition: background-color 500ms;
}
.navbar-collapse.collapse.show .nav-link {
    background-color: rgba(0,0,0,0.2);
    color: white;
    padding-left: 1rem;
    text-shadow: 0 0 2px black;
}
.navbar-collapse.collapse.show .nav-link:hover, .navbar-collapse.collapse.show .nav-link:active  {
    color: #79c337;
}

.navbar-collapse.collapse:not(.show) .nav-link, .navbar-brand {
    color: white !important;
    text-shadow: 0 0 2px black;
}
.navbar-collapse.collapse:not(.show) .nav-link:hover, .navbar-collapse.collapse:not(.show) .nav-item.active:hover, .navbar-brand:hover {
    color: #79c337 !important;
}

a {
    color: #79c337;
}

a:hover {
    color: #407626;
}


.landing header {
    height: 65px;
    background: none;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    box-shadow: none !important;
}

.text-fueterplatz {
    color: #79c337;
}

.text-fueterplatz-alt {
    color: #407626;
}

.bg-fueterplatz {
    color: #79c337
}

.text-red {
    color: red !important;
}


.btn-outline-fueterplatz {
    color: #79c337;
    border-color: #79c337;
}

.btn-outline-fueterplatz:hover {
    color: #fff;
    background-color: #79c337;
    border-color: #79c337;
}

.navbar-collapse.collapse:not(.show) .nav-item.active .nav-link {
    color: #fff !important;
    font-weight: bold;
}