/* START Contacts Edit */
.easy-autocomplete-container {
	display: block !important;
	min-width: 320px;
}
.easy-autocomplete {
	display: inline !important;
}

.easy-autocomplete input {
	min-width: 200px;
	display: inline-block !important;
}
.easy-autocomplete-container ul {
	white-space: nowrap;
	overflow: hidden;
}


/* END Contacts Edit */

#warning_number,
#warning_text {
    margin: 0px;
    margin-top: -10px;
    margin-bottom: 10px;
    line-height: 15px;
}

.daterangepicker .daterangepicker_input {
	display: none;

}
.daterangepicker .ranges {
    position: relative;
    float: none !important;
    clear: both;
    left: 365px;
}
.daterangepicker .calendar-table {
    position: relative;
}

/* START: Add button on input fields */
/* 1. Quick add field and button on contact's edit form */
.quick-add-field {
	min-height: 36px;
}

.quick-add-field .quick-add-button {
	position: absolute;
	right: 16px;
	top: 0;
	z-index: 1;
}

.quick-edit-button {
	position: absolute;
	right: 48px;
	top: 0;
	z-index: 1;
}

.quick-edit-button  {
	height: 36px;
	width: 32px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	color: #9baaba;
	text-align: center;
	background-color: #dce4ec;
	border: 1px solid #dce4ec;
	border-radius: 0px;
	border-right: 1px solid #9baaba;
}

.quick-add-button .btn  {
	height: 36px;
	width: 32px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	color: #9baaba;
	text-align: center;
	background-color: #dce4ec;
	border: 1px solid #dce4ec;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.set_item_range,
.quick-add-supplier {
    position: relative;
    z-index: 1;
    margin-top: -32px;
    float: right;
    width: 26px;
    height: 32px;
    font-size: 13px;
    font-weight: normal;
    line-height: 1;
    color: #9baaba;
    text-align: center;
    background-color: #dce4ec;
    border: 1px solid #dce4ec;
    border-radius: 4px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.item_range {
 position: relative;
    float: right;
    text-align: right;
    width: 99px;
    /* padding-left: 0px !important; */
    padding: 0px !important;
    padding-top: 7px !important;
    padding-bottom: 6px !important;
    border: 0px;
    border-radius: 0px;
    font-size: 12px;
    text-align: right;
    z-index: 1;
    margin-right: 30px;
    margin-top: -31px;
    background: #fff;
}
.item_range.gen-notclickable {
 position: relative;
    float: right;
    text-align: right;
    width: 99px;
    /* padding-left: 0px !important; */
    padding: 0px !important;
    padding-top: 7px !important;
    padding-bottom: 6px !important;
    border: 0px;
    border-radius: 0px;
    font-size: 12px;
    text-align: right;
    z-index: 1;
    margin-right: 5px;
    margin-top: -31px;
    background: #fff;
}
.quick-add-dropdown .add-plus {
	position: relative;
	z-index: 1;
	margin-top: -35px;
	float: right;
	width: 36px;
	height: 36px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	color: #9baaba;
	text-align: center;
	background-color: #dce4ec;
	border: 1px solid #dce4ec;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.quick-add-dropdown .btn-dropdown {
	width: calc(100% - 30px) !important;

}

.city-dropdown .add-plus {
	position: relative;
	z-index: 1;
	margin-top: -35px;
	float: right;
	width: 104px;
	height: 36px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	color: #9baaba;
	text-align: center;
	font-weight: bold;
	background-color: #dce4ec;
	border: 1px solid #dce4ec;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
.city-dropdown .btn-dropdown {
	width: calc(100% - 104px) !important;

}

/* 2. Quick add field and button on crewlist */
.crewlist-quick-add-field {
	position: relative;
	min-height: 28px;
}

.crewlist-quick-add-field .crewlist-quick-add-button {
	position: absolute;
	left: 165px;
	top: 0;
	z-index: 1;
}

.crewlist-quick-add-button .btn {
	height: 28px !important;
	width: 28px;
	font-size: 13px;
	font-weight: normal;
	line-height: 1;
	color: #9baaba;
	text-align: center;
	background-color: #dce4ec;
	border: 1px solid #dce4ec;
	border-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.crewlist-quick-add-field input {
	height: 28px !important;
	width: 190px !important;
}


/* END: Add button on input fields */

/* RELEASE */


#bookmarkthis {
	display: none !important;
}
.odd, .even {
	cursor: pointer;
}
.rep-card {
	clear: both;
	margin-top: 15px;
}
.company-card,
.rep-card  {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 15px;
}
.company-card table,
.rep-card table {
	width: 100%;
}
.company-card td,
.rep-card td {
	padding: 5px;
	border-top: 1px solid #ddd;
	padding-right: 15px;
	font-size: 0.9em;

}
.company-card td:first-child,
.rep-card td:first-child {
	width: 100px;
}
.company-card b,
.rep-card b {
	font-weight: 400;
	font-size: 18px;
}

/* ADDL BUTTONS */

.btn-addl-info {
	color: #fff;
	background-color: #ccc;
	border-color: #bbb;
}

.btn-primary {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
}
.btn-primary:focus,
.btn-primary.focus {
	color: #fff;
	background-color: #286090;
	border-color: #122b40;
}
.btn-primary:hover {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	color: #fff;
	background-color: #286090;
	border-color: #204d74;
}
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
	color: #fff;
	background-color: #204d74;
	border-color: #122b40;
}
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary {
	background-image: none;
}
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
	background-color: #337ab7;
	border-color: #2e6da4;
}
.btn-primary .badge {
	color: #337ab7;
	background-color: #fff;
}
.btn-success {
	color: #fff;
	background-color: #5cb85c;
	border-color: #4cae4c;
}
.btn-success:focus,
.btn-success.focus {
	color: #fff;
	background-color: #449d44;
	border-color: #255625;
}
.btn-success:hover {
	color: #fff;
	background-color: #449d44;
	border-color: #398439;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
	color: #fff;
	background-color: #449d44;
	border-color: #398439;
}
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
	color: #fff;
	background-color: #398439;
	border-color: #255625;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
	background-image: none;
}
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus {
	background-color: #5cb85c;
	border-color: #4cae4c;
}
.btn-success .badge {
	color: #5cb85c;
	background-color: #fff;
}
.btn-info {
	color: #fff;
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-info:focus,
.btn-info.focus {
	color: #fff;
	background-color: #31b0d5;
	border-color: #1b6d85;
}
.btn-info:hover {
	color: #fff;
	background-color: #31b0d5;
	border-color: #269abc;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
	color: #fff;
	background-color: #31b0d5;
	border-color: #269abc;
}
.btn-info:active:hover,
.btn-info.active:hover,
.open > .dropdown-toggle.btn-info:hover,
.btn-info:active:focus,
.btn-info.active:focus,
.open > .dropdown-toggle.btn-info:focus,
.btn-info:active.focus,
.btn-info.active.focus,
.open > .dropdown-toggle.btn-info.focus {
	color: #fff;
	background-color: #269abc;
	border-color: #1b6d85;
}
.btn-info:active,
.btn-info.active,
.open > .dropdown-toggle.btn-info {
	background-image: none;
}
.btn-info.disabled:hover,
.btn-info[disabled]:hover,
fieldset[disabled] .btn-info:hover,
.btn-info.disabled:focus,
.btn-info[disabled]:focus,
fieldset[disabled] .btn-info:focus,
.btn-info.disabled.focus,
.btn-info[disabled].focus,
fieldset[disabled] .btn-info.focus {
	background-color: #5bc0de;
	border-color: #46b8da;
}
.btn-info .badge {
	color: #5bc0de;
	background-color: #fff;
}
.btn-warning {
	color: #fff;
	background-color: #f0ad4e;
	border-color: #eea236;
}
.btn-warning:focus,
.btn-warning.focus {
	color: #fff;
	background-color: #ec971f;
	border-color: #985f0d;
}
.btn-warning:hover {
	color: #fff;
	background-color: #ec971f;
	border-color: #d58512;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
	color: #fff;
	background-color: #ec971f;
	border-color: #d58512;
}
.btn-warning:active:hover,
.btn-warning.active:hover,
.open > .dropdown-toggle.btn-warning:hover,
.btn-warning:active:focus,
.btn-warning.active:focus,
.open > .dropdown-toggle.btn-warning:focus,
.btn-warning:active.focus,
.btn-warning.active.focus,
.open > .dropdown-toggle.btn-warning.focus {
	color: #fff;
	background-color: #d58512;
	border-color: #985f0d;
}
.btn-warning:active,
.btn-warning.active,
.open > .dropdown-toggle.btn-warning {
	background-image: none;
}
.btn-warning.disabled:hover,
.btn-warning[disabled]:hover,
fieldset[disabled] .btn-warning:hover,
.btn-warning.disabled:focus,
.btn-warning[disabled]:focus,
fieldset[disabled] .btn-warning:focus,
.btn-warning.disabled.focus,
.btn-warning[disabled].focus,
fieldset[disabled] .btn-warning.focus {
	background-color: #f0ad4e;
	border-color: #eea236;
}
.btn-warning .badge {
	color: #f0ad4e;
	background-color: #fff;
}
.btn-danger {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
}
.btn-danger:focus,
.btn-danger.focus {
	color: #fff;
	background-color: #c9302c;
	border-color: #761c19;
}
.btn-danger:hover {
	color: #fff;
	background-color: #c9302c;
	border-color: #ac2925;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
	color: #fff;
	background-color: #c9302c;
	border-color: #ac2925;
}
.btn-danger:active:hover,
.btn-danger.active:hover,
.open > .dropdown-toggle.btn-danger:hover,
.btn-danger:active:focus,
.btn-danger.active:focus,
.open > .dropdown-toggle.btn-danger:focus,
.btn-danger:active.focus,
.btn-danger.active.focus,
.open > .dropdown-toggle.btn-danger.focus {
	color: #fff;
	background-color: #ac2925;
	border-color: #761c19;
}
.btn-danger:active,
.btn-danger.active,
.open > .dropdown-toggle.btn-danger {
	background-image: none;
}
.btn-danger.disabled:hover,
.btn-danger[disabled]:hover,
fieldset[disabled] .btn-danger:hover,
.btn-danger.disabled:focus,
.btn-danger[disabled]:focus,
fieldset[disabled] .btn-danger:focus,
.btn-danger.disabled.focus,
.btn-danger[disabled].focus,
fieldset[disabled] .btn-danger.focus {
	background-color: #d9534f;
	border-color: #d43f3a;
}
.btn-danger .badge {
	color: #d9534f;
	background-color: #fff;
}
#commands .btn.topgroup-info {
	margin-left: -2px !important;
	border-radius: 0px 3px 3px 0px;
	border-left: 1px solid #46b8da;
	border-left: 1px solid #46b8da;
}

/* SORTABLE TABLE */

.fin-sortable .dragged {
	z-index: 2000;
	position: absolute;
	opacity: 0.6;	
	display: table;
	background: #ffffff;
}
.fin-sortable .placeholder,
.fin-sortable .placeholder td {
	height: 40px !important;
}
.fin-sortable .placeholder td {
	background: #f2fbff;
}

.fin-sortable,
.fin-files {
    width: calc(100% + 15px);
    min-width: 1210px;
}
.fin-sortable td {
	padding: 2px;
}
.fin-files td {
	padding: 4px;	
}
.fin-files tbody td {
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	cursor: pointer;
	font-size: 12.75px;
}

.fin-sortable thead td,
.fin-files thead td {
	font-size: 12.75px;
	color: #75879b;
}
.fin-sortable tfoot,
.fin-files tfoot  {
	border-top: 2px solid #ddd;
}
.fin-sortable tbody td input {
    padding: 3px;
    padding-top: 5px;
    padding-bottom: 5px;
    height: auto;
}
td.fin-sort {
	width: 20px;
	font-weight: bold;
	cursor: pointer;
	font-size: 0.9em;
}
td.fin-code {
	width: 80px;
	cursor: pointer;
	font-size: 0.9em;
}
td.fin-codepo {
	width: 100px;
	cursor: pointer;
	font-size: 0.9em;
}
.fin-cost {
	width: 80px;
}
.fin-type {
	width: 95px;
}
.fin-dtype {
	width: 120px;
}
.fin-ddate {
	width: 100px;
}
.fin-date {
	width: 180px;
}
.fin-unit {
	width: 85px;
}
.fin-amount {
	width: 100px;
	text-align: right;
}
.fin-qty {
	width: 40px;
	text-align: right;
}
.fin-amt {
	width: 60px;
	text-align: right;
}
.fin-button {
	width: 30px;
	text-align: right;
}
.fin-supplier {
	width: 200px;
}
td.fin-qty input {
	text-align: right;
}
td.fin-amt input {
	text-align: right;
}
td.fin-amount input {
	text-align: right;
}
td.fin-budget {
	width: 114px;
}
td.fin-budget .td-span {
	display: inline-block;
	width: 110px;
}
.fin-yesno {
	width: 60px;
	text-align: center;
}
.fin-rebate {
	width: 60px;
	text-align: center;
}
td.fin-tax {
	width: 80px;
}
