@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Product page */
body.single-product .container>.row.masonry {
	max-width: 900px;
}

body.single-product .main-container > section.pt0 {
	padding-left: 15px;
    padding-right: 15px;
}

.product .tabbed-content .tab-content ul.helvar-attribute-list {
	list-style-type: disc;
}

.product .tabbed-content .tab-content ul.helvar-link-list {
	list-style-type: disc;
}

.woocommerce table.shop_attributes tr th {
    width: 25%;
}

.flex-control-nav.flex-control-thumbs {
	margin-top: 20px !important;
}

body.woocommerce-page div.product div.images {
    width: 100%;
    margin: 0;
}

/* WooCommerce product page accordion */

body.woocommerce.single-product .product-single .product-card .product-card-header h3 {
	margin-bottom: 0;
	font-weight: 700;
}

body.woocommerce.single-product .product-single .product-card .product-card-header .product-card-button {
	position: relative;
	background-color: #ebebeb;
	cursor: pointer;
	width: 100%;
	padding: 1rem 2rem;
}

body.woocommerce.single-product .product-single .product-card .product-card-header .product-card-button::after {
	position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 24px;
    content: "\e648";
    font-family: 'themify';
    font-style: normal;
    font-weight: bold;
    font-variant: normal;
    text-transform: none;
    color: #292929;
	transition: all 0.1s ease;
	-webkit-transition: all 0.1s ease;
	-moz-transition: all 0.1s ease;
	transform: rotate(0deg);
}

body.woocommerce.single-product .product-single .product-card .product-card-header .product-card-button.collapsed::after {
	transform: rotate(180deg);
}

body.woocommerce.single-product .product-single .product-card .product-card-body {
	padding: 1rem 2rem;
	border: 1px solid #ebebeb;
}

body.woocommerce.single-product .product-single .product-card .product-card-body h2 {
	margin-top: 2rem;
	font-weight: 700;
	font-size: 18px;
}

body.woocommerce.single-product .product-single .product-card .product-card-body table {
	margin-bottom: 0rem;
}

/* Product archive */

.row div.product .title h5 {
    line-height: 1.5em;
	height: auto;
	margin-bottom: 1rem;
}

.product-archive-filters-container {
	margin-top: 2rem;
}

.product-archive-filter-widgets .widget-title {
	font-weight: 700;
}

.product-archive-filter-widgets div.widget {
	margin-bottom: 0;
}

.product-archive-filter-widgets div.widget button {
	display: none;
}

.product-archive-filter-buttons {
    display: flex;
	flex-direction: column;
}

.product-archive-filter-buttons button.button {
	margin-top: 1rem;
    margin-bottom: 1rem;
}

.woocommerce-widget-layered-nav-dropdown .select2-container {
	min-height: 28px;
}

.woocommerce-widget-layered-nav-dropdown .ti-angle-down{
	display: none;
}

.woocommerce-widget-layered-nav-dropdown  .select-option {
    margin-bottom: 12px;
}

.woocommerce.widget {
	margin-bottom: 24px;
}

.product-archive-filters-submit {
	margin-bottom: 0;
}

.helvar-shop-loop .row.masonry {
	display: flex;
	flex-wrap: wrap;
	height: auto !important;
}

.helvar-shop-loop .row.masonry .col-md-3 img {
	height: 200px;
	width: auto;
    object-fit: contain;
}

.berocket_element_above_products_is_hide_toggle.berocket_ajax_filters_toggle {
	margin: 0 0 20px;
	height: 50px;
    line-height: 50px;
}

.berocket_single_filter_widget {
	font-feature-settings: "lnum";
}

.berocket_single_filter_widget div.bapf_sfilter h3 {
    margin-bottom: 0.5rem;
    font-size: 16px;
    font-weight: 700;
}

.berocket_single_filter_widget .bapf_sfilter {
    margin-bottom: 10px;
}

.berocket_single_filter_widget .filter-true-value label::before {
	font-size: 12px;
	font-weight: 500;
	color: #000;
    text-transform: none;
    margin-bottom: 5px;
	vertical-align: middle;
	cursor: pointer;
    display: inline-block !important;
	content: 'Yes';
	visibility: visible;
}

.berocket_single_filter_widget .filter-true-value li label {
    visibility: hidden;
	font-size: 0;
}

.bapf_sfilter.bapf_button_berocket .bapf_button {
    font-size: 15px;
    padding: 6px 20px;
    border: 0;
    line-height: 28px;
    font-weight: 600;
    display: inline-block;
    color: #fff;
    text-transform: initial;
    text-align: center;
    text-decoration: none;
    background-color: #ba122b;
    margin-bottom: 0;
}

.bapf_sfilter.bapf_button_berocket .bapf_button:hover, .bapf_sfilter.bapf_button_berocket .bapf_button:focus, .bapf_sfilter.bapf_button_berocket .bapf_button:active {
    background-color: #ba122b;
}

/* Product buttons */

a.product-read-more {
    margin-bottom: 2rem;
    display: inline-block;
    border: 1px solid;
    padding: 6px 12px;
    margin-right: 12px;
    background-color: #ba122b;
    color: #fff;
}

a.product-read-more:hover, a.product-read-more:visited, a.product-read-more:focus {
	color: #fff;
}

/* Desktop */

@media screen and (min-width: 992px) {
	.berocket_element_above_products_is_hide_toggle {
		display: none !important;
	}

	.berocket_element_above_products_is_hide {
		display: block !important;
	}
}

/* Mobile */

@media screen and (max-width: 991px) {
	.sidebox.widget, .berocket_element_above_products_is_hide_toggle, .berocket_element_above_products_is_hide {
		padding: 0 12px;
	}
}

@media screen and (min-width: 768px) {
	body.single-product .main-container .container {
		width: 100%;
		max-width: 1570px;
	}
}

/* Language specific */

html[lang="zh-hans"] .berocket_single_filter_widget .filter-true-value label::before {
	content: '有';
}

html[lang="tr-TR"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Evet';
}

html[lang="sv-SE"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Ja';
}

html[lang="ru-RU"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Да';
}

html[lang="it-IT"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Sì';
}

html[lang="fr-FR"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Oui';
}

html[lang="fi"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Kyllä';
}

html[lang="es-ES"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Sí';
}

html[lang="de-DE"] .berocket_single_filter_widget .filter-true-value label::before {
	content: 'Ja';
}

/* Youtube lite style */

.youtube-player {
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	max-width: 100%;
	background: #000;
	margin: 5px;
}

.youtube-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 100;
	background: transparent;
}

.youtube-player img {
	object-fit: cover;
	display: block;
	left: 0;
	bottom: 0;
	margin: auto;
	max-width: 100%;
	width: 100%;
	position: absolute;
	right: 0;
	top: 0;
	border: none;
	height: auto;
	cursor: pointer;
	-webkit-transition: 0.4s all;
	-moz-transition: 0.4s all;
	transition: 0.4s all;
}

.youtube-player img:hover {
	-webkit-filter: brightness(75%);
}

.youtube-player .play {
	height: 72px;
	width: 72px;
	left: 50%;
	top: 50%;
	margin-left: -36px;
	margin-top: -36px;
	position: absolute;
	background: url('https://helvar.com/wp-content/plugins/netsuite-woocommerce-mods/images/play-button.png') no-repeat;
	background-size: contain;
	cursor: pointer;
}

.woocommerce-product-details__short-description .youtube-player {
	width: 420px;
    padding-bottom: 315px;
}
/* fix reference youtube videos when using light format (functions.php filter) */
#case-study-content .reference-video-container .reference-video:after {
    display: none !important;
}

/* ----------MG PIM migration edits 07.09.23 -------------*/

/* no results found- change top bar colour */
div.bapf_no_products > p.woocommerce-info {
	border-top-color: lightgray;
}

/* no results found- change icon colour */
.woocommerce-info::before {
	color: #ba122b;
}

/* no results found- change icon to exclamation mark with heavier weight */
.woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    font-family: WooCommerce;
    content: "!";
    display: inline-block;
    position: absolute;
    top: 1em;
    font-weight: bolder;
    left: 1.5em;
}

/* styling adjustments to font weights and filter plugin */
/* decrease label weight */
div.bapf_body > ul > li > label {
	font-weight: 500;
}

/* change filter slider color to brand color */
.bapf_slidr_main.ui-widget-content .ui-slider-range,.berocket_filter_price_slider.ui-widget-content .ui-slider-range {
    background: #1f2a44;
}

/* consistent category name weight */
.widget_product_categories {
	font-weight: 500;
}

/* consistent category weight */
ul.product-categories li.cat-parent > a {
    color: #777;
    font-weight: 500;
    font-size: 18px;
    cursor: default;
    text-decoration: none;
}

/* change main category font color from red to black */
#woocommerce_product_categories-2 > ul > li.cat-item.cat-item-20505 > a,
#woocommerce_product_categories-2 > ul > li.cat-item.cat-item-21048 > a,
#woocommerce_product_categories-2 > ul > li.cat-item.cat-item-20515 > a {
color: #3a3a3a;
}

/* ---------MENU ADJUSTMENTS--------- */
/* add box shadow to desktop nav menu for contrast */
@media only screen and (min-width: 1200px) {
ul.mega-menu {
	box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.15);
}}

.mega-menu {
	z-index: 999999 !important;
}

a.big_link {
	z-index: 999 !important;
}

/* ---------FORM ADJUSTMENTS--------- */
.gform_body .input-with-label span, .gform_body label {
	font-size:12px;
	color: #a3a3a3!important;
}

.gform_body legend {
    text-transform: uppercase;
    color: #a3a3a3!important;
}

.select-option {
	margin-top: 0px!important;
	margin-bottom: 0px!important;
}

.gform_button .button {
	width: fit-content;
	padding: 0px 15px;
}

.gform_footer .top_label {
	justify-content: center;
}

 /* HIDE NORWEGIAN LANGUAGE SWITCHERS everywhere */
.language>.menu>li>ul>li:nth-child(5), .wpml-ls-item-no {
    display: none !important;
}

/* hide RU language switcher at footer*/
#icl_lang_sel_widget-5 > div > ul > li.wpml-ls-slot-footer3.wpml-ls-item.wpml-ls-item-ru.wpml-ls-item-legacy-list-horizontal {
	display: none;
}

/* fix gform alignment in modals */
.foundry_modal.text-center.reveal-modal .gform_body.gform-body {
	text-align: initial;
}