.yc-interactive-banner {
    position: relative;
    width: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.yc-interactive-banner:before{
    content: '';
    display: block;
}

.yc_ib_ratio_1x1:before {
  padding-top: 100%;
}

.yc_ib_ratio_1x2:before {
  padding-top: 200%;
}

.yc_ib_ratio_2x1:before {
  padding-top: 50%;
}

.yc_ib_ratio_2x3:before {
  padding-top: 150%;
}

.yc_ib_ratio_3x2:before {
  padding-top: 66.6666%;
}

.yc_ib_ratio_3x4:before {
  padding-top: 125%;
}

.yc_ib_ratio_4x3:before {
  padding-top: 75%;
}

.yc-interactive-banner-hover {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.yc-interactive-banner-content {
    position: absolute;
    transition-timing-function: ease;
    z-index: 2;
    width: 100%;
}

.yc_ib_content_top .yc-interactive-banner-content {
    top: 0;
}

.yc_ib_content_middle .yc-interactive-banner-content {
    transform: translateY(-50%);
    top: 50%;
}

.yc_ib_content_bottom .yc-interactive-banner-content {
    bottom: 0;
}

.yc-interactive-banner-img {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition-timing-function: ease;
}

.yc-interactive-banner a.yc-interactive-banner-link {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-decoration: none;
    border: none;
    outline: none;
    z-index: 3;
}

.yc-interactive-banner-content-desc p {
    margin: 0!important;
}

.yc-interactive-banner-hover {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background-color: inherit;
    transition-property: none;
    transform-origin: center center;
}
.yc-interactive-banner-img {
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    transition-timing-function: ease;
    transform-origin: center center;
}
.yc-interactive-banner {
    transition-duration: 500ms;
    transition-property: transform, opacity;
}

/* animation_overlay */

.yc-interactive-banner.animation_overlay .yc-interactive-banner-img {
    transition: opacity 0.5s cubic-bezier(0.215, 0.21, 0.655, 1) 0.4s;
}
.yc-interactive-banner.animation_overlay .yc-interactive-banner-content {
    top: 50%;
    bottom: auto;
    opacity: 0;
    transform: translateY(-50%);
    transition: opacity 0.6s cubic-bezier(0.215, 0.21, 0.655, 1) 0.2s;
}
.yc-interactive-banner.animation_overlay.yc_ib_content_top .yc-interactive-banner-content {
    top: auto;
    transform: translateY(0);
}
.yc-interactive-banner.animation_overlay.yc_ib_content_bottom .yc-interactive-banner-content {
    top: auto;
    bottom: 0;
    transform: translateY(0);
}
.yc-interactive-banner.animation_overlay.yc_ib_content_middle:hover .yc-interactive-banner-content {
    opacity: 1;
    transform: translateY(-50%);
}

.yc-interactive-banner.animation_overlay.yc_ib_content_bottom:hover .yc-interactive-banner-content,
.yc-interactive-banner.animation_overlay.yc_ib_content_top:hover .yc-interactive-banner-content {
    opacity: 1;
}

/* animation_standard - zoom */

.yc-interactive-banner.animation_standard .yc-interactive-banner-img {
    transition-duration: 500ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_standard .yc-interactive-banner-content {
    top: 50%;
    bottom: auto;
    opacity: 0;
    transform: translateY(-50%) scale(0.7);
    transition-duration: 400ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_standard.yc_ib_content_top .yc-interactive-banner-content {
    top: auto;
    transform: translateY(0) scale(0.7);
}
.yc-interactive-banner.animation_standard.yc_ib_content_bottom .yc-interactive-banner-content {
    top: auto;
    bottom: 0;
    transform: translateY(0) scale(0.7);
}
.yc-interactive-banner.animation_standard:hover .yc-interactive-banner-img {
    transform: scale(1.4);
}
.yc-interactive-banner.animation_standard.yc_ib_content_middle:hover .yc-interactive-banner-content {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.yc-interactive-banner.animation_standard.yc_ib_content_bottom:hover .yc-interactive-banner-content,
.yc-interactive-banner.animation_standard.yc_ib_content_top:hover .yc-interactive-banner-content {
    opacity: 1;
    transform: scale(1);
}

/* animation_box */

.yc-interactive-banner.animation_box .yc-interactive-banner-img {
    transition-duration: 500ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_box .yc-interactive-banner-hover:before {
    content: '';
    position: absolute;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    top: 20px;
    left: 20px;
    z-index: 1;
    opacity: 0;
    transition: all 200ms ease-out;
}
.yc-interactive-banner.animation_box .yc-interactive-banner-content {
    top: 50%;
    bottom: auto;
    opacity: 0;
    transform: translateY(-30%);
    transition-duration: 400ms;
    transition-property: transform, opacity, width;
}
.yc-interactive-banner.animation_box.yc_ib_content_top .yc-interactive-banner-content {
    top: auto;
    transform: none
}
.yc-interactive-banner.animation_box.yc_ib_content_bottom .yc-interactive-banner-content {
    top: auto;
    bottom: 0;
    transform: none;
}
.yc-interactive-banner.animation_box.yc_ib_content_middle .yc-interactive-banner-content {
     transform: translateY(-50%);
}
.yc-interactive-banner.animation_box:hover .yc-interactive-banner-img {
    opacity: 1;
    transform: scale(1.2);
}

.yc-interactive-banner.animation_box:hover .yc-interactive-banner-content {
    opacity: 1;
}

/* animation_bottom */

.yc-interactive-banner.animation_bottom .yc-interactive-banner-img {
    bottom: -10%;
    transform: translateY(0);
    transition-duration: 400ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_bottom .yc-interactive-banner-content {
    top: auto;
    padding-top: 20% !important;
    transform: translateY(0);
    bottom: 0;
}
.yc-interactive-banner.animation_bottom .yc-interactive-banner-content:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(transparent 0%, rgba(30, 30, 30, 0.8) 100%) repeat-x rgba(30, 30, 30, 0);
    transition-property: opacity;
    transition-duration: 300ms;
}
.yc-interactive-banner.animation_bottom .yc-interactive-banner-content-title {
    position: relative;
    transition-property: color;
    transition-duration: 300ms;
}
.yc-interactive-banner.animation_bottom .yc-interactive-banner-content-desc {
    position: relative;
    opacity: 0;
    line-height: 0;
    margin-top: 0;
    transition-duration: 300ms;
    transition-property: opacity, line-height, margin;
}
.yc-interactive-banner.animation_bottom:hover .yc-interactive-banner-img {
    -webkit-transform: translateY(-8%);
    transform: translateY(-8%);
}
.yc-interactive-banner.animation_bottom:hover .yc-interactive-banner-content:before {
    opacity: 0;
}
.yc-interactive-banner.animation_bottom:hover .yc-interactive-banner-content-desc {
    opacity: 1;
    line-height: 1.8;
}

/* animation_left */

.yc-interactive-banner.animation_left .yc-interactive-banner-content {
    background-color: inherit;
}
.yc-interactive-banner.animation_left .yc-interactive-banner-img {
    background-color: inherit;
    transform: translateX(0) scale(1.01);
    transition-duration: 400ms;
    transition-property: transform;
}
.yc-interactive-banner.animation_left .yc-interactive-banner-content {
    right: auto;
    width: 50%;
    background-color: inherit;
    transform: translateX(-180%);
    transition-duration: 400ms;
    -webkit-transition-property: -webkit-transform;
    transition-property: transform;
}
.yc-interactive-banner.animation_left.yc_ib_content_middle .yc-interactive-banner-content {
    transform: translateX(-180%) translateY(-50%);
}

.yc-interactive-banner.animation_left.yc_ib_content_middle:hover .yc-interactive-banner-content {
    transform: translateX(0) translateY(-50%);
}

.yc-interactive-banner.animation_left.yc_ib_content_top .yc-interactive-banner-content {
    transform: translateX(-180%);
}

.yc-interactive-banner.animation_left .yc-interactive-banner-content:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    height: 40px;
    width: 40px;
    margin: -20px 0 0 -20px;
    background-color: inherit;
    transform: translateX(-10px) rotate(45deg);
    transition-duration: 400ms;
    transition-property: transform;
}
.cl-ib-content-h {
    position: relative;
}
.yc-interactive-banner.animation_left .yc-interactive-banner-content-title {
    opacity: 0;
    transform: translateX(-100px);
    transition-duration: 400ms;
    transition-delay: 100ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_left .yc-interactive-banner-content-desc {
    opacity: 0;
    transform: translateX(-100px);
    transition-duration: 400ms;
    transition-delay: 200ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_left:hover .yc-interactive-banner-img {
    -webkit-transform: translateX(51%) scale(1.01);
    transform: translateX(51%) scale(1.01);
}
.yc-interactive-banner.animation_left:hover .yc-interactive-banner-content {
    transform: translateX(0);
}
.yc-interactive-banner.animation_left:hover .yc-interactive-banner-content:before {
    transform: translateX(15px) rotate(45deg);
}
.yc-interactive-banner.animation_left:hover .yc-interactive-banner-content-title {
    opacity: 1;
    transform: translateX(0);
}
.yc-interactive-banner.animation_left:hover .yc-interactive-banner-content-desc {
    opacity: 1;
    transform: translateX(0);
}

/* animation_slide */

.yc-interactive-banner.animation_slide .yc-interactive-banner-img {
    background-color: inherit;
    transform: scale(1.1);
    transition-duration: 500ms;
}
.yc-interactive-banner.animation_slide .yc-interactive-banner-img:before,
.yc-interactive-banner.animation_slide .yc-interactive-banner-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: inherit;
    opacity: 0.3;
    transform: translateY(100%);
    transition-duration: 500ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_slide .yc-interactive-banner-img:after {
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
}
.yc-interactive-banner.animation_slide .yc-interactive-banner-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.yc-interactive-banner.animation_slide.yc_ib_content_top .yc-interactive-banner-content {
    top: auto;
    transform: none
}
.yc-interactive-banner.animation_slide.yc_ib_content_bottom .yc-interactive-banner-content {
    top: auto;
    bottom: 0;
    transform: none;
}
.yc-interactive-banner.animation_slide .yc-interactive-banner-content-title {
    opacity: 0;
    transform: translateY(-20px);
    transition-duration: 600ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_slide .yc-interactive-banner-content-desc {
    opacity: 0;
    transform: translateY(-20px);
    transition-duration: 600ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_slide:hover .yc-interactive-banner-img {
    -webkit-transform: scale(1);
    transform: scale(1);
}
.yc-interactive-banner.animation_slide:hover .yc-interactive-banner-img:before,
.yc-interactive-banner.animation_slide:hover .yc-interactive-banner-img:after {
    opacity: 0.6;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.yc-interactive-banner.animation_slide:hover .yc-interactive-banner-content-title {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}
.yc-interactive-banner.animation_slide:hover .yc-interactive-banner-content-desc {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

/* animation_text_first */

.yc-interactive-banner.animation_text_first .yc-interactive-banner-img {
    filter: grayscale(1);
    transition-duration: 400ms;
    transition-property: filter, opacity;
}
.yc-interactive-banner.animation_text_first .yc-interactive-banner-content {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.yc-interactive-banner.animation_text_first.yc_ib_content_top .yc-interactive-banner-content {
    top: auto;
    transform: none
}
.yc-interactive-banner.animation_text_first.yc_ib_content_bottom .yc-interactive-banner-content {
    top: auto;
    bottom: 0;
    transform: none;
}
.yc-interactive-banner.animation_text_first .yc-interactive-banner-content-title {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-duration: 400ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_text_first .yc-interactive-banner-content-desc {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-duration: 400ms;
    transition-property: transform, opacity;
}
.yc-interactive-banner.animation_text_first:hover .yc-interactive-banner-img {
    opacity: 1 !important;
    filter: grayscale(0);
}
.yc-interactive-banner.animation_text_first:hover .yc-interactive-banner-content-title {
    opacity: 0;
    transform: translateY(-20px) scale(0.8);
}
.yc-interactive-banner.animation_text_first:hover .yc-interactive-banner-content-desc {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
}