/*************************** Общие настройки **********************************/

body {
    font-family: Trebuchet MS;
    font-size:14px;
    background: #FFF;
    margin:25px;
}

h1,h2,h3,h4,h5,h6 { color: #425768; margin-top:0px; }
h1 { font-weight: normal; }

p { margin-top:0px; }

#logo_embed{ float:right; }
#logo_embed a{
    display:block;
    width:120px;
    height:40px;
    background:url(/images/logo_embed.png) no-repeat;
}

/*********************************** Формы ************************************/

form .input, form .textarea, form .date-input {
    border: solid 1px #999;
    padding:2px;
    font-size:18px;
    background:url(../images/input.jpg) repeat-x left top #FFF;
}

form .input, form .textarea{
    width:95%;
}

form .date-input {
    width:140px;
    text-align: center;
    margin-right:5px;
}
form .label {
    padding:5px 0;
}

form .reg_input{
    width:240px;
    margin-bottom:2px;
}

form .reg_button{
    margin-top:10px;
    width:245px;
}

form .date_input,
form .short_input{
    border: solid 2px silver;
    width:  100px;
}

.error-input{
    background-color:#FFEFEF;
    border-color:#BB6666 !important;
    color:#660000;
}

form .field, form .field .label{
    margin-bottom:4px;
}

#add_event_form .field, #add_place_form .field{
    width:400px;
    margin-bottom:8px;
}

.odd{
    background:#ECECEC;
}

.survey_notice {
	padding:10px;
}

/******************************* Ссылки ***************************************/

a {	color:#0099CC; }
a:hover { color:#F60; }
a img{	border:none; }
a.alternate_link { color:gray; }

a.ajaxlink { text-decoration:none; border-bottom:dashed 1px #09C; }

/**************************** Сообщения сессии ********************************/

.sess_messages {
    padding: 10px;
    background: #ECECEC;
    margin-bottom: 15px;
    display: block;
    border-radius: 8px;
    -moz-border-radius: 8px;
    max-width: 500px;
    -webkit-border-radius: 8px;
    margin: 0 auto 20px auto;
}

.sess_messages div{
    padding-left:20px;
    line-height:16px;
    margin-bottom:2px;
}

.sess_messages .message_info {
    background:url(../images/icons/message_info.png) no-repeat left center;
}
.sess_messages .message_success {
    background:url(../images/icons/message_success.png) no-repeat left center;
    color: green;
}
.sess_messages .message_error {
    background:url(../images/icons/message_error.png) no-repeat left center;
    color: red;
}

/******************************************************************************/
/******************************** ОПРОС ***************************************/
/******************************************************************************/
.survey_questions {
    clear: both;
}

.survey_wrap{
	width:600px;
	max-width:100%;
	margin:0 auto;
}

.survey_wrap .survey_progress {
	background:#ecf0f1;
	overflow:hidden;
	width: 100%;
	max-width:600px;
	margin-bottom:20px;
	padding-left:10px;
	border-radius:4px;
}

.survey_wrap .survey_progress .bar,
.survey_wrap .survey_progress .value{
	float:left;
	height:20px;
	line-height:20px;
	text-align:center;
	cursor:default;
}
.survey_wrap .survey_progress .bar{
	width:90%;
	background:#FFF;
	height:4px;
	margin-top:8px;
	border-radius:4px;
}

.survey_wrap .survey_progress .value{
	width:10%;
	font-size:11px;
}

.survey_wrap .survey_progress .bar .progress{
	height:100%;
	background:#425768;
	border-radius:4px;
}

.survey_wrap .survey_timer {
	position:fixed;
	bottom:0;
	left:50%;
	width:120px;
	margin-left:-100px;
	height:50px;
	line-height:50px;
	text-align:center;
	background:rgba(76%, 23%, 17%, 0.85);
	border-radius:8px 8px 0 0;
}

.survey_wrap .survey_timer .time {
	font-family: 'Arial', sans-serif;
	font-size: 24px;
	color:#FFF;
	cursor:default;
}

.survey_wrap .survey_timer .time svg{
	fill:#FFF;
	opacity:0.5;
}

.survey_view .question {
    margin-bottom: 0px;
    padding:15px 0;
    overflow:hidden;
}

.survey_view .question .wrapper{
    float:left;
    padding-top:5px;
    overflow: hidden;
    width: calc(100% - 40px);
}

.survey_view .question .wrapper .note{
    clear:both;
    font-size:12px;
    margin-bottom:5px;
}

.survey_view .qt_static .wrapper .note + .yt-video-embed{
	margin-top:20px;
}

.survey_view .question .number{
    float: left;
    width: 24px;
    height: 24px;
    line-height: 24px;
    display: block;
    font-size: 12px;
    text-align: center;
    margin-right: 10px;
    margin-top:1px;
    border-radius: 0 30px 30px 0;
}

.survey_view .question .wrapper h3{
    float:left;
    margin-bottom: 0px;
    font-size:14px;
}

.survey_view .question .wrapper .quest_image{
	clear:both;
	margin:10px 0;
}

.survey_view .question .wrapper .red_star{
    color:red;
    margin-left:5px;
}

.survey_view .question .wrapper .body{
    clear:both;
    padding-bottom:4px;
    padding-top:5px;
}
.survey_view .question .wrapper .variant_image{
    margin-top:3px;
    margin-bottom: 15px;
    margin-left:25px;
}
.survey_view .question .wrapper .answer table td{
    text-align: center;
}
.survey_view .q_view .wrapper .answer table td.rating-scale-prefix{
	padding-right:20px;
}
.survey_view .q_view .wrapper .answer table td.rating-scale-postfix{
	padding-left:20px;
}

.survey_view .question .wrapper .answer .name_answer{
    width:515px;
}

.survey_view .question .wrapper .answer .addr_answer{
    width:515px;
    margin-bottom:6px;
}

.survey_view .question .wrapper .answer .addr_answer:last-child{
    margin-bottom:0px;
}

.survey_view .question .wrapper .answer .name_answer td,
.survey_view .question .wrapper .answer .addr_answer td{
    text-align: left;
    padding-right:15px
}

.survey_view .question .wrapper .answer .name_answer .input,
.survey_view .question .wrapper .answer .addr_answer .input {
    width:96%;
    margin-bottom:1px;
}

.survey_view .question .wrapper .hint{
    font-size:12px;
}

.survey_view .question .variant_free {
    padding-left:25px;
    padding-top:5px;
}

.survey_view .submit{
    font-size:16px;
}

.survey_view .question .wrapper .textarea{
    height:100px;
}

.survey_view .qt_static .wrapper h3 {
    font-size:18px;
    margin-bottom: 10px;
}

.survey_view .qt_static .wrapper .note{
    clear:both;
    font-size:14px;
    margin-top:10px;
}

.survey_view .matrix-table {
	width:100%;
	border-collapse:collapse;
	margin-top:10px;
}

.survey_view .matrix-table td,
.survey_view .matrix-table th{
	padding:10px;
	border:solid 1px #CBD1D8;
}

.survey_view .matrix-table th {
	background:#F4F6F8;
}

.survey_view .matrix-table .col {
	text-align:center;
}

.survey_view .matrix-table label {
	cursor:pointer;
	display:block;
	width:100%;
}

.survey_view .matrix-table label input {
	cursor:pointer;
}

.survey_view .matrix-table .hidden-label{
	display:none;
}

.survey_view .order-list,
.survey_view .order-list li {
	list-style:none;
	margin:0;
	padding:0;
}

.survey_view .order-list{
	display:inline-block;
	margin-top:10px;
}

.survey_view .order-list li {
	border:solid 1px #CBD1D8 !important;
	padding:10px;
	padding-left:36px;
	padding-right:15px;
	margin-top:-1px;
	background:url(/system/templates/_default/images/icons/pan-vertical.png) no-repeat 10px center #FFF;
	cursor:pointer;
}

.survey_view .order-list .sortable-placeholder {
	background: #c4e7ff;
}

.survey_view .poll_submit {
    float:left;
}

.survey_view .poll_results {
    font-size:11px;
    margin:5px 15px;
    float:left;
}

.survey_quiz_result {
    margin:15px 0;
    line-height: 24px;
}

.survey_quiz_result .percent { font-weight: bold; }
.survey_quiz_result .percent span { font-weight: normal; }

.survey_quiz_result .passed { color: green; }
.survey_quiz_result .failed { color: red; }

#dialog-required-answer{ display:none; }
#dialog-required-answer .quest_title{ font-weight: bold; }
#dialog-required-answer p { margin-top: 10px; margin-bottom: 5px; }

.survey_finish_promo{

}

.poll_stats .bar,
.poll_stats .bar_win{
    display:block;
    height:5px;
    margin-top:4px;
    margin-bottom: 10px;
}

.poll_stats .bar_win{}

.poll_stats .chart { margin-bottom:10px; }
.poll_stats .chart .series { padding:5px 0; font-size:12px; }
.poll_stats .chart .series_value { text-align: right; padding:0 4px; font-size:12px; }
