/*@import url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLight.woff");
@import url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLightItalic.woff");
@import url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-6_SemiBold.woff2");*/

/* Thesis Normal */
@font-face {
    font-family: "Thesis";
    src: url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLight.woff2") format("woff2"),
    url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLight.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* Thesis Bold */
@font-face {
    font-family: "Thesis";
    src: url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-6_SemiBold.woff2") format("woff2"),
    url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-6_SemiBold.woff") format("woff");

    font-weight: bold;
    font-style: normal;
}

/* Thesis Extra Bold  */

@font-face {
    font-family: "ThesisExtraBold";
    src: url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-8_ExtraBold.woff2") format("woff2"),
    url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-8_ExtraBold.woff") format("woff");

    font-weight: normal;
    font-style: normal;
}

/* Thesis Italic  */

@font-face {
    font-family: "Thesis";
    src: url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLightItalic.woff2") format("woff2"),
    url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4iSemiLightItalic.woff") format("woff");

    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "ThesisCaps";
    font-weight: normal;
    src: url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLight.woff2") format("woff2"),
    url("https://www.tagesschau.de/wahl/bundles/fonts/TheSansC5s-4_SemiLight.woff") format("woff");
}

/*reset font-size to allow sizing like TS does*/
html {
    font-size: 62.5%
}

/* bootstrap override */
.carousel-indicators {
    position: absolute;
    right: -11%;
    top: 8px;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: right;
    padding: 0;
    margin-right: 15%;
    margin-bottom: 1rem;
    margin-left: 15%;
    height: 3rem;
}

.carousel-indicators [data-bs-target]:focus {
    outline: 2px solid #015999 !important;
    outline-offset: 1px !important;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 30px;
    height: 12px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    margin-top: 20px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 3px solid black;
    /*border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: .5;*/
    transition: opacity .6s ease;
}

.carousel-indicators .active {
    background-color: #1167a9; /* #015999; */
    opacity: 1;
}


.carousel .carousel-control-next,
.carousel .carousel-control-prev {
    display: none;
    padding: 10px;
    box-sizing: border-box;
    width: auto;
    opacity: 1;
}

@media only screen and (min-width: 720px) {
    .carousel:hover .carousel-control-next,
    .carousel:hover .carousel-control-prev {
        display: flex;
    }
}

/* this is used only if &tagesschau=1 is not present in URL. class=no-ts is set via JS*/
.carousel:hover .carousel-control-next.no-ts,
.carousel:hover .carousel-control-prev.no-ts {
    display: flex;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, .6);
    background-size: 40px;
    color: #fff;
    transition: all .2s ease-in-out;
}

/* transform to the outer side */
.carousel-control-next-icon {
    transform-origin: center right;
}

.carousel-control-prev-icon {
    transform-origin: center left;
}

.carousel .carousel-control-next-icon:hover,
.carousel .carousel-control-prev-icon:hover {
    background-color: #015999FF;
}

/* seats legend */
@media only screen and (max-width: 720px) {
    .legendValues, .legendLabels {
        font-size: 2.5rem;
    }
}

@media only screen and (min-width: 721px) {
    .legendValues, .legendLabels {
        font-size: 2rem;
    }
}

.legendLabels {
    font-weight: normal;
}

.legendValues {
    font-weight: bold;
}

/* d3 override */
body,
svg,
.tick,
.tick2 {
    font-family: Thesis, serif;
    color: #262626
}

svg {
    background-color: #f1f1f1;
}

.tick {
    font-size: 22px;
    /*font-weight: 800;*/
    fill: white
}

.tick2 {
    font-size: 30px;
    font-weight: 800;
}

.tick line {
    stroke: transparent
}

.domain {
    displayX: none;
    stroke: transparent;
    fill: transparent
}

.red {
    background-color: red;
    fill: red;
}

.topline {
    font-size: 24px;
    font-weight: 400;
}

.headline {
    font-size: 40px;
    font-family: Thesis, serif;
    font-weight: 800;
}

.copyright {
    font-size: 22px;
    /*font-weight: 800;*/
}

.linkToMapButton {
    position: absolute;
    top: 52px;
    border-radius: 5px;
    padding: 0 20px;
    background: #015999;
    color: #fff;
    right: 39px;
    border: 0;
    z-index: 2;
}

#wahlmonitor4e1 {
    margin: auto;
}

