#staff div, #staff li, #staff p {
	box-sizing: border-box;
	display: block;
	position: relative;
}
#staff ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
#staff {
	width: 1050px;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: space-between;
}
#staff #staff_prof {
	width: 25%;
}
#staff #staff_prof li {
	padding: 5px 10px;
	cursor: pointer;
	font-family: 'PT Sans', sans-serif;
}
#staff #staff_prof li:hover {
	background: #d0d0d0;
}
#staff #staff_prof li.active {
	background: #45a897;
	color: #fff;
}
#staff #staff_prof li.active:hover {
	background: #45a897;
}
#staff #workers_list {
	width: 75%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: flex-start;
	justify-content: flex-start;
	align-items: flex-start;
}
#staff .worker {
	display: none;
	width: 30%;
	padding: 0 10px 40px;
}
#staff .worker.active {
	display: block;
}
#staff .img {
	display: block;
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 250px;
	margin: 0 20px 20px 0;
}
#staff img {
	position: absolute;
	width: 106%;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
#staff .worker .name {
	font-family: 'PT Sans', sans-serif;
	color: #3a3a3a;
	font-weight: bold;
	font-size: 24px;
	line-height: 30px;
	margin: 0 0 10px 0;
}
#staff .worker .post {
	font-family: 'PT Sans', sans-serif;
	font-weight: bold;
	fon-size: 16px;
	color: #666;
	margin: 0;
}

#staff a.prodoctorov {
	display: inline-block;
	position: relative;
	padding: 10px 20px 10px 50px;
	margin-top: 20px;
	font-size: 16px;
}
#staff a.prodoctorov::after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 2px;
	width: 43px;
	height: 43px;
	background: center / contain no-repeat url('https://aliance-med.ru/wp-content/uploads/staff/logo_prodoctorov.png');
}
#staff select {
	display: none;
	border: 1px solid #45a897;
    width: 100%;
    padding: 7px 10px;
    margin: 0 0 20px 0;
    font-family: 'PT Sans', sans-serif;
    color: #505050;
}
#staff select option:checked {
  background: #45a897;
  color: #fff;
}

@media (max-width: 800px) {
	#staff {
		width: 100%;
	}
	#staff #staff_prof {
		width: 30%;
	}
	#staff #workers_list {
		width: 70%;
	}
	#staff .worker {
		width: 50%;
	}
}

@media (max-width: 640px) {
	#staff, #staff #staff_prof, #staff #workers_list {
		width: 100%;
	}
	#staff .worker {
		width: 50%;
	}
	#staff select {
		display: block;
	}
	#staff ul {
		display: none;
	}
}
@media (max-width: 399px) {
	#staff .worker {
		width: 100%;
	}
}