﻿@font-face {
	font-family: 'Fira Sans Condensed';
	src: url('font/FiraSansCondensed-Regular.eot');
	src: url('font/FiraSansCondensed-Regular.eot?#iefix') format('embedded-opentype'),
	url('font/FiraSansCondensed-Regular.woff') format('woff'),
	url('font/FiraSansCondensed-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Fira Sans Condensed';
	src: url('font/FiraSansCondensed-Medium.eot');
	src: url('font/FiraSansCondensed-Medium.eot?#iefix') format('embedded-opentype'),
	url('font/FiraSansCondensed-Medium.woff') format('woff'),
	url('font/FiraSansCondensed-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
}

@font-face {
	font-family: 'Fira Sans Condensed Bold';
	src: url('font/FiraSansCondensed-Medium.eot');
	src: url('font/FiraSansCondensed-Medium.eot?#iefix') format('embedded-opentype'),
	url('font/FiraSansCondensed-Medium.woff') format('woff'),
	url('font/FiraSansCondensed-Medium.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'PT Sans';
	src: url('font/PTSans-Regular.eot');
	src: url('font/PTSans-Regular.eot?#iefix') format('embedded-opentype'),
	url('font/PTSans-Regular.woff') format('woff'),
	url('font/PTSans-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}
@font-face {
	font-family: 'PT Sans Bold';
	src: url('font/PTSansBold.eot');
	src: url('font/PTSansBold.eot?#iefix') format('embedded-opentype'),
	url('font/PTSansBold.woff') format('woff'),
	url('font/PTSansBold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body, html{
	margin:0;
	padding: 0;
	height: 100%;
    font-size:14px;
    line-height:20px;
    font-weight:400;
    font-family:'Tahoma',sans-serif;
	overflow: hidden;
	width:100%;
}

.header-over {
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 2;
    top: 0px;
    background: linear-gradient(rgb(30, 87, 153) 0%, rgb(29, 76, 134) 0%, rgb(38, 106, 173) 100%, rgb(125, 185, 232) 100%);
    opacity: 0.8;
}

.header-bg-block {
    top: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    z-index: 1;
}
.header .header-content {
    position: relative;
    z-index: 10;
    white-space: nowrap;
}

header {
    padding: 0;
    background-color: #e3eaf1;
}

.logo {
    *display: inline;
    width: 60px;
    margin-top: 5px;
    margin-bottom: 4px;
    margin-left: -18px;
    vertical-align: middle;
    display: inline-block;
}

.site-title {
    display: inline-block;
    vertical-align: middle;
    padding-left: 48px;
    font-size: 23px;
    line-height: 30px;
    font-weight: 500;
    /*font-weight: bold;

    display: inline;*/
    /*! overflow: hidden; */
    /*! white-space: nowrap; */
}
    header .header {
        min-height: 70px;
        /*! height: auto; */
        position: relative;
        color: rgb(255, 255, 255);
        max-height: 70px;
        font-family: "Fira Sans Condensed", sans-serif;
    }

.header-bg {
    background-color: rgb(30, 87, 153);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
    width: 100%;
    margin: 0px;
}

.docheader{
	*height: 65px;
	*background-color: rgb(227,234,242);
	color: rgb(89,121,176);
	display: flex;
    align-items: center;
	/*! width: 100%; */
	text-align: center;
	vertical-align: middle;
	font-size: 18px;

	position: relative;
	*background: #E3EAF2;

	overflow: hidden;
	*text-transform: uppercase; /* Заглавные буквы */
	
    max-height: 90px;
	min-height: 65px;
	/*! width: 100%; */
    justify-content: space-between;
    overflow: hidden;

text-overflow: ellipsis;
}

.state {
    min-width: 130px;
    background-color: #b0c2d7;
    color: #7f7f7f;
    display: flex;
    justify-content: center;
    vertical-align: inherit;
    float: left;
    padding: 2px 2px;
    border-radius: 5px;
    font-family: sans-serif;
    border: 1px solid #bbc7e2;
    height: 10%;
    max-width: 130px;
    margin-right: 20px;
    left: -20px;
    position: relative;
}

.state-no-change {
    background-color: #2b70b1;
}

.docname {
   font-family: 'PT Sans', sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #266bae;
    line-height: 20px;
    *background: #E3EAF2;
    *padding: 10px;
    /*! position: relative; */
    /*! margin: 0 160px 0 160px; */
    /*! min-height: 40px; */
    /*! display: flex; */
    /*! align-items: center; */
    justify-content: center;
    /*! overflow: hidden; */
    /*! display: -webkit-box; */
    /*! -webkit-box-orient: vertical; */
    /* <integer> values */
    /*! -webkit-line-clamp: 2; */
    /*! max-height: inherit; */

}

.d::after {
    content: '';
    position: absolute;
    right: 0;
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    background: #e3eaf1;

}

.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;
}

.ellipsis {
    height: 65px;
    line-height: 13px;
    position: relative;
}

    .ellipsis > *:first-child {
        float: right;
        width: 100%;
        margin-left: -5px;
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .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);
    }

.toolbar{
    height: 100%;
    right: 0;
    top: 0;
    vertical-align: middle;
    min-width: 100px;
    *background: #E3EAF2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 15px;
}

.header-test-text {
	font-size: 12px;
	color: darkgray;
	font-style: italic;
	margin-right: 15px;
	position: absolute;
	right: 0;
	font-size: 16px;
	font-family: times new roman;
    overflow: hidden;
    height: 1,3em;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;    

}

iframe {
    border: none;
    align-content: center;
    position: relative;
    width: ;
    width: 70%;
    height: ;
    height: 100%;
}
.header-icon-save {
    background-image: url("saveblue.svg");
}
.header-icon-print {
    background-image: url("printblue.svg");
}
.header-icon {
	display: inline-block;
	width: 30px;
	height: 30px;
    background-size: cover;
    margin: 5px;
}

#lblSelect{

	*height: 27px;
	display: inline-block;
	position: absolute;

	padding-left: 25px;

	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	border-radius: 3px;
	width: calc(100% - 25px);
	margin-top: 2px;

}

.red-inactive{
	background-color: rgb(240,176,192);
}

.red-actual{
	background-color: rgb(168,224,255);
}

.red-future{
	background-color: rgb(184,240,208);
}

.redlbl0{
	background-image: url(imgMain/22.png);
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 3px;
}
.redlbl1{
	background-image: url(imgMain/75.png);
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 3px;
}
.redlbl2{
	background-image: url(imgMain/asterisk.png);
	background-repeat: no-repeat;
	background-position-y: center;
	background-position-x: 3px;
}


select{
	float: right;
	margin-top: 15px;
	margin-right: 15px;
}

div.select{	
    height: 35px;
    width: 420px;
    display: block;
    border-color: rgb(166, 188, 202);
    line-height: 35px;
    position: relative;
    margin: 5px auto;
}

div.select button{
	width:100%;
	height: 100%;
	border-radius: 3px;	
	font: inherit;
	vertical-align: middle;
	*border: 1px solid #A6BCCA;
	border-color: inherit;
	border-style: solid;
	border-width: 1px;
	white-space: nowrap;
	text-overflow: ellipsis;
	background-color: transparent;
	background-repeat: no-repeat;
	background-image: linear-gradient(45deg, transparent 50%, black 50%), linear-gradient(135deg, black 50%, transparent 50%);
	background-position: calc(100% - 10px) 13px, calc(100% - 5px) 13px,100% 0;
    background-position-x: calc(100% - 10px), calc(100% - 5px), 100%;
    background-position-y: 10px, 10px, 0px;
	background-size: 5px 5px,5px 5px, 25px 35px;
	position: relative;
	*border-right: 1px solid #A2B7C7;	
	text-align: left;
	z-index: 1;
}


ul.select {
	width:100%;
	border-radius: 3px;	
	font: inherit;
	vertical-align: middle;
	border: 1px solid #A6BCCA;
	white-space: nowrap;
	text-overflow: ellipsis;
	background-color: white;
	background-repeat: no-repeat;
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
	z-index: 2;
	*position: relative;	
	max-height: 305px;
	overflow: auto;
}

ul.select li {
	padding:0; 	
	*height: 22px;
	*line-height: 22px;
	padding: 0 0 0 25px;
	position: relative;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}

ul.select li:not(.init){
	*display:block;
}
ul.select li:not(.init):hover{
	color: white;
	background-color: #98B0BC;
}

ul li.selected:not(.init){
	color:black;
	background-color: #C3D9E9;
}

li.init{
	cursor:pointer;
}

div.select button.select-pressed{
	background-image: linear-gradient(45deg, transparent 50%, white 50%), linear-gradient(135deg, white 50%, transparent 50%),linear-gradient(to top, transparent);
}

.hidden, div .hidden{
	display: none;
}

.comment{
	margin-bottom: 5px;
	padding: 5px;
	border-radius: 5px;
	background-color: #d5d5d5;
	*margin-top: 10px;
	*position: relative;
	width: 670px;
}

.container{
	padding-right: 30px;
	padding-left: 30px;
	margin-right: auto;
	margin-left: auto;
	max-width: 1260px;
}

.content-container {
    text-align: center;
}
.redlink {
    color: #2b70b1;
    text-decoration:underline;
    /*! float: left; */
    cursor: pointer;
    left: 70%;
    position: relative;
    background: no-repeat;
    background-image: url(img/file.png);
    padding-left: 33px;
    height: 24px;
    vertical-align: middle;
    /*! display: inline-table; */
	line-height: 24px;
		

}

.red {
  padding-right: 15px;
  padding-left: 15px;
  cursor: pointer;	

    text-align: center;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    /*border-radius: 5px;
    border: 1px solid #bbc7e2;*/
    color: #3e68cc;
    text-decoration:underline;

}
.red-container{
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
    display: flex;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    /*! width: 1500px; */
    justify-content: center;*/
}

.red.selected{
    font-weight:bold;
    color: #3e68cc;
}

.red:hover {
    
}
.textdiv {
    width: 100%; 
    bottom:0;
    height: calc(100% - 190px); 
    max-height:calc(100% - 200px); 
    overflow: auto; 
    display: flex; 
    position: absolute; 
    justify-content: center;
}
@media print {
    .notforprint {
        display: none;
    }
    .content-container {
        top: 0;
        left: 0;
        margin: 4px;
        padding: 25px;
        margin: 0;
        border: 0;
        padding: 0;
        color: #333333;
        background: white;
        font-size: 13.5pt;
        font-family: "times new roman", times, serif;
        line-height: 125%;
        word-wrap: break-word;
        height:100%;
    }
    .textdiv {
        display: block;
        width: auto;
        height: 100%;
        max-height:100%;
        overflow: visible;
        position: relative;
    }


}