
.text-div{
	background-color: rgba(245, 245, 240,1);
	margin: 0;
	padding: 10vh 0 10vh 0;
	z-index: 0;
	display: flex;
	flex-direction: row;
	overflow: hidden;
}

.certs {flex-wrap: wrap;}

h4 {
	color: rgba(255,255,255,1);
	font-size: 1.4em;
	line-height: 1.7em;
	align-self: center;
	text-align: center;
	font-weight: 100;
}

.text-div h1{
	text-align: left;
	color: rgba(65,66,67,1);
	font-size: 1.5em;
	line-height: 80%;
	margin-top: 0;
}

.text-div p {
	color: rgba(53,53,51,0.9);
	font-size: 1em;
	line-height: 130%;
}

.text-div h3 {
	color: rgba(39,41,41,0.95);
	font-size: 1em;
	line-height: 140%;
	background-image: url('highlight-1.png');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	background-position: center;
	padding: 10px 20px;
	text-align: center;
	font-style: oblique;
	font-weight: bold;
}

.text-div  h2{
	color: rgba(99,99,99,1);
	font-size: 0.9em;
	font-style: italic;
	margin: 0;
}

.circle-arrow {
	position: absolute;
	vertical-align: middle;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-size: cover;
	background-repeat: no-repeat;
	margin: 0 8% 0 3%;
	padding: 0;
	text-align: center;
	cursor: pointer;
	align-self: center;
	flex-shrink: 0;
}

.container-2 {
	vertical-align: top;
	background-color: rgba(83,44,61,1);
	color: rgba(255,255,255,0.9);
	display: flex;
	flex:1 1 20%;
	cursor: pointer;
	transition: transform 0.4s;
	min-height: 10vw;
}

.container-2 p {
	color: rgba(255,255,255,0.9);
	flex: 1;
	text-align: center;
	align-self: center;
	line-height: 130%;
	padding: 2%;
}

.container-2::after {
	content: "";
	vertical-align: top;
	border: 3px solid;
	border-image: url(cert_border.png) 10% stretch;
	/* -webkit-border-image: -webkit-linear-gradient(rgba(83,44,61,0), rgba(83,44,61,0.9)) 1 70%; */
	background-color: rgba(255, 255, 255,1);
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	flex: 1;	
	margin-left: -100%;
	transition: all 0.4s;
	transform-origin: bottom right;
	padding: 2%;
}

.container-2:hover::after{
	transform: scale(0.3,0.3);
	background-position: right;
	background-color: rgba(255,255,255,0);
	transform-origin: bottom right;
	border:none;
}

#fda::after {background-image: url('fda.png');}
#fda:hover::after{background-image: url('fda-white.png');}

#achilles::after {background-image: url('achilles.png');}
#achilles:hover::after{background-image: url('achilles-white.png');}

#rohs::after {background-image: url('rohs.png');}
#rohs:hover::after{background-image: url('rohs-white.png');}

#iso::after {background-image: url('iso.png');}
#iso:hover::after{background-image: url('iso-white.png');}

#reach::after {background-image: url('reach.png');}
#reach:hover::after{background-image: url('reach-white.png');}

#lb::after {background-image: url('Lyondellbasell.png');}
#lb:hover::after{background-image: url('Lyondellbasell-white.png');}

#halal::after {background-image: url('halal.png');}
#halal:hover::after{background-image: url('halal-white.png');}

#gmp::after {background-image: url('gmp.png');}
#gmp:hover::after{background-image: url('gmp-white.png');}

#haccp::after {background-image: url('haccp.png');}
#haccp:hover::after{background-image: url('haccp-white.png');}

#uni::after {background-image: url('univation.png');}
#uni:hover::after{background-image: url('univation-white.png');}

.container-3 { /* changed */
	display: flex;
	vertical-align: top;
	padding: 1em;
	width: 75%;
	box-shadow: 3px 3px 10px 2px rgba(89, 91, 91, 0.6);
	flex-direction: row;
	flex-shrink: 0;
	margin: 0 0 40px 100px;
	min-height:60vh;
}

.photo-container {
	display: flex;
	vertical-align: top;
	padding: 1em 1em 1em 1.8em;
	flex: 1;
	flex-direction: column;
	align-self: center;
}

.photo {
	margin: 0;
	padding: 0;
	flex: 1.2;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	display: inline-block;
}

.properties-list {
	margin: 0 20% 0 5%;
	padding: 0;
	width: 80%;
	display: flex;
	flex-direction: row;
	align-items: stretch;
}

.vertical-line {
	margin-left: 20px;
	width: 1px;
	background-color: rgba(172,177,177,0.6);
	background-size: 100%;
	flex-shrink: 0;
}
.properties {
	display: flex;
	margin-left: -20px;
	flex-direction: column;
	width: 105%;
}

.properties>.horizontal-line {
	display: block;
	width: 100%;
	height: 1px;
	background-color: rgba(172,177,177,0.6);
	background-size: 100%;
}

.properties>.properties-header {
	margin: 10px 0 5px 40px;
	color: rgba(39,41,41,0.8);
	font-size: 0.7em;
	line-height: 130%;
}

.properties>.properties-list {
	margin-left: 40px;
	color: rgba(39,41,41,0.8);
	font-size: 1em;
	line-height: 150%;
	font-style: italic;
}

.hz-nav {
	position: absolute;
	text-align: center;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	align-self: flex-end;
	z-index: 1;
}

.hz-nav-tabs {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: rgba(181,181,175,1);
	margin: 4px;
	cursor: pointer;
}

.hz-nav-tabs::after {
	content:"";
	position: absolute;
	width: 14px;
	height: 14px;
	margin: -3px 0 0-8px;
	border-radius: 50%;
	border: 1px solid rgba(245, 245, 240,1);
	background-color: rgba(245, 245, 240,1);
	z-index:-1;
	transition: all come-in 0.3s;
}

.hz-nav-tabs:hover::after {
	border: 1px solid rgba(39, 41, 41,1);
}

.hz-active {
	background-color: rgba(39,41,41,1);
}

.directions {
	width: 250px;
	text-align: center;
	vertical-align: middle;
	border-radius: 20px;
	border: 0.5px solid rgba(33,33,21,0.6);
	color: rgba(33,33,21,0.8);
	cursor: pointer;
	padding: 7px 25px;
	margin: 1em;
	transition: all 0.4s;
	align-self: center;
	z-index: 1;
}

.directions::after {
	position: absolute;
	content: "";
	width: 300px;
	height: 37px;
	padding: 0;
	margin: -30px 0 0 -25px;
	background-color: rgba(49,51,51,1);
	display: block;
	border-radius: 20px;
	z-index: -1;
	transform: scaleX(0);
	transform-origin: center left;
	transition: all 0.4s;
}

.right-arrow {
	width: 10px;
	height: 13px;
	padding: 0;
	margin: 0 0 3px 3px;
	vertical-align: middle;
	transition: background-image 0.3s, transform 0.6s, visibility 0.6s;
	background-image: url('right-arrow-dark.png');
	background-size: contain;
	background-repeat: no-repeat;
	display: inline-block;
}

.directions:hover {color: rgba(222,230,228,1);} 
.directions:hover::after {transform:scaleX(1);} 	
.directions:hover .right-arrow {transform:translateX(30px); visibility:hidden;background-image: url('right-arrow-light.png');}

.expandable {
	margin: 0;
	padding: 1%;
	display: flex;
	flex-direction: row;
	transform: scaleY(0);
	transition: transform 0.5s ease 0s, max-height 0s ease 0s;
	transform-origin: top;
	height: 0;
}

.expandable img {
	border-radius: 50%;
/*	border: 2px solid rgba(45,46,47,0.7); changed */
	width: 70px;
	height: 70px;
	padding: 2px;
	background-color: rgba(43,43,43,0.2);
	align-self: center;
	position:relative; /*changed */
}


.expandable>p {
	padding: 0 3vh 0 3vh;
	color: rgba (255,255,255,0.7);
	align-self: left;
	margin: 0;
	text-align: justify;
	font-size: 1em;
}

.expanded {
	transform: scaleY(1);
	height: auto;
	transition: transform 0.5s ease 0s, max-height 0.5s ease 0s;
	padding-bottom: 25px;
}

.priority-background {
	transition: all 1s ease-in;
	
	background-color: rgba(244, 223, 208, 0.87);
	padding: 15vh 7vw 15vh 7vw;
	margin: 0;
	display: flex;
	flex-direction: row;
	overflow: hidden;
}

.priority-image {
/*	margin-left: 5vh; 
	transition: all 0.5s ease-in;
	background-image: url('priority-1.png');
*/
	transition: all 0.5s ease-in;
	background-image: url('priority-1.png');
	padding: 0;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	flex: 1.2;
}

.priority-background p {
	padding-top: 1vh;
	font-size: 1.1em;
}


.priorities {
	transition: all 0.5s;
}

.highlighted {
	font-weight: 600;
	text-transform: uppercase;
	transform: translateX(105px);
}

.filter {
	background-color: rgba(245,207,179,0.4);
	padding: 10vh 10vw 10vh 10vw;
	margin: 0;
	display: flex;
	flex-direction: row;
	overflow: hidden;
}

/* changed - new added */
.exp-img{position:relative;}
.exp-img::after {
	position: absolute;
	content: "";
	width: 80px;
	height: 80px;
	margin: -7% -106%;
	border-radius: 50%;
	border: 2px solid rgba(45,46,47,0.7);
}
