body{
	/* background-image: url('../images/backgrounds/quality.jpg'); */
	background-repeat: no-repeat;
	background-size: 47%;
	background-position: top center;
}

.modal{
	display: none;
	margin: auto;
	padding-top: 80px;
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0,0, 0.7);
	z-index: 2;
	margin:auto;
}

.modal-content{
	margin: auto;
	position: relative;
	width: 700px;
	height: 100%;
}

.close {
	position: absolute;
    color: #aaaaaa;
	right: 30px;
	top: 10px;
    font-size: 40px;
    font-weight: bold;
	z-index: 3;
  }
  
  .close:hover,
  .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
  }

.pageWrapper{
	width: 100%;
	background-color: rgba(8, 114, 186, 0.1)
}

.certificate_wrapper{
	display: flex;
	width: 100%;
	position: relative;
	justify-content: center;
	/* margin-bottom: 550px; */
}

.certificates{
	position: absolute;
	height: 100%;
	display: flex;
	flex-direction: column;
	width: 90%;
	justify-self: center;
}

.statement{
	position: relative;
	display: flex;
	justify-content: space-around;
	padding: 80px;
}

.statement_pdf{
	position: relative;
	cursor: pointer;
	transition: 1s;
	height: fit-content;
}

.statement_pdf:hover .overlay{
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	text-align: center;
	color: #FFFFFF;
	top:0;
	width: 100%;
	height: 99%;
	z-index: 1;
	background-color: rgba(0, 0,0, 0.5); 
}

.statement_pdf:hover{
	transform: scale(1.1);
}

.overlay{
	overflow: hidden;
	height: 0;
	width: 0;
}

.pageBanner{
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

.quality-bg{
	height: 100%;
	width: 100%;
	object-fit: contain;
	opacity: 0.4;
}

.paragraph_text{
	width: 100%;
	font-size: 30px;
	padding: 50px;
	margin-bottom: 100px;
	text-align: center;
	line-height: 40px;
}

.certificates_cards{
	width: 100%;
	display: flex;
	justify-content: space-around;
}

#certificate_card{
	height: 250px;
	width: 177px;
	position: relative;
	cursor: pointer;
	transition: 0.5s;
}

#certificate_card-text_wrapper{
	overflow: hidden;
	height: 0;
}

#certificate_card:hover #certificate_card-text_wrapper{
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: center;
	top:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0,0, 0.5);
	transition: ease-in 400ms;
}

#certificate_card:hover{
	transform: scale(1.1);
}

.iso_link-logo{
	width: 100%;
	height: 100%;
	background-color: #FFFFFF;
	object-fit: contain;
}

.certificate_card-text{
	text-align: center;
	color: #000000;
	font-size: 20px;
	margin: 0 10px 10px 10px;
}

.certificate_image{
	height: 100%;
	width: 100%;
}

.certificate_big{
	/* height: 430px; */
	width: 305px;
}


#cerfLink{
	color:#6d6e70;
}

#imageHolder{
	position: relative;
	display: block;
	height: 200px;
	width: 600px;
	margin: 0 auto;
	margin-top: 50px;
}

#imageHolder > img{
	display: inline-block;
	vertical-align: middle;
}

#isoIcon{
	width: 195px;
}

#jomiIngIcon{
	width: 400px;
}

#qualityWrapper{
		padding-bottom: 80px;
}

#qualityWrapper > h1{
	color: #6d6e70;
	text-align: center;
	font-size: 35px;
	margin-top: 60px;
	margin-bottom: 30px;
}

#qualityWrapper > p{
	text-align: justify;
	font-size: 19px;
	width: 50%;
	line-height: 28px;
	min-width: 250px;
	margin-top: 20px;
}

#qualityWrapper > p > b{
	color: #6d6e70;
}

.certificates_cards_small{
	display: none;
}

.g_certificate{
	width: 80%;
	text-align: center;
	margin: 20px auto;
	font-size: 25px;
}

.g_certificate_wrapper{
	position: relative;
	margin: 30px 0;
	display: flex;
	flex: 1;
	height: 550px;
	width: 100%;

}

.g_certificate_card{
	width: 300px;
	margin: auto;
	cursor: pointer;
	transition: 0.5s;
}

.g_certificate_image{
	width: 300px;
	height: auto;
	margin: auto;
}

.preview_icon{
	width: 40%;
	height: auto;
	margin: auto;
}

.g_certificate_card:hover #certificate_card-text_wrapper{
	position: absolute;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	top:0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0,0, 0.5);
	transition: ease-in 400ms;
}

.g_certificate_card:hover{
	transform: scale(1.1);
}

@media screen and (max-width: 1000px){
	#imageHolder{
		width: 450px;
		margin-top: 40px;
		height: 155px;
	}
	
	#isoIcon{
		width: 145px;
	}

	#jomiIngIcon{
		width: 300px;
	}

	.banner_text{
		top: 30%;
	}

	.horizontalCenter.paragraph_text{
		margin-left: 30px;
		margin-right: 30px;
	}

	.paragraph_text{
		padding-bottom: 0 !important;
		font-size: 20px;
		position: relative;
		bottom: 50px;
	}

	.statement_pdf{ 
		top: -40px;
	}


}

@media screen and (max-width: 1500px){
	.certificates_cards{
		position: relative;
		/* top: -150px; */
	}

	.certificate_big{
		/* height: 287px; */
		width: 202.5px;
	}
}

@media screen and (max-width: 1400px) {
	.certificates_cards{
		top: -120px;
	}

	.statement{
		margin-bottom: 20px;

	}

}

@media screen and (max-width: 1150px){
	.statement{
		flex-direction: column;
		justify-content: center;
		padding-top: 10px;
	}

	.statement_pdf{
		align-self: center;
	}

	.paragraph_text{
		margin-bottom: 0;
		padding: 50px 0;
	}

	.certificate_big{
		width: 250px;
		/* height: 100%; */
	}

	.certificates_cards_small{
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		gap: 30px;
		justify-content: space-around;
		padding-bottom: 80px;
	}

	#certificate_card{
		margin-top: 50px;
	}

	.certificates_cards{
		display: none;
	}
}

@media screen and (max-width: 800px){

	.statement{
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.paragraph_text{
		padding-bottom: 0;
		margin-bottom: 0;
		
	}

	.banner_text{
		font-size: 30px;
	}

	.certificate_big{
		width: 150px;
		font-size: 10px;
	}

	#imageHolder{
		width: 320px;
		margin-top: 40px;
		height: 100px;
	}
	
	#isoIcon{
		width: 100px;
	}

	#jomiIngIcon{
		width: 215px;
	}	

#qualityWrapper > p{
	font-size: 18px;
}
}

@media screen and (max-width: 650px){
	/* .statement{
		justify-content: flex-start !important;
		justify-items: flex-start !important;
	} */

	.certificate_big{
		position: relative;
		/* top: -20px; */
		width: 100px;
	}

	.paragraph_text{
		font-size: 15px;
		line-height: 25px;
	}
}

@media screen and (max-width: 480px){
	.banner_text{
		font-size: 22px;
	}

	.statement{
		padding: 20px;
	}

	.paragraph_text{
		font-size: 12px;
		line-height: 18px;
	}

	.certificate_big{
		width: 80px;
		font-size: 6px;
	}
	
#imageHolder{
		width: 260px;
		margin-top: 40px;
		height: 100px;
	}
	
	#isoIcon{
		width: 80px;
	}

	#jomiIngIcon{
		width: 175px;
	}
	
#qualityWrapper > p{
	text-align: justify; 
	font-size: 16px;
}
}