/*
 * Image
 */

.l-header .w-image {
	flex-shrink: 0;
	transition: height 0.3s;
	height: 35px; /* default value for header */
	}
.l-header .w-image.no_image {
	width: 100%;
	}
.l-main .w-image {
	max-width: 100%;
	}
.l-main .w-image.align_left {
	float: left;
	margin-right: 2.5rem;
	}
.l-main .w-image.align_right {
	float: right;
	margin-left: 2.5rem;
	}
	.w-image-h {
		display: block;
		border-radius: inherit;
		border-color: inherit !important;
		color: inherit !important;
		}
	.w-image:not([class*="style_phone"]) .w-image-h {
		background: inherit;
		}
	.l-header .w-image-h {
		height: inherit;
		}
		.w-image img {
			vertical-align: top;
			border-radius: inherit;
			}
		.l-header .w-image img {
			display: block;
			height: inherit;
			width: auto;
			}
	.w-image-h[href] {
		position: relative;
		}
	.w-image-meta {
		line-height: 1.6;
		}
		.w-image-description {
			font-size: 0.85rem;
			margin: 0.2rem 0;
			opacity: 0.5;
			}

/* For transparent image in header */
.w-image.with_transparent img:last-of-type,
.l-header.bg_transparent:not(.sticky) .w-image.with_transparent img:first-of-type {
	display: none;
	}
.l-header.bg_transparent:not(.sticky) .w-image.with_transparent img:last-of-type {
	display: block;
	}

/* STYLE: circle */
.w-image.style_circle img {
	border-radius: 50%;
	}

/* STYLE: outlined */
.w-image.style_outlined img {
	border-width: 5px;
	border-style: solid;
	border-color: inherit;
	}
.l-section.color_primary .w-image,
.l-section.color_secondary .w-image {
	border-color: rgba(255,255,255,0.33);
	}

/* STYLE: shadow-1 */
.w-image.style_shadow-1 img {
	box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 3px 10px rgba(0,0,0,0.15);
	}

/* STYLE: shadow-2 */
.w-image.style_shadow-2 .w-image-h {
	position: relative;
	}
	.w-image-shadow {
		position: absolute;
		top: 15%;
		left: 5%;
		right: 5%;
		height: 90%;
		background-size: 200% 80%;
		background-position: center bottom;
		background-repeat: no-repeat;
		border-radius: inherit;
		-webkit-filter: blur(25px);
		filter: blur(25px);
		}
	.w-image.meta_simple .w-image-shadow {
		margin-top: -2.8rem;
		}
	/* Fix for IE11 which doesn't support CSS blur */
	@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
		.w-image-shadow { display: none; }
		}
	.w-image.style_shadow-2 img {
		position: relative;
		width: 100%;
		}
	.w-image.style_shadow-2.meta_simple .w-image-meta {
		position: relative;
		}

/* META: simple */
.w-image.meta_simple .w-image-meta {
    padding-top: 0.6rem;
	}
	.w-image.meta_simple .w-image-description {
		margin-top: 0;
		}
.w-image.meta_simple[class*="style_phone6"] .w-image-meta {
	padding-top: 32%;
	}

/* META: modern */
.w-image.meta_modern {
	position: relative;
	}
.w-image.meta_modern .w-image-meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 100%;
	padding: 3rem 1rem 0.6rem;
	overflow: hidden;
	border-bottom-left-radius: inherit;
	border-bottom-right-radius: inherit;
	background: linear-gradient(transparent, rgba(30,30,30,0.8)) repeat-x;
	color: #fff;
	}
.w-image.meta_modern[class*="style_phone6"] .w-image-meta {
	left: 12.5%;
	right: 12.5%;
	bottom: 13.5%;
	}
.w-image.meta_modern.style_outlined .w-image-meta {
	left: 5px;
	right: 5px;
	bottom: 5px;
	}
.w-image.has_bg_color .w-image-meta {
	padding-top: 0.6rem;
	background: inherit;
	}
.w-image.has_text_color .w-image-meta {
	color: inherit;
	}

/* WordPress captions */
.wp-caption {
	line-height: 0;
	margin: 0 0 1.5rem;
	max-width: 100%;
	position: relative;
	}
	.wp-caption-text {
		display: block;
		font-size: 0.85rem;
		line-height: 1.6;
		margin: 0.5rem 0 0;
		}
