/*img { max-width: 100%; }*/

h1 {
	font-size: 36px;
}

h2 {
	font-size: 24px;
}

header {
	margin: 0 0 40px 0;
}

#panel-disabler {
	z-index: 1000;
	position: absolute;
	left: 0;
	top: 0;
	background: rgba(255, 255, 255, 0.5);
	width: 100%;
	height: 100%;
}

#wrap {
	padding: 20px;
}

.ndd-drawable-canvas {
	position: relative;
	cursor: crosshair;
	margin: 0px auto;
}

.ndd-drawable-active-area {
	position: absolute;
	z-index: 99;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
}

/* #panel-canvas {
	max-height: 600px;
} */

.ndd-drawable-canvas-image {
	width: 100%;
	height: 100%;
}

.ndd-drawable, .ndd-drawable-rect {
	position: absolute;
}

.ndd-drawable.ndd-selected, .ndd-drawable-rect.ndd-selected {
	cursor: -webkit-grab;
	z-index: 999;
}

.ndd-drawable.ndd-selected.ndd-moving, .ndd-drawable-rect.ndd-selected.ndd-moving {
	cursor: -webkit-grabbing;
}

.ndd-drawable.ndd-selected .ndd-drawable-marquee {
	display: block;
	position: absolute;
	left: -4px;
	top: -4px;
	width: 52px;
	height: 52px;
	border: 2px dashed white;
	border-radius: 100px;
}

.ndd-drawable.ndd-selected .ndd-drawable-marquee:before {
	display: block;
	content: "";
	position: absolute;
	left: -2px;
	top: -2px;
	width: 52px;
	height: 52px;
	border: 2px dashed black;
	border-radius: 100px;
	-webkit-transform: rotate(14deg);
	    -ms-transform: rotate(14deg);
	        transform: rotate(14deg);
}

.ndd-drawable-rect-handle {
	width: 10px;
	height: 10px;
	position: absolute;
	background: white;
	display: none;
}

.ndd-drawable-rect.ndd-selected .ndd-drawable-rect-handle {
	display: block;
	z-index: 10000;
}

.ndd-drawable-rect-handle-1 {
	left: 0;
	top: 0;
	cursor: nwse-resize;
}

.ndd-drawable-rect-handle-2 {
	left: 50%;
	top: 0;
	margin-left: -5px;
	cursor: ns-resize;
}

.ndd-drawable-rect-handle-3 {
	right: 0;
	top: 0;
	cursor: nesw-resize;
}

.ndd-drawable-rect-handle-4 {
	right: 0;
	top: 50%;
	margin-top: -5px;
	cursor: ew-resize;
}

.ndd-drawable-rect-handle-5 {
	right: 0;
	bottom: 0;
	cursor: nwse-resize;
}

.ndd-drawable-rect-handle-6 {
	left: 50%;
	bottom: 0;
	margin-left: -5px;
	cursor: ns-resize;
}

.ndd-drawable-rect-handle-7 {
	left: 0;
	bottom: 0;
	cursor: nesw-resize;
}

.ndd-drawable-rect-handle-8 {
	left: 0;
	top: 50%;
	margin-top: -5px;
	cursor: ew-resize;
}

/* ANNOTATIONS */

.ndd-annotation-container {
	position: absolute;
	display: none;
	left: 0;
	top: 0;
	width: 0;
	height: 0;
	z-index: 999;
}

.ndd-annotation-container.ndd-annotation-visible {
	display: none;
}

.ndd-annotation-box {
	position: absolute;
	left: 0;
	top: 0;
	width: auto;
	height: auto;
	background: rgba(0, 0, 0, 0) !important;
}

.ndd-annotation-content {
	
}

.ndd-annotation-content h1 {
	font: 18px sans-serif;
	color: white;
	margin: 0;
	display: none;
}

.ndd-annotation-content p {
	font: 12px sans-serif;
	color: white;
	margin-top: 10px;
	display: none;
}

.ndd-annotation-content .ndd-popup span{ display:block; background: rgba(255, 255, 255, 1);	border-radius: 10px; padding: 5px; margin-bottom: 3px; box-shadow: 3px 3px 6px rgba(0,0,0,0.6);}
.ndd-annotation-content .ndd-popup .user-face{ width: 34px; height: 34px; margin-bottom: -17px; margin-left: 113px;}
.ndd-annotation-content .ndd-popup .user-face img{ width: 30px; height: 30px; border-radius: 17px; border: 2px solid #ffffff;}
.ndd-annotation-content .ndd-popup .ndd-content{ text-align: left; line-height: 1.6; background: rgba(255, 255, 255, 1); border-radius: 6px; padding: 22px 10px 6px 10px; box-shadow: 3px 3px 6px rgba(0,0,0,0.6); word-wrap: break-word; word-break: normal; font-size: 12px;}

.content_down .ndd-popup span{ margin-top: 3px; margin-bottom: 0px;}
.content_down .ndd-popup .user-face{ margin-top: -17px; margin-bottom: 0px;}
.content_down .ndd-popup .ndd-content, .content_down .ndd-popup .ndd-edit-area{ padding: 7px 10px 21px 8px !important;}

.ndd-annotation-content .ndd-popup .ndd-edit-area{ text-align: left; line-height: 1.6; background: rgba(255, 255, 255, 1);	border-radius: 6px; padding: 22px 10px 6px 10px; text-align: center; box-shadow: 3px 3px 6px rgba(0,0,0,0.6);}

.ndd-annotation-content .ndd-popup .ndd-edit-area textarea{ width: 226px;}

.ndd-annotation-content .ndd-popup .ndd-edit-area .save-ndd{ margin-top: 5px; border: 1px solid #2abce3; padding: 0px 15px; height: 28px; line-height: 28px; font-size: 12px; background: #2abce3; color: #ffffff;	border-radius: 3px; }
.ndd-annotation-content .ndd-popup .ndd-edit-area .save-ndd:hover{ background: #27c6f0; cursor: pointer;}

/* arrows */

.ndd-annotation-arrow-up {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;

	border-bottom: 10px solid rgba(255, 255, 255, 1);
}

.ndd-annotation-arrow-down {
	position: absolute;
	width: 0;
	height: 0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-top: 10px solid rgba(255, 255, 255, 1);
}

.ndd-annotation-arrow-right {
	position: absolute;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;

	border-left: 10px solid rgba(255, 255, 255, 1);
}

.ndd-annotation-arrow-left {
	position: absolute;
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;

	border-right:10px solid rgba(255, 255, 255, 1);
}

/* icon-styles */



.btn-group-no-margin label {
	margin: 0 -1px -1px 0 !important;
}

/* rect ICON styles */

.icon-style-rect-1 .ndd-icon-main-element {
	width: 44px;
	height: 44px;
	border-radius: 8px;
	background: rgba(0, 0, 0, 0.2);
}

.icon-style-rect-2 .ndd-icon-main-element {
	background: rgba(0, 0, 0, 0.4);
	border-radius: 8px;
	width: 34px;
	height: 34px;
	left: 5px;
	top: 5px;
}

.icon-style-rect-2 .ndd-icon-border-element {
	position: absolute;
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	border: 4px solid rgba(255, 255, 255, 1);
	left: 0;
	top: 0;
	border-radius: 12px;
}

.icon-style-rect-3 .ndd-icon-main-element {
	background: rgba(255, 255, 255, 1);
	border-radius: 8px;
	width: 38px;
	height: 38px;
	margin: 3px;
}

.icon-style-rect-3 .ndd-icon-border-element {
	position: absolute;
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 1);
	left: 0;
	top: 0;
	border-radius: 10px;
}

.icon-style-rect-4 .ndd-icon-main-element {
	background: none;
	border-radius: 8px;
	width: 34px;
	height: 34px;
	margin: 5px;
}

.icon-style-rect-4 .ndd-icon-border-element {
	position: absolute;
	content: "";
	display: block;
	width: 44px;
	height: 44px;
	border: 4px solid rgba(255, 255, 255, 1);
	left: 0;
	top: 0;
	border-radius: 12px;
}

.icon-in-label {
	position: relative;
}

/* CIRCLE SPOT */

.ndd-spot-icon {
	z-index: 0;
	width: 44px;
	height: 44px;
}

.ndd-spot-icon .ndd-icon-main-element {
	display: block;
	position: absolute;
}

.icon-style-1 .ndd-icon-main-element {
	background: rgba(255, 255, 255, 1);
	border-radius: 100px;
	width: 44px;
	height: 44px;
}

.icon-style-2 .ndd-icon-main-element {
	background: rgba(255, 255, 255, 1);
	border-radius: 100px;
	width: 34px;
	height: 34px;
	left: 5px;
	top: 5px;
}

.icon-style-2 .ndd-icon-border-element {
	position: absolute;
	width: 44px;
	height: 44px;
	border: 4px solid rgba(255, 255, 255, 1);
	border-radius: 100px;
}

.icon-style-3 .ndd-icon-main-element {
	display: block;
	background: rgba(255, 255, 255, 1);
	border-radius: 100px;
	width: 38px;
	height: 38px;
	margin: 3px;
}

.icon-style-3 .ndd-icon-border-element {
	position: absolute;
	display: block;
	width: 44px;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 1);
	border-radius: 100px;
}

.icon-style-4 .ndd-icon-main-element {
	display: block;
	background-color: transparent !important;
	border-radius: 100px;
	width: 34px;
	height: 34px;
	margin: 5px;
}

.icon-style-4 .ndd-icon-border-element {
	position: absolute;
	display: block;
	width: 44px;
	height: 44px;
	border: 4px solid rgba(255, 255, 255, 1);
	border-radius: 100px;
}

.icon-style-5 img, .icon-style-6 img, .icon-style-7 img, .icon-style-8 img, .icon-style-9 img, .icon-style-10 img, .icon-style-11 img, .icon-style-12 img, .icon-style-13 img {
	width: 44px;
	height: 44px;
}

.icon-style-0 .ndd-icon-main-element {
	background: transparent !important;
}

.icon-style-0 .ndd-icon-border-element {
	border: none !important;
}

/* icons position offsets */
.ndd-drawable-canvas .icon-style-5 img {
	margin-top: -19px;
}
.ndd-drawable-canvas .icon-style-6 img {
	margin-top: -19px;
}
.ndd-drawable-canvas .icon-style-7 img {
	margin-top: -19px;
}
.ndd-drawable-canvas .icon-style-8 img {
	margin-left: 21px;
	margin-top: -20px;
}
.ndd-drawable-canvas .icon-style-9 img {
	margin-top: -19px;
}
.ndd-drawable-canvas .icon-style-10 img {
	margin-top: -19px;
}
.ndd-drawable-canvas .icon-style-11 img {
	margin-left: -4px;
	margin-top: -16px;
}
.ndd-drawable-canvas .icon-style-12 img {
	margin-left: 9px;
	margin-top: -18px;
}
.ndd-drawable-canvas .icon-style-13 img {
	margin-left: -1px;
	margin-top: -17px;
}

/* RECT SPOT */

.ndd-spot-rect {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
}

.ndd-spot-rect .ndd-icon-main-element, .ndd-spot-rect .ndd-icon-border-element {
	position: absolute;
}

.ndd-rect-style-1 .ndd-icon-main-element {
	width: 100%;
	height: 100%;
	border: 1px solid #ffffff;
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	/* background: rgba(255, 255, 255, 0.1); */
}

.ndd-rect-style-1 .ndd-icon-main-element_black{
	width: 100%;
	height: 100%;
	border: 1px solid #333333;
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	/* background: rgba(0, 0, 0, 0.1); */
}

.ndd-rect-style-1 .ndd-icon-main-element_red{
	width: 100%;
	height: 100%;
	border: 1px solid #ff0000;
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	/* background: rgba(255, 0, 0, 0.1); */
}

.ndd-rect-style-1 .ndd-icon-main-element_blue{
	width: 100%;
	height: 100%;
	border: 1px solid #0000ff;
	box-shadow: 0 0 6px rgba(0,0,0,0.3);
	/* background: rgba(0, 0, 255, 0.1); */
}

.ndd-rect-style-1 .ndd-number{ position: absolute; top: 0px; right: 0px; background: #ffffff; color: #333333; width: 15px; height: 15px; line-height: 15px; text-align: center;}
.ndd-rect-style-1  .ndd-icon-main-element_black .ndd-number{ background: #333333; color: #ffffff;}
.ndd-rect-style-1  .ndd-icon-main-element_red .ndd-number{ background: #ff0000; color: #ffffff;}
.ndd-rect-style-1  .ndd-icon-main-element_blue .ndd-number{ background: #0000ff; color: #ffffff;}

.ndd-rect-style-2 .ndd-icon-main-element {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	width: 100%;
	height: 100%;
	left: 5px;
	top: 5px;
}

.ndd-rect-style-2 .ndd-icon-border-element {
	border-radius: 12px;
	left: 0;
	top: 0;
	border: 4px solid black;
	width: 100%;
	height: 100%;
}

.ndd-rect-style-3 .ndd-icon-main-element {
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.2);
	width: 100%;
	height: 100%;
	left: 3px;
	top: 3px;
}

.ndd-rect-style-3 .ndd-icon-border-element {
	border-radius: 10px;
	left: 0;
	top: 0;
	border: 1px solid black;
	width: 100%;
	height: 100%;
}

.ndd-rect-style-4 .ndd-icon-main-element {
	display: none;
}

.ndd-rect-style-4 .ndd-icon-border-element {
	border-radius: 12px;
	left: 0;
	top: 0;
	border: 4px solid black;
	width: 100%;
	height: 100%;
}

.ndd-rect-style-0 .ndd-icon-main-element {
	background: transparent !important;
}

.ndd-rect-style-0 .ndd-icon-border-element {
	border: none !important;
}