/*
 Theme Name:   Sidecar Partner (FIM)
 Theme URI:    https://generatepress.com
 Description:  GeneratePress child theme für Sidecar Partner (FIM)
 Author:       Mark Colling
 Author URI:   https://mark-colling.de
 Template:     generatepress
 Version:     1.3
*/

body:not(body#tinymce) {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 25%, #f3f5fa 50%, #eef2f8 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

a {
  font-weight: 500;
}

#left-sidebar {
	position: sticky;
	top: 15px;
	height: 100vh;
}

/* Misc
#left-sidebar, #main.site-main article {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	border-radius: 6px;
} */
#left-sidebar, #main.site-main article:not(.archive #main.site-main article) {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	border-radius: 6px;
}
.archive #main.site-main {
	background-color: #fff;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	border-radius: 6px;
}


.separate-containers .inside-article {
	border-radius: 6px;
}

.sidebar .widget,
.page-header,
.widget-area .main-navigation,
.site-main > * {
  margin-bottom: 0;
}

.both-left .is-left-sidebar, .both-sidebars .is-left-sidebar, .left-sidebar .sidebar {
	background-color: #fff;
	margin: 15px 0;
}

a, button, input {
	transition: none !important;
}

@media only screen and (max-width: 768px) {
	#left-sidebar {
		position: relative;
		height: auto;
		box-shadow: none;
		border-radius: 0;
		margin: 0;
	}
}

/*
@media (max-width: 768px) {
	#left-sidebar {
	  box-shadow: none;
	  border-radius: none;
	}
	.separate-containers .inside-left-sidebar {
	  margin-top: 0;
	  margin-bottom: 0;
	}
	.both-left .is-left-sidebar, .both-sidebars .is-left-sidebar, .left-sidebar .sidebar {
		margin: 8px 0;
	}
}
*/


a.generate-back-to-top .gp-icon svg {
	top: .23em;
	fill: #ffffff;
}
a.generate-back-to-top:hover .gp-icon svg, a.generate-back-to-top:focus .gp-icon svg {
	fill: #ffffff;
}

#cookie-notice .cn-buttons-container {
	display: block;
}
#cookie-notice .cn-button:not(.cn-button-custom) {
	margin-left: 0;
}

/* Nav */
.main-navigation li {
  border-bottom: 2px solid var(--sidecar-partner-hellgrau);
}
.main-navigation li:first-child {
  border-top: 2px solid var(--sidecar-partner-hellgrau);
}

.main-navigation .main-nav ul li a {
	line-height: 2.5;
}

.navigation-branding img, .site-logo.mobile-header-logo img {
	height: 80px !important;
}
.navigation-branding .main-title, .mobile-header-navigation .site-logo {
	margin-left: 20px !important;
}

/* Blog (News) */
/*
.blog article.post .inside-article {
	padding-bottom: 20px;
	margin-top: 20px;
}
.blog article.post:first-child .inside-article {
	margin-top: 0;
}
.blog .inside-article .scty-post {
	border-top: 6px solid var(--sidecar-trophy-yellow);
	padding-top: 40px;
}
*/
.archive.category-news article.post .inside-article {
	padding-bottom: 20px;
	margin-top: 20px;
}
.archive.category-news article.post:first-child .inside-article {
	margin-top: 0;
}
.archive.category-news .inside-article .scty-post {
	border-top: 6px solid var(--sidecar-trophy-yellow);
	padding-top: 40px;
}
.archive.category-news header.page-header {
	display: none;
}



.archive.category-rennberichte article.post .inside-article {
	padding: 0;
	margin-top: 20px;
}
.archive.category-rennberichte article.post:first-child .inside-article {
	margin-top: 0;
}
.archive.category-rennberichte .inside-article .scty-post {
	border-top: 6px solid var(--sidecar-trophy-yellow);
	/* padding-top: 40px; */
}
.archive.category-rennberichte header.page-header {
	display: none;
}

/* Page Navigation News/Rennberichte */
.paging-navigation {
	margin-top: 1rem;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	border-radius: 6px;
}
.paging-navigation .nav-links .page-numbers {
	background-color: var(--sidecar-trophy-hellgrau);
	color: var(--sidecar-trophy-text);
	padding: 10px 15px;
	text-decoration: none;
}
.paging-navigation .nav-links .page-numbers:hover, 
.paging-navigation .nav-links .page-numbers.current {
	background-color: var(--sidecar-trophy-yellow);
}

/* Post Navigation Rennberichte */
.scty-post-navigation {
	display: inline-flex;
	justify-content: space-between;
	width: 100%;
	margin-top: 80px;
}
.scty-post-navigation .nav-prev, 
.scty-post-navigation .nav-next {
	max-width: 45%;
}


/* CF7 Styling */
.wpcf7-form .sctr-form-section.trophy .wpcf7-list-item,
.wpcf7-form .wpcf7-list-item {
  display: flex;
  gap: 5px;
  align-content: center;
  margin: 0;
}

.wpcf7-form .sctr-form-section.trophy span:last-child input,
.wpcf7-form .sctr-form-section.datenschutz span:last-child input,
.wpcf7-form .sctr-form-section.trophy span:last-child select {
  margin-bottom: 5px;
  margin-right: 5px;
}

.wpcf7-form .sctr-form-section {
  border-top: 6px solid var(--sidecar-partner-midblau);
  padding: 25px 0;
}
/*
.wpcf7-form .sctr-form-section header {
  font-family: Teko, sans-serif;
  font-size: 24px;
  margin-bottom: 25px;
}
  */

.wpcf7-form .sctr-form-section header {
  font-family: Teko, sans-serif;
  font-size: 24px;
  margin-bottom: 25px;
  background-image: url(../sidecar-trophy/assets/misc/check.svg);
  background-repeat: repeat-x;
  background-position: bottom;
  background-size: contain;
}

.wpcf7-form .sctr-form-section header .formheading {
  display: inline-block;
  padding-right: 200px;
  background-color: #fff;
  background: linear-gradient(90deg, #fff 60%, transparent);
}

.wpcf7-form .sctr-form-section header p {
  margin: 0;
}

.wpcf7-form .sctr-form-section .wpcf7-select option {
	font-family: 'Roboto Condensed', sans-serif;
}

.wpcf7-form .sctr-form-section input[type='text'],
.wpcf7-form .sctr-form-section input[type='email'],
.wpcf7-form .sctr-form-section input[type='url'],
.wpcf7-form .sctr-form-section input[type='password'],
.wpcf7-form .sctr-form-section input[type='search'],
.wpcf7-form .sctr-form-section input[type='tel'],
.wpcf7-form .sctr-form-section input[type='number'],
.wpcf7-form .sctr-form-section input[type='date'],
.wpcf7-form .sctr-form-section textarea,
.wpcf7-form .sctr-form-section select {
  background-color: transparent;
  border-width: 1px;
  border-color: var(--sidecar-trophy-text);
  width: 100%;
  min-height: 48px;
  margin-bottom: 25px;
}

.wpcf7-form .sctr-form-section .wpcf7-acceptance .wpcf7-list-item {
	margin-bottom: 25px;
}
.wpcf7-form .sctr-form-section img.wpcf7-captchac {
	width: 140px;
}

.wpcf7-form .sctr-form-section span:last-child input,
.wpcf7-form .sctr-form-section span:last-child select {
  margin-bottom: 10px;
}

.wpcf7-form .sctr-form-section label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
.wpcf7-form .sctr-form-section label span {
  color: tomato;
}

.wpcf7-form .sctr-form-section .flex-x3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.wpcf7-form .sctr-form-section .flex-x3 span {
  flex: 0 1 calc(33.3333% - 6px);
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 15px;
  font-weight: 400;
  color: var(--sidecar-trophy-text);
}

.wpcf7-form .wpcf7-not-valid-tip {
  font-size: 15px;
  margin-top: -20px;
  margin-bottom: 20px;
}

.wpcf7-form-control.wpcf7-submit {
  background-color: var(--sidecar-partner-midblau);
  color: #fff;
  text-decoration: none;
  padding: 10px 30px;
  border: none;
  border-radius: 6px;	
}
.wpcf7-form-control.wpcf7-submit:hover {
  background-color: var(--sidecar-partner-textblau);
}

/* Scroll Indicator */
.scrollIndicatorWrapper {
  position: fixed;
  top: 60px;
  right: 2vw;
  width: 6px;
  height: calc(100vh - 120px);
  background-color: #eee;
}

.scrollIndicatorBar {
  position: relative;
  width: 100%;
  height: 0;
  background-color: var(--sidecar-trophy-yellow);
}
.scrollIndicatorBarPercent {
  position: absolute;
  visibility: visible;
  top: 0;
  right: 15px;
  font-size: 14px;
}

.hide-arrow {
  visibility: hidden;
}

