/* Common contents */

textarea:focus, input:focus{
	border-style: solid!important;
	border-color: gray!important;
	border-width: medium!important;
}

p{
	font-size: 0.6rem;
}

.wp-block-group{
	padding-top: 1.75rem!important;
	padding-bottom: 1.75rem!important;
	margin-top: 0!important;
	margin-bottom: 0!important;
}

@media (max-width: 544px) {
	.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single, .ast-separate-container .comments-title, .ast-separate-container .ast-archive-description {
    padding: 0;
 }
}

@media (max-width: 1024px) {
	.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single
	{
		padding-top: 5rem;
	}
}

@media (max-width: 1024px) {
	.wp-block-group{
		padding-top: 1.75rem!important;
		padding-bottom:1rem !important;
	}
}

@media (max-width: 440px) {
	.wp-block-group{
		width: 100%!important;
		padding-left: 0!important;
		padding-right: 0!important;
	}
}

.ast-page-builder-template .entry-header{
	margin-left: 0!important;
	margin-right: 0!important;
	padding-left: 0!important;
	padding-right: 0!important;
}

.content-area{
	padding: 0 3rem!important;
}

@media (max-width: 440px) {
	.content-area{
	padding: 0!important;
	}
}

.wp-block-group .wp-block-group{
		padding: 0;
	}

@media (max-width: 768px){
	.wp-container-core-group-layout-1.wp-container-core-group-layout-1{
	padding-top: 1.75rem!important;
	padding-bottom: 1rem!important;
	}
}

/* Footer smaller middle column */
.site-footer-section{
	display: flex;
}

@media only screen and (max-width: 921px) {
	.site-footer-section {
		justify-content: center;
	}
}

.ast-footer-copyright.ast-builder-layout-element {
	width: fit-content;
}

@media only screen and (max-width: 921px) {
	.ast-footer-copyright.ast-builder-layout-element{
	width: auto;
	}
}

@media only screen and (min-width: 440px) {
	.footer-widget-area[data-section="section-footer-menu"] .astra-footer-mobile-vertical-menu {
		display: flex;
	}
}

.ast-builder-grid-row-3-equal .ast-builder-grid-row {
	grid-template-columns: 4fr 1fr 4fr;
}

.main-header-bar.ast-sticky-active {
	box-shadow: none;
}

.entry-header {
	max-width: 1200px;
}

.astra-footer-horizontal-menu {
	font-weight: bold;
}

@media (max-width: 768px) {
	.entry-header {
		display: block;
		padding-top: 0px;
	}
}
	
/* TOP */

.wp-element-caption{
	display: none;
	padding: 0 1rem;
	font-size: 55%;
	line-height: 0.6rem;
}

@media (max-width: 1024px){
	.wp-element-caption {
		display:block;
		font-size: 0.6rem;
		line-height: 1rem;
		padding-top: 1rem;
	}
}

.ast-no-sidebar .entry-content .alignfull{
	height: fit-content;
}

/* .brands-wrapper figcaption {
	position: absolute;
	top: 55%;
	bottom: 20px;
  left: 0;
  right: 0;
	font-size:  0.4rem;
  text-align: center;
	padding: 15px 30px;
	line-height: 1.4em;
	height: 40px;
	display: none;
}
 */

.brands-wrapper{
	width: 100%!important;
	height: 400px!important;
	font-size:  0.3rem;
	display: flex!important;
	align-items: flex-start!important;
	margin: 0 auto!important;
	padding-left: 25%!important;
	padding-right: 25%!important;
}

@media (max-width: 1024px){
	.brands-wrapper {
		display: flex;
		flex-direction: column;
		height: auto!important;
		align-items: center!important;
		max-width: 100%!important;
		width: 100%!important;
		padding-bottom: 0!important;
	}
}

.brands-wrapper figure {
	min-width: 240px!important;
	width: 240px!important;
	min-height: 260px!important;
/* 	width: 25%;
	height: 230px;
	display: flex;
	flex-direction: column;
	justify-content: center;
  align-items: center;
	overflow: hidden;
	position: relative; */
}

@media (max-width: 1024px){
	.brands-wrapper figure {
		min-width: 300px!important;
	width: 300px!important;
		min-height: 280px!important;
		padding-top: 2rem;
	}
}

.brands-wrapper figure:before {
  content: "";
  display: block;
/*   padding-top: 100%;  */
}

.brands-wrapper figure:hover {
	border: 1px solid;
}

@media (max-width: 1024px){
	.brands-wrapper 		figure:hover {
	border: none;
	}
	.brands-wrapper figure:disabled {
	border: none;
	}
}

.brands-wrapper figure:hover figcaption {
	display: block!important;
}

.brand-image {
/* 	position: absolute;
	top: 30%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 50%;
	height: 30%;
	height: auto; */
	height: 185px;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 1024px){
	.brand-image {
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		height: auto;
	}
}

.brand-image img {
/* 	max-width: 100%;
  max-height: 100%;
	object-fit: contain; */
	width: 130px;
}

@media (max-width: 1024px){
	.brand-image img {
		width: 250px;
		object-fit: contain;
	}
}

.entry-wrapper{
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}

.entry-wrapper p{
	font-size: 0.6rem!important;	
}

.top-news .entry-wrapper a{
	text-align: start;
	font-size: 0.6rem!important;
	font-weight: 800;
}

@media (max-width: 1024px){
	.top-news .entry-wrapper {
		padding: 0 0.5rem;
	}
}

@media (max-width: 440px){
	.top-news .entry-wrapper {
		padding: 0 1rem;
}
}

.top-news .entry-meta {
	justify-content: start !important;
}

@media only screen and (min-width: 782px) {
	.top-news .entry-title,.entry-meta,p {
  font-size: 13px !important;
  }
}

@media (max-width: 768px) {
	.brands-wrapper {
	  padding-top: 0px !important;
		padding-bottom: 0px !important;
	  flex-direction: column;	
		width: 100%;
	}
}
	
.has-x-large-font-size {
	font-size: 15px !important;
}

.wpnbha .entry-title a{
		font-weight: 900!important;
}

.wpnbha .post-thumbnail img{
	height: 250px!important;
	width: fit-content!important;
}

@media (max-width: 1024px){
	.wpnbha .post-thumbnail img{
		height: auto!important;
	}
}
	
/* ABOUT */	
.site-content{
	padding: 0 1rem;
}
	
.history-wrapper {
	max-width: 900px !important;
  margin: 0 auto;
}

.history-block{
	padding-top: 0!important;
	padding-bottom: 0!important;
}

@media (max-width: 768px){
	.downwear-wrapper{
		flex-direction: column;
	}
}

.oem-info{
	margin-bottom: 4rem!important;
	font-size: 0.63rem!important;
	font-weight: 600;
}

.company-name{
	display: flex;
	text-align: center;		
}

.entry-content h4.info-title{
	font-size: 0.6rem;
	font-weight: 700;
	line-height: 1rem;
	padding-right: 2rem;
}

.company-name {
	margin:2.5rem 0 2rem 0;
	text-align: center;
  flex-direction: column;
  font-size: 0.2rem;
}

@media (max-width: 1024px) {
	.company-name {
		font-size: 0.3rem;
	}
}
.company-name h4{
	margin-bottom: 0;
	line-height: inherit;
	color: black;
}

.company-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: auto;
}

@media (max-width: 1024px){
	.company-info {
		flex-direction: column;
	}
}

.location-info, .company-details {
  display: flex;
  flex-direction: column;
  width: 48%;
}

.office-info, .factory-info {
  display: flex;
	flex-wrap: wrap;
	align-items: baseline;
}

.address p, .detail p {
  margin: 0; /* Remove any margin from p */
}

.address {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 440px){
	.address {
		width: 70%;
	}
}

.detail {
  display: flex;
  align-items: baseline; /* This will ensure h4 and p are at the same height */
  margin-bottom: 10px;
}

.detail p {
  margin: 0;
}

.map-link {
	font-size: 13px;
  display: flex;
  align-items: center; /* Align the text and icon vertically */
  text-decoration: none; /* Optional: removes underline from the link */
}

.map-link img {
  margin-right: 8px; /* Adjust the space between the text and the icon */
  width: 15px; /* Adjust the size of your icon as necessary */
  height: auto; /* Maintain aspect ratio */
}

@media (max-width: 768px) {
	.about-down-wrapper {
		flex-direction: column;
	}
}	
.about-sdgs-wrapper {
	margin-top: 0!important;
	margin-bottom: 0!important;
	padding-left: 1.5em!important;
	padding-right: 1.5em!important;
}

@media (max-width: 1024px) {
	.about-sdgs-wrapper {
		flex-direction: column;
	}
}	

@media (max-width: 440px) {
	.about-sdgs-wrapper {
		padding-left: 0!important;
	padding-right: 0!important;
	}
}	

.location-info, .company-details {
		margin-bottom: 10%;
    width: 100%; /* Full width */
    align-items: space-between; /* Center align the items if needed */
}

.office-info{
	margin-bottom: 1.5rem;
}

.office-info, .factory-info, .detail {
    align-items: flex-start; /* Aligns items to the start of the container */
  }
}

 /* QUALITY */
@media (max-width: 768px) {
	.down-container1 {
		flex-direction: column;
		justify-content: center;
	}
	
	.down-container {
		flex-direction: column;
		justify-content: center;
	}
	.down-wrapper {
		flex-direction: column;
		justify-content: center;
	}
}

.down-container1 {
	align-items: start !important;
}

.down-container {
	padding-left:0px !important;
	padding-right:0px !important;
}


.down-wrapper {
	flex: 1;
}

@media (max-width: 768px) {
	.has-medium-font-size {
		font-size: 15px !important;
	}
}


 /* OEM STOCKISTS */

.oem-wrapper {
	width: 33%;
	padding-top: 0;
	padding-bottom: 5.06rem;
}

.stockists-container {
  margin: auto;
	display: flex;
	flex-direction: column;
}

.stockists {
  width: 100%;
  display: flex;
  justify-content: center; /* Centers .stockists horizontally */
  flex-direction: column;
}

.stockists-container h3 {
	font-size: 24px;
	font-weight: bold;
  text-align: center;
  margin-bottom: 30px;
}

.stockist-pref {
  margin-bottom: 40px;
}

.stockist-gender {
  font-size: 20px;
  margin-bottom: 25px;
}

.stockist-header {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 15px;
}

.stockist-entry {
  display: flex;
  align-items: flex-start; /* Aligns items to the start of the cross axis */
  margin-bottom: 20px; /* Adjust space between entries */
  /* Adjust the padding or margin here if needed to bring the elements closer */
}

.stockist-name {
  font-size: 13px;
  font-weight: bold;
  /* Adjust the width or flex-basis here as needed */
  flex: 1; /* Gives the name more room to grow compared to the info wrapper */
  margin-right: 10px; /* Reduces the space between the name and the info */
}

.stockist-info-wrapper {
  flex: 3; /* Allows the info wrapper to grow */
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* You can adjust the padding or margin here if needed */
}

.stockist-info {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.label {
  min-width: 70px;
  text-align: left;
  margin-right: 8px;
}

.wp-block-image.size-full{
 margin: 0;
}

/* Responsive behavior */
@media (max-width: 768px) {
	.oem-container {
		flex-direction: column;
		padding-left: 0px !important;
		padding-right: 0px !important;
	}
	
	.oem-wrapper {
			width: 100%;
	}
	
	.stockists {
			padding-left: 1.5em;
			padding-right: 1.5em;
	}
	.stockist-entry {
    flex-direction: column;
  }

  .stockist-name, .stockist-info-wrapper {
    flex: none; /* Resets the flex property */
    width: 100%; /* Takes full width on small screens */
    margin-right: 0; /* Resets the margin */
  }

  .stockist-info {
		align-items: start;
  }

  .label {
    width: auto; /* Allows label to take as much space as needed */
    text-align: left;
  }
}

 /* CONTACT */
.wp-block-jetpack-contact-form-container .grunion-field-wrap {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
}

.grunion-field-label {
	flex: 1;
	font-size: 13px;
}

@media (max-width: 440px) {
	.grunion-field-label {
	padding-right: 0.75rem;
}
}

.grunion-field {
	flex: 3;
}

.contact-submit {
	display: flex;
	justify-content: center;
}

.news-container .entry-wrapper {
	font-size: 13px;
}

.news-container .entry-title {
	font-size: 13px !important;
}

.contact-container input:focus {
	outline-color: #000000 !important;
}

/* NEWS */

header.entry-header .entry-title{
	font-size: 1rem!important;
	font-weight: 600!important;
	margin-bottom: 0;
}

.wpnbha article .entry-title{
	font-size: 0.7rem!important;
}

.article-section-title span{
	font-size: 30px;
}
