@import url("reset.css");
@import url("normalize.css");

html,body {
	height:100%;
	background: #fdfefd;
	line-height:normal;
}
body {
	background: #f5f5f5;
}
#mainLoader{
	min-height: 500px;
	height: 100%;
	/*padding: 0 70px;*/
	background: #fff;
}

.mainGrid .error {
	display: flex !important;
	align-items: center;
	justify-content: center;
}
.mainGrid .error > div{
	text-align:center;
}
.mainGrid .error h5{
	font-size: 3em;
	line-height: 1.5;
}
.mainGrid .error h5+div > p{
	font-size: 1.3em;
	color: var(--secondary-text-color);
}

.mainGrid {
	display: grid;
	grid-template-columns: 70px 1fr 70px;
	grid-template-rows: auto 1fr auto;
	height:100%;
	position: relative;
	overflow: hidden;
	min-height:500px;
	z-index:0;
}
.mainGrid>.header,
.mainGrid>.footer {
	grid-column-start: 1;
	grid-column-end: 4;
	padding-right: 70px;
}
.mainGrid>.leftColumn {
	z-index:20;
}
.fixedBackgound.mainGrid>.leftColumn {
	z-index:0;
}
.mainGrid>.content {
	z-index:1;
	position: relative;
	overflow: hidden;
}

img {
	border:none;
}
img.loader {
	visibility:hidden;
	width:0;
	height:0;
	position: absolute;
}
input:required,select:required,textarea:required {
	-moz-box-shadow:none;
	box-shadow:none;
	-webkit-box-shadow:none;
}
input[type=submit] {
	border-radius:0;
	-webkit-appearance: none;
	box-shadow:none;
}
textarea {resize:none;}
input {outline:none;margin: 0;}
body>object {display:none;}
.clear:after {content:'.';display:block;font-size:0px;margin:0;padding:0;height:0px; overflow:hidden;clear:both;float:none !important;}
.relative {position:relative !important;zoom:1;z-index:0;}

.leftMenu {
	position: absolute;
	top:0;
	left:0;
	bottom:0;
	width:70px;
	overflow:hidden;
	background: inherit;
	box-shadow:0 0 5px 5px #ccc;
	transition: width ease .3s;
}
.leftMenu:hover {
	width:300px;
	z-index:20;
}
.leftMenu>.inner {
	width:300px;
}
.userCenter {
	position: absolute;
	top:0;
	right:0;
	bottom:0;
	width:70px;
	overflow:hidden;
	min-height: 500px;
	border-left:1px solid var(--dark-grey);
}
.userCenter .tabsData{
	width:100%;
}
.homePage~.userCenter{
	width:500px;
}
.userCenter.opened,
.homePage~.userCenter.opened.fullSize {
	z-index:1000;
	width:auto;
	left:0;
}
.homePage~.userCenter.opened{
	z-index:0;
	width:500px;
	left:auto;
}
.userCenter>.inner {
	width:570px;
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	background: #f5f5f5;
	/*box-shadow:0 0 5px 5px #aaa;*/
}
.userCenter.opened>.inner {
	right:0;
	left:auto;
}
.userCenter.opened.fullSize>.inner{
	width:auto;
	left:70px;
}
.userCenter>.back {
	position: absolute;
	left:0;
	right:0;
	top:0;
	bottom:0;
	z-index:-1;
	background: #000;
	opacity:.2;
}
.userCenter .menu {
	position: absolute;
	left:0;
	top:0;
	bottom:0;
	width:70px;
}
.userCenter .content {
	position: absolute;
	left:70px;
	top:0;
	bottom:0;
	width: calc(100% - 70px);
}
.userCenter .content h6,
.userCenter .content h5{
	margin-bottom: 25px;
	line-height: 1.5;
	font-size: 1.4em;
	text-transform: uppercase;
	padding-right: 50px;
}
.userCenter .content p{
	font-size: 1.2rem;
	color: var(--secondary-text-color);
	line-height:1.5;
}
.userCenter .cabinet h6:nth-child(1){
	display: none;
}
.userCenter.fullSize .content {
   width:auto;
   right:0;
}
.userCenter .onFullSize {
	display: none;
}
.userCenter.opened.fullSize .onFullSize {
	display: block;
}
.userCenter .companyMenu a {
	background: url(/images/chemodan.svg) center center no-repeat;
	background-size:100% auto;
}
.userCenter .companyMenu,
.userCenter[data-usercenter="company"] .accountMenu {
	display: none;
}
.userCenter[data-usercenter="company"] .companyMenu {
	display: block;
}
.userCenter[data-usercenter="company"] .js-accountMenu > a{
	width: 26px;
	opacity: 0.5;
}
.lmenu_organization {
	display: flex;
	flex-direction: column;
}
.lmenu_organization img{
	width:  75%;
	margin:20px auto;
}
.lmenu_organization .menuList>.item {
	padding: 20px 0;
	font-weight: 700;
	font-size: 1.2rem;
	border-top: 1px solid var(--dark-grey);
	margin: 0;
}
.lmenu_organization .menuList a {
	color: var(--secondary-text-color);
}
.lmenu_organization .menuList a:hover{
	color: var(--primary-text-color);
}
.lmenu_organization .menuList .js-testmode{
	display: block;
	position: relative;
}
.lmenu_organization .menuList .js-testmode:after,
.lmenu_organization .menuList .js-testmode:before{
	content: ' ';
	position: absolute;
	right: 0;
	top:-3px;
	height:20px;
	width:35px;
	background: #838A93;
	border-radius:20px;
}
.lmenu_organization .menuList .js-testmode:before {
	width: 18px;
	background: #fff;
	z-index: 10;
	height: 18px;
	top: -2px;
	right: 16px;
}
.lmenu_organization .menuList .js-testmode.testMode-active:after {
	background: #FFD500;
}
.lmenu_organization .menuList .js-testmode.testMode-active:before {
	right: 1px;
}
.lmenu_organization p {
	margin-bottom: 40px;
}
.lmenu_organization h5 {
	margin-top: 20px;
}
.loading:after{
	content:' ';
	position: absolute;
	z-index: 10000;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background: #ccc url(/images/loading.svg) center center no-repeat;
	opacity:.7;
}
#mainLoader.loading:after{
	position: fixed;
}

input:autofill {
	background: transparent;
}

input:-webkit-autofill {
	background: transparent;
}
.lang.active {
	display: none;
}
*[data-switch] {
	display:none;
}

.forOpen {
	position: relative;
}
.forOpen>*:not(.forOpen_head){
	display:none;
}
.forOpen>.forOpen_head{
	cursor: pointer;
}
.forOpen.opened>*{
	display:block;
}
.forOpen.opened>header{
	display:flex;
}
.forOpen:before {
	content: '';
	position: absolute;
	right:50px;
	top:32px;
	font-size: 30px;
	line-height: 16px;
	color:#707E8D;
	transition: transform 0.3s ease-out;
	width: 14px;
	height: 7px;
	cursor: pointer;
	background: url('../images/tab-arrow.svg') center center no-repeat;
	background-size: contain;
}
.forOpen.opened:before{
	  transform: rotate(180deg);
}
.blocked {
	position: relative;
	z-index:0;
}
.blocked:after {
	content:' ';
	position: absolute;
	top:0;
	left:0;
	right: 0;
	bottom:0;
	z-index:100;
}
.l {
	float:left;
}
.r {
	float:right;
}
.h100 {
	height:100%;
}

#modal {
	position:fixed;
	z-index:10000;
	top:0;
	left:0;
	right:0;
	bottom:0;
	font-family:'Rubik', sans-serif;
}
#modal>.back {
	position:absolute;
	z-index:-1;
	top:0;
	left:0;
	right:0;
	bottom:0;
	background:#000;
	opacity:0.6;
	filter:alpha(opacity=60);
}
#modal>.info {
	background:#fff;

	position:absolute;
	z-index:10;
	top:50%;
	left:50%;
	width:500px;
	height:350px;
	margin:-175px 0 0 -250px;
}
#modal>.info>.message {
	border:none;
	overflow:auto;
	padding:0;
	position:absolute;
	z-index:10;
	top:25px;
	left:25px;
	bottom:25px;
	right:25px;
	color: #000;
	background: none;
}
#modal>.info>a {
	position:absolute;
	height: 29px;
	right: -12px;
	margin:0;
	position: absolute;
	top: -10px;
	width: 25px;
	z-index: 20;
	background:url(/images/x.png) 0 0 no-repeat;
}
#modal>.info>.message .unopenableFile{
	display: block;
	text-align: center;
	height: 100%;
	padding-top: 25%;
}
#modal>.info>.message .unopenableFile p{
	padding-bottom: 5px;
}
#modal>.info>.message .unopenableFile p>a{
	margin-top:15px;
}
#modal>.info>.message .lead{
	font-size:1.2rem;
	color:var(--secondary-text-color);
	font-style:italic;
	padding:15px 0 20px;
	line-height:1.5;
}
#modal>.info>.message .plan-data > div{
	grid-template-columns: 1fr 300px;
}
#modal>.info>.message .forOpen>.forOpen_head{
	cursor:auto;
	padding: 15px 0 20px;
}
#modal>.info>.message .forOpen>.forOpen_head h4{
	font-size:1.2rem;
}
#modal>.info>.message .tab-item1:hover{
	box-shadow: 0px 0px 0px 0px #FFF;
}
#modal>.info>.message .forOpen:before{
	background:#FFF;
}
#modal>.info>.message .tab-item1 main{
	padding-bottom:0;
}
#modal>.info>.message .buttons{
	position: absolute;
	bottom: 0;
	grid-template-columns: 1fr 300px;
	display: grid;
	background: none;
	padding: 0;
}
#modal>.info>.message .buttons span{
	display:block; 
	transition:0.5s;
	cursor:pointer;
	padding:10px;
	width:150px;
	text-align:center;
	font-weight:500;
	font-size:1.3rem;
}
#modal>.info>.message .buttons span.js-cancel{
	border:1px solid var(--grey);
	color:var(--secondary-text-color);
}
#modal>.info>.message .buttons span.js-apply{
	border:1px solid var(--yellow);
	background: var(--yellow);
}
#modal>.info>.message .buttons span.js-apply:hover,
#modal>.info>.message .buttons span.js-cancel:hover{
	border:1px solid #000;
	background: #000;
	color:var(--yellow);
}
.grid1,.grid2,.grid4 {
	display: grid;
	height: 100%;
	position: relative;
	overflow: hidden;
}
.grid1 {
	grid-template-columns: 230px 1fr 285px;
}
.grid1.column3long {
	grid-template-columns: 230px 1fr 500px;
}
.grid2 {
	grid-template-columns:  1fr 285px;
}
.grid2.column3long {
	grid-template-columns:  1fr 500px;
}
.grid4 {
	grid-template-columns:  230px 1fr;
}
.grid4.column1long {
	grid-template-columns:  460px 1fr;
}

.grid4.column3long > .grid2  { 
	display: grid;
	grid-template-columns: 1fr 500px;
}
.grid1.gtr100,.grid2.gtr100,.grid4.gtr100 {
	grid-template-rows: 100%;
}
.grid2>.grid4 > *:nth-of-type(2) {
	display: block;
}
.grid1>*,
.grid2>*,
.grid4>* {
	position: relative;
}
.grid1>.shadow,
.grid2>.shadow,
.grid4>.shadow {
	box-shadow: 0 0 5px 5px rgba(204,204,204,0.75);
	z-index:10;
}
.grid1>.shadowRight,
.grid2>.shadowRight,
.grid4>.shadowRight {
	box-shadow: 10px 0 5px -5px rgba(204,204,204,0.75);
	z-index:10;
}
.grid1>.shadowLeft,
.grid2>.shadowLeft,
.grid4>.shadowLeft {
	box-shadow: -5px 0 5px 0 rgba(204,204,204,0.75);
}
.grid1>.bgGrey,
.grid2>.bgGrey,
.grid4>.bgGrey,
.gridHalf>.bgGrey {
	background-color: var(--grey);
}
.grid1>.borderRight:after,
.grid2>.borderRight:after,
.grid4>.borderRight:after,
.gridHalf>.borderRight:after {
	content: ' ';
	position: absolute;
	top:0;
	bottom:0;
	right:0;
	width:1px;
	background-color: var(--dark-grey);
}
.gridHalf {
	display:grid;
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 100%;
}
.gridGolden {
	display:grid;
	grid-template-columns: 1fr 100px;
	grid-template-rows: 100%;
	gap:15px;
}
.gridHalf>.borderRight {
	position: relative;
}

.gridRows-head-scroll {
	display: grid;
	grid-template-rows: auto 1fr;
	position: relative;
	height: 100%;
}

.p20{
	padding:20px;
}
.homePage .date{
	font-size: 1.2rem;
}
.homePage .pageContent h4{
	text-transform: uppercase;
	margin-top:5px;
	padding-bottom:13px;
}
.plans-list .content_header h1::before{
	content:'i';
	text-transform: none;
	font-size: 1.2rem;
	border: 1px solid var(--yellow);
	display: block;
	border-radius: 14px;
	float: right;
	margin-left: 15px;
	padding: 2px 7px;
	position:relative;
	z-index:40;
}
.plans-list .content_header h1:hover::before{
	background: var(--yellow);
	transition:0.3s;
}
.plans-list .content_header h1:hover::after{
	content:"План потреб – це перелік об'єктів, які необхідно відновити чи створити для повноцінного функціонування громади/області/регіону/населеного пункту. До плану потреб можуть входити як інфраструктурні об'єкти (будівлі, споруди), так і товари (транспортні засоби, трансформатори тощо). Чітко деталізуйте, що саме є предметом вашої потреби, для подальшої ініціації проєктів.";
	color: var(--secondary-text-color);
	font-size: 1.3rem;
	line-height: 1.7;
	display: block;
	border-radius: 0px;
	float: right;
	text-transform: none;
	font-weight: 300;
	width: 500px;
	position: absolute;
	left: 270px;
	top: 5px;
	background: #FFF;
	z-index: 30;
	box-shadow: 1px 10px 25px var(--dark-grey);
	padding: 15px 15px 15px 40px;
	transition:1s
}
#objectItemEdit,
#companySubItem {
	z-index:10;
}
.fullAbsolute {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.bgGrey>.fullAbsolute{
	background-color: var(--grey);
	z-index: -1;
}
.fullFixedBackground {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	opacity: .5;
	z-index: -2;
}
.dropzoneCropper {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #000;
	z-index:9999;
}
.dropzoneCropper>.buttons {
	position: absolute;
	text-align: center;
	bottom:0px;
	left:0;
	right:0;
	z-index:20;
	padding:10px 0;
	display: block;
}
.dropzoneCropper .button {
	display: inline-block;
	cursor: pointer;
	height: auto;
	padding:10px 30px;
}
.dropzoneCropper .buttons:after{
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #fff;
	z-index:-1;
	content:' ';
	opacity:1;
}
.dropzoneCropper .button+.button {
	margin-left:20px;
}
.dropzoneCropper>.image {
	position: absolute;
	top:0;
	bottom:53px;
	left:0;
	right:0;
	z-index:10;
}
#modal .previewImage {
	height: 100%;
	justify-content: center;
	align-items: center;
	display: flex;
}
#modal .previewImage img {
	max-width: 100%;
	max-height: 100%;
}

.translating {
	position: relative;
}
.translating:after{
	content: ' ';
	position: absolute;
	z-index:10;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background: url(/images/bars.svg) center center repeat-x;
	background-size:contain;
	overflow: hidden;
}

#connectionError {
	position: fixed;
	top:-300px;
	left:0;
	right:0;
	z-index:1010;
	
	-webkit-transition:top 0.5s ease-out;
	-moz-transition:top 0.5s ease-out;
	-o-transition:top 0.5s ease-out;
	transition:top 0.5s ease-out;
}
#connectionError:after {
	content:' ';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:-1;
	background: #ff6f06;
	border:2px solid #c65400;
	opacity:.9;
}
#connectionError.active:before {
	content:' ';
	position: fixed;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:-1;
	background: #999;
	opacity:.7;
}
#connectionError.active {
	top:0;
}
#connectionError .inner {
	padding:20px 100px;
	text-align: center;
	color:#fff;
	font:400 18px/22px Arial,sans-serif;
}

.topInformer {
	height:50px;
	color:#fff;
	height:70px;
	z-index:100;
	font-family:'Rubik', sans-serif;
	font-size: 1.3em;
}
.topInformer:before {
	content: ' ';
	position: absolute;
	top:10px;
	left:10px;
	
	background: url(/images/attention.svg) 0 0 no-repeat;
	background-size:100%;
	
	width:50px;
	height:50px;
	z-index:10;
}
.topInformer>.inside {
	position: absolute;
	bottom:0;
	left: 0;
	right:0;
	padding-left: 90px;
	height: auto;
	max-height: 70px;
	min-height: 70px;
	overflow: hidden;
	z-index:0;
	background: #000;
	padding-right: 30px;
	transition: max-height 0.5s ease-out;
}
.topInformer:hover>.inside {
	max-height: 700px;
	
	transition: max-height 0.5s ease-in;
}
.topInformer .item {
	padding-top:10px;
	min-height: 60px;
}
.topInformer .item + .item {
	margin-top:15px;
}
.topInformer .title {
	font-weight:500;
}
.topInformer .lead {
	font-size:1.1rem;
	margin-top:5px;
	line-height:1.5;
}
.lmenu_organization .menuList>.item .hint{
	font-weight: 300;
	font-size: 1.2rem;
	color: var(--secondary-text-color);
	line-height: 1.5;
	margin-top: 15px;
	margin-bottom: 0;
	font-style: italic;
}

.tooltip_icon {
	position: relative;
}
.tooltip_icon:before{
	content:' ';
}
.tooltip_icon:after{
	content:' ';
	position: absolute;
	
	top: -5px;
    left: 0;
    width: 22px;
    height: 22px;
	opacity:0.2;
	background: url('/images/info.svg') center center no-repeat;
	margin-left: 10px;
    background-size: 100%;
}
.tooltip {
  padding: 15px;
  border-radius:12px;
  background: #FFF; 
  color: var(--secondary-text-color);
    font-size: 1.1rem;
    max-width: 300px;
  text-align: left;
  position: absolute;
  	top: 20px;
    right: -35px;
    width: 300px;
      box-shadow: 0px 5px 15px #ddd;
    font-style: italic;
    line-height: 1.5;
  display:none;
}
.tooltip_icon:hover .tooltip{
	display:block;
}
.content.sectoralmap  .grid4 .ps:first-child{
	width:0px;
}
.content.sectoralmap  .grid4 .ps{
	margin-left:-230px;
}