/****** MY STYLES ****************************/
.icon-nav-tasks2{
	background: url('../images/icon-nav-tasks2.png') center 16px no-repeat;
}


#auth_block{
	height: 100%;
}

#auth_block .b-main_content{
	margin-left:0; 
	background: url('../images/bg.jpg') no-repeat fixed center center #8a6b6f;
	min-height: 92vh;
}

#auth_block  .b-inner_page--header{
	background:none;
}

#auth_block  .b-inner_page--title{
	font-size:90px;
}

#auth_block  .b-inner_page--title span{
	color: black;
}



.popup_window_custom {
	opacity:0;
	font: 16px/24px 'Roboto', sans-serif;
	background: url("../images/bg.jpg") no-repeat scroll 0 -132px;
	border: 1px solid #39366D;
	border-radius: 8px;
	color: seashell;
	-webkit-border-radius: 1px; /* Safari */
	width:235px;
    position:absolute;
    top:40%;
	left:40%;
	padding: 15px 15px 15px 15px;
    z-index:99999;
	text-align:center;
}

.popup_window_custom p{
	padding:0;
	margin:0;
}


.loader_window {
	opacity:0;
	background: url("../images/ring.gif") no-repeat;
	border:none;
	width:127px;
	height:127px;
    position:absolute;
    top:42%;
	left:50%;
	padding: 0;
    z-index:99999;
}

.fancy_close {
	position: absolute;
    top:-15px;
	right:-15px;
	height: 30px;
	width: 30px;
	background: url(../images/closebox.png) top left no-repeat;
	cursor: pointer;
	z-index:3999;
}

.overlay_form_confirm {
	opacity:0; 
	font: 16px/24px 'Roboto', sans-serif;
	background-color:white;
	border: 2px solid #b81d00;
	border-radius: 1px;
	-webkit-border-radius: 1px; /* Safari */
	width:323px;
	display:block;
    position:absolute;
    top:40%;
	left:38%;
	padding: 15px 15px 0 15px;
    z-index:19999;
}

.overlay_form_confirm input[type=text], .overlay_form_confirm textarea{
	border: 1px solid #EA5700;
    box-shadow: 2px 2px 4px #C2C2C2 inset;
    color: #000000;
    font: 16px/24px inherit;
    height: 25px;
    padding: 0 10px;
    width: 190px;
}

.overlay_form_confirm textarea{
	height: 180px;
}

.overlay_form_confirm input[type=text]:hover, .overlay_form_confirm textarea:hover, .overlay_form_confirm input[type=text]:focus, .overlay_form_confirm textarea:focus{
	border:1px solid #b81d00;
}

.overlay_form_confirm input[type=text]:focus, .overlay_form_confirm textarea:focus{
	outline:0 none;
}

.overlay_form_confirm input[type=submit]{
	border: 0;
	background-color: #b81d00;
	background-image: none;
	background-repeat: no-repeat;
	color: #fff;
	cursor: pointer;
	width: 214px;
	height: 35px;
	background-position: 20px 12px;
}

.overlay_form_confirm input[type=submit]:hover{
	cursor:pointer;
}

.my_del__section_link{
	background:none; 
	float:right; 
	margin-right:38px; 
	padding-top:5px;
}

.my_list__section_link{
	float:right;
}




.arcticmodal-overlay,
.arcticmodal-container { position: fixed; left: 0; top: 0; right: 0; bottom: 0; z-index: 1000; }
.arcticmodal-container { overflow: auto; margin: 0; padding: 0; border: 0; border-collapse: collapse; }
*:first-child+html .arcticmodal-container { height: 100% }
.arcticmodal-container_i { height: 100%; margin: 0 auto; }
.arcticmodal-container_i2 { padding: 24px; margin: 0; border: 0; vertical-align: middle; }
.arcticmodal-error { padding: 20px; border-radius: 10px; background: #000; color: #fff; }
.arcticmodal-loading { width: 80px; height: 80px; border-radius: 10px; background: #000 url(loading.gif) no-repeat 50% 50%; }

.new_projs_pays, .new_companies{
	background-color:#FFFFFF; 
	border:4px solid #D3D3D3;
	border-radius: 11px;
	padding:15px 20px;
}

.new_projs_pays p, .new_companies p{
	margin:5px !important;
	font-size:15px;
	font-family: "PT Sans Caption",sans-serif;
	text-transform: uppercase;
}

.hidden_block{
	display: none;
}

.input_dropdown{
	font-style: normal !important;
}


.comp_request_row_remove{
    margin-left: 20px;
    cursor: pointer;
}


.comp_request_row_remove .icon-remove {
    margin-left: -7px;
    margin-top: 11px;
}

.mini_btn{
	height: 30px;
    line-height: 32px;
    padding: 0 8px;
}

.rel_companies{
	display: none;
}


.has_messages:before{
    content: '';
    display: block;
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 20px;
    background: #ffda6a;
    border: 1px solid #fff;
    right: 5px;
	top: -3px;
    z-index: 9999;
}

.row_remove{    
	position: absolute;
    right: 8px;
    margin-left: 20px;
    top: 8px;
    cursor: pointer;
}

.pay_type_edit{
	right:31px;
	display:none;
}

.readonly_decor{
	border-bottom: none !important;
	cursor: default !important;
}

.readonly_decor_hide_data{
	padding-left: 0 !important;
}

.readonly_decor_hide_data::before{
	background: none !important;
	background-image: none !important;
	width: 0 !important;
}

.correct_input_date {
	min-width:65px;
}

.correct_input_date_empty{
	min-width:80px;
}

.readonly_decor_hide_dropdown .input_dropdown--btn{
	width: 0 !important;
	display: none !important;
}











.input-file-row-1:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.input-file-row-1{
    display: inline-block;
	margin-top: 25px;
	position: relative;
}

html[xmlns] .input-file-row-1{
    display: block;
}

* html .input-file-row-1 {
    height: 1%;
}

.upload-file-container { 
	position: relative; 
	width: 100px; 
	height: 137px; 
	overflow: hidden;	
	background: url(http://i.imgur.com/AeUEdJb.png) top center no-repeat;
	float: left;
	margin-left: 23px;
} 

.upload-file-container:first-child { 
	margin-left: 0;
} 

.upload-file-container > img {
	width: 93px;
	height: 93px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}

.upload-file-container-text{
	font-family: Arial, sans-serif;
	font-size: 12px;
	color: #719d2b;
	line-height: 17px;
	text-align: center;
	display: block;
	position: absolute; 
	left: 0; 
	bottom: 0; 
	width: 100px; 
	height: 35px;
}

.upload-file-container-text > span{
	border-bottom: 1px solid #719d2b;
	cursor: pointer;
}

.upload-file-container input  { 
	position: absolute; 
	left: 0; 
	bottom: 0; 
	font-size: 1px; 
	opacity: 0;
	filter: alpha(opacity=0);	
	margin: 0; 
	padding: 0; 
	border: none; 
	width: 70px; 
	height: 50px; 
	cursor: pointer;
}



.inline-labels {
	display:none;
}

#cropresult img:hover {
	outline:3px dashed #FF4258;
	cursor:pointer;
}

#cropresult .active{
	outline:3px solid #FF4258 !important;
}

#image_edit_block{
	text-align: center;
	margin-top:4px;
}

#cropresult_block{
	display:none;
}

#cropresult_block > p{
	margin: 10px 0 0;
}

#crop{
	margin-left: 10px;
}

.dz-preview, #crop_image_block{
	/*display:none;*/
}

#photo-dropzone .dz-preview{
	display:block !important;
}

#crop_image_block h3{
	font-family: "Roboto",sans-serif;
    font-size: 21px;
    font-weight: 100;
	margin-top:30px;
}

.green_a{
	color:#64FC69;
}

.green_a:hover{
	text-decoration: underline;
	color:#64FC69;
}

#reg_image_block{
	color:white !important;
}

.js-login-block {
	color:white;
}

.employee_summ_val{
	width: 37%;
	float:right;
}

@media all and (max-width: 1000px){
	.employee_summ_val{

		width: 18%;
	}
}

.top_company--control_btn{
	display:none;
}

textarea::-webkit-input-placeholder {font-style:italic; font-size:18px}
textarea::-moz-placeholder          {font-style:italic; font-size:18px}/* Firefox 19+ */
textarea:-moz-placeholder           {font-style:italic; font-size:18px}/* Firefox 18- */
textarea:-ms-input-placeholder      {font-style:italic; font-size:18px}

.project_progress_edit--date .date_before_stage {
margin-bottom: 10px;
}

#filter_payments_page .data_table--cell-client{
	width: 21%;
}

.errors_block {
	display: none;
}

.link_not_decor {
	background-color: none;
	color: white;
	text-decoration: underline;
}

.lk_info_message {
	font-size: 18px;
}

.company_subitems_list td{
	padding: 0px 20px 10px 0;
	font-size: 16px;
}

.company_subitems_list td a {
	color: #ff4258;
}

.company_subitems_list td a:hover {
	text-decoration: underline;
}

.company_subitems_list {
	margin-bottom: 20px;
}

.company_subitems_list .edit_company_item {
	margin: 0 5px 0 35px;
}

input[type="checkbox"] {
	margin-top: 7%;
}


.company_subitems_list .edit_company_item .icon-edit {
  margin-top: 4px;
}

#id_head_position {
	margin-top: 12px;
}

.fiz_field_div {
	display: none;
}

.italic_18 {
	font-size: 18px;
    font-style: italic;
	color: #777;
}

.cb_delete {
	display: none;
}

.icon-delete-company {
	position: absolute;
    right: 0;
    top: 5px;
}

.note {
	font-style: italic;
	color: #999;
}

.round_pic {
	border-radius: 17px;
    overflow: hidden;
}

.bills_block {
	display: flex;
	flex-wrap: wrap;
}

.bill_block {
	border: 1px dashed grey; 
	padding: 15px 20px 5px;
	position: relative;
	width: calc(42% - 20px);
	background-color: #FDFDFD;
	margin-bottom: 40px;
 max-width: 490px;
}

.bill_block .icon-delete {
	position: absolute;
	right: 20px;
    top: 15px;
}

.bill_block:nth-child(2n) {
	margin-left: 40px;
}

.icon-delete:hover {
	cursor: pointer;
}

.bill_block .icon-delete {
	z-index: 9;
}

@media print,
(max-width: 1600px){
	.bill_block {
		width: 100%;
       max-width: 490px;
	}
	
	.bill_block:nth-child(2n) {
		margin-left: 0px;
	}
}

.full_width {
	width: 100% !important;
	max-width: 100% !important;
}


.comment_meta {
	display: none;
}


.btn_chat {
	height: 30px;
  line-height: 30px;
  margin-top: 4px;
}






.user_group_fields {
  /*outline: 1px dashed #5c5b68;*/
  padding: 17px 0px 0px 15px;
  margin: -15px;
  width: max-content;
  min-width: 600px;
}

.buttons_block {
	text-align: center;
	font-size: 16px;
	margin-bottom: 5px;
}

.buttons_block button{
	font-size: 14px;
  height: 40px;
  margin: 5px 5px 0 5px
}

.pale {
	opacity: 0.3;
}

.a_set_perms {
	height: 24px;
	  display: inline-block;
	  width: 24px;
	 padding-left: 6px;
}

.a_set_perms .icon-edit{
	top: 1px;
}

.a_set_perms:hover{
	cursor: pointer;
}

.position_permissions  {
	display: none;
}

#set_permissions .b-popup_form {
	max-width: 400px;
	margin-left: -285px;
}


@media all and (max-width: 1000px){
	#set_permissions .b-popup_form {
		margin-left: 0;
	}
}



.sort_amount_0 .data_table--sort:before,
.sort_status_0 .data_table--sort:before,
.sort_payed_0 .data_table--sort:before,
.sort_project_profit_0 .data_table--sort:before,
.sort_project_client_0 .data_table--sort:before,
.sort_project_deadline_0 .data_table--sort:before,
.sort_invoice_company_0 .data_table--sort:before,
.sort_invoice_number_0 .data_table--sort:before,
.sort_invoice_date_0 .data_table--sort:before,
.sort_invoice_amount_0 .data_table--sort:before,
.sort_invoice_recipient_0 .data_table--sort:before,
.sort_invoice_sender_0 .data_table--sort:before,
.sort_invoice_payed_0 .data_table--sort:before,
.sort_file_size_0 .data_table--sort:before,
.sort_file_project_0 .data_table--sort:before,
.sort_file_stage_0 .data_table--sort:before,
.sort_file_pay_0 .data_table--sort:before {
	transform: scaleY(-1);
}

.sort_amount_off .data_table--sort:before,
.sort_status_off .data_table--sort:before,
.sort_payed_off .data_table--sort:before,
.sort_project_profit_off .data_table--sort:before,
.sort_project_client_off .data_table--sort:before,
.sort_project_deadline_off .data_table--sort:before,
.sort_invoice_company_off .data_table--sort:before,
.sort_invoice_number_off .data_table--sort:before,
.sort_invoice_date_off .data_table--sort:before,
.sort_invoice_amount_off .data_table--sort:before,
.sort_invoice_recipient_off .data_table--sort:before,
.sort_invoice_sender_off .data_table--sort:before,
.sort_invoice_payed_off .data_table--sort:before,
.sort_file_size_off .data_table--sort:before,
.sort_file_project_off .data_table--sort:before,
.sort_file_stage_off .data_table--sort:before,
.sort_file_pay_off .data_table--sort:before {
	background: none;
}

.pay_view_mode_val {
	display: block;
	  padding-top: 5px;
	  font-size: 16px;
}

.pay_not_getted {
	font-size: 16px; 
	padding-top: 8px;
}

.comments_loader {
	text-align: center;
	padding: 0px;
	display: none;
	width: 100%;
	position: absolute;
	top: 70px;
}

.comments_loader img {
	max-width: 70px;
}
#pay_invoice_spoiler .b-input_date::before {
	top: 12px;
}

#pay_invoice_spoiler .btn {
	height: 45px;
  line-height: 46px;
}

.files_item_link:hover {
	color: red;
}


.data_table--invoices .data_table--cell {
	width: 10%;
}

.data_table--invoices .data_table--cell.data_table--cell-f_title {
	width: 40%;
}

.data_table--invoices .data_table--cell .control_section_link {
	margin: 0 auto;
	display: block;
	float: none;
}

/* В таблице /files/ разрешаем перенос даже для имени без пробелов. */
.data_table--files .data_table--row-subrow .payment_title_cell,
.data_table--files .data_table--row-subrow .payment_title_cell a {
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}

#pay_invoice_main_link_pdf,
#invoice_link_without_stamp_pdf {
	font-weight: bold;
  margin-left: 10px;
  text-transform: uppercase;
}


.top_finance--block-logout {
	width: 63px;
}

#logout_link {
	width: 100%;
	height: 100%;
	display: block;
	background-image: url('../images/exit.webp');
	background-repeat:  no-repeat;
	background-size: 52%;
	background-position: center;
}


.opened_side_list #logout_link {
	background-size: 40%;
}

#logout_link:hover {
	cursor: pointer;
	background-color: #EEE;
}

.b-top_finance {
  width: 361px;
}