html {
	font-size: 16px;
}

body {
    font-size: 1rem;
	color: #000000d9;
	line-height: 1.5715;
	min-height: 100%;
	font-family: 'Source Sans Pro';
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;	
	margin-bottom: 1rem;
}	

.h1, h1 {
	font-size: 1.375rem;
}

.h2, h2 {
	font-size: 1.25rem;
}

.h3, h3 {
	color: #003F75;
	font-size: 1rem;
}

a {
	color: #77ab11;
	text-decoration: none;
	background-color: transparent;
	outline: none;
	cursor: pointer; 
}

a:hover {
	text-decoration: none;
	color: rgba(119, 171, 17, 0.8);
}

dl, ol, ul, p, table {
    margin-top: 0;
    margin-bottom: 2rem;
}

:root {
    --dark-green: #73be46;
    --light-green: #77ab11;	
}

.navbar-expand-custom .navbar-nav .dropdown-menu {
	border-top: 3px solid #77ab11;
}

.navbar-expand-custom .navbar-nav .dropdown-item:focus, 
.navbar-expand-custom .navbar-nav .dropdown-item:hover {
	color: #ffffff;
	text-decoration: none;
	background-color: #41861f;
}

.light-green-bg {
    background-color: var(--light-green) !important;
}

.dark-green-bg {
    background-color: var(--dark-green) !important;
}

.width-fit-content {
    width: fit-content!important;
}

.form-row {
	margin-right: -10px;
	margin-left: -10px;
}

.form-row > .col, .form-row > [class*="col-"] {
	padding-right: 10px;
	padding-left: 10px;
}

.form-control {
	color: #000000d9;
	font-size: 0.875rem;
	border-radius: 0;
}

.form-control:focus {
	border-color: #8FB830;
	outline: 0;
	box-shadow: none;
}

.table {
	color: #000000d9;
	height: 1px;
	border-collapse: separate;
	border-spacing: 0;
}

.table td, .table th {
	padding: 4px 6px;
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #D0D0D0;
	border-bottom: 1px solid #f0f0f0;
}

.table-responsive {overflow-x: unset !important;}
.table thead {position: sticky; top: 0px; }

.table thead tr {
	height: 100%;
}	

.table thead th {
	background: #91BD1D;
	padding: 0px !important;
	border-right: 1px solid #D0D0D0;
	border-bottom: 1px solid #f0f0f0;
	position: relative;	
}

.table tbody th {
	font-weight: 500;
	word-break: keep-all;
}

.table-hover tbody tr:hover {
	background-color: #E1F1C7;
}

.table thead th > div {
	cursor: pointer;
	min-height: 100%;
}

.table thead th > div > div {
	flex: 1;
	min-width: 0;
}

.table thead th > div > div:hover {
	background-color: #77AB11;
}

.table thead th .header-cell {
	writing-mode: vertical-rl;
	text-align: left;
	transform: rotate(-180deg);
	width: fit-content;
	flex-grow: 1;
}

.table thead th .header-cell span,
.table thead th .header-cell-normal span {
	font-weight: 500;
	word-break: keep-all;
	color: white;
}

.table thead th .header-cell-dropdownButton {
	width: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	position: absolute;
	right: 0;
	bottom: 0;
	height: 50%;
	color: rgba(0, 0, 0, 0.3);
	background-color: #91BD1D;
}

.table thead th .header-cell-dropdownButton:hover {
	background-color: #77AB11 !important;
}

.table thead th .header-cell-dropdownButton:hover,
.table thead th .header-cell-dropdownButton.active {
	color: white;
}

.table thead th .header-cell-sorterArrow {
	font-size: 16px;
	width: 24px;
	display: flex;
	align-items: center;
	height: 50%;
	color: white;
}

.table thead th .header-cell-sorterArrow.sorterArrowDown {
	transform: rotate(180deg);
}

.table thead th .header-cell-horizontal:hover {
	background: transparent;
}

.table thead th .header-cell-horizontal > div {
	padding: 0.5rem;
}

.table thead th .header-cell-horizontal > div:hover {
	background-color: #77AB11 !important;
}	


        .draggable-modal {
            position: fixed;
            z-index: 1050;
			width: 300px;
			height: auto;
        }
        .draggable-modal-header {
            cursor: move;
            background-color: #f8f9fa;
            border-bottom: 1px solid #e9ecef;
        }
		@media (max-width: 767px) {
        .draggable-modal {
            width: 100% !important;
            height: 100% !important;
            top: 0 !important;
            left: 0 !important;
            transform: none !important;
        }
        .draggable-modal .modal-content {
            height: 100%;
            border-radius: 0;
            display: flex;
            flex-direction: column;
        }
        .draggable-modal .modal-body {
            flex: 1;
            overflow-y: auto;
        }
    }		


.popover-body .popover-body {
	padding: 0;
}

.text-truncate {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

ul.list-bordered li {
	padding-bottom: 1rem;
}

ul.list-bordered li + li {
	border-top: 1px solid rgba(0,0,0,.125);
	padding-top: 1rem;
}

.page-link {
	padding: .25rem .5rem;
	border-color: transparent;
	color: #000000d9;
}

.page-link:hover {
	background-color: transparent;
	border-color: transparent;
	text-decoration: underline;
	color: #000000d9;
}

.page-item.active .page-link {
	background-color: #fff;
	border-color: #77ab11;
	color: #000000d9;
}

/* pagging */
.ant-pagging .form-control,
.ant-pagging .page-link {
	padding: .25rem .5rem;
	line-height: 1.25;
	height: calc(1.5em + .5rem + 2px);
}

.ant-pagging .page-link {
	display: inline-flex;
    align-items: center;
}


.ant-divider {
	box-sizing:border-box;
	margin:0;
	padding:0;
	color:#000000d9;
	font-size: 0.875rem;
	line-height: 1.5715;
	list-style:none;
	border-top:1px solid rgba(0,0,0,.06);
}

.ant-divider-vertical {
	position:relative;
	top:-.06em;
	display:inline-block;
	height:.9em;
	margin:0 8px;
	vertical-align:middle;
	border-top:0;
	border-left:1px solid rgba(0,0,0,.06)
}
.ant-divider-horizontal {
	display:flex;
	clear:both;
	width:100%;
	min-width:100%;
	margin: 16px 0
}

.ant-filter {
	border-bottom: 1px #d9d9d9 solid;
}

.ant-filter-btn:not(.collapsed) span:first-child {
	transform: rotate(90deg);
}

@media (min-width: 1380px) {
    .container{
        max-width: 1320px;
    }
}

/* nav */
.navbar {
	padding: .5rem 0;
}

.navbar .btn-outline-primary {
	text-decoration: none;
	border-radius: 20px !important;
}

/* logo */
.navbar-light .navbar-brand {
	color: #4E4E4E;
	text-decoration: none;
	font-size: 1.444rem;
	font-weight: 600;
	line-height: 1.444rem;
	margin: 0 32px;
}

.menuitem-label {
	display: inline-flex;
	align-items: center;
}

/* nav */
.navbar-light .navbar-nav .nav-link {
	text-decoration: none;
	line-height: 60px;
	padding: 0 12px;
}

.navbar-light .navbar-nav .nav-link,
.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,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
	color: white;
}

.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,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
	background: #548511;
}	

.anticon {
	display: inline-block;
	color: inherit;
	font-style: normal;
	line-height: 0;
	text-align: center;
	text-transform: none;
}

.menuitem-label .anticon {
	margin-right: 10px;
	font-size: 18px;
}

@media (min-width: 1200px) {

    .navbar-expand-custom {
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .navbar-expand-custom .navbar-nav {
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .navbar-expand-custom .navbar-nav .dropdown-menu {
        position: absolute;
		margin: 15px 0 0 0;
		padding: 0;
    }
	
	.navbar-expand-custom .navbar-nav .nav-link {
		padding: 0 14px;
	}
	
	.navbar-expand-custom .navbar-nav .dropdown-item {
		display: block;
		padding: 5px 14px;
	}
	
	.navbar-expand-custom .navbar-nav .dropdown-menu:before {
		width: 0;
		height: 0;
		border-style: solid;
		border-right: 7px solid transparent;
		border-left: 7px solid transparent;
		border-bottom: 8px solid #77ab11;
		border-top: 0;
		content: '';
		position: absolute;
		top: -11px;
		left: 15px;
	}

	.navbar-expand-custom .navbar-nav .nav-item + .nav-item {
		margin: 0 0 0 .5rem;
	}

    .navbar-expand-custom > .container,
    .navbar-expand-custom > .container-fluid,
    .navbar-expand-custom > .container-lg,
    .navbar-expand-custom > .container-md,
    .navbar-expand-custom > .container-sm,
    .navbar-expand-custom > .container-xl {
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    }

    .navbar-expand-custom .navbar-collapse {
        display: -ms-flexbox !important;
        display: flex !important;
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
    }

    .navbar-expand-custom .navbar-toggler {
        display: none;
    }
}

/* drobeckova */
.breadcrumb {
	padding: .75rem 24px;
	font-size: 0.875rem;
}

/* hlavni obsah */
main {
	flex: 1;	
}

.ant-table .table thead th {
	min-width: 60px;
}


.ant-table-container {
    border-left: 1px solid #D0D0D0;
    border-top: 1px solid #D0D0D0;
    border-bottom: 1px solid #D0D0D0;
}

.ant-card-bordered {
	border: 1px solid #f0f0f0;
}

.ant-card {
	margin: 0;
	padding: 0;
	color: #000000d9;
	font-size: 0.875rem;
	position: relative;
	background: #fff;
	border-radius: 2px;
}

.ant-card-head {
	min-height: 48px;
	margin-bottom: -1px;
	padding: 0 24px;
	color: #000000d9;
	font-weight: 500;
	font-size: 16px;
	background: transparent;
	border-bottom: 1px solid #f0f0f0;
	border-radius: 2px 2px 0 0;
}

.ant-card-head span > svg {
	width: 25px;
	height: 25px;
}

.ant-card-head-wrapper {
	display: flex;
	align-items: center;
}

.ant-card-head-title {
	display: inline-block;
	flex: 1;
	padding: 16px 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 20px;
}

.ant-card-head-title h1 {
	margin: 0;
	text-wrap: wrap;
}

.ant-space-align-center {
	align-items: center;
}

.ant-space {
	display: inline-flex;
}

.ant-card-body {
	padding: 24px;
}

@media (max-width: 575px) {
	.ant-card-body {
		padding-left: 0;
		padding-right: 0;
	}
}

.ant-card-bordered {
	border: 1px solid #f0f0f0;
}

.btn, .btn:active, .btn:focus {
	outline: 0;
}

.btn {
	position: relative;
	display: inline-block;
	white-space: nowrap;
	text-align: center;
	box-shadow: 0 2px #00000004;
	cursor: pointer;
	padding: 4px 15px;
	font-size: 0.875rem;
	border-radius: 2px;	
}

.btn[disabled], .btn[disabled]:hover, .btn[disabled]:focus, .btn[disabled]:active {
	color: #00000040;
	border-color: #d9d9d9;
	background: #f5f5f5;
	text-shadow: none;
	box-shadow: none;
}

.btn[disabled] {
	cursor: not-allowed;
}

.btn-default {
	background: #fff;
	border-color: #d9d9d9;
	color: #000000;
}

.btn-default:hover, .btn-default:focus {
	color: #8fb830;
	border-color: #8fb830;
	background: #fff;
}

.btn-primary {
	color: #fff;
	border-color: #77ab11;
	background: #77ab11;
}

.btn-primary:hover, .btn-primary:focus {
	color: #fff;
	border-color: #8fb830;
	background: #8fb830;
}

.btn-secondary {
	background: #dee2e6 !important;
	border-color: #dee2e6 !important;
	color: #000000d9 !important;
}

.btn-secondary:hover {
	background: #edeff1 !important;
	border-color: #edeff1 !important;
	color: #000 !important;
}

.btn-danger {
    border-color: #ff4d4f;
    background: #ff4d4f;	
}

.btn-danger.disabled {
	background: #f5f5f5!important;
	color: #00000040;
    border-color: #d9d9d9;
	opacity: 1 !important;
}

.btn-danger.disabled:hover {
	pointer-events: auto !important;
	cursor: not-allowed !important;
}

.btn-slate {
	color: #fff;
	border-color: #64748b;
	background: #64748b;
}

.btn-slate:hover, .btn-slate:focus {
	color: #fff;
	border-color: #556077;
	background: #556077;
}


/* login */
.login {
	width: 350px;
}

@media (max-width: 575px) {
	.login {
		width: auto;
	}
}

/* zalozky */
.nav-tabs .nav-link {
	border-color: #dee2e6 #dee2e6 #e9ecef;
	background: #fafafa;
}

.nav-tabs .nav-item + .nav-item {
	margin-left: 2px;
}

/* paticka */
footer {
	padding: 24px 50px;
	color: #000000d9;
	font-size: 0.875rem;
	background: #f0f2f5;
}

.popover {
	min-width: 300px;
}

.date i {
	font-size: 10px;
}

/* bootstrap select2 */
.select2-container--default .select2-selection--multiple {
    border-radius: 0;
	border: 1px solid #ced4da;
}

.select2-container {
	width: 100% !important;	
}

.select2-container--default.select2-container--open .select2-selection--multiple {
	border: solid #8FB830 1px;
}


/* boostrap select2 single */
.select2-container .select2-selection--single {
	height: auto;
}

.select2-container--default .select2-selection--single {
    border-radius: 0;
	border: 1px solid #ced4da;	
}

.select2-container--default.select2-container--open .select2-selection--single {
	border: solid #8FB830 1px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444;
    height: calc(1.5em + 0.75rem);
    padding: 0.375rem 0.75rem;
	line-height: 1.5;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus-visible {
	outline: none;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(119,171,17,0.8);
    color: white;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
	font-size: 1rem;
	position: relative;
	margin-right: 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px;
}

/* custom color checkbox, radio */
.custom-control-input:checked~.custom-control-label::before {
    color: #fff;
    border-color: #65ac25;
    background-color: #65ac25;
}

.input-group-text {
	font-size: 0.875rem;
	border-radius: 0;
	border-left: 0;
	border-right: 0;
}	

.input-daterange input:first-child,
.input-daterange input:last-child {
	border-radius: 0;
}

#wait { display: none; margin: 0 auto; position:fixed; left:0; top:0; width:100%; height:100%; text-align: center; background-image:url("../design/transparentbg.png"); z-index:99 } 


.page-loading-warp {
    padding: 98px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ant-spin {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    color: rgba(0, 0, 0, 0.65);
    font-size: 14px;
    font-variant: tabular-nums;
    line-height: 1.5;
    list-style: none;
    -webkit-font-feature-settings: 'tnum';
    font-feature-settings: 'tnum';
    position: absolute;
    display: none;
    color: #1890ff;
    text-align: center;
    vertical-align: middle;
    opacity: 0;
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
    transition: -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
    transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
    transition: transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86), -webkit-transform 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);
}

.ant-spin-spinning {
    position: static;
    display: inline-block;
    opacity: 1;
}

.ant-spin-dot {
    position: relative;
    display: inline-block;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ant-spin-dot-item {
    position: absolute;
    display: block;
    width: 9px;
    height: 9px;
    background-color: #87b234;
    border-radius: 100%;
    -webkit-transform: scale(0.75);
    -ms-transform: scale(0.75);
    transform: scale(0.75);
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    opacity: 0.3;
    -webkit-animation: antSpinMove 1s infinite linear alternate;
    animation: antSpinMove 1s infinite linear alternate;
}

.ant-spin-dot-item:nth-child(1) {
    top: 0;
    left: 0;
}

.ant-spin-dot-item:nth-child(2) {
    top: 0;
    right: 0;
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
}

.ant-spin-dot-item:nth-child(3) {
    right: 0;
    bottom: 0;
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
}

.ant-spin-dot-item:nth-child(4) {
    bottom: 0;
    left: 0;
    -webkit-animation-delay: 1.2s;
    animation-delay: 1.2s;
}

.ant-spin-dot-spin {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-animation: antRotate 1.2s infinite linear;
    animation: antRotate 1.2s infinite linear;
}

.ant-spin-lg .ant-spin-dot {
    font-size: 64px;
    width: 64px;
    height: 64px;
}

.ant-spin-lg .ant-spin-dot i {
    width: 28px;
    height: 28px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .ant-spin-blur {
        background: #fff;
        opacity: 0.5;
    }
}

@-webkit-keyframes antSpinMove {
    to {
        opacity: 1;
    }
}

@keyframes antSpinMove {
    to {
        opacity: 1;
    }
}

@-webkit-keyframes antRotate {
    to {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}

@keyframes antRotate {
    to {
        -webkit-transform: rotate(405deg);
        transform: rotate(405deg);
    }
}



        .graph-container {
            width: 100%;
            margin: 50px auto;            
            font-family: Arial, sans-serif;
        }
		
		.graph {
			position: relative;
		}

        .bar {
            display: flex;
            height: 75px;
            width: 100%;
            position: relative;
            margin: 35px 0;
        }

        .segment {
            position: relative;
            height: 100%;
            cursor: default;
        }

        /* Základní barvy segmentů a jejich hover stavy */
        .segment::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            right: 0;
            bottom: 0;
            transition: all 0.3s ease;
        }
		
        .segment-0::before { 
            background-color: #f5b7b1; 
        }		
        .segment-1::before { 
            background-color: #FDEDEC; 
        }
        .segment-2::before { 
            background-color: #fcf3cf; 
        }
        .segment-3::before { 
            background-color: #fcf3cf; 
        }
        .segment-4::before { 
            background-color: #d4efdf; 
        }
        .segment-5::before { 
            background-color: #a9dfbf; 
        }

        /* Hover efekty pro segmenty */
        .segment:hover::before {
            transform: scaleY(1.05);
        }

        .segment-0:hover::before { 
            background-color: #e57373;
        }
        .segment-1:hover::before { 
            background-color: #F9AFAF;
        }
        .segment-2:hover::before { 
            background-color: #f7dc6f;
        }
        .segment-3:hover::before { 
            background-color: #f7dc6f;
        }
        .segment-4:hover::before { 
            background-color: #abebc6;
        }
        .segment-5:hover::before { 
            background-color: #82e0aa;
        }

        /* Šířky segmentů */
		.segment-0 { width: 10%; }
        .segment-1 { width: 15%; }
        .segment-2 { width: 25%; }
        .segment-3 { width: 25%; }
        .segment-4 { width: 15%; }
        .segment-5 { width: 10%; }

        /* Oddělovací čáry */
        .segment::after {
            content: '';
            position: absolute;
            right: 0;
            top: 0;
            bottom: 0;
            width: 1px;
            background-color: rgba(0, 0, 0, 0.1);
            z-index: 1;
        }

        /* První segment má také levou čáru */
        .segment:first-child::after {
            content: '';
            position: absolute;
            left: 0;
            right: auto;
        }

        .values-container {
            position: absolute;
            width: 100%;
            left: 0;
            z-index: 2;
        }

        .top-values {
            top: -25px;
        }

        .bottom-values {
            bottom: -10px;
        }

        .value {
            position: absolute;
            transform: translateX(-50%);
            font-size: 11px;
            white-space: nowrap;
        }

        .vertical-line {
            position: absolute;
            top: -10px;
            bottom: -10px;
            z-index: 2;
        }

        .vertical-line.dashed {
            width: 0;
            border-left: 2px dashed;
        }

        .vertical-line.solid {
            width: 0;
            border-left: 2px solid #91bd1d;
        }

        .line-label {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            font-size: 12px;
            white-space: nowrap;
			color: white;
			background: #91bd1d;
			padding: 2px 4px;
			cursor: default;
        }
		
		.vertical-line.first .line-label {
			top: 20%;
			background: #aca8a8;
		}
			
		.vertical-line.last .line-label  {
			top: 80%;
			background: #8a8ae9;
		}		

		.label-left {
			right: calc(100%);
		}
		
/* filter */		
.ant-toolbar .dropdown-header {
	padding: 0.5rem;
	font-size: 0.75rem;
}

.ant-toolbar .dropdown-item:focus, 
.ant-toolbar .dropdown-item:hover {
    background-color: #e1f1c8;
}


.ant-toolbar .form-filter .form-control {
	height: calc(1.5em + 0.6rem);
	border-radius: 2px;
	border-color: #d9d9d9;
}


/* Styly pro rádiové tlačítka */
.radio-toggle {
	display: flex;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	width: 100%;
}

.radio-toggle label {
	flex: 1;
	text-align: center;
	padding: 4px 15px;
	cursor: pointer;
	transition: background-color 0.3s;
	margin: 0;
	background-color: #f9f9f9;
}

.radio-toggle input[type="radio"] {
	display: none;
}

.radio-toggle input[type="radio"]:checked + label {
	background-color: #77ab11;
	color: white;
}

.radio-toggle label:first-of-type {
	border-right: 1px solid #ccc;
}

		
ul.errors {
  display: block;
  width: 100%;
  margin-top: .25rem;
  font-size: .875em;
  color: #dc3545;
  list-style: none;
  padding: 0;
}