/* Inhalte und Ersatz fuer die frueheren TYPO3-Stile */

.skip_link{
	position:absolute;
	left:-9999px;
	top:0;
	z-index:20;
	background:#fff;
	color:#000;
	padding:8px 12px;
}
.skip_link:focus{ left:0; }

.content a:hover{ text-decoration:underline; }
a:focus-visible, button:focus-visible, input:focus-visible{
	outline:2px solid #1a1a1a;
	outline-offset:2px;
}

.logo img, .head_image img{ display:block; }

.content h2{ margin-top:20px; margin-bottom:10px; }
.content h1 + p, .content h1 + ul{ margin-top:20px; }
.content p + p, .content ul + p, .content p + ul{ margin-top:12px; }
.content ul{ padding-left:40px; margin:12px 0; }

/* Startbereich */
.slideshow{
	position:relative;
	width:280px;
	height:300px;
}
.slide{
	position:absolute;
	top:0;
	left:0;
	opacity:0;
	transition:opacity .8s;
}
.slide.is_active{ opacity:1; }
.slideshow_toggle{
	position:absolute;
	left:0;
	bottom:0;
	border:0;
	background:none;
	color:#6e6e70;
	font:10px/14px Verdana, Arial;
	text-decoration:underline;
	cursor:pointer;
}
.head_animation{ overflow:visible; }

/* Hilfe und Hinweis in der Bestellstrecke */
.help_links{
	list-style:none;
	margin:10px 0 0;
	padding:0 0 0 30px;
	display:flex;
	gap:10px;
}
.help_links img{ display:block; }
.order_notice{
	float:right;
	clear:right;
	width:122px;
	margin-top:10px;
	font-size:10px;
	line-height:14px;
}
.col_right .photo_thumb img{ display:block; }

/* Upload */
.upload_column{ float:right; width:122px; }
.upload_column .fileupload{ float:none; }
.is_file_drop{ outline:3px dashed #f7b033; outline-offset:-6px; }
.fileupload:focus-within{ outline:2px solid #1a1a1a; outline-offset:2px; }
.upload_queue{
	list-style:none;
	margin:10px 0 0;
	padding:0;
	font-size:10px;
	line-height:14px;
}
.upload_queue li{ margin-bottom:8px; }
.upload_name{ display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.upload_queue progress{ display:block; width:100%; height:8px; accent-color:#f7b033; }
.upload_note{ display:block; color:#d60000; }
.upload_note:empty{ display:none; }
.upload_message{ margin-top:10px; font-size:11px; line-height:15px; }
.upload_message:empty{ display:none; }
.text_button{
	padding:0;
	margin-right:8px;
	border:0;
	background:none;
	color:#000;
	font:10px/14px Verdana, Arial;
	text-decoration:underline;
	cursor:pointer;
}
.text_button:hover{ color:#f7b033; }
.page_button{
	display:block;
	width:57px;
	height:57px;
	padding:0;
	border:0;
	background:none;
	cursor:default;
}
.page_button.has_photo{ cursor:pointer; }
.page_button img{ display:block; width:57px; height:57px; object-fit:contain; }
.col_right .page_button.has_photo img{ background:#efefef; }
.page_button.is_selected{ outline:3px solid #f7b033; outline-offset:1px; }
.is_drop_target .page_button{ outline:3px dashed #f7b033; outline-offset:1px; }
.photo_grid::after{ content:""; display:block; clear:both; }
.steps a{ display:block; color:inherit; text-decoration:underline; }
.steps a[hidden]{ display:none; }
.steps a:hover, .steps a:focus{ color:#1a1a1a; }
.album_help{ clear:both; padding:10px 20px 0 0; font-size:12px; line-height:16px; }
.album_help ul{ margin:6px 0 0 16px; padding:0; list-style:disc; }
.album_help li{ margin-bottom:4px; }
.page_actions{
	clear:both;
	padding:10px 20px 0 0;
	font-size:12px;
	line-height:16px;
}
.page_actions[hidden], .delete_all[hidden], .text_button[hidden]{ display:none; }
.page_actions p{ margin-bottom:8px; }
.page_actions button{
	min-height:32px;
	margin:0 6px 6px 0;
	padding:0 10px;
	border:0;
	background:#f7b033;
	color:#fff;
	font:11px Verdana, Arial;
	cursor:pointer;
}
.page_actions button[data-action-cancel]{ background:#a9a9ab; }
.delete_all{ clear:both; }

/* Cover */
.cover_prices b{ margin-right:30px; }
.cover_list{
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	width:535px;
	max-width:100%;
	margin:20px 0 !important;
	padding:0 !important;
}
.cover_list li{ width:97px; }
.cover_list img{ display:block; }
.cover_list span{ display:block; font-size:12px; line-height:16px; }
.order_link{ margin-top:30px !important; }

/* Galerie */
.gallery{
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	gap:10px;
	width:640px;
	max-width:100%;
	margin:20px 0 !important;
	padding:0 !important;
}
.gallery a, .gallery img{ display:block; }

/* Hilfe */
.help_product{
	display:flex;
	flex-direction:row-reverse;
	gap:10px;
	margin-top:20px;
}
.help_product figure{ margin:0; width:200px; flex:none; }
.help_product figure a{ display:block; }
.help_product figure img{ display:block; }
.help_product figcaption{ font-size:12px; }
.help_product > div{ flex:1; min-width:0; }
.help_product ul{ margin-top:0; }
.back_link{ margin-top:30px; }

/* Testzugang */
.test_login{ margin-top:20px; max-width:320px; }
.test_login label{ display:block; font-weight:bold; font-size:12px; }
.test_login input[type=password]{
	display:block;
	box-sizing:border-box;
	width:100%;
	padding:6px;
	border:1px solid #f7b033;
	font-size:16px;
}
.test_login button{
	margin-top:12px;
	padding:8px 18px;
	border:0;
	background:#f7b033;
	color:#fff;
	font:bold 14px Verdana, Arial;
	cursor:pointer;
}
.errors_order{ padding-left:0; }

/* Bildansicht */
.lightbox{
	max-width:96vw;
	max-height:96vh;
	padding:10px 10px 52px;
	border:0;
	background:#fff;
	overflow:hidden;
}
.lightbox::backdrop{ background:rgba(0,0,0,.8); }
.lightbox_image{
	display:block;
	max-width:calc(96vw - 20px);
	max-height:calc(96vh - 72px);
	width:auto;
	height:auto;
}
.lightbox_button{
	position:absolute;
	bottom:10px;
	height:32px;
	padding:0 12px;
	border:0;
	background:#f7b033;
	color:#fff;
	font:12px Verdana, Arial;
	cursor:pointer;
}
.lightbox_prev{ left:10px; }
.lightbox_next{ left:90px; }
.lightbox_close{ right:10px; }
.lightbox_button[hidden]{ display:none; }

@media (prefers-reduced-motion: reduce){
	.slide{ transition:none; }
}

/* Ausschnitt */
.crop_dialog{
	max-width:96vw;
	max-height:96vh;
	padding:15px;
	border:0;
	background:#fff;
	overflow:auto;
	color:#6e6e70;
}
.crop_dialog::backdrop{ background:rgba(0,0,0,.8); }
.crop_hint{ margin-bottom:10px; font-size:12px; line-height:16px; }
.crop_stage{
	position:relative;
	margin:0 auto;
	overflow:hidden;
	outline:3px solid #f7b033;
	background:#efefef;
	cursor:move;
	touch-action:none;
}
.crop_stage img{
	position:absolute;
	max-width:none;
	user-select:none;
	-webkit-user-drag:none;
	pointer-events:none;
}
.crop_zoom{ display:block; margin-top:12px; font-size:12px; }
.crop_zoom input{ width:100%; display:block; accent-color:#f7b033; }
.crop_buttons{ margin-top:10px; }
.crop_buttons button{
	min-height:36px;
	margin:0 6px 6px 0;
	padding:0 12px;
	border:0;
	background:#a9a9ab;
	color:#fff;
	font:12px Verdana, Arial;
	cursor:pointer;
}
.crop_buttons button[data-crop-save]{ background:#f7b033; }
.upload_column .SUBMIT{ float:none; padding-top:12px; }
.SUBMIT[hidden]{ display:none; }

/* Cover-Auswahl */
.cover_choice{
	float:left;
	width:98px;
	padding:0 20px 18px 0;
}
.cover_name{ display:block; height:26px; font-size:10px; line-height:12px; padding-left:5px; }
.cover_images{ position:relative; display:block; width:97px; height:97px; }
.cover_images img{ display:block; }
.cover_hover{ position:absolute; top:0; left:0; opacity:0; }
.cover_choice:hover .cover_hover, .cover_choice.is_chosen .cover_hover{ opacity:1; }
.cover_quantity{ display:flex; margin-top:6px; }
.cover_quantity button{
	width:28px;
	height:28px;
	flex:none;
	border:0;
	background:#f7b033;
	color:#fff;
	font:bold 16px Verdana, Arial;
	cursor:pointer;
}
.cover_quantity input{
	width:41px;
	min-width:0;
	box-sizing:border-box;
	border:1px solid #f7b033;
	border-width:1px 0;
	text-align:center;
	font:13px Verdana, Arial;
	-moz-appearance:textfield;
	appearance:textfield;
}
.cover_quantity input::-webkit-outer-spin-button, .cover_quantity input::-webkit-inner-spin-button{
	-webkit-appearance:none;
	margin:0;
}
.cover_summary{ clear:both; padding:10px 20px 25px 5px; overflow:hidden; }
.cover_summary p{ float:left; font-weight:bold; line-height:33px; }
.next_button{
	float:right;
	width:136px;
	height:33px;
	padding:0 0 5px;
	border:0;
	background:url(../img/ui/next_button.png) no-repeat;
	color:#fff;
	font:14px Verdana, Arial;
	cursor:pointer;
}
.cover_back{ margin-top:12px; font-size:11px; }
.cover_back a, .label_agb a{ color:inherit; text-decoration:underline; }
.order_error{ color:#d60000; padding:0 0 12px 5px; }
.cover_col_right h2{ clear:both; }

/* Bestellformular */
.col_order_2 select{
	float:left;
	box-sizing:border-box;
	width:227px;
	padding:3px 0;
	border:1px solid #f7b033;
	background:#fff;
	font:13px Verdana, Arial;
}
.order_title{ font-size:14px; line-height:20px; color:#f7b033; margin-top:10px; }
.order_lines{ list-style:none; margin:6px 0 0; padding:0 15px 0 0; font-size:11px; line-height:16px; }
.order_lines li{ display:flex; justify-content:space-between; gap:10px; padding:2px 0; }
.order_total{ border-top:1px solid #6e6e70; margin-top:4px; font-weight:bold; }
.order_note{ font-size:10px; line-height:14px; margin:4px 0 0; }
.col_order_3 #price_total{ float:none; }
.col_order_3 .label_agb{ width:285px; float:right; padding-right:15px; box-sizing:border-box; line-height:16px; }
.order_submit{ margin:10px 15px 0 0; cursor:pointer; }
.order_submit:disabled{ opacity:.6; cursor:default; }
.errors_order{ float:none; clear:both; width:auto; padding:15px 40px 5px; }
form[data-order-form]{ display:block; padding-bottom:20px; }
form[data-order-form]::after{ content:""; display:block; clear:both; }

/* Danke */
.thanks_body{ padding:0 40px 30px; }
.thanks_body p{ margin-top:12px; }
.girocode{ display:flex; align-items:center; gap:16px; margin-top:16px; }
.girocode img{ flex:none; background:#fff; }
.girocode p{ margin-top:0; max-width:320px; }
.thanks_body .price_total, .thanks_body .kto, .thanks_body .vzweck, .thanks_body .info_vorkasse,
.thanks_body .info_paypal, .thanks_body .paypal_form{ padding-left:0; }
.paypal_button{
	display:inline-block;
	padding:10px 18px;
	background:#f7b033;
	color:#fff;
	font-weight:bold;
	text-decoration:none;
}
