.media_embed {
	position: relative; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden;
}
.media_embed > iframe,
.media_embed > video {
	 position: absolute; top: 0; left: 0; border: 0; width: 100%; height: 100%;
}
.media_embed span.cke_widget_inline {
	display: block;
	width: 100%;
}
.media_embed span.cke_widget_inline > img,
.media_embed > img {
	width: 100%; max-width: 100%; height: auto;
}

.media_embed.airbnb-embed {
	margin: 0 auto; width: 100% !important; padding-bottom: 0; overflow-x: auto; text-align: center;
}
.media_embed.airbnb-embed iframe {
	position: relative; border: none; visibility: visible; margin: 0 auto; padding: 0; min-width: 300px; max-width: 450px;
}

.media_embed.audioclip-embed {
	height: 160px; padding-bottom: 0;
}
.media_embed.audioclip-embed img {
	display: none;
}

.media_embed.bandcamp-embed {
    margin: 0 auto; max-width: 700px; padding-bottom: 0;
}
.media_embed.bandcamp-embed img {
	display: none;
}

.media_embed.codepen-embed {
	height: 480px; padding-bottom: 0;
}
.media_embed.codepen-embed img {
	height: 480px; object-fit: cover;
}
.media_embed.codepen-embed iframe {
	height: 480px; border: 1px solid #bbb; box-sizing: border-box;
}

.media_embed.codesandbox-embed {
	height: 300px; padding-bottom: 0;
}

.media_embed.codesandbox-embed {
	height: auto; padding-bottom: 0;
}
.media_embed.codesandbox-embed iframe {
	position: relative; width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;
}

.media_embed.fb-post,
.media_embed.fb-video {
	display: block; margin: 0 auto; max-width: 552px; height: 325px; padding-bottom: 0; line-height: 0;
}
.media_embed.fb-post > iframe,
.media_embed.fb-video > iframe {
	 position: relative; width: 100%; height: 300px; border: none; overflow: hidden;
}
.media_embed.fb-post > p,
.media_embed.fb-video > p {
	width: 100% !important; font-style: italic; color: #999; text-align: center;
}

.media_embed.flickr-embed {
	height: auto; padding-bottom: 0; text-align: center;
}
.media_embed.flickr-embed > iframe {
	position: relative;
}

.media_embed.giphy-embed.giphy-embed-photo {
	height: auto; padding-bottom: 0; text-align: center;
}
.media_embed.giphy-embed.giphy-embed-photo > span {
	display: inline-block; width: auto;
}
.media_embed.giphy-embed.giphy-embed-photo > span > img,
.media_embed.giphy-embed.giphy-embed-photo > img {
	width: auto;
}

.media_embed.gfycat-embed {
	margin: 0 auto; height: auto; padding-bottom: 0;
}
.media_embed.gfycat-embed > .gfycat-embed-group {
	position: relative; padding-bottom: 56.25%;
}
.media_embed.gfycat-embed > .gfycat-embed-single {
	position: relative; height: 0;
}

.media_embed.gfycat-embed > .gfycat-embed-group > span > img,
.media_embed.gfycat-embed > .gfycat-embed-group > img {
	position: absolute; top: 0; left: 0; width: 100%; height: auto;
}
.media_embed.gfycat-embed > .gfycat-embed-single > span > img,
.media_embed.gfycat-embed > .gfycat-embed-single > img {
	width: 100%;
}
.media_embed.gfycat-embed > .gfycat-embed-group > iframe,
.media_embed.gfycat-embed > .gfycat-embed-single > iframe {
	position: absolute; top: 0; left: 0; width: 99.99%; min-width: auto; height: 99.99%;
}

.media_embed.imgur-embed {
	height: auto; padding-bottom: 0;
}
.media_embed.imgur-embed img {
	display: none;
}
.media_embed.imgur-embed iframe {
	position: relative; display: flex; margin: 0 auto; width: 540px; max-width: 100%; height: 360px;
	box-shadow: 0px 0px 5px 0px rgb(0 0 0 / 10%); border: 1px solid #ccc; border-radius: 2px; box-sizing: border-box;
}
.media_embed.imgur-embed > p {
	font-style: italic; color: #999; text-align: center;
}

.media_embed.instagram-embed {
	height: auto; padding-bottom: 0;
}
.media_embed.instagram-embed .instagram-media {
	position: relative; display: block; margin: 0 auto; padding: 0; width: calc(100% - 2px); max-width: 540px !important; height: 480px;
	background: #fff; border: 1px solid #dbdbdb; border-radius: 3px; box-shadow: none;
}

.media_embed.jjalbot-embed {
	display: flex; margin: 0 auto; height: auto; padding-bottom: 0;
}
.media_embed.jjalbot-embed iframe {
	height: calc(100% - 1.4px);
}

.media_embed.jsfiddle-embed {
	height: 400px; padding-bottom: 0;
}
.media_embed.jsfiddle-embed iframe {
	position: relative; height: 400px; border: 1px solid #bbb; box-sizing: border-box;
}

.media_embed.jsfiddle-embed {
	height: 400px; padding-bottom: 0;
}

.media_embed.nico-embed-live {
	margin: 0 auto; max-width: 360px; height: 172px; padding: 0; background-color: #f6f6f6; border: solid 1px #d0d0d0;
}
.media_embed.nico-embed-video > span,
.media_embed.nico-embed-video > img,
.media_embed.nico-embed-live > span,
.media_embed.nico-embed-live > img {
	position: absolute; top: 50%; transform: translateY(-50%);
}

.media_embed.pinterest-embed {
	margin: 0 auto; max-width: 600px; height: auto; padding-bottom: 0;
}
.media_embed.pinterest-embed > a {
	display: block; margin: 0 auto; width: 600px; min-width: unset; max-width: 100%;
	border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; box-sizing: border-box; overflow: hidden; line-height: 0;
}
	.media_embed.pinterest-embed.pinterest-pin > a {
		border-radius: 36px;
	}
	.media_embed.pinterest-embed.pinterest-pin > a > img {
		width: 100%; height: auto;
	}
.media_embed.pinterest-embed > a > span {
	width: 100%;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type {
	display: block; margin: 0; padding: 10px; height: 55px; text-align: left; box-sizing: border-box;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span {
	display: inline-block; height: 36px; vertical-align: middle; 
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span:first-of-type {
	margin-right: 10px; width: 36px; border-radius: 50%; overflow: hidden;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span:first-of-type > img {
	width: 36px; height: 36px;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span:last-of-type {
	width: calc(100% - 46px); margin: 0;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span:last-of-type > span {
	display: block; width: 100%; height: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	color: #363636; font-size: 12px; line-height: 1;
}
.media_embed.pinterest-embed:not(.pinterest-pin) > a > span:first-of-type > span:last-of-type > span:first-of-type {
	height: 19px;
	color: #333; font-size: 14px; font-weight: bold;
}
	.media_embed.pinterest-embed:not(.pinterest-pin).pinterest-profile > a > span:first-of-type > span:last-of-type > span {
		height: 36px; line-height: 36px;
	}
.media_embed.pinterest-embed > a > span:nth-of-type(2) {
	display: block; padding: 0 10px; overflow-x: hidden; overflow-y: auto; width: 100%; box-sizing: border-box;
}
.media_embed.pinterest-embed > a > span:nth-of-type(2) > span {
	display: flex; width: 100%; height: auto;
}
.media_embed.pinterest-embed > a > span:nth-of-type(2) > span > span {
	padding: 1px; min-width: 60px;
}
.media_embed.pinterest-embed > a > span:nth-of-type(2) > span > span > img {
	margin: 0; display: inline-block; width: 100%; border-radius: 8px;
}
.media_embed.pinterest-embed > a > span:last-of-type {
	display: block; padding: 24px 12px; font-style: italic; color: #999; text-align: center;
}
.media_embed.pinterest-embed > a > span img {
	filter: none;
}
.media_embed.pinterest-embed > span {
	width: 100% !important; max-width: 600px !important; min-width: unset !important;
}

.media_embed.reddit-embed {
	height: 442px; padding-bottom: 0;
}
.media_embed.reddit-embed iframe {
	position: relative; border: 1px solid #bbb; box-sizing: border-box;
}

.media_embed.relive-embed {
	padding-bottom: 78.3%;
}

.media_embed.soundcloud-embed {
	padding-bottom: 0;
}
.media_embed.soundcloud-embed img {
	display: none;
}

.media_embed.spotify-embed {
	padding-bottom: 0;
}

.media_embed.tenor-video-embed {
    margin: 0 auto; max-width: 640px; height: auto; padding-bottom: 0; line-height: 0;
}

.media_embed.tiktok-embed {
	height: auto; padding-bottom: 0;
}
.media_embed.tiktok-embed img {
	display: none; width: 325px; height: auto;
}
.media_embed.tiktok-embed iframe {
	 position: relative; display: block; margin: 0 auto; max-width: 542px; min-width: 300px; height: 560px; border-radius: 8px;
}
@media only screen and (max-width:676px){	
	.media_embed.tiktok-embed iframe {
		 max-width: 325px !important;
	}
}

.media_embed.tumblr-post {
	height: auto; padding-bottom: 0;
}
.media_embed.tumblr-post img {
	display: none; width: 540px; height: auto;
}
.media_embed.tumblr-post iframe {
	position: relative; display: block; padding: 0; margin: 0 auto; border: none; visibility: visible;
	width: 540px; max-width: 100%; height: 360px; min-height: 200px;
}
.media_embed.tumblr-post > p {
	font-style: italic; color: #999; text-align: center;
}

.media_embed.twitter-status,
.media_embed.twitter-list,
.media_embed.twitter-profile {
	height: auto; padding: 0; text-align: center;
}
.media_embed.twitter-status .twitter-tweet {
	margin: 0 auto; width: 550px; max-width: 100%;
}
.media_embed.twitter-status .twitter-tweet iframe {
	display: block; width: 100%;
}
.media_embed.twitter-status .twitter-tweet p {
	font-style: italic; color: #999; text-align: center;
}
.media_embed.twitter-list a.twitter-timeline,
.media_embed.twitter-profile a.twitter-timeline {
	display: inline-block; line-height: 16px; text-align: left; text-decoration: none; border-bottom: 1px solid #c4cfd6; padding: 10px;
}
.media_embed.twitter-list a.twitter-timeline span:nth-of-type(1),
.media_embed.twitter-profile a.twitter-timeline span:nth-of-type(3) {
	display: inline-block; margin-bottom: 5px; line-height: 36px; font-size: 27px; letter-spacing: -1px; color: #292F33;
}
.media_embed.twitter-list a.twitter-timeline span:nth-of-type(2),
.media_embed.twitter-profile a.twitter-timeline span:nth-of-type(1) {
	font-size: 12px; color: #2b7bb9;
}
.media_embed.twitter-list a.twitter-timeline span:nth-of-type(3),
.media_embed.twitter-profile a.twitter-timeline span:nth-of-type(2) {
	font-size: 12px; color: #657786;
}
.media_embed.twitter-profile a.twitter-timeline span:nth-of-type(3) {
	font-weight: 300; letter-spacing: 0;
}
.media_embed.twitter-list a.twitter-timeline span:last-of-type,
.media_embed.twitter-profile a.twitter-timeline span:last-of-type {
	display: block;font-style: italic;color: #999;text-align: center;
}

.media_embed.youtube-shorts {
	margin: 0 auto !important; padding-bottom: 0; height: 605px;
}
.media_embed.youtube-shorts > iframe {
	 top: 50%; left: 50%; transform: translate(-50%, -50%); max-width: 340px;
}
.media_embed.youtube-shorts span.cke_widget_inline > img,
.media_embed.youtube-shorts > img {
	filter: opacity(0);
}

.xe_content:not(.editable) .media_embed.fb-post > p,
.xe_content:not(.editable) .media_embed.fb-video > p {
	display: none !important;
}
.xe_content:not(.editable) .media_embed.imgur-embed > p {
	display: none !important;
}
.xe_content:not(.editable) .media_embed.tumblr-post > p {
	display: none !important;
}
.xe_content:not(.editable) .media_embed.twitter-status .twitter-tweet > p {
	 display: none !important;
}
.xe_content:not(.editable) a.twitter-timeline span:last-of-type {
	 display: none !important;
}

.media_embed_loading {
	position: fixed; display: flex; justify-content: center; align-items: center; top: 0; left: 0; width: 100vw; height: 100vh; background: rgb(238 238 238 / 80%);
}
.media_embed_loading .media_embed_loading_container {
	padding: 24px 36px; background: #fff; border-radius: 4px; box-shadow: 1px 1px 4px 1px rgb(102 102 102 / 80%); box-sizing: border-box;
}
.media_embed_loading .media_embed_loading_container p {
	display: flex; justify-content: center; align-items: center; margin: 0; font-size: 14px;
}
.media_embed_loading .media_embed_loading_container p i {
	flex: none; margin-right: 12px; font-size: 36px; color: #999;
}


/* 구버전 지원 */

.instagram-media {
	position: relative; display: block; margin: 0 auto; padding: 0; width: calc(100% - 2px); max-width: 540px !important;
	background: #fff; border: 1px solid #dbdbdb; border-radius: 3px; box-shadow: none; height: none !important;
}

.youtube_converted {
	position: relative; width: 100%; height: 0; padding-bottom: 56.25%; overflow: hidden;
}
.youtube_converted > iframe {
	 position: absolute; top: 0; left: 0; border: 0; width: 100%; height: 100%;
}
.youtube_converted span.cke_widget_inline {
	width: 100%;
}
.youtube_converted span.cke_widget_inline > img,
.youtube_converted > img {
	width: 100%; max-width: 100%; height: auto;
}