.ws-ref-title-wrap {
	position:relative;
	z-index: 4;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.ws-ref-title-wrap > * {
	z-index: 1
}
.ws-ref-title-wrap:before {
    content: '';
    position: absolute;
    background: url(../images/ref_bgr.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: -1;
}

.title-quote {
	width:50px;
	height:50px;
	padding: 9px 10px;
	margin: 0 0 15px;
	border-radius: 5px;
	background-color: #2E7BE5;
	box-shadow: 1px 1px 4px rgba(46,123,229,0.3);
}
.title-quote svg {
	transform: rotate(180deg);
}


.dark-block h1.ws-ref-title {
	color: #000;
	font-family: Gilroy;
	font-weight: 700;
	position:relative;
}
.ws-ref-title-wrap:not(.ref-title) h1.ws-ref-title {
	padding-bottom: 14px;
	font-size: 2.25rem;
    margin: 0 0 15px;
}
.dark-block .ref-title h1.ws-ref-title {
	font-size: 1.75rem;
    margin: 5px 0 5px;
	padding: 0;
	text-align: center;
}
.ws-subtitle {
    color: #7f7f8a;
	font-size: 1rem;
	line-height: 1.2;
	font-style: italic;
	font-weight: 600;
	margin-bottom:15px;
	text-align: center;
	position:relative
}
.ws-ref-title-wrap.ref-title .ws-subtitle {
	padding-bottom: 17px;
	font-style: normal;
	font-weight: 400;
	color:#000
}
.ws-ref-title-wrap.ref-title .ws-subtitle span {
	display: inline-block;
    position: relative;
    padding: 0 7px;
}
.ws-ref-title-wrap.ref-title .ws-subtitle span:first-child {
	padding-left:0;
}
.ws-ref-title-wrap.ref-title .ws-subtitle span:last-child {
	padding-right:0;
}
.ws-ref-title-wrap.ref-title .ws-subtitle span:not(:last-child):after {
    content: '';
    position: absolute;
    right: -2px;
    margin-top: -1px;
    top: 50%;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #000;
}
.ws-ref-title-wrap.ref-title .ws-subtitle:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(50% - 65px); 
	width: 130px;
	height: 4px;
	border-radius: 2px;
	background-color: #2f7ae3;
}

.ws-subtitle a {
	text-decoration: none;
	color: #2f7ae3;
	cursor: pointer
}
@media (min-width:992px) {
	.ws-ref-title-wrap {
		width:290px; height:180px; 
		margin-left: 62px;
	}
	.ws-ref-title-wrap:before {
		top: -40px;
		left: calc(50% - 213px);
		width:426px;
		bottom: -110px;
	}
}
@media (min-width:768px) and (max-width:991px) {
	.ws-ref-title-wrap {
		width:270px; height:160px; 
		margin-left: 62px;
		margin-bottom: 10px;
	}
	.dark-block h1.ws-ref-title {
		padding-bottom: 10px;
	}
	.ws-ref-title-wrap:before {
		top: -30px;
		left: calc(50% - 185px);
		width:370px;
		bottom: -100px;
	}
}
@media (max-width:767px) {
	.ws-ref-title-wrap {
		width: 200px;
		height: 120px;
		margin-left: 26px;
		margin-bottom: 0;
		margin-top: 30px;
	}
	.dark-block h1.ws-ref-title {
		padding-bottom: 6px;
		font-size: 1.75rem
	}
	.dark-block .ref-title h1.ws-ref-title {
		font-size: 1.25rem;
	}
	h1.ws-ref-title:after {
		left: calc(50% - 40px);
		width: 80px;
		height: 3px;
	}
	.ws-ref-title-wrap:before {
		top: -20px;
		left: calc(50% - 130px);
		width: 260px;
		bottom: -100px;
	}
	.title-quote {
		margin: 0 0 10px;
		width:35px;
		height:35px;
		padding: 3px 7px;
	}
	.title-quote svg {
		width: 20px;
		height: 20px;
	}
	.ws-subtitle {
		margin-bottom:5px
	}
}
