/* Normal */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-thin.woff2') format('woff2'),
        url('fonts/roboto-thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-light.woff2') format('woff2'),
        url('fonts/roboto-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-regular.woff2') format('woff2'),
        url('fonts/roboto-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-medium.woff2') format('woff2'),
        url('fonts/roboto-medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-bold.woff2') format('woff2'),
        url('fonts/roboto-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-black.woff2') format('woff2'),
        url('fonts/roboto-black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Italic */

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-thinitalic.woff2') format('woff2'),
        url('fonts/roboto-thinitalic.woff') format('woff');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-lightitalic.woff2') format('woff2'),
        url('fonts/roboto-lightitalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-italic.woff2') format('woff2'),
        url('fonts/roboto-italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-mediumitalic.woff2') format('woff2'),
        url('fonts/roboto-mediumitalic.woff') format('woff');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-bolditalic.woff2') format('woff2'),
        url('fonts/roboto-bolditalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('fonts/roboto-blackitalic.woff2') format('woff2'),
        url('fonts/roboto-blackitalic.woff') format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


/* grid osszezaras */
@container (min-width: 0px) and (max-width: 699px) {
    .gird-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
		/* align-items: stretch; */
    }
    .kshlogo {
        content: url('logos/kshszimbolum.svg');
    }
}

@container (min-width: 700px) and (max-width: 1099px) {
    .grid-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kshlogo {
        content: url('logos/kshlogo.svg');
    }
}

@container (min-width: 1100px) {
    .grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kshlogo {
        content: url('logos/kshlogo.svg');
    }
}

/* Felul kell, hogy irja az eredetit... */
@container (min-width: 640px) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

@container (min-width: 0px) and (max-width: 902) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
		/* align-items: stretch; */
	}
}

@container (min-width: 903px) {
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* sidebar border nem kell, hanem arnyek */
#observablehq-link {
    font:
        /* 16px */
        'Roboto';
}

#observablehq-link-active {
    font: 16px 'Roboto';
    font-size: 16px;
    font-weight: 700;
}

#observablehq-sidebar {
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
    font: 15px 'Roboto';
}

@media (min-width: calc(912px + 6rem)) {

    #observablehq-sidebar-toggle:checked~#observablehq-sidebar,
    #observablehq-sidebar-toggle:indeterminate~#observablehq-sidebar {
        border-right: 0px;
    }
}

#observablehq-sidebar-toggle:checked~#observablehq-sidebar,
#observablehq-sidebar-toggle:indeterminate~#observablehq-sidebar {
    box-shadow: 4px 4px 16px 0px rgba(32, 33, 44, 0.15);
}

#observablehq-sidebar details summary:hover,
.observablehq-link-active a,
.observablehq-link a:hover {
    background: color-mix(in srgb, var(--theme-foreground) 8%, var(--theme-background-a));
    text-decoration: none;
}

html {
    background-color: color-mix(in srgb, var(--theme-foreground) 2%, var(--theme-background-a));
}

body {
    font: 16px 'Roboto';
    line-height: 1.5;
}

.grid {
    margin-top: 0.75rem;
}

.card {
    font: 16px 'Roboto';
    padding: 1.5rem;
    border: 0px;
    border-radius: 1.5rem;
    box-shadow: 4px 4px 16px 0px rgba(32, 33, 44, 0.15);
    line-height: 1.5;
}

table {
    margin: 0rem 0;
    border-collapse: unset;
}

hr {
    margin: 0rem 0;
    padding: 0rem 0;
}

h1,
h2 {
    max-width: 100%;
}

h1 {
    padding-bottom: 0rem;
    margin-bottom: 0rem;
}

h2 {
    padding-top: 0rem;
    margin-top: 0rem;
}

p {
    max-width: 960px;
}

.kshlogo {
    height: 3rem;
    float: right;
}

button {
    border-radius: 0.5rem;
}

.selectButton {
    white-space: normal;
}

.title-div {
    margin-top: -10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    flex-direction: row-reverse;
}


.title-left {
    position: relative;
    width: 70%;
}

.title-right {
    position: relative;
    width: 20%;
}

.button-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.button-left {
    position: relative;
}

.button-right {
    position: relative;
}

.footer-links {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    white-space: nowrap;
    column-gap: 1.5rem;
    justify-content: start;
    list-style: none;
    max-width: 680px;
}

.modszertan {
    margin: 0 1rem 5px 5px;
}

button:has(.selectButton) {
    background-color: transparent;
    color: #4269D1;
    border: 1px solid #ADBDEB;
}

button:has(.selectButton):not([disabled]):hover {
    border: 1px solid #28448E;
    background-color: #28448E;
    color: #fff;
    cursor: pointer;
}

button:has(.selectButtonNOT) {
    background-color: transparent;
    color: #4269D1;
    border: 1px solid rgb(214, 214, 214);
}

button:has(.selectButtonNOT):hover {
    cursor: no-drop;
}

.selectedButton:has(.selectButton) {
    color: white;
    background-color: #4269D1;
    border: 1px solid #4269D1;
}

.selectButtonNOT {
    color: rgb(185, 185, 185);
}

.btn-group-mellek span form button {
    margin-bottom: 0.25rem;
}

.copylink {
    height: 1.5rem;
}

.copylink:hover {
    cursor: pointer;
}

.valaszto-container {
    margin-top: 2rem;
}

.valaszto-container span form {
    display: inline-block;
    width: 100%;
}

.valaszto-container span form button {
    height: 2rem;
    margin: 0.25rem;
    min-width: 3rem;
}

.valaszto-container-mellek {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.valaszto-container-mellek span form {
    width: 100%;
    display: block;
}

.valaszto-container-mellek span form button {
    width: 100%;
    padding: 0.5rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

.valaszto-container-mellek2 {
    width: 100%;
    margin-bottom: 1rem;
}

.valaszto-container-mellek2 span form {
    width: 100%;
    display: flex;
    flex-direction: row;
}

.valaszto-container-mellek2 span form button {
    min-height: 2rem;
    flex-grow: 1;
}

.vertical-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-button-container span form button {
    height: 2rem;
    margin: 0.25rem;
}

.radio-button-container span form {
    width: 100%;
    justify-content: center;
}

.idoszak-valaszto {
    padding-right: 0.25rem;
    width: 10rem;
}

.idoszak-valaszto span form select {
    box-shadow: 4px 4px 16px 0px rgba(32, 33, 44, 0.15);
    border: 0px;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin: 0.25rem;
}

.no-button {
    background-color: transparent;
    border: none;
}

.radio-button-container {
    width: 100%;
    justify-content: center;
}

.content-div {
    margin-top: 1rem;
    padding-top: 1rem;
}

#observablehq-footer nav a[rel=prev]::before {
    content: "Előző oldal";
}

#observablehq-footer nav a[rel=next]::before {
    content: "Következő oldal";
}

.simple-chart {
    height: 300px;
}

.chart-fo-mellek {
    height: 400px;
}

.chart-fo {
    height: 28rem;
}

.chart-mellek {
    height: 25rem;
}

.chart-nemzetkozi {
    height: 38rem;
}

.no-data {
    background-image: url("logos/nochart.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.footer-div {
    margin-top: 40px;
}


@media (max-width: 1287px) {
    .grid {
        grid-auto-rows: auto;
    }
}
