.gj-draggable {
    cursor: move;
}
.gj-dialog-unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.gj-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    display: block;
    -ms-touch-action: none;
    touch-action: none;
    z-index: 90;
}

.gj-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 100%;
    top: -5px;
    left: 0;
}
.gj-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0;
    height: 100%;
}
.gj-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0;
}
.gj-resizable-w {
	cursor: w-resize;
	width: 7px;
	left: -5px;
	top: 0;
	height: 100%;
}
.gj-resizable-se {
	cursor: se-resize;
	width: 12px;
	height: 12px;
	right: 1px;
	bottom: 1px;
}
.gj-resizable-sw {
	cursor: sw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	bottom: -5px;
}
.gj-resizable-nw {
	cursor: nw-resize;
	width: 9px;
	height: 9px;
	left: -5px;
	top: -5px;
}
.gj-resizable-ne {
	cursor: ne-resize;
	width: 9px;
	height: 9px;
	right: -5px;
	top: -5px;
}

.gj-dialog-footer {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.gj-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    display: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
}

.gj-content {
    border: 1px solid #999;
    background-color: #fff;
    border-radius: 6px;
    outline: 0;
}

.gj-header {
    min-height: 16.43px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.gj-title {
    margin: 2px;
}

.gj-close {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: 0 0;
    border: 0;
    float: right;
    font-size: 21px;
    color: #000;
}

.gj-body {
    position: relative;
    padding: 15px;
}

/** Foundation **/
div.gj-dialog-fd-content {
    visibility: inherit;
    padding: 0px;
    margin-left: 0px;
}
h4.gj-dialog-fd-title {
    padding: 8px;
    margin: 0px;
    line-height: 40px;
}
button[data-role="close"].gj-dialog-fd-close {
    padding: 8px;
    margin: 0px;
    top: 0;
    background-color: white;
    right: 0px;
}
div.gj-dialog-fd-body {
    padding: 0px 8px 8px 8px;
}
div.gj-dialog-fd-footer {
    padding: 0px 8px 8px 8px;
}
div.gj-dialog-fd-footer button {
    margin: 0px;
}

/** jQueryUI **/
div.gj-dialog-ui-header {
    padding: 10px;
    border-left: 0px;
    border-right: 0px;
    border-top: 0px;
}
button.gj-dialog-ui-close {
    float: right;
    width: 24px;
    height: 24px;
    text-decoration: none;
    padding: 0px;
}
h4.gj-dialog-ui-title {
    margin: 0;
    line-height: 24px;
}
div.gj-dialog-ui-body {
    padding: 10px;
}