@import url('https://fonts.googleapis.com/css2?family=Inria+Sans:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

body {
    margin: 0px;
    background-color: #f5f5f5;
    font-family: "Inria Sans", sans-serif;
    font-weight: 300;
    font-style: normal;
    overflow-x: hidden;
    font-size: 1.1em;
}

a {
    text-decoration: none;
}

small {
    font-size: 15px;
}

.green {
    color: green;
}

.header {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 2;
}

.logoheader {
    width: 100%;
    background-color: #f4e4e4;
    padding: 10px;
    display: flex;
    height: 50px;
}

.langchip  {
    margin: 0px !important;
}

.secheader {
    background-color: #ffffff;
    padding: 10px;
    font-size: 20px;
    display: flex;
    overflow-x: scroll !important;
    border-radius: 0px 0px 10px 10px;

}

.headerlogo {
    height: 50px;
}

select {
    font-size: unset !important;
    font-weight: unset !important;
}

.chip {
    padding: 7px;
    margin: 10px;
    border-radius: 100px;
    color: #242424;
    font-size: 1.1em !important;
    width: fit-content;
    font-weight: 400;
}

.chip:hover {
    background-color: #ededed;
}


.imgchip {
    background-size: 30px;
    background-repeat: no-repeat;
    background-position-x: 7px;
    background-position-y: center;
    padding-left: 40px;
}

.chip.active {
    background-color: #242424;
    color: #efefef;
    font-weight: 800;
}

.langchip {
    background-image: url(../icons/lan.svg);
}

.homechip {
    background-image: url(../icons/home.svg);
}

.morechip {
    background-image: url(../icons/more.svg);
}

.homechip.active {
    background-image: url(../icons/homeactive.svg);
}

.warnchip {
    background-image: url(../icons/warning.svg);
}

.warnchip.active {
    background-image: url(../icons/warningactive.svg);
}

.networkchip {
    background-image: url(../icons/map.svg);
}

.networkchip.active {
    background-image: url(../icons/mapactive.svg);
}

.tollchip {
    background-image: url(../icons/toll.svg);
}

.tollchip.active {
    background-image: url(../icons/tollactive.svg);
}

.timeschip {
    background-image: url(../icons/times.svg);
}

.timeschip.active {
    background-image: url(../icons/timesactive.svg);
}

.hero {
    width: 100%;
    padding: 30px;
    background-image: url('../pictures/headerimg.png');
    background-size: cover;
    background-position-y: center;
    margin-top: 150px;
    padding-top: 40px;
    padding-bottom: 70px;
}

.herotitle {
    color: #fff;
    font-size: 60px;
    text-shadow: 0px 0px 10px #00000072;
    font-weight: 900;
}

.herobutton {
    color: #fff;
    border: 1px solid #fff;
    font-weight: 600;
    width: fit-content;
    padding: 10px;
    margin-top: 20px;
}

.content {
    width: 80%;
    text-align: left;
    margin-top: 20px;
}

.infobox, .feed-item {
    background-color: #fff;
    border-width: 1px;
    border-style: solid;
    border-color: #b4b4b4;
    border-radius: 10px;
    text-align: left;
    margin: 5px;
    padding: 10px;
    font-size: 1.2em;
    
}

.imgbox {
    background-size: cover;
    background-repeat: no-repeat;
    background-position-x: right;
    color: #fff;
    text-shadow: 0px 0px 10px #0000007d;
}

.boxicon {
    height: 70px;
    margin: 20px;
}

.dticketbox {
    background-image: url('../pictures/dticket.png');
}

.marketbox {
    background-image: url('../pictures/market.png');
}

.alert, .construction, .download, .bau, .linkband {
    background-size: 40px;
    background-repeat: no-repeat;
    background-position-x: left;
    background-position-y: top;
    padding-left: 60px;
    margin-bottom: 20px;
}

.alert {
    background-image: url('../icons/flatterband.svg');
}

.construction {
    background-image: url('../icons/blauband.svg');
}


.download {
    background-image: url('../icons/pinkband.svg');
}

.bau {
    background-image: url('../icons/bauband.svg');
}

.linkband {
    background-image: url('../icons/linkband.svg');
}

.wallpaperbox {
    display: flex;
    overflow: hidden !important;
}

.boxwallpaper {
    background-color: rgb(232, 232, 232);
    min-height: 100px;
    flex-basis: 60%;
    margin: -10px;
    margin-right: -200px;
    align-self: stretch;
    background-size: cover;

}

.boxlink {
    color: #000;
    font-weight: 400;
    text-decoration: underline;
    padding-bottom: 10px;
    line-height: 300%;
    text-decoration-line: underline;
	text-decoration-style: dotted;
	text-decoration-color: #525252;
}

.boxlink:hover {
	text-decoration-color: #0077ff;
}

.boxlink::before {
	content: "↗ ";
}

.ddhbf {
    background-image: url(https://www.leipzig-dresden.de/files/img/Karten/20230329_KRBW_Dresden_png.png);
}

.dachhbf {
    background-image: url(../pictures/dresden-2035158_1280.jpg);
    background-position-y: top;
}

.whatsapp {
    background-image: url(../pictures/whatsapp.png);
    background-position-y: top;
}

.network {
    background-image: url(../pictures/network.png);
}

.nachtnetwork {
    background-image: url(../pictures/nightnetwork.png);
}

.homecontent {
    margin-top: -40px;
}

.linebadges {
    display: flex;
    overflow: scroll;
}

.badgecontainer  {
    background-size: 25px;
    background-repeat: no-repeat;
    background-position-y: center;
    padding: 10px;
    padding-left: 30px;
    padding-top: 7px;
    display: flex;

}

.suburbanbadge {
    background-image: url(../icons/suburban.svg);
}

.regionalbadge {
    background-image: url(../icons/regional.svg);
}

.infobox b {
    font-size: 1.3em;
}


.accordion {
	width: 100%;
	border: 1px solid #ccc;
	border-radius: 8px;
	overflow: hidden;
}

.accordion-item {
	border-bottom: 1px solid #ccc;
    min-height: 40px;
}

.accordion-item:last-child {
	border-bottom: none;
}

.accordion-header {
    width: 100%;
	cursor: pointer;
	padding: 15px;
	font-weight: bold;
	transition: background-color 0.3s;
    display: flex;
}

.accordion-header:hover {
	background-color: #e0e0e0;
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
	padding: 0 15px;
	background-color: #fff;
}

.accordion-item input {
	display: none;
}

.accordion-item input:checked ~ .accordion-content {
	max-height: 900000px;
}

.searchcontainer {
    position: absolute;
    width: calc(80% - 30px);
    text-align: center;
}

.searchspacer {
    height: 110px;
}

.search {
    background-color: #cecece;
    padding: 10px;
    border: none;
    width: 100%;
    border-radius: 100px;
    font-size: 1em;
    background-image: url('../icons/search.svg');
    background-size: 25px;
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 8px;
    max-width: 600px;
}

.result {
    padding: 10px;
    width: 100%;
    max-width: 550px;
    text-align: left;
    background-image: url('../icons/train.svg');
    background-size: 25px;
    padding-left: 40px;
    background-repeat: no-repeat;
    background-position-y: center;
    background-position-x: 8px;
    
}

.search:focus {
    outline: none;
}

.loading {
    height: 30px;
}

.werbetext {
    width: 80%;
    max-width: 700px;
}

.nostripe {
    margin-right: 50px;
}

.pulse {
    margin-top: 10px;
    margin-bottom: 10px;
    height: 30px;
}


@media (max-width: 600px) {
    .herotitle {
        font-size: 30px;
        max-width: 300px;
    }

    .secheader {
        padding-left: 5px;
    }

    .hero {
        padding-left: 5px;
    }

    .content{
        width: 95%;
    }

    .searchcontainer {
        position: absolute;
        width: calc(100% - 50px);
        text-align: center;
        
    }

    .wallpaperbox {
        display: block;
        overflow: hidden;
    }

    .boxwallpaper {
        height: 200px;
        margin-left: -53px;
    }

    .pulse {
        margin-top: 10px;
        margin-bottom: 5px;
        height: 20px;
    }
}