@charset "UTF-8";

@import 'variables.css';

/* Select2 */
.select2-container--default .select2-selection--single .select2-selection__clear {
    z-index: 2;
}

.select2-dropdown {
    border-color: var(--border-color);
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--form-text) !important;
    padding-left: .75rem;
    padding-right: .75rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    color: var(--form-text) !important;
    padding-left: .75rem;
    padding-right: .75rem;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
	color: var(--placeholder);
}

.select2-results__option[aria-selected] {
    background-color: var(--white);
    color: var(--form-text);
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
	background-color: var(--primary);
	color: var(--white);
    border: none;
}


.select2-container--default .select2-results__option[aria-selected=true],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--primary);
	color: var(--white);
}

.select2-container.select2-container--open .select2-selection--single {
	background-color: #fefeff;
	border-color: #1a73e831;
}

.select2-selection.select2-selection--single {
	padding-right: 20px !important;
    border-color: var(--border-color) !important;
    border-radius: .25rem;
}

.select2-container.select2-container--focus .select2-selection--multiple:focus, .select2-container.select2-container--focus .select2-selection--single:focus {
    border-color: var(--primary) !important;
}

.select2-container.select2-container--focus .select2-selection--multiple, .select2-container.select2-container--focus .select2-selection--single {
    border-color: var(--primary) !important;
}

/* Filepond */
.filepond--file-action-button.filepond--file-action-button {
	font-size: 1em;
	width: 1.625em;
	height: 1.625em;
	font-family: inherit;
	line-height: inherit;
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
	will-change: transform, opacity;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Ckeditor */
.cke_top {
    border-bottom: 1px solid var(--border-color) !important;
}

.cke_bottom {
    border-top: 1px solid var(--border-color) !important;
}

.cke_chrome {
    border: 1px solid var(--border-color) !important;
}

.cke_top,
.cke_bottom {
    background: var(--form-background-readonly) !important;
}

.cke_reset_all, .cke_reset_all *, .cke_reset_all a, .cke_reset_all textarea {
    color: var(--grey) !important;
}

.cke_reset_all a.cke_dialog_ui_button_ok span {
    color: var(--white) !important;
}

a.cke_button_off:hover, a.cke_button_off:focus, a.cke_button_off:active {
    border: none !important;
}

.cke_panel_listItem a {
    color: var(--black) !important;
}

/* Datatables */
div.dataTables_wrapper div.dataTables_info {
    padding-top: 0rem;
}

.dataTables_length label, .dataTables_filter label {
    margin-bottom: 0rem;
}

.datatable-header, .datatable-footer {
    /* background-color: var(--very-light-grey);
    border-radius: var(--border-radius); */
    /* margin-left: 0;
    margin-right: 0; */
    padding: 0.5rem 0.075rem;
}

.datatables-header {
    padding: 1.5rem 2rem 0.1rem 2rem;
}

.datatables-footer {
    padding: 0.1rem 2rem 1.5rem 2rem;
}

.datatables-header-left {
	display: flex;
	justify-content: flex-start;
}

.table.dataTable>tbody>tr.child ul.dtr-details {
	margin-left: 1rem;
}

.dataTables_wrapper .select2-container .select2-selection--single
{
    min-height: auto !important;
}

.dataTables_wrapper .select2-container.select2-container--focus .select2-selection--single {
    font-size: .875rem;
    line-height: 1.5;
}

.dataTables_wrapper .form-control, .paginate_select {
    height: fit-content !important;
}

.dataTables_wrapper .select2-container, .dataTables_paginate .select2-container {
    width: fit-content !important;
    height: fit-content !important;
}

.dataTables_wrapper .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 26px;
    min-height: auto !important;
}

.dataTables_wrapper .select2-container--default .select2-selection--single .select2-selection__arrow {
    min-height: auto !important;
}

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: initial !important;
}

.paginate_select {
	display: block;
	width: auto;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: var(--white);
	background-clip: padding-box;
	border: 1px solid var(--border-color);
	border-radius: 0.25rem;
	transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

table.border-all, th.border-all, td.border-all {
	border: 1px solid #DADDE2;
}

.dataTables_info,
.dataTables_paginate,
.dataTables_length,
.dataTables_filter {
    color: var(--grey) !important;
}

table.dataTable.table-sm>thead>tr>th {
    padding-right: 20px;
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey) !important;
}

.datatable-image {
	width: 100%;
	height: 8vw;
	object-fit: cover;
	border-radius: 2px;
}

table.dataTable.no-footer {
	border-bottom: none !important;
}

table.dataTable thead th,
table.dataTable thead td {
	border-bottom: none !important;
	color: #333237 !important;
	font-weight: 600 !important;
}

.card-content .dataTables_wrapper thead tr th:first-child,
.card-content .dataTables_wrapper tbody tr td:first-child {
	padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.card-content .dataTables_wrapper thead tr th:last-child,
.card-content .dataTables_wrapper tbody tr td:last-child {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.btn-datatables {
    font-size: 14px;
    font-weight: 400;
    color: var(--dark);
    background-color: var(--light);
    border: 1px solid var(--border-color);
    transition: background-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.btn-datatables:focus {
    background-color: var(--light) !important;
}

.btn-datatables:focus:active {
    background-color: var(--light) !important;
}

.btn-datatables:active,
.btn-datatables:hover {
    background-color: var(--light-darker);
}

.btn-trashed-datatables {
    color: var(--danger);
    background-color: var(--danger-lighter);
    border: 1px solid var(--danger-lighter);
    margin-left: 0.5rem;
}

.btn-trashed-datatables:focus {
    color: var(--danger) !important;
    background-color: var(--danger-lighter) !important;
}

.btn-trashed-datatables:focus:active {
    color: var(--danger) !important;
    background-color: var(--danger-lighter) !important;
}

.btn-trashed-datatables:active,
.btn-trashed-datatables:hover {
    color: var(--danger) !important;
    background-color: var(--danger-lighter);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .datatables-header-left {
		justify-content: center;
	}
}

/* Daterangepicker */
.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--primary);
}

/* Sweetalert */
.swal2-styled.swal2-confirm {
	box-shadow: none !important;
}

/* Flatpickr */
.flatpickr-day.selected {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--white) !important;
}

.form-control[readonly].flatpickr-input {
    background-color: var(--form-background) !important;
}

.img-datatables {
    width: 25rem;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.icon-datatables {
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.flatpickr-calendar.hasTime .flatpickr-time {
    border-top: none;
}

.btn-translate {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 9999;
    aspect-ratio: 1/1;
    width: 3rem;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-translate.dropdown-toggle::after {
    display: none;
}

.skiptranslate {
    display: none !important;
}
body {
    top: 0px !important;
}

/* Card */
.card-border {
    border: 1px solid var(--border-color);
}