/*
html, body {
    width: 100%;
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #ffffff;
    font-size: 12px;
    font-family: "Ubuntu", sans-serif;
}
*/

.no-select {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200px;
    padding: 16px 0;
    background: #484b54;
}

.canvas {
    position: fixed;
    top: 126px;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fafafa;
    /*
    cursor: crosshair;
    */
}

.canvas-header {
    position: absolute;
    top: 8px;
    left: 8px;
}

/* plan */

.plan {
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan li {
    margin: 0;
    padding: 0 24px;
    height: 32px;
    line-height: 32px;
    color: #adb7be;
    cursor: pointer;
}

.plan .active {
    background: linear-gradient(to right, #585c65, #484b54);
    font-weight: 500;
    color: #fafafa;
}

/* mode */

.mode {
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    display: none;
}

.mode li {
    margin: 0;
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    background: #fafafa;
    border: solid 1px #a5a5a5;
    border-left: none;
    font-weight: 500;
    cursor: pointer;
    float: left;
}

.mode li:first-child {
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px 0 0 2px;
    -moz-border-radius: 2px 0 0 2px;
    border-radius: 2px 0 0 2px;
}

.mode li:last-child {
    -webkit-border-radius: 0 2px 2px 0;
    -moz-border-radius: 0 2px 2px 0;
    border-radius: 0 2px 2px 0;
}

.mode .active {
    background: #a5dc86;
    font-weight: 500;
    color: #000000;
}

/* undo & redo */

.btn24 {
    margin: 4px;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
    float: left;
}

.btn24:hover {
    background: rgba(104, 121, 148, .08);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
}

.btn24:active {
    background: linear-gradient(to top, #f4f4f4, #e1e1e1);
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
}

/* item-size */

.item-size {
    position: absolute;
    left: 100px;
    height: 22px;
    line-height: 22px;
    background: #fcf8e3;
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    float: left;
    display: none;
}

.item-size-header {
    padding: 0 8px;
    height: inherit;
    line-height: inherit;
    float: left;
}

.item-size-input {
    height: inherit;
    line-height: inherit;
    float: left;
}

input[class="item-size-val"] {
    margin: 1px;
    height: 16px;
    background: #fafafa;
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    outline: none;
    float: left;
}

/* contextmenu */

.contextmenu {
    position: absolute;
    margin: 0;
    padding: 0;
    list-style: none;
    background: red;
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    white-space: nowrap;
    color: #333333;
    overflow: hidden;
    z-index: 999;
    display: none;
}

.contextmenu li {
    padding: 0 12px;
    height: 24px;
    line-height: 24px;
    cursor: pointer;
}
.contextmenu li:hover {
    background: #ddeeff;
    color: #000000;
}
.contextmenu.v2 {
    background: transparent;
    border: solid 1px rgba(0,0,0, 0.3);
    border-bottom: solid 1px rgba(0,0,0, 0.6);
    color: #333333;
    font-size: 13px;
    -moz-box-shadow:     0px 4px 11px 0 rgba(0,0,0, 0.18);
    -webkit-box-shadow:  0px 4px 11px 0 rgba(0,0,0, 0.18);
    box-shadow:          0px 4px 11px 0 rgba(0,0,0, 0.18);
    overflow: visible;
}
.contextmenu:before {
    transition: 0.3s;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    bottom: 0;
    z-index: -1;
    position: absolute;
    left: 0;
    right: 0;
    background: #cc0000;
    color: #fff;
    line-height: 1.2;
    text-align: center;
    padding: 8px 10px;
    box-sizing: border-box;
    white-space: normal;
    content: 'Данная функция доступна в PRO-версии программы';
}
.contextmenu.pro:before {
    bottom: 100%;
    opacity: 1;
    max-height: 1000px;
}
.contextmenu .contextmenu_item {
    transition: 0.3s;
    position: relative;
    background: #f5f5f5;
    padding: 0 10px 0 10px;
    height: 24px;
    line-height: 23px;
}
.contextmenu .contextmenu_item:hover {
    z-index: 11;
}
.contextmenu .contextmenu_item.textinput {
    height: auto;
    font-size: 11px;
    color: #868686;
}
.contextmenu .contextmenu_item.input {
    padding-right: 100px;
}
.contextmenu .contextmenu_item.switch {
    padding-left: 36px;
}
.contextmenu .contextmenu_item.pointer {
    cursor: pointer;
}
.contextmenu .contextmenu_item_input {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0px;
    width: 90px;
    overflow: hidden;
}
.contextmenu .textinput .contextmenu_item_input {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: auto;
    overflow: hidden;
    margin: -8px -10px 0;
    z-index: 11;
    min-width: 160px;
}
.contextmenu .textinput.mini .contextmenu_item_input {
    min-width: 10px;
    width: 110px;
}
.contextmenu .textinput.no-label .contextmenu_item_input {
    margin: 0 -10px 0;
    z-index: 11;
    min-width: 160px;
}
.contextmenu .contextmenu_item_input span {
    position: absolute;
    right: -40px;
    bottom: 4px;
    line-height: 17px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    display: block;
    padding: 0 0;
    z-index: 10;
    transition: 0.3s;
    background: #3baa00;
    cursor: pointer;
    width: 28px;
    text-align: center;
    border-radius: 2px;
}
.contextmenu .contextmenu_item_input input:focus+span,
.contextmenu .contextmenu_item_input textarea:focus+span {
    right: 4px;
}
.contextmenu .contextmenu_item_input input:focus+span+div,
.contextmenu .contextmenu_item_input input:focus+span+div+div {
    display: none;
}
.contextmenu .contextmenu_item_input span:hover {
    background: #e68506;
}
.contextmenu .contextmenu_item_input em {
    position: absolute;
    top: 0;
    right: 4px;
    bottom: 0;
    line-height: 21px;
    font-size: 11px;
    color: #777777;
    font-style: normal;
    display: block;
    padding: 0 0;
    width: 26px;
    text-align: center;
    z-index: 9;
    transition: 0.3s;
}
.contextmenu .contextmenu_item_input input::placeholder {
    color: #999;
}
.contextmenu .contextmenu_item_input input:focus::placeholder {
    color: transparent;
}
.contextmenu .contextmenu_item_input input,
.contextmenu .contextmenu_item_input select,
.contextmenu .contextmenu_item_input textarea {
    background: transparent;
    padding: 0;
    margin: 0;
    border: none;
    color: #292929;
    font-weight: 400;
    font: 13px/1 'Open Sans', sans-serif;
    line-height: normal;
    width: 100%;
    height: 24px;
    line-height: 22px;
    padding-bottom: 2px;
    text-align: left;
    transition: 0.5s;
    padding-left: 10px;
    padding-right: 20px;
    box-sizing: border-box;
    border-left: solid 1px rgba(0,0,0, 0.2);
}
.contextmenu .textinput .contextmenu_item_input input,
.contextmenu .textinput .contextmenu_item_input select,
.contextmenu .textinput .contextmenu_item_input textarea {
    border-left: none;
}
.contextmenu .textinput .contextmenu_item_input textarea {
    line-height: 18px;
    height: 56px;
    resize: none;
    overflow: auto;
    min-width: 200px;
    margin-top: 6px;
    margin-bottom: -4px;
}
.contextmenu.enlarged .textinput .contextmenu_item_input textarea {
    height: 92px;
    min-width: 300px;
}
.contextmenu.fullsized .textinput .contextmenu_item_input textarea {
    height: 300px;
    min-width: 300px;
}
.contextmenu.fullsized .contextmenu_item+.contextmenu_item {
    display: none;
}
.contextmenu .contextmenu_item_input.plus_minus input {
     padding-right: 50px;
}
.contextmenu .contextmenu_item_input.plus_minus .minus,
.contextmenu .contextmenu_item_input.plus_minus .plus {
    background: transparent url(/images/design/v2/ui/v2/thickness_more.png) 50% 50% no-repeat;
    background-size: 16px 16px;
    position: absolute;
    top: 50%;
    margin-top: -8px;
    right: 8px;
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
    cursor: pointer;
    z-index: 6;
}
#cm-comment--fullsize {
    background: transparent url(/images/design/v2/ui/v2/expand.png) 50% 50% no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 12px;
    height: 12px;
    opacity: 0.3;
    transition: opacity 0.3s;
    cursor: pointer;
    z-index: 12;
}
.contextmenu.fullsized #cm-comment--fullsize {
    background: transparent url(/images/design/v2/ui/v2/minus.png) 50% 50% no-repeat;
    background-size: 100% 100%;
}
#cm-comment--fullsize:hover {
    opacity: 1;
}
.contextmenu .contextmenu_item_input.plus_minus .minus {
	background: transparent url(/images/design/v2/ui/v2/thickness_less.png) 50% 50% no-repeat;
    background-size: 16px 16px;
    right: 32px;
}
.contextmenu .contextmenu_item_input.plus_minus .minus:hover,
.contextmenu .contextmenu_item_input.plus_minus .plus:hover {
	opacity: 1;
}
.contextmenu .contextmenu_item_input.plus_minus .minus:active,
.contextmenu .contextmenu_item_input.plus_minus .plus:active {
	margin-top: -8px;
}


.contextmenu .textinput .contextmenu_item_input select,
.contextmenu .short_select .contextmenu_item_input select {
    cursor: pointer;
    background-image: url(/images/design/v2/ui/v2/select.png);
    background-position: right 10px top 50%;
    background-size: 12px 12px;
    background-repeat: no-repeat;
    -webkit-appearance: none;
    -moz-appearance: none;
    text-overflow: '';
    -ms-appearance: none;
    appearance: none!important;
    padding-right: 30px;
}
.contextmenu .contextmenu_item.input.min-120 {
    padding-right: 120px;
}
.contextmenu .contextmenu_item.input.min-120 .contextmenu_item_input {
    width: 110px;
}
.contextmenu .contextmenu_item_input input:hover,
.contextmenu .contextmenu_item_input input:focus {
    color: #e68506;
}
.contextmenu .contextmenu_item:before {
    border-top: 1px solid rgba(0,0,0, 0.2);
    height: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    content: '';
    transition: 0.5s;
}
.contextmenu > .contextmenu_item:first-child:before {
    display: none;
}
.contextmenu .contextmenu_item:nth-child(odd) {
    background: #fff;
}
.contextmenu .contextmenu_item.pointer:hover,
.contextmenu .contextmenu_item.pointer:hover:before {
    background: #e68506;
    color: #fff;
}
.contextmenu .contextmenu_item.pointer.loading,
.contextmenu .contextmenu_item.pointer.loading:before {
    background: #fcefe0;
    color: #e68506;
}
.contextmenu .contextmenu_item.pointer.loading {
    color: transparent;
    cursor: default;
}
.contextmenu .contextmenu_item.loading:after {
	z-index: 14;
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	top: 50%;
	left: 50%;
	margin: -8px 0 0 -8px;
	border: 2px solid #e68506;
	border-radius: 50%;
	border-left-color: transparent;
	border-right-color: transparent;
	animation: cssload-spin 575ms infinite linear;
		-o-animation: cssload-spin 575ms infinite linear;
		-ms-animation: cssload-spin 575ms infinite linear;
		-webkit-animation: cssload-spin 575ms infinite linear;
		-moz-animation: cssload-spin 575ms infinite linear;
}
.contextmenu .contextmenu_item.pointer.disabled {
    background-color: #ececec;
    cursor: default;
    color: #a0a0a0;
}
.contextmenu .contextmenu_item.pointer.disabled:hover:before {
    background: rgba(0, 0, 0, 0.05);
}
.contextmenu .contextmenu_item_hint {
    display: inline;
    vertical-align: top;
    margin-left: 10px;
    position: relative;
    opacity: 0.5;
    transition: 0.3s;
}
.contextmenu .contextmenu_item_hint:hover {
    opacity: 1;
}
.contextmenu .contextmenu_item_hint:before {
    background: transparent url(/images/design/v2/ui/v2/help_share.png) 50% 50% no-repeat;
    background-size: 14px 14px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -7px;
    margin-top: -6px;
    width: 14px;
    height: 14px;
    content: '';
}
.contextmenu_item.align {
    padding-right: 80px;
}
.contextmenu_item_align {
    position: absolute;
    top: 0;
    right: 6px;
    bottom: 0;
    line-height: 0;
    font-size: 0;
}
.contextmenu_item_align span {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: 24px;
    transition: 0.3s;
    opacity: 0.3;
    cursor: pointer;
}
.contextmenu_item_align span.outer {
    background: transparent url(/images/design/v2/ui/v2/align_1.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item_align span.center {
    background: transparent url(/images/design/v2/ui/v2/align_2.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item_align span.inner {
    background: transparent url(/images/design/v2/ui/v2/align_3.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item_align span:hover,
.contextmenu_item_align span.active {
    opacity: 1;
}
.contextmenu_item_align.disabled span {
    opacity: 0.3;
    cursor: default;
}
.contextmenu_item_align span.active {
    cursor: default;
}
.contextmenu_item.icons {
    font-size: 0;
    line-height: 0;
    text-align: right;
    padding: 5px 0px 5px 80px;
}
.contextmenu_item.icons em {
    display: block;
    font-style: normal;
    font-size: 13px;
    line-height: 22px;
    text-align: left;
    position: absolute;
    left: 10px;
    top: 5px;
    bottom: 5px;
    content: 'Действия:';
}
.contextmenu_item.icons .contextmenu_item_icon {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 32px;
    height: 24px;
    transition: 0.3s;
    opacity: 0.5;
    cursor: pointer;
}
.contextmenu_item.icons .contextmenu_item_icon span {
    position: absolute;
    left: 50%;
    bottom: 100%;
    background: #2c2c2c;
    font-size: 11px;
    line-height: 1.15;
    padding: 3px 7px;
    border-radius: 2px;
    color: #d9d9d9;
    display: none;
}
.contextmenu_item.icons .contextmenu_item_icon:hover span {
    display: block;
}
.contextmenu_item.icons .contextmenu_item_icon+.contextmenu_item_icon {
    border-left: solid 1px rgba(0,0,0, 0.3);
}
.contextmenu_item.icons .contextmenu_item_icon:hover {
    border-color: rgba(0,0,0, 0.15);
    opacity: 1;
}
.contextmenu_item.icons .contextmenu_item_icon.delete {
    background: transparent url(/images/design/v2/ui/v2/delete.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.delete_all {
    background: transparent url(/images/design/v2/ui/v2/delete_all.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.split_line {
    background: transparent url(/images/design/v2/ui/v2/split_line.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.copy {
    background: transparent url(/images/design/v2/ui/v2/copy.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.move {
    background: transparent url(/images/design/v2/ui/v2/move.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.thickness {
    background: transparent url(/images/design/v2/ui/v2/thickness.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.turn {
    background: transparent url(/images/design/v2/ui/v2/turn.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.add-note {
    background: transparent url(/images/design/v2/ui/v2/note.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.add {
    background: transparent url(/images/design/v2/ui/v2/plus.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.remove {
    background: transparent url(/images/design/v2/ui/v2/minus.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.add-comment {
    background: transparent url(/images/design/v2/ui/v2/comment.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.mirror {
    background: transparent url(/images/design/v2/ui/v2/mirror.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.lock,
.contextmenu_item.icons .contextmenu_item_icon.unlock {
    display: none;
}
.contextmenu_item.icons .contextmenu_item_icon.lock.active,
.contextmenu_item.icons .contextmenu_item_icon.unlock.active {
    display: inline-block;
}
.contextmenu_item.icons .contextmenu_item_icon.lock {
    background: transparent url(/images/design/v2/ui/v2/lock.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}
.contextmenu_item.icons .contextmenu_item_icon.unlock {
    background: transparent url(/images/design/v2/ui/v2/unlock.png) 50% 50% no-repeat;
    background-size: 16px 16px;
}

.contextmenu_item.icons .contextmenu_item_icon.color {
    opacity: 1;
    width: auto;
    height: 20px;
    margin-left: 4px;
}
.contextmenu_item.icons .contextmenu_item_icon.color+.contextmenu_item_icon.color {
	border-left: none;
}
.contextmenu_item.icons.color_wrapper {
	padding-right: 10px;
	height: 20px;
	padding-left: 50px;
}
.contextmenu_item.icons.color_wrapper em {
	line-height: 18px;
}
.contextmenu_item.icons .contextmenu_item_icon_circle {
    position: relative;
    margin: 6px 0 0 0;
    border-radius: 2px;
}
.contextmenu_item.icons .contextmenu_item_icon_circle:after {
    width: 0;
    height: 0;
    display: block;
    content: '';
    border: 4px solid transparent;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-radius: 2px;
}
.contextmenu_item.icons .contextmenu_item_icon.color .contextmenu_item_icon_circle:before {
    position: absolute;
    border: 1px solid rgba(0,0,0, 0.2);
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    content: '';
}
.contextmenu_item.icons .contextmenu_item_icon.color.active:before {
    position: absolute;
    top: 100%;
    left: 50%;
    content: '';
    margin-left: -6px;
    margin-top: 0px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #c4c4c4;
}
.contextmenu_item.icons .contextmenu_item_icon_square {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 15px;
    height: 15px;
    margin: -10px 0 0 -8px;
    background-size: 15px 15px;
    filter: invert(100%);
}
.contextmenu_item.icons .contextmenu_item_icon.fill {
    width: 25px;
}
.contextmenu_item.icons .contextmenu_item_icon.fill.active {
    opacity: 1;
}
.contextmenu_item.icons .contextmenu_item_icon.fill+.contextmenu_item_icon.fill {
    border-left: none;
}
.contextmenu_item_icon_square.fill_empty {
    border: #ffffff solid 1px;
}
.contextmenu_item_icon_square.fill_full {
    background: #ffffff;
    border: #ffffff solid 1px;
}
.contextmenu_item_icon_square.fill_lines {
    background: url(/images/design/icons/floor_finish_laminat.png) 50% 50% no-repeat;
}
.contextmenu_item_icon_square.fill_square {
    background: url(/images/design/icons/floor_finish_plitka.png) 50% 50% no-repeat;
}
.contextmenu_item_icon_square.fill_dashed {
    background: url(/images/design/icons/floor_finish_kovrolin.png) 50% 50% no-repeat;
}

/* toolbar */

.toolbar {
    position: absolute;
    right: 16px;
    top: 16px;
    padding: 0 8px;
    height: 32px;
    line-height: 32px;
    background: rgba(104, 121, 148, .2);
    display: none;
}

.toolbar-item {
    padding: 0 8px;
    height: 32px;
    line-height: 32px;
    float: left;
}

.toolbar-icon {
    margin: 1px 0;
    height: 20px;
    float: left;
}

.toolbar-ok {
    margin: 4px 0;
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    border: solid 1px transparent;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
    float: left;
}

.toolbar-ok:hover {
    border: solid 1px #a5a5a5;
    background: linear-gradient(to bottom, #fafafa, rgba(104, 121, 148, .2));
}

.toolbar-ok:active {
    background: linear-gradient(to top, rgba(104, 121, 148, .06), rgba(104, 121, 148, .2));
}

input[class="toolbar-input"] {
    padding: 0 8px;
    height: 22px;
    line-height: 22px;
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
    outline: none;
}

/* Joysticks */ /* top 126 + 8 */

.joystick {
    position: fixed;
    top: 134px;
    right: 8px;
    width: 96px;
    z-index: 999;
    display: none;
}

.joystick-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 96px;
}

.joystick-cell {
    width: 32px;
    height: 32px;
    float: left;
}

.joystick-value {
    line-height: 32px;
    font-size: 11px;
    font-weight: 600;
    color: crimson;
    text-align: center;
}

.joystick-arrow {
    margin: 4px;
    width: 24px;
    height: 24px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    cursor: pointer;
}

.joystick-arrow:hover {
    background: rgba(104, 121, 148, .08);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
}

.joystick-arrow:active {
    background: linear-gradient(to top, #f4f4f4, #e1e1e1);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
}

.joystick-bottom {
    position: absolute;
    top: 96px;
    right: 28px;
    width: 40px;
    height: auto;
}

.joystick-btn {
    width: 40px;
    height: 24px;
    line-height: 24px;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 600;
    color: #404040;
    text-align: center;
    cursor: pointer;
}

.joystick-btn:hover {
    background: rgba(104, 121, 148, .08);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
}

.joystick-btn:active {
    background: linear-gradient(to top, #f4f4f4, #e1e1e1);
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
}

/* size-a size-b */

.size {
    position: absolute;
    padding: 0 3px;
    height: 12px;
    line-height: 12px;
    background: linear-gradient(to bottom, #fcf8e3, #f8f3d6);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 500;
}

/* Предупреждение об ошибке */ /* top 98 + 14 */
.warning-icon {
    margin: 24px auto 0 auto;
    width: 48px;
    height: 48px;
    background-size: contain;
    z-index: 99999;
    display: none;
}
.warning-text {
    line-height: 1.15;
    padding: 8px 20px;
    background: #cc0000;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    color: #fff;
    text-align: center;
    display: none;
    font-size: 13px;
    margin-top: 50px;
    cursor: default;
}
.warning-text.expandOpenNew {
    display: block;
}
.warning-text a {
    cursor: pointer;
}
.warning-green {
    background: #e4ffd5;
    color: #1a4702;
     -moz-box-shadow: 0px 3px 7px 0 rgba(41,101,10, 0.2), 0px 8px 30px 0 rgba(89,206,27, 0.1);
    -webkit-box-shadow: 0px 3px 7px 0 rgba(41,101,10, 0.2), 0px 8px 30px 0 rgba(89,206,27, 0.1);
    box-shadow: 0px 3px 7px 0 rgba(41,101,10, 0.2), 0px 8px 30px 0 rgba(89,206,27, 0.1);
    border: 1px solid #64cb2d;
    border-bottom: 1px solid #40a20c;
}
.warning-yellow {
    background: #fff8c1;
    color: #000;
     -moz-box-shadow: 0px 3px 7px 0 rgba(85,26,0, 0.2), 0px 8px 30px 0 rgba(85,26,0, 0.1);
    -webkit-box-shadow: 0px 3px 7px 0 rgba(85,26,0, 0.2), 0px 8px 30px 0 rgba(85,26,0, 0.1);
    box-shadow: 0px 3px 7px 0 rgba(85,26,0, 0.2), 0px 8px 30px 0 rgba(85,26,0, 0.1);
    border: 1px solid #d4a339;
    border-bottom: 1px solid #a16210;
}
.warning-red {
    background: #ffd9d9;
    color: #420000;
     -moz-box-shadow: 0px 3px 7px 0 rgba(104,8,8, 0.2), 0px 8px 30px 0 rgba(235,21,21, 0.1);
    -webkit-box-shadow: 0px 3px 7px 0 rgba(104,8,8, 0.2), 0px 8px 30px 0 rgba(235,21,21, 0.1);
    box-shadow: 0px 3px 7px 0 rgba(104,8,8, 0.2), 0px 8px 30px 0 rgba(235,21,21, 0.1);
    border: 1px solid #cd4242;
    border-bottom: 1px solid #a40d0d;
}

/* note text */

.note {
    margin-top: 100px;
    width: 145px;
    height: 144px;
    background: linear-gradient(to bottom, #fcf8e3, #f8f3d6);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 12px;
    display: none;
}

.note-header {
    height: 32px;
    line-height: 32px;
    text-align: center;
}

.note-body {
    height: 80px;
    line-height: 80px;
    text-align: center;
}

.note-footer {
    height: 32px;
    line-height: 32px;
    text-align: center;
}

.note-footer-btn {
    width: 72px;
    height: inherit;
    line-height: inherit;
    text-align: center;
    cursor: pointer;
    float: left;
}

.note-footer-separator {
    width: 1px;
    height: inherit;
    background: #dadada;
    float: left;
}

textarea[class="note-input"] {
    width: 122px; /* Ширина поля в процентах */
    height: 64px; /* Высота поля в пикселах */
    padding: 8px;
    border: none;
    -webkit-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 1);
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    resize: none; /* Запрещаем изменять размер */
}

/* value */

.value {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: 32px;
    line-height: 32px;
    background: linear-gradient(to bottom, #fcf8e3, #f8f3d6);
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    font-family: "Helvetica", "Arial", sans-serif;
    font-size: 12px;
    display: none;
}

.value-header {
    padding: 0 16px;
    height: inherit;
    line-height: inherit;
    float: left;
}

.value-input {
    padding: 0 16px;
    height: inherit;
    line-height: inherit;
    float: left;
}

input[class="value-input"] {
    margin: 3px 0;
    height: 26px;
    background: #fafafa;
    border: none;
    -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    box-shadow: 0 0 1px rgba(0, 0, 0, 1);
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    text-align: center;
    outline: none;
    float: left;
}

.value-ok {
    padding: 0 16px;
    height: inherit;
    line-height: inherit;
    cursor: pointer;
    float: left;
}

.value-ok:hover {
    color: green;
}

.value-ok:active {
    color: black;
}

/* fog */

.fog, #blur_fog {
    position: fixed;
    top: 125px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(242,242,242, 0.8);
    z-index: 100001;
    display: none;
}
#blur_fog {
    display: block;
}
#blur_fog span {
    display: block;
    width: 400px;
    position: absolute;
    left: 50%;
    top: 50%;
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.7px;
    line-height: 1.15;
    color: #888;
    margin: -20px 0 0 -200px;
}
.fog:before {
    z-index: 100002;
	content: '';
	position: absolute;
	width: 39px;
	height: 39px;
	top: 45%;
	left: 50%;
	margin: -23px 0 0 -23px;
	border: 3px solid #f38a00;
	border-radius: 50%;
	border-left-color: transparent;
	border-right-color: transparent;
	animation: cssload-spin 575ms infinite linear;
		-o-animation: cssload-spin 575ms infinite linear;
		-ms-animation: cssload-spin 575ms infinite linear;
		-webkit-animation: cssload-spin 575ms infinite linear;
		-moz-animation: cssload-spin 575ms infinite linear;
}
.fog:after {
	background: transparent;	
	content: '';
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 1px solid #f38a00;
	position: absolute;
	top: 45%;
	left: 50%;
	margin-top: -26px;
	margin-left: -26px;
	animation-name: pulse_arrow;
	-webkit-animation-name: pulse_arrow;	
	animation-duration: 1s;	
	-webkit-animation-duration: 1s;
	animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;
}
.fog.done:before {
    display: none;
}
.fog.done:after {
	display: none;
}
@keyframes pulse_arrow {
	0% {
		transform: scale(1);
		opacity: 0.8;		
	}
	100% {
		transform: scale(2.5);
		opacity: 0;	
	}				
}
@-webkit-keyframes pulse_arrow {
	0% {
		-webkit-transform: scale(1);
		opacity: 0.8;		
	}	
	100% {
		-webkit-transform: scale(2.5);
		opacity: 0;	
	}			
}
.fog-message {
    margin-top: 200px;
}
.fog.done .fog_done_wrapper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 33px;
	display: flex;
	justify-content: center;
	text-align: center;
	align-items: center;
}
.fog.done .align-center.no-select {
	display: none;
}
.fog.done .fog_done_content {
	display: block;
	margin: auto;
	width: 600px;
	text-align: center;
	line-height: 1.5;
	color: #666;
}
.fog.done h1 {
	display: block;
	padding-bottom: 15px;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.5px;
	color: #256786;
}
.fog.done h1 span {
	letter-spacing: -1px;
	font-size: 27px;
}
.fog.done .fog_done_buttons {
	padding-top: 15px;
}
.fog.done a span {
	padding: 8px 25px;
	text-transform: none;
	font-size: 14px;
}
.fog.done a+a {
	margin-left: 5px;
}
.fog.done a.bold {
	font-weight: 700;
}
#fog_message {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 300px;
	color: #888;
	text-align: center;
	margin-left: -150px;
	font-size: 18px;
	font-weight: 300;
	letter-spacing: -0.5px;
	animation-name: slideFastUp;
	-webkit-animation-name: slideFastUp;	
	animation-duration: 0.3s;	
	-webkit-animation-duration: 0.3s;
	animation-timing-function: ease;	
	-webkit-animation-timing-function: ease;
}

/* load file */

.load_file {
    position: fixed;
    top: 200px;
    right: 10px;
    width: 100px;
    height: 50px;
    background-color: #f2f2f2;
    z-index: 99999;
}

/* Выравнивание блока по центру */

.align-center {
    position: relative;
    width: 100%;
}

.align-center:after {
    content: '';
    display: block;
    clear: both;
}

.align-center-to-left {
    position: relative;
    right: 50%;
    float: right;
}

.align-center-to-right {
    position: relative;
    z-index: 1;
    right: -50%;
}

/* footer & test */

.footer {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 0 48px;
    height: 48px;
    line-height: 48px;
    color: #adb7be;
    list-style: none;
    display: none;
}

.test {
    margin: 0;
    padding: 0 12px;
    height: 48px;
    line-height: 48px;
    color: #adb7be;
    list-style: none;
    float: left;
}

.test li {
    margin: 0;
    padding: 0 12px;
    height: inherit;
    line-height: inherit;
    color: #333333;
    cursor: pointer;
    float: left;
}
.btn_wrapper {
	margin-left: -5px;
    margin-bottom: -5px;
    font-size: 0;
    line-height: 0;
}
.btn_wrapper+.btn_wrapper {
	padding-top: 10px;
}
.btn {
    padding: 4px 10px;
    margin: 0 5px 5px 0;
    line-height: 1.15;
    border-radius: 2px;
    font-size: 13px;
    color: #222;
    cursor: pointer;
    border: 1px solid rgba(0,0,0, 0.15);
    display: inline-block;
    vertical-align: top;
    transition: 0.3s;
    text-decoration: none;
}
.btn.green {
    color: #3baa00;
    border: 1px solid #3baa00;
}
.btn.red {
    color: #cc0000;
    border: 1px solid #cc0000;
}
.btn_wrapper+.btn_wrapper .btn {
    font-size: 11px;
}
.btn.text-red {
    color: #222;
}
.btn:hover, .btn.text-red:hover {
	border: 1px solid #e68506;
    color: #e68506;
}
.btn.green:hover {
    color: #fff;
    background: #3baa00;
    border: 1px solid #3baa00;
}
.btn.red:hover {
    color: #fff;
    background: #cc0000;
    border: 1px solid #cc0000;
}
#footer_bar_content .footer_bar_content.tab_console {
    text-align: left;
    min-height: 80px;
}
#load_project_with_json_file {
	height: 1px;
	overflow: hidden;
	box-sizing: border-box;
}
#load_project_with_json_file input {
	height: 1px;
	width: 1px;
	margin: 1px;
}
/* dump */

.colors {
    color: #7b95b2;
    color: #adb7be;
}

.text-red {
    color: crimson;
}

.hidden {
    display: none;
}

#projections_close_wrapper {
    position: absolute;
    top: 0;
    left: 300px;
    right: 300px;
    text-align: center;
    z-index: 21;
}
.projections-close, .fullpage_modal_close {
    position: relative;
    vertical-align: top;
    padding: 5px 15px 5px 34px;
    border-top: solid 2px #cc0000;
    border-bottom: solid 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 4px 11px 0 rgba(0, 0, 0, 0.18);
    -webkit-box-shadow: 0px 4px 11px 0 rgb(0 0 0 / 18%);
    box-shadow: 0px 4px 11px 0 rgb(0 0 0 / 18%);
    border-radius: 2px;
    transition: 0.3s;
    background: #fff;
    text-align: center;
    cursor: pointer;
    z-index: 21;
    display: none;
    font-size: 13px;
    margin-top: 15px;
    line-height: 1.15;
}
.projections-close, .fullpage_modal_close {
    margin-right: 10px;
    margin-top: 0;
}
@media screen and (max-width: 680px) {
	#projections_close_wrapper {left: 15px;right: 15px;z-index: 2221;}
    .fullpage_modal_close {box-sizing: border-box;width:100%;}
}
.fullpage_modal_close {
    display: inline-block;
}
.projections-close:before, .fullpage_modal_close:before {
    background: transparent url(/images/discounts/layout/backlink.png) 50% 50% no-repeat;
    background-size: 16px 16px;
    position: absolute;
    width: 16px;
    height: 16px;
    left: 10px;
    top: 50%;
    margin-top: -8px;
    opacity: 0.7;
    content: '';
    transition: 0.3s;
}
.projections-close:hover, .fullpage_modal_close:hover {
    -moz-box-shadow: 0px 4px 11px 0 rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 0px 4px 11px 0 rgb(0 0 0 / 25%);
    box-shadow: 0px 4px 11px 0 rgb(0 0 0 / 25%);
    color: #28a900;
}
.popup {
    margin-top: 4px;
    width: 400px;
    display: none;
}

.popup-header {
    height: 40px;
    line-height: 40px;
    background: #f4f4f4;
    border: solid 1px #d1d1d1;
    -webkit-border-radius: 4px 4px 0 0;
    -moz-border-radius: 4px 4px 0 0;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.popup-body {
    padding: 20px;
    background: #ffffff;
    border-left: solid 1px #d1d1d1;
    border-right: solid 1px #d1d1d1;
}

.popup-body-line {
    height: 24px;
    line-height: 24px;
}

.popup-footer {
    height: 40px;
    line-height: 40px;
    background: #f4f4f4;
    border: solid 1px #d1d1d1;
    -webkit-border-radius: 0 0 4px 4px;
    -moz-border-radius: 0 0 4px 4px;
    border-radius: 0 0 4px 4px;
    text-align: center;
}

.popup-footer-cancel {
    padding-right: 20px;
    float: right;
    cursor: pointer;
}

.popup-footer-ok {
    padding-right: 20px;
    float: right;
    cursor: pointer;
}

#result, #thumbnail {
    padding: 0;
    min-height: 40px;
    border: solid 1px #d1d1d1;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    text-align: center;
}

img {
    border: 0;
    vertical-align: middle;
}

.jcrop-holder {
    margin: 0 auto;
}


.wall {
    stroke-width: 3;
    stroke: #000000;
}

.room_test {
    position: fixed;
    left: 8px;
    bottom: 48px;
    width: auto;
    font-size: 10px;
    cursor: pointer;
    z-index: 99999;
}

.mini_message {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    line-height: 22px;
    padding: 0 4px;
    background: #fcf8e3;
    border: solid 1px #a5a5a5;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    float: left;
    display: none;
}
.mini_message_header {
    padding: 0 8px;
    height: inherit;
    line-height: inherit;
    float: left;
}
.mini_message_ok {
    padding: 0 4px;
    width: 32px;
    height: inherit;
    line-height: inherit;
    border-left: solid 1px #a5a5a5;
    text-align: center;
    float: left;
    cursor: pointer;
}
.mini_message_cancel {
    padding: 0 4px;
    width: 32px;
    height: inherit;
    line-height: inherit;
    border-left: solid 1px #a5a5a5;
    text-align: center;
    float: left;
    cursor: pointer;
}
.mini_message_ok:hover {
    font-weight: bold;
}
.mini_message_cancel:hover {
    font-weight: bold;
}
.TMP {
    position: absolute;
    top: 20px;
    left: 60px;
}
.test_rooms {
    position: absolute;
    bottom: 80px;
    left: 20px;
}
#wall_mm_alert {
	position: absolute;
	top: -18px;
	left: 50%;
	font-size: 9px;
	font-weight: 700;
	width: 220px;
	text-align: center;
	margin-left: -110px;
	color: #cc0000;
	display: none;
	text-shadow: 1px 0 1px #fff, 0 1px 1px #fff, -1px 0 1px #fff, 0 -1px 1px #fff;
}
#wall_mm_alert.expandOpenNew {
	display: block;
}
.planner_actionmenu {
    background: transparent;
    border: solid 1px rgba(0,0,0, 0.3);
    border-bottom: solid 1px rgba(0,0,0, 0.6);
    -moz-box-shadow:     0px 4px 11px 0 rgba(0,0,0, 0.18), 0px 12px 60px 0 rgba(226,226,226, 0.8);
    -webkit-box-shadow:  0px 4px 11px 0 rgba(0,0,0, 0.18), 0px 12px 60px 0 rgba(226,226,226, 0.8);
    box-shadow:          0px 4px 11px 0 rgba(0,0,0, 0.18), 0px 12px 60px 0 rgba(226,226,226, 0.8);
    overflow: visible;
	position: absolute;
	top: 50%;
	left: 50%;
	max-width: 260px;
	display: none;
}
.planner_actionmenu.expandUp {
	display: block;
}
.planner_actionmenu_content {
    color: #333333;
	font-size: 11px;
	line-height: 1.3;
	padding: 9px 12px;
	text-align: left;
	background: #fff;
}
.planner_actionmenu_content .planner_actionmenu_buttons {
    color: #333333;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: 700;
	padding-top: 8px;
	padding-bottom: 1px;
}
.planner_actionmenu_content .planner_actionmenu_buttons a {
    margin-right: 10px;
    text-decoration: none;
    color: #3baa00;
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    padding: 3px 8px;
    border: 1px solid rgba(59, 170, 0, 0.4);
    border-radius: 2px;
    transition: 0.3s;
}
.planner_actionmenu_content .planner_actionmenu_buttons a+a {
    color: #666;
    border: 1px solid rgba(0, 0, 0, 0.2);
}
.planner_actionmenu_content .planner_actionmenu_buttons a:hover {
    color: #e68506;
    border: 1px solid #e68506;
}
.contextmenu_item.range input {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    border: 1px solid #369a1c;
    background: #d1f8c6;
    border-radius: 5px;
    outline: none;
    margin: 0;
    box-sizing: border-box;
}
.contextmenu_item.range input:focus {
    outline: none;
}
.contextmenu_item.range input::-webkit-slider-runnable-track {
    height: 3px;
    outline: none;
    animate: 0.2s;
}
.contextmenu_item.range input::-webkit-slider-thumb {
    background: #fff;
    border: 1px solid #4db210;
    border-bottom: 1px solid #266400;
    background: #fff;
    -moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    -webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    cursor: ew-resize;
    -webkit-appearance: none;
    margin-top: -5px;
}
.contextmenu_item.range input::-moz-range-track {
    width: 100%;
    height: 3px;
    border: 1px solid #369a1c;
    background: #d1f8c6;
    border-radius: 5px;
    animate: 0.2s;
    outline: none;
}
.contextmenu_item.range input:focus::-moz-range-track {
    outline: none;
}
.contextmenu_item.range input::-moz-range-thumb {
    background: #fff;
    border: 1px solid #4db210;
    border-bottom: 1px solid #266400;
    background: #fff;
    -moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    -webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    cursor: ew-resize;
}
.contextmenu_item.range input::-ms-track {
    width: 100%;
    height: 5px;
    cursor: pointer;
    animate: 0.2s;
    background: transparent;
    border-color: transparent;
    border-width: 0 0;
    color: transparent;
}
.contextmenu_item.range input::-ms-fill-lower {
    width: 100%;
    height: 3px;
    border: 1px solid #369a1c;
    background: #d1f8c6;
    border-radius: 5px;
}
.contextmenu_item.range input::-ms-fill-upper {
    width: 100%;
    height: 3px;
    border: 1px solid #369a1c;
    background: #d1f8c6;
    border-radius: 5px;
}
.contextmenu_item.range input::-ms-thumb {
    background: #fff;
    border: 1px solid #4db210;
    border-bottom: 1px solid #266400;
    background: #fff;
    -moz-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    -webkit-box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    box-shadow: 0px 2px 4px 0 rgba(0,0,0, 0.2);
    border-radius: 50%;
    height: 12px;
    width: 12px;
    cursor: ew-resize;
}
.contextmenu .contextmenu_item.range .contextmenu_item_input,
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    width: auto;
    overflow: visible;
    margin: 0 0 0 0;
    z-index: 1;
}
.contextmenu .contextmenu_item_two_cols {
    background: #fff;
    position: relative;
    font-size: 0;
    white-space: normal;
    line-height: 0;
    max-width: 280px;
}
.contextmenu .contextmenu_item_two_cols .contextmenu_item {
    display: inline-block;
    vertical-align: top;
    width: 50%;
    width: 120px;
    line-height: 11px;
    padding-top: 7px;
    height: 30px;
    color: #333333;
}
.contextmenu .contextmenu_item_two_cols .contextmenu_item_input {
    min-width: 0;
    margin-top: -4px;
}
.contextmenu .contextmenu_item_two_cols .textinput .contextmenu_item_input select {
    height: 22px;
    line-height: 22px;
    padding-bottom: 0px;
}
.contextmenu .contextmenu_item_two_cols:after {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 0;
    border-left: 1px solid rgba(0,0,0, 0.2);
    content: '';
    z-index: 61;
}
.contextmenu .contextmenu_item.range, .contextmenu .contextmenu_item.colorpicker {
    font-size: 11px;
    height: 30px;
    padding-top: 7px;
    line-height: 11px;
    overflow: hidden;
}
.contextmenu .contextmenu_item.range .contextmenu_item_input input {
    line-height: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
    padding-right: 0px;
}
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input {
    white-space: nowrap;
    padding-top: 3px;
    font-size: 0;
    line-height: 0;
    margin-right: -5px;
}
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input .contextmenu_item_color {
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-right: 4px;
    cursor: pointer;
    border-radius: 2px;
}
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input .contextmenu_item_color b {
    width: 0;
    height: 0;
    display: block;
    border: 4px solid transparent;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-radius: 2px;
}
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input .contextmenu_item_color:before {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    content: '';
    border-radius: 2px;
    border: 1px solid rgba(0,0,0, 0.2);
}
.contextmenu .contextmenu_item.colorpicker .contextmenu_item_input .contextmenu_item_color.active:after {
    position: absolute;
    top: 100%;
    left: 50%;
    content: '';
    margin-left: -6px;
    margin-top: 3px;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #c4c4c4;
}
.contextmenu .contextmenu_item.range em {
    line-height: 11px;
    font-size: 11px;
    font-style: normal;
    display: block;
    position: absolute;
    font-weight: 700;
    top: 7px;
    right: 10px;
}