#atwm-show-product-customizer {
	display: block;
	background: none;
	border: solid 1px #2d89cb;
	background-color: #2d89cb;
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
	float: none;
	margin-top: 10px;
	width: 100%;
}

.atwm-product-customizer-modal {
	position: fixed;
	width: 50%;
	height: 50%;
	top: 50%;
	left: 50%;
	transform: translate( -50%, -50% );
    z-index: 160001;
	background-color: #fff;
	font-size: 12px;
	padding: 30px;
	padding-bottom: 50px;
	box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
	overflow: hidden;
	display: none;
	opacity: 0;
	background-color: #e8eaeb;
	border: solid 1px #2d89cb;
}
.atwm-product-customizer-modal-close-x {
	position: absolute;
	top: 0;
	right: 0;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	background: 0 0;
	color: #666;
	z-index: 1000;
	cursor: pointer;
	outline: 0;
	-webkit-transition: color .1s ease-in-out,background .1s ease-in-out;
	transition: color .1s ease-in-out,background .1s ease-in-out;
	box-sizing: content-box;
}
.atwm-product-customizer-modal-close-x .material-icons {
	font-size: 24px;
}

.atwm-product-customizer-modal-content {
	padding: 10px;
	overflow-x: hidden;
	overflow-y: scroll;
	position: relative;
	display: block;
	height: 100%;
	background-color: #fff;
}

.atwm-product-customizer-modal .vc_col-sm-6 {
	width: 100%;
}

.atwm-product-customizer-modal-content h2 {
	font-size: 1.6em;
	font-weight: 700;
	padding-bottom: 10px;
}
.atwm-product-customizer-modal-content h3 {
	font-size: 1.2em;
	font-weight: 700;
	padding-top: 16px;
	padding-bottom: 6px;
}
.atwm-product-customizer-modal-content ul,
.atwm-product-customizer-modal-content ol {
	padding-left: 20px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.atwm-product-customizer-modal-content li {
	margin-bottom: 10px;
}
.atwm-product-customizer-modal-content p {
	margin-top: 10px;
	margin-bottom: 10px;
}

.atwm-product-customizer-modal-close {
	background: none;
	border: solid 1px #2d89cb;
	background-color: #2d89cb;
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
	margin-right: 5px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.atwm-product-customizer-modal-close:hover {
	background: none;
	border: none;
	background-color: #f1f1f1;
	color: #000;
    border: solid 1px rgba(0,0,0,0.2);
}


#atwm-product-customizer {
    position: fixed;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 160000;
	background-color: #fff;
	font-size: 12px;
}
#atwm-product-customizer-close {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px;
	height: 50px;
	margin: 0;
	padding: 0;
	border: 1px solid transparent;
	background: 0 0;
	color: #666;
	z-index: 1000;
	cursor: pointer;
	outline: 0;
	-webkit-transition: color .1s ease-in-out,background .1s ease-in-out;
	transition: color .1s ease-in-out,background .1s ease-in-out;
	box-sizing: content-box;
}
#atwm-product-customizer-close .material-icons {
	font-size: 24px;
}


#atwm-product-customizer-preloader {
	position: absolute;
	top: 50%;
	left: 50%;
    transform: translate(-50%,-50%);
	width: 40px;
	height: 40px;
	background-image: url(preloader.gif);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	z-index: 1000;
	display: none;
}


.atwm-product-customizer-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	min-height: 360px;
	background: #000;
	opacity: .7;
	z-index: 159900;
}

.atwm-product-customizer-content {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: auto;
	min-height: 300px;
	-webkit-box-shadow: 0 5px 15px rgba(0,0,0,.7);
	box-shadow: 0 5px 15px rgba(0,0,0,.7);
	background: #fff;
	-webkit-font-smoothing: subpixel-antialiased;
	overflow: hidden;
	padding: 30px;
}
.atwm-product-customizer-content .atwm-row {
	height: 100%;
}
.atwm-product-customizer-content .atwm-col-6 {
	height: 100%;
}

#atwm-product-customizer-preview-container {
	position: relative;
	height: 100%;
	padding-left: 80px;
	border: solid 1px rgba(0,0,0,0.2);
	box-sizing: border-box;
}
#atwm-product-customizer-preview {
	position: relative;
	height: 100%;
	float: left;
	box-sizing: border-box;
}
#atwm-product-customizer-preview img {
	max-width: 100%;
	max-height: 100%;
}

#atwm-image-content-body {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 3;
	float: right;
}
#atwm-image-overlay-info {
	position: relative;
	width: 300px;
}
.atwm-image-overlay-info {
	border: solid 1px #ccc;
	padding: 20px;
	background-color: #e8eaeb;
	margin-bottom: 10px;
}
.atwm-image-overlay-info h3 {
	font-size: 1.3em;
}
.atwm-image-overlay-info p {
	font-size: 1.1em;
	line-height: 1.3em;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}
.atwm-image-overlay-info1:hover,
.atwm-image-overlay-info1.selected {
	border: solid 1px rgba( 0,0,0,0.30 );
	background-color: rgba( 0,0,0,0.40 );
	color: #fff;
}

#atwm-product-customizer-thumbs {
	width: 80px;
	height: 100%;
	float: left;
	position: relative;
	border-right: solid 1px rgba(0,0,0,0.2);
	box-sizing: border-box;
	z-index: 2;
}
#atwm-product-customizer-thumbs ul {
	padding: 0;
	margin: 0;
	list-style: none;
	padding: 10px;
}

#atwm-product-customizer-thumbs ul li img {
	width: 100%;
	height: auto;
	cursor: pointer;
}


#atwm-product-customizer-preview-canvas {
	position: fixed;
	left: -20000px;
}
#atwm-product-customizer-preview-canvas img {

}
.overimage {
	position: absolute;
}


#atwm-product-customizer-preview-hidden {
	position: relative;
	width: 100%;
	height: 100%;
	left: -20000px;
	z-index: -1;
	box-sizing: border-box;
	float: left;
}
#atwm-product-customizer-preview-hidden img {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	top: 0px;
	left: 0px;
}
#atwm-product-customizer-preview-hidden svg {
	position: absolute;
	top: 0px;
	left: 0px;
}

#atwm-image-buttons {
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
	z-index: 20;
	text-align: left;
}
#atwm-image-buttons input {
	background: none;
	border: solid 1px #2d89cb;
	background-color: #2d89cb;
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
	float: left;
}
#atwm-image-buttons input:hover {
	background: none;
	border: none;
	background-color: #f1f1f1;
	color: #000;
    border: solid 1px rgba(0,0,0,0.2);
}


#atwm-image-uploader {
	position: absolute;
	bottom: 20px;
	right: 20px;
	display: none;
}
#atwm-image-pdf,
#atwm-image-image {
	display: none;
	width: 48%;
	box-sizing: border-box;
}
#atwm-image-pdf {
	float: right !important;
}
.svgarea {
	position: absolute;
	top: 0px;
	left: 0px;
	cursor: pointer;
}
.line {
  stroke: #ff0;
  stroke-opacity: 1.0;
  stroke-width: 1px;
  stroke-linecap: square;
}
.svgarea:hover .line {
  stroke: #f00;
}
.svgarea.selected .line {
  stroke: #f00;
}
.svgarea:hover image {
  opacity: 0.8;
}
.svgarea.selected image {
  opacity: 0.8;
}

#atwm-customizer-form {
	display: none;
}
#atwm-customizer-form h3 {
	font-size: 1.6em;
	margin-bottom: 0.8em;
	font-weight: 700;
}
.atwm-customizer-form-input {
	width: 100% !important;
	border: none;
	background: none;
	background-color: rgba(0, 0, 0, 0);
	font-size: 1em;
	box-sizing: border-box;
	margin-top: 0em ;
	padding: 0.5em 1.5em;
	background-color: #e8eaeb;
	height: 32px;
	border-radius: 0px;
	margin-bottom: 10px;
	border: solid 1px #ccc;
}
.atwm-customizer-form-textarea {
	width: 100% !important;
	border: none;
	background: none;
	background-color: rgba(0, 0, 0, 0);
	font-size: 1em;
	box-sizing: border-box;
	margin-top: 0em;
	padding: 0.5em 1.5em;
	background-color: #e8eaeb;
	height: 100px;
	border-radius: 0px;
	margin-bottom: 10px;
	border: solid 1px #ccc;
}

.atwm-customizer-terms-container {
	background-color: #e8eaeb;
	padding: 10px;
	margin-bottom: 10px;
	overflow: hidden;
}
.atwm-customizer-form-agree {
	float: left;
}
.atwm-customizer-form-agree-text {
	color: #000;
	line-height: 1.4em;
	margin-bottom: 10px;
}
.atwm-customizer-form-button {
	background: none;
	border: solid 1px #2d89cb;
	background-color: #2d89cb;
	color: #fff;
	padding: 5px 10px;
	cursor: pointer;
	width: 48%;
	display: block;
	box-sizing: border-box;
	white-space: normal;
	float: left;
	font-size: 0.9em;
	min-height: 4em;
}


#atwm-customizer-form-submit {
	background: none;
	border: solid 1px #2d89cb;
	background-color: #2d89cb;
	color: #fff;
	padding: 10px 20px;
	cursor: pointer;
	float: left;
	margin-right: 5px;
}
#atwm-customizer-form-submit:hover {
	background: none;
	border: none;
	background-color: #f1f1f1;
	color: #000;
    border: solid 1px rgba(0,0,0,0.2);
}

/* Mobile portrait mode */
@media (max-width: 767px) {
	
	.atwm-product-customizer-content .atwm-row {
		height: auto;
	}
	.atwm-product-customizer-content .atwm-col-6 {
		height: auto;
	}

	#atwm-product-customizer {
		top: 10px;
		left: 10px;
		right: 10px;
		bottom: 10px;
		z-index: 160000;
	}
	#atwm-product-customizer-content {
		overflow: auto;
	}
	#atwm-product-customizer-preview-container {
		padding-left: 0px;
		border: none;
	}
	


	#atwm-product-customizer-thumbs {
		width: 100%;
		float: none;
		height: auto;
		border: none;
	}
	#atwm-product-customizer-thumbs ul {
		padding: 0;
		margin: 0;
		list-style: none;
		text-align: center;
	}

	#atwm-product-customizer-thumbs ul li {
		width: 15%;
		display: inline-block;
		margin-left: 5px;
		margin-right: 5px;
	}
	
	#atwm-product-customizer-preview {
		width: 100%;
		float: none;
	}
	#atwm-product-customizer-preview-hidden {
		width: 100%;
		float: none;
	}
	
	#atwm-image-buttons {
		position: relative;
		bottom: auto;
		left: auto;
		width: 100%;
		z-index: 20;
		text-align: left;
		overflow: hidden;
		margin-bottom: 10px;
	}
	#atwm-customizer-form-submit {
		width: 100%;
		box-sizing: border-box;
	}
}