body {
    background-color: rgba(253,202,0,0.5);
}
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.wrap {
    background-color: #fff;
    min-height: 100%;
    padding-top: 57px;
    position: relative;
}

/* Override Bootstrap */

.navbar-brand img {
    margin-right: 5px;
}

.container-fluid {
    max-width: 1140px;
}
.container {
    width: 100%;
    max-width: 1140px;
}

.navbar-toggler {
    margin-right: -20px;
}
.btn-secondary {
    border-color: #ddd;
}
.btn-secondary:hover {
    background-color: rgba(255,204,0,0.1);
    border-color: #ddd;
}

.pagination {
    margin-top: 20px;
}
.pagination .page-link {
    color: rgba(0,0,0,0.7);
}
.pagination .active .page-link {
    background-color: rgb(255,204,0) !important;
    border-color: rgb(255,204,0);
    color: #000;
}

.pagination .page-link:hover, .pagination .page-link:focus {
    background-color: rgba(255,204,0,0.1);
    color: #000;
}

/* Header */

header {
    background-color: #000;
    margin: 0 -15px;
}
.header-img {
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}
.header-text {
    background-color: #222;
    color: #fff;
    padding: 53px 20px 15px;
    position: relative;
    text-align: left;
    overflow-x: hidden;
    min-height: 250px;
}
.header-text a {
    color: #fff;
    font-weight: 600;
}
.header-info {
    text-align: right;
    color: #fff;
    font-weight: 600;
    width: 100%;
    background-color: #000;
    position: absolute;
    top: 0;
    margin: 0 -20px;
    padding: 8px 13px;
    text-transform: uppercase;
}

@media (max-width: 767px) { 
    header .text {
        width: 100%;
        float: none;
    }
    
    .header-img {
        height: 150px;
    }
}

/* Sidebar */

.sidebar {
    background-color: #ddd;
    background-color: rgba(255,204,0,0.1);
    padding: 20px 25px;
    overflow-x: hidden;
}

.sidebar h4 {
    -webkit-hyphens: auto;
   -moz-hyphens: auto;
    hyphens: auto;
    
}
.sidebar p, .header-text p {
    font-size: 1rem;
}

.social-media {
    flex: 1;
    text-align: right;
    font-size: 1.5rem;
}

.social-media a {
    color: #333;
}


.social-media a:hover {
    color: #000;
}


/* Footer */

footer {
    position: absolute;
    bottom: 0;
    padding: 10px 15px;
    margin: 0 -15px;
    width: 100%;
    text-align: center;
    background-color: rgba(255,204,0,0.1);
    white-space: nowrap;
    overflow-x: hidden;
}
footer a {
    margin: 0 5px;
    color: rgba(0,0,0,0.6);
}
footer a:hover {
    text-decoration: none;
    color: #000;
}
/* Main */

main {
    padding: 0 0 44px;
}

@media (min-width: 768px) { 
    main p, main ul {
        font-size: 1.05rem;
    }
}

main ul {
    padding-left: 20px;
    list-style-type: circle;
}

main img {
    max-width: 100%;
}

.content {
    padding: 20px 25px;
}

strong {
    font-weight: 600;
}

h1 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
}
h2 {
    font-size: 1.8rem;
}
h3 {
    font-size: 1.5rem;
}
h2, h3 {
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}
h4 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}


@media (max-width: 767px) { 
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    h3 {
        font-size: 1.4rem;
    }
}

.imglist {
    display: inline-block;
    margin: 10px 20px 10px 0;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: -1.3rem;
}

/* Content Templates */

.contact {
    margin-top: 40px;
}
.vereine li {
    margin-bottom: 15px;
}

.text-image {
    float: right;
    margin: 7px 0 20px 25px;
    max-width: 50%;
}

.box, .kalender {
    border: 1px solid rgba(255,204,0,0.6);
    margin: 15px 0px;
}

.box-title, .kalender-datum {
    background-color: rgba(255,204,0,0.25);
    font-size: 1.1rem;
    padding: 10px 15px;
}

.box-title  {
    width: 100%;
    font-weight: 600;
}

.kalender-datum {
    font-size: 1.1rem;
}

.box-content {
    margin: 10px 15px;
}

.kalender-text {
     padding: 10px 15px;  
     position: relative;
}

.kalender-text strong a {
    font-size: 1.2rem;
}

.kalender-text p, .box-content p {
    margin-bottom: .75rem;
}

.kalender-text img {
    float: right;
    margin: 0 -5px 0 20px;
}

.kalender-text strong a {
    margin-left: 0 !important;
}


@media (max-width: 767px) { 
    .text-image {
        float: none;
        margin: 0;
        max-width: 100%;
    }
    .kalender-text img {
        display: none;
    }
}


/* Navigation */

.anker {
    padding-top: 50px;
    margin-top: -50px;
}

.navbar-bwsb{
    background-color: rgb(253,202,0);
} 

.navbar-bwsb .dropdown-menu .active {
    background-color: #fdca00;
    color: #000;
}

.dropdown-menu li.divider:first-child {
  display: none;
}

.navbar-bwsb .dropdown-menu a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
}
.navbar-bwsb .dropdown-menu li:hover, .navbar-bwsb .dropdown-menu li:focus {
   background-color: rgba(255,204,0,0.3);
}

.navbar-bwsb .dropdown-menu a:hover {
    color: #000;
}

.navbar-bwsb .nav-link {
    padding-right: 0.75rem !important;
}


/* Link Icons */

a[href*="//"]:not([href*="bw-saengerbund.de"]), a[href$=".pdf"], main a[href*="kontakt/"] {
    position:relative;
    padding-left: 1.4rem;
    margin-left: 0.2rem;
}  

a[href*="//"]:not([href*="bw-saengerbund.de"]):before {
    content: "\f08e";
    font-family: FontAwesome;
    left: 0;
    position:absolute;
    top:0;
}
a[href$=".pdf"]:before {
    content: "\f1c1";
    font-family: FontAwesome;
    left: 0;
    position:absolute;
    top:0;
}
main a[href*="kontakt/"]:before {
    content: "\f003";
    font-family: FontAwesome;
    left: 0;
    position:absolute;
    top:0;
}

.no-icon {
    padding-left: 0 !important; 
    margin-left: 0 !important;   
}
.no-icon:before  {
    content: normal !important;
}

.input-inline {
    width: 100px;
    margin: 0 10px;
}