/* To avoid conflicts all "class", "id" and "name" start with "testengine_" */
/* All JavaScript variables start with "jstest_" */

:root {
    /* BLUE */
    --color-primary: #4876a3;
    --color-primary-hover: #376490;
    --color-red: #ff6666;
    --color-red-hover: #ff0000;

    /* GREEN */
    /*
    --color-primary: #36ea7f;
    --color-primary-hover: #31c16c;
    --color-red: #ff6666;
    --color-red-hover: #ff0000;
    */
}



#testengine h2 {
	text-align: center;
}

#testengine input[type=radio] {
	-moz-appearance: radio;
	-webkit-appearance: radio;
	-khtml-appearance: radio;
}
#testengine input[type=checkbox] {
	-moz-appearance: checkbox;
	-webkit-appearance: checkbox;
	-khtml-appearance: checkbox;
}

#testengine select {
	padding: 6px 8px;
	line-height: 16px;
	display: inline-block !important;
}

#testengine li {
	margin: 10px 0;
}

/* This part of CSS is in code generated for site. It is also in JavaScript. */
/* You could change styles but DO NOT CHANGE THESE CSS TITLES!!! */
#testengine {
	margin: 0 auto;
	text-align: center;
	font-size: 16px;
	line-height: 1.4;
}



/* This part of CSS is in template and you could change it along with template files. */
/* It is recommended to start all css titles with "testengine_" to escape conflicts with site css. */
.testengine_success {
	font-size: 14px;
	color: #333333;
	background: #99ff99;
	
	font-weight: normal;
	border: 1px solid #333333;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	padding: 5px;
	text-align: center !important;
}
.testengine_failue {
	font-size: 14px;
	color: #333333;
	background: #ffcccc;
	font-weight: normal;
	border: 1px solid #333333;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	padding: 5px;
	text-align: center !important;
}
.testengine_info {
	font-size: 14px;
	color: #333333;
	font-weight: normal;
	border: 1px solid #333333;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	padding: 5px;
	text-align: center !important;
}

.testengine_block {
	font-size: 14px;
	color: #333333;
	font-weight: normal;
	width: auto;
	height: auto;
	margin: 0 auto;
	padding: 15px;
	text-align: left;
	max-width: 900px;
	/*box-shadow: 0 1px 4px rgba(100, 100, 100, .1), -23px 0 20px -23px rgba(100, 100, 100, .4), 23px 0 20px -23px rgba(100, 100, 100, .4), 0 0 20px rgba(100, 100, 100, .05) inset;*/
}
.testengine_block_1 {}
.testengine_block_2 {}
.testengine_block_3 {}
.testengine_block_4 {}
.testengine_block_5 {}
	
.testengine_required_note {
	font-size: 14px;
	color: #333333;
	font-weight: normal;
	margin-top: 10px;
}
.testengine_note {
	font-size: 12px;
	color: #333333;
	font-weight: normal;
	font-style: italic;
}








.testengine_text {
}










.testengine_table {
	border-collapse:collapse;
}

.testengine_block_2 .testengine_table {
	border: none !important;
}

.testengine_block_2 .testengine_table tr {
	border-bottom: 1px solid #eeeeee;
}

.testengine_block_2 .testengine_table tr:last-child {
	border-bottom: none !important;	
}

.testengine_block_2 .testengine_td {
	border: none !important;
}

.testengine_td {
	font-size: 14px;
	color: #333333;
	font-weight: normal;
	text-align: left;
	border: 1px solid #999999;
	padding: 3px;
}
.testengine_td_field_title {
	width: 30%;
	text-align: left;
	font-weight: bold;
}
.testengine_td_radio {
	text-align: center;
	width: 30px;
}
.testengine_td_question {
	text-align: left;
}

.testengine_button_block {
	width: 100%;
	text-align: center !important;
	margin-top: 25px;
}
.testengine_input_checkbox {
	margin: 2px;
	width: 20px !important;
	height: 20px !important;
}
.testengine_input_radio {
	margin: 2px;
	width: 20px !important;
	height: 20px !important;
}
.testengine_input_text {
	font-size: 16px;
	line-height: 16px;
	color: #333333;
	font-weight: normal;
	margin: 2px;
	padding: 6px 10px;
	border: 1px solid #999999;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	margin: 2px;
	max-width: 95%;
}
.testengine_input_select {
	font-size: 16px;
	color: #333333;
	font-weight: normal;
	margin: 2px;
	/*padding: 5px;*/
	border: 1px solid #999999;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	margin: 2px;
}
#testengine_birth_d {
	width: 60px;
}
#testengine_birth_m {
	width: 60px;
}
#testengine_birth_y {
	width: 80px;
}
.testengine_textarea {
	font-size: 16px;
	color: #333333;
	font-weight: normal;
	padding: 5px;
	border: 1px solid #999999;
	border-radius: 6px;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	margin: 2px;
	max-width: 95%;
}
.testengine_alert_bold {
	font-size: 14px;
	color: #ff0000;
	font-weight: bold;
}
.testengine_alert_normal {
	font-size: 14px;
	color: #ff0000;
	font-weight: normal;
}
.testengine_copyright {
	font-size: 12px;
	color: #333333;
	font-weight: normal;
	text-align: left;
}
.testengine_version {
	font-size: 12px;
	color: #333333;
	font-weight: normal;
	text-align: right !important;
}


.testengine_line {
	cursor: pointer;
}
.testengine_line_cursor {
	background: #ffcccc;
}
.testengine_line_kbd {
	background: #6ac055;
}
.testengine_line_kbd .testengine_td {
	color: #ffffff;
}



#testengine_kbd_switch {
	display: inline-block;
	text-decoration: none !important;
	color: #ffffff;
	width: 84px;
	margin-right: 5px;
}
.testengine_kbd_slot {
	position: relative;
	width: 84px;
	height: 28px;
	border-radius: 14px;
	text-align: center;
}
.testengine_kbd_switch_on .testengine_kbd_slot {
	background: #6ac055;
}
.testengine_kbd_switch_off .testengine_kbd_slot {
	background: #e23c54;
}
#testengine_kbd_on, #testengine_kbd_off {
	font-weight: bold;
	font-size: 11px;
	line-height: 28px;
	color: #ffffff;
}
#testengine_kbd_on {
	margin-right: 30px;
}
#testengine_kbd_off {
	margin-left: 30px;
}
.testengine_kbd_handle {
	position: absolute;
	top: -5px;
	width: 38px;
	height: 38px;
	background: #dddddd;
	border: 1px solid #dddddd;
	border-radius: 19px;
}
.testengine_kbd_switch_on .testengine_kbd_handle {
	right: -4px;
}
.testengine_kbd_switch_off .testengine_kbd_handle {
	left: -4px;
}
#testengine_kbd_instruction {
	width: 100%;
	text-align: center;
	margin-bottom: 25px;
}
#testengine_kbd_instruction img {
	border: 5px solid #333333;
	max-width: 100%;
}





/* result */
.testengine-center {
	width: 100%;
	text-align: center;
}
.testengine-result-container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	min-height: 100px;
	text-align: left;
}
.graph-img {
	width: 100%;
	max-width: 972px;
	box-shadow: 0 1px 4px rgba(100, 100, 100, .1), -23px 0 20px -23px rgba(100, 100, 100, .4), 23px 0 20px -23px rgba(100, 100, 100, .4), 0 0 20px rgba(100, 100, 100, .05) inset;
}
.testengine-contacts {
    min-height: 20px;
    padding: 18px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e3e3e3;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
	text-align: left;
}
#testengine-debug-win {
	width: 100%;
	height: 100px;
	font-size: 12px !important;
	font-family: "Courier New" !important;
}

/* Адаптация */
@media screen and (max-width: 800px) {
	.graph-img-icon-box {
		width: 140px;
	}
	.graph-img-icon-shadow {
		font-size: 30px;
		font-weight: bold;
		text-align: center;
	}
}

#testengine_consent_div {
	font-style: italic;
}
.testengine-copyright {
	box-sizing: border-box;
	width: 100%;
	margin-top: 24px;
	margin-bottom: 24px;
	text-align: left;
	font-size: 14px !important;
}
