html{
	*height:auto;
}

.cntbl {
	max-width: 900px !important;
}

.logo-content{
	background-image: url(../images/logo.png);
}

.edit-contents .icon-info{
	filter: hue-rotate(190deg) brightness(100);
}

.icon-divider{	
	font-size: 20px;
	color: #a5bcc7;
	border-left: 1px solid;
	vertical-align: middle;
}

.defaultwin {
	border-radius: 4px;
	*margin-left: 2px;
	*margin-right: 2px;
	*border: 1px solid #A6BCCA;
	overflow-y: auto;
	min-height:100px;
	height: calc(100% - 32px); 
	position:relative;
	width: 100%;
	border: 1px solid;
	border-color: inherit;
	margin: initial;
}

.col2, .form-block > div.col2 {
  width: 50%;
  border-color: inherit;
  margin-left: 0;
}

.chead.btn-pressed{
	background-color: #85bc8f;
	color: white;	
}

li.tn span:hover, .clicked > span{
    box-shadow: inset 0 1.2em 0 0 #c6e8ea;
    border-radius: 4px;
	*border: 1px solid #7078e7;
}

.tc{
	margin: 0;
	padding: 0;
	padding-left: 10px;
	margin-left: 5px;
}

.tn.tec,.tn.teo{
	*margin-left: 5px;
	padding-left: 70px;
}

.tn{
	*margin-left: -40px;
	*margin-left: -110px;
	*padding-left: 70px;
	padding-left: 70px;
	margin-left: -70px;
	display: block;
}

.texp{
	width: 16px;
	height: 16px;
	float: left;
	background: center no-repeat;
	/*padding-left: 1px;*/
	padding-top: 3px;
	position: relative;
	margin-left: -16px;
}
.tcnt{
	margin-left: 16px;
	min-height: 16px;
}

.expand-next-level, span.move-up, span.move-down{
	margin-right:10px;
	background-image: url(../images/up-arrow.png);
	background-size: 65%;
	background-repeat: no-repeat;
	background-position: bottom;
	width: 16px;
	height: 16px;
	display: inline-block;
	cursor: pointer;
}

span.move-up{
	background-image: url(../images/move-up.png);
}	

span.move-down{
	background-image: url(../images/move-down.png);
}

.teo .texp, .expopen, .expand-next-level.open{
	background-image: url(../images/down-arrow.png);
	background-size: 65%;	
}

.open.expand-next-level:before{
	content: '+1';
	left: 7px;
	position: relative;
	top: 6px;
}

.expand-next-level:before{
	content: '-1';
	left: 7px;
	position: relative;
	top: 6px;
}

.tec .texp, .expclose{
	background-image: url(../images/right-arrow.png);
	background-size: 75%;
}



.teo .tc {
	display: block;
	color: initial;
}

.tec .tc{
	display: none;
}

span.elp{
	*width: 97%;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	*display: inline-block;
	line-height: 20px;
}

.cntbl {
    max-width:680px;
	display: block;
	border-style:solid;
	border-width:1px;
	*border: none;
	border-color: #c8c5c5;
	border-radius: 4px;
	*background: linear-gradient(#f9f9f9,#d6d6d6);
	padding: 5px;
	padding-right:10px;
	box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.17);
	margin-bottom: 15px;
}

.cntbl:nth-child(2n){
	background-color:#e9f3f8;	
}

.chead {
	color: #4da6aa;
	*font-style: italic;
	*text-decoration: underline;
	cursor: pointer;
	font-weight: bold;
	display: inherit;
	max-width: 680px;
	text-align: justify;
}
.clvl0 {
	margin:0 0 0 0px;
}
.clvl1 {
	margin:0 0 0 20px;
}
.clvl2 {
	margin:0 0 0 35px;
}
.clvl3 {
	margin:0 0 0 40px;
}
.clvl4 {
	margin:0 0 0 45px;
}
.clvl5 {
	margin:0 0 0 50px;
}
.clvl6 {
	margin:0 0 0 55px;
}

.cexp{
	width: 16px;
	height: 16px;
	float: left;
	background-repeat: no-repeat;
	background-position: center;
	/*padding-left: 1px;*/
	padding-top: 3px;
}

#cntdiv li{
	cursor: pointer;	
}

#cntdiv .header{
	font-size: 1.3em;
	font-weight: bold;
	position: initial;
}

#cntdiv .tree{
	height: 90%
}

.contents .tree {
  padding: 0;
  background-color: inherit;
  min-width: inherit;
  font-size: 16px;
}



#cntdiv{
	width: 400px;
	height: 75%;
	position: absolute;
	top: 82px;
	background: white;
	z-index: 10;
	border: 1px solid #c8c5c5;
	border-radius: 4px;
	overflow-y: scroll;
	box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.17);
	padding: 7px;
	border-top-right-radius: 0;
}

li span.clicked {
    color: #3c8bc5;
}

li.tn span:hover, .clicked > span{
    box-shadow: inset 0 1.2em 0 0 #c6e8ea;
    border-radius: 4px;
	*border: 1px solid #7078e7;
}

li span[id^="cnt"].duplicate-id {
	background-color: #b6c8ff;
}

li span[id*=y] {
	background-color: #b6c8ff;
}

li span.wrong-end{
	background-color: #ffad71;
	box-shadow: none !important;
}

.info-message{
	color: red;
	float: right;
	*bottom: 60px;
	position: relative;
}

div[id].selected > div.cntbl{
	background-color: #dcf8dc;
}

p.selected{
	background-color: #dcf8dc;
	box-shadow: -110px -10px 0px 20px #dcf8dc, 30px -10px 0px 20px #dcf8dc, 5px 5px 0px -20px rgba(54,197,53,0);
}

p.selected-edit, table.selected-edit{
	background-color: #a2ddf4;
	border-radius: 5px;
}

p.selected-edit:before, table.selected-edit:before{
	content: attr(data-content);
	position: relative;
	color: white;
	font-weight: bold;
	left: -10px;
}

p.H.selected-edit{
	text-indent: 40px;
	margin-left: 46px;
	max-width: 685px;
}

p.selected-edit.selected-second, table.selected-edit.selected-second{
	background-color: #81df7987;
}

ul.checkbox{
	min-height: auto;
}

.contents .toolbar .icon{
	margin-right: 15px
}

textarea{
	height: 80px !important;
	width: 100%;
	resize: none;
}


.editor-div input{
	padding-left:0;
	padding-right:0;
}

.editor-div  .contents{
	min-width: 175px;
	background-color: white;
}

.editor-div .contents .tree > div{
	*position: sticky;
	top: 30px;
}

.editor-div  .contents .tree > div:first-of-type{
	display: inline-flex;
	align-items: end;
	justify-content: space-between;
	width: 100%;
	height: 20px;
}

.contents{
	overflow-y:initial;
}

.contents li{
	white-space: initial;
	line-height: 1.2;
}

.contents .tree > ul{
	overflow-y: auto;
	height: 95%;
	margin-right:0;
	margin-left: 7px;
	padding-left: 15px;
	margin-top: 8px;
}

.contents .input-block{
	*position: fixed;
	min-width: inherit;
	z-index: 1;
}

.contents .input-block + .tree{
	*margin-top: 30px;
	height: 91.5%;
}

.contents .input-block input{
	width: 100%;
}

#cntdiv .flex-container .checkbox-label, #cntdiv .flex-container label{
	left: 0;
}

.hidden{
	display: none;
}

.contents.open .input-nav{

}
.contents:not(.open) .input-nav{
	display:none;
}
.control-view-icons .icon-delete {
    background-image: url(../images/bin.png);
	background-size: 100%
}

.modal-editContent > div{
	float: right;
	right: 20px;
}

.selected-pars{
	position: absolute;
	top: 97px;
	z-index: 1;
	background: #fbd0f8;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
}

.selected-pars .icon-close-bl{
	margin-top: -5px;
}

[disabled]{
	opacity: .3;
	cursor: default!important;
}

.structs li:not([data-type="fw"]){
	color: gray;
}

li.selected-range-start > span, li.selected-range-start li  > span, li.selected-range-start ~ li:not(li.selected-range-end ~ li)  > span, li.selected-range-start ~ li:not(li.selected-range-end ~ li) li  > span{
	box-shadow: inset 0 1.2em 0 0 #ff3c0047;
	border-radius: 4px;
}

/*li[id^="x"]{
  border-left: 4px solid #7daada;
  margin-left: -10px;
  padding-left: 5px !important;
  margin-top: 5px;
}*/

.del-btn{
	background: url(../images/icon-close-bl.svg)  no-repeat;
	width: 20px;
	height: 20px;
	float: right;
	display:none;
	padding-right: 10px;
	filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(356deg) brightness(118%) contrast(119%);
}

.chead:hover .del-btn{
	display:inline-block;
}

.del-btn::after{
	background: no-repeat right bottom;
	content:'';
	display: block;
	width: 10px;
	height: 10px;
	background-size: 100%;
	position: absolute;
	margin-top: 16px;
	margin-left: 15px;

}

.del-btn.down::after{
	background-image: url(../images/move-down.png)
}

.del-btn.up::after{
	background-image: url(../images/move-up.png)
}

#modal-editContent{
	width: auto;
	right: 0;
}

#modal-editContent .modal-dialog{
	width: 1150px;
}

.splitted-divs{
	height: 100%;
	display: inline-flex;
	width: 100%;
	border-color: rgb(166, 188, 202);
}

.editor, .editor-body{
	border-color: inherit;
	border-size: 1px;
	font-size: 15px;
}

.editor{
	overflow-y: auto;
}

.editor-body:not(:empty){
	padding: 10px; 
	display: inline-flex;
}
 
.text-div{
	width: 100%;
}

.icon-back-all{
	background: url(../images/53.png);
	width: 15px;
	height: 15px;
}

.icon-back::before{
	content: attr(data-before);
	visibility: visible;
	width: 10px;
	height: 10px;
	display: block;
	position: relative;
	top: 12px;
	left: 12px;
	color: black;
	font-size: 10px;
}

.count {
	float: right;
}

fieldset{
  display: inline-block;
  border-radius: 2px;
  margin-top: -10px;
  margin-bottom: 15px;
  border: 1px solid;
  border-color: inherit;
  width: 100%;
}
.btn-pressed {
  background-color: #d5d5d5 !important;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #bdbdbd !important;
  background-size: 70%;
}