.invisible_text {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none;
    text-decoration: none;
    color: transparent;
}
.page-title-box {
    flex-wrap: wrap-reverse !important;
}
.positive {
    color: #397E00;
}
.negative {
    color: #c00;
}
.tiny {
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 1;
    visibility: hidden;
}
.modal-dialog .text-truncate {
    white-space: normal!important;
}
.featured_image {
    border: 1px solid #efefef;
}

/* Styling modal */
.general-lg-center.modal .modal-body {
    padding: 15px;
}

.main-content {
    min-height: 100vh;
}
/* Datatables */
/* Show overflow so the filter inputs can be seen */
table.dataTable {
    overflow: hidden;
}
table.dataTable thead th {
    white-space: nowrap;
}
table.dataTable thead th.filter {
    padding-right: 7.5px !important;
}
table.dataTable thead th.filter .datatable_filters input{
    margin-bottom: 5px !important;
    padding: 0 2.5px 0 15px !important;
    border: 0;
    border-bottom: 1px solid #eee;
    transition: all 0.2s;
    width: 100%;
    height: 25px;
}
table.dataTable thead th.filter .datatable_filters input:focus{
    -webkit-appearance: none !important;
    outline: none !important;
    border: 0 !important;
    border-bottom: 1px solid #2d93ee !important;
}
table.dataTable thead th.filter .datatable_filters span{
    margin-right: 20px !important;
}

/* Style column visibility */
.datatable_buttons .dt-buttons .btn-group .dt-button-collection .dropdown-menu {
    padding: 0 !important;
}
.datatable_buttons .dt-buttons .btn-group .dt-button-collection .dropdown-menu .dropdown-item {
    height: 30px;
    width: auto;
}
.dropdown-menu .dropdown-item:hover {
    color: black !important;
    text-decoration: none;
    background-color: #e0e0e0 !important;
}
.dropdown-menu .dropdown-item.active {
    color: black !important;
    text-decoration: none;
    background-color: #e0e0e0 !important;
}

.table-responsive {
    overflow: visible;
}
.datatable_buttons {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

.datatable_buttons .dt-buttons button {
    flex: 0 1 auto !important; 
}

.datatable_filters {
    position: relative;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.datatable_filters span {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    column-gap: 5px;
    white-space: nowrap;
}

.datatable_filters span.active {
    font-style: italic;
}

.datatable_filters div {
    position: absolute;
    top: -50px;
    left: -.75rem;

    width: 150px;
    transition: 0.1s;
    background: white;
    padding: 5px;
    
    border: 1px solid #eff2f7;
    border-top-left-radius: 2.5px;
    border-top-right-radius: 2.5px;
}

/* Modal styling */
.modal.info .modal-dialog .modal-content {
    color: #2a567d;
    background-color: #dcedfc;
    border-color: #cee6fb;
}
.modal.warning .modal-dialog .modal-content {
    color: #7f3737;
    background-color: #fde1e1;
    border-color: #fcd5d5;
}
.modal.success .modal-dialog .modal-content {
    color: #1b654a;
    background-color: #d6f3e9;
    border-color: #c6eee0;
}
.modal.edit-datatable {
    height: 100vh;
    width: 100vw;
    background-color: rgba(0,0,0,0.25);
    
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal.edit-datatable .card {
    opacity: 1;
    border: 1px solid #eff2f7;
    padding: 20px;
}
.modal.edit-datatable .card .card-body {
    opacity: 1;
}

/* MODALS */
.modal {
    z-index: 9001;
}

/* Loading Screen */
.loading_screen {
    position:fixed;
    z-index:9000;
    top:123px;
    left:0;
    bottom:0;
    right:0;
    background-color: #f8f8fb;
    transition: 1s 0.4s;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hide Element */
.hidden {
    display: none !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
}


/* Hide default export buttons */
.export_copy_hidden,
.export_excel_hidden,
.export_pdf_hidden {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    border: 0;
}
/* Export modal styling */
.export_modal .export_html_div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    row-gap: 15px;
    column-gap: 15px;
}

.export_modal .export_html_div .item {
    box-sizing: border-box;
    height: 42.5px;
    width: calc(25% - 15px);

    display: flex;
    justify-content: center;
    align-items: center;
}

.export_modal .export_html_div button.btn-outline-danger:hover {
    color: white !important;
    border-color: #34c38f !important;
    background-color: #34c38f !important;
}
.export_modal .export_html_div button.btn-outline-danger:focus:hover {
    color: white !important;
    border-color: #34c38f !important;
    background-color: #34c38f !important;
    box-shadow: 0 0 0 .15rem rgba(52,195,143,.5) !important;
}

.export_modal .export_html_div button.btn-outline-success:hover {
    color: white !important;
    border-color: #f46a6a !important;
    background-color: #f46a6a !important;
}
.export_modal .export_html_div button.btn-outline-success:focus:hover {
    color: white !important;
    border-color: #f46a6a !important;
    background-color: #f46a6a !important;
    box-shadow: 0 0 0 .15rem rgba(244,106,106,.5) !important;
}

.export_modal .export_html_div .btn-group {
    display: flex;
    flex-direction: row;
    column-gap: 0 !important;
}

.export_modal .export_buttons {
    padding-top: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

/* Custom confirm action modal */
.confirm_modal_container {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    position: fixed;
    z-index: 999999999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirm_modal_container .modal-content {
    width: 300px;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.confirm_modal_container .modal-content .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Editable cells styling */
td.editing {
    box-shadow: inset 0 0 3px 1px #4574ff;
}
.editable_cell_container {
    width: min-content;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}

.editable_cell_container .cell_actions {
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}

.editable_cell_container .cell_actions button {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 25px;
    width: 25px;
}

.editable_cell_container .cell_actions button i {
    font-size: 17.5px;
}

/* Styling row dropdown view */
table.dataTable > tbody > tr.child ul.dtr-details li {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    column-gap: 10px;
    padding: 10px !important;
}
table.dataTable > tbody > tr.child ul.dtr-details li .dtr-data p {
    margin: 0 !important;
}

table.dataTable td.control {
	vertical-align: middle !important;
}
.datatable_filters i {
	position: absolute;
	bottom: 10px;
	z-index: 1;
	left: 0px
}
table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::before, table.dataTable thead .sorting_desc_disabled::after {
	bottom: auto;
	top: 0.9em;
}
.table thead th {
  vertical-align: top;
}
body[data-layout="horizontal"] .container-fluid, body[data-layout="horizontal"] .navbar-header {
  max-width: 97.5%!important;
}
th.extended {
	min-width: 250px!important;
	width: auto;
}
ol.breadcrumb {
	text-transform: uppercase;
}
table.dataTable tbody td.select-checkbox::before, table.dataTable tbody th.select-checkbox::before {
	margin-top:0px!important;
}
td.short {
	max-width: 150px!important;
	min-width: 100px!important;
	width: auto!important;
	text-align: center;
}
td.short.text {
	text-align: left;
}
td p {
	margin: 0px!important;
}
.page-title-right .dropdown-menu {
	left: auto!important;
	right: 0px;
}
.page-title-right a.btn {
	display: block!important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  line-height: 36px;
  padding-left: 12px;
  color: #495057;
}
table.dataTable tbody > tr:hover {
  background-color: #e0e0e0;
}

/* hide/ show datatables query builder */
#datatable-buttons_wrapper .dtsb-searchBuilder {
    height: 0;
    transform: scale(0);
    opacity: 0;
    display: none;
}

.dropdown-item.no-results:hover {
    cursor: default !important;
    background-color: transparent !important;
    color: #545a6d !important;
}

#search_rightAll i,
#search_rightSelected i,
#search_leftSelected i,
#search_leftAll i {
    font-size: 20px;
}
.introduction {
	padding:30px 0px;
	margin:30px 0px;
	border-top: 1px solid #eee;
}
form[name=edit] {
	border: none; padding: none;
}

.current_images {
    height: 250px;
    width: 100%;
    overflow-y: scroll;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.image_thumb {
    aspect-ratio: 1/1;
    position: relative;
    overflow: hidden;
    flex: 0 1 150px;
    max-width: 250px;
    border-radius: 15px;
}
.image_thumb_auto_size {
    aspect-ratio: unset;
    max-width: none;
    border-radius: 0px;
}
.image_thumb .actions {
    padding: 20px;
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transition: all 0.2s ease-in-out;
    transform-origin: center;
    display: flex;
    justify-content: center;
    align-items: center;
}
.image_thumb.active .actions,
.image_thumb:hover .actions {
    backdrop-filter: brightness(80%) blur(2px);
    opacity: 1;
}
.image_thumb.loading:hover .actions {
    opacity: 0;
}
.image_thumb .loading {
    backdrop-filter: brightness(80%) blur(2px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.required_field {
    margin-left: 5px;
    color: red;
}

.was_price {
    font-size: 12px;
    text-decoration: line-through;
}

.graph-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.graph-container .graph-filter .date-range {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.graph-container .graph-data{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}
.graph-container .graph-data .graph_totals {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2.5px;
}
.graph-container .graph-data .graph_totals p {
    margin: 0;
}
.graph-container .graph-data p {
    margin-bottom: 2px;
}

form.ajax {
	background: none !important;
	color: inherit !important;
	border: none !important;
	padding: 0 !important;
	font: inherit !important;
	cursor: pointer !important;
	outline: inherit !important;
    overflow: hidden !important;
}
form.ajax .btn {
    border-radius: 0 !important;
}
/* form.ajax button,
form.ajax input[type="submit"],
form.ajax input[type="reset"] {
	background: none;
	color: inherit;
	border: none;
	padding: 0;
	font: inherit;
	cursor: pointer;
	outline: inherit;
} */

@keyframes example {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(0vw);
    }
}
  
.error-img {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 250px;
    overflow: hidden;
    z-index: -1;
}   
.error-img img {
    animation-name: example;
    animation-duration: 4s;
}   

.btn_component {
    height: 37px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.btn_component p {
    display: inline-flex;
    margin-bottom: 0px;
    height: 100%;
    justify-content: start;
    align-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    order: 1;
    text-transform: capitalize;
    margin-bottom: 0.3em;
}

.form-group input,
.form-group select,
.form-group textarea,
.form-group .tox {
    padding: 0.5em;
    order: 2;
}

.form-group input:required+label::after,
.form-group select:required+label::after,
.form-group textarea:required~label::after {
    content: " *";
    color: #e32;
}