/***** general *****/

html, body {
	background-color: #f7f7f7;
}

.page-content--bge5 {
	height: auto;
	min-height: 100vh;
}

.hidden {
	display: none;
}

.clear {
	width: 0px;
	height: 0px;
	line-height: 0px;
	font-size: 0px;
	clear: both;
}

.normal {
	font-weight: normal;
}

.number {
/*	font-family: "Roboto", sans-serif;*/
}

/* forms */
label {
	cursor: pointer;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

div.form-check-inline label.form-check-label {
	margin-right: 15px;
}

/* page elements */
.container {
	max-width: 1800px !important;
}

.copyright {
	padding-bottom: 0px;
}


/***** header *****/

img.logo {
	height: 52px;
}
div.page-wrapper {
	overflow: visible;
}
nav.navbar-mobile div.container-fluid {
	padding-left: 0px;
	padding-right: 0px;
}
.account-dropdown .info {
	padding-bottom: 15px;
}
.account-dropdown .info .content {
	margin-left: 0px;
	padding: 0px;
}

div.account-dropdown {
	cursor: default;
}

.account-dropdown__item a i {
	margin-top: -2px;
}

@media (min-width: 992px) {
    .header-desktop3 .section__content {
        padding: 0 15px;
    }
}

@media (max-width: 1315px) and (min-width: 992px) {
    .header__tool .account-item > .content {
        display: block;
    }
}


/***** login *****/

.login-wrap {
	padding-bottom: 15px;
}

@media (max-width: 640px) {
	.login-wrap {
		padding-top: 15px;
	}
}
.login-logo {
	width: 50%;
	margin: 0px auto 25px auto;
}
@media (max-width: 480px) {
	.login-logo {
		width: 100%;
	}
}	


/***** overview *****/

/* button row */
div.buttons {
	margin-bottom: 15px;
}
div.buttons button {
	margin-right: 10px;
	margin-bottom: 15px;
}
button.btn-light {
	background-color: #ffffff;
}

/* filters */
button#filter {
	border: 1px solid #ffffff;
	margin-right: 10px;
	margin-bottom: 15px;
	display: inline-block;
	font-weight: 400;
	text-align: center;
	white-space: nowrap;
	vertical-align: middle;
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	line-height: 1.5;
}
button#filter.active {
	border: 1px solid #ced4da;
}
button#filter i {
	font-size: 14px;
}

div#filters div.rs-select2--light {
	margin-bottom: 10px;
}
div#filters div.rs-select2--sm {
	width: 140px;
}
div#filters div.rs-select2--smm {
	width: 200px;
}
div#filters div.rs-select2--md {
	width: 455px;
}
div#filters div.search input[type=text] {
	display: inline-block;
	width: 413px;
	border-top-right-radius: 0px;
	border-bottom-right-radius: 0px;
}
@media (max-width: 800px) {
	div#filters div.rs-select2--sm, div#filters div.rs-select2--smm, div#filters div.rs-select2--md {
		width: 100%;
	}
	div#filters div.search input[type=text] {
		width: calc(100% - 42px);
	}
}

div.table-data__tool-left button:focus {
	box-shadow: none;
}
button#reset {
	margin-top: -2px;
}
button#search {
	border: 1px solid #a7acb1;
	background-color: #a7acb1;
	margin-top: -2px;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}
button#search:hover {
	border: 1px solid #6c757d;
	background-color: #6c757d;
}

/* drop down buttons */
div.dropdown-menu button {
	font-weight: 300;
	font-size: 14px;
}
div.dropdown-menu button span {
	width: 15px;
}
div.dropdown-menu button span.zmdi {
	font-size: 16px;
}

/* paging */
div.paging {
	margin-top: 0px;
	margin-bottom: 10px;
}
div.paging button {
	min-width: 38px;
	margin-bottom: 5px;
}
button:disabled, button.disabled {
	cursor: default;
}
div.paging button.btn-outline-secondary {
	border: 1px solid #ffffff;
	background-color: #ffffff;
}
div.paging button.btn-outline-secondary:hover {
	border: 1px solid #6c757d;
	background-color: #6c757d;
}
div.paging button.btn-outline-secondary:focus {
	box-shadow: none;
}
div.paging button.btn-secondary, div.paging button.btn-secondary:disabled:hover {
	border: 1px solid #a7acb1;
	background-color: #a7acb1;
}
div.paging button.btn-secondary:hover {
	border: 1px solid #6c757d;
	background-color: #6c757d;
}
div.paging button.btn-secondary:focus {
	box-shadow: none;
}

/* report summary */
div#summary {
	display: table;
	width: 100%;
	padding: 10px;
	border: 1px solid #dee2e6;
	cursor: pointer;
	position: relative;
}
div#summary p {
	display: table-cell;
}
div#summary p:last-child {
	width: 110px;
}
span#summary-arrow {
	position: absolute;
	right: 10px;
	bottom: 10px;
}
@media (max-width: 800px) {
	div#summary p {
		display: block;
	}
}

/* tables */
.table td, .table th {
	border-bottom: 1px solid #dee2e6;
	border-top: 0px;
	padding: 10px;
}
tr.empty {
	display: none;
}

div.table-responsive {
	margin-bottom: 15px;
}

/* data table */
.table-data2.table thead th.r, .table-data2.table tbody td.r, .table-data2.table tfoot td.r {
	text-align: right;
	width: 100px;
}
.table-data2.table thead th a {
	color: #555;
}
.table-data2.table tfoot td.r {
	font-weight: 600;
}
.table-data2.table tfoot th, .table-data2.table tfoot td {
    font-size: 14px;
    color: #555;
    text-transform: uppercase;
    border: none;
    font-weight: 600;
    border-top: 1px solid #000;
}
.table-data2.table tfoot th, .table-data2.table tfoot td:first-child {
	font-size: 12px;
}
.table-data2.table thead th, .table-data2.table tfoot td, .table-data2.table tfoot th {
	white-space: nowrap;
	padding: 15px 10px;
	min-width: 35px;
}
.table-data2.table thead th.wrap, .table-data2.table tfoot td.wrap, .table-data2.table tfoot th.wrap {
	white-space: normal;
}
.table-data2.table tbody td {
	white-space: nowrap;
	padding: 5px 10px !important;
	min-width: 35px;
	cursor: default;
}
.table-data2.table tbody td.wrap {
	white-space: normal;
}
.table-data2.table.overview tbody td {
	cursor: pointer;
}
.table-data2.table.overview tbody tr td:first-child {
	cursor: default;
}

.table-data2.table tbody tr td:first-child {
	vertical-align: middle;
}

/* overview data table */
.table-data2.table tbody tr:hover, .table-data2.table.overview tbody tr:hover, .table-data2.table.quantities tbody tr:hover {
	background-color: #fafafa;
}
.table-data2.table.overview tbody tr td:first-child {
	width: 70px;
}
.table-data2.table.overview tbody tr td:last-child {
	width: 130px;
}
.table-data2.table.overview tbody tr td:first-child .au-checkbox {
	margin-top: 5px;
}

.table-data2.table.overview {
	border-collapse: collapse;
}
.table-data2.table.overview tbody tr.active td:first-child {
	background: url(../images/icon/active.svg) left center no-repeat;
	background-size: 16px 16px;
}

.table-data2.table tbody tr td.variety {
	min-width: 150px !important;
	white-space: normal;
}

.table-data2.table tbody tr td.textarea {
	padding-right: 5px !important;
	width: 300px !important;
	min-width: 300px !important;
	white-space: normal;
}
.table-data2.table tbody tr td.textarea textarea {
	width: 300px !important;
}

.textarea textarea {
	min-height: 52px;
}



/* details table */
div#details {
	display: none;
}
table.details {
	margin-bottom: 25px;
}
table.details td {
	font-size: 14px;
}
table.details td:first-child {
	width: 140px;
	font-weight: 600;
	padding-left: 10px;
	white-space: nowrap;
}
table.details td.wrap:first-child {
	white-space: normal;
}
div.card-body table.details {
	margin-bottom: 0px;
}
div.card-body table.details td:first-child {
	padding-left: 0px;
}

table.details input.form-control.number, table.table-data2 input.form-control.number {
	width: 100px;
	text-align: right;
}
table.details td.textarea {
	padding-right: 0px;
}


div.details {
	margin: 0px;
	padding: 0px;
}

div.details div.detail {
	font-size: 14px;
	border-bottom: 1px solid #dee2e6;
}

div.details div.detail > div {
	float: left;
    border-top: 0px;
    padding: 10px;
}
div.details div.detail::after {
	content: " ";
	clear: both;
	width: 0px;
	height: 0px;
	overflow: hidden;
	display: table;
}

div.details div.detail > div:first-child {
	width: 140px;
	font-weight: 600;
	padding-left: 0px;
	white-space: nowrap;
}
div.details div.detail > div.wrap:first-child {
	white-space: normal;
}
div.details div.detail > div:last-child {
	width: calc(100% - 140px);
	padding-right: 0px;
}

@media (max-width: 480px) {
	div.details div.detail > div {
		float: none;
		width: 100% !important;
		padding: 0px;
	}
	div.details div.detail > div:first-child {
		padding-top: 10px;
		padding-bottom: 3px;
	}
	div.details div.detail > div:last-child {
		padding-bottom: 10px;
	}
}


/* account table */

table.account td {
	padding: 10px 0px !important;
	vertical-align: middle;
	height: 52px;
}
table.account td:first-child {
	width: 250px;
	white-space: normal;
}

@media (max-width: 640px) {
	table.account td {
		display: block;
		width: 100% !important;
		padding: 10px 0px 0px 0px !important;
		height: auto;
	}
	table.account td:first-child {
		border-bottom: none;
	}
	table.account td:last-child {
		padding-bottom: 10px !important;
	}
}

.btn-orange{color:#fff;background-color:#ff9900;border-color:#ff9900}
.btn-orange:hover{color:#fff;background-color:#ff7700;border-color:#ff7700}
.btn-orange.focus,.btn-orange:focus{box-shadow:0 0 0 .2rem rgba(255,153,0,.5)}
.btn-orange.disabled,.btn-orange:disabled{color:#fff;background-color:#ff9900;border-color:#ff9900}
.btn-orange:not(:disabled):not(.disabled).active,.btn-orange:not(:disabled):not(.disabled):active,.show>.btn-orange.dropdown-toggle{color:#fff;background-color:#ff7700;border-color:#ff7700}
.btn-orange:not(:disabled):not(.disabled).active:focus,.btn-orange:not(:disabled):not(.disabled):active:focus,.show>.btn-orange.dropdown-toggle:focus{box-shadow:0 0 0 .2rem rgba(255,153,0,.5)}

/* status */
.status {
    display: inline-block;
    line-height: 30px;
    font-size: 14px;
    color: #fff;
    padding: 0 15px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
/*    text-transform: capitalize;*/
    text-align: center;
    min-width: 158px;
}
.status.new, .status.actionrequired, .status.unknown {
	background-color: #007bff;
}
.status.pending, .status.inprogress {
	background-color: #00b5e9;
}
.status.complete, .status.completed, .status.confirmed {
	background-color: #ff9900;
}
.status.approved, .status.active, .status.yes {
	background-color: #57b846;
}
.status.archived {
	background-color: #cccccc;
}
.status.terminated, .status.no {
	background-color: #dc3545;
}
