
.row .row {
	margin-right:0;
}

@media screen and (max-width: 1000px) {
	#main_content {
		margin-left:0;
		width:100%;
	}
}
.input_dyn_search_result{
	position: absolute;
	height: auto;
	z-index: 4000;
	background: #e4e4e4;
	padding: 0;
	opacity: 0.8;
	width:50%;
	font-size:14px;
}
.input_dyn_search_result div{
	padding: 5px 0 5px 10px;
	border-bottom: 1px solid silver;
	font-weight:bold;
	cursor:pointer;
}
.input_dyn_search_result div:hover{
	background: #e6eaff;
}


/*------------*/
.auth_body{
    background-image: url(../images/bg_fhd.jpg); /* Добавляем фон */
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
/*---ICONS---*/
.fa-check-square-o{
	color: #00bb00;
}
.fa-pencil-square-o{
	color:#31b0d5;
	margin-top:2px;
}
.fa-trash-o{
	color:red;
	float: right;
	margin-top:-2px;
}
.fa-file-pdf-o{
	color:red;
}
.fa-times{
	counter-reset: red;
}
/*TABLES*/
.table{
	border-spacing: 0;
	border-collapse: collapse;
}
.table > thead > tr > th{border-right: 1px solid #ddd;text-align: center;border-top: none;border-bottom: 2px solid #999;}
.table > thead > tr > th:first-child{width:40px;}
.table > thead > tr > th:last-child{width:40px;border-right: none;}

.table > tbody > tr > td{border-right: 1px solid #ddd;border-bottom: 1px solid #ddd;text-align: center;border-top: none;vertical-align: middle;}
.table > tbody > tr > td:first-child{width:40px;}
.table > tbody > tr > td:last-child{border-right: none;}
.table > tbody > tr > td:hover{color:black;}

/*.table > tbody > tr:hover td{background-color: #ececec;border-bottom: 1px solid #999;}*/
.table > tbody > tr:hover td.actions{background-color: white;}
.table > tbody > tr:hover td:first-of-type{background-color: white;}
.table > tbody > tr:not(.nohover):hover td{background-color: #ececec;border-bottom: 1px solid #999;}

.table > tfoot{
	display: none;
}
.table > tbody:empty + tfoot{
	display: table-footer-group;
}
.table > tfoot > tr > td{
	text-align: center;
	border-bottom: 1px dashed #ddd;
	border-left: 1px dashed #ddd;
	border-right: 1px dashed #ddd;
}
.table > tbody > tr > td.actions{
	border-right: none;
	width: 40px;
	padding: 4px 0 0 0;
}
/*header buttons*/
.header_btn{
	float: right;
	cursor: pointer;
	position: absolute;
	/*right:25px;*/
	top: 10px;
/*	border: 1px solid #d1d1d1;*/
/*	box-shadow:0 0 3px rgba(104, 104, 104, 0.5);*/
	/*padding: 3px 8px;*/
/*	border-radius: 5px;*/
}
/*
.header_btn:hover{
	border: 1px solid #14d200cc;
	box-shadow: 0 0 2px rgb(0, 255, 0);
}*/
.header_btn .input-group-addon{
	border: 1px solid #ddd;
	border-radius: 5px;
	margin-right: 10px;
	width: auto;

	/*border-right: none;
	border-left: none;*/
}
.header_btn .input-group-addon:hover{
	border: 1px solid #14d200cc;
	box-shadow: 0 0 2px rgb(0, 255, 0);
}
.header_btn .input-group-addon:last-of-type{
	margin-right: 0;
}
.header_btn .input-group-addon:first-of-type{
}

.ms_row_4{
/*	height:260px;*/
	padding:10px;
}
.ms_box{
/*	height:100%;*/
	border-radius:5px;
	border: 1px solid #d1d1d1;
	box-shadow:0 0 3px rgba(104, 104, 104, 0.5);
	text-align:center;
	padding:10px;
}


.icon_in_box_green{
        position: absolute;
        top: 20px;
        left:20px;
        height: 50px;
        cursor:pointer;
        border-radius: 5px;
	border: 1px solid #14d200cc;
	box-shadow: 0 0 2px rgb(0, 255, 0);
}

.icon_in_box_grey{
	position: absolute;
	top: 20px;
	left:20px;
	height: 50px;
	border-radius: 5px;
	border: 1px solid #d1d1d1;
	box-shadow:0 0 3px rgba(104, 104, 104, 0.5);
}

.icon_in_box_green > img{
	width: 50px;
	height: 50px;
}
.icon_in_box_grey > img{ 
	width: 50px;
	height: 50px;
}

/*tables in popup*/
.popup-table{
	width: 100%;
	max-width: 100%;
	margin-bottom: 20px;
	text-align: center;
}

.popup-table tbody tr td{
	border: 1px solid #ddd;
	text-align:center;
}
.popup-table thead tr th{
	border: 1px solid #ddd;
	padding: 5px 0;
	text-weight:bold;
        text-align:center;
}


.ui-widget-header{
color:black;
}
.cancel{
background-color: #ffdeda;
}
.table-striped > tbody > tr.cancel:nth-of-type(2n+1){
background-color: #ffdeda;
}
.cancel td{
text-decoration: line-through;
}


.header_row{
	width: 100%;
	float: left;
}
/*Product add item*/
.p_box{
	padding-right: 5px;
	padding-left:  5px;
}
.p_item{
	padding:5px;
	border: 1px solid silver;
	border-radius: 4px;
	cursor: pointer;
	height: 48px;
}
.p_item:hover{
	background-color:  #d4d4d4;
}

.cancel td{
	text-decoration: line-through;
}
button.in-table-cell{
	font-size: 10px;
	padding: 2px 4px;
	border: 1px solid silver;
	margin: auto;
	display:block;
}
button.in-table-cell:hover{
	color: black;
	background-color: #fbfbfb;
}


div.status_d_box{
	cursor:pointer;border: 1px solid #9e9e9e; border-radius: 5px;padding: 10px 0;background-color: rgba(158,158,158,0.5);
}
div.status_d_box:hover {
	border: 1px solid deeppink;
}
input.form-control{
	text-align: center;
}

.search_result_list{
	position: absolute;z-index: 11111;width: 100%;margin: 0 45px 0 0;padding: 0 30px 0 0;
}
.search_result_list div{
	cursor: pointer;
	background: wheat;
}
.search_result_list div:hover{
	background: #f7d698;
}

.input_dyn_search_result{
	position: absolute;
	height: auto;
	z-index: 4000;
	background: #e4e4e4;
	padding: 0;
	opacity: 0.8;
	width:90%;
	font-size:14px;
}
.input_dyn_search_result div{
	padding: 5px 0 5px 10px;
	border-bottom: 1px solid silver;
	font-weight:bold;
	cursor:pointer;
}
.input_dyn_search_result div:hover{
	background: #e6eaff;
}
.f_left{
	float: left;
}
.txt_normal{
	font-size: 14px;
	font-weight: normal;
	text-align: left;
}