﻿.ms-rte-wpbox {
	margin-left: -10px;
}
.team-list {
	font-size: 0;
	margin: 0 0 100px;
	text-align: center;    
	padding: 0;
    list-style: none;	
}

.team-list li {
	max-width: 325px;
	margin: 0 auto 31px;
	color: #fff;
	position: relative;
	overflow: hidden;
	float: left;
}

.team-list li + li {
	margin-top: 0px !important;
}

.team-list li.click-active .desc {
	-webkit-transform: translateY(0);
	-ms-transform: translateY(0);
	transform: translateY(0);
}

.team-list li.click-active .headshot {
	background: #dfeef2;
}

.team-list .desc {
	-webkit-transition: -webkit-transform .3s ease-in-out;
	transition: transform .3s ease-in-out;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	background: rgb(15, 118, 145);
	-webkit-transform: translateY(100%);
	-ms-transform: translateY(100%);
	transform: translateY(100%);
	bottom: 55px;
	text-align: left;
	padding: 28px 54px 8px 30px;
}

.team-list a, .team-list a:visited {
	color: #0f7691;
}

.desc P {
    color: #fdf7f7;
}

.team-list .desc .jcf-scrollable-wrapper {
	width: 100% !important;
}

.team-list .headshot {
	text-transform: uppercase;
	font: 15px/19px "osp-dindin", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
	border-top: 1px solid #fff !important;
	border: 1px solid #d1e4e9;
	display: block;
	background: #dfeef2;
	position: relative;
	text-align: center;
	padding: 9px 5px 11px;
	z-index: 2;
	min-height: 80px;
	box-sizing: border-box;
}

.team-list .headshot .name {
	display: block;
	font-weight: bold;
}

.team-list .headshot:hover {
	background: #f2f9fb;
}

.team-list .headshot:hover:after {
	background: #f2f9fb;
}

.team-list .jcf-scrollable {
	height: 235px !important;
	overflow: hidden;
	width: 100% !important;
}

.team-list .jcf-scrollbar-vertical .jcf-scrollbar-dec,
.team-list .jcf-scrollbar-vertical .jcf-scrollbar-inc {
	height: 0;
}

@media (max-width: 767px) {
	.team-list li {
		float: none;
	}
}

@media (min-width: 768px) {
	.team-block {
		padding: 0;
		margin: 0;
	}

	.team-block .block-container {
		padding: 0;
	}

	.team-list {
		margin: 0;
	}

	.team-list li {
		display: inline-block;
		vertical-align: top;
		width: 50%;
		padding: 0 10px;
		max-width: 372px;
		margin-bottom: 17px;
	}

	.team-list .desc {
		left: 10px;
		right: 10px;
	}
}

@media (min-width: 1025px) {
	.team-list li.click-active .headshot:after {
		background: #dfeef2;
		content: "-";
	}

	.team-list .headshot {
		text-align: left;
		padding: 10px 72px 11px 10px;
	}

	.team-list .headshot:after {
		-webkit-transition: background .3s ease-in-out;
		transition: background .3s ease-in-out;
		content: "+";
		position: absolute;
		width: 60px;
		top: 0;
		bottom: 0;
		right: 0;
		border-left: 1px solid #d5d5d5;
		text-align: center;
		font-size: 36px;
		font-weight: bold;
		line-height: 52px;
		padding: 12px 9px 12px 12px;
	}
}


/* custom scrollbars styles */

.jcf-scrollable-wrapper {
	box-sizing: content-box;
	position: relative;
}

.jcf-scrollbar-vertical {
	position: absolute;
	cursor: default;
	background: rgba(255, 255, 255, .15);
	width: 10px;
	bottom: 0;
	right: -30px;
	top: 6px;
}

.jcf-scrollbar-vertical .jcf-scrollbar-dec,
.jcf-scrollbar-vertical .jcf-scrollbar-inc {
	background: #bbb;
	height: 14px;
	width: 10px;
	left: 0;
	top: 0;
}

.jcf-scrollbar-vertical .jcf-scrollbar-inc {
	top: auto;
	bottom: 0;
}

.jcf-scrollbar-vertical .jcf-scrollbar-handle {
	background: rgba(255, 255, 255, .7);
	height: 1px;
	width: 10px;
}

.jcf-scrollbar-horizontal {
	position: absolute;
	/*background: #e3e3e3;*/
	right: auto;
	top: auto;
	left: 0;
	bottom: 0;
	width: 1px;
	height: 14px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-dec,
.jcf-scrollbar-horizontal .jcf-scrollbar-inc {
	display: inline-block;
	vertical-align: top;
	overflow: hidden;
	/*background: #bbb;*/
	height: 14px;
	width: 14px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-inc {
	left: auto;
	right: 0;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-slider {
	display: inline-block;
	position: relative;
	height: 14px;
}

.jcf-scrollbar-horizontal .jcf-scrollbar-handle {
	position: absolute;
	/*background: #888;*/
	height: 14px;
}

.jcf-scrollbar.jcf-inactive .jcf-scrollbar-handle {
	visibility: hidden;
}

.jcf-scrollbar.jcf-inactive .jcf-scrollbar-dec,
.jcf-scrollbar.jcf-inactive .jcf-scrollbar-inc {
	background: #e3e3e3;
}

/*End custom scrollbar styles*/