/*
Theme Name: VIaReiseVerlag
Theme URI: http:/viareise.de
Author: internetgestalten.de 
Author URI: http://internetgestalten.de
Version: 0.9.0
Description: Wordpress Theme - Via Reise Verlag Relaunch 2020
*/


html, body {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}
body {
	max-width: 1400px;
	margin: 0 auto;
	background: #fff;

	font-family: Helvetica, Arial, sans-serif;
	font-weight: normal;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.2em;
}
#regenbogen {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	height: 10px;
	background: rgb(36,59,147);
	background: linear-gradient(90deg, rgba(36,59,147,1) 0%, rgba(0,157,210,1) 9%, rgba(107,196,241,1) 18%, rgba(55,97,177,1) 27%, rgba(0,120,138,1) 36%, rgba(0,97,90,1) 45%, rgba(0,136,131,1) 54%, rgba(0,132,54,1) 63%, rgba(134,191,41,1) 72%, rgba(249,206,0,1) 81%, rgba(225,58,48,1) 91%, rgba(125,14,56,1) 100%);
}

a {
	text-decoration: none;
	color: #EE7000;
	transition: color 0.2s ease-in-out;
}
a:hover {
	color: #006664;
}

figure {
    margin: 0;
}

nav, h1, h2, h3 {
	font-family: itc-officina-sans-pro, sans-serif;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
}

input, select, textarea {
	height: 30px;
	padding: 6px 12px;
	box-sizing: border-box;
	border: none;
	outline: none;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 1em;
	border-radius: 20px;
	background: #ececec;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}

input[type="submit"], .woocommerce button.button, .woocommerce a.button {
	background-color: #EE7000 !important;
	color: #fff !important;
	font-weight: bold;
	vertical-align: middle;
	cursor: pointer;
	padding: 6px 20px !important;
	transition: all 0.2s ease-in-out;

	border-radius: 20px;
	line-height: normal;
}
input[type="submit"]:hover, .woocommerce button.button:hover, .woocommerce a.button:hover {
	background-color: #006664 !important;
	color: #fff !important;
}

/* HEADER */

header {
	padding: 40px 4vw 80px 4vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
}
.single-product header {
	padding: 40px 4vw 60px 4vw;
}
.home header, .archive header {
	padding: 40px 4vw 0px 4vw;
}
header #logo img {
	display: block;
	width: 100%;
	max-width: 280px;
}
header #logo {
	position: relative;
	z-index: 10;
}
header #logo:after {
	content: '';
	position: absolute;
	bottom: -30px;
	left: 0; 
	width: 100%;
	height: 30px;
	background: transparent url('images/viareiseverlag_subline.gif?ver=2023') no-repeat;
	background-size: 100%;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
nav > ul > li {
	margin: 0;
	text-transform: uppercase;
	font-size: 1.5em;
}
nav a {
	color: #000;
}
nav a:hover {
	color: #EE7000;
}
header .right {
	display: inline-flex;
	align-items: center;
}
.mobilicon {
	display: none;
}
@media screen and (min-width: 800px) {
	header nav {
		display: flex;
		justify-content: space-between;
		align-items: center;
		flex-grow: 1;
	}
	nav > ul {
		margin: 0 1.5vw;
		padding: 0;
		text-align: center;
		flex-grow: 1;
		flex-shrink: 0;
	}
	nav > ul > li {
		display: inline-block;
		margin: 0 1.5vw;
		white-space: nowrap;
		position: relative;
	}
	nav > ul > li:after {
		content: '';
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		height: 30px;
	}
	nav > ul > li > a {
		position: relative;
		display: block;
	}
	nav > ul > li > a:after {
		content: '';
		position: absolute;
		bottom: -10px;
		left: 0;
		width: 0%;
		height: 4px;
		border-radius: 2px;
		background: #EE7000;
		transition: all 0.2s ease-in-out;
	}
	nav > ul > li:hover > a:after,nav > ul > li.current-menu-parent > a:after, .tax-product_cat a#buecher-nav:after, .single-product a#buecher-nav:after {
		width: 100%;
	}

	/* submneu */

	.sub-menu {
		position: absolute;
		top: 100%;
		left: 50%;
		transform: translateX(-50%);
		padding: 20px;
		background: #eee;
		z-index: 11;
		text-align: left;
		box-shadow: 0 0 10px rgba(0,0,0,0.5);
		
		opacity: 0;
		pointer-events: none;
		transition: all 0.2s ease-in-out;
	}
	.sub-menu:before {
		content: '';
		position: absolute;
		top: -15px;
		left: 50%;
		transform: translateX(-50%);
		display: inline-block;
	    width: 0;
	    height: 0;
	    border-style: solid;
	    border-width: 0 15px 15px 15px;
	    border-color: transparent transparent #eee transparent;
	}
	li:hover .sub-menu {
		top: calc(100% + 30px);
		opacity: 1;
		pointer-events: all;
	}
}
.sub-menu li {
	display: block;
	padding: 0;
	text-transform: none;
	font-size: 0.8em;
	line-height: 1.3em;
}
.sub-menu small {
	display: block;
	padding-top: 1em;
	border-bottom: 1px solid #bebebe;
	font-size: 0.6em;
	line-height: 1.8em;
}
.sub-menu li:first-child small {
	padding-top: 0;
}
.sub-menu .current_page_item a, .sub-menu li.aktiv a {
	color: #EE7000;
}
@media screen and (max-width: 800px) {
	.mobilicon {
		display: block;
		cursor: pointer;
	}
	.mobilicon span {
		display: block;
		width: 30px;
		height: 4px;
		margin: 4px 0;
		border-radius: 2px;
		background: #EE7000;
		transition: all 0.2s ease-in-out;
	}
	.mobil .mobilicon span:first-child {
		transform: rotate(45deg) translate(6px, 5px);
	}
	.mobil .mobilicon span:nth-child(2) {
		width: 2px;
		margin: 0 auto;
	}
	.mobil .mobilicon span:last-child {
		transform: rotate(-45deg) translate(6px, -5px);
	}
	nav {
		position: absolute;
		top: 150%;
		left: 4vw;
		right: 4vw;
		z-index: 12;
		padding: 20px;
		box-sizing: border-box;
		background: #eee;
		box-shadow: 0 0 10px rgba(0,0,0,0.5);

		opacity: 0;
		pointer-events: none;
		transition: all 0.2s ease-in-out;
	}
	.mobil nav {
		top: 130%;
		opacity: 1;
		pointer-events: all;
		transition: all 0.2s ease-in-out;
	}
	nav > ul > li {
		padding: 20px 0;
	}
	nav .current_page_item a {
		color: #EE7000;
	}
}
@media screen and (max-width: 600px) {
	header #logo img {
		max-width: 180px;
	}
}

/* suche */

.suche {
	display: flex;
}
.suche input[type="text"] {
	width: calc(100% - 40px);
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
.suche input[type="submit"] {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	background-image: url('images/lupe.png');
	background-repeat: no-repeat;
	background-position: 6px center;
	width: 40px;
	flex-shrink: 0;
}
@media screen and (max-width: 800px) {
	.suche {
		padding: 20px 0;
	}
	.suche input[type="text"] {
		background: #ececec;
	}
}

/* warenkorbicon */

#warenkorbicon {
	margin-left: 10px;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #EE7000 url('images/warenkorb.png') no-repeat center;
	position: relative;
	flex-shrink: 0;
	transition: all 0.2s ease-in-out;
}
#warenkorbicon:hover {
	background-color: #006664;
}

#warenkorbicon span {
	position: absolute;
	top: -6px;
	right: -6px;
	background: #61b22d;
	color: #fff;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	text-align: center;
	line-height: 18px;
	font-size: 0.8em;
	font-weight: bold;
}

/* HEADPIC */

#headpic {
	width: 100%;
	position: relative;
}
#headpic img {
	width: 100%;
}
.archive #headpic img {
	min-height: 200px;
	object-fit: cover;
}
#headpic h1 {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	width: 100%;
	text-align: center;
	font-size: 4em;
	color: #fff;
	text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

#headline {
	/*margin: 60px 0 20px;*/
	border-top: 1px solid #d9d9d9;
	text-align: center;
}
#headline h1 {
	font-size: 4em;
}

@media screen and (max-width: 800px) {
	#headpic h1, #headline h1 {
		font-size: 3em;
	}
}
@media screen and (max-width: 600px) {
	#headpic h1, #headline h1 {
		font-size: 2em;
	}
}

	.search #headline h1 {
		font-size: 2em;
		margin-bottom: 1.5em;
	}


/* MAIN */

main {
	padding: 0 4vw;
}

.home section {
	padding-top: 40px;
}

.home section h1 {
	text-align: center;
}

.rubriken {
	display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 4vw;
    padding-top: 20px;
}
@media screen and (max-width: 800px) {
	.rubriken {
		grid-template-columns: repeat(2, 1fr);
	}
}
.rubriken a {
	background: #EE7000;
	position: relative;
	overflow: hidden;
}
.rubriken a h2 {
	color: #fff;
	margin: 0;

	position: absolute;
	top: 20px;
	right: 20px;
	left: 20px;
	z-index: 1;
}
.rubriken a img {
	display: block;
	width: 100%;
	transition: all 0.5s ease-in-out;
}
.rubriken a:hover img {
	opacity: 0.25;
	transform: scale(1.2);
}

article {
	margin-top: 60px;
}

/* BUECHER */

.filter {
	margin: 40px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #d9d9d9;
}
.filter a {
	color: #000;
}
.filter a:hover, .filter a.aktiv {
	color: #EE7000;
}

.buecher {
	display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    grid-gap: 6vw;
}
@media screen and (min-width: 1000px) {
	.buecher {
		grid-gap: 60px;
	}
}
a.buch {
	color: #000;
}
a.buch:hover {
	color: #EE7000;
}
.buch img {
	width: 100%;
	box-shadow: 0 3px 10px rgba(0,0,0,0.2);
	transition: all 0.2s ease-in-out;
}
.buch:hover img {
	transform: translateY(-5px) scale(1.04);
}
.buch * {
	display: block;
	margin-bottom: 1em;
}

/* buchslider home */
.buchslider .slick-list {
	overflow-y: visible !important;
}
.buchslider .buch {
    margin: 20px 4vw 0;
}
@media screen and (min-width: 1000px) {
	.buchslider .buch {
	    margin: 20px 40px 0;
	}
}

/* BUCHDETAIL */

.zurueck {
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1px solid #d9d9d9;
	text-align: right;
}
.zurueck a {
	color: #000;
}
.zurueck a:hover {
	color: #EE7000;
}
#buchdetail {
	display: grid;
	grid-template-columns: 1fr 2fr 1fr;
	grid-gap: 4vw;
}
@media screen and (max-width: 800px) {
	#buchdetail {
		grid-template-columns: 1fr 2fr;
	}
}
@media screen and (max-width: 600px) {
	#buchdetail {
		grid-template-columns: 1fr;
	}
}

#buchdetail .buch ul {
	margin: 40px 1vw 0;
	padding: 0;
	list-style-type: none;
}
#buchdetail .buch ul li {
	position: relative;
	padding-left: 20px;
        font-weight: bold;
}
#buchdetail .buch ul li:before {
	content: '';
	position: absolute;
	top: 2px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #EE7000;
}

#buchdetail h1 {
	text-align: left;
	font-size: 2.5em;
	margin: 0.2em 0;
	line-height: 1em;
}
#buchdetail h2 {
	margin: 0;
}
#buchdetail .buchinfo .preis {
	margin-top: 40px;
        display: inline-block;
}
.legal-price-info {
    display: inline-block;
}
#buchdetail .buchinfo .preis strong {
	font-size: 1.5em;
}
#buchdetail .indenwarenkorb {
	margin: 20px 0 40px;
}
#buchdetail .indenwarenkorb input[type="number"] {
	width: 60px;
	margin-right: 10px;
	text-align: center;
}

#buchdetail .buchlinks {
	display: flex;
	justify-content: space-between;
	margin-top: 40px;
}
#buchdetail .buchlinks a {
	color: #EE7000;
	margin-right: 15px;
}
#buchdetail .buchlinks a:last-child {
	margin-right: 0px;
}
#buchdetail .buchlinks a:hover {
	color: #006664;
}
.icon {
	position: relative;
	padding-left: 35px;
	font-weight: bold;
}
.icon:before {
	content: '';
	position: absolute;
	top: -8px;
	left: 0;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: #EE7000;
	background-repeat: no-repeat;
	background-position: center;
	transition: all 0.2s ease-in-out;
}
.icon:hover:before {
	background-color: #006664;
}
.icon.leseprobe:before {
	background-image: url(images/icon_leseprobe.png);
}
.icon.gps:before {
	background-image: url(images/icon_gps.png);
}


.hattooltip {
	position: relative;
	display: inline-block;
}
.tooltip {
	position: absolute;
	top: 10px;
	left: -50%;
	width: 200px;
	z-index: 2;
	background: #d9d9d9;
	padding: 20px;
	border-radius: 10px;
	font-weight: normal;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s ease-in-out;
}
.tooltip:after {
	content: '';
	position: absolute;
	top: -10px;
	left: calc(50% - 10px);
	width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #d9d9d9;
}
@media screen and (min-width: 600px) {
	.hattooltip:hover .tooltip {
		top: 35px;
		opacity: 1;
		visibility: visible;
	}
}
@media screen and (max-width: 600px) {
	#buchdetail .buchlinks {
		line-height: 2em;
	}
	.hattooltip {
		display: block;
	}
	.tooltip {
		position: relative;
		left: -5px;
		width: auto;
		padding: 10px;
		font-size: small;
		opacity: 1;
		visibility: visible;
		line-height: normal;
	}
	.tooltip:after {
		left: 10px;
	}
}

/* tabs */

.tabbed { 
   margin-top: 80px;
}
.tabbed > input, .tabbed .tabcontent > div { display: none; }

.tabbed .tabcontent > div {
  
}
#tab1:checked ~ .tabcontent .tab1, #tab2:checked ~ .tabcontent .tab2 { display: block; }

.tabbed .tabnav {
	font-size: 0.8em;
	font-weight: bold;
	margin-bottom: 40px;
}
.tabbed .tabnav label {
	position: relative;
	margin-right: 1em;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}
.tabbed .tabnav label:hover {
	color: #EE7000;
}
.tabnav label:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	width: 0%;
	height: 4px;
	border-radius: 2px;
	background: #EE7000;
	transition: all 0.2s ease-in-out;
}
#tab1:checked ~ .tabnav label[for="tab1"]:after,
#tab2:checked ~ .tabnav label[for="tab2"]:after {
	width: 100%;
}

@media screen and (min-width: 600px) {
	.empfehlung {
		grid-column: 1 / 3;
		grid-row: 2;
	}
}
.unterstrichen {
	display: block;
	padding-bottom: 10px;
	border-bottom: 1px solid #d9d9d9;
	margin-bottom: 40px;
}

/* aside */

@media screen and (min-width: 800px) {
	aside {
		border-left: 1px solid #d9d9d9;
		padding-left: 4vw;
		grid-row: 1 / 3;
	}
}
aside > div {
	margin-bottom: 40px;
}

/* VERLAG */

@media screen and (min-width: 800px) {
	.zweispaltig {
		column-count: 2;
		column-gap: 4vw;
	}
	.zweispaltig p:first-child {
		display: inline;
	}

	.page-id-45 main {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 4vw;
	}
	.page-id-45 main #headline {
		grid-column: 1 / 3;
	}
}
.page-id-45 .wp-block-media-text {
	margin-bottom: 4vw;
}
.wp-block-columns {
	margin-bottom: 0;
}
.wp-block-column {
	margin-bottom: 4vw;
}
@media screen and (min-width: 600px) {
	.wp-block-column {
	    flex-basis: calc(50% - 2vw);
	    margin-bottom: 0;
	}
	.wp-block-column:not(:first-child) {
	    margin-left: 4vw;
	}
}

.wp-block-media-text__media img {
    width:100% !important; height:100% !important;
}

.wp-block-media-text .wp-block-media-text__media, .wp-block-media-text .wp-block-media-text__content {
	align-self: start;
}
.wp-block-media-text .wp-block-media-text__content h2 {
	margin-top: 0;
}

/* NEWS */

.news {
	margin-bottom: 40px;
}
@media screen and (min-width: 600px) {
	.news {
		display: grid;
		grid-template-columns: 1fr 2fr;
		grid-column-gap: 40px;
	}
}
.news .datum {
	grid-column: 1 / 3;
	padding-bottom: 10px;
	border-bottom: 1px solid #d9d9d9;
	margin-bottom: 40px;
}
.news .bild {
	text-align: center;
}
.news .bild img {
	max-width: 100%;
	max-height: 300px;
}


/* FOOTER */

footer {
	margin-top: 100px;
	padding: 40px 0;

	display: inline-flex;
	width: 100%;
	justify-content: space-between;

	background: rgb(0,102,100);
	background: linear-gradient(90deg, rgba(0,102,100,1) 0%, rgba(105,180,38,1) 100%); 
	color: #fff;
}
footer > div {
	margin: 0 4vw;
}
footer ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
footer ul li {
	padding-bottom: 10px;
}
footer a {
	color: #fff;
	font-weight: bold;
}
footer a:hover {
	color: #EE7000;
}
footer svg path {
	transition: all 0.2s ease-in-out;
}
footer svg:hover path {
	fill: #EE7000;
}
footer .gotop {
	display: block;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: #fff;
	position: relative;
	transition: all 0.2s ease-in-out;
}
footer .gotop:hover {
	background: #EE7000;
}
footer .gotop:after {
	content: '';
	position: absolute;
	top: 20px;
	left: 20px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 18px 10px;
	border-color: transparent transparent #68B327 transparent;
}

@media screen and (max-width: 700px) {
	footer {
		flex-direction: column;
	}
	footer > div {
		margin: 4vw;
	}
	footer .gotop {
		margin: 0 auto;
	}
}


/* WOO */

.cart .quantity {
    display: inline;
}

.woocommerce-Price-currencySymbol {
    display: inline;
}

.woocommerce a.checkout-button {
	padding: 1em !important;
}

.woocommerce a.remove {
	color: #B02434 !important;
	font-size: 1.4em;
}
.woocommerce a.remove:hover {
	background: #B02434 !important;
}

/*.woocommerce .select2-container--default .select2-selection--single {
	box-sizing: border-box;
	border: none;
	border-radius: 20px;
	background: #ececec;
	box-shadow: inset 0 0 5px rgba(0,0,0,0.1);
}*/

.wc-gzd-place-order {
    text-align: right;
}

.woocommerce-thankyou-order-details {
    padding-left: 0;
}

#billing_country_field .required,
#billing_country_field .woocommerce-input-wrapper {
	visibility: hidden;
}
.wc-gzd-checkbox-placeholder-legal {
	display: inline-block;
	margin-top: 2em;
}
.wc-gzd-checkbox-placeholder-legal label {
	line-height: 1.2em !important;
}
label.checkbox {
	background: transparent;
	padding: 10px;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 5px;
	display: block !important;
}
input[type='checkbox'] {
	height: auto;
	margin: -5px 2px 0 0 !important;
	vertical-align: middle;
	position: relative;
}
#order_review .legal {
	padding: 0 !important;
}