body {
	background-color: #f1f1f1;
    margin: 0 auto;
    text-align: center;
    width: 100%;
	height:100%;
	overflow: hidden;
	font: 80%/1.35 Tahoma, Verdana, sans-serif;
}

#menu {
	width: 100%;
	text-align: left;
    background-color: #f1f1f1;
}

.leftcolumn {
	float: left;
	min-width: 430px;
    max-width: 500px;
    position: relative;
    z-index: 2;
}
.wrapper {
	float: right;
	width: 100%;
	margin-left: -90%;
}
.rightcolumn {
	margin: 0 0 0 430px;
	height: auto!important;
	height: 1%;
}
.left_50 {
	float: left;
	width: 49%;
	text-align: center;
}
.right_50 {
	float: right;
	width: 49%;
}
.brclr {
	clear: both;
	height: 0;
}
#logoImage {
	float: left;
    margin: 10px 0 0 10px;
    display: block;
}
#slogan {
	margin: 10px 0 0 10px;
}
#slogan {
	margin-top: 3px;
}
#docInfo {
	float: left;
	display: block;
	margin: 0 0 0 20px;
	width: 320px;
    height: 45px;
    overflow: hidden;
	font-size: 11px;
    color: #000;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.5);
}

a:hover {
	text-decoration: none;
}
.title {
	font-weight:bold;
	width: 650px;
	text-align: center;
	margin: 0 auto;
}

#footer {
	padding: 0 0 0 20px;
	line-height: 1.8em;
	font-size: 0.89em;
	text-align: left;
}

#footer a {
    color: #000;
}

.loading {
	display: none;
	margin: 0 auto;
}

#pdfPage {
	background-color: #fff;
	text-align: center;
	overflow:auto;
	margin-left: 0;
}

#pdfPage img {
	background-color: #fffbd0;
	border: 1px solid #d0d0d0;
	margin: 5px;
}

.direction_block {
	width: 315px;
	margin: 20px auto 0;
}
.direction_pane {
	width: 210px;
	margin: 30px 0 0;
}
.direction_block div {
	padding: 45px 0 0 5px;
	clear: both;
	float: left;
	width: 100%;
	position: relative;
}

.navPanel {
	text-align: center; 
	margin: 34px auto 0;
	padding: 0 15px 15px 15px;
}
#currentPage {
	background-color: #fff;
	color: #000;
	border: 1px solid #d0d0d0;
	height: 20px;
	vertical-align: middle;
}
#nextPage, #lastPage, #firstPage, #prevPage {
	margin: 0 5px 0 5px;
	width: 20px;
	height: 17px;
	border: none;
	cursor: default;
	position: relative;
	top: 2px;
}

#nextPage[disabled], #lastPage[disabled], #firstPage[disabled], #prevPage[disabled] {
	background: none;
	cursor: default;
}

#nextPage { background: url(/i/viewer/to_right_arrow.png) no-repeat; }
#lastPage { background: url(/i/viewer/to_end_arrow.png) no-repeat; }
#firstPage { background: url(/i/viewer/to_begin_arrow.png) no-repeat; }
#prevPage { background: url(/i/viewer/to_left_arrow.png) no-repeat; }

/*������ ������� � �������� ��������*/
#resizeToWidth, #resizeToHeight, #rotateLeft, #rotateRight, #negative {
	border: none;
	margin-right: 10px;
	width: 18px;
	height: 18px;
	cursor: default;
	float: left;
}

#resizeToWidth { background: url(/i/viewer/width.png) no-repeat;}
#menu .resizeToWidthOn { background: url(/i/viewer/width_on.png) no-repeat;}
#resizeToHeight { background: url(/i/viewer/height.png) no-repeat; }
#menu .resizeToHeightOn { background: url(/i/viewer/height_on.png) no-repeat; }



#rotateLeft {
	background: url(/i/viewer/rotate-left.png) no-repeat;
}
#rotateRight {
	background: url(/i/viewer/rotate-right.png) no-repeat;
}

#negative {
	background: url(/i/viewer/negative.png) no-repeat;
}

#menu .negativeOn {
	background: url(/i/viewer/negative-on.png) no-repeat;
}

#popupWindow {
	float: right;
	cursor: default;
	left: 97%;
	background: url(/i/viewer/popup-window.png) no-repeat;
	width: 16px;
	height: 16px;
	border: none;
}

#maxPage {
	padding: 0 2px 0 2px;
	text-align: center;
}

#download_form {
    position: absolute;
    right: 60px;
    top: 50px;
}

#download_form img {
    width: 32px;
    height: 32px;
}

.buttons_default {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f8f8f8), color-stop(1, #e1e1e1) );
	background:-moz-linear-gradient( center top, #f8f8f8 5%, #e1e1e1 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8f8f8', endColorstr='#e1e1e1');
	background-color:#f8f8f8;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #bbbbbb;
	display:inline-block;
	color:#666;
	font-family:arial;
	font-size:11px;
	font-weight:bold;
	padding:2px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #ffffff;
    overflow: visible; /*fix ie double padding bug*/
}
.buttons_default:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e1e1e1), color-stop(1, #f8f8f8) );
	background:-moz-linear-gradient( center top, #e1e1e1 5%, #f8f8f8 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e1e1e1', endColorstr='#f8f8f8');
	background-color:#e1e1e1;
}

.help {
    display: inline-block;
    position: absolute;
    right: 60px;
    top: 8px;
}

.help img {
    width: 32px;
    height: 32px;
}

#helpText, #docInfoWindow {
	display: none;
	text-align: left;
}

.showDocInfoBtn {
    text-decoration: none;
    border-bottom: 1px dotted;
}

.dms-author-record-info {
    font-weight: bold;
}

#previewContainer, #searchResultContainer {
	background-color: #F1F1F1;
	overflow:auto;
	margin: 0 auto;
}

#resizePdfPreview, #searchBlock {
	height: 40px;
	border-bottom: 1px solid #C9C9C9;
	position: relative;
	overflow: hidden;
	white-space: nowrap;
}

#hidePreviewBtn {
	display: block;
	position: fixed;
	width: 26px;
	height: 26px;
	top: 55%;
	margin: -30px 0 0;
	cursor: pointer;
}

.hidePreviewBtn {
	background: url(/i/viewer/hide-prev-btn.png) no-repeat transparent;
}

.showPreviewBtn {
	background: url(/i/viewer/show-prev-btn.png) no-repeat transparent;
}

/*preview pages*/

/*������� � ie*/
* html  #hidePreview  {margin-right: -3px; width: 8px;}
* html  #pdfPage {margin-left: -5px;}

.previewWrapper {
	width: 100px;
	height: 170px;
	margin: 5px;
	float: left;
}

.previewPage {
	background-color: #fffbd0;
	width: 100px;
	height: 150px;
	border: 1px solid #d0d0d0;
	cursor: pointer;
}

div.previewPage:hover {
	border-color: #87CEFA;
}

.previewPageSelect {
	border: 1px solid #B54E47;
}

.numPagePreview {
	text-align: center;
	margin: 5px;
	font-size: 11px;
}

.loaderPreviewPage {
	margin-top: 65%;
}

/*��������*/
#resizePdfPageSlider {
	width: 150px;
	padding: 0;
	clear: none;
	margin: 7px 0 0 0;
}

#resizePdfPreviewsSlider {
	margin: 15px 10px 0 10px;
}

/*�����*/
#searchInputBlock {
	background-color: #fff;
	color: #000;
	border: 1px solid #8f9287;
	width: 150px;
	font-size:12px;
	vertical-align: top;
	margin-top: 10px;
}

#searchButton {
	margin-top: 9px;
	cursor: default;
}

.findedItem {
	background-color: #fff;
	border: 1px solid #d0d0d0;
	cursor: pointer;
	margin: 10px;
	text-align: left;
}

.findedItem:hover {
	border-color: #87CEFA; 
}

.findedItemSelect {
	border: 1px solid #B54E47;
}

/** auth user menu **/
.menu-wrapper-block {
    position: absolute;
    z-index: 2;
    top: 0;
    right: 30px;
}
.menu-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1;
    outline: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding-bottom: 0.2em;
}

.menu-header {
    background-color: #efefef;
    display: inline-block;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    padding: 8px 13px;
    box-shadow: 0 0.1em 0.1em 0.1em #ccc;
    min-width: 150px;
    clear: both;
    cursor: pointer;
}

.menu-username {
    font-weight: 300;
    font-size: 1.2em;
    vertical-align: bottom;
}

.menu-icon {
    margin-left: 1em;
    vertical-align: middle;
    float: right;
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAKYQAACmEB/MxKJQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACCSURBVEiJ7ZKxDYNAEARnX04pwAkF0AgVfI5boILvgJiQFDkHSqAA1+AufK7AJjkJCd0UMCutBoKzEUApJe1VnUm6u1g/9l76x4xkN4C9qrNJI+aiB4l2mGyDOTkpf28BYKZ2mLLMGifva+27J5LXJycSFR1vAVHRX6Ki4y0gKro4X8/5UFCKPkxaAAAAAElFTkSuQmCC);
}

.menu-content-wrapper {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 2.7em;
    padding-top: 0em;
    padding-bottom: 1em;
    width: 100%;
    transition: 200ms ease;
}

.menu-content-wrapper::before {
    position: absolute;
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    top: -1em;
    right: 17px;
    border: 0.6em solid transparent;
    border-bottom-color: #fefefe;
    transition: 200ms ease;
}

.menu-list {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 0.1em 0.1em 0.1em #ccc;
}

.menu-entry {
    border-bottom: 1px solid #d2d2d2;
    cursor: pointer;
}

.menu-entry>a {
    padding: 12px 18px;
    display: inline-block;
    text-decoration: none;
    color: #333;
    font-size: 1.1em;
    font-weight: 300;
    width: 100%;
    box-sizing: border-box;
}

.menu-wrapper.menu-visible .menu-content-wrapper {
    visibility: visible;
    padding-top: 1em;
    opacity: 1;
    pointer-events: auto;
}

.menu-wrapper.menu-visible .menu-content-wrapper::before {
    top: -0.1em;
}

.menu-entry:first-child>a:hover {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.menu-entry>a:hover {
    background-color: #efefef;
}

.menu-entry:last-child>a:hover {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.login-btn {
    display: inline-block;
    background-color: #367c88;
    border-radius: .25em;
    font-weight: bold;
    text-decoration: none;
    font-size: 120%;
    padding: 10px 25px;
    margin: 10px 40px 0 0;
    color: #fff !important;
}

.login-btn:hover {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
/***********************/

/******************************************����� ��������� ������*****************************************************/
.viewMode {
	float: right;
    position: relative;
}

#continuousView, #listView {
	border: none;
	margin: 3px 5px 0 0;
	width: 18px;
	height: 18px;
	cursor: default;
}

#continuousView  { background: url(/i/viewer/continuousView.png) no-repeat;}
.continuousViewOn { background: url(/i/viewer/continuousView-on.png) no-repeat !important;}
#listView  { background: url(/i/viewer/listView.png) no-repeat;}
.listViewOn { background: url(/i/viewer/listView-on.png) no-repeat !important;}

.continuousPage {
	background-color: #FFFBD0;
	border: 1px solid #d0d0d0;
	margin: 5px auto;
}

.continuousPage img {
	margin: 0 !important;
	border: none !important;
}