/*
Theme Name: Cosmetic Digital Theme
Author: Cosmetic Digital
Author URI: www.cosmeticdigital.co.uk
Version: 1.0.0
*/

.zs-cards {
	position: relative;
	background-color: #e3ecf4;
	margin-bottom: -175px;
}
.zs-cards .container {
	max-width: 1780px !important;
	transform: translateY(-175px);
}
.zs-cards__item-head {
	display: flex;
	flex-direction: row;
	background-color: #fff;
}
.zs-cards__item-image {
	flex: 0 0 260px;
	overflow: hidden;
	position: relative;
}
.zs-cards__item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	position: absolute;
}
.zs-cards__item-content {
	padding: 25px;
}
.zs-cards__item-title {
	font-size: 29px;
	font-weight: 700;
	line-height: normal;
	color: var(--main-color);
	text-transform: uppercase;
}
.zs-cards__item-subtitle {
	line-height: normal;
	font-size: 23px;
	font-weight: 400;
	color: var(--main-color);
	text-transform: uppercase;
}
.zs-cards__item-text {
	font-size: 18px;
	font-weight: 400;
	line-height: normal;
	margin-top: 15px;
	color: #666;
}
.zs-cards__item-text b,
.zs-cards__item-text strong {
	font-weight: 700;
}
.zs-cards__item-link {
	color: var(--main-color);
	padding-top: 25px;
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	font-family: Montserrat, sans-serif;
}
.zs-cards__item-footer {
	text-align: center;
	padding: 15px;
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: Montserrat, sans-serif;
	
	background-color: var(--main-color);
}
.zs-cards__item-footer p {
	color: #fff;
	font-size: 19px;
	line-height: 1.4;
}
.zs-cards + section.welcome-container .container .info {
	margin-top: 0;
}

@media(max-width: 1600px) {
	.zs-cards__item-image {
		flex: 0 0 200px;
	}
}
@media(max-width: 1449px) {
	.zs-cards__item-image {
		flex: 0 0 300px;
	}

	.zs-cards__item-head {
		flex-direction: column;
	}

	.zs-cards__item-text br {
		display: none;
	}
}
@media(max-width: 991px) {
	.zs-cards .row {
		flex-wrap: wrap;
		row-gap: 30px;
        justify-content: center;
	}
	.zs-cards .row .col-4 {
		flex: 0 0 350px;
    	max-width: 350px;
	}
}
@media(max-width: 768px) {
	.zs-cards {
		margin-bottom: 0;
	}
	.zs-cards .container {
		transform: none;
		padding-top: 40px;
	}
}

/* Table block */
.zs-table {
	background-color: #e3ecf4;
	padding-bottom: 100px;
}
.zs-table .col-12 {
	padding: 0;
}
.zs-table__head {
	background-color: #fff;
	padding: 53px 75px 70px;
}
.zs-table__head h2 {
	color: #60636E;
	text-align: center;
	font-size: 36px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	display: block;
	max-width: 830px;
	margin: 0 auto 40px;
	font-family: Montserrat, sans-serif;
}
.zs-table__text {
	color: #666;
	text-align: center;
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	max-width: 820px;
	margin: 0 auto 50px;
	font-family: Montserrat, sans-serif;
}
.zs-table__table-text {
	color: #666;
	font-family: Montserrat, sans-serif;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	max-width: 820px;
	margin: 0 auto;
}

.zs-table__footer {
	background-color: #8B4992;
	color: #fff;
	padding: 50px 30px 60px;
}
.zs-table__footer h2 {
	color: #FFF;
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size: 36px;
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	text-transform: uppercase;
	margin: 0 0 20px;
}
.zs-table__footer-text {
	color: #FFF;
	text-align: center;
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
	margin-bottom: 30px;
}
.zs-table__footer-text a {
	color: #FFF;
	text-decoration: underline;
	text-underline-offset: 2px;
	text-decoration-thickness: 1px;
}
.zs-table__footer-text a:hover {
	text-decoration: none;
}
.zs-table__footer-cta-text {
	color: #FFF;
	text-align: center;
	font-family: Lora;
	font-size: 21px;
	font-style: normal;
	font-weight: 400;
	line-height: 1.4;
}
.zs-table__wrap {
	margin-bottom: 20px;
}
.zs-table .container {
	margin-top: -60px;
}
.zs-table table {
	table-layout: fixed;
	border-collapse: collapse;
}
.zs-table table th,
.zs-table table td {
	padding: 10px 5px;
	text-align: center;
}
.zs-table table thead th {
	text-align: center;
	color: #fff;
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
}
.zs-table table thead th:nth-child(2) {
	background-color: #8B4992;
	min-width: 200px;
}
.zs-table table thead th:nth-child(2) {
	border-bottom: 2px solid #8B4992;
	border-left: 2px solid #8B4992;
}
.zs-table table.zs-table__2columns thead th:nth-child(2) {
	border-right: 2px solid #8B4992;
}
.zs-table table thead th:nth-child(3) {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.40) 100%), #60636E;
	border-bottom: 2px solid #60636E;
	border-left: 2px solid #60636E;
	border-right: 2px solid #60636E;
	min-width: 200px;
}
.zs-table table tbody td:first-child {
	text-align: left;
	padding: 10px 15px;
	background-color: #8B4992;
	color: #FFF;
	font-family: Montserrat, sans-serif;
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
	border-bottom: 2px solid #fff;
}
.zs-table table tbody tr:last-child td:first-child {
	border-bottom: 2px solid #8B4992;
}
.zs-table table tbody td:nth-child(2) {
	border-bottom: 2px solid #8B4992;
}
.zs-table table tbody td:nth-child(3) {
	border-bottom: 2px solid #60636E;
	border-right: 2px solid #60636E;
}
.zs-table table.zs-table__2columns tbody td:nth-child(2) {
	border-right: 2px solid #8B4992;
}

.zs-table table.zs-table__3columns tbody td:nth-child(2) {
	border-right: 2px solid #60636E;
}
.zs-table__gray {
	text-align: center;
	color: #fff;
	padding: 15px;
	height: 84px;
	width: 100%;
	font-family: Montserrat, sans-serif;
	font-size: 19px;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
	background-color: #60636E;
	display: flex;
	align-items: center;
	justify-content: center;
}

@media(max-width: 991px) {
	.zs-table{
		padding-bottom: 60px;
	}
	.zs-table__head {
		padding: 40px;
	}
	.zs-table__gray,
	.zs-table table {
		min-width: 800px;
	}
	.zs-table__wrap {
		overflow-x: scroll;
	}
	.zs-table .container {
		margin-top: 0;
		padding-top: 40px;
	}
}

@media(max-width: 580px) {
	.zs-table {
		background-color: #fff;
	}
	.zs-table__head {
		padding: 0;
	}
}

body.page-template-default .zs-table + section.welcome-container .container .info {
	margin-top: 0;
}