/*
Theme Name: Polymax Plastics
Version: 1.0
Theme URI: https://cyberoptik.net/
Description: Customizable responsive Wordpress theme created by CyberOptik
Author: CyberOptik
Author URI: https://cyberoptik.net/
Template: optik-theme
*/





/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/

@import url("../optik-theme/style.css");



/* Add font imports here */

/***  Montserrat  ***/ 

/* Regular */
@font-face {
	font-family: 'Montserrat';
	font-weight: 400;
	src: url('fonts/montserrat/montserrat-regular.woff2');
}

/* Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	src: url('fonts/montserrat/montserrat-italic.woff2');
}

/* Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 700;
	src: url('fonts/montserrat/montserrat-bold.woff2');
}

/* Extra Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 900;
	src: url('fonts/montserrat/montserrat-extrabold.woff2');
}



/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 16px;
}

body {
	line-height: 1.6em;
	font-family: var(--wp--custom--font--1);
	color: white;
	background-color: var(--wp--custom--dark--3);
	text-wrap: pretty;
}



/***  BACK TO TOP BUTTON  ***/

.btt-button .fa {
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
}

.btt-button:hover .fa {
	background-color: var(--wp--custom--primary--light);
	color: white;
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--primary--light);
}



/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: var(--wp--custom--primary--main);
}

h1 {
	font-size: 5.5em;
}

h2 {
	font-size: 4em;
}

h3 {
	font-size: 2.25em;
}

h4 {
	font-size: 1.75em;
}

h5 {
	font-size: 1.5em;
}

h6 {
	font-size: 1.25em;
}

@media screen and (max-width:900px) {
	h1 { font-size: 3.75em; }
	
	h2 { font-size: 3em; }
}

@media screen and (max-width:600px) {
	body.home h1{font-size: 2.5em;}

	h2 { font-size: 2.25em; }
}



/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 1.25em 2.25em;
	border-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.button:hover, 
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

.button i, 
.wp-block-button__link i, 
.button:hover i, 
.wp-block-button__link:hover i {
	color: inherit !important;
}

/* Outlined Button */

.button-outline, 
.is-style-outline .wp-block-button__link {
	background: none;
	color: var(--wp--custom--primary--main);
}

.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background: none;
	color: var(--wp--custom--secondary--main);
}

.button-outline i, 
.is-style-outline .wp-block-button__link i {
	color:  var(--wp--custom--primary--main);
}

.button-outline:hover i,
.is-style-outline .wp-block-button__link:hover i {
	color: var(--wp--custom--secondary--main);
}



/***  ICONS  ***/

.fa {font-weight: 300;}

/* Icon Colors */

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--primary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: var(--wp--custom--primary--main);
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: var(--wp--custom--secondary--main);
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--primary--main);
}

a .fa-br {
	border-color: var(--wp--custom--primary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--main);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before {
	color: var(--wp--custom--primary--light);
}

.contact-list a{color: white;}

.contact-list a:hover{color: var(--wp--custom--primary--light)}


/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	border-radius: var(--wp--custom--radius--xs);
	color: black;
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

/* Buttons */

input[type="submit"], input[type="reset"], input[type="button"] {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

input[type="Submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	color: white;
}

input[type="Submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}

/* Ninja Forms */

.nf-form-fields-required {display: none;}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--dark--2);
	border-bottom: 1px solid var(--wp--custom--primary--main);
}

.scroll-logo {
	max-height: 50px;
}



/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--light--2);
}



/***  HEADER  ***/

.header-wrap{
	position: absolute;
	z-index: 3;
}

.header-logo {
	max-height: 70px;
}

/* Menu Button */

.header .menu-button .fa, 
.header .menu-button:hover .fa {
	color: white;
}

.header .menu-button.active .fa {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
}



/***  NAV MENUS  ***/

.nav-menu > li > a {
	color: white;
}

/*.scroll-menu > li > a { color: white; }*/

.single-service .nav-menu > li.services-link > a, 
.single-service .nav-menu > li.services-link > span, 
.single-product .nav-menu > li.products-link > a, 
.single-product .nav-menu > li.products-link > span, 
.single-member .nav-menu > li.members-link > a, 
.single-member .nav-menu > li.members-link > span, 
.single-post .nav-menu > li.posts-link > a, 
.single-post .nav-menu > li.posts-link > span, 
.category .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > span, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-page-ancestor > a, 
.nav-menu > li.current-page-ancestor > span, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li:hover > a {
	color: var(--wp--custom--primary--light);
}

/* Nav Button */

.nav-menu > li.nav-button > a > span {
	padding: 0.75em 1.5em;
	margin-top: -0.75em;
	margin-bottom: -0.75em;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xs);
	color: white;
}

.nav-menu > li.nav-button:hover > a > span {
	background-color: var(--wp--custom--primary--light);
}



/***  DROPDOWN MENUS  ***/

.nav-menu li ul li:first-child {
	padding-top: 8px;
}

.nav-menu li ul li:last-child {
	padding-bottom: 8px;
}

.nav-menu li ul li > a, 
.nav-menu li ul li > span {
	color: var(--wp--custom--dark--3);
}

.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li:hover > a {
	color: var(--wp--custom--primary--main);
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -8px;
}



/***  HIDDEN NAV  ***/

.hidden-menu li a {
	color: var(--wp--custom--dark--3);
}

.hidden-menu li.current-menu-item > a {
	color: var(--wp--custom--primary--main);
}

.hidden-nav::-webkit-scrollbar {
	width: 10px;
	background-color: var(--wp--custom--light--1, #E9E9E9);
}

.hidden-nav::-webkit-scrollbar-thumb {
	border: 0;
	background-color: var(--wp--custom--dark--3, #898989);
}





/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  BANNER  ***/

.banner {
	background-color: black;
}

.banner:before{background-attachment: fixed;}

.banner-inner {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--md);
	text-align: left;
	z-index: 2;
}

.banner-tall .banner-inner{min-height: 550px;}

@media screen and (max-width:900px){
	.banner:before { background-attachment:initial; }
}

@media screen and (max-width:600px){
	.banner-tall .banner-inner{min-height: 400px;}
}


.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner h1 { text-shadow: 1px 1px 10px var(--wp--custom--dark--1); }

.banner a:not(.button) {
	color: var(--wp--custom--primary--light);
}

.banner a:hover {
	color: white;
}

.banner .button{
	font-size: .8em;
    padding: 1em 2.25em;
    margin-top: 20px;
}



/***  HEADLINE BAR  ***/

.headline-bar {
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main-boxed, 
.main-sidebar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

.spaced-xs, 
.spaced-xs-top {
	padding-top: var(--wp--custom--spacer--xs);
}

.spaced-xs, 
.spaced-xs-btm {
	padding-bottom: var(--wp--custom--spacer--xs);
}

.spaced-sm, 
.spaced-sm-top {
	padding-top: var(--wp--custom--spacer--sm);
}

.spaced-sm, 
.spaced-sm-btm {
	padding-bottom: var(--wp--custom--spacer--sm);
}

.spaced, 
.spaced-top, 
.spaced-md, 
.spaced-md-top {
	padding-top: var(--wp--custom--spacer--md);
}

.spaced, 
.spaced-btm, 
.spaced-md, 
.spaced-md-btm {
	padding-bottom: var(--wp--custom--spacer--md);
}

.spaced-lg, 
.spaced-lg-top {
	padding-top: var(--wp--custom--spacer--lg);
}

.spaced-lg, 
.spaced-lg-btm {
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xl, 
.spaced-xl-top {
	padding-top: var(--wp--custom--spacer--xl);
}

.spaced-xl, 
.spaced-xl-btm {
	padding-bottom: var(--wp--custom--spacer--xl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	border-radius: var(--wp--custom--radius--md);
	background-color: var(--wp--custom--light--2);
	overflow: hidden;
	color: var(--wp--custom--dark--2);
}

.entry-cols .entry-link:hover {transform: translateY(-3px);}

.entry-cols .entry-icon-wrap:first-child {padding: 30px 30px 0;}

.entry-cols .entry-icon svg {
	width: 60px;
	fill: var(--wp--custom--primary--main);
}

.entry-cols .entry-text-wrap {padding: 30px;}

.includes-link-text .entry:not(.col-full) .entry-text-wrap {padding-bottom: 80px;}

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {color: var(--wp--custom--primary--main);}

.entry-cols .entry-link:hover .entry-link-text {color: var(--wp--custom--primary--light);}

/* Archive Pagination */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--light--1);
	color: var(--wp--custom--primary--main);
}

.archive-pagination a:hover {
	border-color: var(--wp--custom--primary--light);
	color: var(--wp--custom--primary--light);
}

.archive-pagination a .fa, 
.archive-pagination a:hover .fa {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}



/***  SINGLE  ***/





/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  CTA BAR  ***/

.cta-bar { padding: 0; }

.cta-bar .cta-bar-container { 
	margin: 0;
	padding: 0; 
	max-width: none;
}

/***  FOOTER  ***/

.footer {
	padding-top: var(--wp--custom--spacer--lg);
	padding-bottom: var(--wp--custom--spacer--lg);
	background-color: var(--wp--custom--dark--2);
	font-size: 0.9em;
}

.footer .wp-block-heading{color: white;}

.footer a {
	color: white;
}

.footer a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--light);
}

.footer .menu li{
	position: relative;
    margin-left: 18px;
}

.footer .menu li:before{
	content: "\f324";
	position: absolute;
    top: 0.65em;
    left: -1.75em;
    font-family: 'Font Awesome 6 Pro';
    font-weight: 100;
    font-size: .6em;
    color: white;
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	background-color: var(--wp--custom--dark--2);
	font-size: 0.9em;
}

/* Menus */

.bottom-bar-container{
	border-top: 1px solid var(--wp--custom--primary--light);
	padding-top: 15px;
}

.bottom-bar a,
.bottom-bar .menu a {
	color: white;
}

.bottom-bar a:hover,
.bottom-bar .menu a:hover {
	text-decoration: none;
	color: var(--wp--custom--primary--light);
}





/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/

/* Add custom theme styles here */

@media screen and (max-width: 900px) {
	.tablet-reverse-order{flex-direction: column-reverse;}
}

@media screen and (max-width: 781px) {
	.mobile-reverse-order{flex-direction: column-reverse;}
}

@media screen and (max-width: 900px) {
    .wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
        flex-basis: 100%!important;
    }
}

.wp-block-separator{ border-top: 1px solid #ffffff1c; }

.relative-pos{position: relative;}

.absolute-product-img{
	position: absolute;
	width: 250px;
    bottom: 40px;
    left: -20px;
	border: 5px solid var(--wp--custom--primary--main);
}

.absolute-product-img.col-left{
	bottom: unset;
	left: unset;
    top: 40px;
    right: -20px;
}

@media screen and (max-width:1200px) {.absolute-product-img{width: 200px; }}

@media screen and (max-width:600px) {
	.absolute-product-img{ 
		width: 150px; 
		left: 0;
	}

	.absolute-product-img.col-left{ right: 0; }	
}


/*market-cards*/
.market-cards{gap: 0!important;}

.market-cards .wp-block-column{position: relative;}

.market-cards .wp-block-image{
	margin-bottom: 0!important;
	opacity: .5;
}

.market-cards .wp-block-heading{
	color: white;
	position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0 0 20px 20px;
	font-size: 1.5em;
}

.market-cards img { width: 100%; }

@media (min-width:901px) and (max-width:1220px) {
	.market-cards .wp-block-heading{font-size: 1.2em;}
}

/* Homepage Products */

.hp-products.wp-block-columns {gap: 1em}

.hp-products .wp-block-column {
	padding: 3em;
	color: white;
}

.hp-products .wp-block-column:nth-child(odd) { background-color: var(--wp--custom--primary--main); }

.hp-products .wp-block-column:nth-child(odd) li:before { color: white; }

.hp-products .wp-block-column:nth-child(even) { background-color: var(--wp--custom--primary--dark); }

.hp-products .wp-block-column h2 { font-size: 3em; }

.hp-products .wp-block-column * {color: white}

.hp-products .wp-block-column svg { filter: brightness(0) invert(1); }

/* Cover Box */
 
@media screen and (min-width: 901px) {
	.cover-box .wp-block-cover__inner-container { margin-top: calc(var(--wp--preset--spacing--2-xl) * -1 + -60px) }
}
.policy_embed_div h1{font-size:32px !important;}