.jq-selectbox__select-text {
	/*width: 90px;*/
}

.jq-selectbox__dropdown {
	width: unset;
}

.defect-select .jq-selectbox {
	margin: 0.3%;
}

.defect-container-list .bi-container-row, .defect-container-list.bi-container-row {
	font-size: 10px;
	padding: 0;
}

.defect-container-list:last-child .bi-container-row {
	border-bottom: 1px solid #bbb;
}

.defect-container-list:hover .bi-container-row{
	background-color: #f5f5f5;
}

.defect-container-list.bi-container-title {
	border-top: inherit;
	margin-bottom: 0;
	margin-left: 0;
	background-color: #30309a;
	color: #fff;
	border-left: 10px solid #30309a;
}

.defect-container-list.bi-container-row > div {
	display: flex;
	align-items: flex-end;
}

.defect-container-list .bi-container-row-1 {
    width: 3%;
    border-right: 1px solid #bbb;
}

.defect-container-list .bi-container-row-2 {
    width: 10%;
    border-right: 1px solid #bbb;
}

.defect-container-list .bi-container-row-3 {
    width: 8%;
    border-right: 1px solid #bbb;
}

.defect-container-list .bi-container-row-4 {
    width: 15%;
    border-right: 1px solid #bbb;
}

.defect-container-list .bi-container-row-5 {
    width: 6%;
    border-right: 1px solid #bbb;
}

.defect-container-list .bi-container-row > div {
	padding: 2px;
}

.defect-photo {
	text-align: center;
}

.defect-select-submit {
    background-image: url(../image/icon/refresh.png);
    background-repeat: no-repeat;
    background-position: center;
    width: 27px;
    height: 29px;
    background-color: green;
    border: none;
    margin-right: 0.3%;
}

.defect-select-update {
    height: 29px;
    background-color: #d9534f;
    border: none;
}

.defect-select-update:before {
    content: '\2716';
    display: block;
    color: #fff;
}

.defect-edit {
	background-image: url(../image/icon/pencil-black.png);
    background-repeat: no-repeat;
    background-color: orange;
    background-size: 65%;
    background-position: center;
    border: none;
    box-shadow: 1px 3px 4px 0px rgba(121, 121, 121, 0.65);
    width: 23px;
    height: 25px;
}



.defect-print-move {
	background-image: url(../image/icon/print.png);
}

.defect-view-move {
    background-color: #17e942;
	background-image: url(../image/icon/viewdoc.png);
}


.defect-print-delete {
    background-color: #d94446;
	background-image: url(../image/icon/trash-black.png);
}


.defect-group-btn {
	border: 1px solid #ccc;
	border-radius: 0 6px 6px 0;
    margin-left: 18px;
}

.defect-group-btn .btn {
	font-size: 18px;
	padding: 8px 16px;
	background-color: #fff;
	line-height: 15px;
}

.defect-add, .defect-statistic {
	border-right: 1px solid #ccc;
}

.defect-group-btn.btn-group .btn+.btn, .defect-group-btn.btn-group .btn+.defect-group-btn.btn-group, .defect-group-btn.btn-group .defect-group-btn.btn-group+.btn, .defect-group-btn.btn-group .defect-group-btn.btn-group+.defect-group-btn.btn-group, .btn-group-vertical .btn+.btn, .btn-group-vertical .btn+.defect-group-btn.btn-group, .btn-group-vertical .defect-group-btn.btn-group+.btn, .btn-group-vertical .defect-group-btn.btn-group+.defect-group-btn.btn-group {
	margin-left: 0;
}

.defect-group-btn .btn:hover, .defect-group-btn .btn:focus {
	color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
    box-shadow: none;
}

.defect-print:before {
	content: '';
	display: inline-block;
	background-image: url(../image/icon/print.png);
    background-repeat: no-repeat;
    width: 28px;
    height: 28px;
    background-position: center;
}

.defect-color {
	display: inline;
    padding: .2em .6em .2em;
    font-size: 75%;
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    border-radius: .25em;

}

.defect-green {
	background-color: #5cb85c;
	margin-left: 32px;
    margin-right: 15px;
}

.defect-orange {
	background-color: #f0ad4e;
	margin-left: 27px;
}

.defect-red {
	background-color: #d9534f;
	margin-left: 12px;
    margin-right: 15px;
}

.defect-blue {
	background-color: #5bc0de;
	margin-left: 19px;
}

.defect-color-container {
	display: flex;
	font-size: 14px;
	color: #333;
}

.defect-color-item {
	margin-bottom: 5px;
	display: flex;
}

.defect-header {
	display: flex;
	justify-content: space-between;
    align-items: center;
}

.defect-files-desktop .idea-add-file {
	width: unset;
}

.defect-files-desktop .idea-add-file.custom-file label {
	padding: 44px 12px;
}

.defect-files-mobile {
	display: none;
}

.defect-select-btn {
	display: flex;
}

.new-footer {
	width: 100%;
	background-color: #4C4C4C;
	display: flex;
	justify-content: center;
	margin-top: 20px;
	padding: 3px;
	color: #fff;
	font-size: 14px;
	line-height: 16px;
}

.new-footer a {
	color: #fff;
}

.new-footer a:hover {
	color: #fff;
}

.new-footer > div {
	margin-right: 5px;
}

#toTop {
 width:100px;
 border:1px solid #ccc;
 background:#f7f7f7;
 text-align:center;
 padding:5px;
 position:fixed;
 bottom:10px; /* отступ кнопки от нижнего края страницы*/
 right:10px;
 cursor:pointer;
 display:none;
 color:#333;
 font-family:verdana;
 font-size:11px;
}


@media (max-width: 767px) {
	.defect-files-mobile {
		display: block;
	}

	.defect-files-desktop {
		display: none;
	}

	.defect-header {
		flex-direction: column;
	}

	.defect-group-btn {
		margin-left: 0;
	    margin-bottom: 18px;
	}
}

@media (max-width: 992px) {
	.defect-container-list .bi-container-row-1 {
	    width: 100%;
	    border-right: 1px solid #bbb;
	}

	.defect-container-list .bi-container-row-2 {
	    width: 100%;
	    border-right: 1px solid #bbb;
	}

	.defect-container-list .bi-container-row-3 {
	    width: 100%;
	    border-right: 1px solid #bbb;
	}

	.defect-container-list .bi-container-row-4 {
	    width: 100%;
	    border-right: 1px solid #bbb;
	}

	.defect-container-list .bi-container-row-5 {
	    width: 100%;
	    border-right: 1px solid #bbb;
	}
}

@media (max-width: 420px) {
	.defect-group-btn .btn {
	    font-size: 16px;
	    padding: 3px 9px;
	    background-color: #fff;
	    line-height: 11px;
	}

	.defect-color-container {
		flex-direction: column;
	}

	.defect-orange {
		margin-left: 39px;
	}

	.defect-blue {
		margin-left: 31px;
	}
}

@media (max-width: 550px) {
	.new-footer {
		flex-direction: column;
    	align-items: center;
	}
}
