/*************************
 * Style slider swipper
 * slider-typegrid (pdoResource: &sliderType)
 * Homepage
 * Called in Chunk: pdowrapper_swipper_mega (53)
 * http://dev.urbanspree.com/man/?a=element/chunk/update&id=53
 * 
 * cards: 480 x 650
 * image : 480 x 460
 * 
 */

 /* Slider header : contient titre et bouttons de navi. */
 .ct-slider-typegrid .slider-header{
    padding: 40px 0 20px 0;
 }
 /* titre du slider dans le header du slider */
 .ct-slider-typegrid h2.ct-slider-title{
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    padding: 0;
    margin-bottom:0;
}

.slider-typegrid .swiper-wrapper {
    /*height:1160px;*/
    height: calc(100% - 20px);
}

/* détrermine la hauteur des cards, pour déterminer cette valeur fait un test sur un cards avec 2 lignes de titre */
.slider-typegrid.swiper-container {
    width: 100%;
    height: 1275px;/*prevoir shadow box 500 + 2*10*/
 }



.slider-typegrid .swiper-slide {


    height: calc((100% - 30px) / 2);

    text-align: center;
    font-size: 14px;
    background: #fff;
    /* Center slide text vertically */

    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
/* shadow effects in web/assets/project/urbanspree/scss/custom-b5.scss */


.slider-typegrid .swiper-slide.car1d,
.slider-typegrid .swiper-slide .card-img-top{
    width:100%;
}



/* card width */
.slider-typegrid .swiper-slide.card{
    
    background-color: #FBFBFB;
    /*height:530px;*/
}


.slider-typegrid .swiper-slide.card .card-body{
    padding:14px;
    overflow: hidden;
}

/*
.slider-typegrid .swiper-slide img {
    display: block;
    width: 460px;
    height: 460px;
    object-fit: cover;
}
*/
.slider-typegrid .swiper-slide .card-img-top{
    /*
    width: 412px;
    */
    height: 412px;
    
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}







/*
.slider-typegrid .col-img{
    width:740px;
}
*/


/* .slider-typegrid (haut de page) */
.slider-typegrid .title{
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    line-height: 25px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: left;
}
/* top left : catégory, e.g. concert */
.slider-typegrid .cat{
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    text-transform: uppercase;
    font-size:14px;
    text-align: left;
    
}

/*
Product artwork cards
(data-restpl="27")
*/
.slider-typegrid .swiper-slide[data-restpl="27"] .artist{
    font-size:14px;
}
.slider-typegrid .swiper-slide[data-restpl="27"] .card-img-top{
    background-size: contain;
    border:transparent 25px solid;
    background-color: #fff;
}



/* bottom */
.list-group-b .list-group-item{
    border: 2px solid #000;
    padding: 0.16rem 0.4rem;
}
.list-group-b.list-group-horizontal > .list-group-item + .list-group-item {
    border-top-width: 2px;
    border-left-width: 0;
}

/* bottom left :date, heure, price */
.slider-typegrid .bl,
.slider-typegrid .br{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size:14px;
}



/* price (bottom right) */


/* fonctionne si 1 el */
/*
.list-group-br.list-group-horizontal > .list-group-item:first-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}
*/
.list-group-b.list-group-horizontal > .list-group-item:first-child:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

/*
.slider-typegrid .br{
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size:16px;
}
*/

/* cerd footer */
.slider-typegrid .card-footer{
    border-top: none;
    background-color: transparent;
    padding:0 14px 14px 14px;
}


/* sliders controls (top) */
/* hide default swipper arrow fonts */
.slider-typegrid .swiper-button-next:after, .swiper-button-prev:after{
    display:none;
}
.slider-typegrid .swiper-button-prev,
.slider-typegrid .swiper-button-next{
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0px 0px 10px #b3b3b31a;
    border-radius: 40px;
}



/* b5 grid option, need to control height */
.card-as-b5grid .slider-typegrid .swiper-slide.card{           
    height: calc(100vw + 180px);
}
.card-as-b5grid .slider-typegrid .swiper-slide.card,
.card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
    width:100% !important;
}
.card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
    height: 100vw !important;

    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-color: #fff;
    border: 15px #fff solid;
}


/* X-Small devices (portrait phones, less than 576px) 
No media query for `xs` since this is the default in Bootstrap
Should /assets/project/urbanspree/js/slider-typegrid.js
responsive utility
*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

    /* bottom left :date, heure, price */
    .slider-typegrid .bl,
    .slider-typegrid .br{
        font-size:14px;
    }
    
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 

    /* bottom left :date, heure, price */
    .slider-typegrid .bl,
    .slider-typegrid .br{
        font-size:12px;
    }


    .slider-typegrid.swiper-container {
        height: 1040px;/*prevoir shadow box 500 + 2*10*/
     }

    /* b5 grid option, need to control height */
    .card-as-b5grid .slider-typegrid .swiper-slide.card{           
        height: calc(50vw + 130px);
    }
    .card-as-b5grid .slider-typegrid .swiper-slide.card,
    .card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
        width:100% !important;
    }
    .card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
        height: 47vw !important;
    }


    .slider-typegrid .swiper-slide.card,
    .slider-typegrid .swiper-slide .card-img-top{
        width:333px !important;
    }
    .slider-typegrid .swiper-slide .card-img-top{
        height: 333px !important;
    }

 }

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .slider-typegrid.swiper-container {
        height: 1080px;/*prevoir shadow box 500 + 2*10*/
     }
    
    /* stick slider film strip to right */
    .slider-typegrid.swiper-container.rightstick,.slider-type02.swiper-container.rightstick {
        width: calc(((100% - 1140px) / 2) + 1140px);
        margin-right: 0 !important;
        padding-left: 10px !important;
    }

    /* hauteur card b5 grid option, need to control height */
    .card-as-b5grid .slider-typegrid .swiper-slide.card{           
        height: 470px;
    }
    .card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
        height: 340px !important;
    }

    .slider-typegrid .swiper-slide.card,
    .slider-typegrid .swiper-slide .card-img-top{
        width:340px !important;
        
    }
    .slider-typegrid .swiper-slide .card-img-top{
        height: 340px !important;
    }

    /* bottom left :date, heure, price */
    .slider-typegrid .bl,
    .slider-typegrid .br{
        font-size:12px;
    }

    .slider-typegrid .title{
        font-size: 16px;
        line-height: 20px;
    }
    
}

/*  X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {

    .slider-typegrid.swiper-container {
        height: 1080px;/*prevoir shadow box 500 + 2*10*/
     }
    
    /* stick slider film strip to right */
    .slider-typegrid.swiper-container.rightstick,.slider-type02.swiper-container.rightstick {
        width: calc(((100% - 1140px) / 2) + 1140px);
        margin-right: 0 !important;
        padding-left: 10px !important;
    }

    /* hauteur card b5 grid option, need to control height */
    .card-as-b5grid .slider-typegrid .swiper-slide.card{           
        height: 450px;
    }
    .card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
        height: 320px !important;
    }

    .slider-typegrid .swiper-slide.card,
    .slider-typegrid .swiper-slide .card-img-top{
        width:320px !important;
        
    }
    .slider-typegrid .swiper-slide .card-img-top{
        height: 320px !important;
    }

    /* bottom left :date, heure, price */
    .slider-typegrid .bl,
    .slider-typegrid .br{
        font-size:12px;
    }

    .slider-typegrid .title{
        font-size: 16px;
        line-height: 20px;
    }
    

}

/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {

    .slider-typegrid.swiper-container {
        height: 1080px;/*prevoir shadow box 500 + 2*10*/
     }
    
    /* stick slider film strip to right */
    .slider-typegrid.swiper-container.rightstick,.slider-type02.swiper-container.rightstick {
        width: calc(((100% - 1140px) / 2) + 1140px);
        margin-right: 0 !important;
        padding-left: 10px !important;
    }

    /* hauteur card b5 grid option, need to control height */
    .card-as-b5grid .slider-typegrid .swiper-slide.card{           
        height: 470px;
    }
    .card-as-b5grid .slider-typegrid .swiper-slide .card-img-top{
        height: 340px !important;
    }

    .slider-typegrid .swiper-slide.card,
    .slider-typegrid .swiper-slide .card-img-top{
        width:340px !important;
        
    }
    .slider-typegrid .swiper-slide .card-img-top{
        height: 340px !important;
    }

    /* bottom left :date, heure, price */
    .slider-typegrid .bl,
    .slider-typegrid .br{
        font-size:13px;
    }

    .slider-typegrid .title{
        font-size: 18px;
        line-height: 22px;
    }
    

}



/*******************************
 * Template: none
 * For blog list
 * http://dev.urbanspree.com/man/?a=resource/update&id=19815
 * 
 */
#tpl-blog-list .card-as-b5grid .slider-typegrid .swiper-slide.card.card-blog {
    width: 100% !important;
    height: 100vw;
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) { 
    #tpl-blog-list .card-as-b5grid .slider-typegrid .swiper-slide.card.card-blog {
        /*height: 425px;*/
        width: 100% !important;
        height: 50vw;
    
    }
}
/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    #tpl-blog-list .card-as-b5grid .slider-typegrid .swiper-slide.card.card-blog {
        height: 456px;
    }
}
/*  X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
    #tpl-blog-list .card-as-b5grid .slider-typegrid .swiper-slide.card.card-blog {
        height: 356px;
    }
}
/*XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {

    #tpl-blog-list .card-as-b5grid .slider-typegrid .swiper-slide.card.card-blog {
        height: 416px;
    }
}