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;
}

.content-container{
	position: fixed;
}

.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: 49%;
  border-color: inherit;
  margin-left: 0;
  padding-right: 10px;
}

.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);
}	

.clicked > span.move-up,  .clicked  > span.move-down, .clicked  > span.move-down:hover,  .clicked  > span.move-up:hover{
  box-shadow: none;
}

.selected .move-up, .selected .move-down, .selected ~ li .move-up, .selected ~ li .move-down {
  display: none;
}

.red_select > span, .red_select .dropdown-block span{
	background-image: url(../../images/75.png);
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 3px;
	height: 30px;
	
}

.red_select  .text {
	padding-left: 25px
}

.red_select span.redcompleted{
	background-image: url(../../images/22.png);
}

.edit-contents  .red_select .dropdown-block .hascnt:after{
	  content: '';
	  color: #245c98;
	  width: 14px;
	  height: 14px;
	  float: right;
	  right: 5px;
	  position: relative;
	  font-weight: bold;
	  background-image: url(../images/view-list.svg);
}

.edit-contents  .red_select .dropdown-block .hascnt.contentcompleted:after{
	  right: -10px;
}

.edit-contents  .red_select .dropdown-block .contentcompleted:before{
	  content: '';
	  color: #245c98;
	  width: 14px;
	  height: 14px;
	  float: right;
	  right: 22px;
	  position: relative;
	  font-weight: bold;
	  background-image: url(../images/checkbox-wh.svg);
	  background-color: #46ca46;
	  background-repeat: no-repeat;
}


.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;
	font-size: 14px;
	font-weight: normal;
	color: #4b4b4b;
	font-size: 14px;
	font-weight: normal;
	color: #4b4b4b;

	white-space: nowrap;
}

.chead .expand-next-level{
	background-image: none;
}

.chead .expand-next-level:before{
	border: 1px solid #c1c1c1;
	border-radius: 2px;
	display: block;
	width: 15px;
	height: 15px;
	top: 0px;
	line-height: 15px;
	background-color: #e9e9ed;
	color: #5e5e5e;
}

.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;
}

.contents-list-col.open .list-open-icon span.str {
  transform: scaleY(-1);
  -ms-transform: scaleY(-1);
  -webkit-transform: scaleY(-1);
}
.list-open-icon span.str {
  position: absolute;
  top: 10px;
  left: 0;
  display: inline-block;
  width: 100%;
  font-size: 22px;
  line-height: 20px;
  transition: all .3s linear;
  -webkit-transition: all .3s linear;
  -moz-transition: all .3s linear;
  -ms-transition: all .3s linear;
  -o-transition: all .3s linear;
  writing-mode: tb-rl;
}

#cntdiv {
  overflow-y: inherit;
  right: -440px;
  display: block;
  margin-right: 20px;
}

#cntdiv *{
  box-sizing: border-box;
}

#cntdiv.contents{
	width: 400px;
	height: 70%;
	position: absolute;
	top: 130px;
	background: white;
	*z-index: 10;
	border: 1px solid #c8c5c5;
	border-radius: 4px;
	overflow-y: visible;
	box-shadow: 0 14px 28px rgba(0,0,0,0.15), 0 10px 10px rgba(0,0,0,0.17);
	padding: 7px;
}

#cntdiv.open .list-open-icon {
  right: 0;
  background-color: inherit;
  color: black;
  border: inherit;
  border-bottom: none;
  border-radius: 0;
  padding-bottom: 5px;
  font-weight: bold;
  margin-right: -1px;
}

.list-open-icon {
  background-color: white;
  line-height: 20px;
  display: block !important;
  width: 135px;
  border-radius: 4px;
  position: absolute;
  z-index: 1000;
  top: -31px;
  right: 440px;
  cursor: pointer;
  text-align: center;
  padding: 5px 5px 5px;
  padding-bottom: 5px;
  min-height: 30px;
  border: 1px solid #c8c5c5;
}

#cntdiv.open {
    right: 0;
    margin-right: 20px;
    min-width: 385px;
}

#cntdiv .header {
  font-size: 1.3em;
  font-weight: bold;
}


.content-expand{
	background-image: url(../images/arrs-up.png);
	background-repeat: no-repeat;
	height: 16px;
	width: 16px;
	display: inline-block;
	background-size: 75%;
	margin-left: 7px;
	vertical-align: middle;
	cursor: pointer;
}

.content-expand.open{
	background-image: url(../images/arrs-down.png);
}
.cntbl:nth-child(2n){
	background-color:#e9f3f8;	
}

.chead {
	color: #4da6aa;
	*font-style: italic;
	*text-decoration: underline;
	cursor: pointer;
	font-weight: bold;
	display: block;
	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;
}

.control-view-icons .form-block-item{
	display: inline-flex;
	right: -10px;
	position: relative;
	vertical-align: middle;
}

#cntdiv li{
	cursor: pointer;
	padding-bottom: 3px;
}

#cntdiv .header{
	font-size: 1.3em;
	font-weight: bold;
	position: initial;
}

#cntdiv .tree{
	height: 90%
}

.icon {
	vertical-align: middle;
	font-style: normal !important;
	font-size: 1px;
	background-repeat: no-repeat;
	border: none;
	outline: none;
	margin-left: 5px;
	display: inline-block;
}



.contents .tree {
  padding: 0;
  background-color: inherit;
  min-width: inherit;
}

.input-nav {
    position: absolute;
    z-index: 20;
    top: 6px;
    right: 15px;
    white-space: nowrap;
    line-height: 17px
}

.contents  .input-nav {
    top: 12px;
}

.input-nav .text {
    display: inline-block;
    vertical-align: middle;
    padding: 0 10px;
    font-size: 17px
}

.icon-prev {
    background-image: url(../images/prev.svg)
}

.icon-next,.icon-prev {
    width: 14px;
    height: 14px
}

.icon-next {
    background-image: url(../images/next.svg)
}

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.wrong-end{
	background-color: #ffad71;
	box-shadow: none !important;
}

.info-message{
	color: red;
	float: right;
	*bottom: 60px;
	position: relative;
}

div[id].selected > div.cntbl, tr[id].selected > td > 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, tr.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;
	width: 100%;
}

.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;
}

.control-view-icons .form-block-item{
	display: inline-flex;
	right: -10px;
	position: relative;
}

.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;
	width: 100% !important;
}

.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 !important;
}

.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;
}

ul.tc {
  border-left: 1px dotted gray;
  padding-left: 0;
  margin-left: 30px;
}

.editor-body:not(:empty){
	padding: 10px; 
}

.editor-body li{
	line-height: 21px; 
}
 
.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;
}
.btn-pressed {
  background-color: #d5d5d5 !important;
  padding: 10px 12px;
  border-radius: 3px;
  border: 1px solid #bdbdbd !important;
}

.icon-edit.btn-pressed{
	  background-size: 70%;
}

.button:not(.button_theme){
	background: #2b6dac;
	width: 100%;
	border: none;
	min-height: 30px;
}

.icon.icon-edit.edit-btn.has-errors::after {
    content: '.';
    color: red;
    float: left;
    left: 13px;
    position: relative;
    top: 12px;
    border: 3px solid red;
    border-radius: 50%;
}

.icon.icon-edit.edit-btn.btn-pressed.has-errors::after {
    left: 5px;
    top: 6px;
}

.search .props{
	height: calc(100% - 95px)
}

.goto {
	margin-left: 5px;
	margin-right: 5px;
}

.goto .icon::before {
	content: attr(data-before) '';
	visibility: visible;
	font-size: 11em;
	top: 9px;
	position: relative;
	right: -10px;
	color: #777;
}
   
.icon-goto-mark-actual{
	background-image: url(../images/gotoblue.png);
	width: 16px;
	height: 16px;
}

.icon-goto-mark-future{
	background-image: url(../images/gotogreen.png);
	width: 16px;
	height: 16px;
}

.icon-goto-mark-comment{
	background-image: url(../images/goto.png);
	width: 16px;
	height: 16px;
}

.icon-goto-mark-currred{
	background-image: url(../images/gotodarkblue.png);
	width: 16px;
	height: 16px;
}

.download-btn{
	background-image: url(../images/download-button.png);
	width: 16px;
	height: 16px;
}

.importcnt.download-btn{
	transform: rotate(180deg);
}

.unselectable {
    -khtml-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.print-text .dropdown-block{
	margin: 10px -140px;
}

.npandnpe {
	display: inline-flex;
}

/*.contents li[id*="q"]{
	color: #2b86b2;
	display:none;
}*/

.contents li[id*="q"]{
	color: #2b86b2;
}

input:invalid {
  background-color: #ff000038;
}

.not-in-unit{
  background-color: #ff000045 !important;
border-radius: 5px
}

tr .cntbl{
	width: max-content;
}

tr .cntbl div{
	display: table-cell;
}

.info-message .icon-back{
	background: no-repeat center url(../images/undo.png);
	width: 24px;
	height: 22px;
	border: 1px solid #a6bcca;
	border-radius: 3px;
	margin: 0;
}

.info-message .icon-back:not(.backwards){
	transform: scaleX(-1);
}

.newpar{
	background-color:#6fe06f;
	border-radius: 5px
}

.icon.icon-copyprev.copyprevpars-btn.edit-contents.link::before {
  content: '*a';
  width: 10px;
  display: block;
  position: relative;
  top: 9px;
  left: 12px;
  color: black;
  font-size: 15px;
}