:root {
    --primary-font-family: "Roboto", Arial, sans-serif;
    --primary-color: #1b3380;
    --primary-font-size: 17px;
    --primary-line-height: 20px;

    --mid-font-size: 16px;
    --mid-line-height: 18px;

    --large-font-size: 22px;
    --large-line-height: 24px;

    --bg-gray: #f0f0f0;
    --bg-light-gray: #f6f6f6;
    --gray-light-color: #aaaaaa;
    --gray-color: #9f9f9f;
    --bg-yello: #ffcc00;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../font/Material+Icons.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

a {
    --link-color: var(--primary-color);
    color: var(--link-color);
}

* {
    margin: 0px;
    padding: 0px;
    border: 0px;
}

body {
    color: var(--primary-color);
    font-family: var(--primary-font-family);
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    margin: 20px 0;
}

body {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.hidden,
.hidden-p {
    display: none !important;
}

.clear {
    clear: both;
    display: block;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    width: 0;
}

.naglowek h1 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 26px;
    line-height: 28px;
    margin: 20px 0;
}

#container {
    width: 100%;
    height: auto;
    overflow: hidden;
    max-width: 1280px;
    margin: 0 auto;
}

#container #content {
    margin: 0 auto;

    overflow: hidden;
    padding-top: 0px;
    width: 100%;
}

/*top menu*/
#menu {
    position: relative;

}


ul {
    width: 95%;

    white-space: nowrap;
    display: block;
    list-style: none;
    padding: 0;
    margin: 0 auto;

    /*   overflow: auto;
    overflow-y: hidden;*/
    overflow: hidden;

}

.searchActive {
    padding: 10px 0;
}

li {

    background-color: var(--bg-gray);
    padding: 10px 10px;
    text-align: center;
    display: inline-flex;
    align-items: end;
    justify-content: center;
}

li:nth-child(odd) {
    background-color: var(--bg-gray);
}

li:nth-child(even) {
    background-color: var(--bg-gray);
}

li.day-current {
    background-color: var(--bg-yello);
    padding: 20px 10px;
    border-radius: 10px;
    position: relative;


}

.searchActive li.day-current {
    background-color: var(--bg-gray);
    padding: 10px;
    border-radius: 0px;
}


li.day-future {
    color: var(--gray-color);
}

li .day-day {
    font-size: var(--primary-font-size);
    line-height: var(--primary-line-height);
    font-weight: 500;
    color: var(--gray-color);
    padding: 5px 0;
}

li.day-current .day-day {
    color: var(--primary-color);
}

.searchActive li.day-current .day-day {
    color: var(--gray-color);
}

li .day-number {
    font-size: var(--large-font-size);
    line-height: var(--large-line-height);
    font-weight: 700;

}

li a {
    text-decoration: none;
}


#prev span {
    display: inline-block;
    position: absolute;
    left: 20px;
    background-color: var(--bg-gray);
    padding: 5px;
    cursor: pointer;
    bottom: 10px;
    font-weight: 500;
}

#prev {
    position: absolute;
    left: 0px;
    width: 3%;
    height: 74px;
    background-color: var(--bg-gray);
    top: 10px;
}

#next span {
    position: absolute;
    right: 20px;
    display: inline-block;
    background-color: var(--bg-gray);
    padding: 5px;
    cursor: pointer;
    bottom: 10px;
    font-weight: 500;
}

#next {
    position: absolute;
    right: 0px;
    width: 3%;
    height: 74px;
    background-color: var(--bg-gray);
    top: 10px;
}

@media screen and (max-width:520px) {
    ul {
        width: 80%;
    }

    #prev,
    #next {
        width: 10%;
    }
}

@media (min-width:521px) and (max-width:1224px) {
    ul {
        width: 92%;
    }

    #prev,
    #next {
        width: 5%;
    }
}

/*szukaj*/
.szukaj {
    height: 80px;
    background: var(--bg-light-gray);
    margin-top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search {
    border: 1px solid var(--gray-color);
    overflow: hidden;

}

.search input {

    font-size: 16px;
    line-height: 16px;
    padding: 10px;
    color: var(--gray-color);
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    border: 0;
    width: 250px;
}

.inputSearch,
.szukajka {
    float: left;
}

.szukajka button {
    height: 39px;
    width: 45px;


    border: 0;
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    background-color: #fff;
}

.szukajka .material-icons {
    color: var(--gray-color);
    font-size: 30px;
}

.szukajka .zamknij {
    display: none;
}

*:focus {
    outline: 0;
}

/*lista*/
#listaCont {
    margin-top: 30px;
    max-height: 500px;
    min-height: 300px;
    overflow-x: hidden;
    position: relative;
}

.element {
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.element:before {
    content: "";
    position: absolute;
    left: 55px;
    bottom: 0;
    height: 1px;
    width: 100%;
    /* or 100px */
    border-bottom: 1px solid var(--bg-light-gray);
}

.data {
    color: var(--gray-light-color);

    font-size: 14px;

}

.czas,
.czasCont {
    font-weight: 700;
}

.button-section {
    margin-right: 10px;
}

.moreCont {
    border-top: 4px solid var(--bg-gray);
    margin-top: -1px;

}

.loadMore {
    background-color: var(--bg-gray);
    padding: 15px 20px 5px 20px;
    text-align: center;
}

.loadMore span {
    display: block;
    float: left;
    margin-right: 5px;
    margin-left: 5px;
}

/*player*/
input[type="range"] {
    position: relative;
    -webkit-appearance: none;
    width: 160px;
    margin: 0;
    padding: 0;
    height: 19px;
    margin: 5px 0;
    float: left;
    outline: none;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
}

input[type="range"]::before {
    position: absolute;
    content: "";
    top: 8px;
    left: 0;
    width: var(--seek-before-width);
    height: 3px;
    background-color: #007db5;
    cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
    position: relative;
    -webkit-appearance: none;
    box-sizing: content-box;
    border: 1px solid #007db5;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
    margin: -7px 0 0 0;
}

input[type="range"]:active::-webkit-slider-thumb {
    transform: scale(1.2);
    background: #007db5;
}

input[type="range"]::-moz-range-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
}

input[type="range"]::-moz-range-progress {
    background-color: #007db5;
}

input[type="range"]::-moz-focus-outer {
    border: 0;
}

input[type="range"]::-moz-range-thumb {
    box-sizing: content-box;
    border: 1px solid #007db5;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

input[type="range"]:active::-moz-range-thumb {
    transform: scale(1.2);
    background: #007db5;
}

input[type="range"]::-ms-track {
    width: 100%;
    height: 3px;
    cursor: pointer;
    background: transparent;
    border: solid transparent;
    color: transparent;
}

input[type="range"]::-ms-fill-lower {
    background-color: #007db5;
}

input[type="range"]::-ms-fill-upper {
    background: linear-gradient(to right, rgba(0, 125, 181, 0.6) var(--buffered-width), rgba(0, 125, 181, 0.2) var(--buffered-width));
}

input[type="range"]::-ms-thumb {
    box-sizing: content-box;
    border: 1px solid #007db5;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background-color: #fff;
    cursor: pointer;
}

input[type="range"]:active::-ms-thumb {
    transform: scale(1.2);
    background: #007db5;
}

.player {
    width: 100%;
    clear: both;
    overflow: hidden;
    display: flex;
    align-items: center;
}

#current-time {
    margin-right: 10px;
}

#current-duration {
    margin-left: 10px;
}

.current-duration {
    font-weight: 700;
}

/*loader*/
.lds-roller {

    width: 80px;
    height: 80px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.lds-roller div {
    animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    transform-origin: 40px 40px;
}

.lds-roller div:after {
    content: " ";
    display: block;
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cef;
    margin: -4px 0 0 -4px;
}

.lds-roller div:nth-child(1) {
    animation-delay: -0.036s;
}

.lds-roller div:nth-child(1):after {
    top: 63px;
    left: 63px;
}

.lds-roller div:nth-child(2) {
    animation-delay: -0.072s;
}

.lds-roller div:nth-child(2):after {
    top: 68px;
    left: 56px;
}

.lds-roller div:nth-child(3) {
    animation-delay: -0.108s;
}

.lds-roller div:nth-child(3):after {
    top: 71px;
    left: 48px;
}

.lds-roller div:nth-child(4) {
    animation-delay: -0.144s;
}

.lds-roller div:nth-child(4):after {
    top: 72px;
    left: 40px;
}

.lds-roller div:nth-child(5) {
    animation-delay: -0.18s;
}

.lds-roller div:nth-child(5):after {
    top: 71px;
    left: 32px;
}

.lds-roller div:nth-child(6) {
    animation-delay: -0.216s;
}

.lds-roller div:nth-child(6):after {
    top: 68px;
    left: 24px;
}

.lds-roller div:nth-child(7) {
    animation-delay: -0.252s;
}

.lds-roller div:nth-child(7):after {
    top: 63px;
    left: 17px;
}

.lds-roller div:nth-child(8) {
    animation-delay: -0.288s;
}

.lds-roller div:nth-child(8):after {
    top: 56px;
    left: 12px;
}

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.date-line {
    float: left;
    border-bottom: 3px solid #ffcc00;
    margin-top: 15px;
    font-weight: 700;
}

.brak-wynikow {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    height: 300px;
    flex-wrap: wrap;
    font-size: 20px;
    font-weight: 700;
}

.link {
    margin-left: 10px;
}

.link a {
    display: inline-block;
    width: 15px;
    height: 15px;
    color: transparent;
    background-image: url(../static/icon-share.png);
    background-size: contain;
    background-repeat: no-repeat;
}
.link:hover{cursor:pointer;}
