/* Advanced Progress Bar */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_progress_bar_advanced:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_progress_bar_advanced:before {
	font-family: 'FontAwesome' !important;
	content: "\f1ce";
}

/* Before After */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_before_after_image:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_before_after_image:before {
	font-family: 'FontAwesome' !important;
	content: "\f1c5";
}


/* Card */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_card:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_card:before {
	font-family: 'FontAwesome' !important;
	content: "\f298";
	background-color: #ff7f00;
}


/* Menu Item */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_menu_item:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_menu_item:before {
	font-family: 'FontAwesome' !important;
	content: "\f005";
}


/* Organic animation */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_organic_animation:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_organic_animation:before {
	font-family: 'FontAwesome' !important;
	content: "\f005";
	background-color: #ff7f00;
}


/* Single product */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_single_product:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_single_product:before {
	background-color: #ff7f00;
	font-family: 'FontAwesome' !important;
	content: "\f218";
}


/* Floating image */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_floating_image:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_floating_image:before {
	font-family: 'FontAwesome' !important;
	content: "\f03e";
	background-color: #ff7f00;
}


/* Service */
#bt_bb > .bt_bb_item_list > .bt_bb_wrap .bt_bb_item .bt_bb_item .bt_bb_item .bt_bb_item.bt_bb_icon_bt_bb_service:before, 
.bt_bb_dialog_content .bt_bb_icon_bt_bb_service:before {
	background-color: #ff7f00;
}

/* Icon */
.bt_bb_icon .bt_bb_dialog_item[data-param_name="style"],
.bt_bb_icon .bt_bb_dialog_item[data-param_name="size"],
.bt_bb_icon .bt_bb_dialog_item[data-param_name="shape"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="color_scheme"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="style"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="shape"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="title_color_scheme"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="shape"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="title_size"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="shape"],
.bt_bb_service .bt_bb_dialog_item[data-param_name="title_weight"] {
	flex-basis: 33% !important;
}
.bt_bb_icon .bt_bb_dialog_item[data-param_name="align"],
.bt_bb_icon .bt_bb_dialog_item[data-param_name="target"],
.bt_bb_icon .bt_bb_dialog_item[data-param_name="title_size"],
.bt_bb_icon .bt_bb_dialog_item[data-param_name="title_weight"] {
	flex-basis: 50% !important;
}

/* Gutenberg */
@set bodyFont Nunito Sans; /* Base font */
@set headingFont Nunito; /* Headline fond */
@set accentColor #ed6436; /* Main color */

/* Width */
.wp-block {
	max-width: 1200px !important;
}
.wp-block[data-align=full] {
	max-width: none !important;
}

/* Backend Editor */
.editor-styles-wrapper, #tinymce.mce-content-body, .wp-block-freeform.block-library-rich-text__tinymce {
	font-size: 16px !important;
	font-family: "$(bodyFont)", Arial,sans-serif !important;
	line-height: 1.8;
	color: #181818;
	h1, h2, h3, h4, h5, h6,
	.editor-post-title,
	.editor-post-title__block .editor-post-title__input {
		    font-size: 3.6rem;
		font-family: "$(headingFont)", Arial,sans-serif;
		line-height: 1.2 !important;
		margin: 0;
		font-weight: 800;
	}
	.wp-block-heading h1, .wp-block-freeform.block-library-rich-text__tinymce h1, h1 {
		font-size: 3em;
	}
	.wp-block-heading h2, .wp-block-freeform.block-library-rich-text__tinymce h2, h2 {
		font-size: 2.5em;
	}
	.wp-block-heading h3, .wp-block-freeform.block-library-rich-text__tinymce h3, h3 {
		font-size: 2em;
	}
	.wp-block-heading h4, .wp-block-freeform.block-library-rich-text__tinymce h4, h4 {
		font-size: 1.75em;
	}
	.wp-block-heading h5, .wp-block-freeform.block-library-rich-text__tinymce h5, h5 {
		font-size: 1.5em;
	}
	.wp-block-heading h6, .wp-block-freeform.block-library-rich-text__tinymce h6, h6 {
		font-size: 1.25em;
	}
	
	.wp-block-heading h1, .wp-block-heading h2, .wp-block-heading h3, .wp-block-heading h4, .wp-block-heading h5, .wp-block-heading h6, 
	.wp-block-freeform.block-library-rich-text__tinymce h1, .wp-block-freeform.block-library-rich-text__tinymce h2, .wp-block-freeform.block-library-rich-text__tinymce h3, .wp-block-freeform.block-library-rich-text__tinymce h4, .wp-block-freeform.block-library-rich-text__tinymce h5, .wp-block-freeform.block-library-rich-text__tinymce h6, 
	h1, h2, h3, h4, h5, h6 {
		padding: 0 0 0.4em 0;
		margin: 0;
	}
	p {
		font-size: 16px !important;
		line-height: 1.8;
		margin-top: 0;
		&.has-drop-cap:not(:focus):first-letter {
			font-size: 8.4rem;
			line-height: 0.7;
			font-weight: 800;
		}
		cite {
			opacity: .6;
    		font-style: normal;
		}
	}
	.editor-rich-text p.wp-block-paragraph cite {
		opacity: .6;
		font-style: normal;
	}
	address, dl {
		margin: 0 0 1em;
	}
	dd {
		margin: 0 0 1.5em 3.5em;
	}
	strong {
		font-weight: bold;
	}
	kbd {
		background: transparent;
		font-size: 1em;
	}
	.wp-block-cover-image, .wp-block-cover {
		.wp-block-cover-image-text, .wp-block-cover-text, h2 {
			font-size: 2em !important;
			color: #fff;
		}
		.wp-block-cover-image-text
	}
	.alignfull {
		width: 100vw;
		margin-left: -webkit-calc(-50vw + 600px);
		margin-left: -moz-calc(-50vw + 600px);
		margin-left: calc(-50vw + 600px);
		margin-right: -webkit-calc(-50vw + 600px);
		margin-right: -moz-calc(-50vw + 600px);
		margin-right: calc(-50vw + 600px);
		max-width: 100vw;
	}
	/* Blockquote, Pullquote */
	blockquote,
	blockquote.wp-block-quote,
	.wp-block-pullquote blockquote {
		display: block;
		font-family: "$(headingFont)", Arial,sans-serif !important;
		margin: 1em 0;
		padding: 0 !important;
		font-size: 1.6rem;
		font-weight: 800;
		line-height: 1.6;
		position: relative;
		z-index: 1;
		border: none !important;
		&:after {
			content: " ";
			display: table;
			width: 100%;
			clear: both;
		}
		p {
			font-size: 1.6rem !important;
			font-family: "$(headingFont)", Arial,sans-serif !important;
			text-align: inherit;
			margin: 0 0 1em 0;
			padding: 0;
			position: relative;
			z-index: 1;
		}
		cite {
			font-family: "$(headingFont)", Arial,sans-serif;
			font-weight: normal;
			opacity: 0.6;
			font-style: normal;
			display: block;
			font-size: 1rem;
		}
		p code {
			font-size: 1em !important;
		}
		.editor-rich-text {
			z-index: 1;
		}
		&:before {
			content: '\f10e';
			font-family: FontAwesome;
			font-size: 2.8em;
			line-height: 1;
			display: block;
			padding-bottom: 1rem;
			color: $(accentColor);
		}
		& .wp-block-quote__citation {
			font-size: 1rem;
			color: inherit;
			opacity: 0.6;
			text-align: inherit;
		}
		&.is-large, &.is-style-large {
			p {
				font-size: 1.3em !important;
				line-height: 1.6;
			}
			.wp-block-quote__citation {
				font-size: 18px;
			}
		}
	}
	.wp-block-pullquote {
		border: none;
		p {
			margin-bottom: 1em !important;
		}
		&.is-style-solid-color blockquote {
			margin-left: auto !important;
			margin-right: auto !important;
			text-align: left;
			max-width: 60%;
		}
	}
	.wp-block-pullquote blockquote>.editor-rich-text p {
		font-size: 28px !important;
		line-height: 1.6;
	}
	.wp-block-pullquote blockquote > p {
		font-size: 28px !important;
		line-height: 1.6;
	}
	.wp-block-pullquote.alignleft blockquote>.editor-rich-text p, .wp-block-pullquote.alignright blockquote>.editor-rich-text p {
		font-size: inherit !important;
	}
	figure.wp-block-pullquote {
		margin: 0em 2.5em;
		padding: 3em 0;
		text-align: center;
	}
	/* Table */
	table {
		width: 100%;
		margin: 0 0 1em 0;
		border-collapse: collapse;
		text-align: initial;
		border: 1px solid rgba(0,0,0,.07);
		td, th {
			padding: 1em;
			border: 1px solid rgba(0,0,0,.07);
		}
		tr th {
			font-weight: 700;
		}
		th {
			font-weight: normal;
			text-align: left;
			a {
				color: $(accentColor) !important;
			}
		}
		thead {
			th {
				font-weight: 700;
				background-color: $(accentColor);
				color: white;
			}
		}
	}
	.wp-block-table.aligncenter {
		margin: 0 auto;
	}
	.wp-block-table td, .wp-block-table th {
		padding: 0.5em;
		text-align: left;
		font-weight: normal;
		border: 1px solid rgba(0,0,0,.07);
	}
	.wp-block-table th {
		font-weight: 700;
	}
	dt {
		font-weight: 600;
	}
	/* Link */
	.editor-rich-text__tinymce a, a {
		text-decoration: none;
		color: $(accentColor) !important;
	}
	.mce-content-body.has-large-font-size, .has-large-font-size {
		font-size: 2.2em !important;
		line-height: 1.2;
	}
	.has-medium-font-size {
		font-size: 1.25em !important;
	}
	/* Bullet list */
	ul {
		padding-left: 1.5em;
		margin: 0 0 1em 0;
		ul {
			margin: 0 !important;
			ul {
				list-style-type: square;
				margin: 0 !important;
			}
		}
	}
	li:not(.blocks-gallery-item) {
		line-height: 1.7;
		margin: 0 !important;
	}
	ol {
		padding-left: 1.5em;
		margin: 0 0 1em 0 !important;
		ol {
			margin: 0 !important;
			ol {
				margin: 0 !important;
			}
		}
	}
	.block-library-list {
		.editor-rich-text__tinymce {
			padding-left: 1.5em;
			margin: 0 0 1em;
		}
		ol, ul {
			margin-left: 0em;
		}
	}
	/* Code */
	code {
		background-color: transparent !important;
	}
	/* Preformatted */
	pre, .wp-block-preformatted pre, .wp-block-verse pre, pre.wp-block-verse {
		margin: 0 0 30px;
		white-space: pre-wrap;
		padding: 20px;
		border: 1px solid rgba(0,0,0,.1);
		font-family: monospace;
	}
	pre cite {
		opacity: .6;
		font-style: normal;
	}
	small {
		font-size: 13px;
	}
	.wp-caption-text {
		font-size: .9em;
		line-height: 1.7;
	}
	.wp-block-categories {
		display: inline-block;
	}
	.wp-block-pullquote cite, 
	.wp-block-pullquote footer, 
	.wp-block-pullquote__citation {
		font-size: 1rem;
		text-transform: inherit;
		opacity: 0.6;
	}
	/* Separator */
	hr.wp-block-separator {
		cursor: default;
		margin: 1em auto;
		max-width: 100px !important;
		border-bottom: 2px solid #8f98a1;
		&.is-style-wide {
			max-width: 100% !important;
			border: none;
			border-bottom: 1px solid #8f98a1;
		}
		&.is-style-dots {
			background: 0 0;
			border: none !important;
			text-align: center;
			max-width: none !important;
			line-height: 1;
			height: auto;
			&:before {
				content: "\00b7 \00b7 \00b7";
				color: #191e23;
				font-size: 20px;
				letter-spacing: 2em;
				padding-left: 2em;
				font-family: serif;
			}
		}
	}
	hr {
		margin: 0;
		max-width: 100% !important;
		border-bottom: 1px solid #8f98a1 !important;
	}
	/* Button */
	.wp-block-button {
		.wp-block-button__link {
			color: $(accentColor);
			font-size: .8em;
			padding: .8em 2.2em;
			font-weight: 500;
			transition: all 200ms ease-in-out;
			&:hover {
				color: #fff;
			}
		}
		&.is-style-outline .wp-block-button__link {
			&:hover {
				color: #000000;
			}
		}
	}
	/* Columns */
	.wp-block-text-columns, .wp-block-text-columns.aligncenter {
		text-align: center;
	}
	/* Gallery */
	.wp-block-gallery {
		margin: 0;
		display: flex;
		flex-wrap: wrap;
		list-style-type: none;
		padding: 0;
		.blocks-gallery-item {
			width: calc(50% - 16px);
			list-style: none;
			display: flex;
			flex-grow: 1;
			flex-direction: column;
			justify-content: center;
			position: relative;
			margin: 0 16px 16px 0;
			figure {
				margin: 0;
				height: 100%;
				display: flex;
				align-items: flex-end;
				justify-content: flex-start;
			}
		}
	}
	.is-selected .wp-block-gallery .blocks-gallery-image:nth-last-child(2), .is-selected .wp-block-gallery .blocks-gallery-item:nth-last-child(2), .is-typing .wp-block-gallery .blocks-gallery-image:nth-last-child(2), .is-typing .wp-block-gallery .blocks-gallery-item:nth-last-child(2) {
		margin-right: 16px;
	}
	.wp-block-image .aligncenter>figcaption, .wp-block-image .alignleft>figcaption, .wp-block-image .alignright>figcaption, .wp-block-image.is-resized>figcaption {
		display: block;
	}
	/* Block margins */
	.wp-block .editor-block-list__block-edit {
		margin-top: 16px !important;
		margin-bottom: 16px !important;
	}
	/* Latest post */
	.wp-block-latest-posts.is-grid {
		margin: 0 0 1em 1em;
	}
	ul.wp-block-archives {
		padding-left: 1em;
	}
}

#tinymce.mce-content-body hr {
	max-width: 100%;
	border: 0.5px solid #8f98a1;
}

.block-editor-block-list__block[data-type="core/image"][data-align=center] .wp-block-image {
	width: 100%;
}

.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
	margin: 0 auto;
}
.wp-caption.aligncenter {
    margin: 0 auto !important;
}
dl.wp-caption.alignleft {
	margin-right: 1em !important;
}
.wp-block-freeform.block-library-rich-text__tinymce dl.wp-caption {
	color: #555d66;
	font-size: 13px;
	text-align: center;
	margin-bottom: 1.5em;
	a {
		display: inline;
	}
}

/* Select */
.wp-block-archives.wp-block-archives-dropdown select {
	padding: 1em 1.5em;
	line-height: 3.2em;
	height: 4em;
	vertical-align: middle;
	width: 100%;
	display: block;
	font-weight: 600;
	border: 1px solid rgba(0,0,0,.2);
	border-radius: 50px;
}