.tab-mh .image:hover {
	background-size: auto 120%;
	opacity: 0.8;
}

.tests .title {
	color: #222;
	font-size: 21px;
	line-height: 26px;
	letter-spacing: 0.2px;
	padding: 6px 0 12px;
}

.test a, .question-test a {
    border-bottom: 1px dashed;
    text-decoration: none;
    cursor: pointer;
}

table.list tr.head td {
    font-weight: bolder !important;
    padding: 4px 8px !important;
    background-color: #F5FCFF !important;
    border: solid 1px dodgerblue !important;
}

tr.test_is_accepted td {
    border: solid 1px #44BB00 !important;
}
tr.test_is_accepted {
    background-color: #F8FFF8;
}
tr.test_is_rejected td {
    border: solid 1px red !important;
}
tr.test_is_rejected {
    background-color: #FFF8F8;
}
tr.test_is_moderated td {
    border: solid 1px #44BB00 !important;
    /*border: solid 1px #F8C800 !important;*/
}
tr:hover {
    /*background-color: #EEE;*/
}

.tests .description {
	color: #888;
	font-size: 16px;
	line-height: 24px;
	padding: 0 0 65px;
}

.tests .control {
	padding: 7px 0;
	position: absolute;
	left: 324px;
	bottom: 0;
}

.tests .control a:not(.link) {
	font-size: 16px;
	margin-left: 10px;
	position: relative;
	top: -1px;
}

.tests > div {
	border-top: 1px #DDD solid;
	padding-top: 20px;
	margin-top: 20px;
	position: relative;
}

.tests > div:first-of-type {
	border-top: none;
	padding-top: 0;
	margin-top: 0;
}

.tests > div:nth-of-type(even) .image {
	margin-left: 24px;
	margin-right: 0;
	float: right;
}

.tests > div:nth-of-type(even) .control {
	left: 0;
}

.tests > div::after {
	content: ' ';
	clear: both;
	display: block;
}

.tests-filter {
    background: #F5FCFF;
    border: 1px #68b3e7 solid;
    padding: 12px 15px 15px;
    margin: 30px 0 25px;
    position: relative;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.tests-filter .filter-search {
    width: 50%;
    padding-right: 14px;
    float: left;
}
.tests-filter .filter-spec {
    width: 50%;
    padding-right: 14px;
    float: left;
}
.tests-filter div input[type=text], .tests-filter div select {
    width: 100%;
}
.tests-filter .filter-spec select {
    width: calc(100% - 104px);
    float: left;
}
.tests-filter .filter-spec input[type=submit] {
    width: 90px;
    float: right;
}

.tests-all {
    /*padding-top: 20px;*/
    /*background: #F5FCFF;*/
}

.tests-all .tests-all-inner {
	margin-left: -10px;
	margin-right: -10px;
}

.tests-all .tests-all-inner > div {
	width: calc((100% - 60px) / 3);
	margin: 0 10px 20px;
	float: left;
    height: auto;
    overflow: hidden;
    padding: 15px;
}

.tests-all .image {
	width: 100%;
	height: 100%;
	background-size: cover;
	margin: 0;
	position: relative;
	clear: both;
    text-decoration: none;
    color: #000;
}

.tests-all .image:hover {
	background-size: cover;
	opacity: 1;
}

/*.tests-all .image > span {*/
	/*padding: 0 12px 10px;*/
	/*/!*position: absolute;*!/*/
	/*/!*left: 0;*!/*/
	/*/!*bottom: 0;*!/*/
	/*display: table;*/
    /*height: 100%;*/
/*}*/

.tests-all .image .title {
	font-family: Segoe, sans-serif;
	font-size: 18px;
	line-height: 23px;
	display: table-cell;
    vertical-align: middle;
}

.tests-all .image .description {
	max-height: 0;
	color: #EEE;
	font-size: 15px;
	line-height: 1px;
	padding-top: 0;
	display: block;
	overflow: hidden;
	opacity: 0;
	-webkit-transition: all 0.4s ease-in-out;
	-webkit-transition-delay: 0s;
	-moz-transition: all 0.4s ease-in-out 0s;
	-o-transition: all 0.4s ease-in-out 0s;
	transition: all 0.4s ease-in-out 0s;
}

.tests-all .image:hover .description {
	max-height: 250px;
	line-height: 19px;
	padding-top: 10px;
	opacity: 1;
}

.tests-all .image:hover::before {
	background: rgba(70,70,70,0.75);
}

.test {
    border: 1px #68b3e7 solid;
}

.test_form {
    border: 1px #68b3e7 solid;
    padding: 15px 18px 35px;
}
label {
    font-weight: normal;
    margin-bottom: 0;
}
.test_name {
    font-size: 20px;
    font-weight: bold;
    padding-bottom: 20px;
}
.passed {
    display: none;
}
.questions {

}
.question-test {
    font-size: 18px;
}
.question-name {
    padding: 10px 0;
}
.answers {

}
.answers ul {
    padding-left: 0;
    padding-bottom: 20px;
}
.answer-test {
    background-color: rgba(166,214,242,0.8);
    /*display: block;*/
    min-height: 40px;
    width: 100%;
    box-sizing: border-box;
    border: #90ccef 1px solid;
    padding: 10px 30px 10px 14px;
    border-radius: 4px;
    margin: 7px 0 7px 0;
    position: relative;
    cursor: pointer;
}

.answer-test:hover {
    background-color: rgba(122,194,236,0.8);
    border-color: #63b8e9;
}

.answer-test.selected {
    background-color: rgba(122,194,236,0.8);
    border-color: #63b8e9;
}

.answer_image, .question_image {
    text-align: center;
}
.answer_image, .question_image {
    padding-bottom: 10px;
    /*height: 100%;*/
}
.answer_image img {
    border-radius: 4px;
}
.question_image img {
    max-width: 100%;
    border-radius: 4px;
}

.answer-test.selected.rigth, .answer-test.rigth {
    background-color: #91db71;
    border-color: #91db71;
}
.answer-test.selected.wrong, .answer-test.wrong {
    background-color: #f89693;
    border-color: #f89693;
}
.column2 {
    /*column-count: 2;*/
    margin-left: -7px;
    margin-right: -7px;
}
.column2 > .answer-test {
    display: inline-block;
    float: left;
    width: calc(50% - 14px);
    margin: 7px 7px 7px 7px;
}
.test-passed-icon {
    position: absolute;
    bottom: 10px;
    right: 15px;
    padding-top: 10px;
    color: #888;
}
.test-name {
    padding-bottom: 120px;
}
.test-btns {
    position: absolute;
    bottom: 10px;
    right: 15px;
    width: calc(100% - 30px);
}
.test-hr {
    margin: 0 -15px;
    border-top: 1px solid #68b3e7;
}
.profile .test-name {
    padding-bottom: 90px;
}
input[type=submit] {
    float: right;
}
.red {
    color: red;
}
i:hover.hint span {
    width: 350px;
}

/* Стили для блоков после теста */
.diagnoses {
    border-top: 1px #DDD solid;
    padding-top: 20px;
    margin-top: 20px;
}
.diagnoses > span {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}
.recommended-clinics {
    border-top: 1px #DDD solid;
    padding-top: 18px;
    margin-top: 20px;
}
.recommended-clinics h3 {
    color: #444;
    font-family: 'Arimo';
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px;
}

@media (max-width: 1215px) {

	.tests-all .tests-all-inner > div {
		width: calc((100% - 40px) / 2);
	}

}

@media (max-width: 849px) {

	.tests-all .tests-all-inner > div {
		width: calc((100% - 32px) / 2);
		margin: 0 6px 12px;
	}

	.tests-all .image .title {
		font-size: 16px;
		line-height: 21px;
	}

}

@media (max-width: 767px) {

	.tests > div {
		padding-top: 12px;
		margin-top: 12px;
	}

	.tests .title {
		font-size: 15px;
		line-height: 20px;
		letter-spacing: 0;
		padding: 10px 0 6px;
	}

	.tests .description {
		font-size: 13px;
		line-height: 18px;
		padding: 0 0 2px;
	}

	.tests .control {
		padding: 0;
		position: static;
	}

	.tests .control a:not(.link) {
		font-size: 14px;
		text-align: center;
		margin: 8px 0 0;
		position: static;
		display: block;
	}

	.tests-all .tests-all-inner {
		margin: 0;
	}

	.tests-all .tests-all-inner > div {
		width: 100%;
		margin: 0 0 12px;
	}

	.tests-all .tests-all-inner > div:last-of-type {
		margin: 0;
	}

	.tests-all .image {
		height: 250px;
	}

	.tests-all .image .title {
		font-size: 15px;
		line-height: 19px;
	}

	.tests-all .image .description {
		font-size: 12px;
	}

	.tests-all .image:hover .description {
		line-height: 16px;
		padding-top: 8px;
	}

    .column2 > .answer-test {
        width: calc(100% - 14px);
    }
    .test-wrap {
        min-width: 450px;
    }
    .answer_image, .question_image {
        overflow: hidden;
    }

}
