.wg_back_grey{
	background-color: rgb(230,230,230);
}

.clr{
	clear: both;
}

.popover{/*подсказки*/
	color: black !important;
}
.popover a{
	text-decoration: underline;
}

/*█*/

.wg_alertString{
	display: block;
	width: 100%;
	margin: 5px auto;
	padding: 5px;
	border-radius: 4px;
	border: solid 1px rgb(227,95,95);
	box-shadow: 0 0 5px rgb(227,95,95);
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: rgb(227,95,95);
}

/*█*/

.wg_infoString{
	display: block;
	width: 100%;
	margin: 5px auto;
	padding: 5px;
	border-radius: 4px;
	border: solid 1px rgb(51,122,183);
	box-shadow: 0 0 5px rgb(51,122,183);
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: rgb(51,122,183);
}

/*█*/

.wg_inputForm{
	width: 100%; max-width: 500px;
	margin: 10px auto;
	padding: 5px;
	border-radius: 4px;
	border: solid 1px rgb(51,122,183);
	background: white;
	box-shadow: 0 0 5px rgb(150,150,150);
	text-align: center;
}

/*█*/

.wg_output{
	position: relative;
	width: 100%;
	margin: 10px auto;
	padding: 0 5px;
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
}
.wg_output span{
	display: block;
	width: 100%;
	margin: 0;
	padding: 5px 0;
	
	text-align: center;
	color: rgb(116,128,140);
}
.wg_output .str{
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0 32px 0 0;
}
.wg_output .str .out{
	width: 100%; min-height: 30px;
	padding: 5px;
	border-radius: 4px;
	background: rgb(220,220,220);
	color: black;
}
.wg_output .str .get{
	position: absolute; top: calc(50% - 15px); right: 0;
	width: 30px; height: 30px;
	border-radius: 4px;
	background-color: rgb(51,122,183);
	background-position: center;
	background-repeat: no-repeat;
	background-image: url(images/icon_refresh.svg);
}

/*█*/

.wg_input{
	display: block;
}
.wg_input p{
	width: 100%;
	margin: 0 auto;
	padding: 3px;
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 10pt;
	text-align: center;
	color: rgb(116,128,140);
}
.wg_input div{
	width: 100%;
	border: solid 1px rgb(214,221,230);
	border-radius: 4px;
	transition: border .4s;
}
.wg_input div:after{
	content: '';
	opacity: 0;
	transition: opacity 1s;
}
.wg_input div input{
	display: block;
	width: 100%;
	margin: 0;
	padding: 5px;
	border-radius: 4px;
	border: none !important;
	background: none;
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	font-weight: normal;
	color: black;
}

.wg_inputError div{/*ошибка валидации*/
	position: relative;
	border: solid 1px rgb(227,95,95);
	box-shadow: 0 0 5px rgb(227,95,95);
}
.wg_inputError div input{
	width: calc(100% - 20px);
}
.wg_inputError div:after{
	opacity: 1;
	position: absolute; top: calc(50% - 10px); right: 2px;
	width: 20px; height: 20px;
	
	background-image: url(images/icon_alert.svg);
	background-position: center;
	background-repeat: no-repeat;
}

/*█*/

.wg_simpleError{/*ошибка валидации*/
	position: relative;
	border: solid 1px rgb(227,95,95);
	box-shadow: 0 0 5px rgb(227,95,95);
}

/*█*/

.wg_textC{
	text-align: center !important;
}
.wg_textR{
	text-align: right !important;
}

/*█*/

.wg_taxFormLine{
	display: inline-block;
	width: 100px; height: 30px;
	margin: 5px auto;
	border: solid 1px rgb(230,238,247);
}
.wg_taxFormLine .sym{
	display: inline-block; vertical-align: top;
	width: 24px; height: 100%;
	padding-top: 3px;
	background: black;
	
	font-family: tahoma, arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: white;
}
.wg_taxFormLine input{
	display: inline-block; vertical-align: top;
	width: calc(100% - 30px); height: 100%;
	border: none;
	background: white;
	font-family: tahoma, arial, sans-serif;
	font-size: 11pt;
	text-align: left;
	color: rgb(116,128,140);
}

/*█*/

.wg_inMessImg{
	display: block;
	max-width: 400px; max-height: 400px;
	margin: 5px auto;
}

/*█*/

.wg_listItemAdd{
	cursor: pointer;
	display: block;
	width: 20px; height: 20px;
	margin: 5px auto;
	border-radius: 4px;
	background-color: rgb(51,122,183);
	background-image: url(images/icon_addWhite.svg);
	background-position: center;
	background-repeat: no-repeat;
}
.wg_listItemAdd:hover{
	background-color: rgb(167,199,228);
}

.wg_listItemAdd_wide{
	cursor: pointer;
	display: block;
	width: 100px; height: 30px;
	margin: 5px auto;
	border-radius: 4px;
	background-color: rgb(51,122,183);
	background-image: url(images/icon_addWhite.svg);
	background-position: center;
	background-repeat: no-repeat;
}
.wg_listItemAdd_wide:hover{
	background-color: rgb(167,199,228);
}

/*█*/

.wg_blockLabel{
	cursor: pointer;
	position: relative;
	margin: 0;
	padding: 5px;
	border-radius: 0 0 4px 4px;
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	font-weight: normal;
	text-align: center;
	color: rgb(54,64,74);
	transition: background .2s;
}
.wg_blockLabel:after{
	content: '';
	position: absolute; top: calc(50% - 10px); left: 5px;
	width: 20px; height: 20px;
	border-radius: 4px;
	background-color: rgb(129,200,104);
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(images/icon_addWhite.svg);
}
.wg_blockLabelExp:after{
	background-image: url(images/icon_minusWhite.svg);
}
.wg_blockLabel:hover{
	background: rgb(229,250,223);
}
.wg_blockLabelExp{
	border-radius: 0;
	border-bottom: solid 1px rgb(129,200,104);
	background: rgb(229,250,223);
}

.wg_block{
	width: 100%;
	margin-bottom: 10px;
	padding: 10px;
	border-radius: 4px;
	background: white;
}
.wg_block .resizible{
	overflow-y: hidden;
	overflow-x: visible;
	transition: height 1s;
}

.wg_blockCompact{
	padding: 0 0 5px;
}

/*█*/

.wg_mainHeader{
	width: 100%;
	margin-bottom: 5px;
	padding: 5px;
	/*border-radius: 4px;*/
	/*background: rgb(88,201,199);*/
	border-bottom: dotted 3px rgb(193,202,212);
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: rgb(115,22,22);
}

/*█*/

.wg_tableHeader{
	width: 100%;
	padding: 5px;
	background: rgb(54,64,74);
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: white;
}
.wg_tableHeader td{
	color: white !important;
}
.wg_tableHeader:hover{
	background: rgb(54,64,74) !important;
}

.wg_tableSubHeader{
	width: 100%;
	padding: 3px;
	background: rgb(230,238,247);
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: center;
	color: rgb(54,64,74);
}

.wg_list_warn{
	background: rgb(255,237,237);
}

.wg_lockCover{
	position: absolute; top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(255,255,255,0.5);
}

/*█*/

.wg_moneyInput{
	position: relative;
	display: block;
	width: 100%; max-width: 150px; height: 30px;
	margin: 0 auto;
	padding-right: 20px;
	background-image: url(images/edit_icon.svg);
	background-position: center right;
	background-repeat: no-repeat;
}
.wg_moneyInput .input{
	display: block;
	width: 100%; height: 100%;
	padding: 3px;
	border-radius: 4px;
	border: solid 1px rgb(186,195,204);
	background: white;
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 11pt;
	text-align: right;
	color: rgb(51,122,183);
	
	transition: width .5s, border-color .2s;
}
.wg_moneyInput .save{
	cursor: pointer;
	visibility: hidden;
	opacity: 0;
	position: absolute; top: 0; right: 5px;
	width: 30px; height: 30px;
	background-image: url(images/save_icon.svg);
	background-position: center;
	background-repeat: no-repeat;
	
	transition: opacity .5s;
}
.wg_moneyInputWarn{
	background-image: none;
}
.wg_moneyInputWarn .input{
	cursor: text;
	width: calc(100% - 15px);
	border-color: rgb(227,95,95);
	color: black;
}
.wg_moneyInputWarn .save{
	visibility: visible;
	opacity: 0.7;
}
.wg_moneyInputWarn .save:hover{
	opacity: 1;
}

.wg_moneyInput_dis{
	background-image: none;
}
.wg_moneyInput_dis .input{
	border-color: rgb(230,238,247);
	color: rgb(116,128,140);
}
.wg_moneyInput_dis .save{
	display: none;
}

/*█*/

.wg_cap{
	position: fixed; top: 0; left: 0; z-index: 50000;
	width: 100%; height: 100%;
	background-color: white;
	transition: opacity .5s, visibility .5s;
}
.wg_cap:after{
	content: '';
	position: absolute; top: calc(50% - 15px); left: calc(50% - 15px);
	width: 31px; height: 31px;
	border-radius: 7px;
	background-image: url(images/logo.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	box-shadow: 0 0 5px black;
	animation-name: cap_anim;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
	animation-timing-function: linear;
}
@keyframes cap_anim{
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.5);
	}
	100% {
		transform: scale(1);
	}
}

/*█*/

.wg_shadowed{
	position: relative;
}
.wg_shadowed:after{
	content: '';
	position: absolute; bottom: -10px; left: 0;
	width: 100%; height: 10px;
	background-image: url(images/shadowed.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 100% 100%;
}

/*█*/

.wg_accentBlock{
	padding: 10px;
	border-radius: 4px;
	border: solid 1px rgb(227,95,95);
	box-shadow: 0 0 5px rgb(120,120,120);
}

/*█*/

.wg_itemListOpenElement{
	display: block;
	margin: 0 auto;
	padding: 2px 5px;
	border-radius: 4px;
	background: rgb(230,238,247);
}

/*█*/

.wg_colorMarker{
	position: relative;
	display: inline-block; vertical-align: middle;
	padding: 3px 3px 5px 18px;
	
	font-family: 'Exo 2', arial, sans-serif;
	font-size: 10pt;
	color: rgb(116,128,140);
}
.wg_colorMarker:after{
	content: '';
	position: absolute; top: calc(50% - 7px); left: 0;
	width: 14px; height: 14px;
	border-radius: 4px;
}
.wg_colorMarker_dang:after{
	background: rgb(227,95,95);
}
.wg_colorMarker_succ:after{
	background: rgb(129,200,104);
}

/*█*/

.wg_payStIcon{
	cursor: pointer;
	display: block;
	width: 21px; height: 25px;
	margin: 5px auto;
	transition: transform .1s;
}
.wg_payStIcon:hover{
	transform: scale(1.2);
}
.wg_payStIcon-1{
	background-image: url(images/paymentStatus-1.svg);
}
.wg_payStIcon0{
	background-image: url(images/paymentStatus0.svg);
}
.wg_payStIcon1{
	background-image: url(images/paymentStatus1.svg);
}
.wg_payStIcon2{
	background-image: url(images/paymentStatus2.svg);
}
.wg_payStIcon3{
	background-image: url(images/paymentStatus3.svg);
}
.wg_payStIcon4{
	background-image: url(images/paymentStatus4.svg);
}

