.custom_imagebox_grid {
	text-align: center;
	margin-bottom: 30px;
	padding: 50px 0;
}
.custom_imagebox_grid.image {
	width: 100%;
	height: auto;
	background-position: center;
	position: relative;
	background-color: #fff;
}

.custom_imagebox_grid .special {
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	background-position: center;
	background-size: 2250px 1500px;
	background-repeat: no-repeat;
	background-attachment: fixed;
}

.custom_imagebox_grid .main-wrapper {
	max-width: 1150px;
	margin: 0px auto;
}

.custom_imagebox_grid .more {
	color: #ffffff;
    background: #000000;
    font-family: var(--font-body-reg);
    font-size: 25px;
    line-height: 28px;
    text-transform: uppercase;
    padding: 15px 30px;
    clear: both;
    display: inline-block;
    margin: 40px auto 10px;
}

.custom_imagebox_grid.image .more {
	border: 1px solid #fff;
	color: #fff;
	background: transparent;
	height: 60px;
}

.custom_imagebox_grid h1 {
	font-family: var(--font-body-bold);
	font-size: 202px;
	line-height: 150px;
	text-transform: uppercase;
	margin: 0 0 50px;
	color: #000;
}
.custom_imagebox_grid h4 {
	font-family: var(--font-body-bold);
	font-size: 50px;
	line-height: 40px;
	text-transform: uppercase;
	margin-bottom: 40px;
	color: #000;
}

.custom_imagebox_grid .items {
	width: 100%
}
.custom_imagebox_grid .items a {
	width: 50%;
	float: left;
}
.custom_imagebox_grid .item {
	position: relative;
}
.custom_imagebox_grid .item img {
	width: 100%;
}

.custom_imagebox_grid .item .wrapper {
	margin: 10px;
	position: relative;
	-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
	box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.2);
	overflow: hidden;
}
.custom_imagebox_grid .item .inner {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	height: 124px;
	background: rgba(0,0,0, .5);
	color: #fff;
	z-index: 1;
	padding: 20px;
	text-align: left;
	display: flex;
	padding: 0;
}

.custom_imagebox_grid .item .aligner {
	padding: 20px;
}

.custom_imagebox_grid .item .content {
	width: calc(100% - 122px);
	display: flex;
	align-items: center;
}
.custom_imagebox_grid .item .arrow {
	background: #fff;
	font-size: 50px;
	line-height: 50px;
	width: 124px;
	height: auto;
	color: #999999;
	align-items: center;
  	justify-content: center;
  	display: flex;
}
.custom_imagebox_grid .arrow .icon {
	background: url(/includes/public/assets/images/common/arrow-right-grey.png) no-repeat;
	background-size: contain; 
	width: 44px;
	height: 43px;
}


.custom_imagebox_grid .item .title {
	font-family: var(--font-body-bold);
	font-size: 23px;
	line-height: 23px;
	padding-bottom: 10px;
	text-transform: uppercase;
}
.custom_imagebox_grid .item .description,
.custom_imagebox_grid .item .description p {
	font-family: var(--font-body-reg);
	font-size: 18px;
	line-height: 18px;
}

.custom_imagebox_grid.style-1 .item .title {
	font-family: var(--font-body-reg);
	font-size: 40px;
	line-height: 38px;
	padding-bottom: 0;
	text-transform: uppercase;
}
.custom_imagebox_grid.style-1 .item .description {
	font-family: var(--font-body-bold);
	font-size: 40px;
	line-height: 38px;
	text-transform: uppercase;
}

.custom_imagebox_grid.style-3 {	
	padding-top: 50px;
	padding-bottom: 50px;
}
.custom_imagebox_grid .main-wrapper {
	display: inline-grid;
}
.custom_imagebox_grid.style-3 .item .content {
	justify-content: left;
	padding-left: 10px;
}
.custom_imagebox_grid.style-3 .items a.first .content {
	width: calc(100% - 124px);
}
.custom_imagebox_grid.style-3 .items a {
	width: 33%;
}
.custom_imagebox_grid.style-3 .items a.first {
	width: 67%;
}
.custom_imagebox_grid.style-3 .item .content {
	width: 100%;
}
.custom_imagebox_grid.style-3 .description {
	display: none;
}
.custom_imagebox_grid.style-3 .description {
	padding: 0;
}
.custom_imagebox_grid.style-3 .items a .title {
	padding: 0;
}
.custom_imagebox_grid.style-3 .items a.first .title {
	padding-bottom: 10px;
}

.custom_imagebox_grid.style-3 .items a.first .description {
	display: flex;
	padding-bottom: 0px;
}
.custom_imagebox_grid.style-3 .arrow {
	display: none;
}
.custom_imagebox_grid.style-3 .items a.first .arrow {
	display: flex;
}

.custom_imagebox_grid.style-3 .item .inner {
	min-height: 60px;
	height: auto;
}

.custom_imagebox_grid.style-3 .item .aligner {
	padding: 10px;
}
.custom_imagebox_grid.style-3 .items a.first .aligner {
	padding-left: 20px;
}
.custom_imagebox_grid.style-3 .items a.first .title {
	font-size: 40px;
	line-height: 40px;
}

.custom_imagebox_grid.image h1,
.custom_imagebox_grid.image h4 {
	color: #fff;
}
.custom_imagebox_grid.image.image h1 {
	text-shadow: 0px 5px 1px rgba(255,255,255,0.1);
}
.custom_imagebox_grid.image.image h4 {
	text-shadow: 0px 3px 1px rgba(255,255,255,0.1);
}


@media only screen and (max-width: 73em) { 
	.custom_imagebox_grid h1 {
		font-size: calc(30px + (150 - 30) * ((100vw - 320px) / (1000 - 320)));
		line-height: calc(30px + (150 - 30) * ((100vw - 320px) / (1000 - 320)));
		margin-bottom: 5px;
	}
	.custom_imagebox_grid h4 {
		font-size: calc(20px + (32 - 20) * ((100vw - 320px) / (1000 - 320)));
		line-height: calc(20px + (32 - 20) * ((100vw - 320px) / (1000 - 320)));
	}
}
@media only screen and (max-width: 64em) { 
	.custom_imagebox_grid {		
		height: auto;
		background-size: auto;
	    background-repeat: no-repeat;
	    background-attachment: default;
	}
	.custom_imagebox_grid .arrow .icon {		
		width: 22px;
		height: 23px;
	}
	.custom_imagebox_grid .item .wrapper {
		margin: 15px 10px;
	}
	.custom_imagebox_grid.image .more {
		background: #000;
	}
	.custom_imagebox_grid .more {
		margin: 20px auto 0;
	}	
	.custom_imagebox_grid.style-1 .more,
	.custom_imagebox_grid.style-2 .more {
		margin: 30px auto 0;
	}	

	.custom_imagebox_grid.style-1 .item .title {
		font-size: 27px;
		line-height: 25px;
	}
	.custom_imagebox_grid.style-1 .item .description {
		font-size: 27px;
		line-height: 25px;
	}
	.custom_imagebox_grid.style-1 .item .inner,
	.custom_imagebox_grid.style-2 .item .inner {
		height: 85px;
	}
	.custom_imagebox_grid.style-1 .item .content,
	.custom_imagebox_grid.style-2 .item .content {
		width: calc(100% - 85px);
	}
	.custom_imagebox_grid.style-1 .item .arrow,
	.custom_imagebox_grid.style-2 .item .arrow {
		width: 85px;
	}
	.custom_imagebox_grid.style-1 .arrow .icon,
	.custom_imagebox_grid.style-2 .arrow .icon {
		width: 30px;
		height: 30px;
	}


	.custom_imagebox_grid.style-2 .item .title {
		padding-bottom: 0;
	}
	.custom_imagebox_grid.style-2 .item .description {
		display: none;
	}



	.custom_imagebox_grid.style-3 .main-wrapper {
		padding: 0px 20px;
	}
	.custom_imagebox_grid.style-3 .items a {
		width: 50%;
	}
	.custom_imagebox_grid.style-3 .items a.first {
		width: 100%;
		margin-top: 10px;
	}
	.custom_imagebox_grid.style-3 .items a.first .description {
		display: none;
	}
	.custom_imagebox_grid.style-3 .items a .title {
		font-size: 14px;
		line-height: 16px;
		padding: 0;
	}
	.custom_imagebox_grid.style-3 .items a.first .title {
		font-size: 20px;
		line-height: 24px;
		padding: 0;
	}
	.custom_imagebox_grid.style-3 .items a.first .content {
		width: calc(100% - 64px);
	}
	.custom_imagebox_grid.style-3 .item .aligner {
		padding: 5px;
	}
	.custom_imagebox_grid.style-3 .item .wrapper {
		margin: 0;
	}
	.custom_imagebox_grid.style-3 .items a .wrapper {
		margin-bottom: 20px;
		overflow: hidden;
	}
	.custom_imagebox_grid.style-3 .items a:nth-child(2) .wrapper {
		margin-right: 10px;
	}
	.custom_imagebox_grid.style-3 .items a:nth-child(3) .wrapper {
		margin-left: 10px;
	}	
	.custom_imagebox_grid.style-3 .items a.first .arrow {
		width: 64px;
	}
	.custom_imagebox_grid.style-3 .items a.first .inner {
		height: 64px;
	}
	.custom_imagebox_grid.style-3 .items a .inner {
		height: auto;
		min-height: 30px;
	}
}

@media only screen and (max-width: 40em) { 
	.custom_imagebox_grid {
		margin-bottom: 0;
	}
	.custom_imagebox_grid h1 {
		font-size: calc(50px + (64 - 50) * ((100vw - 320px) / (640 - 320)));
		line-height: calc(50px + (64 - 50) * ((100vw - 320px) / (640 - 320)));
	}
	.custom_imagebox_grid h4 {
		font-size: calc(28px + (32 - 28) * ((100vw - 320px) / (640 - 320)));
		line-height: calc(28px + (32 - 28) * ((100vw - 320px) / (640 - 320)));
		margin-bottom: 15px;
	}

	.custom_imagebox_grid.style-1 .item .wrapper,
	.custom_imagebox_grid.style-2 .item .wrapper {
		margin: 15px 0px;
	}

	.custom_imagebox_grid.style-1 .items a,
	.custom_imagebox_grid.style-2 .items a {
	    width: 100%;
	    float: none;
	}

	.custom_imagebox_grid.style-3 .item .aligner {
		padding-left: 0px !important;
	}
}