@import url('https://fonts.googleapis.com/css2?family=Tinos:ital@1&display=swap');

@media (min-width: 992px){
	h1 {
		padding-top: 20px !important;
	}
}

.testimonial-box {
	padding: 0 50px;
	margin-top: 40px;
}

.testimonial-box .comment {
	background-color: #c4c4c4;
    color: #202020;
    font-size: 0.86rem;
    padding: 30px 20px 30px 20px;
    margin-bottom: 20px;
    letter-spacing: 0.4px;
    position: relative;
    font-weight: 400;
    text-align: center;
    border-radius: 20px;
}

@media (max-width: 760px){
	.testimonial-box {
		padding: 0 10px 0 25px;
		margin-top: 20px;
	}
	
	.testimonial-box .comment {
		padding: 20px;
	}
}

.testimonial-box .comment::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -10px;
	height: 20px;
	width: 20px;
	background-color: #c4c4c4;
	transform: translateX(-50%) rotate(45deg);
}

.testimonial-box .name {
	text-align: center;
	margin-bottom: 0;
	font-weight: bold;
}

.testimonial-box .location {
	font-size: 0.7rem;
	color: #8d8e97;
	font-weight: 400;
	text-align: center;
}

.view-more {
	text-align: right;
}

.cd-see-all {
	color: #fff;
	font-family: 'Oswald', sans-serif;
	font-weight: 500;
	background-color: #202020;
	padding: 2px 7px;
	border-radius: 5px;
	font-size: 12px;
}

.cd-see-all:hover {
	text-decoration: none;
	color: #fff;
	background-color: #5a5a5a;
}

.wrap-testimonials *, .wrap-testimonials *::after, .wrap-testimonials *::before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.wrap-testimonials ul, .wrap-testimonials li {
	margin: 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	list-style: none;
}

.wrap-testimonials li::before {
	content: none;
}

.wrap-testimonials a {
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size:14px;
}

.cd-author .cd-author-info {
	display: inline-block;
	vertical-align: middle;
}

.cd-testimonials-all .cd-author .cd-author-info {
	text-align: left;
	line-height: 1.2;
	font-weight: 300;
}

.cd-testimonials-wrapper .cd-author .cd-author-info {
	text-align: center;
	line-height: 1.2;
}

.cd-author .cd-author-info li:first-child {
	font-size: 14px;
	font-size: 0.875rem;
}

.cd-author .cd-author-info li:last-child {
  font-size: 12px;
  font-size: 0.75rem;
  color: #6b6b70;
}

@media only screen and (min-width: 768px) {
	.cd-author .cd-author-info {
		line-height: 1.4;
	}
	
	.cd-author .cd-author-info li:first-child {
		font-size: 16px;
		font-size: 1rem;
	}
	
	.cd-author .cd-author-info li:last-child {
		font-size: 14px;
		font-size: 0.875rem;
	}
}

.cd-testimonials-all {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	background-color: #ffffff;
	z-index: 10000;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: opacity .3s 0s, visibility 0s .3s;
	-moz-transition: opacity .3s 0s, visibility 0s .3s;
	transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-testimonials-all .cd-testimonials-all-wrapper {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
	overflow: auto;
}

.cd-testimonials-all .cd-testimonials-all-wrapper > ul {
	width: 90%;
	max-width: 1170px;
	margin: 4em auto;
}

.cd-testimonials-all .cd-testimonials-all-wrapper > ul::after {
	clear: both;
	content: "";
	display: table;
}

.cd-testimonials-all .cd-testimonials-item {
	margin-bottom: 2em;
	opacity: 0;
	-webkit-transform: translate3d(0, 0, 0) scale(0.4);
	-moz-transform: translate3d(0, 0, 0) scale(0.4);
	-ms-transform: translate3d(0, 0, 0) scale(0.4);
	-o-transform: translate3d(0, 0, 0) scale(0.4);
	transform: translate3d(0, 0, 0) scale(0.4);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition: -webkit-transform .3s, opacity .3s;
	-moz-transition: -moz-transform .3s, opacity .3s;
	transition: transform .3s, opacity .3s;
}

.cd-testimonials-all p {
	position: relative;
	background: #c4c4c4;
	color: #202020;
	padding: 2em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	line-height: 1.4;
	border-radius: 0.25em;
	margin-bottom: 1em;
	font-family: 'Oswald', sans-serif;
	font-weight: 300;
}

.cd-testimonials-all p::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 2em;
	height: 0;
	width: 0;
	border: 8px solid transparent;
	border-top-color: #c4c4c4;
}

.cd-testimonials-all .cd-author {
	text-align: left;
	margin-left: 1.5em;
}

.cd-testimonials-all.is-visible {
	visibility: visible;
	opacity: 1;
	-webkit-transition: opacity .3s 0s, visibility 0s 0s;
	-moz-transition: opacity .3s 0s, visibility 0s 0s;
	transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-testimonials-all.is-visible .cd-testimonials-all-wrapper {
	-webkit-overflow-scrolling: touch;
}

.cd-testimonials-all.is-visible .cd-testimonials-item {
	opacity: 1;
	-webkit-transform: translate3d(0, 0, 0) scale(1);
	-moz-transform: translate3d(0, 0, 0) scale(1);
	-ms-transform: translate3d(0, 0, 0) scale(1);
	-o-transform: translate3d(0, 0, 0) scale(1);
	transform: translate3d(0, 0, 0) scale(1);
}

@media only screen and (min-width: 768px) {
	.cd-testimonials-all .cd-testimonials-item {
		width: 46%;
		margin: 0 2% 3em;
	}
	
	.cd-testimonials-all .cd-author {
		margin-left: 1em;
	}
}

@media only screen and (min-width: 1170px) {
	.cd-testimonials-all .cd-testimonials-item {
		width: 30%;
		margin: 0 1.6666% 3em;
	}
}

.close-btn {
	position: fixed;
	display: block;
	width: 40px;
	height: 40px;
	top: 10px;
	right: 5%;
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
}

.close-btn::before, .close-btn::after {
	content: '';
	position: absolute;
	display: inline-block;
	width: 2px;
	height: 24px;
	top: 8px;
	left: 19px;
	background-color: #39393c;
}

.close-btn::before {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
}

.close-btn::after {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
}