/**
 * SURDOK Block Styles
 */

.is-style-indent-paragraph {
	text-indent: 2em;
	margin-top: -1.5em;
}

/* Image */
.wp-block-image.is-style-alt-1 a.fancyboxforwp {
	display: inline-block;
	width: 100%;
	height: 100%;
}

.wp-block-image.is-style-alt-1 a.fancyboxforwp:before {
	left: auto;
	right: 0;
}

@media (min-width: 768px) {
	.wp-block-image.is-style-alt-1 {
		position: relative;
		margin-bottom: 40px;
	}

	.wp-block-image.is-style-alt-1:after {
		content: '';
		display: table;
		clear: both;
	  }

	.wp-block-image.is-style-alt-1 img {
		float: right;
		width: 75%;
	}

	.wp-block-image.is-style-alt-1 .editor-richtext {
		position: absolute;
		top: 10%;
		width: 30%;
		background: #fff;
	}

	.wp-block-image.is-style-alt-1 figcaption {
		position: absolute;
		top: 0;
		width: 40%;
		font-size: 14px;
		font-weight: 500;
		line-height: 20px;
		text-align: right;
		white-space: pre-line;
		hyphens: auto;
		padding: 10px 20px;
		margin-top: 10%;
		background: #fff;
	}
}


/* Scroll-Gallery */
.wp-block-gallery.is-style-scroll {
	width: 100%;
}

.wp-block-gallery.is-style-scroll *:focus {
	outline: none;
}

.wp-block-gallery.is-style-scroll .slick-prev,
.wp-block-gallery.is-style-scroll .slick-next {
	height: 100%;
	width: 50px;
	z-index: 1;
}

.wp-block-gallery.is-style-scroll .slick-prev {
	left: 0;
}

.wp-block-gallery.is-style-scroll .slick-next {
	right: 0;
}

.wp-block-gallery.is-style-scroll .slick-prev:before,
.wp-block-gallery.is-style-scroll .slick-next:before {
	content: '';
	display: block;
	height: 100%;
	background: rgba(255,255,255,0) no-repeat center;
}

.wp-block-gallery.is-style-scroll .slick-prev:before {
	background-image: url(../images/prev.svg);
}

.wp-block-gallery.is-style-scroll .slick-next:before {
	background-image: url(../images/next.svg);
}

.wp-block-gallery.is-style-scroll:hover .slick-prev,
.wp-block-gallery.is-style-scroll:hover .slick-next {
	background-color: rgba(255,255,255,0.2);
	/*opacity: 1;*/
}

.wp-block-gallery.is-style-scroll.slick-dotted.slick-slider {
	margin-bottom: 55px !important;
}

.wp-block-gallery.is-style-scroll .slick-dots li {
    margin: 0;
}

.wp-block-gallery.is-style-scroll img {
	border-radius: 0;
}

.wp-block-gallery.is-style-scroll figure {
	margin: 0;
}

.wp-block-gallery.is-style-scroll figcaption {
	position: absolute;
	left: 2%;
	bottom: 10px;
	width: 96%;
	font-size: 14px;
	font-weight: 300;
	line-height: 20px;
	color: #000;
	text-align: left;
	white-space: pre-line;
	hyphens: auto;
	padding: 10px 20px;
	background: rgba(255,255,255,0.8);
}

/*@media (min-width: 768px) {
	.wp-block-gallery.is-style-scroll .slick-prev {
		left: 25%;
	}
	
	.wp-block-gallery.is-style-scroll img {
		float: right;
		width: 75%;
	}

	.wp-block-gallery.is-style-scroll figure {
		display: block;
	}

	.wp-block-gallery.is-style-scroll figcaption {
		left: 0;
		top: 10%;
		bottom: auto;
		width: 40%;
		font-weight: 500;
		text-align: right;
		background: #fff;
	}
}*/


/* Overlay */
.wp-block-gallery.is-style-blue-overlay img {
	filter: grayscale(100%);
	opacity: 0.3;
	transition: 0.5s;
}

.wp-block-gallery.is-style-blue-overlay figure:hover img {
	filter: none;
	opacity: 1.0;
}

.wp-block-gallery.is-style-blue-overlay a:after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #678bc6;
	mix-blend-mode: multiply;
	transition: 0.5s;
	opacity: 0.8;
}

.wp-block-gallery.is-style-blue-overlay figure:hover a:before {
	opacity: 0;	
}


/* div. Styles  */
.is-style-top-border {
	border-top: 1px solid #000;
}

h2.is-style-top-border,
h3.is-style-top-border,
h4.is-style-top-border {
	padding-top: 18px;
}

p.is-style-top-border,
.wp-block-media-text.is-style-top-border {
	padding-top: 18px;
}

.is-style-left-top-border {
	width: 75%;
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	padding: 18px 0 0 18px;
}

.is-style-top-border :first-child,
.is-style-left-top-border :first-child,
.is-style-left-top-border100 :first-child {
	margin-top: 0;
}

.wp-block-group.is-style-left-top-border {
	margin-top: 24px;
}

.wp-block-group.is-style-left-top-border100 {
	width: 100%;
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	padding: 18px 18px 0 18px;	
}