/*
Theme Name: Buchbinderei Rux Theme
Template: Divi
Author: Child Theme Configurator
Version: 1.0.0.1639929575
Updated: 2021-12-19 15:59:35

*/

/* Fonts
-----------------------------------------------------------------------*/

/* Cardo - 400 */

@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./fonts/cardo-v14-latin-regular.woff2") format('woff2'), /* Super Modern Browsers */
       url("./fonts/cardo-v14-latin-regular.woff") format('woff'), /* Modern Browsers */
       url("./fonts/cardo-v14-latin-regular.ttf") format('truetype'); /* Safari, Android, iOS */
}

/* Cardo - 700 */

@font-face {
  font-family: 'Cardo';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("./fonts/cardo-v14-latin-700.woff2") format('woff2'), /* Super Modern Browsers */
       url("./fonts/cardo-v14-latin-700.woff") format('woff'), /* Modern Browsers */
       url("./fonts/cardo-v14-latin-700.ttf") format('truetype'); /* Safari, Android, iOS */
}

/* General
-----------------------------------------------------------------------*/

body.custom-background {
	background-size: auto !important;
}

a.mehr-erfahren {
	padding-left: 1.2857em;
	background: transparent url("../../uploads/2021/12/more_arrow-optimiert.png") no-repeat left 0.2413em;
	font-weight: 700;
}

a.mehr-erfahren:hover {
	text-decoration: underline;
}

address {
	font-style: normal;
	padding-bottom: 1em;
}

p:not(:last-child):last-of-type {
    padding-bottom: 1em;
}

.et_pb_text ul {
	list-style-type: none;
	padding-left: 0;
}

.et_pb_text li {
	display: flex;
}

.et_pb_text li::before {
	content: url("../../uploads/2021/12/bullet.gif");
    padding-right: 0.5em;
}

.et_pb_button {
	line-height: 1em !important;
}

table {
	margin-bottom: 1em;
}

.breadcrumb_last {
	display: none;
}

.et_pb_text h2:not(:first-child),
.et_pb_text h3:not(:first-child),
.et_pb_text h4:not(:first-child),
.et_pb_text h5:not(:first-child),
.et_pb_text h6:not(:first-child) {
	padding-top: 0.5em;
}

.mit-rahmen {
	border: 5px solid #DAD3C8;
}

img.float-left {
	display: block;
	margin-bottom: 25px;
}

@media (min-width: 981px) {
	img.float-left {
		margin-right: 25px;
		float: left;
	}	
}

.et_pb_text table {
	border: none !important;
}

.et_pb_text tr th,
.et_pb_text tr td {
	padding-top: 12px;
	padding-bottom: 12px;
}

.et_pb_text th:first-child {
	padding-left: 0;
}

.et_pb_text td:last-of-type {
	padding-right: 0;
}

.et_pb_text tr th,
.et_pb_text tr td {
	border-top: dashed 1px #D6CFC4;
}

.et_pb_text tr:first-child th,
.et_pb_text tr:first-child td {
	border-top: none;
}

.et_pb_text tr th {
	white-space: nowrap;
	vertical-align: top;
}

.vorher-nachher {
	color: #9C1D32;
    font-family: "Cardo", Georgia, Times, serif;
    font-size: 1.2857em;
	margin-right: 0.25em;
}

blockquote {
	padding-left: 0;
}

#main-content {
	background-color: transparent;
}

#et-boc{
	display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#et-main-area {
	flex-grow: 1;
  display: flex;
  flex-direction: column;
}

#et-main-area > .et-l--footer {
	margin-top: auto;
}

/* Footer
-----------------------------------------------------------------------*/

#footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: url("../../uploads/2021/12/footer_border-optimiert.jpg");
	background-size: auto;
	background-repeat: repeat-x;
	background-position: top left;
}

.oeffnungszeiten table {
	width: 100%;
}

.oeffnungszeiten td {
	padding: .3em;
}

.oeffnungszeiten tr:first-of-type td {
	border-bottom: solid 1px #8B2D3C;
}

.oeffnungszeiten td:nth-of-type(2) {
	text-align: right;
}

/* Header
-----------------------------------------------------------------------*/

#header .et-menu-nav {
	align-items: center;
}

#menu-hauptmenue {
	flex-wrap: nowrap;
}

#menu-hauptmenue .et-menu a:hover {
	opacity: 1;
}

#menu-hauptmenue {
	margin: 0;
	border-left: solid 1px #E0D9CE;
	border-right: solid 1px #FFFFFF;
	position: relative;
    top: 10%;
}

#menu-hauptmenue .menu-item {
	border-left: solid 1px #FFFFFF;
	border-right: solid 1px #E0D9CE;
}

#menu-hauptmenue > li > a {
	padding: 0.5714em 0.9286em;
}

#menu-hauptmenue .menu-item-has-children > a:first-child:after {
	content: "";
}

#menu-hauptmenue .current_page_ancestor a {
	color: #4B3E29 !important;
}

#menu-hauptmenue .sub-menu {
	border-top: none;
	box-shadow: none;
	padding-top: 15px;
	padding-bottom: 0;
}

#menu-hauptmenue .sub-menu .menu-item {
	background-color: #4b3e29 !important;
	border-left: none;
	border-right: none;
	padding: 0 10px 10px 10px;
}

#menu-hauptmenue .sub-menu .current-menu-item a {
	font-weight: 700;
}

#menu-hauptmenue .sub-menu .menu-item:first-of-type {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	padding-top: 10px;
}

#menu-hauptmenue .sub-menu .menu-item:last-of-type {
	border-bottom-left-radius: 6px;
	border-bottom-right-radius: 6px;
}

#menu-hauptmenue .sub-menu .menu-item:last-of-type a {
	border-bottom: none;
}

#et-boc #menu-hauptmenue .sub-menu a {
	color: #d7cab6 !important;
	font-weight: normal;
	border-bottom: 1px dashed #6a5d49;
	line-height: 1em;
}

#et-boc #menu-hauptmenue .sub-menu a:hover {
	color: white !important;
	opacity: 1;
}

#menu-hauptmenue .menu-item-has-children.et-show-dropdown::after {
	content: url("../../uploads/2021/12/navigation_arrow-optimiert.png");
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	line-height: 0;
}

#header .et_mobile_menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	flex-direction: column;
	background-color: rgba(255, 255, 255, .95) !important;
	text-align: center;
	visibility: hidden;
	display: flex;
	opacity: 0;
	transition: all 1s;
}

.menu-offen #header .et_mobile_menu {
	visibility: visible;
	opacity: 1;
}

body:not(.menu-offen) #header .et_mobile_menu .sub-menu {
	visibility: hidden !important;
}

#header .et_mobile_menu .menu-item {
	margin-top: 1em;
}

#header .et_mobile_menu a {
	display: inline-block;
	font-size: 18px;
}

#header .et_mobile_menu > .menu-item:first-of-type {
	margin-top: auto;
}

#header .et_mobile_menu > .menu-item:last-of-type {
	margin-bottom: auto;
}

#header .et_mobile_menu .sub-menu {
	display: flex;
	flex-direction: column;
	text-align: center;
	padding-left: 0;
}

#header .et_mobile_menu .sub-menu .menu-item {
	padding-left: 0;
}

#header .mobile_menu_bar {
	z-index: 10000;
}

.menu-offen #page-container {
	height: 100vh;
	overflow: hidden;
}

/* Hero-Slider
-----------------------------------------------------------------------*/

#hero-slider .et_pb_slider_container_inner {
	display: flex;
	flex-direction: row-reverse;
	justify-content: space-between;
}

#hero-slider .et_pb_slides {
	max-width: 1000px;
	margin-left: auto;
	margin-right: auto;
	width: 80%;
}

#hero-slider .et_pb_slide {
	padding: 0;
}

#hero-slider .et_pb_slide_image {
	position: relative;
	margin: auto 0 !important;
	top: auto;
}

#hero-slider .et_pb_container {
	height: auto;
}

#hero-slider .et_pb_slide_description {
	text-shadow: none;
	margin-left: 0;
}

#hero-slider .et_pb_button {
	box-shadow: rgba(0, 0, 0, 0.45) 1px 1px 3px 0px;
	text-shadow: rgba(0, 0, 0, 0.2) 0px -1px 0px;
}

#hero-slider .et-pb-controllers > a {
	width: 14px;
	height: 14px;
	opacity: 1;
}

#hero-slider .et-pb-controllers > a.et-pb-active-control {
	background-color: #4b3e29;
}

#hero-slider .et-pb-slider-arrows > a {
	opacity: 1;
	background-color: rgba(0, 0, 0, .4);
}

#hero-slider .et-pb-slider-arrows > a:hover {
	background-color: rgba(0, 0, 0, .3);
}

#hero-slider .et-pb-slider-arrows > a.et-pb-arrow-prev {
	left: 0;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
}

#hero-slider .et-pb-slider-arrows > a.et-pb-arrow-next {
	right: 0;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

#hero-slider .et-pb-slider-arrows > a::before {
	padding: 0.15em 0;
	display: inline-block;
}

#hero-slider::before {
	content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../../uploads/2021/12/showcase_border_top-optimiert.jpg");
    background-repeat: repeat-x;
    background-size: auto;
}

/* Über uns - Box
-----------------------------------------------------------------------*/

.ueber-uns .et_pb_main_blurb_image,
.ueber-uns .et_pb_blurb_container {
	display: inline-block
}

.ueber-uns .et_pb_main_blurb_image {
	width: 46.5517%;
	margin-right: 6.25%;
	max-width: 280px;
}

.ueber-uns .et_pb_blurb_content {
	max-width: none;
}

.ueber-uns .et_pb_blurb_container {
	width: 47.1983%;
	padding: 0;
}

.kontakt-aufnehmen .et_pb_image_wrap {
	padding-right: 0;
}

.kontakt-aufnehmen .et_pb_main_blurb_image {
	width: 23.5714%;
	max-width: 72px;
	flex-shrink: 0;
}

.ueber-uns .et_pb_main_blurb_image img,
.kontakt-aufnehmen .et_pb_main_blurb_image img {
	width: 100%;
}

.kontakt-aufnehmen .et_pb_blurb_content {
	max-width: none;
	display: flex;
}

@media (max-width: 980px) {
	.ueber-uns .et_pb_blurb_content {
		display: flex;
		flex-direction: column;
	}
	
	.ueber-uns .et_pb_blurb_content > * {
		width: auto;
	}
}

/* Page header
-----------------------------------------------------------------------*/

#page-header::after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 58px;
	background-image: url("../../uploads/2021/12/showcase_border_bottom-optimiert.png");
	background-repeat: repeat-x;
	z-index: 2;
}

#page-header .et_pb_image_wrap {
	width: 75%;
    margin-left: auto;
    display: block;
    text-align: right;
}

/* Services
-----------------------------------------------------------------------*/

.leistungen .et_pb_column {
	display: flex;
	flex-wrap: wrap;
}

.leistungen .icon {
	flex-shrink: 0;
}

.leistungen .titel {
	flex-basis: 0;
	flex-grow: 1;
	display: flex;
    align-items: center;
}