/************************************** INPUT **************************************/
[data-input] {
    display: flex;
    flex-direction: column;
    position:relative;
}
[data-input].preloaded {
    height: 42px;
}
[data-input]:not(.loaded) > * {
    display: none;
}
[data-input]:not(.loaded), input, select, .input, textarea {
    border-width: 0;
    outline: none;
    width: 100%;
    background: #fff;
    color: var(--color);
    /* margin-bottom: 1em; */
    line-height: initial;
    box-sizing: border-box;
    /* margin: unset; */
    padding: 6px 12px;
    border: 1px solid #00000015;
    /* margin-bottom: .5em; */
    line-height: 20px;
    min-height: 42px;
    font-family: "Roboto Condensed", 'Roboto Condensed';
    font-weight: 600;
    font-size: 1.2em;
    padding-right: 42px;
    text-overflow: ellipsis;
    justify-content: center;
}
[data-input][placeholder]:not(.loaded)::after {
    content: attr(placeholder);
    color: #00000044;
    font-weight: 500;
    font-style: italic;
}
input::placeholder, select::placeholder, .input::placeholder, textarea::placeholder {
    color: #00000044;
    font-weight: 500;
}
[data-input] input, 
[data-input] select, 
[data-input] textarea {
    margin:0!important;
}
[data-input].full-focus.focus {
    position: fixed;
    top: 20px;
    bottom: 20px;
    right: 20px;
    left: 20px;
    background: #FFF;
    z-index: 9999;
    margin: 0px;
    border: 1px solid #00000022;
    max-height: 100dvh;
}
[data-input].full-focus.focus input {
    border:0;
}
[data-input].full-focus.focus .dataselect-list.open,
[data-input].full-focus.focus .geolist.open {
    position: static;
    max-height: none;
    margin-top: 0px;
    border: 0;
    flex: 1;
    box-shadow: none;
    border-top: 1px solid #00000015;
}
[data-input] .after {
    display: block;
    width: 42px;
    height: 42px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 99;
}
[data-input]:not(.focus) .after {
    display: none;
}
label {
    margin: 1em 0 .5em;
    display: inline-block;
    text-transform: initial;
    color: #222;
    font-size: 14px;
    font-weight: 600;
}
.checkbox,.radio {
    margin: 0 .5em .5em 0;
    user-select: none;
    display: inline-block;
    cursor: pointer;
    padding-left: 4px
}
.checkbox input[type=checkbox],.radio input[type=radio] {
    height: auto;
    display: none
}
.checkbox:before,.radio:before {
    content: '';
    display: inline-block;
    width: 22px;
    height: 22px;
    background: #fff;
    cursor: pointer;
    vertical-align: middle;
    margin-right: .5em;
    box-shadow: 0 0 1px #999
}
.radio:before {
    border-radius: 100px;
    box-shadow: 0 0 2px #999
}
.checkbox.checked:before,.radio.checked:before {
    width: 14px;
    height: 14px;
    border: 4px solid #fff;
    background: var(--color)
}
.btn, a.btn {
    border-radius: 42px !important;
    width: 100%;
    padding: 0 1em;
    line-height: 48px;
    background: #FFF;
    text-transform: none;
    font-size: 16px;
    color: #111;
    outline: 2px solid #00000015;
    font-weight: 600;
}
/* .btn:hover, a.btn:hover {
    color: inherit;
} */
.btn.btn-dark {
    background: #000;
    color: #FFF;
    outline: 0;
    font-weight: 400;
}
.btn.btn-theme {
    background: var(--color);
    color: #FFF;
    outline: 0;
    font-weight: 400;
}
.form-group {
    margin: 2em -16px 1em -16px;
    background: #444;
    font-size: 0.9em;
    border-top: 1px dashed #FFFFFF22;
    height: 0;
    line-height: 0;
    padding: 0;
}
.form-group:not(:empty) {
    color: #FFFFFF66;
    text-transform: uppercase;
    border-bottom: 1px dashed #FFFFFF22;
    padding: 1em;
    height: auto;
    line-height: 1.2em;
}

/************************************** TABLE **************************************/
table {
    /* width: 100%; */
    table-layout: auto;
    border-spacing: 0;
    font-size: 1.1em;
}
table td,
table th {
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 0.9em;
    line-height: 2em;
}
table tr td {
    /* border-bottom: 1px solid #EEE; */
    line-height: 1.2em;
}
table td.green {
	color:rgba(0,200,100,1);
	background:rgba(0,200,100,0.1);
}
table td.red {
	color:rgba(255,51,100,1);
	background:rgba(255,51,100,0.1);
}
table td.orange {
	color:rgba(200,200,100,1);
	background:rgba(200,200,100,0.1);
}
table td.blue {
	color:rgba(100,200,200,1);
	background:rgba(100,200,200,0.1);
}
table td.light {
	color:rgba(255,255,255,0.2);
}
table tr th {
    border-bottom: 2px solid #EEE;
}
table tr:nth-of-type(even) {
    background: #00000006;
}
table tr td.actions, table tr th.actions {
    position: sticky;
    right: 0;
    background: #333;
    border-left-width: 4px !important;
    padding: 0px;
    overflow: hidden;
}
table tr td.actions > div, table tr th.actions > div {
    display: flex;
    flex-gap: 0.2em;
    justify-content: center;
    align-items: center;
}
table tr:nth-of-type(even) td.actions {
    background: #363636;
}
table tr td:not(:first-child),
table tr th:not(:first-child) {
    border-left: 1px solid #00000010;
}
table .full {
    width: 100%;
}
table.cards {
    display: block;
    padding: 1em 0;
}
table.cards tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    grid-gap: 1em;
}
table.cards tbody tr {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-gap: 0;
    background: #FFF;
    border: 0;
    box-shadow: 0 0 4px #00000009;
    max-width: 100vw;
}
table.cards tbody tr td {
    display: block;
    background: #FFF;
    border: 0;
    order: 1;
    padding: 12px 12px 0px 12px;
    font-size: 0.9em;
}
table.cards tbody tr td.picture {
    padding:0;
}
table.cards tbody tr td .title {
    font-size: 1.2em;
}
table.cards tbody tr td.more {
    margin: 1em 0 -1em 0;
    border-top: 1px dashed #00000011;
    color: #666;
}
table.cards tbody tr td:not(.picture):not(.infos) {
    grid-area: 2 span / 2 span;
    padding: 6px 12px;
}
table.cards tbody tr td.actions {
    border-top: 1px solid #00000009;
    text-align: right;
    padding: 6px!important;
    margin-top: 12px;
}
table.cards tbody tr td.actions > a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 1.2em;
}
table.cards tbody tr td.actions>a:hover {
    color: var(--color);
}
.datatable th {
    user-select: none;
}
.datatable.box {
    background: transparent;
    margin: 0;
    padding: 0;
}
[dt-ordered] {
    cursor:pointer;
}
[dt-ordered] .ico {
    font-size: 12px!important;
    letter-spacing: 0;
    color: #CCC;
    margin: 0;
}
[dt-sort='asc'] .ico.qb-icos-chevron-bottom,
[dt-sort='desc'] .ico.qb-icos-chevron-top {
    color: var(--color);
}
.datatable .dt-results-infos {
    text-align: center;
    font-style: italic;
    padding: 1.4em;
    color: #CCC;
    background: #00000002;
    min-height: 58px;
}
.datatable .dt-results-infos:empty {
    display: none;
}
.datatable .dt-results-infos:not(:empty) + table {
    display: none;
}
.datatable table [dt-action] {
    margin: 0 0.2em;
}
.pic-circ {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #00000011;
    border-radius: 50px;
    background-color: #222;
    line-height: 46px;
    text-align: center;
    color: #FFF;
    overflow: hidden;
}
.pic-circ .ico {
    font-size: 1.8em;
}

/************************************** CALENDAR **************************************/
.calendar {
    max-width: 21em;
    /* border: 1px solid #EEE; */
    text-align: center;
    line-height: 3em;
    cursor: pointer;
    user-select: none;
    position: absolute;
    top: 100%;
    background: #FFF;
    min-width: 21em;
    margin-top: 2px;
    display: none;
    z-index: 9999;
    box-shadow: 0 0 10px #00000011;
}
.device-mobile .calendar {
	position: fixed;
    top: auto;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	max-width: 100%;
	margin: 0;
	border:0;
}
.calendar.open {
	display: block;
}
.calendar .months {
	font-weight: bold;
	text-transform: capitalize;
    background: #F9F9F9;
    color: #000;
}
.calendar .dates {
	height: 250px;
}
.calendar ul>li[date] {
    display: grid;
}
.calendar ul {
    display: grid;
    grid-gap: 0rem;
    justify-content: center;
    grid-template-columns: repeat(7, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
}
.calendar .months ul {
	grid-template-columns: 1fr 5fr 1fr;
    line-height: 46px;
}
.calendar .days ul {
	font-weight: bold;
}
.calendar ul li.today {
	color:var(--color);
	font-weight: bold;
}
.calendar ul li.between {
	background: rgba(var(--v-color), 0.2) !important;
}
.calendar ul li.active {
	background: var(--color);
	color:#FFF;
}
.calendar ul .light {
	color: #CCC;
}
.calendar .actions > div {
	background: #F9F9F9;
    color:#000;
    /* background: #F9F9F9; */
}
.calendar .actions > div.accept {
    color:#FFF;
}
/* .calendar .close {
	background: var(--color);
	color: #FFF;
} */
 .data-input-calendar:after {
    content: '\e007';
    font-family: quba;
    position: absolute;
    pointer-events: none;
    top: 5px;
    right: 10px;
    font-size: 24px;
    color: #00000033;
}
/************************************** HOURS **************************************/
[data-input="hours"] {
    width: 80px;
}
[data-input="hours"] input {
    text-align: center;
    padding-right:12px;
}
.data-input-hours > div {
    border-width: 0;
    outline: none;
    width: 100%;
    background: #FFF;
    /* color: var(--color); */
    margin-bottom: 1em;
    line-height: initial;
    box-sizing: border-box;
    margin: unset;
    padding: 0 0.5em;
    height: 38px;
    border: 1px solid #EEE;
    font-family: 'Poppins';
    position: relative;
}
.data-input-hours > div input {
    border: 0;
    padding: 0;
    margin: 0;
    width: 50%;
    height: 100%;
    text-align: center;
}
.data-input-hours > div:after {
    content: ':';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    user-select: none;
    pointer-events: none;
    line-height: 38px;
    font-weight: 600;
}
/************************************** PRICE **************************************/
[data-input="price"] {
    width: 120px;
    position: relative;
}
[data-input="price"] input {
    text-align: right;
    color:inherit;
    padding-right:12px;
}
[data-input="price"][data-state="up"] {
    color:#02BC77;
}
[data-input="price"][data-state="down"] {
    color:#d9534f;
}
/************************************** DATASELECT **************************************/
.data-input-dataselect {
    position: relative;
}
.data-input-dataselect:after {
    content:'\e00b';
    font-family: "quba";
    position: absolute;
    pointer-events: none;
    top: 5px;
    right: 10px;
    font-size: 24px;
    color: #00000033;
}
.data-input-dataselect.focus:after {
    content:'\e00e';
}
/************************************** GEO **************************************/
.data-input-geosearch, .data-input-dataselect {
    position: relative;
}
.geolist, .dataselect-list {
    display: none;
}
.dataselect-list.open {
    max-height: 360px;
    overflow: auto;
}
.geolist.open:not(:empty), .dataselect-list.open:not(:empty) {
line-height: 3em;
    cursor: pointer;
    user-select: none;
    position: absolute;
    background: #fff;
    margin-top: 2px;
    z-index: 9999;
    box-shadow: 0 0 10px #00000011;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    border: 1px solid #00000022;
}
[data-input].full-focus.focus .geolist.open:empty {
    display:block;
}
/* .device-mobile .dataselect-list.open, .device-mobile .geolist.open {
    position: fixed;
    bottom: 0;
    z-index: 99;
    right: 0;
    left: 0;
    max-height: calc(50vh);
    overflow: auto;
    top: auto;
    border-top: 5px solid #000;
} */
.geolist .item, .dataselect-list .item {
    padding: 0.8em 1em 0.8em 1em;
    margin: 0;
    line-height: 1em;
    border-top: 1px solid #00000011;
    font-size: 1em;
}
.geolist .item:first-child, .dataselect-list .item:first-child {
    border: 0;
}
.geolist .item {
    padding-left: 34px;
}
.geolist .item:before {
    content: '\e037';
    font-family: 'quba';
    font-size: 1.8em;
    vertical-align: middle;
    line-height: 0em;
    margin-left: -30px;
    margin-right: 8px;
}
.geolist .item:hover, .dataselect-list .item:hover {
    background-color: #00000011;
}
.data-input-geosearch .explain {
font-size: .8em;
    padding: .4em .8em;
    background: #ffEE;
    border: 1px solid #eee;
    border-bottom: 0;
}
.data-input-geosearch .explain:empty,
.data-input-geosearch.focus .explain {
    display: none;
}
/* .data-input-geosearch input, .inp-select input {
    background: inherit;
    text-transform: inherit;
    font-weight: inherit;
    color: inherit;
} */
.data-input-geosearch.focus:after {
    content: '\e010';
    font-family: quba;
    position: absolute;
    pointer-events: none;
    top: 5px;
    right: 10px;
    font-size: 24px;
    color: #00000033;
}
/************************************** SWITCH **************************************/
[data-input="switch"] {
    align-items: center;
    vertical-align: middle;
    margin-bottom: 0;
}
[data-input] .switch {
  display: inline-block;
  height: 26px;
  position: relative;
  width: 52px;
  padding: 0;
    margin: 0;
}
[data-input] .switch input {
  display:none;
}
[data-input] .switch .slider {
  background-color: #00000022;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: .4s;
  border-radius: 24px!important;
}
[data-input] .switch .slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 18px;
  left: 4px;
  position: absolute;
  transition: .4s;
  width: 18px;
  border-radius: 50%;
}
[data-input] .switch input:checked + .slider {
  background-color: var(--color);
}
[data-input] .switch input:checked + .slider:before {
  transform: translateX(26px);
}
/************************************** TOASTER **************************************/
#toasters {
    background: #FFF;
    z-index: 9999;
}
.toast {
    padding:1em;
    color: rgba(250,250,250,1);
    background: rgba(250,250,250,0.1);
}
.toast.success {
    padding:1em;
    color: rgba(0,200,100,1);
    background: rgba(0,200,100,0.1);
}
.toast.warning {
    padding:1em;
    color: rgba(255,150,100,1);
    background: rgba(255,150,100,0.1);
}
.toast.danger {
    padding:1em;
    color: rgba(255,51,100,1);
    background: rgba(255,51,100,0.1);
}