/*#######################################################*/
/*#################   Startseite   ######################*/
/*#######################################################*/

.oceanwp-row {
  margin: 0!important;
}

#main,
#content-wrap {
	padding: 0!important;
}

/*** css für die Warenkorbanzeige im Menü. Dies gilt nur für die Startseite */

.wcmenucart-details.count::before {
  content: "";
  position: absolute;
  top: 0;
  left: -3px;
  width: 0;
  height: 0;
  margin-top: 4px;
  border-style: solid solid solid none;
  border-width: 5px 5px 5px medium;
  border-top-color: rgba(0,0,0,0) !important;
  border-bottom-color: rgba(0,0,0,0) !important;
  border-color: #13aff0;
}

.wcmenucart-details.count {
  display: inline-block;
  position: relative;
  color: #fff;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  padding: 3px 5px;
  border-radius: 2px;
}

.wcmenucart-details {
  margin-left: 8px !important;
}

.wcmenucart i {
  top: 2px;
  position: relative;
}

/* Header fuer die Gallery *//* Header fuer den Content */
.page-header {
	background-color: #dddddd;
	position: relative;
	padding: 34px 0;
}

 .page-header-inner {
	text-align: left!important;
}

h1.home {
	padding-top:10px;
}


/* Grid-Product-Gallery */
.container.slider {
	margin-top:20px;
	margin-bottom: 40px;
}

.product-gallery {
	border: 0;
	clip: rect(0 0 0 0);
	margin: -1px;
	overflow: hidden;
	padding: 0 10px 10px 0;
	position: relative;
	margin: 30px auto;
}

.product-gallery img {
	width:80%;
	display: block;
	margin: auto;
}

.model,
.model-new {
	margin: 0;
	padding: 6px 0;
	position: relative;
	border: 1px solid #ddd;
	box-shadow: 5px 5px 10px silver;
	display: block;
}  

.model-new a,
.model-new a:hover {
	color: #404041!important;
	text-align: center;
}

.model-caption {
    position: relative;
	text-align: center;
	padding: 0 6px 6px 6px;
}    
  
.model-title {
    margin: .3em 0;
    font-family: roboto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: center;
}   

.model-price {
	font-weight: 600;
	text-align: center;
}

.model-cart {
	text-align: center;
	padding-bottom: 12px;
	font-size: 15px;
}

.amount {
  color: #404041!important;
}



@media( min-width: 1100px ) {
	.gallery-grid {
		display: grid;
		grid-gap: 0.7em;
		grid-template-columns: repeat( 6, minmax( 135px, 1fr ) )!important;
    }
    
	.model,
	.model-new {
		margin: 0;
    }
}


@media (min-width: 681px) and (max-width: 1100px) {
    .product-gallery img {
		max-width:70%;
		padding-top:10px;
	}
	
	.gallery-grid {
		display:grid;
		grid-gap: 0.7em;
		grid-template-columns: repeat(4, minmax( 145px, 1fr ) );
    }

}


@media (min-width: 560px) and (max-width: 681px) {
	.gallery-grid {
		display:grid;
		grid-gap: 0.7em;
		grid-template-columns: repeat(3, minmax( 145px, 1fr ) );
    }
}


@media (min-width: 401px) and (max-width: 559px) {
	.gallery-grid {
		display:grid;
		grid-gap: 0.7em;
		grid-template-columns: repeat(2, minmax( 145px, 1fr ) );
    }
}


@media( max-width: 401px ) {
    .product-gallery img {
		max-width:70%;
	}


	.gallery-grid {
		display:grid;
		grid-gap: 0.7em;
		grid-template-columns: repeat(1, minmax( 145px, 1fr ) );
    }
	
	.model,
	.model-new {
		margin-bottom: 12px;
	}
	
/*	.model-title,
	.model-price {
		font-size:18px;
	}*/
}



/* DROPS */
#drops {
	margin-top: -60px;
}


/* Header fuer den Content */
.page-header-content {
	background-color: #dddddd;
	position: relative;
	padding: 34px 0;
}

 .page-header-inner {
	text-align: left!important;
}



/* Contentbereich */
hr {
	border-top: 5px solid #cc7700!important;
}



/* Variable Produkte - Vorschau */
.variable-item:not(.radio-variable-item) {
	width:60px!important;
	height: 55px!important;
}

.inner-content {
	padding: 30px 0;
	width: 1200px;
	max-width: 90%;
	margin: 0 auto;
}

.inner-content h3 {
	clear:left;
	padding-top:40px;
}

.inner-content h3:first-of-type {
	padding-top: 0;
}

/* Aktion Versandkostenfrei */
#versandkostenfrei {
	background: #ffcd08;
	padding: 20px 0;
	margin-top: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}


/* Section mit Label */
#label {
	background: #ddd;
}

/* Sale mit Bild links und Text rechts */
#sale, .sale {
	background:#fff;
	padding: 16px 16px 1px;
	font-size: 13px;
	width: 1200px;
	max-width: 90%;
	margin: 0 auto 10px auto;
}

#sale h2, .sale h2 {
	font-size:18px;
	margin-top:-10px;
	margin-bottom:4px;
	font-weight:700;	
}

#sale h2 del, .sale h2 del {
	font-size: 16px;
	color: #404041;
}

#sale img, .sale img {
	padding: 6px 24px 12px 0;
	float:left;
	width:400px;
	max-height: 271px;
	height: 100%;
}


@media( max-width: 900px ) {
	#sale img, .sale img {
		width: 400px;
	}
}

@media( max-width: 768px ) {
	#sale {
		padding: 16px 0 1px;
	}

	#sale img, .sale img {
		padding: 0 0 12px;
		max-width: 400px;
		height: auto;
		width: 100%;
		margin: auto;
		clear: left;
		float:none;
	}
}



/* Button für die Schnellauswahl der Garne */

.yarn-button {
	margin: 8px 12px;
	border: 1px solid #404041;
	border-radius: 12px;
	padding: 2px 12px 6px;
	text-align: center;
	float: left;
	background: #ddd;
}

.yarn-button .yarn-title {
	color: #404041;
	text-align: center;
	margin-bottom: 6px;
	font-size: inherit;
	font-weight: 700;
	text-decoration-line: underline !important;
	text-decoration-style: solid !important;
	text-decoration-color: #cc7700 !important;
	text-decoration-thickness: 2px !important;
	text-decoration-skip-ink: auto !important;
}

.yarn-button:last-of-type {
	margin-bottom: 40px;
}

.yarn-description {
	color: #404041;
	font-size: 12px;
	font-weight: 300;
	line-height: 11px;
}


@media( max-width: 600px ) {
	.yarn-button {
		width: 100%;
		margin: 0 0 20px 0!important;
	}
}


/* Section mit dem Laden */
#laden {
	padding-top: 30px;
	background: #ddd;
}

#laden figure,
#laden .laden-description {
	width: 50%;
}
	
#laden h3 {
	margin-bottom: 10px;
}

#laden img {
	margin: 6px 20px 30px 0;
	float:left;
	width:500px;
	height: auto;
} 


@media( max-width: 800px ) {
	#laden figure img,
	#sale figure img {
		margin: 0;
		float:none;
		clear: left;
		width:100%;
	}

	#laden figure img {
		margin-top:30px;
	}
}


/* Trennlinie */
.wp-block-separator {
	border-bottom: 3px solid!important;
	opacity: 1!important;
	width:100%;
	margin-left:0;
}

.wp-block-separator.is-style-wide:not(.size-full) {
	max-width: 100%!important;
}

.entry-content .alignwide {
  margin-left: 0!important;
  width: 100%;
}

  
/* Spalten-Zwischenschlag und responsive Breakpoint */
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.sale:not(:first-child),
.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column.laden:not(:first-child) {
	margin-left: 0!important;
}


@media all and (max-width:860px) {
	.wp-block-media-text {
		display: block!important;
	}
	
	.wp-block-media-text .wp-block-media-text__content {
		padding: 16px 0 0 0;
	}
}

@media all and (max-width:781px) {
	.wp-block-column:not(:only-child) {
		flex-basis: 100% !important;
		flex-grow: 0;
	}
	
	.sale img {
		width:80%;
		float: none;
		clear: left;
	}

	.wp-block-columns.laden {
		display: block;
	}
}


