/*
	kh-fix
*/

.revenue_unit_wrap {
    text-align: center;
}

.revenue_unit_wrap {
    /*
	margin-top: 20px;
    margin-bottom: 20px;
	*/
    overflow: hidden;
    max-width: 100%;
	line-height: 0;
}

@media (max-width: 575px)
{
	.revenue_unit_wrap { position: relative; width: 100vw; max-width: 100vw; margin-left: -50vw; left: 50%;	}
}

.revenue_unit_item {
    position: relative;
    text-align: center;
    box-sizing: border-box;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.revenue_unit_item:not(.responsive) {
    display: inline-block;
}

.revenue_unit_item:not(.revenue_preview) .revenue_unit_info {
    display: none;
}

.revenue_unit_item.revenue_preview {
    border: 1px solid #ebebeb;
}

.revenue_unit_item .revenue_unit_info {
    position: absolute;
    top: -1px;
    left: -1px;
    height: 24px;
    padding: 0 6px;
    font-size: 12px;
    line-height: 25px;
    color: #929292;
    font-family: 'AvenirNext-Regular';
    border: 1px solid #ebebeb;
    z-index: -1;
}


.revenue_unit_item.adfit:not(.revenue_preview) {
    min-width: 160px;
    min-height: 90px
}

.revenue_unit_item.adsense.revenue_preview {
    min-height: 100px;
}

.google-auto-placed ins iframe,
.revenue_unit_item.adsense ins iframe {
    margin: 0 auto;
}

/* 
.revenue_unit_item.adsense {
	border: 1px solid #C9D6FF80 !important;
	border-radius: 10px;
	background-image: url(https://kilho.net/wp-content/themes/porto-child/img/adsense.svg);
}
*/

/*
.revenue_unit_item.adsense {
	max-width: 100%;
	background: #C9D6FF80;
	background: -webkit-linear-gradient(to left, #E2E2E280, #C9D6FF80);
	background: linear-gradient(to left, #E2E2E280, #C9D6FF80);
	overflow: hidden;
}
*/

.revenue_unit_item.adsense {
/*
	background-image: linear-gradient(to left, #E2E2E280, #C9D6FF80); 
	background-image: linear-gradient(to right, #e0f7fa 0%, #b2ebf2 60%, #81ecec 100%);
	background-image: repeating-linear-gradient(120deg, #f9fafb 0px, #f9fafb 20px, #dbeafe 20px, #dbeafe 40px);
	background-image: linear-gradient(135deg, #f8fafc 0%, #dbeafe 50%, #a5b4fc 100%);
	background-image: radial-gradient(circle at 60% 40%, #e0e7ff 0%, #c1d3fe 60%, #a2b9ee 100%);
	background-image: linear-gradient(to bottom, #fff7ae 0%, #c2ffd9 100%);
*/
background-image: repeating-linear-gradient(
  120deg,
  #faf3ff 0px,     /* 라이트 라벤더 */
  #faf3ff 24px,
  #e3fcef 24px,    /* 라이트 민트 */
  #e3fcef 48px,
  #f7f8fa 48px,    /* 라이트 그레이 */
  #f7f8fa 72px,
  #ffe8ec 72px,    /* 연한 핑크 */
  #ffe8ec 96px
);

	position: relative;
	overflow: hidden;
}

.revenue_unit_item.adsense::before {
	content: '';
	position: absolute;
	top: 0; left: 0; width: 100%; height: 100%;
	background: white;
	opacity: 0;
	pointer-events: none;
	animation: fadeWhiteOverlay 3s forwards;
}

@keyframes fadeWhiteOverlay {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

.revenue_unit_item.adfit {
    background-image: url(https://kilho.net/wp-content/themes/porto-child/img/adfit.svg);
}

.revenue_unit_item.tenping {
    width: 100%;
    min-width: 100px;
    min-height: 50px;
    background-size: 100px 25px;
    background-image: url(https://kilho.net/wp-content/themes/porto-child/img/tenping.png);
}

.revenue_unit_item.dable {
    width: 100%;
    min-width: 100px;
    min-height: 50px;
    background-size: 98px 27px;
    background-image: url(https://kilho.net/wp-content/themes/porto-child/img/dable.png);
}

.revenue_unit_item.revenue_preview.tenping,
.revenue_unit_item.revenue_preview.dable {
    width: 100%;
    min-height: 100px;
}

.revenue_unit_item:not(.revenue_preview) ins.adsbygoogle[data-ad-status="unfilled"] {
    display: none !important;
}
