/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/* 
 =========================================================
   FOOTER — EMAIL SUBSCRIBE & SOCIAL ICONS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

.blue-border {
    border: 2px solid #0056b3 !important;
    border-radius: 15px !important;
    padding: 20px !important;
}

/* Class for a Section or Column with a Blue Background */
.blue-bg {
    background-color: #0056b3 !important;
    border-radius: 20px !important;
    padding: 40px 20px !important;
    color: #ffffff !important;
}

body {
  font-family: "Teachers", sans-serif;
}

.basic-text p {
/* 		font-family: Teachers;
font-weight: 400;
font-style: Regular;
font-size: 20px;
leading-trim: NONE;
line-height: 122%;
letter-spacing: 0%; */
text-align: justify;
		
}

.basic-text h3 {
/* 		font-family: Teachers; */
		font-weight: 700;
		font-size: 24px;
		leading-trim: NONE;
		color: black;
		
}

.basic-text h5 {
/* 		font-family: Teachers; */
	    color: black;
		font-weight: 700;
		font-size: 24px;
		leading-trim: NONE;
	
		
}

.basic-text-2 h5 {
/* 		font-family: Teachers; */
	    color: black;
		font-weight: 700;
		font-size: 24px;
		leading-trim: NONE;
		
}

.basic-text-2 p{
	font-size: 18px;
	text-align: justify;
	color: black !important;
}

.plasticpedia-main h3{
		color:#1C7A78;
		font-family: Lato;
		font-weight: 800;
		font-style: Heavy;
		font-size: 28px;
}

.header-title h1{
		color: white;
		font-weight: 900;
		font-size: 40px;
		text-align: center;
}

.home-sustainable h3, .home-news h3, .product-search-enquiry h3 {
	font-size: 36px;
	color: black
}

.home-material h4, .reactive-image h3 {
	font-size: 30px;
	color: white;
}

.yellow-lightbox{
		font-family: Teachers;
		font-weight: 400;
		font-style: Regular;
		font-size: 20px;
		leading-trim: NONE;
		line-height: 122%;
		letter-spacing: 0%;
		text-align: justify;
}
/* Product-image-text*/
.product-info h1 {
    font-family: 'Teachers', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 35px;
    color : #1C7A78;
    text-align: center; 
}
.product-info .product-description {
	 font-family: 'Teachers', sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    color : #464646;
}
.product-image-text {
    background-color: #FCD72E;
    color: #1C7A78;
    font-weight: 700;
    font-family: 'Teachers', sans-serif;
    padding: 10px 10px;
    text-align: center;
    font-size: 18px;
    border-radius: 4px;
}

.product-image-text p {
	margin-top : auto;
	margin-bottom :0;
}



.box-overlay.dark .box-text, .box-shade.dark .box-text {
	text-shadow: none;
}
#footer .footer-wrapper ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
#footer .section-content ul li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
#footer .social-icons a{
	color: white;
	border-color : white;
}

.footer-wrapper form {
	display: flex;
	align-items: center;
	gap: 20px;
	background: transparent !important;
}

.footer-wrapper .ginput_container_email {
	position: relative;
}

.footer-wrapper .ginput_container_email::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 2px;
	background-color: #033B3B;
}

.footer-wrapper .ginput_container_email input {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 6px 0 !important;
	font-size: 16px;
	color: #033B3B;
	outline: none !important;
}

/*
.footer-wrapper form button,
.footer-wrapper form input[type="submit"] {
	background: #FFD43B !important;
	color: #003C3C !important;
	padding: 8px 20px !important;
	border-radius: 40px !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	border: none !important;
	cursor: pointer !important;
	white-space: nowrap;
}

.footer-wrapper form button:hover,
.footer-wrapper form input[type="submit"]:hover {
	background: #F5C82E !important;
}

*/


/* =========================================================
   TABS — GENERAL & PLASTIC TABS
========================================================= */
.tabbed-content .nav > li > a {
	color: #FFFFFF !important; 
	font-weight: 700;
}

.tabbed-content .nav > li.active > a,
.tabbed-content .nav > li > a:hover {
	color: #1C7A78 !important;
}

.plastic-tabs .nav-line-bottom .tab {
	margin-right: 60px; 
}

.plastic-tabs .nav-line-bottom .tab > a {
	color: #A7A7A7 !important;
	transition: 0.25s ease-in-out;
}

.plastic-tabs .nav-line-bottom .tab::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -2px;
	height: 3px;
	background: #A7A7A7 !important;
	transition: 0.25s ease-in-out;
}

.plastic-tabs .nav-line-bottom .tab.active > a {
	color: #FCD72E !important;
}

.plastic-tabs .nav-line-bottom .tab.active > a::before,
.plastic-tabs .nav-line-bottom .tab.active > a::after,
.plastic-tabs .nav-line-bottom .tab.active::before,
.plastic-tabs .nav-line-bottom .tab.active::after,
.plastic-tabs ul.nav-line-bottom li.tab.active::before {
	background: #FCD72E !important;
}



/* =========================================================
   MODAL / LIGHTBOX
========================================================= */
.mfp-bg:not(.main-menu-overlay) + .mfp-wrap .mfp-content .lightbox-content {
	position: relative !important;
}

.mfp-bg:not(.main-menu-overlay) + .mfp-wrap button.mfp-close {
	position: absolute !important;
/* 	top: 0 !important;
	right: 0 !important; */
/* 	transform: translate(-380%, 200%) !important; */

	background: #ffffff !important; 
	color: #F5C500 !important;

	width: 40px !important;
	height: 40px !important;
	line-height: 4px !important;
	border-radius: 50% !important;

	font-size: 22px !important;
	font-weight: bold !important;
	opacity: 1 !important;

	text-align: center !important;
	padding: 0 !important;
	mix-blend-mode : normal !important;
}

.mfp-bg:not(.main-menu-overlay) + .mfp-wrap button.mfp-close:hover {
	background: #ffffff !important;
	color: #e0b000 !important;
}



/* =========================================================
   BUTTONS — SECONDARY & PLASTIC PEDIA
========================================================= */
a.button.secondary{
	color: black;
	font-weight: 700;
	border-radius:100px;
}

a.button.primary.plasticpedia {
	background: #CACACA;
	color: #464646;               
	width: 200px;                 
	height: 90px;                 
	display: flex;                 
	align-items: center;           
	justify-content: center;       
	border-radius: 6px;
	font-weight: 700;
	font-family: 'Figtree', sans-serif;
	transition: 0.25s ease-in-out;
	margin: 8px;  
	text-decoration: none;   
	box-shadow : none;
}

a.button.primary.plasticpedia:hover {
	background: #FCD72E;           
	color: #1C7A78;               
	cursor: pointer;
}

a.confirmation-button {
    color: black;
	font-weight: 700;
	border-radius:100px;
	background: #FCD72E; 
}

/* =========================================================
   PLASTIC FORM — INPUTS & CAPTCHA
========================================================= */
.plastic-form input[type="text"],
.plastic-form input[type="email"],
.plastic-form textarea {
	width: 100%;
	padding: 12px 0;
	background: transparent !important;
	border: none !important;
	border-bottom: 1.5px solid #D0D0D0 !important;
	border-radius: 0 !important;
	font-size: 16px;
	color: #444 !important;
	font-family: 'Figtree', sans-serif;
	box-shadow: none !important;
	outline: none !important;
}

.plastic-form input::placeholder,
.plastic-form textarea::placeholder {
	color: #A7A7A7 !important;
}

.plastic-form form {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.plastic-form .wpcf7-form-control-wrap.g-recaptcha,
.plastic-form .wpcf7-form-control.g-recaptcha,
.plastic-form div.g-recaptcha {
	align-self: flex-end;
	width: auto !important;
	margin-top: 20px;
}

.plastic-form input[type="submit"] {
	align-self: flex-end;
	margin-top: 15px;
}

.plastic-form .wpcf7-form-control-wrap.g-recaptcha {
	display: inline-block !important;
}

.plastic-form-captcha , .gform_footer {
	display : flex;
	justify-content : flex-end;
}



/* =========================================================
   GRAVITY FORMS — CHECKBOXES & RADIOS
========================================================= */
.region-enquriry .gfield_checkbox li {
	display: inline-block !important;
	margin-right: 30px !important; 
	margin-bottom: 10px;
	white-space: nowrap; 
}

/*
body .ginput_container_checkbox .gfield_checkbox {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 40px !important; 
	flex-wrap: nowrap !important;
}

body .ginput_container_checkbox .gchoice,
body .ginput_container_radio .gchoice {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	width: auto !important;
}
*/

body .ginput_container_checkbox .gchoice label,
body .ginput_container_radio .gchoice label {
	white-space: nowrap !important;
	font-size: 15px !important;
	color: #2E2E2E !important;
	position: relative;
	top: -3px !important;
}

body .ginput_container_checkbox input[type="checkbox"],
body .ginput_container_radio input[type="radio"] {
	appearance: none !important;
	width: 18px !important;
	height: 18px !important;
	border-radius: 4px !important;
	border: 2px solid #1C7A78 !important;
	background: white !important;
	cursor: pointer !important;
	position: relative;
}

body .ginput_container_checkbox input[type="checkbox"]:checked,
body .ginput_container_radio input[type="radio"]:checked {
	background-color: #1C7A78 !important;
	border-color: #1C7A78 !important;
}

body .ginput_container_checkbox input[type="checkbox"]:checked::after,
body .ginput_container_radio input[type="radio"]:checked::after {
	content: "✓";
	color: white;
	font-size: 12px;
	position: absolute;
	top: -1px;
	left: 3px;
}

/*
body .ginput_container_radio .gfield_radio {
	display: flex !important;
	flex-direction: row !important;
	gap: 64px !important;
	align-items: center !important;
}
*/


/* =========================================================
   GRAVITY FORMS — SUBMIT BUTTON
========================================================= */
body .product-search-enquiry .gform_footer {
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
	text-align: center !important;
}

#gform_submit_button_4, .gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
	background-color: #FCD72E !important;   
	color: black !important;     
	padding: 10px 28px !important; 
	border-radius: 40px !important;         
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.4px;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	height: auto !important;
	line-height: 1.2 !important;
	text-transform: uppercase;
	margin-right: 0;
}

#gform_submit_button_4:hover {
	background-color: #f3cd4a !important;   
}

#gform_submit_button_3,
#gform_wrapper_3 .gform_footer button,
#gform_wrapper_3 .gform_footer input,
#gform_wrapper_3 .gform_page_footer button,
#gform_wrapper_3 .gform_page_footer input {
	background-color: #FCD72E !important;   
	color: black !important;     
	padding: 10px 28px !important; 
	border-radius: 40px !important;         
	font-size: 14px !important;
	font-weight: 700 !important;
	letter-spacing: 0.4px;
	border: none !important;
	box-shadow: none !important;
	cursor: pointer !important;
	height: auto !important;
	line-height: 1.2 !important;
	text-transform: uppercase;
	margin-right: 0;
}

/* =========================================================
   FILTERS & PRODUCT SEARCH UI
========================================================= */
.filters-card {
	background: #FFFDE8;
/* 	padding: 40px 60px 30px; */
}

.filters-top-row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	width: 100%;
	margin-bottom: 25px;
	align-items: center;
}

.filters-label {
	font-weight: 400;
	color: #464646;
	white-space: nowrap;
margin-right: 30px;
}

.search-input-wrapper {
	width: 100%;
	position: relative;
}

.search-input-wrapper input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 12px 12px 12px 50px;
	border-radius: 8px;
	border: 1px solid #FCD72E;
	margin-bottom: 0;
}

.search-input-wrapper .search-icon {
	position: absolute;
	left: 12px;
	font-size: 18px;
	color: #888;
	top: 10px;
}

.filters-bottom-row {
	display: flex;
	justify-content: flex-start;
	gap: 40px;
	width: 100%;
}

.select-field {
	position: relative;
}

.select-field label {
	display: block;
	text-align: left;
	margin-bottom: 6px;
/* 	font-size: 14px; */
/* 	font-weight: 600; */
	color: #464646;
}

.select-field select {
	width: 200px;
	height: 40px;
	padding: 8px 12px;
	border-radius: 6px;
	border: 1px solid #FCD72E;
	font-size: 14px;
	background: white;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 20 20'%3E%3Cpath fill='gray' d='M5.516 7.548L10 12.032l4.484-4.484L16 8.064l-6 6-6-6z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 36px !important;
}

.filters-meta {
	display: flex;
	justify-content: flex-end; 
	align-items: center;
	width: 100%;
}

.filters-meta #resultsCount {
	position: relative;
	margin-right: 30px;
}

.filters-reset.button.secondary {
	border-radius: 99px;
	margin-bottom: 0;
	color: black;
}

section.product-search-form {
	padding-bottom: 0 !important;
}


/* =========================================================
   PRODUCTS TABLE & PAGINATION
========================================================= */
.products-card {
	padding: 40px 0;
	font-family: "Inter", sans-serif;
}

.products-header {
	color: #212E43;
	font-weight: 700;
}

#productsTable tbody td[data-label=Select] {
	text-align: center;
}

#productsTable tbody td[data-label=Select] input {
	margin: 0 auto;
}

#productsTable thead th {
	background: #F9D523;
	color: black !important;
	font-weight: 700;
	padding: 15px 12px;
	border: none;
	border-right: 2px solid #ffffff;
	border-bottom: 2px solid #ffffff;
	text-align: center;
}

#productsTable tbody td {
	padding: 15px 14px !important;
	color: #212E43;
	border: none !important;
}

#productsTable tbody tr:nth-child(even) {
	
	background: #F0F0F0 !important;
}

#productsTable tbody tr:nth-child(even) td {
	background: #F0F0F0 !important;
}

.pill {
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 400;
	color: #464646;
}


  /* Add your CSS here or use your previous CSS */
  .pagination { display:flex; gap:4px; margin:12px 0; flex-wrap:wrap; justify-content: center;}
  .pagination button { border:1px solid #e5e7eb; background:#fff; padding:4px 10px; border-radius:4px; font-size:13px; cursor:pointer;}
  .pagination button.active, .pagination button:disabled { background:#0052cc; color:#fff; border-color:#0052cc; cursor:default;}
  .pagination button:disabled { opacity:0.5; }
	

.pagination button.active,
.pagination button:disabled {
	background: #FCD72E !important;
	color: #033B3B !important;
/* 	border-color: #033B3B!important; */
	border: 0;
}

.gform_wrapper.gravity-theme .gfield_label {
	text-transform: none;
	border-bottom: 0;
}

.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi .chosen-choices li.search-choice{
	background-color: black !important;
}

/* =========================================================
   SPEECH BUBBLE / HOVER CONTENT
========================================================= */
.imh-6310-template-01-hover-content {
	background-color: #FCD72E !important;
	font-family: Teachers;
	font-weight: 700;
}

.imh-6310-template-01-hover-content:after {
	content: "";
	position: absolute;
	bottom: -12px; 
	right: 20px; 
	border-width: 12px 10px 0 10px;
	border-style: solid;
	border-color: #FCD72E transparent transparent transparent;
}

.footer-top h3 {
	font-size: 40px;
	color: white;
}

.footer-bottom ul {
	margin-left: 0;
}

.footer-bottom ul li {
	list-style-type: none;
	margin-left: 0;
	color: white;
}

.footer-bottom a, .footer-bottom .col .col p {
	color: white;
}

.footer-bottom h3, .footer-bottom h4 {
	color: white;
}

.header-main {
	margin-top: -15px;
}

/*
section.staff-images .box-image {
    position: relative;
}


section.staff-images .box-image .overlay {
   position: absolute !important;  
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;

    height: 70% !important;         

    background: linear-gradient(
        180deg,
        rgba(234, 255, 186, 0) 0%,
        rgba(234, 255, 186, 0.25) 45%,
        rgba(234, 255, 186, 0.6) 75%,
        #EAFFBA 100%
    ) !important;

    opacity: 1 !important;
    pointer-events: none;
}


section.staff-images .box-image .image-zoom,
section.staff-images .box-image img {
    position: relative;
    z-index: 0;
}

*/


section.staff-images h3 {
	font-weight : 800;
	font-family: Lato ;
    color: white !important;
	text-shadow : none !important;
}
section.staff-images p {
	font-family: Lato;
	font-weight : 400;
    color: white !important;
	text-shadow : none !important;
}

.gform_wrapper.gravity-theme .gfield select.large[multiple] {
	height: auto;
}
	
.gform_wrapper.gravity-theme .gfield select.large[multiple] {
	max-height: 250px;
    overflow-y: scroll;
    padding: 10px;
    border: 1px solid #ccc;
    background: #fff;
}

.box-text p {
	word-break: break-word;
}

#poly-pp-pe-new, #non-poly, #sustainable-plastics {
	background: rgb(252, 215, 46);
}

/***** ADD CUSTOM CSS HERE.   *****/

@media only screen and (max-width: 48em) {
	.header-main {
		margin-top: 0;
/* 		padding-top: 18px; */
	}
	
	
	.home-banner h1, .header-title h1 {
		font-size: 36px;
}
	
	.filters-top-row {
		display: block;
	}
	
	.filters-bottom-row {
		display: block;
	}
	
	.select-field select {
		width: 100%;
	}
	
	
  table#productsTable, 
  table#productsTable thead, 
  table#productsTable tbody, 
  table#productsTable th, 
  table#productsTable td, 
  table#productsTable tr { 
    display: block; 
  }
  table#productsTable thead tr {
    display: none;
  }
  table#productsTable tr {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
  }
  table#productsTable td {
    border: none;
    position: relative;
    padding-left: 50%;
    text-align: left;
  }
  table#productsTable td::before {
/*     position: absolute;
    top: 12px;
    left: 12px; */
/*     width: 40%; */
	  margin-right: 20px;
    white-space: nowrap;
    font-weight: 600;
    content: attr(data-label);
  }
		
		#productsTable tbody td[data-label=Select] {
			text-align: left;
		}
	
	table#productsTable td {
		padding: 0 5px !important;
	}
	
	.plastic-tabs .nav-line-bottom .tab {
		margin-right: 15px;
	}
}








.floating-enquiry-cart {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #FCD72E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform .2s ease;
}

.floating-enquiry-cart:hover {
  transform: translateY(-2px);
}

.floating-enquiry-cart i {
  font-size: 22px;
  color: #003f3f;
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #003f3f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 849px) {
  .floating-enquiry-cart {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }
}