/* 
 Theme Name: Krone Gerlingen 2025
 Description: WordPress-Theme fuer die Krone in Gerlingen
 Version: 1.0
 Author: S. Thaessler
*/

@import url("bootstrap.min.css");

/* Replace with Slider */
html{
/*    background-image: url('/wp-content/uploads/2024/10/krone_startbg_1-scaled.jpg');
*/
    background-repeat: no-repeat;
    background-size: cover;
	background-position: center;
}

html .btn-sm{
	padding: 1rem 3rem;
    font-size: medium;
}

@media (max-width:1440px){
	html .btn-danger{
		margin: 0 auto;
    	display: block;
    	width: fit-content;
    	padding: 1rem 5rem !important;
	}
}

body{
    margin: 0;
}

h1, h2, nav a{
    font-family: 'Minion Pro', Arial, serif;
    color: #858080;
}

.sr-only,
body #post-2 .container h1{
	position: absolute;
  	width: 1px;
  	height: 1px;
  	padding: 0;
  	overflow: hidden;
  	clip: rect(0, 0, 0, 0);
  	white-space: nowrap;
  	border: 0;
}

#headstripe{
    display: flex;
    justify-content: flex-end;
    width: 100%;
    position: fixed;
    z-index: 9999;
    background: #fff;
	-webkit-box-shadow: 0 -7px 15px #000000;
    box-shadow: 0 -7px 15px #000000;
}

#headstripe #language-choice{
	min-height:25px;	
}

#headstripe #booker{
    background: #D9534F;
    width: 315px;
    text-align: center;
    color: #fff;
	cursor: pointer;
}

#headstripe #booker>span{
	line-height: 25px;
    font-weight: 600;
	width: 100%;
    display: block;
}

#headstripe #booker #booker-frame{
	max-height: 0px;
	margin-top: 0px;
    position: absolute;
    overflow: hidden;
	transition: max-height 0.5s ease;
}

#headstripe #booker span#booker-close{
	width: 100%;
    background-color: #D9534F;
    display: block;
    color: white;
    text-align: left;
    padding: 2px 5px 0;
    font-weight: 600;
	cursor:pointer;
	border-top:1px solid white;
}

#headstripe #booker.active #booker-frame{
    overflow: initial;
	/*animation-name: booker-fadeIn;
  	animation-duration: 1s;*/
	max-height:800px;
}

#d21-quickbook{
	--border-radius-outer: 0!important;
}

#d21-quickbook .d21-headline h2{
	margin-top:10px;
	margin-bottom:10px;
	color:white;
}

#d21-quickbook .d21-input.d21-with-icon {
    padding: 0 0 0 0px;
}

#d21-quickbook #d21-los select{
	padding-left:25px;
}

#d21-quickbook #d21-arrival-input .d21-input{
	padding-left:22px;
}

#d21-quickbook .d21-widget-center{
	margin-top:0!important;
	margin-bottom:0!important;
}

#headstripe #booker #booker-frame #d21-quickbook{
	background-color: #D9534F;
}

#headstripe #booker #booker-frame #d21-quickbook .d21-headline-container{
	display:none;
}

#headstripe #booker #booker-frame #d21-quickbook #d21-arrival-input .d21-calendar{
	right:0;
}

#logo-home{
    width:92px;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 1px 2px #888888;
    text-align: center;
    position: fixed;
    left: 100px;
    top: 0;
    background: white;
}

nav.main-menu{
    background-color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
	margin-top: 200px;
}

nav.front-style{

}

nav ul{
    list-style-type: none;
    margin-block-start: 0;
    display: flex;
    justify-content: center;
}

nav ul li{
    display: inline-flex;
}

nav ul li.current-menu-item a{
	color: #D9534F;
}

nav ul li a{
    text-decoration: none;
    text-transform: lowercase;
    padding:22px;
    font-size: 17px;
    font-weight: 300;
}

nav a:hover{
    transition: 0.5s;
    background: rgba(235, 235, 235, 0.8);
	text-decoration:none;
	color: #D9534F;
}

article{
	background-color: white;
	padding: 3rem 0 5rem;
}

/* Start Page Body */
article#post-2,
article#post-952{
    min-height: 50rem;
    padding: 3rem 0 5rem;
	background-color: transparent;
}

article .container>.wp-block-columns {
    margin: 5rem 0;
}

article .container .wp-block-image img{
	max-width: 100%;
    height: auto;
}

@media (max-width:640px){
	.wp-block-column-is-layout-flow{
		flex-basis:100%!important;
	}
	
	article .container .wp-block-image img{
		max-width: 50%;
    	height: auto;
	}
}

article .wp-block-column {
    margin: 1rem;
}

article .is-layout-flex {
    display: flex;
}

@media (max-width:1440px){
	article .is-layout-flex {
		flex-wrap: wrap;
	}
	
	.flex-order-1{
		order:1;
	}
	
	.flex-order-2{
		order:2;
	}
}

article ul{
	list-style-type: "› ";
}

article table{
	
}

article table td{
	border-top:1px solid #ddd;
	padding: 8px;
}

article table tr:nth-child(odd)>td{
	background-color: #f9f9f9;
}

article table a,
article p a,
article a{
	color:#6a6868;
}

article table a:hover{
	color:#d43f3a;
	text-decoration:none;
}

.pano-bubbles a{
	background-color: #d43f3a;
    display: inline-block;
    color: white;
    border-radius: 50%;
    width: 200px;
    height: 200px;
	margin: 30px;
	opacity: 0.80;
	text-decoration-color:transparent!important;
}

.pano-bubbles a:hover,
.pano-bubbles a:active,
a#pano-foot-bubble:hover,
a#pano-foot-bubble:active{
	text-decoration: none;
	scale: 1.2;
    transition: all .5s;
}

.pano-bubbles .pano-big{
	display: block;
    text-align: center;
    font-weight: 400;
    font-size: 50px;
    padding-top: 52px;
    line-height: 60px;	
}

.pano-bubbles .pano-med{
	display: block;
    font-weight: 400;
    font-size: 19px;
    text-align: center;
}

.mgl-gallery-images img {
    max-width: 16%;
    height: auto;
    margin: 0 .2% .5%;
}

@media (max-width:768px){
	.mgl-gallery-images img {
    	max-width: 32%;
	}
}

footer{
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Text-Scroll Purpose */
    /* margin-top:1000px; */
}

footer ul#menu-footermenue{
	margin-bottom:0;
}

footer #pano-foot-bubble{
	background-color: #d43f3a;
    display: block;
    color: white;
    border-radius: 50%;
    width: 62px;
    height: 62px;
    margin: -75px 0px 0px 40px;
	opacity: 0.80;
	text-align:center;
	line-height: 14px;
    padding-top: 10px;
}

.footerLine a,
.wpml-ls-statics-footer.wpml-ls a{
	color:black;
}

.footer-consent-line{
	padding: 6px 0;
}

@media (min-width:1441px){
	nav.main-menu .d21-trigger-ibe,
	nav.main-menu .navi-opener{
		display:none!important;
	}
}

@media (max-width:1440px){
	nav.main-menu{
		margin-top:180px;
		max-height: 45px;
        overflow-y: hidden;
		transition: max-height 0.5s ease;
	}
	
	nav.main-menu .navi-opener a{
		font-weight:600;	
	}
	
	nav a:hover{
		background: transparent;
	}
	
	nav ul{
		text-align: center;
    	display: initial;
    	padding-left: 0;
    	margin: 10px 0 20px 0;
	}
	
	nav ul li{
		display: block;
    	text-align: center;
    	width: 100%;
    	padding: 10px 0;
	}
	
	ul#menu-hauptmenue>li:last-child {
		padding-bottom:20px;
	}
	
	footer #pano-foot-bubble,
	footer-star-logo,
	fb-footer-button{
		display:none!important;	
	}
}

nav.main-menu.expanded{
	max-height: 500px;
}

footer #pano-foot-bubble .pano-big{
	font-size: 18px;
}

footer #pano-foot-bubble .pano-med{
	font-size: 11px;
    line-height: 8px;
}

.front footer{
	position: absolute;
    width: 100%;
}

#fb-footer-button{
    border-radius: 50%;
    background-color: #b5a26d;
    color:white;
    display: inline-block;
    width: 40px;
    text-align: center;
    height: 40px;
    text-decoration: none;
    line-height: 40px;
font-size: 30px;
}

.krone-zitat{
	width: fit-content;
    float: right;
    color: #D9534F;
    font-size: 30px;
}

.krone-zitat:before{
	display: block;
    content: "";
    width: 40px;
    height: 40px;
    background-image: url(/wp-content/uploads/2024/11/anfuehrungszeichen_krone.jpg);
    background-size: contain;
    background-position: center;
    margin-left: -55px;
    background-repeat: no-repeat;
}

@media (max-width:1440px){
	.krone-zitat{
		margin-top: 5rem;
	}
}


@keyframes booker-fadeIn {
  0% {max-height: 0px;}
  100% {max-height: 500px;}
}

.footerLine {
  background-color: #ececec;
  text-align: center;
	padding-top:5px;
	padding-bottom:5px;
}

a#rcb-sc-link-revoke,
a#rcb-sc-link-history,
a#rcb-sc-link-change{
	color:black;
	padding:3px;
}

body #post-952 .container h1{
	display:none!important;
}

.wpml-ls ul li{
	background-color: #ececec;
}
