.content-block {
	max-width: 980px;
	margin: 0 auto;
}

#cntdiv{
	overflow-y: inherit;
	display: block;
	margin-right: 20px;
	top: 130px;
	z-index: 1;
}

#cntdiv.open{
	right: 0;
	margin-right: 20px;
	min-width: 385px;
}

.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;
}

#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;
}
.content-expand.open{
	background-image: url(../images/arrs-down.png);
}

.top-container-control .search-button {
    margin-top: 3px;
    font-weight: 700;
}

.form-container, .search-simple {
    margin-bottom: 0px;
}

.search-inp {
	border-color: #FFF;
}

.search-inp:focus {
	border-color: #2b6dac;
}

.book-img {
	flex-grow: 0;
	padding: 0 30px 0 0;
	flex-basis: auto;
}

.book-item {
	margin-bottom: 20px;
}

.flex-basis-auto {
	flex-basis: auto;
}

.last-book-list {
	margin-top: 0;
}

.list-button {

}

.book-item h2 {
	padding-bottom: 0px;
}

h2+.head-small {
	display: block;
	margin-bottom: 15px;
	font-style: italic;
}

.form-block .label-block {
	padding-top: 0px;
	height: 30px;
	line-height: 28px;
	/*font-weight: bolder;*/
	/*line-height: 1.1;*/
	color: #494949
}

.modal .label-block {
	line-height: 16px;
}

.form-item select {
	width: 100%;
}

.select-option-input {
	height: 30px;
    line-height: 30px;
}

.close-icon {
	cursor: pointer;
}

.full-list {
	margin-top: 20px;
}

.list-all {
 	column-count: 4;
}

.list-all .list-item {
	
}

.modal-dialog {
    width: 991px;
}


#start-search-button {
	margin:0;
}


/* DOC LIST*/

.body {
	height: auto;
	transition: height 1s linear;
}

.doc-preview-control {
	border: none;
	padding:0px;
	margin-bottom: 5px;
}

.doc-preview-control .numb {
	top: 7px;
	width: 16px;
	text-align: center;
}

.doc-preview-text {
	padding:0px;
}

.doc-preview-text .text {
	padding:0px;
}

.doc-resources {
	padding-top: 10px;
}

.doc-state {
	/*color: #7f7f7f;*/
	color: #4f4f4f;
	font-weight: bold;
}

.doc-preview-control .doc-state {
	position: absolute;
	right: 0;
}

.pagination>li>a.pag-first {
    margin-right: 5px;
    background-image: url(../images/arrow-first3.svg)
}

.pagination>li>a.pag-last {
    margin-left: 4px;
    margin-right: 0;
    background-image: url(../images/arrow-last3.svg)
}

.pagination>li>a.pag-first,
.pagination>li>a.pag-last {
    width: 28px;
    height: 14px;
    line-height: 14px;
    padding: 0;
    border: 0!important;
    display: inline-block;
    cursor: pointer;
    background-position: 20%;
    background-repeat: no-repeat;
    background-size: 50% auto
}

.view-col.wide {
	flex-grow: 1;
	flex-basis: 100%;
	max-width: 100%;
}

.hidden {
	display: none;
}

.list-col-contaner .scroll-block,
.view-col-contaner .text-view-scroll {
    height: calc(100% - 160px);
    /*padding: 0 10px;*/
    padding: 0px;
    margin-top: 0px;
}

.red_select, .input-block{
	width: 85%;
	top: 1px;
}

/* PREVIEW */

.div-count {
	padding-left: 10px;
}

ul {
	margin: 5px 15px;
	padding: 0;
}

.doc-sources ul li, .publications li{
	font-size: .9em;
	color: #767676;
	line-height: 1.2em;
	white-space: normal;
	overflow:visible;
	text-overflow:visible;
	list-style: disc;
	padding: 0;	
}

.props-list .publications li{
	font-size: inherit;
}

label {
	margin-top: 5px;
}

.bold {
	font-weight: bold;
}

.loading,
.doc-loading {
    position: absolute;
    left: 0;
    top: 0;
    width: 100px;
    height: 100px;
    background-image: url("../images/loading.gif");
    background-size: cover;
    background-position: 50% 50%;
    display: none;
	z-index: 1;
}

.props-body .loading{
	position: relative;
}

/* CUSTOMISATION*/ 

.size_min-2 {
    font-size: 12px
}

.size_min-1 {
    font-size: 14px
}

.size_nornal {
	font-size: 16px
}

.size_max-1 {
    font-size: 20px
}

.size_max-2 {
    font-size: 23px
}

.size_max-3 {
    font-size: 24px
}

.size_max-4 {
    font-size: 28px
}

.size_max-5 {
    font-size: 30px
}


.doc-body {
	width: 100%;
	height: calc(100% - 60px);
	min-width: 100%;
	position:relative;
}


@media print{
	header, footer {
		display: none;
	}
	.gutter {
		display: none;
	}
	.control-list-contaner,
	.view-col-contaner,
	.control-view-contaner {
		display: none;
	}
	.view-col.open, 
	div.checkbox {
		display: none;
	}
	
	.scroll-block, html{
		overflow: visible !important;
	}
	
	body [class] {
	  padding-top: 0px !important;
	}
	
	/* DOC List */
	div.main-col.list-col{
		width: 100%!important;
		border: none;
		height: 100%;
	}
	
	.main-row{
		height: 100%!important;
	}
	
	.doc-preview-item:not(.checked){
		display: none;
		
	}
	
	.content-container {
	  position: relative !important;
	}
	
	.print-doc .doc-preview-item:not(.checked){
		display: none;
	}
	
	.print-doc *{
		margin: 0;
		padding: 0;
	}
	
	.numb, .doc-state, .doc-preview-control {
		display:none;
	}
	
	.doc-preview-item {
		border:none;
		color: black!important;
	}
	
	.doc-preview-item.selected {
	  border: none!important;
	  background-color:transparent;
	}
	
	.doc-preview-list {
	  counter-reset: listCounter;
	}
	.checked .title {
	  counter-increment: listCounter;
	  display: inline-flex;
	}
	.checked .title::before {
	  content: counter(listCounter)".";
	  padding-right: 5px;
	}

	
	/* DOC TEXT */
	.print-doc .doc-preview-item, 
	.print-doc .list-col,
	.docname {
		display: none;
	}	
	
	.print-doc .doc-body {
		width: 100%!important;
		font-size: 13.5pt!important;
		
	}
	
	.print-doc .view-col,
	.print-doc .view-col.open {
		display: block !important;
		max-width: auto!important;
		flex-basis: 100%;
	}

	.print-doc div {
		padding-top: 0px !important;
		top: 0;
	}

	.print-doc .view-close {
		display: none;
	}

	.print-doc .view-col-contaner {
		box-shadow: none;
		border: none;
	}



}

.hidden{
	display: none;
}

.checkbox .check {
 display:inline-block;
 margin-right:10px;
 vertical-align:middle;
 background:#fff;
 cursor:pointer
}
.checkbox .check,
input[type=checkbox]+label span,
input[type=radio]+label span {
 width:15px;
 height:15px;
 border:1px solid #2b6dac
}
.checkbox .check,
input[type=checkbox]+label span {
 border-radius:2px;
 box-shadow:none!important
}
.checkbox .check.checked,
input[type=checkbox]:checked+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 background-image:url(/front/assets/images/checkbox-wh.svg);
 background-position:50%;
 background-repeat:no-repeat;
 background-size:90% auto
}
input[type=radio]:checked+label span {
 background:#2b6dac;
 border:1px solid #2b6dac;
 box-shadow:inset 0 0 0 2px #fff
}
.some_checked input[type=checkbox]+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 position:relative;
 line-height:15px
}
.some_checked input[type=checkbox]+label span:before {
 content:" ";
 display:block;
 width:9px;
 height:2px;
 line-height:2px;
 margin-top:-1px;
 border-radius:2px;
 background-color:#fff;
 position:absolute;
 z-index:10;
 left:2px;
 top:6px
}

input[type="radio"]:checked + label:not(.tab-label)::before {
  background: #5480A4;
  box-shadow: 0px 0px 0px 3px white inset;
}

li {
  padding-bottom: 2px;
  padding-top: 2px;
  list-style: none;
  line-height: 25px;
  overflow: hidden;
  padding: 1px 0 1px 3px;
    padding-left: 3px;
}

.checkbox .check {
 display:inline-block;
 margin-right:10px;
 vertical-align:middle;
 background:#fff;
 cursor:pointer
}
.checkbox .check,
input[type=checkbox]+label span,
input[type=radio]+label span {
 width:15px;
 height:15px;
 border:1px solid #2b6dac
}
.checkbox .check,
input[type=checkbox]+label span {
 border-radius:2px;
 box-shadow:none!important
}
.checkbox .check.checked,
input[type=checkbox]:checked+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 background-image:url(/front/assets/images/checkbox-wh.svg);
 background-position:50%;
 background-repeat:no-repeat;
 background-size:90% auto
}
input[type=radio]:checked+label span {
 background:#2b6dac;
 border:1px solid #2b6dac;
 box-shadow:inset 0 0 0 2px #fff
}
.some_checked input[type=checkbox]+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 position:relative;
 line-height:15px
}
.some_checked input[type=checkbox]+label span:before {
 content:" ";
 display:block;
 width:9px;
 height:2px;
 line-height:2px;
 margin-top:-1px;
 border-radius:2px;
 background-color:#fff;
 position:absolute;
 z-index:10;
 left:2px;
 top:6px
}
.checkbox .check {
 display:inline-block;
 margin-right:10px;
 vertical-align:middle;
 background:#fff;
 cursor:pointer
}
.checkbox .check,
input[type=checkbox]+label span,
input[type=radio]+label span {
 width:15px;
 height:15px;
 border:1px solid #2b6dac
}
.checkbox .check,
input[type=checkbox]+label span {
 border-radius:2px;
 box-shadow:none!important
}
.checkbox .check.checked,
input[type=checkbox]:checked+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 background-image:url(../images/checkbox-wh.svg);
 background-position:50%;
 background-repeat:no-repeat;
 background-size:90% auto
}
.checkbox.not-all .mark-all{
	 background-color:#a7cef3
}

.view-mode,.view-mode > div {
	display: inline-flex;
	vertical-align: middle;
	line-height: 30px
}

.view-mode.hidden, .view-mode > div.hidden{
	display:none;
}

input[type=radio]:checked+label span {
 background:#2b6dac;
 border:1px solid #2b6dac;
 box-shadow:inset 0 0 0 2px #fff
}
.some_checked input[type=checkbox]+label span {
 background-color:#2b6dac;
 border:1px solid #2b6dac;
 position:relative;
 line-height:15px
}
.some_checked input[type=checkbox]+label span:before {
 content:" ";
 display:block;
 width:9px;
 height:2px;
 line-height:2px;
 margin-top:-1px;
 border-radius:2px;
 background-color:#fff;
 position:absolute;
 z-index:10;
 left:2px;
 top:6px
}

[type="query"]{
	color: gray;
}

.d::after {
    content: '';
    position: absolute;
    right: 0;
    width: 1em;
	height: 1.2em;
	margin-top: 0.2em;
	*background: #d4e2f6;
	background-color: inherit;
}

.d::before {
    content: '...';
    position: absolute;
    right: 0;
    bottom: 0;
}
.d{
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    max-height: 3.6em;
    margin-right: -1em;
    padding-right: 1em;
	line-height: 1.2em;
	padding-left: -5px;
	width: calc(100% - 20px);
	max-height: 36px;
	font-size: 15px;
	background-color: inherit;
}

.ellipsis {
    height: 50px;
    line-height: 13px;
    position: relative;
	width: calc(100% - 70px);
	background-color: inherit;
}

    .ellipsis > *:first-child {
        float: right;
        width: 100%;
        margin-left: -5px;
        position: relative;
        top: 55%;
        left: 50%;
        transform: translate(-50%, -50%);
		background-color: inherit;
    }

    .ellipsis:after {
        /* content: "\02026"; */
        box-sizing: content-box;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        float: right;
        position: relative;
        top: -18px;
        left: 100%;
        width: 3em;
        margin-left: -3em;
        padding-right: 5px;
        text-align: right;
        background: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, 0)), to(#e3eaf1), color-stop(50%, #e3eaf1));
        background: -moz-linear-gradient(to right, rgba(255, 255, 255, 0), #e3eaf1 50%, #e3eaf1);
        background: -o-linear-gradient(to right, rgba(255, 255, 255, 0), #e3eaf1 50%, #e3eaf1);
        background: -ms-linear-gradient(to right, rgba(255, 255, 255, 0), #e3eaf1 50%, #e3eaf1);
        background: linear-gradient(to right, rgba(255, 255, 255, 0), #e3eaf1 50%, #e3eaf1);
    }
	
.text-only .doc-state, .control-view-block  .doc-state{
	max-width: 120px;
	margin-right: 7px;
	line-height: 1.2em;
	font-size: 15px;
	padding-left: 4px;
	margin-top: 5px;
}

.redtext, .duplicate-unit{
	color: red;
}

.bluetext{
	color: #036cb9 !important;

}

.doc-passing{
	overflow: hidden;
	text-overflow: ellipsis;
	width: 50%;
	white-space: nowrap;
	font-weight: bold;
}

.button.button-multiline {
  white-space: break-spaces;
  height: auto;
}

.exp0{display:none;}
.exparea0{display:none;}
a, .pub{color:#333333; text-decoration:none;}
p.bold{font-weight:bold;}
p.C{text-indent:0; margin-left:45px; margin-right:45px; max-width:590px; text-align:center}
.exparea1{max-width: 820px;}

@media screen{
	.red{color:#dd1111;}
	.green{color:#11aa11;}
	.fog{
		color:#339966;
		margin-left: 0px;
		white-space: normal;
		line-height: 1.2em;
		list-style: disc;
		list-style-position: inside;
	}
	.exp0{display:inline;}
	.exp0:before, .exp1:before{
		font-size:11px; 
		vertical-align:middle; 
		text-decoration:none; 
		font-style:normal;
		display:inline-block;
		background-repeat: no-repeat;
		width: 16px;
		height: 16px;
		background-size: 80%;
		padding:0;
	}
	.exp0:before{content:" "; background-image: url(../images/right-arrow.png);}
	.exp1:before{content:" "; background-image: url(../images/down-arrow.png);}
	.expname{
		color: var(--main-header);
		font-weight: bold;		
	}
	span[cmdprm]{
		cursor: pointer;
	}
	.cmd{cursor:pointer; color:#1111ee; font-weight:normal; font-style:normal; text-decoration:underline;}
	.cmdx{background-color:#ead099;}
	.property{text-decoration:underline; font-style:italic;}
}

.data-content{
	width: 100%;
}

.fixedcomment {
	display: flex;
	position: absolute;
	z-index: 1;
	color: gray;
	width: 100%;
}

div.fixedcomment.exclam::before{max-width: 655px;} 

.exclam-text{padding: 5px; font-family: Arial;font-weight: normal;left: 17px;border: 1px solid #7f7f7f;color:black; min-width: 50%;max-width:500px; width:500px;box-shadow: 0 7px 10px 0 rgba(0,0,0,.16);background-color: #fff;font-size: .9em;text-align: left;position: absolute;z-index: 1000;}  

.exclam-sign:hover .exclam-text{display: block;} 

.exclam-text .A{font-style:italic;width: 440px;} 

.exclam-sign span{line-height: 16px;top:-5px;position: relative;} 

.exclam-sign{
	left: 167px;
	border: 1px solid gray;
	border-radius: 50%;
	width: 1em;
	height: 1em;
	text-align: center;
	font-style: normal;
	margin-top: 4px;
	z-index: 100;
	right: -20px;
	font-weight: bold;
	cursor:pointer;
} 

.hidden{display:none} 
.text-state{
	padding-left: 17px;
}
.exclam-text .A {
    font-style: italic;
    width: 440px;
}

p.A {
    text-indent: 0;
    margin-left: 45px;
    max-width: 625px;
    text-align: left;
    background-color: #f0f0f0;
    border-left: 5px solid #c0c0c0;
    padding-left: 5px;
}

.checkbox .checkbox {
  padding-left: 25px;
}

/*div.fixedcomment:before { content: "' + t +'"; font-family: times new roman; display:block; background-color: inherit;color:#8c8c8c;font-style: italic;max-width: 692px;white-space:pre-wrap;} */

@media (max-width: 690px){
	.exclam-sign{right: 0px;    left:auto;} 
	div.fixedcomment, div.fixedcomment:before {width:auto;width:available; width: -webkit-fill-available; width: -moz-available; padding-right: 7px;padding-left: 50px;padding-right: 20px;} 
	div.fixedcomment.exclam::before{max-width:590px}} 

@media print{.exclam-sign,  div.fixedcomment:before{display:none;}} 

@media (max-width: 1023px){
	.view-col-contaner{
		height: calc(100% - 40px);
	}
	.view-button, .view-col.open {
	  display: block;
	  max-width: 100%;
	  position: absolute;
	  z-index: 10;
		height: 100%;
		max-height: 100%;
	  padding: 15px;
	}
	
	.view-col.open .icon.link{
		display: inline-block
	}
	
	.footer-off .splitted-divs {
	  height: calc(100% - 92px) !important;
	}
	.control-list-block .icon.link{
		display: none
	}
	.doc-body{
		
	}
}

.control-view-block .icon.link{
	display: none
}