/* Add here all your css styles (customizations) */
/*SUCCESS STORIES PAGE*/

@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,400i,500,700');

h3.small-caps {
	color: #9B9B9B;	
	font-family: 'Roboto';	
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 1px;
	line-height: 28px;
	text-transform: uppercase;
	margin-top: 20px;
}

.success-story .video-wrapper {
    /* width: 100%; */
    /* height: 500px; */
    /* position: relative; */
    /* overflow: hidden; */
    margin-bottom: 80px;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    z-index: 99;
    cursor: pointer;
}

.success-story .video-wrapper .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,.2);
	/*pointer-events: none;*/
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	z-index: 1;
	opacity: 1;
	transition: 500ms;
}

.success-story .video-wrapper .overlay i {
	color: #FFF;
	font-size: 30px;
}

.success-story .video-wrapper .overlay img {
	max-width: 64px;
}

.success-story .video-wrapper .overlay.invisible {
	opacity: 0;
}

.success-story .video-wrapper .overlay h1 {
	color: #FFFFFF;	
	font-family: 'Roboto';	
	font-size: 48px;
	font-weight: 300;
	line-height: 68px;
}

.success-story .video-wrapper .overlay .subtitle{
	color: #FFFFFF;	
	font-family: 'Roboto';	
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 2px;
	line-height: 14px;
	text-transform: uppercase;
}

.success-story .video-wrapper video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.success-story h2, .success-story p {
	font-family: 'Roboto';
	color: #4A4A4A;
	font-size: 16px;
	font-weight: 300;
	line-height: 32px;
}

.success-story .quote {
	padding: 50px 0;
}

.success-story .quote p {
	font-size: 18px;
	font-style: italic;
	line-height: 36px;
	font-weight: 500;
}

.success-story h2 {	
	font-size: 30px;
	line-height: 48px;
	margin: 15px 0 10px;
}

.success-story .aside img {
	width: 100%;
	max-width: 180px;
	margin: 0 auto;
	display: block;
}

.success-story .aside .partner-badge img {
	max-width: 180px;
}

.success-story .name-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.success-story .name-title p {
	opacity: 0.7;
	font-size: 18px;
	line-height: 28px;
	font-style: normal;
	margin-bottom: 0;
}

.success-story .name-title span {
	color: #B81315;	
	font-family: 'Roboto';	
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2px;
	line-height: 14px;
	text-transform: uppercase;
}

.success-story .aside ul {
	padding: 0;
	margin: 0;
	list-style-type: none;
}

.success-story .aside ul li {
	color: #4A4A4A;	
	font-family: 'Roboto';	
	font-size: 13px;
	line-height: 26px;
	margin: 20px 0;
	padding-left: 46px;
	position: relative;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	white-space: nowrap;
}

.success-story .aside ul li.flag {
	background: url('../../images/flag.png') no-repeat left top;
	background-size: contain;
}

.success-story .aside ul li.yacht {
	background: url('../../images/yacht.png') no-repeat left top;
	background-size: contain;
}

.success-story .aside ul li.base {
	background: url('../../images/pin.png') no-repeat left top;
	background-size: contain;
}

.success-story .aside ul li.partner {
	background: url('../../images/handshake.png') no-repeat left top;
	background-size: contain;
}

.success-story .aside ul li.ceo {
	background: url('../../images/user.png') no-repeat left top;
	background-size: contain;
}

.success-story .aside ul li.info {
	background: url('../../images/info.png') no-repeat left top;
	background-size: contain;
}

.full-width {
	width: 100%;
}

.flex-wrapper {
	display: flex;
}

.flex-wrapper img {
	width: 90px;
	height: 90px;
	object-fit: cover;
	border-radius: 50px;
	margin: 10px 20px 0 0;
	box-shadow: 0 0 0 1px #D3D3D3;
    border: 3px solid #FFF;
}

.map-small {
	width: 100%;
	height: 270px;
	border-radius: 5px;
	box-shadow: 0 2px 4px 0 rgba(0,0,0,0.5);
	overflow: hidden;
	position: relative;
}

.map-small iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.success-story .carousel-inner img {
	width: 100%;
	height: 400px;
	object-fit: cover;
}

@media screen and (max-width: 575px) {
	.success-story .video-wrapper .overlay h1 {
		font-size: 22px;
		line-height: 36px;
	}
	.success-story .video-wrapper {
		margin-bottom: 20px;
	}
	.success-story .video-wrapper .overlay img {
		max-width: 48px;
	}
	.success-story .carousel-inner img {
		height: 260px;
	}
}