body {
	margin:0px 8px 0px 8px; /* Лево-право по 8px */
	background:#d5d5d5  repeat-x left top; 
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size: 14px;
}

img { border: 0px; vertical-align:top; border-radius: 4px; }
.img_hdr { border-radius: 0; }
a {	
	font-weight: normal;
	text-decoration:none;
	color: green;
}
a:visited { color: #808080; }
a:hover { color: green; }

ul {
	padding: 0px;
	margin: 0px; 
	list-style-type: none;
}
li {
	padding: 0px;
	margin: 0px; 
	list-style-type: none;
}

#globalwrap {
	max-width: 1024px; /* Макс. ширина */
	margin: 0px auto; /* Уменьшение ширины... */
	min-height: 500px;
/*min-width:1024px; Мин. ширина */
}

#topwrap {
	background:	url(/webfiles/bgshade8pxr.gif) repeat-y right top,
			url(/webfiles/hrhome.jpg)  repeat-x bottom;
	background-color:#000;
	height: 55px;
        position:relative;
        position:sticky;
        top:0;
        z-index:1000;
}

a.anchored {
        display: block;
	content: "";
	height: 55px;
	margin: -55px 0 0;
}

#top_left {
	position:absolute;
	left:20px;
	top:0px;
        width:102px;
	height:50px;
}

.rotate {
	animation-name: cog;
	animation-duration: 30s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}
@keyframes cog {
	97%	{ transform:rotateY(0deg); }
	100%	{ transform:rotateY(360deg); }
}

.elka {
	height:50px;
}


#top_center{
	position:absolute;
	top:0px;
	/*left:200px;*/
	left:25%;
}

#top_center ul {
	margin: 0px;
	padding: 0px;
}

#top_center li {
	font-size:12px;
	margin:0 1px;
	display:inline-block;
	float:left;
}
#top_center li a {
	display:inline-block;
	color:#a0a0a0;
	text-decoration:none;
	text-transform:uppercase;
	padding:0 11px;
}
#top_center li a {
	line-height:65px; /* Трюк смещения текста в меню по высоте */
	height:50px; /* Трюк смещения текста в меню по высоте */
}
#top_center li a:hover {	
	background:url(/webfiles/images/menu_hover_bg.jpg) repeat-x;
	color:#fff;
}
#top_center li span {
	display:inline-block;
}
#top_center li a:hover span {
	display:inline-block;
}
#top_center li .current span{
	background:url(/webfiles/images/menu_hover_pointer.jpg) no-repeat top;
	display:inline-block;
}
#top_center li .current {
	background:url(/webfiles/images/menu_hover_bg.jpg) repeat-x;
	color:#fff;
}

#top_right
{
	right:12px;  /* 8 + 4 */
	text-align: right;
	position: absolute;
	top: 32px;
}

#bodywrap {
	position: relative; /* Относительное позиционирование */
	background: #f0f0f0; /* Цвет фона */
	background: url(/webfiles/bgshade8pxr.gif) #fff repeat-y right top;
	min-height: 500px;
	font-size:13px;
	color: #656565;
	line-height: 1.5em;
	padding: 1px 16px 8px 8px;
	max-width: 100%; /* Важно, размер картинки от размера контейнера! */
	overflow:auto; /* Высота макс и мин одинаковые */
}  

#footwrap {
	background: url(/webfiles/bgshade8pxr.gif) #000 repeat-y right top;
	font-weight: normal;
	text-align: right;
	padding-right: 10px;
	font-size: 11px;
	color: #bbb;
        line-height: 14px;
        height: 14px;
}

.text_left {
	float: left;
}



h1 {
	font-weight:bold;
	margin: 8px 0px 0px 0px;;
	line-height: 1.6em;
	font-size: 2.2em;
	color: #1a1a1a;
}

h2
{
	font-weight: normal;
	font-size: 16px;
	color: #666;
	line-height: 1.2em;
	border-bottom: #e4e4e3 1px solid;
	margin: 0px 0px 20px 0px;
	padding-bottom: 10px;
}

.menu {
	padding: 0.5em 0px 0.5em 4px;
	margin: 0px;
	border-top: #e6e6e6 1px solid;
	border-right: #e6e6e6 1px solid;
	background-color: #33cc33;
	color: #FFFFFF;
	font-size: 13px;
	font-weight: bold;
}
.report {
	margin-left:206px;
	max-width:100%;
}
.navhome {
	float:left;
	font-size: 12px;
	margin: 70px 0px 10px -8px; /* -8 это margin в bodywrap */
	line-height: 1.2em;
	width: 206px;
	border-bottom: #e6e6e6 1px solid;
}
.navhome UL {
	width: 206px;
}
.navhome LI A {
	display: block;
	margin: 0px;
	padding: 0.3em 0em 0.3em 16px;
	text-indent: -14px;
	border-top: #e6e6e6 1px solid;
	border-right: #e6e6e6 1px solid;
	color: #555555;
	background-color: #f6f6f6;
	width:189px;
}
.navhome LI A:hover {
	background: #f0f0f0;
	color: #555;
}

.navhome LI.lhactive A {
	background: #f6f6f6;
	font-weight:bold;
	color: #333;
}
.navhome LI.lhactive A:hover {
	COLOR: black;
	background: #f0f0f0;
}

.subnavhm LI {
}
.subnavhm LI A {
	font-weight: normal;
	padding: 0.2em 0em 0.4em 15px;
	color: #666;
	background-color: #fff;
	BORDER-TOP-WIDTH: 0px;
	BORDER-BOTTOM-WIDTH: 0px;
	TEXT-INDENT: -2px;
	width: 190px;
}
.subnavhm LI A:hover {
	color: black;
	background-color: #fff;
}
.subnavhm LI.lhactive A {
	background-color: #fff;
	color: #333;
}
.subnavhm LI.lhactive A:hover {
	COLOR: black;
	background-color: #fff;
}

.bodybold
{
	padding: 0px;
	margin:0px;
	color: #202020;
	max-width:100%;
	line-height: 1.5em;
	font-size:13px;
}

.links {
	color: #808080;
	font-size: 13px;
	margin:0px 0px 6px 0px;
}

.links a.pageNumber {
	margin: 0px 1px 0px 0px;
	padding: 2px 5px; 
	border: 1px solid green;
	border-radius: 5px;
	color: green;
}
.links a.pageNumber:hover {
	background-color: rgb(192, 235, 192);
	background-color: #C0F0C0;

}
.links a.pageCurrent {
        color: white; 
	background-color: #40C000;
}
.links a.pageCurrent:hover {
	background-color: #40C040;
}

.gb_row {
	border-top:1px solid #808080;
	padding:6px 0px;
}
.gb_rowe {
	border-top:1px solid #808080;
	padding:3px 0px;
}
.gb_row_unread {
	border-top:1px solid #808080;
	padding:6px 0px;
	background: #C0F0C0;
}

.multilined-icon {
    position: absolute;
    /*transform: translate(0,-100%);*/
    display: block;
    margin: 0px;
    padding: 2px 4px 2px 4px;
    color: #000;
    background-color: #FEE800;
    border: 1px solid #606060;
    border-radius: 5px;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1em;
}

.pin {
    display: block;
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 4px;
    margin: -3px 0 0 -3px;
    background-color: #FE0000;
    border: 1px solid #606060;
}


#gb { 
	background:#fff repeat-x left top;
	color: #656565;
	line-height: 1.2em;
}

#gb_top {
	display: block;
	height: 40px;
	background: #000;
	background-image: url('/webfiles/id_logo.png');
	background-repeat: no-repeat;
	background-position: center left;
	margin: 0px auto;
}

#gb_body {
	padding:0px 0px 20px 20px;
	margin: 0px auto;
}

input, textarea {
	font-size:14px;
	color:#656565;
}

.tbl {
	border:0px;
	vertical-align:top;
	text-align:left;
}
.tbl td {
	vertical-align:top;
}

.tbl_cp {
	color: black;
	vertical-align:center;
	text-align:center;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	font-size:11px;
	font-weight:normal;
        border-spacing:0px 0px;
	border-collapse: collapse;
}
.tbl_cp td {
        border: 1px solid #d8d8d8;
}



#wrap_404 {
	font-size:14px;
	color:red;
	text-align:center;
	margin-top:20%;
}

.tbl_1 {
	border: 1px solid;
	table-layout: fixed;
	border-collapse: collapse;
}
.tbl_1 td { 
    border: 1px solid;
}


#bodywrap img {
	max-width:inherit;
}

.report img {
	max-width:inherit;
        height: auto;
}


#main_leftcol { /* Левая колонка */
	max-width:100%;
	float:left;
	width:45%;
}

#main_rightcol { /* Правая колонка */
	overflow:hidden;
	padding:0px 0px 0px 5px;
	/*height:932px;*/ /* Сумма высот всех картинок 298+298+336 = 932*/
}

.p_main
{
	padding-left: 70px;
	font-size:12px;
	color: #202020;
	line-height: 18px;
	max-width:100%;
	text-indent:-70px;
	margin:0px;
}


.map_autosize {

	max-width:inherit;
	/*float:right;*/
	float:none;
}

.zpics { /* Трюк выравнивания */
	position: relative;
	height:160px;
	width:162px;
	text-align:center;
	display:inline-block; /* вместо float */
}
.zpic { /* Выравнивание внутри вниз-центр */
	position: absolute;
	bottom: 0;
	width:100%;
	line-height: 1.2em;
	text-align:center;

}

#about_left {
	max-width:100%;
	float:left;
	width:45%;
}
#about_right {
	overflow:hidden;
	padding:0px 0px 0px 5px;
}

#about_end {
	clear:both;
}

.diary_left {
	float:left;
	width:340px;
	padding-top:4px;
}
.diary_right {
	max-width:100%;
	margin-left:345px;
	padding-top:4px;
}



.img_preview { /* Предварительный просмотр картинки если добавляем в общалке */
	max-width:200px;
	width:auto;
	height:auto;
	display:inline-block;
	padding-right:10px;
	padding-bottom:20px;
}


/* UPLOAD IMAGE */
/* кнопка закрытия окна */
.btn-close {
    color: green;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 3px;
    top: 0px;
    -ms-user-select: none; /* Это чтоб не помечался выбор текста для разных браузеров */
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
}
.btn-close:hover {
    color: red;
}

.progress {
  width: 100%;
}

.alertable {
  text-align: left;
  z-index: 9999;
  top: 28vh;
  width: 300px;
  background: white;
  border-radius: 4px;
  padding: 8px;
  margin: 0 auto;
  border: solid 2px green;
  position:absolute;
  position:fixed;
  left: 0;
  right: 0;
  height:auto;
}


.alertable-overlay {
  position: fixed;
  z-index: 9998;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.2);
}

.alertable-buttons {
  text-align: left;
}

/* Message */
.alertable-message {
  margin-bottom: 6px;
  overflow-y:auto;
}


/* Cancel button */
.alertable-btn {
  border: solid 1px #ddd;
  font-family: inherit;
  font-size: inherit;
  border-radius: 4px;
  padding: 3px 3px;
  margin-left: 0px;
  margin-bottom: 6px;
  cursor: pointer;
}

.alertable-cancel:hover,
.alertable-cancel:focus,
.alertable-cancel:active {
  background-color: #f2f2f2;
}
/* UPLOAD IMAGE */

.img_icon {
  vertical-align:bottom; /* Прижать иконки гостевой к низу */
}




@media screen and (max-width:800px) {
	#top_right
	{
		display:none;
	}

	#main_leftcol { /* Левая колонка */
		display:none;
	}

	#main_rightcol { /* Правая колонка */
		width: auto;
	}
}

@media screen and (max-width:660px) {
	#globalwrap {
		min-width:320px; /* Мин. ширина */
	}

	body { 	margin:0px;  } /* справа 6 иначе скролл... */
	#topwrap { background:url(/webfiles/hrhome.jpg)  #000 repeat-x bottom; }
	#bodywrap { background: #fff; }  
	#footwrap { background: #000; }

	#topwrap {
		height: 75px;
	}

	#top_left {
		width:90%;
		text-align:center;
	}

	.elka {
		height:45px;
	}

	#top_center{
		top:45px;
		left:0px;
		width:100%;
		text-align:center;
	}

	#top_center ul{
		display: inline-block;
	}

	#top_center li a {
		padding:0 2px;
		text-transform:none;
		line-height:30px;
		height:25px;
	}

	.navhome {
		margin: 0px 8px 10px -8px; /* -8 это margin в bodywrap */
	}

	.map_autosize {
		max-width:inherit;
		float:right;
	}

	.report {
		margin-left:0px;
	}

	.diary_left {
		width:auto;
	}
	.diary_right {
		margin-left:0px;
	}

	#about_left {
		float:none;
		width:100%;
	}
}