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

.spmedical-specialist-list .spmedical-specialist {
	position: relative;
	border-radius: 5px;
	transition: .4s;
	margin-bottom: 30px;
}
.spmedical-specialist-list .spmedical-specialist:hover {
	-webkit-box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.30);
	box-shadow: 0 15px 35px 0 rgba(0, 0, 0, 0.30);
}
.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: 20px;
	line-height: 24px;
	color: #fff;
	font-weight: 700;
	display: block;
	margin-bottom: 10px;
}
.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;
}

/* Responsive */

@media (max-width: 1200px) {}

@media (max-width: 992px) {
	.mod-spmedical-specialists .spmedical-specialist-list {
		text-align: center;
	}
	.mod-spmedical-specialists .spmedical-specialist {
			display: inline-block;
			text-align: left;
	}
}

@media (max-width: 768px) {
	.spmedical-specialist-list .medical-specialist-info .medical-specialist-name a {
		font-size: 16px;
		line-height: 20px;
		margin-bottom: 0;
	}
	.spmedical-specialist-list .medical-specialist-info .medical-specialist-name small {
		font-size: 13px;
	}
}

@media (max-width: 576px) {
	.spmedical-departments .spmedical-department-wrap .spmedical-department-content .spmedical-department-title {
		max-width: 100%;
	}
}

@media (max-width: 470px) {
	
}
