@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,400,700');

body {
    background-color: #4c4c4c;
	color: '#fff';
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #4c4c4c;
}

.navbar .nav-link {
    margin: auto 10px;
    transition: all .3s;
}

.navbar .nav-link .fas {
    color: rgba(255, 255, 255, .3);
}

.search-icon {
    margin-left: -40px;
    color: rgba(255, 255, 255, .1);
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
    color: #fff;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-text {
    color: rgba(255, 255, 255, .75);
}

.navbar-light .navbar-text {
    margin: auto 8px;
}

.navbar-light .navbar-text b {
    color: #fff;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #fff;
}

.navbar input[type="search"] {
    background-color: #313131;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    color: #fff;
    font-size: 14px;
    width: 180px;
}

.navbar-brand {
    position: relative;
}

.navbar-time {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
    display: inline-block;
    position: absolute;
    right: 9px;
    bottom: 5px;
}

.tv-list-wrapp {
    flex: 0.25;
    height: 100%;
    background-color: #4c4c4c;
    float: left;
    position: relative;
}

.list-item {
    padding: 10px;
    position: relative;
	background: #4c4c4c;
    border-bottom: 1px solid #313131;
}

.list-item:after {
    content: '';
    display: block;
    clear: both;
}

.list-item .logo {
    float: left;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}


.list-item .logo .title {
    width: 110px;
    position: absolute;
    color: rgba(255, 255, 255, .8);
    font-size: 10px;
    top: 0;
    left: 0;
    padding: 5px;
    line-height: 1;
    text-align: center;
}
.list-item .logo img {
    width: 110px;
}
.list-item .logo .time_background {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: absolute;
    padding-left: 5px;
    padding-right: 5px;
    width: 100%;
    bottom: 4px;
    top: auto;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .3);
}
.list-item .logo .time_background .start,
.list-item .logo .time_background .end {
	color: #fff;
    font-size: 12px;
    filter: drop-shadow(2px 4px 6px black);
}

.list-item .logo .progres,
.list-item .logo .progres-bg {
    height: 4px;
    position: absolute;
    background-color: #1e7e34;
    bottom: 0;
    left: 0;
}

.list-item .logo .progres-bg {
    width: 110px;
    background-color: rgba(255, 255, 255, .3);
}

.list-item .data {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
    float: left;
    width: calc(100% - 110px);
    font-size: 13px;
}

.list-item .data > div {
    padding-left: 10px;
}

.list-item .data .titleArea .title {
    font-size: 15px;
    text-transform: uppercase;
    color: #d39e00;
    letter-spacing: 1px;
	padding-left: 10px;
}

.list-item .data .titleArea {
    display: flex;
	align-items: center;
	justify-content: space-between;
}

.list-item .data .titleArea .hasArchiveIcon {
    width: 16px;
    height: 16px;
}

.list-item .data .titleArea .doesNotHaveArchiveIcon {
	display: none;
}

.list-item .data .buttonArea {
    display: flex;
	justify-content: flex-end;
	flex-direction: column;
	flex-grow: 1;
}

.list-item .data button {
    width: calc(55% - 5px);
    font-size: 14px;
    font-weight: bold;
    transition: all .3s;
}

.btn-danger {
    background-color: #d39e00;
}

.list-item .data .btn-archive {
    background-color: #ddd;
    border-color: #555;
    color: #555;
    width: calc(45% - 5px);
}

.list-item .data .btn-archive .fas {
    color: #555;
}

.list-item .data .btn-archive:hover {
    background-color: #ddd;
}

.list-item .data button .fas {
    color: rgba(0, 0, 0, .3);
}

.list-item .data .now {
	color: #fff;
    font-weight: bold;
    font-size: 15px;
    margin: 10px 0 5px 0;
}

.list-item .data .next {
    color: #d8d8d8;
    margin-bottom: 5px;
    font-style: italic;
    font-size: 12px;
}

.channels-select {
    border: none;
    font-weight: bold;
    font-size: 14px;
}

.channel-header {
    padding: 5px 0;
}

.list-item.active:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    background-color: #313131;
    position: absolute;
    top: 50%;
    margin-top: -10px;
    right: 0px;
    margin-right: -8px;
    border-radius: 3px;
    transform: rotate(45deg);
}

.vjs-live-display {
	margin-top: auto;
    margin-bottom: auto;
    margin-left: 15px;
}

.tv-archive-wrapp {
    flex: 0.3;
    float: left;
    color: #fff;
    background-color: #4c4c4c;
    position: relative;
}

.tv-archive-wrapp > header .title {
    font-weight: bold;
    line-height: 48px;
    padding: 0 15px;
}

.archive, .tv-list {
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
}

.upClick, .downClick {
    color: #fff;
    opacity: .2;
    position: absolute;
    top: 58px;
    left: 50%;
    width: 200px;
    margin-left: -100px;
    z-index: 1;
    background-color: rgba(0, 0, 0, .7);
    border-radius: 50px;
    transition: all .3s;
}

.upClick {
    display: none;
}

.downClick {
    bottom: 10px;
    top: auto;
}

.upClick:hover, .downClick:hover {
    opacity: 1;
}

/* width */
::-webkit-scrollbar {
    width: 7px;
}

/* width */
body::-webkit-scrollbar {
    width: 0 !important;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, .1);
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .3);
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, .5);
}

.archive-list {
    float: right;
}

.archive-list .day {
    width: 45px;
    float: left;
    font-size: 14px;
    text-align: center;
    padding: 8px;
    line-height: 1.2;
    transition: all .3s;
}

.archive-list .day:hover {
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}

.archive-list .day > div:nth-of-type(2) {
    font-weight: bold;
    color: #1e7e34;
}

.archive-list .day.active {
    color: #fff;
    position: relative;
    background-color: #1e7e34;
}

.archive-list .day.active:before {
    content: '';
	z-index: 1;
    display: block;
    width: 8px;
    height: 8px;
    background-color: #1e7e34;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -4px;
    margin-bottom: -4px;
    transform: rotate(45deg);
}

.archive-list .day.active > div {
    color: #fff;
}


.archive-item {
    line-height: 38px;
    padding: 0 15px;
    font-size: 13px;
    cursor: pointer;
    transition: all .3s;
}

.archive-item .time {
    color: rgba(255, 255, 255, .5);
    padding-right: 10px;
}
.archive-item .title {
    font-weight: bold;
    padding-right: 10px;
}

.archive-item .length {
    color: rgba(255, 255, 255, .3);
    float: right;
    font-style: italic;
}

.archive-item:nth-of-type(2n+1) {
    background-color: #3c3c3c;
}

.archive-item.old {
    color: rgba(255, 255, 255, .2);
}

.archive-item.active {
    color: #1e7e34;
}

.archive-item:hover {
    color: #1e7e34;
    background-color: #383838;
    cursor: pointer;
}

.player-wrapp {
	background: #000;
    flex: 0.45;
    float: right;
    position: relative;
}

.player {
    position: relative;
    padding-bottom: 56.25%; /* proportion value to aspect ratio 16:9 (9 / 16 = 0.5625 or 56.25%) */
    height: 0;
    overflow: hidden;
}

.player iframe {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.info-wrapp {
    -webkit-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5);
    box-shadow: inset 0px 0px 15px 0px rgba(0,0,0,0.5);
    overflow-x: hidden;
    overflow-y: scroll;
    position: relative;
    background-size: cover;
}
.info-wrapp b {
    color: #fff;
}
.info-wrapp .more-info {
    font-weight: bold;
    font-style: italic;
    padding: 10px 0 5px 0;
}
.info-wrapp .more-info span {
    margin-right: 10px;
    display: inline-block;
    line-height: 40px;
}
.info-wrapp .more-info span a {
    background-color: rgba(255, 255, 255, .1);
    padding: 8px 12px;
    border-radius: 20px;
    transition: all .3s;
}
.info-wrapp .more-info span a:hover {
    background-color: rgba(255, 255, 255, 1);
    text-decoration: none;
}
.info-wrapp .more-info span:last-of-type a {
    color: #1e7e34;
}
.info-wrapp .poster {
    width: 200px;
    float: left;
    padding: 20px;
}
.info-wrapp .poster img {
    width: 100%;
    max-height: 100%;
    border-radius: 4px;
}

.info-wrapp .info {
    float: right;
    width: calc(100% - 200px);
    color: #fff;
}

.info-wrapp .info > div {
    padding: 20px 20px 20px 0;
}

.info-wrapp .info h3 {
    font-weight: bold;
}
.info-wrapp .info p {
    font-size: 14px;
    color: rgba(255, 255, 255, .8);
}


.info-wrapp .poster:after,
.tv-archive-wrapp > header:after,
.archive-list:after {
    content: '';
    display: block;
    clear: both;
}

.navbar-light .navbar-toggler {
    background-color: #313131;
}

.back-channel-wrapp {
    display: none;
}

.back-channel {
    color: #1e7e34;
}

@media (min-width: 1201px) {
    .btn-play span {
        display: none;
    }
    .btn-archive span {
        display: none;
    }
    #time-item {
        display: none;
    }
}

@media (min-width: 1650px) {
    .btn-play span {
        display: inline-block;
    }
    .btn-archive span {
        display: inline-block;
    }
    #time-item {
        display: list-item;
    }
}

@media (min-width: 700px) and (max-width: 1200px) {
    .navbar .nav-link,
    .navbar .navbar-text {
        font-size: 14px;
        text-align: center;
    }
}

@media (max-width: 1000px) {
    .tv-list-wrapp,
    .tv-archive-wrapp {
        flex: 0.5;
    }
    .player-wrapp {
        flex: 1;
    }
}

@media (min-width: 1000px) and (max-width: 1200px) {

    .tv-list-wrapp,
    .tv-archive-wrapp {
        flex: 0.35;
    }
    .player-wrapp {
        flex: 0.3;
    }

    .info-wrapp .poster {
        width: 120px;
        padding: 20px;
    }
    .info-wrapp .info {
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
    }

}


@media (max-width: 700px) {
    .tv-list-wrapp,
    .tv-archive-wrapp,
    .player-wrapp {
        width: 100%;
    }

    .tv-archive-wrapp {
        position: absolute;
        left: 100%;
        transition: all ease .5s;
        z-index: 9;
    }

    .upClick, .downClick {
        display: none;
    }

    body {
        overflow-x: hidden;
    }

    .back-channel-wrapp {
        display: inline-block;
    }

    .info-wrapp .poster {
        width: 120px;
        padding: 20px;
    }
    .info-wrapp .info {
        width: calc(100% - 40px);
        margin: 0 20px 20px 20px;
    }
}

@media (max-width: 991px) {
    .navbar-text {
        width: 100%;
    }

    .navbar .fas.fa-sign-out-alt:after {
        content: ' Odhlásit se';
        font-family: 'Open Sans', sans-serif;
        color: rgba(255, 255, 255, .8);
    }

    .navbar input[type="search"] {
        width: 100%;
    }
}

.header-block {
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.header-block h1 {
    font-weight: 100;
    margin: 50px 0 20px 0;
}

.header-block p,
.darker-wrapper p {
    color: rgba(255, 255, 255, .5);
}

.darker-wrapper {
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, .1);
}

.darker-wrapper {
    padding: 30px 0;
}

.darker-wrapper .nav-item,
.darker-wrapper .nav-pills {
    display: inline-block;
}

.nav-pills a {
    color: #d39e00;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #d39e00;
    border-radius: 30px;
    font-weight: bold;
}

.card {
    background-color: rgba(0, 0, 0, .1);
}

.input-group-text {
    width: 180px;
    background-color: #d39e00;
    border: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}
.card-body .input-group:nth-of-type(2) {
    margin-bottom: 0 !important;
}

.card-body .form-control {
    border: none;
    font-size: 13px;
}

.mt-20 {
    margin-top: 20px;
}

ol {
    text-align: left;
}

ol li {
    padding-bottom: 20px;
}

.label {
    background-color: rgba(255, 255, 255, .2);
    font-size: 14px;
    padding: 2px 4px;
    border-radius: 3px;
    font-style: italic;
}

.progress {
    margin-bottom: 20px;
    height: 40px;
    background-color: rgba(0, 0, 0, .15);
    border-radius: 30px;
}

.progress .progress-bar {
    background-color: #d39e00;
    font-weight: bold;
}

.text-normal {
    color: #fff !important;
}

.table td, .table th {
    border-top-width: 0px !important;
}

.table tr:nth-of-type(2n+1) {
    background-color: rgba(255, 255, 255, .05);
}

.device {
    margin-top: 30px;
}

.device .power-button {
    display: inline-block;
    font-size: 20px;
    width: 60px;
    line-height: 60px;
    background-color: rgba(0, 0, 0, .1);
    border-radius: 5px;
    color: rgba(255, 255, 255, .3);
    margin-right: 10px;
}

.device .title {
    display: inline-block;
    min-width: 200px;
    text-align: left;
    color: rgba(255, 255, 255, .4);
}

.device .btn {
    background-color: rgba(255, 255, 255, .1);
    color: #fff;
    margin-left: 30px;
    width: 130px;
}

.device .btn:hover {
    background-color: rgba(255, 255, 255, .2);
}

.device.active .power-button {
    background-color: green;
    color: #fff;
}

.device.active .title {
    font-weight: bold;
    color: #fff;
}

.label-premium {
    color: #fff;
    background-color: rgba(0, 0, 0, .3);
    padding: 5px 8px;
    border-radius: 10px;
    font-style: normal;
    font-weight: bold;
    display: inline-block;
}

.darker-wrapper h1,
.darker-wrapper h2,
.darker-wrapper h3,
.darker-wrapper h4 {
    font-weight: 100;
}

.tv-list .list-item.active .btn-play {
    background-color: #2a8a14;
    border-color: #2a8a14;
}

.tv-list .list-item.active .btn-play:focus {
    box-shadow: 0 0 0 0.2rem rgba(29, 111, 24, 0.5);
}

@media (max-width: 700px) {
	.player-wrapp {
		flex: 0 !important;
		max-width: 0% !important;
		max-height: calc(100vh - 70px);
	}
	.player {
		position: absolute !important;
		display: flex !important;
		bottom: 10px !important;
		right: 10px !important;
		height: 170px !important;
		z-index: 9999 !important;
	}
	.video-js {
		width: 80vw !important;
		height: 170px !important;
	}
	.tv-list-wrapp {
		flex: 1 !important;
	}
	.tv-archive-wrapp {
		display: none !important;
	}
}