/*
 * NOTICE OF LICENSE
 *
 * This file is licenced under the Software License Agreement.
 * With the purchase or the installation of the software in your application
 * you accept the licence agreement.
 *
 * You must not modify, adapt or create derivative works of this source code
 *
 *  @author    Frederic Moreau
 *  @copyright 2019 - 2021 BeComWeb
 *  @license   LICENSE.txt
 */

/** CLASSIC DISPLAY **/

/* Header */
#survey_header{
    margin-bottom:30px;
}
#survey_header h1{
    text-transform:uppercase;
    color:#555;
    font-weight:bold;
    font-size:20px;
    line-height:1.3em;
    margin: 0.5em 0 1em;
    padding: 0 0 0.75em;
    border-bottom: 1px solid #eee;
}
#survey_description{
    margin-bottom:30px;
    padding: 15px;
    background: #fbfbfb;
    border: 1px solid #eee;
    font-size:14px;
    line-height:1.3em;
    color:#555;
}
#survey_description p{
    margin-bottom:0.5em;
}
#survey_description li{
    margin-bottom:0.25em;
}
#survey_description p,
#survey_description li{
    font-size:inherit;
    line-height:inherit;
    color:inherit;
}
#survey_description > p:last-child,
#survey_description li:last-child{
    margin-bottom:0;
}
#survey_description ul,
#survey_description ol{
    list-style: initial;
    list-style-position: inside;
}

/** SLIDER DISPLAY **/
#survey_slider{
    margin:30px auto 15px auto;
    padding: 15px 20px;
}
#survey_slider.survey_slider_16{
    box-shadow: 0 1px 3px 0 rgba(100, 100, 100, 0.25);
}
#survey_slider .slick-track{
    display:flex;
}
#survey_slider #survey_intro_slide{
    align-self: center;
}
@media screen and (min-width:992px){
    #survey_slider{
        width: 90%;
    }
}@media screen and (min-width:768px){
    #survey_slider{
        padding: 30px 40px;
    }
}
#survey_slider #survey_intro_slide{
    text-align: center;
}
#survey_slider #survey_title{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.25em;
    text-transform: uppercase;
}
#survey_slider #survey_slider_start_button{
    display:inline-block;
    color: #fbfbfb;
    background-color: #555;
    border-color: #555;
    padding: 12px 20px;
    line-height: 1em;
    font-size: 16px;
    font-weight:bold;
    transition:0.2s all;
}
#survey_slider #survey_slider_start_button:hover{
    color: #555;
    background-color: #eee;
    border-color: #555;
}
#survey_slider #survey_recommendation_products{
    margin-left:-10px;
    margin-right:-10px;
}
#survey_slider #survey_recommendation_products .survey_recommendation_product_item{
    padding-left:10px;
    padding-left:10px;
}
#survey_slider #survey_recommendation_products .srp_item_std .survey_recommendation_product_item_name{
    font-size:15px;
}
#survey_slider i.material-icons{
    position: relative;
    top:-2px;
}

/* Questions */
.survey_slide:focus, .survey_step:focus, .survey_step *:focus{
    outline:none;
}
.survey_step:not(:first-child){
    margin-top:30px;
}
.survey_step .survey_step_title{
    color: #555;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.2em;
    margin: 0 0 1em;
    padding: 0 0 0.5em;
    position:relative;
}
.survey_step .survey_step_title:after{
    content:"";
    display:block;
    width:2em;
    height:2px;
    background-color: #eee;
    position:absolute;
    bottom:0;
    left:0;
}
.survey_step .survey_question_answers label{
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2em;
    color:#555;
    margin:0;
}
    /* Radio buttons */
.survey_step .survey_question_answers .survey_step_radio{
    padding: 15px;
    background: #fbfbfb;
    border: 1px solid #eee;
    width: 100%;
    display: block;
    position: static;
    height: auto;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.survey_step .survey_question_answers .survey_step_radio:not(:last-child){
    margin: 0 0 5px;
}
.survey_step .survey_question_answers .survey_step_radio .radio{
    min-height: unset;
    height:auto;
    margin-right:8px;
}
.survey_step .survey_question_answers .survey_step_radio > input[type="radio"] { /* only if theme doesnt use JQuery Uniform */
    margin: 0 8px 0 0;
}
.survey_step .survey_question_answers .survey_step_radio .radio span{
    position: static;
    border-radius: 50%;
    border: 1px solid #888;
}
.survey_step .survey_question_answers .survey_step_radio .radio.hover span,
.survey_step .survey_question_answers .survey_step_radio .radio.focus span,
.survey_step .survey_question_answers .survey_step_radio .radio span.checked{
    background-color: #888 !important;
    background-image:none;
    box-shadow: inset 0 0 0 2px #fff;
}
.survey_step .survey_question_answers .survey_step_radio label:hover{
    cursor:pointer;
}
    /* Dropdown */
.survey_step .survey_question_answers .survey_answer_dropdown{
    width:100%;
    padding:15px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.2em;
    color:#555;
    margin:0;
    background:#fbfbfb;
    border:1px solid #eee;
}
.survey_step .survey_question_answers .survey_answer_dropdown:focus{
    box-shadow: 0 1px 3px 0 rgba(100, 100, 100, 0.25);
    outline:none;
}
/* Slider "previous" button */ 
.survey_slider_previous, .survey_slider_restart{
    margin:2em 0 0;
}
.survey_slider_previous button{
    display:inline-block;
    color: #fbfbfb;
    background-color: #555;
    border-color: #555;
    padding: 8px 16px;
    line-height: 1em;
    font-size: 14px;
    transition:0.2s all;
}
.survey_slider_previous button i{
    font-size:12px;
}
.survey_slider i.material-icons{
    position: relative;
    top:-2px;
}
.survey_slider_previous button:hover{
    color: #555;
    background-color: #eee;
    border-color: #555;
}
/* Slider "restart" button */
.survey_slider_restart button{
    display:inline-block;
    color: #555;
    background-color: #fbfbfb;
    border-color: #555;
    padding: 10px 20px;
    line-height: 1em;
    font-size: 16px;
    transition:0.2s all;
}
.survey_slider_restart{
    text-align: center;
}
.survey_slider_restart i{
    font-size:13px;
}
.survey_slider_restart button:hover{
    color: #555;
    background-color: #eee;
    border-color: #555;
}
/* Recommendations */
#survey_body #survey_recommendation{
    margin-top: 30px;
    padding: 15px;
    border: 1px solid #eee;
    box-shadow: 0 1px 3px 0 rgba(100, 100, 100, 0.25);
}
#survey_recommendation_title{
    margin: 0 0 1.25em;
    font-size: 20px;
    padding: 0 0 0.75em;
    font-weight: bold;
    line-height: 1.2em;
    border-bottom: 2px solid #eee;
}
#survey_recommendation_products{
    margin-top:0;
    margin-bottom:0;
    padding:0;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
#survey_recommendation_products .survey_recommendation_product_item{
    margin-top:30px;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_content{
    height:100%;
    border:1px solid #eee;
    background-color: #fbfbfb;
    text-align:center;
    display: flex;
    flex-direction: column;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_img{
    background-color:#fff;
    border-bottom: 4px solid #eee;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_img img{
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_infos{
    padding:10px 5px;
    color:#555;
    flex: 1;
    display: flex;
    flex-direction: column;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_title{
    flex-grow:1;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_name{
    font-size:16px;
    font-weight:bold;
    line-height:1.25em;
    margin:0 0 0.5em;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_attributes{
    font-size:14px;
    font-weight:normal;
    line-height:1.2em;
    margin:0 0 0.5em;
    color:#888;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_desc{
    font-size:14px;
    font-weight:normal;
    line-height:1.2em;
    margin:0 0 0.5em;
    color:#555;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_price{
    font-size:16px;
    font-weight:bold;
    line-height:1.25em;
    margin:0 0 0.5em;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_tax_label{
    font-size: 80%;
    color: #888;
    font-weight: normal;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_link a{
    color: #fbfbfb;
    background-color: #555;
    border-color: #555;
    padding: 8px 20px;
    line-height: 1em;
    font-size: 14px;
}
#survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_link a:hover{
    color: #555;
    background-color: #eee;
    border-color: #555;
}

    /* Alerts */
#survey_recommendation .pas_alert{
    margin-bottom:0;
    text-shadow: none;
    font-size:100%;
    font-weight: normal;
    line-height:1.25em;
}
#survey_recommendation .pas_alert:before{
    display:none;
}
#survey_recommendation .pas_alert :last-child{
    margin-bottom:0;
}
#survey_recommendation .pas_alert a{
    color:inherit;
}
#survey_recommendation .pas_alert img{
    display:block;
    max-width: 100%;
    height:auto;
}
#survey_recommendation .pas_alert p{
    margin:0 0 0.5em;
}
#survey_recommendation .pas_alert li{
    margin:0 0 0.25em;
}
#survey_recommendation .pas_alert h1{
    font-size:180%;
    font-weight:bold;
    margin:0 0 0.5em;
    padding:0;
}
#survey_recommendation .pas_alert h2{
    font-size:160%;
    margin:0 0 0.5em;
    padding:0;
}
#survey_recommendation .pas_alert h3{
    font-size:140%;
    margin:0 0 0.5em;
    padding:0;
}
#survey_recommendation .pas_alert h4{
    font-size:120%;
    margin:0 0 0.5em;
    padding:0;
}

/* Specific layouts */
@media screen and (min-width:992px){
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full{
        width:70%;
        margin-left:auto;
        margin-right:auto;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half .survey_recommendation_product_item_name{
        font-size:15px;
        line-height:1.1em;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half .survey_recommendation_product_item_desc{
        font-size:13px;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half .survey_recommendation_product_item_price{
        font-size:15px;
        line-height:1em;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half .survey_recommendation_product_item_link a{
        padding:5px 20px;
    }
}
@media screen and (min-width:600px){
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full .survey_recommendation_product_item_content,
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half  .survey_recommendation_product_item_content{
        flex-direction:row;
        text-align: left;
        border-top: 4px solid #eee;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full .survey_recommendation_product_item_img,
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half  .survey_recommendation_product_item_img{
        flex:0 0 40%;
        border-bottom:0;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full .survey_recommendation_product_item_infos,
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half  .survey_recommendation_product_item_infos{
        align-items: flex-start;
        justify-content: center;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full .survey_recommendation_product_item_infos{
        padding:15px;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half .survey_recommendation_product_item_infos{
        padding:10px;
    }
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_full .survey_recommendation_product_item_title,
    #survey_recommendation_products .survey_recommendation_product_item.srp_item_half  .survey_recommendation_product_item_title{
        flex-grow:0;
    }
}

@media screen and (max-width:399px){
    #survey_recommendation_products .survey_recommendation_product_item{
        width:100%;
    }
    #survey_recommendation_products .survey_recommendation_product_item .survey_recommendation_product_item_img img{
        margin-left:auto;
        margin-right:auto;
    }
}