/*
// *****************************************************************************************************
// *****************************************************************************************************
// *****************************************************************************************************
//
// 06.17.2022 - JMS
// 
// - This file is for the standard CMS plugin
//
// *****************************************************************************************************
// *****************************************************************************************************
// *****************************************************************************************************
*/

/* general */
.survey-text-left {
    text-align: left;
}

.survey-text-center {
    text-align: center;
}

.survey-text-right {
    text-align: right;
}

.survey-button {
    border-radius: 20px;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    min-width: 150px;
}

/* start */

/* additional info - question level */
.survey-subtitle-info-outer {
    float: right;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #575358;
    color: #fff;
    line-height: 20px;
    text-align: center;
    cursor: default;
    margin-left: 20px;
    position: relative;
}

.survey-subtitle-info-outer:hover .survey-subtitle-info-inner {
    display: block;
}

.survey-subtitle-info-outer:focus .survey-subtitle-info-inner {
    display: block;
}

.survey-subtitle-info-outer .survey-subtitle-info-inner {
    display: none;
    position: absolute;
    width: 300px;
    left: 150%;
    top: 0%;
    padding: 10px;
    background-color: #b3b3b3;
    color: #000;
    text-align: left;
    z-index: 15;
}

/* radio options as box/buttons display */
.survey-radio-box {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.survey-radio-box li {
    float: left;
    margin: 0 5px 0 0;
    width: 225px;
    height: 65px;
    position: relative;
}

.survey-radio-box label,
.survey-radio-box input {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.survey-radio-box input[type="radio"] {
    opacity: 0.011;
    z-index: 100;
}

/* 07.06.2022 - JMS - added default styles for multiple choice, display type "selection box"*/
.survey-radio-box label {
    padding: 5px;
    cursor: pointer;
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border: 1px solid #CCC;
    color: #000000;
}

.survey-radio-box label:hover 
{
    background: #DDD;
}

.survey-radio-box input[type="radio"]:checked + label 
{
    background: #b1b2b2;
}
/* 07.06.2022 - JMS - END */

/* ranged slider */
.survey-slider-container {
    width: 100%;
}

.survey-slider-min {
    text-align: left;
}

.survey-slider-max {
    text-align: right;
}

.survey-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    max-width: 100% !important;
}

.survey-slider:hover {
    opacity: 1;
}

.survey-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}

.survey-slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    cursor: pointer;
}


.range-value {
    position: absolute;
    top: -135%;
}

.range-value span {
    width: 30px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: white;
    color: black;
    font-size: 12px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
}

.range-value span:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid white;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    margin-top: -1px;
}

/* 05.18.2022 - JMS - added for new multi-choice display types */
.survey-question-checkbox-answer label,
.survey-question-radio-answer label {
    margin-left: 10px;
}

.survey-question-checkbox-answer input,
.survey-question-radio-answer input {
    vertical-align: middle;
}
/* 05.18.2022 - JMS - end */
/*start BI 08/30/2022 - AETDEV-1660 - [DEV] - Total Survey Admin - Unable to deselect multiple selection on FE. - added new class - survey-checkbox-multi for multiple answers*/
.survey-checkbox-multi {
    margin: 0px;
    padding: 0px;
}
.survey-checkbox-multi input {
    margin-right: 5px;
}
/*start BI 09/05/2022 - AETDEV-1713 - [DEV] Total Survey FE- Remove highlight on checkbox text label. - removed highlight on label */
/*.survey-checkbox-multi input[type="checkbox"]:checked + label {
    background: #b1b2b2;
}*/
/*end BI 09/05/2022 - AETDEV-1713 */
/*end BI 08/30/2022 - AETDEV-1660*/
