main {
    padding-top: 60px;
}

#page {
    position: relative;
}

.item {
    position: absolute;
    background: #f1f1f1;
}

.item.text {
    background: none;
    padding: 10px 0;
    letter-spacing: 0.1rem;
    font-size: 0.8rem;
}

.item.title {
    background: none;
    padding: 0;
    letter-spacing: 0.1rem;
    font-size: 1rem;
}
.item.title h1,
.item.title h2,
.item.title h3,
.item.title h4,
.item.title h5,
.item.title h6{
    margin:0;
    font-weight: normal;
}

.item.title h1{
    font-size: 2rem;
}
.item.title h2{
    font-size: 1.8rem;
}
.item.title h3{
    font-size: 1.6rem;
}
.item.title h4{
    font-size: 1.4rem;
}
.item.title h5{
    font-size: 1.2rem;
}
.item.title h6{
    font-size: 1.1rem;
}

.item.text a {
    color: #000;
}

.item .content {
    position: absolute;
    height: 100%;
    width: 100%;
}

.item .content img,
.item .content .splide {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
}

.item .content img.first {
    z-index: 2;
}

.item .splide_images .splide__arrows--ltr {
    display: none;
}

.icon-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.7);
    height: 50px;
    width: 80px;
    cursor: pointer;
    transition: all 0.3s;
    display:none;
}

.icon-play:hover {
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

.icon-play:before {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    content: '';
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #000;
}

.over-pref {
    cursor: url('../gfx/prev.png'), auto;
}

.over-next {
    cursor: url('../gfx/next.png'), auto;
}

.item .content>iframe {
    display: none;
}

.caption {
    position: absolute;
    font-size:0.8rem;
    letter-spacing: 0.1rem;

}

.caption.top_left {
    top: -0.6rem;
}

.caption.top_right {
    top: -0.6rem;
    right: 0;
}

.caption.top_left,.caption.top_right{
    width:100%;
}

.caption.top_left span,.caption.top_right span{
    width:100%;
    position: absolute;
    bottom:0;
}

.caption.bottom_left {
    bottom: -1.6rem;
}

.caption.bottom_right {
    bottom: -1.6rem;
    right: 0;
}

.has_bg {
    padding: 0.30rem 0.4rem;
    width:auto !important;
}
.caption.has_bg span,.caption.has_bg span{
    width:auto;
}

video{
    object-fit:cover;
}

@media (max-width:768px) {

    #page {
        padding-left: 20px;
        padding-right: 20px;
        width: auto !important;
        height: auto !important;
        box-sizing: border-box;
        padding-bottom:1px;
    }

    .item {
        width: 100% !important;
        position: relative !important;
        margin-bottom: 20px;
        left: 0 !important;
        top: auto !important;
        padding-bottom: 100%;
        box-sizing: border-box;
    }

    .item.text {
        height: auto !important;
    }

    .item.title {
        height: auto !important;
        padding-bottom:20px !important;
    }

    .item.text .content {
        position: relative;
    }

    .item.has_caption.top_left {
        margin-top: 3rem;
    }

    .item.has_caption.bottom_left {
        margin-bottom: 3rem;
    }

    .item.has_caption.top_right {
        margin-top: 3rem;
    }

    .item.has_caption.bottom_right {
        margin-bottom: 3rem;
    }


}