/**
Stylesheet for Campermagazine Play
 */


.swiper-wrapper {
    width: 100vw;
}

/*
Slider swiper
 */
li.slide-item.slick-current:hover .block-images {
    transform: scale3d(1.1, 1.1, 1) translate3d(6%, 0, 0) perspective(500px);
}
li.slide-item:hover .block-images{
    z-index: 99;transform: scale3d(1.1, 1.1, 1) translate3d(0, 0, 0) perspective(500px); transform-origin: 50% 50%;
    transition: all 0.6s ease 0s; -webkit-transition: all 0.6s ease 0s; -moz-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s; box-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}
.favorites-slider .slick-list, #top-ten-slider-nav .slick-list {
    overflow: visible;
    padding-bottom: 40px !important;
}
li.slide-item:hover .slider-block-description {
    transform: scale3d(0.97, 0.97, 1);
}

/*
Horizontal slick
 */
.favorites-slider .slick-arrow i, .inner-slider .slick-arrow i, #trending-slider-nav .slick-arrow i, .trending-contents .slick-arrow i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 60px;
    text-align: center;
    opacity: 1;
    z-index: 9;
    top: 0;
    background: rgba(0, 0, 0, 0.5);
    margin: 0;
    line-height: 5px;
    box-shadow: 0 9px 19px #01041B0D;
    font-size: 0;
    transform: none;
    color: var(--iq-white);
    -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    transition: all 0.4s ease-in-out 0s;
}
.favorites-slider .slick-prev, .inner-slider .slick-prev {
    color: var(--iq-white);
    right: auto;
    left: 9px;
    z-index: 9;
    top: 90px;
}
.favorites-slider  .slick-next, .inner-slider  .slick-next {
    left: auto;
    color: var(--iq-white);
    right: 6px;
    z-index: 9;
    top: 90px;
}

/*
Vertical slider
 */
.vertical_s {
    position: absolute;
    top: 95px;
    right: 0;
    bottom: 10px;
    left: 35px;
    width: fit-content;
    overflow: hidden;
}

#top-ten-slider-nav {
    width: 300px;
    height: 100%;
    position: relative;
}

#top-ten-slider-nav .PreArrow {
    top: 0;
}
#top-ten-slider-nav .NextArrow {
    bottom: 0;
}
#top-ten-slider-nav .NextArrow, #top-ten-slider-nav .PreArrow {
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--iq-white);
    font-size: 30px;
    width: 60px;
    height: 35px;
}

#top-ten-slider-nav .slick-list.draggable { height: 100% !important }
#top-ten-slider-nav .slick-prev, #top-ten-slider-nav .slick-next { left: 0; right: 0; margin: 0 auto; }
#top-ten-slider-nav .slick-prev { top: 0; bottom: auto; }
#top-ten-slider-nav .slick-next:before, #top-ten-slider-nav .slick-prev:before, #top-ten-slider .slick-next:before, #top-ten-slider .slick-prev:before { display: none; }
.slick-arrow { cursor: pointer; }
ul#top-ten-slider .slick-bg:before {z-index: 0;}
.slick-vertical li.slick-slide.slick-current.slick-active {
    transition: all 0.45s ease 0s;
}
.slick-vertical .slick-slide {
    margin-bottom: 18px;
}
.slick-vertical .slick-slide.slick-current.slick-active .block-images {
    width: 100%;
    overflow: visible;
    transform-origin: 100% 100%;
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
    z-index: 9;
}
.slick-vertical .slick-slide.slick-current.slick-active .block-description {
    left: 25px;
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
    opacity: 1;
}
.slick-vertical .slick-slide .block-images::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: all 0.45s ease 0s;
    -webkit-transition: all 0.45s ease 0s;
    -moz-transition: all 0.45s ease 0s;
    -o-transition: all 0.45s ease 0s;
    border-left: 6px solid var(--iq-primary);
    z-index: 9;
}
.block-description {
    position: absolute;
    left: 400px;
    top: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.bg-base{
    /*background-color: #293133;*/
    /*background-color: #323232;*/
    background-color: #0c101c;
    box-shadow: 0 0 2px 2px #0c101c;
}

.gallery-container{
    margin-top: 14rem;
}
.img-pp{
    width: 100%;
    height: 100%;
}

.img-pp::before{
    content: "";
    height: 80%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.2) 60%, #000000);
}

.img-pp::after{
    content: "";
    height: 80%;
    width: 100%;
    position: absolute;
    bottom: 0;
    left:0;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.2) 60%, #000000);
}

.primopiano-info-container{
    top: 24%;
}

.primopiano-info-content{
    padding-left: 6rem;
}

.primopiano-info-titolo{
    font-size: 2.5rem;
    line-height: 3rem;
}

.primopiano-info-label{
    font-size: 1.5rem;
}

.primopiano-info-categoria{
    font-size: 0.9rem;
}

.primopiano-info-sottotitolo{
    font-size: 1.2rem;
    line-height: 0.7rem;
}

.primopiano-button{
    font-size: 1.2rem;
}

.search-box{
    cursor: pointer;
    width: 70px;
    background-color: transparent;
    background-image: url('data:image/svg+xml,<svg stroke="white" stroke-linecap="round" stroke-linejoin="round" fill="none" viewBox="0 0 35 35" xmlns="http://www.w3.org/2000/svg" version="1.1"> <circle cx="15" cy="15" r="9" stroke-width="2"/><line stroke-width="3" x1="24" y1="24" x2="29" y2="29"/></svg>');
    background-repeat: no-repeat;
    background-position: right;
    background-size: 30px;
    outline: none;
    transition: all 0.5s ease-in-out;
}

.search-box:focus{
    transform: translateX(-60%);
    border-bottom: 2px solid #009fe3;
    width: 200px;
}

.search-icon{
    top: 50%;
    right: 3%;
    transform: translateY(-50%);
}

.tv-menu{
    transition:width 0.5s;
    visibility: hidden;
    opacity: 0%;
    width: 0;
}

.tv-menu ul{
    opacity: 0%;
    transition: opacity 0.3s;
}

.tv-menu-show{
    transition:width 0.4s;
    width: 4rem;
    opacity: 100%;
}

.tv-menu-show ul{
    opacity: 100%;
    transition: opacity 1s;
}

/***************************/
/* Gallery Netflix like ;-)*/
/* Misure per le tiles e gli effetti
    250px => 16rem
    icona centrale => 50px
    fattore di scala 1.5
    tempo di transizione 450ms
 */

.right-caret{
    /*background: rgba(0, 51, 153, 0.5);*/
    /*background: linear-gradient(to right, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0.5) 35%);*/
    opacity: 70%;
    right: 5rem;
    width: 3rem;
    z-index: 5;
    transition: 250ms;
}

.left-caret{
    /*background: linear-gradient(to left, rgba(0, 0, 0, 0.1) 2%, rgba(0, 0, 0, 0.5) 35%);*/
    opacity: 70%;
    left: 0;
    width: 3rem;
    z-index: 5;
    display: none;
    transition: 250ms;
}

/*.right-caret:hover{*/
/*    background: linear-gradient(to right, rgba(0, 0, 0, 0.3) 2%, rgba(0, 0, 0, 0.7) 35%);*/
/*}*/

/*.left-caret:hover{*/
/*    background: linear-gradient(to left, rgba(0, 0, 0, 0.3) 2%, rgba(0, 0, 0, 0.7) 35%);*/
/*}*/

.left-caret svg, .right-caret svg{
    transition: 250ms;
}

.right-caret:hover svg, .left-caret:hover svg{
    opacity: 100%;
    transition:250ms;
    stroke: #009FE3;
}

.right-caret button, .left-caret button{
    outline: none;
}

.timeline-row {
    transition: transform 400ms;
    font-size: 0;
    white-space: nowrap;
    /*margin: calc((25rem /16*9)/ 10) 0;*/
    /*padding-bottom: 10 px;*/
}

.timeline-row-9-16{
    transition: transform 400ms;
    font-size: 0;
    white-space: nowrap;
    /*margin: calc((15rem /9*16)/ 10) 0;*/
}



 .tile, .tile-9-16 {
     transition: 400ms all;
     transform-origin: center left;
 }

 .tile-media{
     width: 100%;
     height: 100%;
 }

.tile img, .tile-9-16 img {
    width: 100%;
    object-fit: cover;
}

.tile-detail {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    font-size: .625rem;
    /*opacity: 0;*/
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
    transition: opacity 400ms;
}

/*.tile:hover, .tile-9-16:hover {*/
/*    opacity: 1;*/
/*}*/

/*.tile:hover .tile-detail, .tile-9-16:hover .tile-detail{*/
/*    opacity: 1;*/
/*}*/

.tile-buttons{
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}
.tile-title {
    /*position: absolute;*/
    /*bottom: 0;*/
    /*padding: 10px;*/
    text-shadow: 1px 2px 4px #009FE3;
    /*white-space: normal;*/
}

/*
 Sposta la riga alla sinistra della foto selezionata verso sinistra
*/
/*.timeline-row:hover {*/
/*    transform: translate3d(calc(-25rem * (1.2 - 1) / 2), 0, 0);*/
/*}*/

/*.timeline-row-9-16:hover {*/
/*    transform: translate3d(calc(-13rem * (1.2 - 1) / 2), 0, 0);*/
/*}*/



/*.play-btn{*/
/*    cursor: pointer;*/
/*    outline: none;*/
/*}*/

.play-btn svg{
    transition: 350ms all;
}

/*.play-btn:hover svg:hover{*/
/*    fill: #009FE3;*/
/*    stroke: #009FE3;*/
/*}*/

.yt-container{
    /*padding-bottom: 53.25%;*/
    padding-bottom: 43.25%;
    height: 0;
    /*padding-top: 30px;*/
    overflow: hidden;
    /*width: 1280px;*/
    width: 70%;
}

.yt-container iframe{
    max-width: 1280px;
    max-height: 720px;
}

.yt-container iframe{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer-center-container{
    max-width: 925px;
}

.mt-28{
    margin-top: 7rem;
}

/*CALENDAR*/
.day-w{
    width: 14.2%;
}

/*NEWS SHAPE*/
.obliqual-shape{
    top: 100%;
    transform: skewY(-6deg);
    transform-origin: top left;
    background: linear-gradient(#cccccc, #dddddd 31%, #eeeeee 56%, #ffffff);
}

/*SHARE BUTTONS*/
.share-btn{
    position: absolute;
    bottom: 5px;
    right: 5px;
    z-index: 1;
}
.share-btn span{
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 13px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
}

.share-btn:hover span{
    background: #dddddd;
}

.share-btn a span{
    position: absolute;
    right: 5px;
    bottom: 0;
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 18px;
    background: #4fd1c5;
    z-index: -1;
    opacity: 0;
    pointer-events: none;
    transition: 0.6s;
}
.click:checked ~ .share-btn a span{
    height: 30px;
    width: 30px;
    line-height: 30px;
    font-size: 13px;
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
}

.click:checked ~ .share-btn a:nth-child(2) span{
    bottom: 0;
    right: 105px;
    color: #3b5998;
    /*background: #2b6cb0;*/
}

.click:checked ~ .share-btn a:nth-child(3) span{
    bottom: 0;
    right: 70px;
    color: #00acee;
    /*background: #319795;*/
}

.share-btn a:nth-child(3) span{
    transition-delay: 0.2s;
}

.click:checked ~ .share-btn a:nth-child(4) span{
    bottom: 0;
    right: 35px;
    color: #0e76a8;
    /*background: #e53e3e;*/
}

.share-btn a:nth-child(4) span{
    transition-delay: 0.4s;
}

.click{
    display: none;
}

/* RESPONSIVE */
/*@media screen and (min-width: 2180px) {*/
/*    .xxxxxl\:mt-40{*/
/*        margin-top: 10rem;*/
/*    }*/

/*    .xxxxxl\:mt-56{*/
/*        margin-top: 14rem;*/
/*    }*/
/*}*/
@media screen and (min-width: 1920px){

    .xxxxl\:mt-32{
        margin-top: 8rem;
    }

    .xxxxl\:mt-36{
        margin-top: 9rem;
    }

    .xxxxl\:mt-40{
        margin-top: 10rem;
    }

    .xxxxl\:-ml-56{
        margin-left: -14rem;
    }

    .xxxxl\:-ml-64{
        margin-left: -16rem;
    }

    .xxxxl\:text-xl{
        font-size: 1.25rem;
    }
    .xxxxl\:text-2xl{
        font-size: 1.5rem;
    }

}

@media screen and (min-width: 1440px) {
    .xxxl\:mt-24{
     margin-top: 6rem;
}
    .xxxl\:mt-28 {
        margin-top: 7rem;
    }

    .xxxl\:-ml-64 {
        margint-top: -16rem;
    }
    .xxxl\:text-xl{
        font-size: 1.25rem;
    }

    .xxxl\:text-2xl{
        font-size: 1.5rem;
    }

    .xxxl\:w-1\/3 {
          width: 33.333333%;
      }

    .xxxl\:w-2\/3 {
          width: 66.666667%;
      }

    .xxxl\:w-1\/4 {
          width: 25%;
      }

    .xxxl\:w-2\/4 {
          width: 50%;
      }

    .xxxl\:w-3\/4 {
          width: 75%;
      }

    .xxxl\:w-1\/5 {
          width: 20%;
      }

    .xxxl\:w-2\/5 {
          width: 40%;
      }

    .xxxl\:w-3\/5 {
          width: 60%;
      }

    .xxxl\:w-4\/5 {
          width: 80%;
      }

    .xxxl\:w-1\/6 {
          width: 16.666667%;
      }

    .xxxl\:w-2\/6 {
          width: 33.333333%;
      }

    .xxxl\:w-3\/6 {
          width: 50%;
      }

    .xxxl\:w-4\/6 {
          width: 66.666667%;
      }

    .xxxl\:w-5\/6 {
          width: 83.333333%;
      }

    .xxxl\:w-1\/12 {
          width: 8.333333%;
      }

    .xxxl\:w-2\/12 {
          width: 16.666667%;
      }

    .xxxl\:w-3\/12 {
          width: 25%;
      }

    .xxxl\:w-4\/12 {
          width: 33.333333%;
      }

    .xxxl\:w-5\/12 {
          width: 41.666667%;
      }

    .xxxl\:w-6\/12 {
          width: 50%;
      }

    .xxxl\:w-7\/12 {
          width: 58.333333%;
      }

    .xxxl\:w-8\/12 {
          width: 66.666667%;
      }

    .xxxl\:w-9\/12 {
          width: 75%;
      }

    .xxxl\:w-10\/12 {
          width: 83.333333%;
      }

    .xxxl\:w-11\/12 {
          width: 91.666667%;
      }

    .xxxl\:w-full {
          width: 100%;
      }

    .xxxl\:w-screen {
          width: 100vw;
      }

}

@media screen and (min-width: 1366px){

    .xxl\:text-xl{
        font-size: 1.25rem;
    }
    .xxl\:text-2xl{
        font-size: 1.5rem;
    }
    .xxl\:text-3xl{
        font-size: 1.875rem;
    }
    .xxl\:mt-20{
        margin-top: 5rem;
    }
    .xxl\:mt-24{
        margin-top: 6rem;
    }
    .xxl\:mt-32{
        margin-top: 8rem;
    }

    .xxl\:w-1\/2 {
        width: 50%;
    }

    .xxl\:w-1\/3 {
        width: 33.333333%;
    }

    .xxl\:w-2\/3 {
        width: 66.666667%;
    }

    .xxl\:w-1\/4 {
        width: 25%;
    }

    .xxl\:w-2\/4 {
        width: 50%;
    }

    .xxl\:w-3\/4 {
        width: 75%;
    }

    .xxl\:w-1\/5 {
        width: 20%;
    }

    .xxl\:w-2\/5 {
        width: 40%;
    }

    .xxl\:w-3\/5 {
        width: 60%;
    }

    .xxl\:w-4\/5 {
        width: 80%;
    }

    .xxl\:w-1\/6 {
        width: 16.666667%;
    }

    .xxl\:w-2\/6 {
        width: 33.333333%;
    }

    .xxl\:w-3\/6 {
        width: 50%;
    }

    .xxl\:w-4\/6 {
        width: 66.666667%;
    }

    .xxl\:w-5\/6 {
        width: 83.333333%;
    }

    .xxl\:w-1\/12 {
        width: 8.333333%;
    }

    .xxl\:w-2\/12 {
        width: 16.666667%;
    }

    .xxl\:w-3\/12 {
        width: 25%;
    }

    .xxl\:w-4\/12 {
        width: 33.333333%;
    }

    .xxl\:w-5\/12 {
        width: 41.666667%;
    }

    .xxl\:w-6\/12 {
        width: 50%;
    }

    .xxl\:w-7\/12 {
        width: 58.333333%;
    }

    .xxl\:w-8\/12 {
        width: 66.666667%;
    }

    .xxl\:w-9\/12 {
        width: 75%;
    }

    .xxl\:w-10\/12 {
        width: 83.333333%;
    }

    .xxl\:w-11\/12 {
        width: 91.666667%;
    }

    .xxl\:w-full {
        width: 100%;
    }

    .xxl\:w-screen {
        width: 100vw;
    }


}

@media screen and (min-width: 1024px){

    .gallery-container{
        margin-top: 14rem;
    }

}


@media screen and (min-width: 768px){

    .img-overlap::after{
        content: "";
        height: 100%;
        width: 70%;
        position: absolute;
        top:0;
        left:0;
        background-image: linear-gradient(to right, #000000, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0) 60%);
    }
    .gallery-container{
        margin-top: -3rem;
    }

    /* Ingrandisce la foto selezionata e la evidenzia*/
    .timeline-row:hover .tile:hover, .timeline-row-9-16:hover .tile-9-16:hover {
        transform: scale(1.2);
        opacity: 1;
    }

    /* Fade out sulla riga foto */
    .timeline-row:hover .tile, .timeline-row-9-16:hover .tile-9-16 {
        opacity: .3;
    }

    /*
     Sposta la riga alla destra della foto selezionata verso destra
    */
    .tile:hover ~ .tile {
        transform: translate3d(calc(25rem * (1.2 - 1)), 0, 0);
    }

    .tile-9-16:hover ~ .tile-9-16 {
        transform: translate3d(calc(13rem * (1.2 - 1)), 0, 0);
    }
}

@media only screen and (max-width: 1366px){
    yt-container{
        padding-top: 0;
        width: 50%;
    }

    .primopiano-info-titolo{
        font-size: 1.8rem;
        line-height: 2rem;
    }

    .primopiano-info-sottotitolo{
        font-size: 1rem;
    }
}

@media only screen and (max-width: 1280px){

    .ml\:pl-5{
        padding-left: 1.25rem;
    }

    .ml\:translate-x-5{
        --transform-translate-x: 1.25rem;
    }

    .primopiano-info-titolo{
        font-size: 1.8rem;
        line-height: 2.5rem;
    }

    .primopiano-button{
        font-size: 1rem;
    }

    .primopiano-info-categoria{
        font-size: 0.8rem;
    }

}

@media (max-width: 1024px) {

    .primopiano-info-label{
        font-size: 1.2rem;
    }

    .primopiano-info-titolo{
        font-size: 1.2rem;
        line-height: 1.5rem;
    }

    .primopiano-info-sottotitolo{
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .primopiano-info-categoria{
        font-size: 0.5srem;
    }

    .tile-icon-center{
        width: 30px;
        height: 30px;
    }

    .tile-detail::before{
        transform: translateX(-24%) translateY(-26%);
        background: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' fill='white' viewbox='0 0 100 100' width='25' hetght='25'><path d='M0 0 L0 12 L13 6 Z'></path></svg>") no-repeat;
    }

    .tile-detail::after{
        width: 40px;
        height: 40px;
        transform: translateY(-70%) translateX(-50%);
    }

    .right-caret{
        right: 2.5rem;
    }
}

@media (max-width: 768px) {

    .right-caret{
        right: 2.5rem;
    }
}
