/*Theme Name: Martens Baumschulen
Theme URI: http://www.neumann-sh.de
Description: WordPress Theme Martens Baumschulen
Version: 1.1
Author: Florian Finder
Author http://www.finder-sh.de
Tags: Martens Baumschulen
*/

/*--------------------  RESET  ---------------------- */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {display: block}
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
:hover, :focus, :active { outline: none; }
body { margin: 0px; }
/*--------------------------------------------------- */

@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;700&display=swap');

body {
	width: 100%;
	background-color: #48574E;
	font-family: 'Dosis', sans-serif;
}

.admin-bar {
	margin-top: 32px;
}

.admin-bar header {
	top: 32px;
}

#container {
	width: 1180px;
	margin: 0 auto;
	background-color: #FFF7EE;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 4px 40px rgba(0,0,0,0.55);
}

#slider img {
	width: 100%;
	display: block;
}

/* ---- Header (sticky) ---- */
header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: #FFF7EE;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 30px;
	border-bottom: 1px solid rgba(144, 15, 18, 0.18);
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

#logo {
	flex-shrink: 0;
}

#logo img {
	display: block;
	max-height: 80px;
	width: auto;
}

/* ---- Hamburger Button ---- */
.menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
	flex-direction: column;
	gap: 5px;
	flex-shrink: 0;
}

.menu-toggle span {
	display: block;
	width: 26px;
	height: 2px;
	background-color: #48574E;
	transition: transform 0.3s ease, opacity 0.3s ease;
	transform-origin: center;
}

body.nav-open .menu-toggle span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

body.nav-open .menu-toggle span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

body.nav-open .menu-toggle span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* ---- Navigation ---- */
nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	gap: 4px;
	align-items: center;
}

nav ul li {
	list-style-type: none;
	font-size: 1.2em;
	text-transform: uppercase;
	font-weight: 300;
}

nav ul li a {
	text-decoration: none;
	color: #000000;
	transition: color 0.2s ease;
	padding: 4px 8px;
	display: block;
}

nav ul li a:hover {
	color: #587E68;
}

nav ul li.current-menu-item > a,
nav ul li.current_page_item > a {
	color: #900F12;
	border-bottom: 2px solid #900F12;
}

#slider {
	margin: 0;
}

/* ---- Main Layout (Flexbox) ---- */
main {
	padding: 50px;
	display: flex;
	align-items: flex-start;
	gap: 3%;
}

#sidebar {
	width: 20%;
	flex-shrink: 0;
}

#sidebar #images {
	line-height: 0;
	-webkit-column-count: 2;
	-webkit-column-gap:   0px;
	-moz-column-count:    2;
	-moz-column-gap:      0px;
	column-count:         2;
	column-gap:           0px;
}

#sidebar img {
	width: 100px;
	margin: 2px;
}

#content {
	flex: 1;
	border-top: 2px solid #900F12;
	border-bottom: 2px solid #900F12;
	padding-top: 20px;
	padding-bottom: 20px;
}

#content p {
	margin-top: 0px;
	margin-bottom: 20px;
}

.clear {
	clear: both;
}

h2 {
	margin-bottom: 5px;
	font-size: 1.2em;
}

h3 {
	margin-bottom: 5px;
	font-size: 1.1em;
}

/* ---- Footer ---- */
footer {
	width: 95%;
	margin: 25px auto 0;
	border-top: 1px solid #900F12;
	font-size: 0.8em;
	padding-bottom: 25px;
}

.footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding-top: 15px;
}

footer img {
	height: 50px;
}

footer a {
	text-decoration: none;
	color: #000000;
	transition: color 0.2s ease;
}

footer a:hover {
	color: #587E68;
}

#rosenliste_full table {
	border: 0px;
	border-spacing: 0px;
}

#rosenliste_full table th {
	border-bottom: 1px solid #000000;
}

#rosenliste_full table td {
	padding: 2px;
	padding-top: 4px;
	padding-bottom: 4px;
}

.tooltip {
	display: none;
	position: absolute;
	background: #000000;
	box-shadow: 0px 0px 20px 1px rgba(0,0,0,0.75);
}

.tooltiptext {
	display: none;
	position: absolute;
	background: #C4161C;
	color: #ffffff;
	padding: 5px;
	border-radius: 5px;
	box-shadow: 0px 0px 10px 1px rgba(0,0,0,0.75);
	max-width: 400px;
}

.hovertext {
	cursor: pointer;
}

.tooltip img {
	padding: 4px 4px 0px 4px;
	margin: 0px;
}

main a:link, main a:visited {
	color: #587E68;
	text-decoration: none;
}

main a:hover {
	text-decoration: underline;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
	#container {
		width: auto;
		margin: 0;
		border-radius: 0;
	}
	main {
		padding: 40px;
	}
}

@media (max-width: 900px) {
	header {
		padding: 12px 20px;
	}

	.menu-toggle {
		display: flex;
	}

	nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #FFF7EE;
		border-bottom: 2px solid rgba(144, 15, 18, 0.15);
		box-shadow: 0 6px 16px rgba(0,0,0,0.1);
		overflow: hidden;
		max-height: 0;
		opacity: 0;
		transition: max-height 0.3s ease, opacity 0.25s ease;
	}

	body.nav-open nav {
		max-height: 500px;
		opacity: 1;
	}

	nav ul {
		flex-direction: column;
		gap: 0;
		padding: 8px 0;
		align-items: flex-start;
	}

	nav ul li {
		width: 100%;
	}

	nav ul li a {
		padding: 12px 20px;
		font-size: 1.05em;
	}

	main {
		padding: 30px;
	}

	#sidebar #images {
		-webkit-column-count: 1;
		-moz-column-count: 1;
		column-count: 1;
	}
}

@media (max-width: 600px) {
	#sidebar {
		display: none;
	}

	main {
		padding: 20px;
		display: block;
	}

	#content {
		width: 100%;
		margin: 0;
	}

	#rosenliste_full {
		display: none;
	}
}

@media (max-width: 320px) {
	#logo img {
		max-width: 100%;
		height: auto;
	}
	main {
		padding: 10px;
	}
}















/** ------------------ **/
/** jQuery LightSlider **/
/** ------------------ **/
.lSSlideOuter {
    overflow: hidden;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.lightSlider:before, .lightSlider:after {
    content: " ";
    display: table;
}
.lightSlider {
    overflow: hidden;
}
.lSSlideWrapper {
    max-width: 100%;
    overflow: hidden;
    position: relative;
}
.lSSlideWrapper > .lightSlider:after {
    clear: both;
}
.lSSlideWrapper .lSSlide {
    -webkit-transform: translate(0px, 0px);
    -ms-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
    -webkit-transition: all 1s;
    -webkit-transition-property: -webkit-transform,height;
    -moz-transition-property: -moz-transform,height;
    transition-property: transform,height;
    -webkit-transition-duration: inherit;
    transition-duration: inherit;
    -webkit-transition-timing-function: inherit;
    transition-timing-function: inherit;
}
.lSSlideWrapper .lSFade {
    position: relative;
}
.lSSlideWrapper .lSFade > * {
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 9;
    margin-right: 0;
    width: 100%;
}
.lSSlideWrapper.usingCss .lSFade > * {
    opacity: 0;
    -webkit-transition-delay: 0s;
    transition-delay: 0s;
    -webkit-transition-duration: inherit;
    transition-duration: inherit;
    -webkit-transition-property: opacity;
    transition-property: opacity;
    -webkit-transition-timing-function: inherit;
    transition-timing-function: inherit;
}
.lSSlideWrapper .lSFade > *.active {
    z-index: 10;
}
.lSSlideWrapper.usingCss .lSFade > *.active {
    opacity: 1;
}
/** /!!! End of core css Should not edit !!!/**/

/* Pager */
.lSSlideOuter .lSPager.lSpg {
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
}
.lSSlideOuter .lSPager.lSpg > li {
    cursor: pointer;
    display: inline-block;
    padding: 0 5px;
}
.lSSlideOuter .lSPager.lSpg > li a {
    background-color: #222222;
    border-radius: 30px;
    display: inline-block;
    height: 8px;
    overflow: hidden;
    text-indent: -999em;
    width: 8px;
    position: relative;
    z-index: 99;
    -webkit-transition: all 0.5s linear 0s;
    transition: all 0.5s linear 0s;
}
.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a {
    background-color: #428bca;
}
.lSSlideOuter .media {
    opacity: 0.8;
}
.lSSlideOuter .media.active {
    opacity: 1;
}
/* End of pager */

/** Gallery */
.lSSlideOuter .lSPager.lSGallery {
    list-style: none outside none;
    padding-left: 0;
    margin: 0;
    overflow: hidden;
    transform: translate3d(0px, 0px, 0px);
    -moz-transform: translate3d(0px, 0px, 0px);
    -ms-transform: translate3d(0px, 0px, 0px);
    -webkit-transform: translate3d(0px, 0px, 0px);
    -o-transform: translate3d(0px, 0px, 0px);
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.lSSlideOuter .lSPager.lSGallery li {
    opacity: 0.7;
    overflow: hidden;
    -webkit-transition: opacity 0.35s linear 0s;
    transition: opacity 0.35s linear 0s;
}
.lSSlideOuter .lSPager.lSGallery li.active, .lSSlideOuter .lSPager.lSGallery li:hover {
    opacity: 1;
}
.lSSlideOuter .lSPager.lSGallery img {
    display: block;
    height: auto;
    max-width: 100%;
}
.lSSlideOuter .lSPager.lSGallery:before, .lSSlideOuter .lSPager.lSGallery:after {
    content: " ";
    display: table;
}
.lSSlideOuter .lSPager.lSGallery:after {
    clear: both;
}
/* End of Gallery*/

/* slider actions */
.lSAction > a {
    width: 32px;
    display: block;
    top: 50%;
    height: 32px;
    background-image: url('../img/controls.png');
    cursor: pointer;
    position: absolute;
    z-index: 9999;
    margin-top: -16px;
    opacity: 0.5;
    -webkit-transition: opacity 0.35s linear 0s;
    transition: opacity 0.35s linear 0s;
}
.lSAction > a:hover {
    opacity: 1;
}
.lSAction > .lSPrev {
    background-position: 0 0;
    left: 10px;
}
.lSAction > .lSNext {
    background-position: -32px 0;
    right: 10px;
}
.lSAction > a.disabled {
    pointer-events: none;
}
.cS-hidden {
    height: 1px;
    opacity: 0;
    filter: alpha(opacity=0);
    overflow: hidden;
}


/* vertical */
.lSSlideOuter.vertical {
    position: relative;
}
.lSSlideOuter.vertical.noPager {
    padding-right: 0px !important;
}
.lSSlideOuter.vertical .lSGallery {
    position: absolute !important;
    right: 0;
    top: 0;
}
.lSSlideOuter.vertical .lightSlider > * {
    width: 100% !important;
    max-width: none !important;
}
/* vertical */


/* Rtl */
.lSSlideOuter.lSrtl {
    direction: rtl;
}
.lSSlideOuter .lightSlider, .lSSlideOuter .lSPager {
    padding-left: 0;
    list-style: none outside none;
}
.lSSlideOuter.lSrtl .lightSlider, .lSSlideOuter.lSrtl .lSPager {
    padding-right: 0;
}
.lSSlideOuter .lightSlider > *,  .lSSlideOuter .lSGallery li {
    float: left;
}
.lSSlideOuter.lSrtl .lightSlider > *,  .lSSlideOuter.lSrtl .lSGallery li {
    float: right !important;
}
/* Rtl */

@-webkit-keyframes rightEnd {
    0% {
        left: 0;
    }

    50% {
        left: -15px;
    }

    100% {
        left: 0;
    }
}
@keyframes rightEnd {
    0% {
        left: 0;
    }

    50% {
        left: -15px;
    }

    100% {
        left: 0;
    }
}
@-webkit-keyframes topEnd {
    0% {
        top: 0;
    }

    50% {
        top: -15px;
    }

    100% {
        top: 0;
    }
}
@keyframes topEnd {
    0% {
        top: 0;
    }

    50% {
        top: -15px;
    }

    100% {
        top: 0;
    }
}
@-webkit-keyframes leftEnd {
    0% {
        left: 0;
    }

    50% {
        left: 15px;
    }

    100% {
        left: 0;
    }
}
@keyframes leftEnd {
    0% {
        left: 0;
    }

    50% {
        left: 15px;
    }

    100% {
        left: 0;
    }
}
@-webkit-keyframes bottomEnd {
    0% {
        bottom: 0;
    }

    50% {
        bottom: -15px;
    }

    100% {
        bottom: 0;
    }
}
@keyframes bottomEnd {
    0% {
        bottom: 0;
    }

    50% {
        bottom: -15px;
    }

    100% {
        bottom: 0;
    }
}
.lSSlideOuter .rightEnd {
    -webkit-animation: rightEnd 0.3s;
    animation: rightEnd 0.3s;
    position: relative;
}
.lSSlideOuter .leftEnd {
    -webkit-animation: leftEnd 0.3s;
    animation: leftEnd 0.3s;
    position: relative;
}
.lSSlideOuter.vertical .rightEnd {
    -webkit-animation: topEnd 0.3s;
    animation: topEnd 0.3s;
    position: relative;
}
.lSSlideOuter.vertical .leftEnd {
    -webkit-animation: bottomEnd 0.3s;
    animation: bottomEnd 0.3s;
    position: relative;
}
.lSSlideOuter.lSrtl .rightEnd {
    -webkit-animation: leftEnd 0.3s;
    animation: leftEnd 0.3s;
    position: relative;
}
.lSSlideOuter.lSrtl .leftEnd {
    -webkit-animation: rightEnd 0.3s;
    animation: rightEnd 0.3s;
    position: relative;
}