/*-------------------- Общие стили --------------------*/
body {
    width: 100%;
    background: #889aa4;
}

label {
    cursor: pointer;
}

.survey-ended__msg {
    max-width: 990px;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 10px 10px;
}

.lt-ie9 .debug-buttons__panel {
    background: url(../img/transparent.png) repeat 0 0;
}

.debug-buttons__panel {
    width: 100%;
    margin: 25px 0 0 -20px;
    padding: 1px 20px;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.debug-buttons__panel__inner {
    padding: 20px 0;
    margin: 20px 0;
    border: 1px solid tomato;
    border-radius: 5px;
    background: #FFF8F2;
}

.debug-button {
    border-color: #bababa !important;
    -webkit-transition: background-color linear 0.01s;
    -moz-transition: background-color linear 0.01s;
    -ms-transition: background-color linear 0.01s;
    -o-transition: background-color linear 0.01s;
    transition: background-color linear 0.01s;
}

/*-------------------- Типографика --------------------*/
h1,
.h1 {
    font: normal 24px/30px Arial, "Helvetica Neue", Helvetica, sans-serif;
    color: #333333;
    margin: 0;
    text-align: left;
    line-height: 24px;
}

.h1-label {
    font-size: 11.844px;
    font-weight: bold;
    line-height: 14px;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    vertical-align: baseline;
    background-color: #999;
    padding: 1px 4px 2px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

/*---------------- Импортируем стили ------------------*/
/* matrix body background */
/* matrix header background */
/* matrix border color */
/* matrix active cell background */
/* matrix hover cell background */
/* matrix cross body cells background */
/* matrix cross header cells background */
/* border radius */
/* header column min width */
/* body column min width */
/* base font color */
/* outer cell padding, generally it is margin */
/* inner cell padding, generally it is padding */
.preloader-wrap {
    min-width: 100%;
    display: inline-block;
    opacity: 0
}

.matrix-wrapper {
    display: inline-block;
    border: 1px solid #e5e5e5;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    margin: 16px 0;
    position: relative;
}

.matrix {
    position: relative;
}


.scale-additional-answer__label {
    display: inline-block;
    position: relative;
    min-height: 20px;
    font-size: 14px;
    color: #202223;
    line-height: 20px;
    text-align: left;
    padding: 10px 30px;
    border-radius: 3px;
    margin: 5px 3px 0 3px;
    text-overflow: ellipsis;
    vertical-align: middle;
    background: #f1f1f1;
    border: none;
    font-weight: normal;
}
.star-other_active {
  background: #b2e8f6;
}

.matrix td {
    -webkit-transition: background-color linear 0.15s;
    -moz-transition: background-color linear 0.15s;
    -ms-transition: background-color linear 0.15s;
    -o-transition: background-color linear 0.15s;
    transition: background-color linear 0.15s;
}

.js__ms__cell-inner-wrapper,
.btn-default {
    -webkit-transition: background-color linear 0.1s;
    -moz-transition: background-color linear 0.1s;
    -ms-transition: background-color linear 0.1s;
    -o-transition: background-color linear 0.1s;
    transition: background-color linear 0.1s;
}

.matrix tr:first-of-type td {
    border-top: none;
}

.matrix tr:last-of-type td {
    border-bottom: none;
}

.matrix tr td:first-of-type {
    border-left: none;
}

.matrix tr td:last-of-type {
    border-right: none;
}

.matrix tbody:last-of-type {
    border-bottom: none !important;
}

.matrix td {
    border: 1px solid #e5e5e5;
}

/*================= !!! Временно !!! =================*/
.ms__h__answer,
.ms-b__answer,
.ms__h__answer-title {
    display: table-cell;
    vertical-align: middle;
    position: relative;
}

/*-------------------- Шапка матрицы --------------------*/
.ms__header,
.ms__footer {
    background-color: #f7f7f7;
}

.ms__header {
    z-index: 100;
}

.ms__side-header {
    min-width: 200px;
    background-color: #f7f7f7;
}

.ms__side-header img {
    max-width: 100%;
    height: auto
}

.ms__left-header {
    text-align: left;
}

.ms__right-header {
    text-align: left;
}

.ms__h__q-title {
    text-align: center;
    padding: 8px;
}

.ms__h_first-text-label {
    float: left;
    text-align: left;
    overflow-x: hidden;
}

.ms__h_middle-text-label {
    float: left;
    text-align: center;
    overflow-x: hidden;
}

.ms__h_last-text-label {
    float: right;
    text-align: right;
    overflow-x: hidden;
}

.ms__h_num-label {
    position: absolute;
    text-align: center;
    overflow-y: hidden;
    width: 100%;
    z-index: 10 !important;
}

.ie9 .ms__h_first-text-label,
.ie9 .ms__h_middle-text-label,
.ie9 .ms__h_last-text-label {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
}

.ms__h__answer {
    text-align: center;
}

.ms__h__answer img {
    max-width: 100%;
    height: auto
}

.child-aligned-left .ms__h__answer {
    text-align: left !important;
}

.child-aligned-right .ms__h__answer {
    text-align: right !important;
}

.ms__h__answer-title {
    font-weight: bold;
    text-align: left;
    padding: 8px;
}

.ms__side-header .js__ms__cell-inner-wrapper,
.ms__header .js__ms__cell-inner-wrapper,
.ms__footer .js__ms__cell-inner-wrapper {
    margin: 8px;
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.ms__side-header .cross_hl,
.ms__header .cross_hl,
.ms__footer .cross_hl {
    background-color: #eeeeee;
}

.ms__top-header-aligned-left .ms__header td,
.ms__top-header-aligned-left .ms__footer td {
    text-align: left !important;
}

.ms__top-header-aligned-center .ms__header td,
.ms__top-header-aligned-center .ms__footer td {
    text-align: center !important;
}

.ms__top-header-aligned-right .ms__header td,
.ms__top-header-aligned-right .ms__footer td {
    text-align: right !important;
}

.ms__top-header-aligned-top .ms__header td,
.ms__top-header-aligned-top .ms__header .ms__h_sub-labels__inner-wrapper,
.ms__top-header-aligned-top .ms__footer td {
    vertical-align: top !important;
}

.ms__top-header-aligned-middle .ms__header td,
.ms__top-header-aligned-middle .ms__header td .ms__h_sub-labels__inner-wrapper,
.ms__top-header-aligned-middle .ms__footer td {
    vertical-align: middle !important;
}

.ms__top-header-aligned-bottom .ms__header td,
.ms__top-header-aligned-bottom .ms__header td .ms__h_sub-labels__inner-wrapper,
.ms__top-header-aligned-bottom .ms__footer td {
    vertical-align: bottom !important;
}

.ms__top-header-aligned-top .ms__header td,
.ms__top-header-aligned-top .ms__footer td,
.ms__top-header-aligned-bottom .ms__header td,
.ms__top-header-aligned-bottom .ms__footer td {
    line-height: 14px;
}

.ms__left-header-aligned-left .ms__left-header {
    text-align: left !important;
}

.ms__left-header-aligned-center .ms__left-header {
    text-align: center !important;
}

.ms__left-header-aligned-right .ms__left-header {
    text-align: right !important;
}

.ms__left-header-aligned-top .ms__left-header {
    vertical-align: top !important;
}

.ms__left-header-aligned-middle .ms__left-header {
    vertical-align: middle !important;
}

.ms__left-header-aligned-bottom .ms__left-header {
    vertical-align: bottom !important;
}

.ms__right-header-aligned-left .ms__right-header {
    text-align: left !important;
}

.ms__right-header-aligned-center .ms__right-header {
    text-align: center !important;
}

.ms__right-header-aligned-right .ms__right-header {
    text-align: right !important;
}

.ms__right-header-aligned-top .ms__right-header {
    vertical-align: top !important;
}

.ms__right-header-aligned-middle .ms__right-header {
    vertical-align: middle !important;
}

.ms__right-header-aligned-bottom .ms__right-header {
    vertical-align: bottom !important;
}

.ms__left-header-aligned-top .ms__left-header .js__ms__cell-inner-wrapper,
.ms__right-header-aligned-top .ms__right-header .js__ms__cell-inner-wrapper,
.ms__left-header-aligned-bottom .ms__left-header .js__ms__cell-inner-wrapper,
.ms__right-header-aligned-bottom .ms__right-header .js__ms__cell-inner-wrapper {
    line-height: 14px;
}

/*-------------------- Тело матрицы --------------------*/
input[type="radio"] {
    cursor: pointer;
}

.ms__body {
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}

.ms__sub-title {
    background-color: #f7f7f7;
    text-align: left;
    padding: 10px;
    font-weight: bold;
}

.ms-b__answer {
    text-align: center;
    cursor: pointer;
    border-left: none !important;
    border-right: none !important;
}

.ms-b__answer:hover .ms-b__input-wrapper {
    background-color: #cae4f1;
}

.ms-b__input-wrapper {
    text-align: center;
    margin: 8px;
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.ms-b__input-wrapper.cross_hl {
    background-color: #effafe;
}

.ms-b__input-wrapper_checked {
    background-color: #b2e7f5 !important;
}

.ms-b__input-wrapper__text-input {
    display: none;
    width: 100%;
    height: 30px;
    color: #333333;
    padding: 0 7px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.ms-b__input-wrapper_checked .ms-b__input-wrapper__text-input {
    display: inline
}

.ms-b__input-wrapper__text-input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
}

.btn-default {
    background: #f5f5f5 none;
    border: 1px solid #E8E7E7;
    border-bottom: 1px solid #c0c0c0;
}

.btn-default:focus,
.btn-default.focus,
.btn-default:active,
.btn-default.active {
    outline: none;
}

.btn-input {
    width: 100%;
    padding: 4px;
}

.ms-b__input-wrapper_checked .btn-input {
    background-color: #e0e0e0 !important;
    border-color: #adadad !important;
    outline: none;
}

.btn-input:active,
.btn-input.active {
    border: 1px solid #adadad;
    border-bottom: 1px solid #adadad;
}

.btn-input-radio,
.btn-input-checker {
    background-image: url(../img/radio_icon_up.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
    height: 32px;
}

.btn-input-radio:hover,
.btn-input-checker:hover,
.ms-b__input-wrapper_checked .btn-input-radio,
.ms-b__input-wrapper_checked .btn-input-checker {
    background-image: url(../img/radio_icon_down.png);
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.btn-add-row,
.btn-add-col {
    padding: 6px 9px 5px 9px;
    border: 1px solid #adadad;
    margin-right: 8px;
}

.btn-add-row .glyphicon,
.btn-add-col .glyphicon {
    left: 1px;
    color: #808080;
}

.ms__additional-row {
    display: none;
}

.ms__additional-row__inner-wrapper {
    position: relative;
    z-index: auto;
    margin: 8px 2px !important;
}

.ms__additional-row__text-input,
.ms__additional-col__text-input {
    display: inline-block;
    width: 95%;
    height: 30px;
    color: #333333;
    padding: 0 7px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.ms__additional-row__text-input:focus,
.ms__additional-col__text-input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
}

.ms__additional-row__close-icon,
.ms__additional-col__close-icon {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    z-index: 1;
    color: #8b8b8b;
    cursor: pointer;
}

.ms-b__input-wrapper__textarea {
    display: none;
    width: 220px;
    min-height: 61px;
    height: 61px;
    resize: vertical;
    color: #333333;
    padding: 2px 7px;
    margin-top: 10px;
    font-size: 14px;
    line-height: 18px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.ms-b__input-wrapper__textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
}

.matrix-wrapper .bootstrap-select {
    min-width: 150px;
}

/*------------------ Нижняя шапка матрицы ------------------*/
/*-------------------- Валидация матриц --------------------*/
.ms__error-row {
    background-color: #f9abab !important;
}

.body__panel-wrapper {
    position: fixed;
    top: 10px;
    right: 10px;
    width: 250px;
    z-index: 9998;
}

.validation-panel {
    display: none;
    width: 250px;
    color: #fff;
}

.validation-panel-error {
    background-color: #832B2B;
    border: 1px solid #832B2B;
}

.validation-panel-ok {
    background-color: #369C7C;
    border: 1px solid #298329;
}

.panel {
    z-index: 9999;
}

/*------------------ Вспомогательные классы -----------------*/
.vrule {
    display: table-cell;
    width: 1px;
    height: 100%;
    background-color: #e5e5e5;
    border-left: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
    padding: 0 1px 0 0;
}

.bg-gray {
    background-color: #f7f7f7 !important;
}

.bg-header {
    background-color: #f7f7f7;
    border-left: 2px solid #f7f7f7;
    border-right: 2px solid #f7f7f7;
    padding: 0 1px 0 0;
}

.bg-white {
    background-color: #fff !important;
}

.bg-red {
    background-color: #832B2B !important;
}

.border-top-red {
    border-top-color: #832B2B !important;
    opacity: .85;
}

.bg-green {
    background-color: #5cb85c !important;
}

.border-top-green {
    border-top-color: #5cb85c !important;
    opacity: .85;
}

.border-top-none {
    border-top: none !important;
}

.border-bottom-none {
    border-bottom: none !important;
}

.border-none {
    border: none !important;
}

.border-left-1-grey {
    border-left: 1px solid #e5e5e5 !important;
}

.border-right-1-grey {
    border-right: 1px solid #e5e5e5 !important;
}

.border-top-1-grey {
    border-top: 1px solid #e5e5e5 !important;
}

.border-bottom-1-grey {
    border-bottom: 1px solid #e5e5e5 !important;
}

.border-1-red {
    border: 1px solid red !important;
}

.red-glow {
    border-color: #ff0000 !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(255, 0, 0, 0.6) !important;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(255, 0, 0, 0.6) !important;
}

.green-glow {
    border-color: #5cb85c !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(92, 184, 92, 1), 0 0 5px rgba(92, 184, 92, 1) !important;
    box-shadow: inset 0 1px 1px rgba(92, 184, 92, 1), 0 0 5px rgba(92, 184, 92, 1) !important;
}

.pos-relative {
    position: relative;
}

.img-input {
    max-width: 100%;
    width: 200px;
    height: auto;
}

/*===================================================*/
.test_width {
    width: 130px !important;
}

.test_width_2 {
    width: 248px !important;
}

/* matrix body background */
/* matrix header background */
/* matrix border color */
/* matrix active cell background */
/* matrix hover cell background */
/* matrix cross body cells background */
/* matrix cross header cells background */
/* border radius */
/* header column min width */
/* body column min width */
/* base font color */
/* outer cell padding, generally it is margin */
/* inner cell padding, generally it is padding */
.matrix-transposed .ms__side-header {
    text-align: left;
    border-right: 1px solid #e5e5e5;
    min-width: 170px;
}

.matrix-transposed .ms__l__sub-labels {
    min-width: 175px;
}

.matrix-transposed .ms__l__first-text-label {
    top: 0;
}

.matrix-transposed .ms__l__middle-text-label {
    top: 50%;
}

.matrix-transposed .ms__l__last-text-label {
    bottom: 0;
}

.matrix-transposed .ms__l__answer {
    display: block;
}

.matrix-transposed .ms__h__answer {
    border-right: 1px solid #e5e5e5;
    position: inherit;
}

.matrix-transposed .ms__b__col {
    border-right: 1px solid #e5e5e5;
}

.matrix-transposed .transposed-cell-inner-table {
    width: 100%;
    border: none;
}

.matrix-transposed .transposed-cell-inner-table tr,
.matrix-transposed .transposed-cell-inner-table td {
    border: none;
}

.matrix-transposed .transposed-cell-invisible {
    width: 0;
    margin: 0;
    padding: 0;
}

.matrix-transposed .free__textarea {
    min-width: 100px;
    width: 100%;
}

.matrix-transposed .datetimepicker {
    width: auto;
}

.matrix-transposed .ms__sub-title {
    background-color: #f7f7f7;
    text-align: center;
    padding: 0;
    font-weight: bold;
    border-bottom-color: #f7f7f7;
}

.matrix-transposed .ms__additional-col {
    display: none;
}

.matrix-transposed .ms__additional-col__inner-wrapper {
    position: relative;
    z-index: auto;
}

.matrix-transposed .ms__additional-col_trigger-text {
    white-space: pre;
}

.matrix-transposed .ms__additional-col_trigger .ms__additional-col__inner-wrapper {
    white-space: pre;
}

.matrix-transposed fieldset[data-qtype="scale"][data-orientation="vertical"] {
    margin: 8px 45px;
}

.pseudo-border {
    display: block;
    position: absolute;
    bottom: -1px;
    width: 100%;
    height: 1px;
    background-color: #f7f7f7;
}

.matrix-transposed.ms__left-header-aligned-left .ms__side-header {
    text-align: left !important;
}

.matrix-transposed.ms__left-header-aligned-center .ms__side-header {
    text-align: center !important;
}

.matrix-transposed.ms__left-header-aligned-right .ms__side-header {
    text-align: right !important;
}

.matrix-transposed.ms__left-header-aligned-top .ms__side-header {
    vertical-align: top !important;
}

.matrix-transposed.ms__left-header-aligned-middle .ms__side-header {
    vertical-align: middle !important;
}

.matrix-transposed.ms__left-header-aligned-bottom .ms__side-header {
    vertical-align: bottom !important;
}

.margin-top-5 {
    margin-top: 5px;
}

.margin-bottom-5 {
    margin-bottom: 5px;
}

/* matrix body background */
fieldset[data-qtype="scale"] {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    margin: 8px 25px;
}

fieldset[data-qtype="scale"] .ms-b__answer {
    cursor: default;
    display: inline-block;
    width: 100%;
}

fieldset[data-qtype="scale"] .ms-b__answer:hover .ms-b__input-wrapper {
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
    background-color: #ffffff;
}

.scale-slider-horizontal .ui-slider-handle {
    background: url('../img/slider_handle.png') no-repeat;
    top: -8px;
    width: 26px;
    height: 26px;
    margin-left: -13px;
    border: 0;
    cursor: pointer;
    outline: none;
    z-index: 100;
}

.scale-slider-horizontal .ui-slider {
    height: 10px;
    margin: 0 15px;
    background: #acacac;
    border: 1px solid #aaa;
}

.scale-slider-horizontal .ui-slider-range {
    background: #acacac url('../img/slider_progress.png') repeat-x;
    border-radius: 3px;
    z-index: 90;
}

.scale-slider-vertical .ui-slider-handle {
    background: url('../img/slider_handle.png') no-repeat 0 2px;
    left: -9px;
    margin-top: 0;
    width: 26px;
    height: 26px;
    border: 0;
    cursor: pointer;
    outline: none;
    z-index: 100;
}

.scale-slider-vertical .ui-slider {
    width: 10px;
    margin: 15px 15px;
    background: #acacac;
    border: 1px solid #aaa;
    display: inline-block;
}

.scale-slider-vertical .ui-slider-range {
    background: #acacac url('../img/slider_progress_v.png') repeat-y;
    border-radius: 3px;
    z-index: 90;
}

.scale-input-value {
    margin-bottom: 15px;
    display: none;
}

.scale-slider-container {
    margin-left: 3px;
    min-height: 22px;
    min-width: 120px;
    padding-top: 6px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.scale-slider-horizontal .slider-labels {
    margin: 10px 15px 0 15px;
    position: relative;
    z-index: 95;
}

.scale-slider-horizontal .slider-label {
    cursor: pointer;
    position: absolute;
    z-index: 95;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.scale-slider-horizontal .slider-label:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 20px;
    top: -25px;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 95;
    background: url(../img/slider_label_mark.png) no-repeat 50% 0;
}

.scale-slider-vertical .slider-labels {
    top: 22px;
    left: 50%;
    position: absolute;
    z-index: 95;
}

.scale-slider-vertical .slider-label {
    cursor: pointer;
    position: absolute;
    z-index: 95;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    right: 0;
    text-align: right;
    line-height: 16px;
}

.scale-slider-vertical .slider-label:after {
    content: "";
    position: absolute;
    width: 20px;
    height: 8px;
    right: -30px;
    top: 50%;
    margin: -4px 0 0 0;
    z-index: 95;
    background: url(../img/slider_label_mark_v.png) no-repeat 0 0;
}

.no-neutral .slider-central-label-disabled {
    display: none
}

.slider-central-label-disabled {
    cursor: default !important;
}

.slider-central-label-disabled:before,
.slider-central-label-disabled:after {
    content: none !important;
}

.tooltip-inner {
    white-space: nowrap;
    max-width: 450px !important
}

.scale-out-of-matrix__textarea {
    width: 470px;
}

.grid {
    display: inline-block;
    margin: 16px 0;
    position: relative;
    min-width: 950px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.grid__status-msg {
    font-size: 16px;
    color: black;
    display: none;
}

.grid__left-and-right-dragging-wrapper {
    width: 100%;
}

.grid__l-and-r-dragging-wrapper__td {
    width: 50%;
    vertical-align: top;
}

/*--------- Область перетаскиваемых объектов ---------*/
.grid__draggables_area {
    width: 100%;
    margin-bottom: 12px;
}

.grid__draggables_area__col {
    vertical-align: top;
    padding: 0 4px;
}

.grid__draggable {
    color: #333333;
    font-size: 13px;
    padding: 4px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    background-color: #f7f7f7;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    z-index: 90;
}

.grid-rank .grid__draggable {
    position: static !important;
    height: auto!important;
}

.grid__draggable:hover {
    background-color: #eeeeee;
    cursor: pointer;
}

.grid__draggable:hover .grid__draggable__input {
    background-color: #eeeeee;
}

.grid__draggable img {
    max-width: 100%;
    height: auto;
    display: none;
    z-index: 90;
}

.grid__draggable table {
    width: 100%;
}

.grid__draggable table td {
    border: 1px solid #a9a3a3;
}

.grid__draggable.col-auto {
    margin: 0 4px 8px;
}

.grid__draggable__input {
    display: block;
    width: 90%;
    margin-left: 2px;
    padding: 2px 5px;
    border: none;
    color: #555;
    background-color: #f7f7f7;
    border-radius: 3px;
    outline: none;
}

.grid__draggable__inputs-block {
    display: none;
}

/*--------- Область перетаскиваемых объектов ---------*/
.grid__droppables_area {
    width: 100%;
    display: block;
}

.grid__droppable {
    padding: 4px;
    margin: 0 4px 8px;
    overflow: hidden;
    text-align: left;
    vertical-align: middle;
    background: #f3fcef;
    background: rgba(243, 252, 239, 0.69);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border: 1px groove #b4dbd2;
    float: left;
}

.grid__droppable img {
    max-width: 100%;
    height: auto;
}

.grid__droppable table {
    width: 100%;
}

.grid__droppable table td {
    border: 1px solid #a9a3a3;
}

.grid__droppable__header {
    display: inline-block;
    color: #333333;
    font: bold 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
    word-wrap: break-word;
    width: 100%;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
    vertical-align: top;
    margin-bottom: 4px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.grid__droppable__body {
    width: 100%;
    min-height: 70px;
    position: relative;
    display: none;
    margin-bottom: 2px;
    font-size: 13px;
}

.grid__droppable__body__greet {
    display: inline-block;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #acacac;
    overflow: hidden;
    word-wrap: break-word;
}

.grid__droppable__body__cap {
    width: 100%;
    min-height: 32px;
    background-color: #74bcf5;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #74bcf5;
    display: none;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.grid__droppable__body__cap-cover {
    position: absolute;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #74bcf5;
}

.grid__droppable__body__accepted-obj {
    width: 100%;
    min-height: 32px;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #b2e8f6;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #a9a3a3;
    overflow: hidden;
    cursor: pointer;
}

.grid__droppable__body__accepted-obj .grid__draggable__input {
    background-color: #b2e8f6;
}

.grid__droppables__header-input {
    display: inline-block;
    width: 99%;

    font: normal 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
    word-wrap: break-word;
    border: none;
    background: #f3fcef;
    background: rgba(243, 252, 239, 0.69);
    margin-top: -2px;
    padding: 0 5px;
    outline: none;
}

.grid__droppables__input {
    display: block;
    width: 100%;
    height: 24px;
    margin: 5px;
    padding: 2px 5px;
    color: #555;
    border-radius: 4px;
    border: 1px solid #ccc;
}

.grid__droppables__input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(102, 175, 233, 0.6);
}

.accepted-obj-remove {
    position: absolute;
    top: 0;
    right: 0;
    padding: 5px;
    cursor: pointer;
    color: #ba3d3d;
    display: none;
}

.hover-glow {
    border-color: #74bcf5 !important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.7);
}

/*=================== Вопрос Rank ====================*/
.grid-rank .grid__droppables_area {
    z-index: 10;
}

.grid-rank .grid__draggables_area {
    z-index: 5;
}

.grid-rank .grid__droppable {
    overflow: visible;
    min-height: 77px;
}

.grid-rank .grid__droppable__header {
    border: none;
    margin-bottom: 0;
}

.grid-rank .grid__droppable__body {
    min-height: 15px;
    background: none;
    display: table !important;
    margin-bottom: 4px;
}

.grid-rank .grid__droppable__body__cap {
    position: relative;
    padding: 4px 0;
    margin-bottom: 8px;
}

.grid-rank .grid__droppable__body__accepted-obj {
    background: none;
}

.rank__droppable__body__pink-labels {
    width: 200px;
    vertical-align: top;
    color: #333333;
    font: bold 15px/16px "Helvetica Neue", Helvetica, Arial, sans-serif;
    overflow: hidden;
    word-wrap: break-word;
    border: none !important;
}

.rank__droppable__body__accepted-objs {
    width: auto;
    vertical-align: top;
    border: none !important;
    padding-left: 8px;
}

.rank__accepted-obj__pink-label {
    width: 100%;
    display: block;
    min-height: 32px;
    background-color: #fbcdcd;
    margin-bottom: 8px;
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #a9a3a3;
}

.rank__accepted-obj__body {
    width: 100%;
    display: block;
    min-height: 32px;
    position: relative;
    background-color: #b2e8f6;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 4px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #a9a3a3;
    overflow: hidden;
}

.rank__accepted-obj__body .grid__draggable__input {
    background-color: #b2e8f6;
}

/* base font color */
/* matrix header background */
/* matrix active cell background */
/* matrix hover cell background */
fieldset[data-qtype="free-out-of-matrix"] {
    padding: 25px 0 10px;
}

.free-out-of-matrix__wrapper-for-tooltip {
    display: block;
    position: relative;
}

.free__textarea {
    display: inline-block;
    min-width: 240px;
    min-height: 46px;
    height: 46px;
    line-height: 20px;
    margin-top: 0;
    vertical-align: middle;
    resize: none;
}

.datetimepicker {
    width: 240px;
    margin: 0 auto;
}

/*.bootstrap-select {*/
/*display: inline-block !important;*/
/*width: auto !important;*/
/*}*/
.bootstrap-select .dropdown-menu {
    overflow-x: hidden;
}

.free-out-of-matrix__date {
    margin-bottom: 15px;
}

.free-out-of-matrix__textarea {
    width: 100%;
    margin-bottom: 10px;
}

.free-out-of-matrix__textarea,
.free-out-of-matrix__input {
    min-height: 68px;
    height: 68px;
    color: #333333;
    padding: 2px 7px;
    font-size: 14px;
    margin-bottom: 15px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.free-out-of-matrix__textarea:focus,
.free-out-of-matrix__input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
}

.free-out-of-matrix__input {
    min-height: 34px;
    height: 34px;
}

.free-out-of-matrix__additional-answer {
    display: block;
    width: 100%;
    min-height: 36px;
    position: relative;
    background-color: #f7f7f7;
    margin-bottom: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    text-align: left;
}

.free-out-of-matrix__additional-answer:hover {
    background-color: #cae4f1;
}

.free-out-of-matrix__additional-answer.active {
    background-color: #b2e7f5;
}

.free-out-of-matrix__additional-answer .radio {
    position: absolute;
    top: 50%;
    left: 11px;
    margin-top: -9px;
}

.free-out-of-matrix__additional-answer__label {
    display: inline-block;
    margin: 8px 11px 8px 38px;
    font: normal 14px/18px 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333333;
}

.input-group-addon {
    color: #555 !important;
}

.fileupload-container {
    display: table;
    width: 100%;
    border: 1px dashed #ccc;
    padding: 30px 0 15px 0;
    text-align: center;
    margin: 0 0 15px;
}

.fileupload-container.active {
    border: 1px solid #ccc
}

.fileupload-buttonbar {
    display: table-cell;
    vertical-align: middle
}

.fileupload-container .files td {
    vertical-align: middle !important;
    word-wrap: break-word;
    word-break: break-all;
}

.fileupload-container .files .name {
    margin: 0;
    display: inline-block
}

.fileupload-buttonbar .table {
    margin: 0 !important
}

.fileupload-wrap .radio {
    display: none
}

.fileupload-wrap .label {
    vertical-align: middle
}

.fileupload-wrap .free-out-of-matrix__additional-answer__label {
    margin-left: 10px
}

.upl-title {
    font-size: 18px
}

.upl-subtitle {
    font-size: 22px;
    font-weight: bold;
    margin: 5px 0 10px 0
}

.click-test-xy__container {
    position: relative;
    margin: 25px auto;
    cursor: pointer;
}

.click-test-xy__container ul {
    position: absolute;
    z-index: 100000;
    left: 0;
    top: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.click-test-xy__container li {
    color: white;
    background-color: #5A009D;
    width: 20px;
    text-align: center;
    border-radius: 10px;
    position: absolute;
}

.click-test-xy__container img {
    width: auto;
    max-width: none;
}

.click-test-xy__container input {
    display: none;
}

.standalone {
    margin: 20px 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.standalone__table {
    width: 100%;
    margin-bottom: 12px;
    max-width: 908px
}

.standalone__table-col {
    vertical-align: top;
}

.standalone__header-block {
    display: inline-block;
    width: 100%;
    margin-bottom: 15px;
    padding: 0 10px;
}

.standalone__header-block.hide-answers .standalone__answer {
    display: none
}

.standalone__header {
    display: block;
    min-height: 20px;
    font-weight: 600;
    font-size: 20px;
    color: #8F8F8F;
    line-height: 20px;
    text-align: left;
    padding: 10px 28px 10px 10px;
    margin: 0;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.standalone__header-folded {
    background: #fff3ae url("../img/arrow_up.png") no-repeat 97% center;
    cursor: pointer;
}

.standalone__header-folded.active {
    background: #fff3ae url("../img/arrow_down.png") no-repeat 97% center;
}

.standalone__header-folded:hover {
    background-color: #fcec94;
    color: #6d6d6d;
}

.standalone__answer {
    display: block;
    position: relative;
    min-height: 20px;
    font-size: 14px;
    color: #202223;
    line-height: 20px;
    text-align: left;
    padding: 10px;
    margin: 5px 0 0 0;
    text-overflow: ellipsis;
    vertical-align: middle;
    background: #f3f3f3;
    border: none;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    cursor: pointer;
    -webkit-transition: background-color linear 0.1s;
    -moz-transition: background-color linear 0.1s;
    -ms-transition: background-color linear 0.1s;
    -o-transition: background-color linear 0.1s;
    transition: background-color linear 0.1s;
}

.standalone__answer:hover {
    background-color: #eceded;
}

.standalone__answer.active {
    background-color: #b2e8f6;
}

.standalone__answer .checker,
.standalone__answer .radio {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

.standalone__answer-content {
    display: block;
    width: auto;
}

.standalone__textarea {
    width: 99%;
    min-height: 38px;
    height: 52px;
    resize: none;
    color: #333333;
    padding: 5px 7px;
    margin: 5px 0 0;
    font-size: 14px;
    line-height: 20px;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.standalone__textarea:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 5px rgba(102, 175, 233, 0.6);
}

.standalone-focus .standalone__textarea {
    display: none;
}

.standalone-focus.active .standalone__textarea {
    display: block;
}

.standalone__answer__height-buffer {
    display: block;
    width: 100%;
}

.standalone__info-answer {
    background: none !important;
    cursor: default;
}

.border-left-dashed-gray {
    border-left: 1px dashed #afafaf;
}

.border-bottom-dashed-gray {
    border-bottom: 1px dashed #afafaf;
}

/*-------------- Исправляем uniform.js ----------------*/
div.radio,
div.checker {
    margin-right: 0;
    cursor: pointer;
}

.radio input[type=radio],
.radio-inline input[type=radio] {
    margin-left: -9px;
    outline: none;
}

input[type="checkbox"] {
    cursor: pointer;
}

input[type="text"] {
    font-weight: normal;
}

/*-------------- Вспомогательные классы ---------------*/
.zoom-fix {
    height: 0;
    line-height: 0;
}

.padding-0 {
    padding: 0 !important;
}

.padding-left-right-10 {
    padding-left: 10px;
    padding-right: 10px;
}

.margin-top-0 {
    margin-top: 0 !important;
}

.margin-top-12 {
    margin-top: 12px !important;
}

.margin-top-20 {
    margin-top: 20px !important;
}

.margin-top-30 {
    margin-top: 30px !important;
}

.margin-left-30 {
    margin-left: 30px;
}

.margin-bottom-0 {
    margin-bottom: 0 !important;
}

.margin-bottom-30 {
    margin-bottom: 30px !important;
}

.blue {
    color: #0790ff;
}

.red {
    color: red;
}

.white {
    color: #fff;
}

.no-bg-image {
    background-image: none !important;
}

.will-be-removed {
    position: absolute;
    top: -9000px;
}

.aligned-left {
    text-align: left !important;
}

.centered {
    text-align: center !important;
}

.aligned-right {
    text-align: right !important;
}

.z-index-1000 {
    z-index: 1000 !important;
}

.cursor-default {
    cursor: default !important;
}

.width-auto {
    width: auto !important;
}

.min-width-248 {
    min-width: 248px !important;
}

.answer-max-width-100 img {
    max-width: 100%;
}

.width-20-pc {
    width: 20%;
}

.width-25-pc {
    width: 25%;
}

.width-33-pc {
    width: 33.333333333%;
}

.width-50-pc {
    width: 50%;
}

.width-100-pc {
    width: 100%;
    padding: 0;
}

.width-100-pc-with-padding, .w-100 {
    width: 100%;
}

.bg-blue {
    background-color: #b4deff;
}

.videotestforms {
    display: none;
}

.video-test {
    margin: 40px auto;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.video-test-player {
    display: inline-block;
    position: relative;
    font-size: 0;
}

.video-test-player video {
    max-height: 100%;
    max-width: 100%;
    background: #ccc;
}

.video-test-player__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: #fff;
}

.video-test-player--hidden {
    visibility: hidden;
    position: absolute;
    left: -1000%;
}

.video-test-player__play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 70px;
    height: 50px;
    margin: -35px 0 0 -25px;
    -moz-border-radius: 16px;
    -webkit-border-radius: 16px;
    border-radius: 16px;
    overflow: hidden;
    z-index: 9999;
}

.video-test-player__play:before,
.video-test-player__play:after {
    content: '';
    display: block;
    position: absolute;
    background: #423C30;
    z-index: 1;
}

.video-test-player__play:before {
    top: 0;
    left: 5px;
    width: 60px;
    height: 50px;
    -moz-border-radius: 300px / 50px;;
    -webkit-border-radius: 300px / 50px;;
    border-radius: 300px / 50px;;
}

.video-test-player__play:after {
    top: 5px;
    left: 0;
    width: 70px;
    height: 40px;
    -moz-border-radius: 70px / 300px;
    -webkit-border-radius: 70px / 300px;
    border-radius: 70px / 300px;
}

.video-test-player__play span {
    content: '';
    position: absolute;
    left: 28px;
    top: 16px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 9px 0 9px 18px;
    border-color: transparent transparent transparent #fff;
    z-index: 2;
}

.video-test-player__play:hover {
    cursor: pointer;
}

.video-test-player__play:hover:before,
.video-test-player__play:hover:after {
    background: #F59202;
}

.video-test-slider {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    padding: 0 100px;
    z-index: 1;
}

.video-test-slider--not-touched .rangeslider__fill {
    opacity: 0;
}

.video-test-slider__label {
    position: absolute;
    bottom: 16px;
    z-index: 1;
    font-size: 30px;
    color: #333;
}

.video-test-slider__label--min {
    left: 0;
    padding-left: 100px;
}

.video-test-slider__label--max {
    right: 0;
    padding-right: 100px;
}

.video-test-slider__smile {
    background: url('../img/smile-32.png') -96px 0 no-repeat;
    width: 32px;
    height: 32px;
    display: block;
    position: absolute;
    bottom: -5px;
    right: 40px;
}

.video-test-loading {
    margin: 0 auto;
    position: relative;
}

.video-test-loading__text {
    position: absolute;
    top: 30%;
    left: 0;
    right: 0;
    font-size: 24px;
    color: #777;
    margin: 20px 0;
}

.video-test-loading__progress,
.video-test-loading__fill {
    display: block;
    -moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}


.video-test-loading__progress {
    background: #e6e6e6;
    position: absolute;
    height: 20px;
    top: 40%;
    margin-top: 50px;
    left: 25%;
    right: 25%;
}

.video-test-loading__fill {
    background: #F59202;
    position: absolute;
    top: 0;
    height: 100%;
}

.answer-element {
    float: left;
    padding: 0 5px
}

.last-cell {
    margin: 30px 0 -30px 0
}

.list-select {
    padding: 10px 0 15px 0;
}

.logo {
    float: left;
    position: relative;
    max-height: 80px;
    margin-bottom: -20px;
}

/* Template: Grid -> buttons */
.prev-btn {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10
}

.quiz {
    max-width: 908px;
    position: relative;
    margin: 16px 0
}

.quiz img {
    max-width: 100%;
    height: auto
}

.quiz .alert.alert-success, .quiz .alert.helper-warning {
    margin: 16px 0 0 0
}

.quiz .helper-success, .quiz .helper-warning {
    display: none
}

.quiz-question-wrap {
    max-width: 908px;
    margin-right: auto;
    margin-left: auto;
    border: none;
    box-shadow: none
}

.quiz-question {
    width: 500px;
    padding: 40px 15px;
    min-height: 135px;
    margin-right: auto;
    margin-left: auto;
    display: none;
    font-size: 18px
}

.quiz-question .vertical-align {
    max-width: 100%;
    vertical-align: middle;
    line-height: normal;
    display: inline-block
}

.quiz-question:first-child {
    display: block
}

.custom-grid {
    height: 100%;
    max-width: 908px;
}

.custom-grid .col {
    padding: 0 2px;
    margin: 0 0 4px 0;
}

@media (min-width: 768px) {
    .col-md-6_5 {
        -ms-flex: 0 0 20%;
        flex: 0 0 20%;
        max-width: 20%;
    }
}

.custom-grid .col .btn {
    border-radius: 0 !important;
    font: bold 15px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: #f5f5f5 none;
    border: 1px solid #E8E7E7;
    border-bottom: 1px solid #c0c0c0;
    transition: all 0.1s;
}

.custom-grid .col .btn:active,
.custom-grid .col .btn:focus {
    background: #f5f5f5 none;
    border: 1px solid #E8E7E7;
    border-bottom: 1px solid #c0c0c0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 1px 1px rgba(0,0,0,.075);
}

.custom-grid .col .btn.hover {
    background-color: #e0e0e0;
}

.custom-grid .col .btn.active {
    background-color: #e0e0e0;
    border-color: #dbdbdb;
    box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
}

.full-height {
    height: 100%
}

.ui-tooltip {
    max-width: 10000px
}

.ui-tooltip img {
    max-width: 650px;
    max-height: 600px
}

.content-overlay {
    position: absolute;
    background-color: white;
    left: 0px;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    top: 0px;
    z-index: 10000;
    background-image: url('../img/loader.gif');
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

/* стили для вопроса Multi, Single с темплейтом list */

fieldset[data-template="list"] .answer-other, .form-fields {
    text-align: left;
    display: none
}

fieldset[data-template="list"] .answer-other .ms-b__input-wrapper__text-input {
    display: block;
    width: 100%;
    margin: 5px 0 0
}

fieldset[data-template="list"] .answer-other-multi {
    padding: 5px 0 0
}

fieldset[data-template="list"] .answer-other-multi input.ms-b__input-wrapper__text-input {
    margin: 0
}

.list-wrap {
    width: 300px;
    margin: 5px 0;
    box-sizing: content-box
}

.matrix .list-wrap {
    width: 158px;
    margin: 4px
}

.list-wrap .bootstrap-select.btn-group .btn .filter-option {
    display: block;
    text-overflow: ellipsis
}

.list-wrap .dropdown-menu > li > a {
    white-space: normal
}

.notify {
    opacity: 1 !important;
    color: red !important
}

.list-wrap .disabled a.bg-info {
    padding-left: 6px !important;
    background: #d9edf7 !important;
    color: #000 !important
}

.selectpicker .text {
    margin: 0 !important
}

/* matrix */
.matrix fieldset[data-qtype="scale"] {
    margin: 8px
}

.matrix-simple .free__textarea {
    width: 100%;
    min-width: auto
}

.matrix .scale-slider-container {
    margin-left: 0
}

.matrix fieldset[data-orientation="horizontal"].scale-slider {
    padding: 4px 25px
}

.matrix-transposed.fixed-width .ms__side-header {
    min-width: auto
}

.matrix-transposed.fixed-width .ms-b__answer {
    width: 100% !important;
    display: block
}

.matrix-transposed.fixed-width fieldset[data-qtype="scale"][data-orientation="vertical"] {
    margin: 8px
}

/* matrix headers */
.header-answer, .header-title {
    background: #f7f7f7
}

.header-answer * {
    display: none
}

.header-title, .bold {
    font-weight: bold
}

.matrix-transposed .header-answer {
    height: inherit !important
}

.matrix-transposed .header-answer .ms-b__answer {
    display: block;
    height: 100%;
    margin: 0 0 0 -1px;
    background: #f7f7f7
}

.matrix .fixed-width {
    min-width: auto !important
}

/* matrix single - labels */

/* not transposed*/
.ms__h_sub-labels__label {
    display: flex;
    width: 100%;
    justify-content: space-between
}

.ms__h_sub-labels__label > div {
    padding: 12px
}

.ms__h_sub-labels__label > div *, .ms__l__sub-labels__label > div * {
    max-width: 100%
}

.ms__h_sub-labels__label > div:first-child {
    text-align: left
}

.ms__h_sub-labels__label > div:last-child {
    text-align: right
}

.ms__h_sub-labels__label > div.text-center {
    text-align: center !important;
    width: 100%
}

/* transposed */
.ms__l__sub-labels {
    height: 1px
}

.ms__l__sub-labels__label, .ms__l__sub-labels__label > div {
    display: table;
    height: 100%;
    width: 100%
}

.ms__l__sub-labels__label > div .cell {
    padding: 12px;
    display: table-cell;
    vertical-align: middle
}

.ms__l__sub-labels__label > div:first-child .cell {
    vertical-align: top
}

.ms__l__sub-labels__label > div:last-child .cell {
    vertical-align: bottom
}

.ms__l__sub-labels__label > div.vertical-middle .cell {
    vertical-align: middle
}

/* oldbrowsers */
.oldbrowser-wrap img {
    max-width: 100%;
    height: auto
}

.oldbrowser-wrap p {
    text-align: left !important
}

.oldbrowser-wrap .h1 {
    margin: 0 0 10px 0;
    color: #f3801f
}

.oldbrowser-links {
    padding: 15px 0
}

.oldbrowser-links a img:hover {
    opacity: 0.8
}

/* ie < 9 */
.ie8 .container-fluid {
    display: table;
    width: 100%
}

.ie8 .row {
    height: 100%;
    display: table-row
}

.ie8 .col-md-2 {
    display: table-cell
}

.ie7 .col-md-2 {
    display: inline
}

.main-headers {
    text-align: center;
    font-weight: bold
}

.main-headers .js__ms__cell-inner-wrapper {
    display: inline-block
}

/* fix bug in matrix */
.matrix-simple .ms__header .ms__h__answer {
    border-right: 1px solid #e5e5e5
}

.matrix-simple .row-answers .ms__h__answer:last-child {
    border-right: none !important
}

.matrix-simple .row-headers td .js__ms__cell-inner-wrapper {
    display: inline-block
}

/* GRID -> default template */
.grid-default.switch-on .js__ms__answer-row, .grid-message, .grid-default input[type="radio"], .groupe-header {
    display: none
}

.grid-default tbody .btn {
    padding: 6px !important;
    display: block
}

.ms__additional-row_trigger .btn {
    display: inline-block !important
}

.grid-default .ms-b__answer:hover .ms-b__input-wrapper {
    background-color: #effafe
}

.grid-default .ms-b__answer {
    cursor: default
}

.grid-default .ms-b__input-wrapper__text-input {
    width: 100%
}

.prev-answers-btn {
    display: inline-block;
    margin: 0 5px;
    width: 50%;
    min-width: 60px;
    max-width: 100px
}

.ms__left-header.text-center {
    text-align: center !important
}

.grid-message td {
    padding: 6px
}

/* GRIMULTI */
.grid__droppables__header-input.ms__error-row {
    -webkit-border-radius: 5px 5px 0 0;
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0
}

/* SCALE slider */
.hideRange .ui-slider-range {
    display: none
}

.show-tooltip .scale-slider-container .tooltip {
    display: block !important
}

fieldset[data-orientation="horizontal"] .defaultPosition .ui-state-default {
    left: 50% !important
}

fieldset[data-orientation="vertical"] .defaultPosition .ui-state-default {
    bottom: 50% !important
}

/* calendar */
.bootstrap-datetimepicker-widget {
    min-width: 100px;
    width: auto
}

.bootstrap-datetimepicker-widget .datepicker {
    width: 240px
}

/* timepicker */
.bootstrap-datetimepicker-widget .timepicker {
    padding: 0 10px
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker {
    width: 100px
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker td {
    height: 38px;
    line-height: 38px;
    width: 10px;
    padding: 0 !important;
    font-size: 1.6em
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker td .btn {
    padding: 0 !important
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker td span {
    height: 38px;
    line-height: 38px;
    width: 38px;
    margin: 0 !important
}

.bootstrap-datetimepicker-widget .timepicker .timepicker-picker td .btn span {
    font-size: 1.4em
}

.bootstrap-datetimepicker-widget .timepicker-hour, .bootstrap-datetimepicker-widget .timepicker-minute, .bootstrap-datetimepicker-widget .timepicker-second {
    width: 38px
}

.bootstrap-datetimepicker-widget td span.active, .bootstrap-datetimepicker-widget td.active {
    background-color: inherit;
    color: #333;
    text-shadow: none
}

.bootstrap-datetimepicker-widget td.active:hover {
    color: #333;
    background: #eee;
    text-shadow: none
}

.bootstrap-datetimepicker-widget td span.active.correct, .bootstrap-datetimepicker-widget td.active.correct {
    background-color: #428bca;
    color: #fff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25)
}

/* FREE - map */
.map-wrapper {
    padding: 0
}

.map-fieldset {
    margin: 15px 0 0 0
}

.grid-rank .grid__draggable.ui-draggable-dragging {
    position: absolute !important
}

/* rtl */
.rtl .bottom-panel__submit,
.rtl .bottom-panel__go-back {
    float: left !important
}

.rtl .js__progress.progress,
.rtl .bottom-panel__restart,
.rtl .bottom-panel__progress-bar,
.rtl .bottom-panel__submit .glyphicon,
.rtl .bottom-panel__go-back .glyphicon,
.rtl .bottom-panel__restart .glyphicon,
.rtl .col-auto,
.rtl .ms__additional-row_trigger .ms__additional-row_trigger-text,
.rtl .grid__droppable {
    float: right !important
}

.rtl .standalone__answer-content,
.rtl .dropdown-menu > li > a,
.rtl .grid__draggables_area__col .ui-draggable-handle,
.rtl .list-wrap .bootstrap-select.btn-group .btn .filter-option,
.rtl .grid__droppables_area .grid__droppable__header,
.rtl .grid-rank .grid__droppable,
.rtl .grid__droppable__body__accepted-obj,
.rtl .ms__side-header,
.rtl .ms__additional-row__inner-wrapper,
.rtl .grid__droppable__body,
.rtl .h1.survey-ended__msg {
    text-align: right
}

.rtl .ms__left-header-aligned-center .ms__left-header .js__ms__cell-inner-wrapper,
.rtl .ms__right-header-aligned-center .ms__right-header .js__ms__cell-inner-wrapper {
    text-align: center !important
}

.rtl .ms__left-header-aligned-right .ms__left-header .js__ms__cell-inner-wrapper,
.rtl .ms__right-header-aligned-right .ms__right-header .js__ms__cell-inner-wrapper {
    text-align: left !important
}

.rtl .js__progress.progress {
    margin: 5px 10px 0 0 !important
}

.rtl .bottom-panel__restart {
    margin: 0 23px 0 0
}

.rtl .bottom-panel__submit {
    margin: 0 0 0 23px !important
}

.rtl .bottom-panel__go-back {
    margin: 0 0 0 12px !important
}

.rtl .body__panel-wrapper {
    left: 10px;
    right: auto
}

.rtl .left-green-border {
    border-right: 5px solid #5aa72b;
    border-left: none;
    margin-right: -20px;
    padding-right: 30px;
    text-align: right
}

.rtl .standalone__answer-content.margin-left-30 {
    margin: 0 30px 0 0 !important;
    text-align: right
}

.rtl .standalone__answer .checker, .rtl .standalone__answer .radio {
    right: 10px
}

.rtl .bootstrap-select.btn-group.show-tick .dropdown-menu li.selected a span.check-mark {
    right: auto;
    left: 15px
}

.rtl .bootstrap-select.btn-group .btn .caret {
    left: 15px;
    right: auto
}

.rtl fieldset[data-format="phone"] input.free__textarea {
    direction: ltr;
    text-align: right
}

.rtl .accepted-obj-remove {
    left: 0;
    right: auto
}

.rtl .matrix-simple .row-answers .ms__h__answer:first-child {
    border-right: none !important
}

.rtl .matrix-simple .row-answers .ms__h__answer:last-child {
    border-right: 1px solid #e5e5e5 !important
}

.rtl .matrix tr td:first-of-type {
    border-left: 1px solid #e5e5e5 !important
}

.rtl .ms__additional-row__close-icon, .rtl .ms__additional-col__close-icon {
    right: auto;
    left: -2px
}

.rtl .preloader-wrap .ms__additional-row_trigger .js__ms__cell-inner-wrapper {
    text-align: right !important
}

.rtl .free-out-of-matrix__additional-answer__label {
    text-align: right;
    margin: 8px 38px 8px 11px
}

.rtl .free-out-of-matrix__additional-answer .radio {
    left: auto;
    right: 11px
}

.rtl .blue {
    float: right;
    margin: 0 0 0 7px
}

.rtl .h1.survey-ended__msg {
    padding: 10px 15px
}

.rtl .h1-label, .rtl .label {
    display: inline-block !important
}

/* matrix target question */
fieldset.target {
    max-width: 908px;
    margin: 16px 0
}

.target .droppable-wrapper {
    float: right;
    position: relative
}

.target .droppable-wrapper .point {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    background: #000
}

.target .draggable-wrapper {
    float: left;
    max-width: 345px
}

.target .circle, .target .center-circle {
    float: left;
    padding: 60px;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 500px;
    -moz-border-radius: 500px;
    -webkit-border-radius: 500px;
}

.target .center-circle {
    padding: 0;
    width: 150px;
    height: 150px;
    display: table;
    vertical-align: middle;
    text-align: center
}

.target .center-circle span {
    max-width: 150px;
    overflow: hidden;
    border-radius: 150px;
    display: table-cell;
    vertical-align: middle
}

.target .center-circle img {
    max-width: 150px;
    height: auto
}

.clear {
    clear: both
}

.target .ui-draggable {
    z-index: 10
}

.target .grid__draggable {
    padding-right: 10px;
    cursor: default !important;
    overflow: visible;
    box-sizing: content-box
}

.target .grid__draggable img {
    display: inline-block
}

.target .grid__draggable .point {
    width: 9px;
    height: 9px;
    border: 1px solid #6ef24b;
    position: absolute;
    left: -6px;
    top: -6px;
    border-radius: 20px;
    z-index: -1;
    background: #6ef24b
}

.target .grid__draggable .close {
    font-size: 7px;
    display: none;
    cursor: pointer;
    color: red;
    position: absolute;
    right: 2px;
    top: 2px
}

.target .grid__draggable.ui-draggable-dragging {
    background: #f7f7f7 !important
}

.target .grid__draggable.ui-draggable-dragging .point,
.target .grid__draggable.dropped .point,
.target .grid__draggable.dropped .close {
    display: block
}

.target .hover-glow {
    border-color: #fff !important;
    box-shadow: none
}

.target .droppable-wrapper > .circle:first-child {
    background: rgba(243, 159, 24, 1);
    background: -moz-radial-gradient(center, ellipse cover, rgba(243, 159, 24, 1) 0%, rgba(255, 194, 97, 0) 100%);
    background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, rgba(243, 159, 24, 1)), color-stop(100%, rgba(255, 194, 97, 0)));
    background: -webkit-radial-gradient(center, ellipse cover, rgba(243, 159, 24, 1) 0%, rgba(255, 194, 97, 0) 100%);
    background: -o-radial-gradient(center, ellipse cover, rgba(243, 159, 24, 1) 0%, rgba(255, 194, 97, 0) 100%);
    background: -ms-radial-gradient(center, ellipse cover, rgba(243, 159, 24, 1) 0%, rgba(255, 194, 97, 0) 100%);
    background: radial-gradient(ellipse at center, rgba(243, 159, 24, 1) 0%, rgba(255, 194, 97, 0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f39f18', endColorstr='#ffc261', GradientType=1);
}

.rtl .target .droppable-wrapper {
    float: left
}

.rtl .target .draggable-wrapper {
    float: right
}

.rtl .target .grid__draggable {
    text-align: right
}

/* web cam uploader */

.cam-record-wrap {
    padding: 20px 0 !important
}

.cam-record-wrap .vjs-device-button, .vjs-fullscreen-control, .vjs-record-button {
    display: none !important
}

.cam-record-wrap .fileupload-buttonbar {
    display: block !important
}

.cam-record-wrap .alert-warning {
    max-width: 60%;
    display: inline-block
}

.cam-record-wrap .btn-video .text {
    margin: 0 0 0 4px
}

.video-js {
    margin: 15px auto 0 auto
}

/* maxdiff wrap */

.maxdiff-wrap .grid__droppables_area {
    padding: 0 15px
}

.maxdiff-wrap .grid__droppables_area, .maxdiff-wrap .grid__draggables_area {
    float: left;
    width: 33%
}

.maxdiff-wrap .grid__droppable {
    margin: 0 0 8px 0;
    display: flex;
    flex-wrap: wrap
}

.maxdiff-wrap .grid__droppable__header {
    align-self: flex-start;
    padding: 0 5px 5px 5px
}

.maxdiff-wrap .grid__droppable, .maxdiff-wrap .grid__draggable {
    text-align: center;
    width: 100% !important
}

.maxdiff-wrap .grid__draggable, .maxdiff-wrap .grid__droppable__body__accepted-obj {
    padding: 4px 10px;
    border: 1px solid gray;
    background: #f7f7f7;
}

.maxdiff-wrap .grid__draggable.dropped {
    visibility: hidden
}

.maxdiff-wrap .grid__droppable__body {
    height: auto !important
}

.maxdiff-wrap .grid__droppable__body__accepted-obj {
    display: table
}

.maxdiff-wrap .grid__draggables_area__col {
    position: relative;
    padding: 0 0 5px 0
}

.maxdiff-wrap .pack {
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 100
}

.maxdiff-wrap .pack .card {
    position: relative;
    top: 4px;
    left: 4px;
    width: 100%;
    height: 45px;
    border: 1px solid gray;
    background: #f7f7f7;
    box-sizing: padding-box;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px
}

.maxdiff-wrap .pack > .card {
    top: 0;
    left: 0
}

.maxdiff-wrap .hidden-grid {
    visibility: hidden
}

.maxdiff-wrap .danger-area .grid__droppable {
    background: #FCF2F2;
    border-color: #C00000
}

.maxdiff-wrap .danger-area .grid__droppable__header {
    color: #e52828
}

.maxdiff-wrap .default-area {
    padding: 10px 10px 0;
    border: 1px solid #e5e5e5;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.maxdiff-wrap .success-area .grid__droppable {
    background: #EDEFE9;
    border-color: #77933C
}

.maxdiff-wrap .success-area .grid__droppable__header {
    color: #11b228
}

.maxdiff-wrap .grid__draggable {
    width: 100% !important;
    display: table;
    vertical-align: middle
}

.maxdiff-wrap .tb-cell {
    display: table-cell;
    vertical-align: middle
}

/* coordinates tmpl */

.coordinates-wrap {
    margin: 16px 0
}

.coordinates-wrap .grid__draggable {
    width: 200px;
    text-align: center
}

.coordinates-wrap .middle-area {
    display: flex;
    justify-content: center;
    align-items: center
}

.coordinates-wrap .middle-area > div {
    margin: 0 5px
}

.coordinates {
    width: 600px;
    height: 600px;
    background: url(../img/coord.jpg) left top no-repeat;
    background-size: 100% 100%
}

.coordinates .square {
    float: left;
    width: 50%;
    height: 50%
}

.coordinates .square.active {
    background: rgba(243, 252, 239, 0.25)
}

.coordinates-wrap .grid__draggable {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: visible
}

.coordinates-wrap .grid__draggable img {
    display: block
}

.coordinates-wrap .grid__draggable .value {
    left: 0;
    right: 0;
    position: absolute;
    bottom: -18px;
    font-size: 11px;
    text-align: center
}

.red-glow + .tooltip .tooltip-inner {
    background: #832B2B !important;
}
.red-glow + .tooltip .tooltip-arrow {
    border-top-color: #832B2B !important;
}

.red-glow.green-glow + .tooltip .tooltip-inner {
    background: #5cb85c !important;
}
.red-glow.green-glow + .tooltip .tooltip-arrow  {
    border-top-color: #5cb85c !important;
}
/**/


div.star {
    width: 100%;
}
.star span{
    display: inline-block;
    cursor: pointer;
    color: rgba(200,200,200,1);
}

.star:hover span {
    color: rgba(200,200,200,1);
}

.slider-central-label {
    margin: 15px;
}


[data-pinheader] thead.ms__header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
}