/* 2 ROWS 2 COLUMNS */

section.x4column{
	padding: 90px 5% 90px;
	margin: 0 0 0;
	width: 100%;
	height: auto;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

section.x4column.white {
	background: #f2f2f2;
}

/*section.x4column.white:before {
	background: url('top-white-curve.png') no-repeat;
	  background-size: 100% 100%;
	  background-position: center center;
	  content: '';
	  position: absolute;
	  width: 100%;
	  display: block;
	  height: 34px;
		left: 0;
		top: -33px;
	  z-index: 30;
} */

section.x4column p.subtitle{
	color: #fff;
	font-size: 1.5em;
}
section.x4column h2{
	position:relative;
	margin-bottom: 25px;
	padding-bottom: 5px;
}

section.x4column h2.main-title {
	text-align: center;
	margin-bottom: 45px;
}

section.x4column .top-wrapper {
	margin: 0 0 70px 0;
}

section.x4column .top-wrapper,
section.x4column .bottom-wrapper{
	display:flex;
	min-height:400px;
	max-width: 1200px;
	  width: 100%;
}

section.x4column.white .button {
	padding: 0.5em 1.5em;
	border: 1px solid var(--second-color);
	background: var(--white-color);
	color: var(--main-color);
	display: inline-block;
	margin: 20px 0 0 0;
	font-weight: 500;
	transition: all 0.3s;
}

section.x4column.white .button:hover {
	background: var(--main-color);
	  border: 1px solid var(--darkest-purple);
	  color: var(--lighter-gold);
	  transition: all 0.3s;
}

section.x4column .col{
	flex: 0 0 47.5%;
	position: relative;
	margin-right: 5%;
}

section.x4column .top-wrapper .col.content {
	margin-right: 0;
	max-width: none;

}

section.x4column .col.content {
	justify-content: center;
	  display: flex;
}

section.x4column .bottom-wrapper .col.image {
	margin-right: 0;
	max-width: none;
}

section.x4column .col .image{
	overflow: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size:cover;
	background-position:center center;
	overflow: hidden;
}

section.x4column .col.image:before {
	position: absolute;
	content:'';
	border: 1px solid var(--second-color);
	margin: 20px;
	width: calc(100% - 40px);
	height: calc(100% - 40px);
	z-index: 2;
}



section.x4column .col .image img{
	width:100%;
	height:100%;
	object-fit:cover;

}

section.x4column .col .info{
	max-width: 575px;
	padding: 90px 0;
}

@media screen and (min-width:1200px){
	section.x4column .col .info{
		margin-left:calc(575px / 100 * 5);
	}
	section.x4column .col .info{
		margin-left:calc(575px / 100 * 5);
	}
	section.x4column .wrapper{
		display:flex;
		min-height:500px;
	}
}

section.x4column ul{
	list-style:none;
}

section.x4column ol{
	list-style:none;
	margin: 30px 0;
}

section.x4column ul li {
	margin: 10px 0;
	line-height: 1.3em;
	font-weight: 600;
	font-size:1em;
	padding-left:32px;
	position:relative;
	margin: 30px 0;
}

section.x4column ol li {
	margin: 10px 0;
	  line-height: 1.3em;
	  font-weight: 500;
	  font-size: 1em;
	  padding-left: 34px;
	  position: relative;
	  background: var(--lighter-gold);
	  padding: 20px 20px 20px 30px;
	  counter-increment: list-counter;
}

section.x4column ol li:before {
	font-family: var(--main-font);
	content: counter(list-counter);
	  background: var(--third-color);
	  position: absolute;
	  top: -8px;
	  left: -12px;
	  width: 35px;
	  height:35px;
	  border-radius: 50%;
	 border: 3px solid var(--white-color);
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  color: var(--white-color);
	  text-align: center;
	  font-size: 1em;
}

section.x4column ul li:before{
	content: '\f138';
	  position: absolute;
	  top: 0;
	  font-size: 1.5em;
	  left: 0;
	  font-family: 'Font Awesome 5 Pro';
	  color: var(--second-color);
	  font-weight: 300;
}
section.x4column .wrapper .col.content{
	display:flex;
	align-items: center;
}

@media screen and (max-width:800px){
	section.x4column{
		
	}
	
	section.x4column h2.main-title {
		text-align: left;
	}
	
	section.x4column .top-wrapper {
		flex-direction: column;
	}

	section.x4column .bottom-wrapper {
		flex-direction: column-reverse;
	}
	section.x4column .col{
		flex:0 0 100%;
		margin:0 0;
	}
	
	section.x4column .col.content .info {
	margin: 0;
	max-width: none;
	}
	
	section.x4column .col.image{
		padding-bottom:60%;
		flex:0 0 95%;
		margin-left:0%;
	}
	
	section.x4column .col .info{
		max-width: 575px;
		padding: 45px 0;
	}
	
}

/* purple styling */

section.x4column.purple {
	background: var(--lighter-purple);
}

/*section.x4column.purple:before {
	background: url('top-purple-curve.png') no-repeat;
	  background-size: 100% 100%;
	  background-position: center center;
	  content: '';
	  position: absolute;
	  width: 100%;
	  display: block;
	 height: 34px;
	   left: 0;
	   top: -33px;
	  z-index: 30;
}*/



section.x4column.purple h4 {
	color: var(--light-grey);
}

section.x4column.purple p {
	color: var(--light-grey);
}

section.x4column.purple .button {
	padding: 0.5em 1.5em;
	border: 1px solid var(--second-color);
	background: var(--lighter-purple);
	color: var(--white-color);
	display: inline-block;
	margin: 20px 0 0 0;
	font-weight: 500;
	color: var(--light-grey);
	transition: all 0.3s;
}

section.x4column.purple .button:hover {
	background: #62304a;
	border: 1px solid var(--third-color);
	transition: all 0.3s;
}

section.x4column.purple ul li {
	color: var(--white-color);
	font-weight: 500;
}

section.x4column.purple ol li {
	background: var(--darker-purple);
	color:var(--white-color);
	font-weight: 400;
}

section.x4column.purple ul li:before { 

	color: var(--second-color);
	font-weight: 300;
}

section.x4column.purple ol li:before { 
	background: var(--second-color);
	color: var(--white-color);
	border: 3px solid var(--lighter-purple);
}

