
/* ========================== PICTURE SHAPE ========================== */

* {
  box-sizing: inherit;
}

/* Rounded */

.swiper-picture-rounded {
    border-radius: 5px;
}

/* Round */

.swiper-picture-round, .round .swiper-question {
    border-radius: 200%;
}

.round .swiper-picture-titles {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 35px;
    left: 0;
}

.round .swiper-picture-info {
    width: 100%;
    position: absolute;
    top: 84px;
    right: 0;
}

.round .swiper-picture-footer {
    height: 100%;
}

.round div.like .like-icon, .round div.dislike .dislike-icon,
.round div.like span, .round div.dislike span {
    display: none;
}

.actions a.like {
  text-align: center !important;
}

.round .swiper-picture-footer {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 59%,rgba(0,0,0,0.65) 100%);
}

#swiperslide li.swiper-picture-round {
    box-shadow: none;
}

#swiperslide li.swiper-picture-round:first-child {
    box-shadow: 3px 3px 14px rgba(0,0,0,0.3);
}

/* Landscape */

#swiperslide li.swiper-picture-landscape, .swiper-question-landscape {
    padding: 0 20%;
    width: 60%;
}

#swiperslide li.swiper-picture-landscape {
   /* left: 20%;*/
}

#swiperslide .swiper-question.swiper-question-landscape {
    /*left: -30%;*/
    width: 60%;
}


/* Responsive pictures */
#swiperslide .swiper-question-text img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    max-height: 300px !important;
}

/* Vertical - fullsize */

#swiperslide li.swiper-picture-fullsize, .swiper-question-fullsize {
    padding: 10% 0;
}

#swiperslide.fullsize {
    padding: 0 0 140px 0;
}

/* ========================== BUTTONS COLORS ========================== */

/* White & Pink / White & Grey */

.actions-whiteandpink .dislike, .actions-whiteandgrey a {
    box-shadow: 2px 2px 7px rgba(0,0,0,0.1);
}

.actions-whiteandpink .dislike:hover, .actions-whiteandgrey.actions a:hover {
    box-shadow: 2px 2px 7px rgba(0,0,0,0.1), 0px 0px 200px rgba(0,0,0,0.05) inset;
}

.actions-blackandblue .dislike:hover {
    box-shadow: 0 0 200px rgba(255,255,255,0.3) inset;
}

/* Red and Green + White and Grey */

.swiperslider-redandgreen .like .picture-color,
.swiperslider-whiteandgrey .like .picture-color {
    background: linear-gradient(135deg, #6db33a 0%,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 100%);
}

.swiperslider-redandgreen .dislike .picture-color,
.swiperslider-whiteandgrey .dislike .picture-color {
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 68%, #b40000 100%);
}

/* Black and Blue */

.swiperslider-blackandblue .like .picture-color {
    background: linear-gradient(135deg, #4DC6C2 0%,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 100%);
}

.swiperslider-blackandblue .dislike .picture-color {
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 68%, #000000 100%);
}

/* White and Pink */

.swiperslider-whiteandpink .like .picture-color {
    background: linear-gradient(135deg, #e2005b 0%,rgba(255,255,255,0) 32%,rgba(255,255,255,0) 100%);
}

.swiperslider-whiteandpink .dislike .picture-color {
    background: linear-gradient(45deg, rgba(255,255,255,0) 0%,rgba(255,255,255,0) 68%, #000000 100%);
}

/* ========================== GLOBAL SWIPER ========================== */

.swiperset #question {
    text-align: center;
}

/* To add in the ftp */

.questionset.swiperset, .questionset.swiperset #questionnaire .champTexte {
    text-align: center;
}

.swiperset .quizz {
    padding: 0;
}

.swiperset .campaign_step {
    display: none;
}



/* ======================= QUESTION ABOVE SWIPER ===================== */

#swiperslide .swiper-question {
    background: rgba(255,255,255,0.95);
    position: absolute;
    z-index: 10;
    left: 0;
    top: 6px;
    max-width: 500px;
    height: 100%;
    width: 100%;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
}

.swiper-question-container {
    margin: auto;
}

/* ========================== PICTURE FORMAT ========================== */

.questionset.swiperset .custom {
    padding: 0px;
}

.questionset.swiperset .wrap {
    overflow: hidden;
    padding: 0 0 15px 0;
}

#swiperslide {
    position: relative;
    width: 100%;
    margin: auto;
    padding-bottom: 20px;
    max-width: 500px;
}

#swiperslide ul {
    padding: 0;
}

#swiperslide li {
    display: block;
    overflow: hidden;
    position: absolute;
    z-index: 2;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    text-align: center;
    font-size: 14px;
    color: #000000;
    transform: translate3d(0%,0,0) scale3d(1,1,1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    margin-left: -256px;
    left: 50%;
    cursor: -webkit-grab;
    border: 6px solid #ffffff;
    background-color: #ffffff;
}

/* Image text */
#swiperslide li h2 {
    color: #ffffff;
    font-size: 14px;
    text-align: center;
    position: absolute;
    top: 40%;
    left: 0;
    width: 100%;
    text-shadow: -1px -1px 0 rgba(0, 0, 0, .2);
}

/* Image rotation */
#swiperslide li.pane1 {
    transform: rotate(0deg);
}

#swiperslide li.pane2 {
    transform: rotate(2deg);
}

#swiperslide li.swiper-picture-round {
    transform: rotate(0deg);
}


/* ========================== ELEMENTS INSIDE PICTURE ========================== */

/* Global */

#swiperslide li .like, #swiperslide li .dislike {
    opacity: 0;
}

/* Icons */

#swiperslide li .like .like-icon, #swiperslide li .dislike .dislike-icon {
    position: absolute;
    z-index: 3;
    width: 50px;
    height: 50px;
    top: 20px;
    color: #ffffff;
    background: #ffffff;
}

.picture-color {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Like / Dislike Label */

#swiperslide .like span, #swiperslide .dislike span {
    color: #ffffff;
    font-weight: 600;
    font-size: 20px;
    position: absolute;
    z-index: 4;
    top: 32px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#swiperslide .like span {left: 76px;}

#swiperslide .dislike span {right: 76px;}


/* Title / Subtitle */

.swiper-picture-footer {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
    bottom: 0;
    position: absolute;
    width: 90%;
    color: #ffffff;
    padding: 50px 5% 5% 5%;
    font-size: 23px;
    left: 0;
}

.swiper_title {
    font-weight: bold;
}

.swiper_subtitle {
    font-size: 17px;
}


.swiper-picture-titles {
    width: 90%;
    display: inline-block;
    text-align: left;
}

.swiper-picture-info {
    display: inline-block;
    text-align: center;
    width: 8%;
}

.swiper_info {
    display: inline-block;
    width: 34px;
    height: 34px;
    border: 2px solid;
    position: relative;
    z-index: 10;
    font-size: 23px;
    text-align: center;
    border-radius: 100px;
    font-weight: 600;
    margin-bottom: 5px;
    transition: .3s;
    cursor: pointer;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    font-family: -apple-system, BlinkMacSystemFont,
    'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell',
    'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
}

.swiper_info:hover {
    color: #000;
    background: #ffffff;
    border-color: #ffffff;
}

.swiper-question-number {
    font-size: 13px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* jTinder status text */
#status {
    text-align: center;
    font-size: 12px;
    margin-top: 30px;

}

/* ========================== POPUP ========================== */

div.swiper-container-popup {
    position: relative;
    z-index: 12;
}

#swiperslide .swiper_description {
    position: absolute;
    top: -15px;
    left: 0;
    display: none;
    padding: 0 0 30px;
    z-index: 10;
    width: 100%;
}

.swiper-container-popup {
    display: -ms-flexbox;
    display: flex;
}

.swiper-popup {
    background-color: white;
    width: 100%;
    height: auto;
    margin: auto;
    padding: 15px;
    overflow: auto;
    max-width: 700px;
    box-shadow: 0 0 31px rgba(0,0,0,0.3);
    color: #3c3c3c;
    z-index: 100;
    animation: fadeIn ease 0.95s;
}

.swiper-popup .title {
    text-align: center;
    display: block;
    font-size: 24px;
    font-weight: 600;
}

.swiper-popup .subtitle {
    text-align: center;
    display: block;
    font-size: 19px;
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.swiper-popup .desc {
    padding: 5%;
}

/* Close */

.close-pattern {
    position: fixed;
    background: rgba(0,0,0,0.3);
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    animation: fadeIn ease 0.95s;
}

.swiper-close-popup {
    display: block !important;
    float: right;
    opacity: 0.5;
    transition: .3s;
    cursor: pointer;
    padding: 10px;
}

.swiper-close-popup:hover {
    opacity: 1;
}

/* Video */

.swiper-popup iframe {
    margin: auto;
    display: block;
    width: 100% !important;
    max-width: 500px;
}

/* ========================== BUTTONS ========================== */

.actions {
    display: block;
    text-align: center;
    max-width: 500px;
    margin: auto;
    padding: 5px 0;
    position: relative;
    z-index: 999;
}

.actions a {
    display: inline-block;
    position: relative;
    text-align: center;
    outline: none;
    padding: 10px;
    text-decoration: none;
    transition: .3s;
    margin: 0 5px 5px 5px;
}

.actions a:hover {
    box-shadow: inset 0px 0px 200px rgba(0,0,0,0.05);
}

.actions a.dislike i, .actions a.like i {
    background-size:contain!important;
    width: 45px;
    height: 45px;
    display: inline-block;
    vertical-align: middle;
}

.actions a i {
    background-position: center !important;
}

.actions a span {
    font-weight: 600;
    font-size: 15px !important;
    margin: 0 8px;
    vertical-align: middle;
}

/* Button Shapes */

.actions-square a {border-radius: 0px;} /* Button square */
.actions-rectangle {font-size: 0;}
.actions-rectangle a {width: 46%; padding: 10px 2%; margin: 0 0 5px;} /* Button middle middle */
.actions-rounded a {border-radius: 3px;} /* Button Round */
.actions-round a {border-radius: 150px;} /* Button Rounded */

/* ========================== MOBILE ========================== */


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

    #swiperslide li, #swiperslide li.swiper-picture-landscape {
        margin-left: 0;
        width: 95%;
        left: 2.5%;
    }

    #swiperslide .swiper-question {
        width: 87%;
        left: 2.5%;
        padding-left: 4%;
        padding-right: 4%;
        top: 0px;
    }

    #swiperslide li {
        border: none;
    }

    #swiperslide li.swiper-picture-landscape {
        width: 65%;
        padding: 0 15%;
    }

    #swiperslide .swiper-question.swiper-question-landscape {
        /*left: 0;*/
        width: 87%;
    }

    .questionset.swiperset .quizz {
        padding: 0px;
    }

    .swiperset #responsive_tools, .swiperset #bandeau_sup, .swiperset #footer {
        display: none !important;
    }

    #swiperslide.fullsize {
        padding: 0 0 100px 0;
    }

    div.swiper-popup {
        max-height: inherit !important;
    }

    .actions {
        z-index: 1;
    }

    .swiper-picture-titles {
        width: 80%;
    }

    .swiperset div#qualifioBox {
        width: 100%;
    }

    #swiperslide .swiper-question-text img {
        max-height: 200px !important;
    }

}
