﻿.wsCtSurvey
{
    position: relative;
    min-height: -webkit-calc(100% - 10px);
    min-height: -moz-calc(100% - 10px);
    min-height: calc(100% - 10px);
    min-width: -webkit-calc(100% - 10px);
    min-width: -moz-calc(100% - 10px);
    min-width: calc(100% - 10px);
    padding: 5px;
}

.wsCtSurvey textarea
{
    resize: none;
    height: 100px;
}

.wsCtSurvey .wsInputWrapper
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wsCtSurvey .wsResultTitle > h3,
.wsCtSurvey .wsQuestionSurvey > h3
{
    margin-bottom: 0;
}

.wsCtSurvey .wsInputWrapper input[type=text],
.wsCtSurvey .wsInputWrapper textarea,
.wsCtSurvey .wsInputWrapper select
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #b0bdcb;
    padding: 3px;
    width: 100%;
    max-width: 400px;
    border-radius: 3px;
    font-family: arial;
}

.wsCtSurvey .wsInputWrapper.wsColumns2
{
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    max-width: 400px;
}

.wsCtSurvey .wsInputWrapper.wsColumns3
{
    -moz-column-count: 3;
    -webkit-column-count: 3;
    column-count: 3;
    max-width: 600px;
}

.wsCtSurvey .wsInputWrapper.wsColumns2 > div,
.wsCtSurvey .wsInputWrapper.wsColumns3 > div
{
    overflow: hidden;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wsCtSurvey .wsField
{
    margin: 10px 0;
}

.wsCtSurvey .wsField > span
{
    display: inline-block;
}

.wsCtSurvey .wsField.wsHide
{
    display: none;
}

.wsCtSurvey .wsField > span [name=SurveyTitle],
.wsCtSurvey .wsField > span [name=ButtonTitle],
.wsCtSurvey .wsField > span [name=TitlePosition]
{
    display: inline-block !important;
}

.wsCtSurvey .wsField:not(.wsRequired) > span:after,
.wsCtSurvey .wsField:not(.wsRequired) > label:after,
.wsCtSurvey label:not(.wsRequired):after
{
    margin-left: 5px;
    position: relative;
    font-size: 0.8em;
    font-style: italic;
}

.wsCtSurvey .wsFieldOption > label:not(.wsRequired):after
{
    content: '';
}

.wsCtSurvey.wsTitleLeft .wsField > span
{
    width: 30%;
    max-width: 150px;
    text-align: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.wsCtSurvey.wsTitleLeft .wsField .wsInputWrapper
{
    display: inline-block;
    width: 70%;
    padding-left: 15px;
    position: relative;
}

.wsCtSurvey.wsTitleLeft .wsField .wsInputWrapperSingle
{
    text-align: center;
}

.wsCtSurvey .wsField .wsInputWrapperSingle
{
    text-align: left;
}

.wsCtSurvey .wsField .wsInputWrapperSingle > label
{
    margin-left: 5px;
}

.wsCtSurvey.wsTitleLeft .wsField .wsInputWrapper:before
{
    content: ":";
    position: absolute;
    left: 5px;
    vertical-align: top;
}

.wsCtSurvey.wsTitleLeft .wsField > span,
.wsCtSurvey.wsTitleLeft .wsField > .wsInputWrapper
{
    vertical-align: middle;
}

.wsCtSurvey.wsTitleLeft .wsField > .wsInputWrapper.wsNotAlignable
{
    vertical-align: top;
}


.wsCtSurvey.wsTitleTop .wsField > span
{
    display: block;
}

.wsCtSurvey.wsTitleIn .wsField > span.wsRemovable
{
    display: none;
}

.wsCtSurvey.wsTitleIn .wsField.wsRequired > span.wsRemovable + .wsInputWrapper
{
    position: relative;
    padding-right: 10px;
}

.wsCtSurvey.wsTitleIn .wsField.wsRequired > span.wsRemovable + .wsInputWrapper:after
{
    content: "*";
    color: #ef2626;
    position: absolute;
    top: -2px;
    margin-left: 3px;
}

.wsCtSurvey .wsTitleField
{
    margin: 30px 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
    font-size: 120%;
}

.wsCtSurvey .wsFieldOption
{
    font-size: 90%;
}

.wsCtSurvey .wsFieldOption > *
{
    vertical-align: middle;
}

.wsCtSurvey input, .wsCtSurvey textarea, .wsCtSurvey select
{
    font-family: inherit;
}

.wsCtSurvey input[type=checkbox],
.wsCtSurvey input[type=radio]
{
    margin: 0 12px 0 0;
}

.wsCtSurvey input[type="button"],
.wsCtSurvey input[type="image"]
{
    cursor: pointer;
}

.wsCtSurvey input[type="button"]
{
    background-color: #0bafc2;
    margin: 8px 12px 8px 0;
    padding: 8px 12px;
    border: none;
    border-radius: 3px;
    vertical-align: middle;
}

.wsCtSurvey input[type="button"]:hover
{
    background-color: #23c4d6;
}

.wsCtSurvey.wsDisabled input[type="button"][action="sendSurvey"]
{
    opacity: 0.5;
}

.wsCtSurvey.wsDisabled input[type="button"][action="sendSurvey"]:hover
{
    background-color: #0bafc2;
    opacity: 0.5;
}

.wsCtSurvey .wsResultTitle
{
    margin-bottom: 10px;
}

.wsCtSurvey .wsResultTotal
{
    margin-top: 15px;
}

.wsCtSurvey .chart
{
    margin-top: 10px;
}

.wsCtSurvey .chart .ProgressBar,
.wsCtSurvey .chart span
{
    vertical-align: middle;
}

.wsCtSurvey .chart .ProgressBar
{
    border-radius: 3px;
    overflow: hidden;
    height: 22px;
    background-color: #121922;
    margin: 2px 0 3px 0;
}

.wsCtSurvey .chart .ProgressBar .Bar
{
    height: 100%;
    background-color: #0bafc2;
}

.wsCtSurvey .wsResultTotalWrapper
{
    margin-top: 10px;
}

.wsCtSurvey .wsResultTotalWrapper,
.wsCtSurvey .wsResultPercentWrapper
{
    overflow: hidden;
}

.wsCtSurvey .wsBarTitle
{
    float: left;
}

.wsCtSurvey .wsResultPercent
{
    float: right;
}

.wsCtSurvey .wsClear
{
    clear: both;
}

.wsCtSurvey .wsChoiceOption
{
    margin: 20px 0;
}

.wsCtSurvey .wsVoted
{
    font-size: 0.8em;
}

.wsCtSurvey .wsSurveyConfirm
{
    position: absolute;
    width: 100%;
    background-color: black;
    height: 100%;
    display: flex;
    display: -webkit-flex;
    -webkit-align-items: center;
    align-items: center;
}

.wsCtSurvey .wsSurveyConfirm > div
{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    line-height: 40px;
    overflow-y: auto;
    padding: 10px;
    text-align: center;
    width: 100%;
    color: #fff;
    max-height: 100%;
}

.wsCtSurvey .wsConfirmShowResults
{
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 5px;
}
