/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/**Übersichtsbutton Branchenverzeichnis und Sponsorenverzeichnis */
#switch-group {
    width: 90%;
    font-size: 80%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    display: grid;
    grid-template-columns: 40% 40%;
    grid-gap: 10px;
    list-style: none;
    justify-content: center;
    text-align: center;
}

#branch-listing {
    display: grid;
    width: 90%;
    grid-template-columns: 20% 20% 20% 20%;
    text-align: center;
    grid-gap: 10px;
    list-style: none;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: center;
}

#sponsor-listing {
    display: grid;
    background-color: #007d40;
    color: #fff;
    grid-gap: 10px;
    list-style: none;
    padding: auto;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    text-align: center;
}


#pills-sponsor-list-tab:hover,
#pills-branch-list-tab:hover {
    color:#007d40;
    background-color:#fff;
}

#switch-group li a,
#sponsor-listing li a,
#branch-listing li a {
    border: 2px solid #dcdede;
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    font-size: 80%;
    font-weight: bold;
    padding: 20px;
    letter-spacing: 0.8px;
    line-height: 24px;
    text-transform: uppercase;
    text-align: center;
}

#switch-group li a.active,
#sponsor-listing li a.active,
#branch-listing li a.active,
#pills-all-tab:hover,
#pills-main-tab:hover,
#pills-trikot-tab:hover,
#pills-gold-tab:hover,
#pills-silber-tab:hover,
#pills-bronze-tab:hover,
#pills-juniorpate-tab:hover,
#pills-playerpate-tab:hover,
#pills-partner-tab:hover,
#pills-bwi-tab:hover,
#pills-eue-tab:hover,
#pills-fa-tab:hover,
#pills-gb-tab:hover,
#pills-ge-tab:hover,
#pills-kft-tab:hover,
#pills-mm-tab:hover,
#pills-rfv-tab:hover,
#pills-sit-tab:hover,
#pills-sd-tab:hover,
#pills-vsl-tab:hover {
    background: #fff;
    color: #007d40;
}

.accordion {
    display: grid;
    grid-template-columns: 20% 20% 20% 20%;
    border-radius:10px;
    grid-gap: 20px;
    color: #444;
    margin-left:auto;
    margin-right: auto;
    justify-content: center;
}

#search-input {
    padding-right: 20%;
    border-radius:5px;
    margin-right: 30px;
}

#search-button {
    font-style: #000;
    background-color:#fff;
    border-radius: 5px;
    border-style: 0px;
    padding-left:30px;
    padding-right:30px;
}

#search-button:hover,
#search-reset:hover {
    color: #007d40;
}

#search-reset {
    font-style: #000;
    background-color:#fff;
    border-radius: 5px;
    border-style: 0px;
    padding-left:10px;
    padding-right:10px;
}

.sponser-wrapper {
    justify-content: center;
    background-color: #fff;
    padding:20px;
    border-radius:10px;
}

.sponser-wrapper li {
    list-style: none;
}

.sponser-wrapper li.contact {
    font-weight: bold;
}

@media all and (min-width: 1025px) {
    #switch-group {
        font-size: 80%;
    }
    #sponsor-listing {
        grid-template-columns: 20% 20% 20% 20% 20%;
    }
    #branch-listing {
        grid-template-columns: 25% 25% 25% 25%;
        font-size: 90%;
    }
    .accordion{

    }
}

@media all and (max-width: 1024px) {
    #switch-group{
        font-size:90%;

    }
    #sponsor-listing {
        grid-template-columns: 20% 20% 20% 20% 20%;
    }
    #branch-listing {
        grid-template-columns: 33% 33% 33%;
    }
}

@media all and (max-width: 768px) {
    #switch-group {
        font-size:85%;

    }
    #sponsor-listing {
        grid-template-columns: 45% 45%;
    }
    #branch-listing {
        grid-template-columns: 45% 45%;
    }
    #search-reset{
        display: none!important;
    }
    .accordion {
        width: 90%;
        grid-template-columns: 33% 33% 33%;
    }
}

@media all and (max-width: 579px) {
    #switch-group {
        width: 90%;
        border-radius: 10px;
        grid-template-columns: 50% 50%;
        font-size:90%;
    }
    .accordion {
        grid-template-columns: 45% 45%;
        font-size: 75%;
    }
    #sponsor-listing {
        grid-template-columns: 50% 50%;
        text-align: center!important;
    }
    #branch-listing {
        grid-template-columns: 50% 50%;
        text-align: center!important;
    }
    #search-reset{
        display: none!important;
    }
    #pills-vsl-tab{
        width: auto;
    }
}