@error-color: red;
@take-survey-width-small: 650px;
@take-survey-width-large: 850px;
@take-survey-hr-color: rgb(5, 5, 161);

body {
	padding-top: 60px;
	padding-bottom: 40px;
}
.sidebar-nav {
	padding: 9px 0;
}
table.q-options {
	margin:5px;
	padding-bottom:10px;
	text-align:left
}
.popoverNotes > div.popover {
   	display: block;
   	margin: 10px 0;
   	position: relative;
   	width: 100%;
   	line-height: 15px;
   	z-index: 900;
   	word-wrap: break-word;
}
.popoverNotes > div.popover > div.popover-timestamp {
   	border-top: 1px solid #EBEBEB;
   	padding: 5px 14px;
   	font-size: 0.8em;
   	background-color: #F7F7F7;
}
.articles a { white-space:normal !important; height: auto !important; padding:1px 2px; }
.articles li > ins { vertical-align:top; }
.articles .jstree-hovered, .articles .jstree-clicked { border:0; }
.helpIcon {
	width: 16px;
	height: 16px;
	background-image: url(images/help.png);
	cursor: pointer;
	margin: 8px 8px 0 0;
	position: absolute;
	top: 0;
	right: 0;
}
ol.progtrckr {
    margin: 10px 0;
    padding: 0;
    list-style-type: none;
}
ol.progtrckr[data-progtrckr-steps="2"] li { width: 49%; }
ol.progtrckr[data-progtrckr-steps="3"] li { width: 33%; }
ol.progtrckr[data-progtrckr-steps="4"] li { width: 24%; }
ol.progtrckr[data-progtrckr-steps="5"] li { width: 19%; }
ol.progtrckr[data-progtrckr-steps="6"] li { width: 16%; }
ol.progtrckr[data-progtrckr-steps="7"] li { width: 14%; }
ol.progtrckr[data-progtrckr-steps="8"] li { width: 12%; }
ol.progtrckr[data-progtrckr-steps="9"] li { width: 11%; }
ol.progtrckr li {
    display: inline-block;
    text-align: center;
    line-height: 3em;
}
ol.progtrckr li.progtrckr-done {
    color: black;
    border-bottom: 4px solid yellowgreen;
}
ol.progtrckr li.progtrckr-todo {
    color: silver;
    border-bottom: 4px solid silver;
}
ol.progtrckr li:after {
	content: "\00a0\00a0";
}
ol.progtrckr li:before {
    position: relative;
    bottom: -2.5em;
    float: left;
    left: 50%;
    line-height: 1em;
}
ol.progtrckr li.progtrckr-done:before {
    content: "\2713";
    color: white;
    background-color: yellowgreen;
    height: 1.2em;
    width: 1.2em;
    line-height: 1.2em;
    border: none;
    border-radius: 1.2em;
}
ol.progtrckr li.progtrckr-todo:before {
    content: "\039F";
    color: silver;
    background-color: white;
    font-size: 1.5em;
    bottom: -1.6em;
}

/* override bootstrap */
select {
  width: 160px;
  background-color: #ffffff;
  border: 1px solid #cccccc;
}

.errors {
	color: @error-color;
}

.showQuestion-false {
	display: none;
}

.surveyValidationError {
	font-weight: bold;
	color: red;
}

.question {
	margin: 0 0 5px 5px;
}

.question li {
	list-style-type: none;
	margin: 0;
}

.question input {
	margin: 0;
}

.header-separator {
	height: 5px; border-bottom: 5px solid @take-survey-hr-color;
}

.table-borderless td {
	border: 0 !important;
}

@media (min-width: 980px) {
	body {
		padding: 30px;
	}

	.question-box {
		width: @take-survey-width-large;
	}

	.header-separator {
		width: @take-survey-width-large;
	}

	.practice-header {
		width: @take-survey-width-large;
	}
}


#divSurveyWrapper {
	background-color: white;
	border: 2px solid #000;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 4px 4px 5px rgba(50, 50, 50, 0.75);
	padding: 10px;

	/* Gradient Background */

	background: rgb(255, 255, 255); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(255
		, 255, 255, 1) ), color-stop(100%, rgba(229, 229, 229, 1) ) );
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* IE10+ */
	background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#ffffff',
		endColorstr='#e5e5e5', GradientType=1 );
	/* IE6-9 fallback on horizontal gradient */
}

.questionContainer {
	background-color: white;
	border: 2px solid #000;
	border-radius: 10px 10px 10px 10px;
	box-shadow: 4px 4px 5px rgba(50, 50, 50, 0.75);
	padding: 10px;
	text-align: left;
	margin-top: 5px;
	margin-bottom: 20px !important;

	/* Gradient Background */

	background: rgb(255, 255, 255); /* Old browsers */
	background: -moz-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, right bottom, color-stop(0%, rgba(255
		, 255, 255, 1) ), color-stop(100%, rgba(229, 229, 229, 1) ) );
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* Opera 11.10+ */
	background: -ms-linear-gradient(-45deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* IE10+ */
	background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%,
		rgba(229, 229, 229, 1) 100% ); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(  startColorstr='#ffffff',
		endColorstr='#e5e5e5', GradientType=1 );
	/* IE6-9 fallback on horizontal gradient */
}

.question-body {
	float: left;
	width: 80%;
}

.SliderContainer * {
    line-height: 15px;
}
.SliderContainer tr.xlabel th {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    position: relative;
}
.SliderContainer thead th span.TickContainer, .SliderContainer thead td span.TickContainer {
    display: block;
    margin-bottom: 1px;
    position: relative;
}
.SliderContainer tr.xlabel th span.TickContainer span {
    bottom: 0;
    left: 50%;
    position: absolute;
    text-align: center;
    width: 100%;
}
.SliderContainer .LeftBorder {
    font-size: 0;
    width: 1px;
}
.SliderContainer .BarOuter {
    font-size: 0;
    width: 1px;
}
.SliderContainer tbody .Slider {
    height: 50px;
}
.SliderContainer tbody .LeftBorder {
    border-left-style: solid;
    border-left-width: 2px;
}
.SliderContainer .Slider tbody .LeftBorder, .SliderContainer .Slider tbody .RightBorder {
    width: 8px;
}
.SliderContainer td.BarOuter {
    vertical-align: middle;
}
.SliderContainer .BarContainer {
    position: relative;
    top: -10px;
}
.SliderContainer {
    margin: 10px 0 10px 8px;
}
.SliderContainer th {
}
.SliderContainer table.sliderGrid {
    border-collapse: collapse;
    empty-cells: show;
    overflow: visible;
}
.SliderContainer td {
    margin: 0;
    padding: 0;
}
.SliderContainer table.sliderGrid td.GridLine {
    border-left: 1px solid transparent;
    border-right-style: solid;
    border-right-width: 1px;
    font-size: 0;
}
.SliderContainer table.sliderGrid td.GridLine, .SliderContainer table.sliderGrid td.BarOuter, .SliderContainer tbody .LeftBorder {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #DDDDDD;
}
.SliderContainer .ui-slider-horizontal {
    height: 12px;
}
.SliderContainer .BorderColor {
    border-color: #AAAAAA;
}
.SliderContainer .LightBorderColorRight {
    border-right-color: #DDDDDD;
}
.SliderContainer .ui-slider .ui-slider-handle {
    height: 20px;
    width: 9px;
}
.SliderContainer .ui-slider-horizontal .ui-slider-handle {
    top: -5px;
    margin-left: -3px;
}
.SliderDiv {
	top: -5px;
}

.matrixQuestionContainer {
    visibility: visibile;
}

.matrixQuestionContainer .matrixQuestionText {
    visibility: visible;
}

.matrixQuestionContainer .matrixQuestionLabels {
    visibility: visible;
}

.matrixQuestionContainer .matrixQuestionValues {
    visibility: visible;
}

.matrixShowSubQuestionRow {
    text-align: center;
}

.matrixShowSubQuestionLabels {
    border-right: 1px solid #BBBBBB;
    padding-left: 4px;
    padding-right: 4px;
}

.matrixShowSubQuestionValues {
    border-right: 1px solid #BBBBBB;
    padding-left: 4px;
    padding-right: 4px;
}

/* Portrait tablet to landscape and desktop */
@media (min-width: 768px) and (max-width: 979px) {
	body {
		padding: 30px;
	}

	.question-box {
		max-width: 100%;
	}

	.header-separator {
		width: @take-survey-width-small;
	}

	.practice-header {
		width: @take-survey-width-small;
	}
}

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
	body {
		padding: 15px;
	}
}

/* Landscape phones and down */
@media (max-width: 480px) {
	body {
		padding: 5px;
	}
	.question-number {
		display: none;
	}
}

.changeLanguage {
	width : 200px;
}

.row-error {
	background-color: #da4f49;
}

.ui-state-disabled {
    opacity: 1 !important;
}