/**
* @package     SP Medical
* @subpackage  mod_spmedical_specialists
*
* @copyright   Copyright (C) 2010 - 2025 JoomShaper. All rights reserved.
* @license     GNU General Public License version 2 or later.
*/

.spmedical-specialist-list .spmedical-specialist {
	position: relative;
}
.spmedical-specialist-list .spmedical-specialist a img {
	border-radius: 5px;
}
.spmedical-specialist-list .medical-specialist-info {
	position: absolute;
	bottom: 0;
	left: 25px;
	padding-bottom: 20px;
	z-index: 11;
	opacity: 0;
	transition: 400ms;
}
.spmedical-specialist-list .medical-specialist-info .medical-specialist-name a {
	font-size: 18px;
	color: #fff;
	font-weight: 700;
	display: block;
}
.spmedical-specialist-list .medical-specialist-info .medical-specialist-name small {
	font-size: 15px;
	color: #fff;
}
.spmedical-specialist-list .spmedical-specialist::after {
	position: absolute;
	content: " ";
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(60, 111, 250, 0.9);
	border-radius: 5px;
	z-index: 10;
	transition: 400ms;
	opacity: 0;
}
.spmedical-specialist:hover:after {
	opacity: 1;
}
.spmedical-specialist:hover .medical-specialist-info {
	opacity: 1;
}
.spmedical-department-title{
	color: #fff;
}