/*!
 * Resource /res/cms/cms.css from 2024-07-26 17:54:42
 *
 */
.cms-form-keys .data {
	background: white;
}
.cms-form-keys .form {
	float: left;
	margin-bottom: 3px;
}
.cms-form-keys .form select {
	height: 28px;
	line-height: 28px;
	margin-right: 3px;
}
.cms-form-keys .form .query {
	width: 300px;
	height: 28px;
	line-height: 28px;
}
.cms-form-keys .actions {
	float: left;
	margin-left: 3px;
}
.cms-form-keys .data .item {
	padding: 5px;
	border-bottom: 1px solid #C2D8F2;
}
.cms-form-keys .data .delete {
	float: right;
	color: #FF3700;
	cursor: pointer;
}
.cms-form-keys .data .empty {
	padding: 5px;
	font-style: italic;
}
.cms-form-keys .data div:last-child {
	border-bottom: none;
}

/** Formuláře **/
div.form {
	border: 1px solid #c2d8f2;
	border-collapse: collapse;
	display: flex;
	flex-wrap: nowrap;
	background-color: #e0eeff;
	padding: 6px;
	box-sizing: border-box;
}

form.loading {
	pointer-events: none;
}

form.loading div.form {
	background-image: url("/res/cms/form-loader.gif");
	background-position: center center;
	background-repeat: no-repeat;
}

form.loading .form-row,
form.loading .form-footer {
	opacity: 0;
}

div.form + div.form {
	margin-top: 18px;
}

div.form * {
	box-sizing: border-box;
}

div.form .form {
	background-color: rgba(255, 255, 255, .4);
	flex: 1;
}

div.form h5 {
	width: 100%;
	padding: 5px 10px 0 10px;
}

div.form .column {
	flex: 1;
	min-width: 250px;
	margin: 0 10px;
	flex-basis: auto;
}
div.form .embedded {
	margin: 0 -10px;
}

div.form-footer {
	background-color: #c2d8f2;
	padding: 11px;
	text-align: right;
	font-size: 0;
	white-space: nowrap;
	opacity: 1;
	transition: .1s;
	margin-bottom: -30px; /* Tento cms.css nejak ovlivnuje vypocet vysky obsahu dialogu, proto tato prasarna */
}

div.form-footer input[type="button"],
div.form-footer input[type="submit"] {
	margin-left: 12px;
}
.form-row {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	position: relative;
	padding: 5px 0 10px 0;
	transition: .1s;
	opacity: 1;
}
.form-row label {
	font-size: 12px;
}
.form-row .input-group {
	flex: 1;
	position: relative;
}
.form-row .input-group * {
	width: 100%;
	max-width: 100%;
}
.form-row .input-group.radio:hover,
.form-row .input-group.checkbox:hover {
	background-color: rgba(255, 255, 255, .4);
}
.form-row .input-group.radio *,
.form-row .input-group.checkbox * {
	width: auto;
}
.form-row .input-group.radio label,
.form-row .input-group.checkbox label {
	display: block;
	cursor: pointer;
}
.form-row .input-group.autocomplete-select {
	display: flex;
}
.form-row .input-group.autocomplete-select .autocomplete-suggestions{
	top: 100%;
}
.form-row .input-group.autocomplete-select a.delete {
	width: 30px;
	height: 22px;
	text-align: center;
}
.form-row .input-group.autocomplete-select .search:not([style*="display: none"]) ~ a.delete {
	display: none;
}
.form-row .input-group.autocomplete-select .icon {
	width: 16px;
	vertical-align: middle;
}

.form-row .checkbox label {
	padding-left: 5px;
	display: block;
	cursor: pointer;
}
.form input[type="file"] {
	border: 1px solid transparent;
}
.form input.error,
.form select.error,
.form textarea.error {
	border: 1px solid #FF3700;
}

.form-row .error-message,
.form-row .hint {
	font-size: 8px;
	display: block;
	padding: 0 5px;
	background: #FF3700;
	color: #ffffff;
	overflow: hidden;
	transition: .2s;
	line-height: 14px;
	height: 14px;
	position: absolute;
	bottom: 100%;
	right: 0;
	pointer-events: none;
	width: auto;
	text-transform: uppercase;
	height: 0;
}
.form-row .hint {
	color: #f0f0f0;
	background: #666666;
	bottom: auto;
	top: 100%;
}
.form-row .error-message.visible,
.form-row .hint.visible {
	height: 14px;
	opacity: 1;
}

.form-row.checkbox {
	padding: 0;
}

.cms-heading.h6 {
	margin: 15px 0 5px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #c2d8f2;
}
.cms-note {
	border: 1px solid #c2d8f2;
	background: #f0f0f0;
	padding: 3px 5px;
	color: #333333;
	font-size: 12px;
}

/** Alerty **/
#AlertWrapper {
	pointer-events: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
}

#AlertWrapper .alert {
	max-width: 800px;
	padding: 10px 20px;
	background: #f0f0f0;
	color: #666666;
	border: 1px solid #666666;
	margin: 0 auto 10px;
}

/** Data tabulka **/
.data-table {
	width: 100%;
	line-height: 20px;
	margin-bottom: 20px;
}
.data-table td {
	border-bottom: 1px dotted #c2d8f2;
	padding: 2px 5px;
}
.data-table tr:nth-child(even) {
	background-color: rgba(255, 255, 255, .3);
}
.data-table td.label {
	vertical-align: top;
	font-weight: bold;
	font-size: 12px;
	width: 120px;
}
.data-table + h4 {
	margin-top: 18px;
}

.data-table.wide-label td.label {
	width: 180px;
}

.history {
	width: 100%;
}
.history th {
	background-color: #174974;
	color: #f0f0f0;
	text-align: left;
	padding: 0 5px;
}
.history td {
	border-bottom: 1px solid #7d96b3;
}
.history .date {
	width: 100px;
}
.history .by {
	width: 150px;
}
.history .type {
	width: 80px;
}

.context-menu li > span {
	color: #7d96b3 !important;
}
ul.context-menu a, ul.context-menu span {
	padding-left: 32px;
}

.cmd-line.body {
	display: flex !important;
	justify-content: space-between;
}
/*
.cmd-line.body li,
.cmd-line.body li span {
	white-space: nowrap;
}
.cmd-line.body .left,
.cms-line.body .right {
	float: none !important;
	display: flex;
}
.cmd-line.body .left {
	flex-wrap: wrap;
}
*/
a.highlighted {
	background-color: #77f372;
}
a.highlighted:hover {
	background-color: #4dc049 !important;
}

/*
body.dialog.flexible.v2,
body.dialog.flexible.v2 .content {
	display: block;
}
*/

/** moduly **/
.dialog.order .data-table {
	white-space: nowrap;
}
/** moduly **/
.dialog.member .data-table {
	white-space: nowrap;
}
.dialog.member .data-table.other {
	white-space: normal;
}

.dialog.person-edit,
.dialog.member-edit {
	min-width: 800px;
}
.dialog.person-view,
.dialog.member-view {
	min-width: 800px;
}

.dialog.club-view {
	min-width: 700px;
}

body > div.overlay {
	background-color: #000;
}
.notifyjs-corner {
	z-index: 65000 !important;
}

/*
body.main > div.dialog.minimized {
	min-height: 0;
	min-width: 350px;
}
.dialog.minimizable.minimized h1 {
	font-size: 14px;
}
.dialog.minimizable.minimized .resize {
	display: none !important;
}
*/

.dialog.v2.order-finish,
.dialog.v2.coach-licence,
.dialog.v2.coach-qualification,
.dialog.v2.instructor-licence,
.dialog.v2.instructor-qualification {
	min-width: 350px;
}

.dialog.v2.order-account,
.dialog.v2.membership-end,
.dialog.v2.order-selection,
.dialog.v2.file-selection,
.dialog.v2.club-selection,
.dialog.v2.club-transform-form,
.dialog.v2.leave-club,
.dialog.v2.change-club,
.dialog.v2.order-payment,
.dialog.v2.racer-qualification,
.dialog.v2.registration.member-search {
	min-width: 400px;
}

.dialog.v2.racer-form,
.dialog.v2.member-import.file-selection,
.dialog.v2.order-import.file-selection
{
	min-width: 500px;
}

.dialog.v2.racer,
.dialog.v2.pzs-import.preview,
.dialog.v2.member-import.preview,
.dialog.v2.order-import.preview,
.dialog.v2.oav-import.preview {
	min-width: 1000px;
}

.dialog.v2.club-registration-form,
.dialog.v2.member-registration-form {
	min-width: 1000px;
}

.dialog.v2.group-create,
.dialog.v2.group-add,
.dialog.v2.group-create-members,
.dialog.v2.product-selection {
	min-width: 300px;
}

.dialog.v2.order-detail,
.dialog.v2.added-insurance-form,
.dialog.v2.insurance-form {
	min-width: 500px;
}

.dialog.v2.order-detail.with-items {
	min-width: 1000px;
}
.dialog.v2.trio-form {
	min-width: 900px;
}

.container .row {
	display: flex;
	flex-wrap: nowrap;
	position: relative;
	padding: 5px 0 10px 0;
}

.container .row * {
	flex: auto;
}

.button-link {
	display: inline-block;
	background: none;
	text-decoration: none;
	width: auto;
	min-width: 90px;
	height: 28px;
	margin: 0;
	padding: 0 12px 0 12px;
	font-size: 13px;
	line-height: 28px;
	cursor: pointer;
	border: none;
	white-space: nowrap;
	text-align: center;
}
.button-link + .button-link {
	margin-left: 12px;
}
.button-link.primary {
	background-color: #dc2500;
	color: #fff;
}
.button-link.primary:hover {
	background-color: #ff2300;
}
.button-link.secondary {
	background-color: #0066cc;
	color: #fff;
}
.button-link.secondary:hover {
	background-color: #0080ff;
}

/** seznam odkazu **/
.link-list {
	display: flex;
	flex-direction: column;
}

.link-list .button-link {
	display: block;
	text-align: left;
	margin: 5px 0;
}

/*
.link-list .button-link:hover {
	background-color: #a1c1e5;
	color: black;
}
*/

.link-list .button-link + .button-link {
	margin: 5px 0;
}


/* seznam polozek objednavky */
.order-detail .order-item-wrap {
	border: 1px solid transparent;
	padding: 5px;
}
.order-detail .order-item-wrap h6 {
	line-height: 28px;
}
.order-detail .order-item-wrap .action {
	float: right;
}
.order-detail .order-item-wrap:hover {
	border: 1px solid #c2d8f2;
	background: #e0eeff;
}
.order-detail .column.order-items {
	margin-left: 20px;
}
.order-detail .order-item-list {
	overflow-y: auto;
	max-height: 100%;
}
.order-detail .order-item-wrap + .order-item-wrap {
	margin-top: 15px;
}

/* nahled importu */
.import-preview {
	margin-right: -5px;
}
.import-preview .column {
	margin: -5px 0 0 -5px;
}
.import-preview-item {
	font-size: 12px;
	background: #ffffff;
	margin: 5px;
	border: 1px solid #c2d8f2;
	padding: 3px;
	position: relative;
}
.import-preview-item::before {
	position: absolute;
	top: 2px;
	right: 5px;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}
.import-preview-item.error {
	background: #f2ded9;
	border-color: #ffc0b0;
}
.import-preview-item.success {
	background: #e3f2da;
	border-color: #b3cca3;
}
.import-preview-item.error::before {
	content: 'chyba';
}
.import-preview-item.success::before {
	content: 'ok';
	color: #60993d;
}
.import-preview-item.ignore {
	background: #e0e0e0;
	color: #808080;
}
.import-preview-item.ignore::before {
	content: 'přeskočeno';
	color: #808080;
}
.import-preview-item .name {
	font-weight: bold;
}
.import-preview-item .line-nr {
	float: left;
	margin-right: 5px;
	color: black;
}

/****************************************/
/* detail sady skladu */
/****************************************/

.imgStock
{
	width: 100%;
	max-width: 100%;
}

.imgStockBig .imgStock
{
	width: auto;
	max-width: auto;
	max-height: 350px;
}



/****************************************/
/* kalendář dostupnosti setů ve skladu */
/****************************************/

/* nadpis kalendáře*/
.wrapStockCalendarMonthTitle
{
	display: flex;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: space-between;
	margin-bottom: 8px;
}

	.wrapStockCalendarMonthTitle span
	{
		font-weight: bold;
		font-size: 16px;
		text-transform: uppercase;
	}

/* řádky kalendáře / týdny */
.wrapStockCalendarRow
{
	position: relative;
	display: block;
	float: none;
	width: 100%;
	height: 64px;
	border: 1px solid var(--blue-light-1);
}

.wrapStockCalendarRow + .wrapStockCalendarRow
{
	border-top: 0;
}

	/* vrstvy řádku */
	.daysStockCalendarRow, .ordersStockCalendarRow
	{
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
	}

	.daysStockCalendarRow
	{
		z-index: 10;
	}	

	.ordersStockCalendarRow
	{
		z-index: 20;
	}	
		.ordersStockCalendarContent
		{
			display: block;
			position: relative;
			width: 100%;
			height: 24px;
		}

	/* buňka */
	.colStockCalendar
	{ 
		display: flex;
		justify-content: center;
		float: left;
		width: calc(1 / 8 * 100%);
		height: 100%;
	}

		.wrapStockCalendarRow .colStockCalendar:first-child
		{
			align-items: center;
			color: var(--blue-1);
			background: var(--blue-light-5);
		}

		.wrapStockCalendarRow .colStockCalendar
		{
			background: #ffffd5;
		}

		.wrapStockCalendarRow .colStockCalendar.weekend
		{
			background: #ffe0a3;
		}

		.wrapStockCalendarRow.headerDays
		{
			align-items: center;
			height: 24px;
		}

			.wrapStockCalendarRow.headerDays  .colStockCalendar
			{
				background: var(--blue-light-5);
				font-weight: bold;
				align-items: center;
			}
	

/* objednávka */		
.wrapStockCalendarOrder
{
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	border: 0;

	display: block;
	position: absolute;
	left: 0;
	top: 32px;
	height: 20px;

	border-width: 0;	
	border-style: solid;
	cursor: pointer;
}

.wrapStockCalendarOrder.statusGrey, .statusGrey
{
	background: var(--gray-light-1);
	border-color: var(--gray-1);	
}

.wrapStockCalendarOrder.statusRed, .statusRed
{
	background: var(--red-light-1);
	border-color: var(--red-1);	
}

.wrapStockCalendarOrder.statusBlue, .statusBlue
{
	background: var(--blue-light-1);
	border-color: var(--blue-5);
} 

.wrapStockCalendarOrder.orderStart { border-left-width: 24px; }
.wrapStockCalendarOrder.orderEnd { border-right-width: 24px; }

/* popis objednávky */
.wrapStockCalendarInfo
{
	position: absolute;
	top:  0;
	left: 0;
	display: none;
	width: 300px;
	z-index: 700;
	background: white;
	padding: 12px;
}

	.wrapStockCalendarInfo table
	{ 
		width: 100%;
	}

.wrapStockCalendarOrder:hover + .wrapStockCalendarInfo
{
	display: block;
}

/* legenda */
.wrapLegend
{
	display: block;
	float: none;
	margin: 8px 0;
}

	.squareLegend
	{
		display: inline-block;
		width: 16px;
		height: 16px;
		margin-right: 4px;
		border-style: solid;
		border-width: 1px;
	}

	.wrapLegendItem
	{
		float: left;
		display: flex;
		align-items: center;
	}	

	.wrapLegendItem + .wrapLegendItem
	{
		margin-left: 16px;
	}	

/****************************************/
/* přehled sad - náhled fotky */
/****************************************/

.imgStockThumbnail
{
	position: absolute;
	left: 0;
	right: 0;
	display: none;
	height: 200px;
}

/** Sloupce, ktere ovlivnuje rok */
table.list.members > tbody > tr > th[data-raw="Instruktor"],
table.list.members > tbody > tr > th[data-raw="Trenér"]
{
	background-color: #ff7a56;
}

table.list.members > tbody > tr > th[data-raw="Instruktor"] > a.sortable:hover,
table.list.members > tbody > tr > th[data-raw="Trenér"] > a.sortable:hover
{
	background-color: #e74e24;
}

ul.tabs > li > .with-year,
ul.tabs > li > .years,
ul.tabs > li:first-child > .years,
ul.tabs > li:last-child > .years
{
	background-color: #ff7a56;
	border-left-color: #d44d28;
	border-right-color: #d44d28;
	border-top-color: #d44d28;
}

ul.tabs > li > .with-year:hover,
ul.tabs > li > .years:hover
{
	background-color: #e74e24;
}

ul.tabs > li > .with-year.active,
ul.tabs > li > .years.active,
ul.tabs > li:first-child > .years.active,
ul.tabs > li:last-child > .years.active
{
	background-color: #b82901;
	border-left-color: #8f2001;
	border-right-color: #8f2001;
	border-top-color: #8f2001;
}

div.tabs.years > div.decorator
{
	border-top: 6px solid #b82901;
}

table.form > tbody > tr > th.tdCenter
{
	text-align: center;
}

.hidden
{
	display: none;
}

/*!
 * Resource /res/cms/notify-horosvaz.css from 2019-01-09 15:58:15
 *
 */
.notifyjs-corner {
	right: 15px !important;
	top: 75px !important;
}
.notifyjs-horosvaz-base {
	padding: 8px 15px 8px 14px;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
	background-color: #fcf8e3;
	border: 1px solid #fbeed5;
	white-space: nowrap;
	text-align: left;
	box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.notifyjs-horosvaz-info {
	color: #000;
	background-color: #cdff8c;
	border-color: #b9e57e;
}
.notifyjs-horosvaz-warning {
	color: #000;
	background-color: #ffe58c;
	border-color: #e5cf7e;
}
.notifyjs-horosvaz-error {
	color: #fff;
	background-color: #fb5234;
	border-color: #dc2500;
}
