.flex {
    display: flex;
}

input[type="text"]:focus,
[type="email"]:focus,
[type="url"]:focus,
[type="password"]:focus,
[type="number"]:focus,
[type="date"]:focus,
[type="datetime-local"]:focus,
[type="month"]:focus,
[type="search"]:focus,
[type="tel"]:focus,
[type="time"]:focus,
[type="week"]:focus,
[multiple]:focus,
textarea:focus,
select:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
        var(--tw-shadow, 0 0 #0000);
    border-color: rgba(16, 185, 129, 1);
}

input::-webkit-input-placeholder {
    opacity: 0;
}

input:focus::-webkit-input-placeholder {
    opacity: 1;
}

/* Firefox < 19 */
input:-moz-placeholder {
    opacity: 0;
}

input:focus:-moz-placeholder {
    opacity: 1;
}

/* Firefox > 19 */
input::-moz-placeholder {
    opacity: 0;
}

input:focus::-moz-placeholder {
    opacity: 1;
}

/* Internet Explorer 10 */
input:-ms-input-placeholder {
    opacity: 0;
}

input:focus:-ms-input-placeholder {
    opacity: 1;
}

.focus\:ring-green-500:focus {
    --tw-ring-color: rgba(16, 185, 129, 1);
}

.toast-error {
    background-color: #bd362f !important;
}

p.excel_name_preview {
    padding-top: 70px;
}

.select2 .selection .select2-selection:focus,
.select2-selection.select2-selection--single:focus {
    border-color: rgba(16, 185, 129, 1);
    outline-offset: 2px;
    box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow),
        var(--tw-shadow, 0 0 #0000);
    outline: 2px solid transparent;
}

.select2.select2-container.select2-container--default.select2-container--above {
    /* height: 2.5rem; */
}

.select2 .selection {
    /* height: 2.5rem !important; */
}

.select2,
.select2 .selection .select2-selection,
.select2-province-container,
.select2-selection__rendered {
    /* height: 2.5rem !important;
    line-height: 2.5rem !important; */
    border-radius: 1rem;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    /* line-height: 2.5rem !important; */
    height: 2.5rem !important;
}

.select2 .selection .select2-selection {
    border-width: 2px;
    border-color: #d1d5db;
}

.form-floating {
    margin-bottom: 10px;
    margin-top: 10px;
    position: relative;
    padding: 3px;
}

.form-floating label {
    color: #6b798c;
}

.form-floating input,
.form-floating select {
    height: 2.5rem !important;
    line-height: 2.5rem !important;
    border-radius: 1rem !important;
    padding-right: 5px;
}

.form-floating textarea {
    border-radius: 1rem !important;
    line-height: 2.5rem !important;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__arrow {
    left: 19px;
    right: auto;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__clear {
    float: right;
    margin-right: 5px;
    width: 15px;
}

.select2-container--default[dir="rtl"]
    .select2-selection--single
    .select2-selection__clear
    span {
    float: right;
    margin-right: 5px;
    width: 15px;

    font-size: 25px;
}

.form-floating label.floating {
    position: absolute;
    top: -18px;
    margin-right: 23px;
    right: 30px;
    font-size: 12px;
    background: #ffffff;
    text-align: right;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    border-radius: 14px;
}

input.style1:focus-within ~ label,
input.style1:not(:placeholder-shown) ~ label {
    --tw-translate-y: -1.05rem;
}

.c-switch-slider {
    border-color: #ef4444;
}

.c-switch-slider::before {
    background-color: #ef4444;
}

.c-switch-label .c-switch-slider::after {
    color: #ef4444;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice {
    margin-left: 5px;
    margin-right: auto;
    /* margin: 0 !important; */
    /* padding: 0 !important; */
    height: 30px;
    vertical-align: middle !important;
    margin-top: 0px;
}

.c-switch-label .c-switch-input:checked ~ .c-switch-slider::before {
    transform: translateX(72px);
}

.c-switch-label {
    width: 100px;
}

.required_field {
    color: red;
    font-size: 12px;
    font-weight: normal;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__choice__remove {
    border-left: 1px solid #aaa;
    border-right: none;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    height: 100%;
    font-size: 25px;
    vertical-align: middle;
}

.select2-container--default[dir="rtl"]
    .select2-selection--multiple
    .select2-selection__clear {
    float: left;
    margin-left: 10px;
    margin-right: auto;
    height: 100%;
    font-size: 25px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    background: transparent;
    border: none;
    outline: 0;
    box-shadow: none;
    -webkit-appearance: textfield;
    /* height: 100%; */
    padding-right: 5px;
}

.font-bold {
    word-break: break-all;
}

span.value_remove {
    position: absolute;
    left: -7px;
    top: 6%;
    font-size: 25px;
    cursor: pointer;
}

span.value_remove:hover {
    text-decoration: underline;
}

.modal-dialog {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0;
    /* max-width: 90%; */
}

.modal-content {
    height: auto;
    min-height: 100%;
    border-radius: 0;
    min-height: 50vh !important;
    top: 20px;
    padding: 10px;
    border-radius: 5px;
}

.c-switch-label.c-switch-opposite-green {
    width: 48px;
}

.c-switch-opposite-green .c-switch-input:checked + .c-switch-slider {
    background-color: #2eb85c;
    border-color: #2eb85c;
}

.c-switch-label.c-switch-opposite-green
    .c-switch-input:checked
    ~ .c-switch-slider::before {
    transform: translateX(22px);
}

.c-switch-opposite-green .c-switch-input:checked + .c-switch-slider::before {
    background-color: #ffffff;
    border-color: #2eb85c;
}

.select2,
.select2 .selection .select2-selection,
.select2-province-container,
.select2-selection__rendered {
    min-height: 36px;
}

.DeleteBtn {
    color: #e84646;
    cursor: pointer;
}

.cards tbody {
    display: flex !important;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.cards tbody tr {
    flex: 0 0 100%;
    width: 100%;
}

/* 
.cards tbody tr td {
    display: block;
    padding: 5px;
    margin: 5px;
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    border-radius: 0.25rem;
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 10%);
} */

.cards tbody tr td {
    display: inline-flex;
    padding: 5px;
    margin: 5px;
    /* border: 0.0625rem solid rgba(0, 0, 0, .125); */
    /* border-radius: 0.25rem; */
    box-shadow: 0.25rem 0.25rem 0.25rem rgb(0 0 0 / 10%);
    /* flex: 0 0 25%; */
    flex-flow: row wrap;
}

.table tbody label {
    display: none;
}

.cards tbody label {
    display: inline;
    position: relative;
    /* font-size: 85%; */
    float: right;
    color: #808080;
    min-width: 4rem;
    /* margin-right: 0; */
    /* margin-left: 1rem; */
    text-align: right;
    margin: 0;
    padding: 0;
}

tr.selected label {
    color: #404040;
}

.table .fa {
    font-size: 2.5rem;
    text-align: center;
}

.cards .fa {
    font-size: 7.5rem;
}

.cards tbody tr td:first-child {
    background: #10b981 !important;
    color: white;
    width: 95%;
    align-items: center;
    display: block;
    text-align: center;
}

.cards tbody tr td:first-child label {
    background: #10b981 !important;
    color: white;
    text-align: center;
    align-items: center;
}

@media screen and (max-width: 1024px) {
    .cards tbody tr {
        flex: 0 0 33%;
        width: 33%;
    }
}

@media screen and (max-width: 768px) {
    .cards tbody tr {
        flex: 0 0 50%;
        width: 50%;
    }
}

@media screen and (max-width: 430px) {
    .cards tbody tr {
        flex: 0 0 100%;
        width: 100%;
    }
}

.spinner {
    position: absolute;
    left: 50%;
    top: 50%;
    height: 60px;
    width: 60px;
    margin: 0px auto;
    -webkit-animation: rotation 0.6s infinite linear;
    -moz-animation: rotation 0.6s infinite linear;
    -o-animation: rotation 0.6s infinite linear;
    animation: rotation 0.6s infinite linear;
    border-left: 6px solid rgba(0, 174, 239, 0.15);
    border-right: 6px solid rgba(0, 174, 239, 0.15);
    border-bottom: 6px solid rgba(0, 174, 239, 0.15);
    border-top: 6px solid rgba(0, 174, 239, 0.8);
    border-radius: 100%;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(359deg);
    }
}

@-moz-keyframes rotation {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(359deg);
    }
}

@-o-keyframes rotation {
    from {
        -o-transform: rotate(0deg);
    }

    to {
        -o-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(359deg);
    }
}

.spanner {
    position: fixed;
    top: 50%;
    left: 0;
    background: #2a2a2a55;
    width: 100%;
    display: block;
    text-align: center;
    height: 300px;
    color: #fff;
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
}

.loader,
.loader:before,
.loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: load7 1.8s infinite ease-in-out;
    animation: load7 1.8s infinite ease-in-out;
}

.loader {
    color: #ffffff;
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    top: 0;
}

.loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loader:after {
    left: 3.5em;
}

@-webkit-keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes load7 {
    0%,
    80%,
    100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.show {
    visibility: visible;
}

.spanner,
.overlay {
    opacity: 0;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.spanner.show,
.overlay.show {
    opacity: 1;
}

.pagination {
    display: block;
}

li.page-item {
    display: inline-block;
}

input:disabled {
    background-color: #f1ecec !important;
    padding: 10px !important;
    margin: 0 !important;
    border: solid 1px #bbb3b3;
}

@media (max-width: 991.98px) {
    .c-sidebar {
        --is-mobile: true;
        position: fixed;
        top: 0;
        bottom: 0;
        z-index: 1031;
    }
    html:not([dir="rtl"]) .c-sidebar:not(.c-sidebar-right) {
        left: 0;
    }
    html:not([dir="rtl"]) .c-sidebar.c-sidebar-right {
        right: 0;
    }
    *[dir="rtl"] .c-sidebar:not(.c-sidebar-right) {
        right: 0;
        display: none;
    }
    *[dir="rtl"] .c-sidebar.c-sidebar-right {
        left: 0;
    }
}

*[dir="rtl"] .c-sidebar.c-sidebar-show:not(.c-sidebar-right),
*[dir="rtl"] .c-sidebar.c-sidebar-show:not(.c-sidebar-right) {
    margin-right: 0;
    display: block;
    right: 0;
    left: auto;
    position: absolute;
}
