.hidden{
    display: none !important;
}

a.dropdown-item:not([href]), .table a.action-icon:not([href]){
	cursor: pointer;
}

.logo{
	-webkit-transition: all .2s ease-out;
	transition: all .2s ease-out;
}

.info_box > .card{
    height: 100%;
}

.info_box > .card > .list-group{
	position: absolute; left: 0; bottom: 0;
	width: 100%;
}

.info_box a{
    cursor: pointer;
}

.files_img img{
	width: 100px;
	height: 100px;
	display: block;
	object-fit: cover;
}

.account-pages .card-header{
    background: #313a46;
}

.pointer{
    cursor: pointer;
}

.color-inherit{
	color: inherit;
}

.content-page{
	padding-bottom: 105px;
}

.left-side-menu{
	z-index: 1002;
}

#sidebar_button{
	position: fixed; top: 95vh; left: 236px;
	width: 48px;
	height: 48px;
	display: block;
	overflow: hidden;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	font-size: 1.4rem;
	-webkit-transition: all .2s ease-out;
	transition: all .2s ease-out;
}

#sidebar_button input{
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
}

#sidebar_button label{
	position: absolute; top: 0; left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	cursor: pointer;
}

.sidebar_condensed #sidebar_button{
	left: 46px;
}

.sidebar_condensed #sidebar_button i{
	transform: rotate(180deg);
}

/* header */
.navbar_sticky{
	position: fixed; top: 0; left: 260px; z-index: 1001;
	width: calc(100% - 260px);
	visibility: hidden;
	padding: 16px 24px;
	border-top: 1px solid #eef2f7;
	border-bottom: 1px solid #eef2f7;
	background-color: #ffffff;
	opacity: 0;
	-webkit-transition: position 200ms ease-out, opacity 200ms ease-out;
	transition: position 200ms ease-out, opacity 200ms ease-out;
}

.sidebar_condensed .navbar_sticky{
	left: 70px;
	width: calc(100% - 70px);
}

.navbar_sticky.active{
	top: 70px;
	visibility: visible;
	opacity: 1;
}

/* dealer */
#sales_data_table th, #sales_data_table td{
	text-align: right;
}

#sales_data_table td{
	height: 3.1rem;
	vertical-align: middle;
}

#sales_data_table tr td:first-child{
	white-space: nowrap;
	text-align: left;
}

#sales_data_table tbody tr:not([data-parent="0"]){
	display: none;
}

#sales_data_table tbody tr:not([data-parent="0"]).active{
	display: table-row;
}

#sales_data_table tr[data-children="1"]{
	cursor: pointer;
}

#sales_data_table tbody td .expander{
	display: inline-block;
	font-size: 1.2rem;
	vertical-align: sub;
}

#sales_data_table tbody td .expander::before{
	content: "\F0416";
}

#sales_data_table tbody tr.expanded td .expander::before{
	content: "\F0375";
}

#sales_data_table .bg-light{
	background-color: rgba(238, 242, 247, 0.35) !important;
}

#sales_data_table tr.bg-light:hover{
	background-color: #f1f3fa !important;
}

/* reports */
#form_description{
	height: 0;
	display: block !important;
	visibility: hidden;
	padding: 0;
	margin: 0;
}

/* forms */
.form-control.error{
	padding-right: 2.25rem;
	border-color: #fa5c7c;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	background-repeat: no-repeat;
	background-position: right calc(.375em + .1875rem) center;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.error .select2-container .select2-selection--single, .error .select2-container .select2-selection--multiple{
	padding-right: 2.25rem;
	border-color: #fa5c7c !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	background-repeat: no-repeat;
	background-position: right calc(.375em + .1875rem) center;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

#form_description.error ~ .CodeMirror{
	border-color: #fa5c7c !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fa5c7c' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23fa5c7c' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
	background-repeat: no-repeat;
	background-position: right calc(.375em + .1875rem) top .75em;
	background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.error .select2-container .select2-selection--single .select2-selection__arrow{
	display: none;
}

textarea.form-control.error{
	background-position: right calc(.375em + .1875rem) top .75em;
}

#authorizations_filters_modal .custom-select.highlighted{
	background-color: #b1f8a5;
}

.form-floating{
	position: relative;
}

.form-floating > .custom-select{
	height: calc(3.5rem + calc(var(--ct-border-width) * 2));
	min-height: calc(3.5rem + calc(var(--ct-border-width) * 2));
	padding-top: 1.625rem;
	padding-bottom: .625rem;
	padding-left: .9rem;
	line-height: 1.25;
}

.form-floating > label{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	max-width: 100%;
	height: 100%;
	padding: 1rem .9rem;
	overflow: hidden;
	color: rgba(var(--ct-body-color-rgb),.65);
	text-align: start;
	text-overflow: ellipsis;
	white-space: nowrap;
	pointer-events: none;
	border: var(--ct-border-width) solid transparent;
	-webkit-transform-origin: 0 0;
	transform-origin: 0 0;
	-webkit-transition: opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;
	transition: opacity .1s ease-in-out,-webkit-transform .1s ease-in-out;
	transition: opacity .1s ease-in-out,transform .1s ease-in-out;
	transition: opacity .1s ease-in-out,transform .1s ease-in-out,-webkit-transform .1s ease-in-out;
}

.form-floating > .custom-select ~ label{
	-webkit-transform: scale(.85) translateY(-.5rem) translateX(.15rem);
	transform: scale(.85) translateY(-.5rem) translateX(.15rem);
}

/* charts */
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title{
	text-align: center;
}

.apex-charts text{
	fill: #6c757d;
}

/* tables */
table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > td:first-child::before, table.dataTable.dtr-inline.collapsed > tbody > tr[role="row"] > th:first-child::before{
	top: 50%; left: 5px; bottom: auto;
	margin-top: -7px;
	border: 0;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

table.dataTable.nowrap th.wrap, table.dataTable.nowrap td.wrap{
	white-space: normal;
}

table.authorizations_table th, table.authorizations_table td{
	padding-left: 0.25rem;
	padding-right: 0.25rem;
}

table.authorizations_table th:first-child, table.authorizations_table td:first-child{
	padding-left: 0.75rem;
}

table.dataTable th:not(.filter) input{
	display: none;
}

table.dataTable th.filter input{
	max-width: 120px;
}

table th.narrow, table td.narrow{
	width: 50px;
}

table tr.removed td{
	pointer-events: none;
	opacity: 0.35;
}

table tr.completed{
	background-color: #b1f8a5 !important;
}

table.authorizations_table td a{
	cursor: pointer;
}

table tr.draft td{
	opacity: 0.35;
}

/* calendars */
.datepicker-dropdown{
	z-index: 9999 !important;
}

/* icons */
.dropdown-icon-item.disabled{
	cursor: not-allowed;
	opacity: 0.5;
}

/* files */
.coordinates #file_previews a.btn{
	display: none;
}

/* others */
.filters_box{
	display: flex;
	justify-content: flex-end;
}

.filters_box .custom-control{
	white-space: nowrap;
}

@media (min-width: 768px) and (max-width: 1199px) {
	
/*#sidebar_button{
	left: 46px;
}

#sidebar_button i{
	transform: rotate(180deg);
}*/

/* header */
/*.navbar_sticky{
	left: 70px;
	width: calc(100% - 70px);
}*/

}

@media (max-width: 767px){

img.avatar{
	display: none;
}

/* header */
.navbar_sticky{
	left: 0px;
	width: 100%;
}

/* dealer */
.dealer_tabs .nav{
	justify-content: space-between;
}

.dealer_tabs .nav-justified .nav-item, .dealer_tabs .nav-justified>.nav-link{
	display: contents;
}

.dealer_tabs .nav-item:nth-child(4n)::after{
    content: "";
    width: 100%;
}

}