@font-face {
  font-family: Avenir Next;
  src: url('fonts/Avenir Next.ttc');
}

table {
	--bg-color-even: rgba(0,0,0,.05);
	--bg-color-odd: rgba(205,217,230,0.3);
	--active-bg-color-even: rgba(205,217,230,1);
	--active-bg-color-odd: rgba(179,197,229,1);
	--inactive-bg-color-even: rgba(239,229,229,1);
	--inactive-bg-color-odd: rgba(241, 214, 214, 1);
}

/* General */

.pointer {
	cursor:pointer;
}

/*a.disabled {
  pointer-events: none;
  cursor: default;
}*/

html {
	height: 100%;
}

body {
	height: 100%;
	font-size: 12px;
	color: #000000;
	font-family: Avenir Next, Helvetica, Arial, sens-serifs;
	background-color: #eef0f2;
}

.container-fluid {
	padding-right: 0;
	padding-left: 0;
}

/* Main Nav Bar*/

#navbar {
	background-color: #17274F;
	padding-left: 1em;
  	padding-right: 1em;
}

.toplogo {
	max-width: 200px;
	max-height: 50px;
}

#logoff a {
	color: white;
	font-size: 22px;
}

#main {
	height: 100%;
}

#main > div {
	height: 100%;
	margin-right: 0;
}

#main > div > ul {
	height: 100%;
}

.message {
	width: 100%;
}

/* Left side menu */
#lsidemenu {
	background-color: #17274F;
	color: white;
	min-height: 100%;
	padding-top: 20px;
}

#lsidemenu a {
	color: white;
	font-size: 14px;
}
#lsidemenu a:hover {
	color: #EA5927;
}
.unbullet li {
	list-style-type: none
}

/* Body */
#rsidecontent {
	padding-top: 20px;
}

/* Buttons */
#form_save {
	background-color: #2B4077 !important;
	border-color: #2B4077
}

.actionbtn {
	border: 0;
}

/* Filter */

#filternav {
	background-color: #f8f8f8;
	border: 1px solid transparent;
	border-radius: 4px;
    border-color: #e7e7e7;
	/*padding-top: 15px;*/
	/*padding-bottom: 15px;*/
	padding-left: 15px;
	padding-right: 15px;
	margin-bottom: 15px;
}

.filterform {
	width: 60%;
}

.form-control {
	font-size: 12px;
}

/* List Table */

.table {
	font-size: 12px;
	color: #000000;
	font-family: Helvetica, Arial, sens-serifs;
	background-color: transparent;
}

.table td {
	vertical-align: middle;
}

.btn {
	font-size: 12px;
}

.action {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	vertical-align: middle !important;
}

td .status {
	padding-top: 0;
    padding-bottom: 0;
}

/*.table-striped>tbody>tr.active:nth-child(odd)>td {
   background-color: var(--active-bg-color-odd);
 }

.table-striped>tbody>tr.active:nth-child(even)>td {
	background-color: var(--active-bg-color-even);
}*/

.sent {
	background-color: #dbf1d6;
}
.table-striped>tbody>.sent:nth-of-type(odd) {
    background-color: #e5efe7;
}
.overdue {
	background-color: #f1d6d6;
}
.table-striped>tbody>.overdue:nth-of-type(odd) {
    background-color: #efe5e5;
}

.table-striped>tbody>tr.inactive:nth-child(odd)>td {
   background-color: var(--inactive-bg-color-odd);
}
.table-striped>tbody>tr.inactive:nth-child(even)>td {
	background-color: var(--inactive-bg-color-even);
}

.deleted {
	background-color: #f1d6d6;
}
.table-striped>tbody>.deleted:nth-of-type(odd) {
    background-color: #efe5e5;
}
.paid {
	background-color: #b3c5e5;
}
.table-striped>tbody>.paid:nth-of-type(odd) {
    background-color: #d0d7e2;
}
.invoiced {
	background-color: #ece0ce;
}
.table-striped>tbody>.invoiced:nth-of-type(odd) {
    background-color: #efebe5;
}
.pending {
	background-color: #e2b3e5;
}
.table-striped>tbody>.pending:nth-of-type(odd) {
    background-color: #e2d0e2;
}

.tablelistmenu {
    height: 20px !important;
    font-size: 12px;
    min-width: 80px;
    max-width: 100%;
    padding-top: 0px;
    padding-bottom: 0px;
    float: right;
}

/* Image */

.img-thumbnail {
	max-width: 200px;
	max-height: 200px;
}

/* Pager */

.dropdown-menu {
	font-size: 12px;
}

/* Form */

select.form-control:not([size]):not([multiple]) {
    height: calc(2rem);
}

/* Selector */

.selector {
	z-index: 1000;
	border: 1px solid #ced4da;
	border-radius: .25rem;
}

.selector-menu > ul {
	list-style-type:none;
	border: 1px solid rgba(0,0,0,.125);
}

.selector-menu > ul > li {
	cursor:pointer;
	border: 0;
}
.selector-menu > ul > li:hover {
	background-color: #c4c4c4;
}
.selector-block {
	padding: .375rem .75rem;
	border: 1px solid #ced4da;
	border-radius: 5px;
	background-color: whitesmoke;
	width: max-content;
	float: left;
	margin: 5px;
}
.selector-block-remove {
	cursor:pointer;
}

/* Login form */

.login {
	height: 100%;
}

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

/*.loginbg {
	background-image: url('/img/loginbg/img01.jpg');
}*/

.loginform {
	position: relative;
	top: 100px;
	right: 	100px;
}

.loginform .form-control {
	margin-bottom: 10px;
}

.loginlogo {
	margin-bottom: 20px;
}

.loginlogo img {
	max-width: 200px;
}

.loginbtn {
	background-color: #132652;
	border-color: #132652;
}

/* Admin page */
div .admin_box {
	border: 1px solid grey;
	min-height: 300px;
	border-radius: 5px;
	margin-bottom: 2em;
	box-shadow: 0 0 2px 0 rgb(27 34 46 / 12%), 0 2px 4px 0 rgb(27 34 46 / 20%);
	background-color: #ffffff;
	padding: 2em;
}

.noleftmrg {
	padding-left: 0;
}

.app-box{
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-box:hover {
	transform: scale(1.1);
	box-shadow: 0 5px 8px #888;
}

.dropdown-selector{
	position: absolute;
	z-index:2010;
	width: 90%;
}
a.entity-selector-token-close:hover{
	text-decoration: none;
}

.duplicate-card{
	border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 50px;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* * para data-searchable */

.custom-select-container {
    position: relative;
    cursor: pointer;
}

.custom-select-search {
    cursor: pointer;
    padding: 8px;
    width: 100%;
}

.custom-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    z-index: 2010;
}

.custom-select-options .list-group-item {
    cursor: pointer;
    padding: 8px;
}

.custom-select-options .list-group-item.focused {
    background-color: #e9ecef;
}

.selected-option-chip {
    display: flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    margin-right: 4px;
    cursor: pointer;
}

.selected-option-chip .remove-chip {
    margin-left: 4px;
    cursor: pointer;
}

.no-results {
    padding: 8px;
    color: #888;
} 

.invisible-input{
	border: none;
}
.invisible-input:focus {
    outline: none; 
    border: none;
}

.chip {
		display: flex !important;
		justify-content: center;
		align-items: center;
		display: inline-block;
		padding: 0.2rem 0.2rem;
		font-size: 0.65rem;
		font-weight:400;
		line-height: 1.5;
		color:  #545454;
		text-align: center;
		text-decoration: none;
		vertical-align: middle;
		cursor: pointer;
		-webkit-user-select: none;
		-moz-user-select: none;
		user-select: none;
		border: 1px solid #ececec;
		border-radius: 0.375rem;
		background-color: #ececec;
		transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.chip-text{
	color:  #545454;
}

.btn-close.chip-text{
	font-size: 0.65rem;
}

/* Pagination */
.pagination a {
	font-size: 12px;
}

.dropdown-toggle::after {
	border: 0;
	vertical-align: auto;
	margin-left: 0;
}

.application-logo-backround {
	min-width: 15rem;
	min-height: 15rem; 
	display: flex;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}