/* MAIN */
.page-banner {
	background: url('/assets/img/page-banner-doctors.jpg') no-repeat scroll center center;
}

/* DOCTORS */
.select-specialty-holder {
	position: relative;
	z-index: 2;
	float: right;
}
.select-specialty {
	margin-bottom: 1rem;
	padding: 0.9rem 1rem 0.5rem;
	border: 1px solid #ccc;
	border-radius: 0.5rem;
	font-size: 1.6rem;
	outline: none;
}
.select-specialty-holder label {
	margin-right: 1rem;
}
.doctors-list { /* 5 imgs */
	clear: both;
	overflow: hidden;
	text-align: center;
}
.doctors-list .doctor {
	display: inline-block;
	width: 20%;
	padding: 1rem;
}
.doctor-details {
	float: left;
	padding: 0.5rem;
	width: 100%;
}
.doctor-wrapper {
	background: #f7f7f7;
	border: 1px solid #eee;
	overflow: hidden;
}
.doctor p {
	text-align: center;
	font-size: 1.8rem;
	font-weight: 500;
	line-height: 1.2;
}
.doctor .specialty {
	margin-top: 0.5rem;
	font-size: 1.6rem;
	font-weight: 400;
	text-align: center;
}
.doctor-profile {
	position: relative;
}
.doctor-profile img {
	width: 100%;
}
.doctor-profile .in-message {
	display: none;
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 1rem;
	background: #0c0;
	color: #fff;
	line-height: 1.1;
    font-size: 1.4rem;
    font-weight: 500;
}
.doctor-in .doctor-wrapper {
	border-color: #0c0;
	background: #0c0;
	color: #fff;
}
.doctor-profile.doctor-is-in .in-message {
	display: block;
}

@media screen and (max-width:980px) { /* 4 imgs */
	.doctors-list .doctor {
		width: 25%;
	}
	.doctors-list {
		margin-left: -1rem;
		margin-right: -1rem;
	}
}
@media screen and (max-width:768px) { /* 3 imgs */
	.doctors-list .doctor {
		width: 33.3%;
		padding: 1.25rem;
	}
	.doctor p,
	.doctor .specialty {
		font-size: 80%;
	}
}
@media screen and (max-width:640px) { /* 2 imgs */
	.doctors-list .doctor {
		width: 50%;
		padding: 0.75rem;
	}
}
@media screen and (max-width:480px) { /* 1 img */
	/* .doctors-list .doctor {
		width: 100%;
	} */
}