/**
 * @package    VP Advanced Custom Field for VirtueMart
 * 
 * @author     Abhishek Das <info@virtueplanet.com>
 * @copyright  Copyright (C) 2012-2019 VirtuePlanet Services LLP. All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 * @link       https://www.virtueplanet.com
 */

@font-face {
	font-family: 'vmcustomadvanced';
	src:  url('../fonts/vmcustomadvanced.eot?5t2rh0');
	src:  url('../fonts/vmcustomadvanced.eot?5t2rh0#iefix') format('embedded-opentype'),
	  url('../fonts/vmcustomadvanced.ttf?5t2rh0') format('truetype'),
	  url('../fonts/vmcustomadvanced.woff?5t2rh0') format('woff'),
	  url('../fonts/vmcustomadvanced.svg?5t2rh0#vmcustomadvanced') format('svg');
	font-weight: normal;
	font-style: normal;
}
.plg-vmcustom-advanced {
	text-align: left;
}
[class^="vmca-"], [class*=" vmca-"] {
	/* use !important to prevent issues with browser extensions that change fonts */
	font-family: 'vmcustomadvanced' !important;
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.vmca-tick:before {
	content: "\f00c";
}
.vmcustomadvanced-loader-bg,
.vmcustomadvanced-loader-spinner {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #fff;
	z-index: 1084;
	-webkit-transition: all 150ms ease-in;
	-moz-transition: all 150ms ease-in;
	-o-transition: all 150ms ease-in;
	transition: all 150ms ease-in;
}
.vmcustomadvanced-loader-spinner {
	background-color: transparent;
	background: url('../images/loader.gif') no-repeat 50% 50%;
	z-index: 1085;
}
.vmcustomadvanced-fade .vmcustomadvanced-loader-bg,
.vmcustomadvanced-fade .vmcustomadvanced-loader-spinner {
	display: block;
	opacity: 0;
}
.vmcustomadvanced-in .vmcustomadvanced-loader-bg,
.vmcustomadvanced-in .vmcustomadvanced-loader-spinner {
	display: block;
	opacity: 0.6;
}
.vmcustomadvanced-in .vmcustomadvanced-loader-spinner {
	opacity: 1;
}
.plg-vmcustom-advanced-variant-title {
	font-weight: bold;
	margin-bottom: 8px;
	display: block;
	float: none;
}
.plg-vmcustom-advanced-haserror .plg-vmcustom-advanced-variant-title {
	color: #dc3545;
}
.vmcustomadvanced-variant-error-msg {
	display: none;
	color: #dc3545;
	margin: 5px 0;
}
.plg-vmcustom-advanced-haserror .vmcustomadvanced-variant-error-msg {
	display: block;
}
.plg-vmcustom-advanced-variant {
	margin-bottom: 15px;
}
.plg-vmcustom-advanced-variant select {
	margin: 0;
	min-width: 220px;
}
.select2-hidden-accessible {
	visibility: hidden !important;
	min-width: 0 !important;
	-webit-box-shadow: none !important;
	box-shadow: none !important;
}
.select2-container:focus,
.select2-selection:focus {
	outline: none !important;
}
.plg-vmcustom-advanced-variant .chzn-container {
	display: none !important;
}
.select2-container, .select2-container * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.vmcustomadvanced-select-item {
	display: block;
	position: relative;
	vertical-align: middle;
}
.select2-selection--multiple .vmcustomadvanced-select-item {
	display: inline-block;
	vertical-align: inherit;
}
.vmcustomadvanced-select-item.has-sample {
	padding-left: 24px;
}
.vmcustomadvanced-select-nostocktext {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	line-height: 1;
	opacity: 0;
	visibility: hidden;
	background: rgba(255, 255, 255, 0.7);
	text-align: right;
	font-size: 12px;
	color: #dc3545;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	transition: all 100ms linear;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-o-transition: all 100ms linear;
}
.vmcustomadvanced-select-item:hover .vmcustomadvanced-select-nostocktext {
	opacity: 1;
	visibility: visible;
}
.vmcustomadvanced-select-sample,
.vmcustomadvanced-select-sample-img {
	position: absolute;
	top: 50%;
	left: 0;
	width: 16px;
	height: 16px;
	margin-top: -9px;
	border: 1px solid #aaa;
	border-radius: 3px;
	display: inline-block;
	overflow: hidden;
	line-height: 1;
}
.vmcustomadvanced-select-sample-img img,
.vmcustomadvanced-radio-sample-img img,
.plg-vmcustom-advanced-sample-img img {
	width: 100%;
	height: auto;
	vertical-align: top;
	display: inline-block;
}
.vmcustomadvanced-select-text,
.vmcustomadvanced-select-price {
	display: inline-block;
}
.vmcustomadvanced-select-price,
.vmcustomadvanced-radio-price {
	margin-left: 10px;
	font-size: 0.9em;
	color: #aaa;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] .vmcustomadvanced-select-price {
	color: #eee;
}
.select2-container .select2-selection--single {
	height: auto;
}
.select2-container, .select2-dropdown, .select2-search, .select2-results {
	-webkit-transition: none !important;
	-moz-transition: none !important;
	-ms-transition: none !important;
	-o-transition: none !important;
	transition: none !important;
}
.select2-search--dropdown .select2-search__field {
	display: inline-block;
	width: 100% !important;
	height: auto !important;
	padding: 4px !important;
	font-size: 14px !important;
	line-height: 1.4 !important;
	color: #555 !important;
	background-color: #FFF !important;
	background-image: none !important;
	border: 1px solid #CCC !important;
	border-radius: 4px !important;
	margin: 0 0 5px 0 !important;
}
.plg-vmcustom-advanced-radio {
	position: relative;
	display: block;
	margin-top: 0;
	margin-bottom: 10px;
}
.plg-vmcustom-advanced-radio label {
	display: inline-block;
	min-height: 20px;
	padding-left: 20px;
	margin-bottom: 0;
	font-weight: normal;
	cursor: default;
}
.plg-vmcustom-advanced-radio input[type="radio"],
.plg-vmcustom-advanced-radio input[type="checkbox"] {
	position: absolute;
	top: 50%;
	left: 0;
	padding: 0;
	line-height: normal;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
}
.vmcustomadvanced-radio-info {
	position: relative;
}
.vmcustomadvanced-radio-nostocktext {
	position: absolute;
	display: none;
	top: 100%;
	left: 50%;
	padding: 5px 0;
	/*margin-top: -3px;*/
	font-size: 12px;
	line-height: 1.4;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 1055;
	pointer-events: none;
}
.vmcustomadvanced-radio-nostocktext:before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	top: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 0 5px 5px;
	border-bottom-color: #dc3545;
	border-bottom-color: rgba(220, 53, 69, 0.9);
}
.vmcustomadvanced-radio-nostockinner {
	display: block;
	background: #dc3545;
	background: rgba(220, 53, 69, 0.9);
	color: #fff !important;
	text-align: center;
	padding: 3px 8px;
	max-width: 200px;
	min-width: 120px;
	border-radius: 4px;
}
.plg-vmcustom-advanced-radio label:hover .vmcustomadvanced-radio-nostocktext {
	display: block;
	-webkit-animation-name: vmcustomadvancedFadeIn;
	animation-name: vmcustomadvancedFadeIn;
	-webkit-animation-duration: 300ms;
	animation-duration: 300ms;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.vmcustomadvanced-radio-sample,
.vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-sample,
.plg-vmcustom-advanced-sample-img {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 1px solid #ccc;
	border-radius: 4px;
	margin-right: 5px;
	-webkit-box-shadow: inset 0 9px 0 rgba(255, 255, 255, .1);
	-moz-box-shadow: inset 0 9px 0 rgba(255, 255, 255, .1);
	box-shadow: inset 0 9px 0 rgba(255, 255, 255, .1);
	vertical-align: middle;
}
.plg-vmcustom-advanced-sample,
.plg-vmcustom-advanced-sample-img {
	width: 20px;
	height: 20px;
}
.vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-sample-img {
	border: 0 none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
	overflow: hidden;
}
.vmcustomadvanced-radio-sample + .vmcustomadvanced-radio-info,
.vmcustomadvanced-radio-sample-img + .vmcustomadvanced-radio-info {
	vertical-align: middle;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn {
	display: inline-block;
	margin: 0 10px 10px 0;
}
.vmcustomadvanced-is-btn label input[type="radio"],
.vmcustomadvanced-is-btn label input[type="checkbox"] {
	position: absolute;
	top: -10000px;
	left: -10000px;
	visibility: hidden;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label {
	padding-left: 0;
	text-align: center;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"] + .vmcustomadvanced-radio-sample,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"] + .vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"] + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"] + .vmcustomadvanced-radio-sample,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"] + .vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"] + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text {
	cursor: pointer;
}
.plg-vmcustom-advanced-radio label input[type="radio"]:disabled ,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"]:disabled + .vmcustomadvanced-radio-sample,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"]:disabled + .vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="radio"]:disabled + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text,
.plg-vmcustom-advanced-radio label input[type="checkbox"]:disabled ,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"]:disabled + .vmcustomadvanced-radio-sample,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"]:disabled + .vmcustomadvanced-radio-sample-img,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn label input[type="checkbox"]:disabled + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text {
	cursor: default;
	cursor: not-allowed;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn .vmcustomadvanced-radio-price {
	display: block;
	margin: 5px 0 0 0;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn .vmcustomadvanced-radio-text {
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0;
	font-size: 14px;
	font-weight: normal;
	line-height: 1.42857143;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-image: none;
	background-color: #fff;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 4px;
	outline: 0 none;
	-webkit-transition: border-color 200ms linear;
	transition: border-color 200ms linear;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn input[type="radio"]:checked + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn input[type="checkbox"]:checked + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text {
	border-color: #555;
	font-weight: bold;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn input[type="radio"]:disabled + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text,
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn input[type="checkbox"]:disabled + .vmcustomadvanced-radio-info .vmcustomadvanced-radio-text {
	color: #aaa;
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-info {
	position: static;
}
.vmcustomadvanced-is-btn.has-sample label {
	position: relative;
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-sample,
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-sample-img {
	margin: 0;
	position: relative;
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-sample:before,
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-sample-img:before {
	position: absolute;
	opacity: 0;
	top: 50%;
	left: 50%;
	font-family: 'vmcustomadvanced' !important;
	content: "\f00c";
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
	font-size: 14px;
	color: inherit;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	-webkit-transition: opacity 50ms ease-in;
	-moz-transition: opacity 50ms ease-in;
	-o-transition: opacity 50ms ease-in;
	transition: opacity 50ms ease-in;
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-text {
	position: absolute;
	display: none;
	bottom: 100%;
	left: 50%;
	padding: 5px 0;
	margin-bottom: 3px;
	font-size: 12px;
	line-height: 1.4;
	-ms-transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	z-index: 1055;
	pointer-events: none;
	border: 0 none;
	white-space: initial;
	background: 0 none;
	border-radius: 0;
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-text:before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	border-color: transparent;
	border-style: solid;
	bottom: 0;
	left: 50%;
	margin-left: -5px;
	border-width: 5px 5px 0;
	border-top-color: #000;
	border-top-color: rgba(0, 0, 0, 0.9);
}
.vmcustomadvanced-is-btn.has-sample .vmcustomadvanced-radio-textinner {
	display: block;
	background: #000;
	background: rgba(0, 0, 0, 0.9);
	color: #fff !important;
	text-align: center;
	padding: 3px 8px;
	max-width: 200px;
	min-width: 120px;
	border-radius: 4px;
}
.plg-vmcustom-advanced-radio.vmcustomadvanced-is-btn.has-sample label:hover .vmcustomadvanced-radio-text {
	display: block;
	-webkit-animation-name: vmcustomadvancedFadeIn;
	animation-name: vmcustomadvancedFadeIn;
	-webkit-animation-duration: 300ms;
	animation-duration: 300ms;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.vmcustomadvanced-is-btn.has-sample:hover input[type="radio"]:not(:checked) + .vmcustomadvanced-radio-sample:before,
.vmcustomadvanced-is-btn.has-sample:hover input[type="radio"]:not(:checked) + .vmcustomadvanced-radio-sample-img:before,
.vmcustomadvanced-is-btn.has-sample:hover input[type="checkbox"]:not(:checked) + .vmcustomadvanced-radio-sample:before,
.vmcustomadvanced-is-btn.has-sample:hover input[type="checkbox"]:not(:checked) + .vmcustomadvanced-radio-sample-img:before  {
	opacity: 0.5;
}
.vmcustomadvanced-is-btn.has-sample input[type="radio"]:checked + .vmcustomadvanced-radio-sample:before,
.vmcustomadvanced-is-btn.has-sample input[type="radio"]:checked + .vmcustomadvanced-radio-sample-img:before,
.vmcustomadvanced-is-btn.has-sample input[type="checkbox"]:checked + .vmcustomadvanced-radio-sample:before,
.vmcustomadvanced-is-btn.has-sample input[type="checkbox"]:checked + .vmcustomadvanced-radio-sample-img:before {
	opacity: 1;
}
.vmcustomadvanced-modal, .vmcustomadvanced-modal * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
.vmcustomadvanced-modal-bg, .vmcustomadvanced-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #000;
	background: rgba(0, 0, 0, 0.8);
	opacity: 0;
	z-index: 1050;
}
.vmcustomadvanced-modal {
	background: 0 none;
	z-index: 1055;
}
.vmcustomadvanced-modal-dialog {
	position: relative;
	margin: 30px auto;
	width: 100%;
	max-width: 900px;
}
.vmcustomadvanced-in {
	display: block;
	-webkit-animation-name: vmcustomadvancedFadeIn;
	animation-name: vmcustomadvancedFadeIn;
	-webkit-animation-duration: 300ms;
	animation-duration: 300ms;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.vmcustomadvanced-modal-fade {
	display: block;
	-webkit-animation-name: vmcustomadvancedFadeOut;
	animation-name: vmcustomadvancedFadeOut;
	-webkit-animation-duration: 300ms;
	animation-duration: 300ms;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
}
.vmcustomadvanced-modal-inner {
	position: relative;
	background-color: #fff;
	border: 1px solid #999;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 2px;
	-webkit-box-shadow: 0 3px 9px rgba(0,0,0,0.5);
	box-shadow: 0 3px 9px rgba(0,0,0,0.5);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	outline: 0;
	margin-left: 20px;
	margin-right: 20px;
}
.vmcustomadvanced-modal-body {
	position: relative;
	width: 100%;
	padding: 25px;
	max-height: 650px;
	max-height: calc(100vh - 140px);
	overflow-y: auto;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}
.vmcustomadvanced-modal-header {
	padding: 15px 25px;
	border-bottom: 1px solid #e5e5e5;
}
.vmcustomadvanced-modal-header > h3 {
	font-size: 18px;
	line-height: 1.8;
	margin: 0;
	padding: 0;
	color: #333;
}
.vmcustomadvanced-modal-close {
	float: right;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
	color: #000;
	text-shadow: 0 1px 0 #fff;
	padding: 0;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	opacity: 0.2;
}
.vmcustomadvanced-modal-close:hover, .vmcustomadvanced-modal-close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	opacity: 0.5;
	outline: none;
}
.vmcustomadvanced-modal-placeholder {
	position: absolute;
	width: 1px;
	height: 1px;
	visibility: hidden;
	left: -10000px;
	top: -10000px;
}
.plg-vmcustom-advanced-set {
	margin-bottom: 5px;
}
.plg-vmcustom-advanced-set-title {
	font-weight: bold;
}
@-webkit-keyframes vmcustomadvancedFadeIn {
	0% {
		opacity: 0
	}
	100% {
		opacity: 1;
	}
}
@keyframes vmcustomadvancedFadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}
@-webkit-keyframes vmcustomadvancedFadeOut {
	0% {
		opacity: 1
	}
	100% {
		opacity: 0;
	}
}
@keyframes vmcustomadvancedFadeOut {
	0% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}