/* Custom CSS */

/* conmon */
.hide {
    display: none;
}

.top {
    vertical-align: top !important;
}

.middle {
    vertical-align: middle !important;
}

.bottom {
    vertical-align: bottom !important;
}

.user-name {
    font-size: 1rem;
    /* color: var(--main-bg-color); */
    color: #9b9b9b;
}

.max-width {
    max-width: 500px;
}

.max-width-mobile {
    max-width: 445px;
}

.img-circle {
    border-radius: 200px;
}

.content-wrapper {
    background: #f5f5f5;
}

/* page */
.page-title {
    font-weight: 500;
    font-size: 1.575rem !important;
}

.breadcrumb li {
    line-height: 2;
    font-size: 0.9rem !important;
}

.radio-inline {
    margin: 0px;
    padding-bottom: 15px;
}

.badge-pill-title {
    font-size: 0.95rem !important;
    padding: 3px 15px;
}

label {
    margin-bottom: 0.75rem;
}

form label {
    margin-bottom: 0.5rem;
}

.link-active {
    color: #495057 !important;
}

.badge.badge-pill {
    font-size: 0.9rem !important;
    padding: 8px;
    min-width: 30px;
}

.content-wrapper {
    padding: 1.5rem 1.5rem;
}

/* card */
.card .card-title {
    color: #000000;
    font-size: 1.3rem;
}

.card .card-title i {
    font-size: 0.9rem;
    font-weight: 900;
}

.card .header {
    font-size: 1.2rem !important;
    padding-bottom: 15px;
    margin-bottom: 30px;
    border-bottom: 1px rgba(var(--main-bg-color-rgb), 30%) solid;
    color: var(--main-bg-color);
}

.header {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px rgba(var(--main-bg-color-rgb), 30%) solid;
    color: var(--main-bg-color);
}

.card .header i {
    font-size: 1.35rem;
    font-weight: 600;
}

.card-header {
    padding: 1.35rem 1.25rem 0;
    background-color: #ffff;
    border-bottom: 0px solid #e3e3e3;
}

.card-title .btn {
    margin-top: -10px;
}

/* accordion */
.accordion.accordion-solid-content .card .card-body {
    padding: 0 2rem 2rem 2rem;
    background: unset;
    color: unset;
}

.accordion .card .card-header * {
    font-weight: 700;
    font-size: 1.125rem;
}

.accordion.accordion-solid-content .card .card-header a {
    font-weight: 500 !important;
    padding: 0rem 0 0.5rem 0;
}

.accordion.accordion-solid-content .card .card-header {
    padding: 1rem 1.437rem 0;
}

.accordion.accordion-solid-content .card .card-header a:before {
    top: 30%;
    right: 10px;
    display: block;
}

@media (max-width: 400px) {
    .accordion.accordion-solid-content .card .card-header a:before {
        display: none;
    }
}

.select2-container--default.select2-container--disabled
    .select2-selection--single {
    background-color: #e9ecef70 !important;
}

/* input */
.form-control,
.asColorPicker-input,
.dataTables_wrapper select,
.jsgrid .jsgrid-table .jsgrid-filter-row input[type="text"],
.jsgrid .jsgrid-table .jsgrid-filter-row select,
.jsgrid .jsgrid-table .jsgrid-filter-row input[type="number"],
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-search__field,
.typeahead,
.tt-query,
.tt-hint {
    height: 3rem;
    padding: 0.7rem 1.375rem !important;
    color: unset !important;
    font-size: 0.95rem !important;
}

.input-group-append .input-group-text,
.input-group-prepend .input-group-text {
    font-size: 0.9rem;
    border-color: #c9ccd7;
    padding: 0.575rem 0.75rem;
    color: #c9c8c8;
}

.form-group {
    margin-bottom: 1rem;
}

.form-check-label {
    cursor: pointer;
}

/* pagination */
.pagination .page-item:hover .page-link.disabled {
    cursor: no-drop;
    background: #ffff;
    border-color: #dee2e6;
    color: #000000;
}

@media (max-width: 620px) {
    .nav-pagination {
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    .navbar .navbar-brand-wrapper {
        width: 0px;
    }

    .page-link,
    .jsgrid .jsgrid-pager .jsgrid-pager-nav-button a,
    .jsgrid .jsgrid-pager .jsgrid-pager-page a {
        padding: 0.5rem 0.5rem;
    }
}

/* select2 */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    top: 11px;
    right: 5px;
}

.select2-container {
    display: block;
    width: 100% !important;
}

.select2-container--open {
    display: block;
    width: auto !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__clear {
    margin-top: -2px;
    font-size: 2.3rem !important;
}

.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single .select2-search__field {
    padding: 0.6rem 1.375rem;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    line-height: 1.5;
}

.select2-results__option {
    font-size: 0.95rem !important;
}

/* select2-multiple */
.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    font-size: 25px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice
    .select2-selection__choice__remove {
    font-size: 25px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    padding: 0px 6px 3px !important;
    font-size: 0.85rem;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__remove {
    margin-right: 8px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    padding: 0 0 0 8px;
}

.select2-container--default .select2-selection--multiple {
    height: 3rem;
    padding: 5px 10px !important;
    border-radius: 0px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__clear {
    margin-top: 0px;
}

.select2-container .select2-search--inline .select2-search__field {
    font-size: 0.95rem !important;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    margin-top: 6px;
}

.select2-container--default
    .select2-selection--multiple
    .select2-selection__rendered {
    width: 100%;
    /* margin-left: 7px; */
}
/* 
.select2-container--default
    .select2-selection--multiple
    .select2-selection__choice {
    line-height: 1.4 !important;
} */

/* calendar */
.fc .fc-header-toolbar .fc-center h2 {
    font-size: 1.12rem;
    font-weight: 600 !important;
}

.fc .fc-widget-header table tr th span {
    font-size: 1rem;
}

.fc .fc-content-skeleton table tr td {
    padding: 0.2rem;
    font-size: 0.875rem;
}

.fc .fc-event .fc-title {
    font-size: 0.8rem;
}

tr:first-child > td > .fc-day-grid-event {
    margin-top: 0px;
}

.fc .fc-event {
    padding: 0.2rem;
}

.fc .fc-event.fc-start {
    background: #2196f3e0;
}

.fc .fc-event.fc-start {
    border-radius: 5px;
}

/* wizard */
.wizard > .content > .body label.error {
    margin-left: 0em !important;
}

/* button */
.btn {
    padding: 0.675rem;
    font-size: 1rem !important;
}

.btn-icon-prepend {
    font-size: 1rem !important;
}

.btn-white {
    border: gray 1px solid;
}

.icon {
    font-size: 1.5rem !important;
    margin: 3px;
}
.icon-md {
    font-size: 1.25rem !important;
}

a.icon:hover {
    text-decoration: none;
}

.text-warning {
    color: #ff9800 !important;
}

.btn-secondary {
    color: #f8f9fa;
}

.btn-warning {
    color: #f8f9fa;
    background-color: #ff9800 !important;
    border-color: #ff9800 !important;
}

.btn-warning:hover {
    color: #f8f9fa;
    background-color: #ff9800c2 !important;
    border-color: #ff9800c2 !important;
}

.btn-info {
    color: #fbfdff;
    background-color: #68afff;
    border-color: #68afff;
}

.btn-light {
    color: #212529;
    background-color: #e6e6e6;
    border-color: #f8f9fa;
}

.btn.btn-icon-text .btn-icon-prepend,
.fc button.btn-icon-text .btn-icon-prepend,
.ajax-upload-dragdrop .btn-icon-text.ajax-file-upload .btn-icon-prepend,
.swal2-modal
    .swal2-buttonswrapper
    .btn-icon-text.swal2-styled
    .btn-icon-prepend,
.wizard > .actions a.btn-icon-text .btn-icon-prepend {
    margin-right: 0.25rem;
}

.theme-explorer-fa .file-drag-handle,
.theme-explorer-fa .file-upload-indicator {
    display: none !important;
}

.icon-point::before {
    content: "";
    width: 5px;
    height: 5px;
    position: absolute;
    margin-top: 5px;
    border-radius: 50%;
    background: #b2b2b2;
}

.btn.btn-sm {
    padding: 0.8rem;
    font-size: 1rem !important;
}

.btn.btn-md {
    padding: 1rem;
    font-size: 1rem !important;
}

.btn.btn-lg {
    font-size: 1rem !important;
    padding: 0.875rem 1.35rem;
}

/* search */
.has-search .form-control {
    padding-left: 2.375rem;
}

.has-search .form-control-feedback {
    position: absolute;
    z-index: 2;
    display: block;
    width: 2.375rem;
    height: 2.375rem;
    line-height: 2.375rem;
    text-align: center;
    pointer-events: none;
    color: #aaa;
}

.form-search-icon-cancel {
    margin: -30px 10px 0px 0px;
    cursor: pointer;
}

/* fileinput */
.file-thumb-progress > .progress {
    height: 15px !important;
}

.file-thumb-progress .progress,
.file-thumb-progress .progress-bar {
    font-size: 12px !important;
}

.file-preview .fileinput-remove {
    font-size: 30px !important;
}

.theme-explorer-fa .file-preview-frame {
    border: 1px solid #dddddd3b !important;
}

.file-actions button {
    padding: 10px 13px;
    margin: 2px 0px;
}

.kv-upload-progress .progress {
    display: none;
}

.file-caption-icon .fa-exclamation-circle {
    margin: 6px 0 0 3px;
}

.file-caption-icon .kv-caption-icon {
    margin: 6px 0 0 3px;
}

.input-group-btn .btn-file {
    padding: 0.85rem;
}

.file-preview .fileinput-remove {
    display: none;
}

.file-error-message .close {
    font-size: 2.5rem;
    margin-top: -15px;
}

.file-error-message {
    padding: 10px 15px;
}

.kv-file-content .file-preview-video {
    width: 100% !important;
    height: 95px !important;
    padding: 3px;
}

.kv-zoom-body .file-preview-video {
    width: 100% !important;
    height: auto !important;
    padding: 3px;
}

.theme-explorer-fa .explorer-frame .kv-file-content {
    text-align: center;
}

.btn-navigate .fa-caret-right,
.btn-navigate .fa-caret-left {
    font-size: 3rem !important;
}

.kv-zoom-actions .btn-toggleheader,
.kv-zoom-actions .btn-fullscreen,
.kv-zoom-actions .btn-borderless {
    display: none;
}

/* radio button */
.form-check .form-check-label input[type="radio"] + .input-helper:before {
    border: solid #caccd7;
}

.form-check
    .form-check-label
    input[type="radio"]:checked
    + .input-helper:before {
    background: #6b6c6d;
}

/* checkbox */
.form-check .form-check-label input[type="checkbox"] + .input-helper:before {
    border: solid #caccd7;
    width: 20px !important;
    height: 20px !important;
}

.form-check
    .form-check-label
    input[type="checkbox"]:checked
    + .input-helper:before {
    background: #6b6c6d;
}

.form-check .form-check-label {
    line-height: 1.25;
}

.form-check
    .form-check-label
    input[type="checkbox"]:checked
    + .input-helper:after {
    padding-top: 1px !important;
}

/* modal */
.modal .modal-dialog .modal-content .modal-header {
    padding: 15px 26px;
}

.modal .modal-dialog .modal-content .modal-footer {
    padding: 5px 31px;
}

/* tab */
.nav-tabs .nav-item.nav-item-custom {
    width: 100px;
    text-align: center;
}

.nav-tabs .nav-link.nav-link-custom {
    padding: 0.75rem 0.35rem;
    font-size: 13px;
    font-weight: 400 !important;
}

/* radio-tile-group */
.radio-tile-group {
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    /* -webkit-box-pack: center;
    justify-content: center; */
}

.radio-tile-group .input-container {
    position: relative;
    /* height: 5rem; */
    /* width: 6.6rem; */
    /* margin: 0.25rem 0.15rem 0.85rem 0.85rem; */
    margin: 0.25rem 0.65rem 0.85rem 0.65rem;
    width: auto;
}

.radio-tile-group .input-container-article {
    position: relative;
    /* height: 5rem; */
    /* width: 6.6rem; */
    margin: 0.25rem 0.15rem 0.85rem 0.85rem;
    /* margin: 0.25rem 0.85rem 0.85rem 0.85rem; */
    width: auto;
}
.radio-tile-group .input-container-article-xl {
    position: relative;
    /* height: 5rem; */
    /* width: 6.6rem; */
    margin: 0.25rem 0.15rem 0.85rem 0.85rem;
    /* margin: 0.25rem 0.85rem 0.85rem 0.85rem; */
    width: auto;
}
.radio-tile-group .input-container-small-article {
    position: relative;
    margin: 0.25rem 0.15rem 0.85rem 0.85rem;
    width: auto;
}

.radio-tile-group .input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .input-container-article .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}
.radio-tile-group .input-container-article-xl .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .input-container-small-article .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .input-container .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    /* width: 150px; */
    width: 120px;
    height: 68px !important;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .input-container-small-article .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 250px;
    height: 60px !important;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}
.disabledx {
    background-color: #b4b4b4;
    border: 2px solid #b4b4b4 !important;
    color: #fff;
}

.disabledx.xsmall {
    border: 2px solid #b4b4b4 !important;
    background-color: #fff;
    color: #b4b4b4 !important;
}

.radio-tile-group .input-container-article .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 450px;
    height: 60px !important;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .input-container-article .radio-tile.disabledx {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 450px;
    height: 60px !important;
    border: 2px solid #c9c9c9;
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}
.radio-tile-group .input-container-article-xl .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 550px;
    height: 60px !important;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .input-container-article-xl .radio-tile.disabledx {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 550px;
    height: 60px !important;
    border: 2px solid #c9c9c9;
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .input-container-article .radio-tile.disabled {
    border: 2px solid #c9c9c9;
}

.radio-tile-group .input-container-article .radio-tile.green {
    border: 2px solid #2ac544;
}

.radio-tile-group .input-container-article .radio-tile.red {
    border: 2px solid #f97171;
}

.radio-tile-group .input-container .radio-tile.disabled {
    border: 2px solid #c9c9c9;
}

.radio-tile-group .input-container .radio-tile.green {
    border: 2px solid #2ac544;
}
.radio-title-2-x {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px var(--main-bg-color);
}
.radio-title-2-x.green {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px #2ac544;
}
/*

.radio-title-2-x::after {
    content: '';
    position: absolute;
    top: 4px;
    right: -8px;
    bottom: -8px;
    left: 4px;
    border: 2px solid var(--main-bg-color);
    border-top: none;
    border-left:none;
    border-radius: 5px;
} */

.radio-tile-group .input-container .icon svg {
    fill: var(--main-bg-color);
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .input-container .radio-tile-label {
    text-align: center;
    font-size: 0.925rem !important;
    font-weight: 600 !important;
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    color: var(--main-bg-color);
    margin-bottom: 0 !important;
    /* text-wrap: nowrap; */
}

.radio-tile-group .input-container .radio-tile-label.disabled {
    color: #c9c9c9;
}

.radio-tile-group .input-container-article .icon svg {
    fill: var(--main-bg-color);
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .input-container-article .disabledx .radio-tile-label {
    text-align: center;
    font-size: 1rem !important;
    font-weight: 300 !important;
    /* letter-spacing: 1px; */
    color: #fff;
    margin-bottom: 0 !important;
    /* text-wrap: nowrap; */
}

.radio-tile-group .input-container-article .disabled .radio-tile-label {
    color: #c9c9c9;
}

.radio-tile-group .input-container-article .green .radio-tile-label {
    color: #2ac544;
}

.radio-tile-group .input-container-article .red .radio-tile-label {
    color: #f97171;
}

.radio-tile-group .input-container .green .radio-tile-label {
    color: #2ac544;
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile {
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-bg-color);
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group .input-container .radio-button:checked + .radio-tile.green {
    background-color: #2ac544;
    border: 1px solid #2ac544;
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .input-container
    .radio-button:checked
    + .radio-tile
    .icon
    svg {
    fill: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .input-container
    .radio-button:checked
    + .radio-tile
    .radio-tile-label {
    color: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .input-container
    .radio-button:checked
    + .radio-tile.green
    .radio-tile-label {
    color: white;
    background-color: #2ac544;
}

.radio-tile-group .input-container .radio-tile.fixed-height {
    height: 75px;
}

.radio-tile-group .input-container-article .radio-button:checked + .radio-tile {
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-bg-color);
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .input-container-article
    .radio-button:checked
    + .radio-tile.green {
    background-color: #2ac544;
    border: 1px solid #2ac544;
    color: white;
    /* -webkit-transform: scale(1.1, 1.1);
    transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .input-container-article
    .radio-button:checked
    + .radio-tile
    .icon
    svg {
    fill: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .input-container-article
    .radio-button:checked
    + .radio-tile
    .radio-tile-label {
    color: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .input-container-article
    .radio-button:checked
    + .radio-tile.green
    .radio-tile-label {
    color: white;
    background-color: #2ac544;
}

.radio-tile-group .input-container-article .radio-tile.fixed-height {
    height: 75px;
}

/* rectangle */
.radio-tile-group .input-container.input-rectangle {
    width: 305px !important;
    height: 4rem;
    margin: 0.5rem !important;
}

.radio-tile-group .input-container .radio-tile.input-rectangle {
    width: unset !important;
    height: 65px;
}

.radio-tile-group
    .input-container
    .radio-button:checked
    + .radio-tile.input-rectangle {
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

/* table */
.table th,
.jsgrid .jsgrid-table th,
.table td,
.jsgrid .jsgrid-table td {
    padding: 0.95rem 0.9375rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #7cb7fd0d;
}

.table thead th {
    vertical-align: middle;
    line-height: 1.25;
    font-size: 1rem !important;
    font-weight: 600 !important;
}

@media only screen and (max-width: 1230px) and (min-width: 992px) {
    .table thead th {
        font-size: 0.7rem !important;
    }
}

table.dataTable td,
table.dataTable th {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

th.column-no {
    width: 10% !important;
    padding-left: 1.25rem !important;
}

td.column-no {
    width: 10% !important;
    padding-left: 1.75rem !important;
}

.column-tools {
    width: 20% !important;
}

table.dataTable {
    width: 100% !important;
}

div.dataTables_length label {
    font-weight: normal;
    text-align: left;
    white-space: nowrap;
}

div.dataTables_length .custom-select {
    max-width: 70px;
    margin: 3px;
}

div.dataTables_filter {
    text-align: right;
}

div.dataTables_filter input {
    margin-left: 0.5em;
    display: inline-block;
    width: auto;
}

div.dataTables_paginate {
    margin: 0;
    white-space: nowrap;
    text-align: right;
}

div.dataTables_paginate ul.pagination {
    margin: 2px 0;
    white-space: nowrap;
    justify-content: flex-end;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 25px;
}

.select2-dropdown {
    z-index: 1051 !important;
    /* position: fixed; */
}

/* li */
.list-ticked li:before,
.list-arrow li:before,
.list-star li:before {
    font-size: 0.9rem;
    line-height: 2.2;
}

/* error */
.error-page h1 {
    font-size: 9rem;
}

.error {
    border-color: #ec1f1f !important;
    color: #ec1f1f !important;
}

.select2-container.error {
    border: #ec1f1f 1px solid;
}

label.error {
    margin-bottom: 0rem;
    /* margin-top: 3px; */
    font-size: 0.95rem !important;
}

input.error,
textarea.error {
    color: #000000 !important;
}

/* menu */
.sidebar {
    width: 240px;
}

.menu-title {
    padding-top: 3px;
}

.sidebar .nav .nav-item .nav-link .menu-title {
    font-weight: 300 !important;
}

.sidebar .nav:not(.sub-menu) > .nav-item {
    margin-top: 0.7rem;
}

.sidebar {
    background: #f5f5f5;
}

@media screen and (max-width: 991px) {
    .sidebar-offcanvas.active {
        left: 0 !important;
        right: unset;
    }

    .sidebar-offcanvas {
        position: fixed;
        max-height: calc(100vh - 70px);
        top: 30px;
        bottom: 0;
        overflow: auto;
        left: -270px;
        -webkit-transition: all 0.25s ease-out;
        -o-transition: all 0.25s ease-out;
        transition: all 0.25s ease-out;
    }

    .navbar .navbar-brand-wrapper .navbar-brand.brand-logo-mini {
        display: none;
    }

    .navbar .navbar-menu-wrapper {
        width: calc(100% - 0px);
    }

    .navbar .navbar-menu-wrapper .navbar-toggler.navbar-toggler-right {
        padding-left: 5px !important;
    }

    .navbar .navbar-brand-wrapper {
        width: 0px;
    }

    .logo-mobile {
        display: block;
    }

    .navbar
        .navbar-menu-wrapper
        .navbar-nav
        .nav-item.dropdown
        .navbar-dropdown {
        position: absolute;
        font-size: 0.9rem;
        margin-top: 0;
        right: 10px;
        left: auto;
        width: unset;
    }
}

@media (max-width: 480px) {
    .navbar .navbar-brand-wrapper {
        width: 0px;
    }
}

.sidebar .nav .nav-item .nav-link .menu-title {
    /* font-size: 1.1rem; */
    font-size: 1rem;
    line-height: 1.25;
}

.navbar .navbar-menu-wrapper .navbar-toggler.navbar-toggler-right {
    padding-left: 25px;
}

.navbar .navbar-menu-wrapper {
    padding-left: 0.55rem;
}

.sidebar-icon-only
    .navbar
    .navbar-menu-wrapper
    .navbar-toggler:not(.navbar-toggler-right) {
    transform: unset;
}

.ti-menu {
    font-size: 23px;
}

.sidebar .nav.sub-menu .nav-item .nav-link {
    font-size: 0.93rem;
    line-height: 1.25;
    padding: 0.6rem 0.35rem 0.6rem 0.75rem;
    max-width: 190px;
}

.sidebar .nav .nav-item .nav-link i.menu-arrow {
    margin-right: -23px;
    margin-top: 5px;
}

.sidebar .nav .nav-item .nav-link {
    padding: 0.6rem 1.937rem 0.6rem 0.6rem;
    white-space: normal;
}

.sidebar .nav.sub-menu {
    padding: 0.25rem 0 0 1.75rem;
}

/* .sidebar .nav .nav-item .nav-link {
    white-space: break-spaces;
} */
@media (min-width: 992px) {
    .sidebar-fixed .main-panel {
        margin-left: 240px;
    }
}

.sidebar .nav .nav-item .nav-link i.menu-icon {
    font-size: 1.1rem;
}

.ps__thumb-y {
    right: 0px;
}

.sidebar .nav {
    margin-bottom: 100px;
}

/* logo */
.navbar .navbar-brand-wrapper .brand-logo img {
    /* width: calc(185px - 130px) !important; */
    width: 80px !important;
    height: unset !important;
}

.navbar .navbar-brand-wrapper .brand-logo-mini img {
    width: 32px !important;
    height: unset !important;
}

/* swal */
.swal2-icon.swal2-warning {
    border-color: #ff9800 !important;
    color: #ff9800 !important;
}

.swal2-icon.swal2-error {
    border-color: #ff4646 !important;
}

.swal2-icon.swal2-error [class^="swal2-x-mark-line"] {
    background-color: #ff4646 !important;
}

.swal2-modal .swal2-icon,
.swal2-modal .swal2-success-ring {
    margin-bottom: 25px;
}

.swal2-popup #swal2-content {
    margin-top: 5px;
    font-size: 1.1rem !important;
}

.swal2-popup {
    height: 24em !important;
    width: 25em !important;
    /* width: 26.5em !important; */
}

.swal2-popup #swal2-content div {
    font-size: 1.05rem !important;
}

.swal2-popup .swal2-title {
    font-size: 1.3em !important;
    color: #636565 !important;
    font-weight: 500 !important;
}

.swal2-popup .swal2-styled.swal2-confirm:focus {
    outline: none;
    box-shadow: none;
}

.swal2-popup .swal2-styled.swal2-cancel {
    background-color: #a3a4a5;
}

/* flatpickr */
.flatpickr-time {
    text-align: left;
    max-height: unset !important;
}

.flatpickr-input[readonly] {
    background-color: #fff;
}

.flatpickr-time input {
    font-size: 17.6px;
}

/* tagify */
.tagify {
    padding: 3px !important;
    border-radius: 2px !important;
    border: 1px solid #c9ccd7 !important;
}

/* datatable */
.dataTables_scrollHead,
.dataTables_scrollBody {
    width: 100% !important;
}

.dataTables_wrapper .dataTables_length select {
    padding-left: 0.75rem;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 5px 0 0 0;
}

@media screen and (max-width: 767px) {
    div.dataTables_wrapper div.dataTables_length {
        text-align: left !important;
    }

    div.dataTables_wrapper div.dataTables_filter {
        margin-top: -53.32px;
        text-align: right !important;
    }

    div.dataTables_wrapper div.dataTables_info,
    div.dataTables_wrapper div.dataTables_paginate {
        text-align: left !important;
    }
}

@media screen and (max-width: 500px) {
    div.dataTables_wrapper div.dataTables_length {
        text-align: left !important;
    }

    div.dataTables_wrapper div.dataTables_filter {
        margin-top: unset;
        text-align: right !important;
    }
}

/* lightgallery */
.lg-backdrop {
    z-index: 1050;
}

.lg-outer {
    z-index: 1060;
}

.lightGallery .image-tile {
    margin: 0px;
    padding: 0px;
}

.lightGallery > a {
    border: 1px solid #fff;
    border-radius: 3px;
    display: block;
    overflow: hidden;
    position: relative;
    float: left;
}

.lightGallery > a:hover > img {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

.lightGallery > a > img {
    -webkit-transition: -webkit-transform 0.15s ease 0s;
    -moz-transition: -moz-transform 0.15s ease 0s;
    -o-transition: -o-transform 0.15s ease 0s;
    transition: transform 0.15s ease 0s;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
    height: 100%;
    width: 100%;
}

.lightGallery .image-tile {
    flex: 0 0 33.33%;
    max-width: 33.33%;
}

@media (min-width: 768px) {
    .lightGallery .image-tile {
        flex: 0 0 16.66%;
        max-width: 16.66%;
    }
}

@media (min-width: 1200px) {
    .lightGallery .image-tile {
        flex: 0 0 14.28%;
        max-width: 14.28%;
    }
}

.modal-sm {
    max-width: 600px !important;
}

.lightGallery .image-tile img {
    max-height: 125px;
}

/* modal */
.modal-backdrop {
    z-index: 1035;
}

/*@media (min-width: 576px) {
    .modal-dialog {
        max-width: 650px;
    }
}
@media (min-width: 992px) {
    .modal-dialog {
        max-width: 90% !important;
    }
}*/
.modal .modal-dialog {
    margin-top: 60px;
}

@media (min-width: 576px) {
    .modal-md {
        max-width: 750px;
    }

    .modal-lg {
        max-width: 900px;
    }
}

/* loading */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 10px;
    height: 5px;
    margin: 0 0px 7px -35px;
}

.lds-spinner div {
    transform-origin: 40px 18px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 2px;
    left: 38px;
    width: 3px;
    height: 8px;
    border-radius: 20%;
    background: #03a9f4;
}

.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}

.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}

.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}

.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}

.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}

.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}

.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}

.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}

.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}

.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}

.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}

.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* jquery.toast */
.jq-toast-single h2 {
    font-size: 15px !important;
}

.close-jq-toast-single {
    font-size: 25px;
}

.jq-toast-wrap {
    width: 275px;
}

.jq-icon-info {
    background-size: 28px 25px;
}

/* custom-switch */
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: #f44336;
    background-color: #f44336;
}
.text-danger2 {
    color: #ff4747 !important;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::after {
    background-color: #fff;
    transform: translateX(1.25rem);
}

.custom-switch .custom-control-label::after {
    top: calc(0.25rem + 2px);
    left: calc(-2.25rem + 2px);
    width: calc(1rem - 4px);
    height: calc(1.25rem - 4px);
}

.custom-control-label::before {
    position: absolute;
    top: 0.25rem;
    left: -1.5rem;
    display: block;
    width: 1rem;
    height: 1.25rem;
}

.custom-switch .custom-control-label::before {
    width: 2.25rem;
}

.copy-first-detail-alert,
.copy-second-detail-alert {
    display: none;
}

@media only screen and (min-width: 500px) {
    .margin-revert-20 {
        margin-top: -20px;
    }
}

.select2-search--dropdown .select2-search__field {
    padding: 7px !important;
    font-size: 0.95rem !important;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: unset !important;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 0px;
}

.td-light-blue {
    background-color: #8affff !important;
}

.td-blue {
    background-color: #8ac5ff !important;
}

.td-green {
    background-color: #3dcc3d26 !important;
}

.td-pink {
    background-color: #fed9d4 !important;
}

.td-dark-pink {
    background-color: #fcaca3 !important;
}

.td-yellow {
    background-color: #ffffa5 !important;
}

.td-dark-yellow {
    background-color: #ffff4d !important;
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
    h3,
    .h3 {
        font-size: 1.5rem;
        margin-bottom: 5px !important;
    }
}

/* Large devices (desktops, 992px and up) */

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .content-wrapper {
        padding: 20px 7px 7px 7px !important;
    }

    ol,
    .breadcrumb .breadcrumb-item,
    .breadcrumb-item a,
    border-right,
    .breadcrumb a {
        font-size: 1rem !important;
    }

    .badge.badge-pill {
        font-size: 1rem !important;
    }

    div,
    th,
    td,
    label,
    a,
    li,
    .table thead th {
        font-size: 1rem !important;
    }

    h4 {
        font-size: 1.3rem !important;
    }

    h5 {
        font-size: 1.1rem !important;
    }

    .visitation-menu {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */

.sortable:hover {
    cursor: all-scroll;
    background-color: #f5f5f5;
}

.monday {
    background-color: #fdfd83;
}

.tuesday {
    background-color: #ffcce1;
}

.wednesday {
    background-color: #baffc9;
}

.thursday {
    background-color: #ffb056;
}

.friday {
    background-color: #bae1ff;
}

.saturday {
    background-color: #bab8f9;
}

.sunday {
    background-color: #f15a60;
}

/* datepicker */
input[class*="datepicker"] {
    background-color: #fff !important;
    cursor: pointer;
}

.datepicker table {
    width: 100%;
}

.datepicker thead tr:first-child th,
.datepicker tfoot tr th {
    font-weight: 300;
}

.datepicker thead tr:first-child th:hover,
.datepicker tfoot tr th:hover {
    background: #eeeeee !important;
}

.datepicker-days .icon-arrow-left,
.datepicker-days .icon-arrow-right,
.datepicker-months .icon-arrow-left,
.datepicker-months .icon-arrow-right,
.datepicker-years .icon-arrow-left,
.datepicker-years .icon-arrow-right {
    font-family: themify !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
}

.datepicker-days .icon-arrow-left:before,
.datepicker-months .icon-arrow-left:before,
.datepicker-years .icon-arrow-left:before {
    content: "\e64a";
}

.datepicker-days .icon-arrow-right:before,
.datepicker-months .icon-arrow-right:before,
.datepicker-years .icon-arrow-right:before {
    content: "\e649";
}

.datepicker.datepicker-dropdown td.day,
.datepicker.datepicker-dropdown th.next,
.datepicker.datepicker-dropdown th.prev {
    height: 30px;
    width: 30px !important;
    padding: 5px 0px;
    text-align: center;
    font-weight: 300;
    /* border-radius: 50px; */
    font-size: 16px !important;
}

.datepicker.datepicker-dropdown.dropdown-menu {
    padding: 0.5rem 0.15rem;
    -webkit-box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6,
        0 -1px 0 #e6e6e6, 0 3px 13px rgb(0 0 0 / 8%);
    box-shadow: 1px 0 0 #e6e6e6, -1px 0 0 #e6e6e6, 0 1px 0 #e6e6e6,
        0 -1px 0 #e6e6e6, 0 3px 13px rgb(0 0 0 / 8%);
    border: 0;
    width: 300px;
}

.datepicker.datepicker-dropdown .datepicker-days,
.datepicker.datepicker-inline .datepicker-days {
    padding: 0 0 0.35rem 0;
}

.datepicker.datepicker-dropdown th.next,
.datepicker.datepicker-dropdown th.prev {
    vertical-align: bottom;
}

.datepicker table tr td span {
    height: 50px;
    line-height: 48px;
}

.datepicker table tr td span.active.active {
    background: linear-gradient(to right, #569ff6 0, #569ff6 100%) !important;
    border-radius: 0.25rem;
    color: #fff;
}

.datepicker td,
.datepicker th {
    color: #555;
}

.datepicker table tr td.active,
.datepicker table tr td.selected,
.datepicker table tr td.today,
.datepicker table tr td.today.disabled,
.datepicker table tr td.today.disabled:hover,
.datepicker table tr td.today:hover,
.datepicker.datepicker-dropdown td.day:hover,
.gradient-9 {
    box-shadow: 0 0 30px 5px rgb(255 255 255 / 30%);
    background: linear-gradient(to right, #569ff6 0, #569ff6 100%);
}

.datepicker.datepicker-dropdown th.next:hover,
.datepicker.datepicker-dropdown th.prev:hover {
    /* color: #569ff5 !important; */
    background: none !important;
}

.datepicker table tr td.active.active,
.datepicker table tr td.selected {
    box-shadow: 0 0 30px 5px rgb(255 255 255 / 30%);
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.active:before,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day.active:before {
    background: #569ff6 !important;
    border: 0 !important;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.dow,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.dow {
    font-family: "Prompt", sans-serif !important;
    color: #0000008a;
    font-weight: 200;
    font-size: 15.84px;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day {
    color: #393939;
    font-weight: 300;
    padding: 0.5rem 0rem;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.new {
    color: #3939394d;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.disabled {
    cursor: not-allowed;
    color: #3939391a;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day:hover,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day:hover {
    cursor: pointer;
    outline: 0;
    background: #e6e6e6 !important;
    border-color: #e6e6e6;
    border-radius: 50px;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.active,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day.active {
    background: #569ff6 !important;
    border-color: #569ff6;
    color: #fff !important;
    border-radius: 50px;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.datepicker-switch,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.datepicker-switch {
    padding-bottom: 0rem;
    padding-top: 0rem;
    font-weight: 300;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    thead
    tr
    th,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    thead
    tr
    th {
    padding: 0;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.next,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.next {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.prev,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    thead
    tr
    th.prev {
    padding-bottom: 0.25rem;
    padding-top: 0.25rem;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today {
    background: none;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today:before,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today:before {
    background: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    width: 42px;
    height: 42px;
    border-radius: 50px;
    padding: 0.5rem;
    border: 1px solid #c9ccd7;
    top: 0px;
}

.datepicker.datepicker-dropdown
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today,
.datepicker.datepicker-inline
    .datepicker-days
    table.table-condensed
    tbody
    td.day.today {
    color: #0000008a;
}

.btn-delete-drug-allergy {
    color: red;
    margin-left: 20px;
    font-size: 20px;
    cursor: pointer;
}

.no-drug-allergy {
    border: 1px solid red;
}

.groub-drugallergy {
    margin-bottom: 10px;
}

.show-data-drugallergy {
    width: 60%;
    font-size: 16px;
    margin-top: 5px;
}

.show-note-drugallergy {
    width: 30%;
}

#checkNoDrugAllergy {
    margin-left: 10px;
}

.menu-new-notify {
    color: #ffffff;
    margin: -3px 5px !important;
}
/* datepicker */

.hidden-audio {
    position: absolute;
    top: -9999px;
    left: -9999px;
    visibility: hidden;
}

/* Loading spinner */
.loading {
    display: inline-block;
    width: 80px;
    height: 80px;
    border: 8px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top-color: var(--main-bg-color);
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

/* Animation */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Center loading spinner within its container */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* Ensure the container takes full height */
    width: 100%; /* Ensure the container takes full width */
    min-height: 200px; /* Set a minimum height for the container if needed */
}

.treatment-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-tile-group .treatment-input-container {
    position: relative;
    margin: 0.25rem 0.15rem 0.35rem 0.85rem;
    width: auto;
}

.radio-tile-group .treatment-input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .treatment-input-container .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    /* align-items: center; */
    -webkit-box-pack: center;
    justify-content: center;
    width: 180px;
    height: 100%;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 0.5rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .treatment-input-container .radio-tile.fixed-height {
    height: 120px;
}

.radio-tile-group .treatment-input-container .radio-tile.disabled {
    border: 2px solid #c9c9c9;
}

.radio-tile-group .treatment-input-container .radio-tile.green {
    border: 2px solid #2ac544;
}

.radio-tile-group .treatment-input-container .radio-tile.red {
    border: 2px solid #f97171;
}

.radio-tile-group .treatment-input-container .radio-tile.new {
    background-color: #feffc6;
}

.radio-title-2-x {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px var(--main-bg-color);
}
.radio-title-2-x.disabled {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px #c9c9c9;
}

.radio-title-2-x.green {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px #2ac544;
}

.radio-title-2-x.red {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px #f97171;
}

.radio-tile-group .treatment-input-container .icon svg {
    fill: var(--main-bg-color);
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .treatment-input-container .radio-tile-label {
    font-size: 1rem !important;
    font-weight: 300 !important;
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    color: var(--main-bg-color);
    margin-bottom: 0 !important;
    text-wrap: nowrap;
}

.radio-tile-group .treatment-input-container .disabled .radio-tile-label {
    color: #c9c9c9;
}

.radio-tile-group .treatment-input-container .green .radio-tile-label {
    color: #2ac544;
}

.radio-tile-group .treatment-input-container .red .radio-tile-label {
    color: #f97171;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile {
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-bg-color);
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
    padding: 3px;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.green {
    background-color: #2ac544;
    border: 2px solid #2ac544;
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.red {
    background-color: #f97171;
    border: 2px solid #f97171;
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile
    .icon
    svg {
    fill: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.green
    .icon
    svg {
    fill: white;
    background-color: #2ac544;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.red
    .icon
    svg {
    fill: white;
    background-color: #f97171;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile
    .radio-tile-label {
    color: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.green
    .radio-tile-label {
    color: white;
    background-color: #2ac544;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.red
    .radio-tile-label {
    color: white;
    background-color: #f97171;
}

/* rectangle */
.radio-tile-group .treatment-input-container.input-rectangle {
    width: 305px !important;
    height: 4rem;
    margin: 0.5rem !important;
}

.radio-tile-group .treatment-input-container .radio-tile.input-rectangle {
    width: unset !important;
    height: 65px;
}

.radio-tile-group
    .treatment-input-container
    .radio-button:checked
    + .radio-tile.input-rectangle {
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

.radio-button + .radio-tile .svg-icon-corner path {
    stroke: var(--main-bg-color);
}

.radio-button + .radio-tile.green .svg-icon-corner path {
    stroke: #2ac544;
}

.radio-button + .radio-tile.red .svg-icon-corner path {
    stroke: #f97171;
}

.radio-button:checked + .radio-tile .svg-icon-corner path {
    stroke: white;
}

.radio-button:disabled + .radio-tile .svg-icon-corner path {
    stroke: #c9c9c9;
}

.radio-button:checked + .radio-tile {
    background-color: var(--main-bg-color);
    color: white;
}

.radio-button + .radio-tile .svg-corner {
    cursor: pointer;
}

.radio-button:checked + .radio-tile .svg-corner {
    cursor: auto;
}

.svg-corner {
    position: absolute;
    top: 5px;
    right: 5px;
}

.svg-icon-corner {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes blink {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.blinking-svg {
    animation: blink 1s linear infinite;
}

tr.disabled {
    pointer-events: none;
    opacity: 0.5;
}

.input-container-small {
    width: 139px !important;
}

/* จ่ายยา */
.drug-input-container {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.radio-tile-group .drug-input-container {
    position: relative;
    margin: 0.25rem 0.15rem 0.85rem 0.85rem;
    width: auto;
}

.radio-tile-group .drug-input-container .radio-button {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    margin: 0;
    cursor: pointer;
}

.radio-tile-group .drug-input-container .radio-tile {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    width: 170px;
    height: 80px !important;
    border: 2px solid var(--main-bg-color);
    border-radius: 5px;
    padding: 1rem;
    -webkit-transition: -webkit-transform 300ms ease;
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease, -webkit-transform 300ms ease;
}

.radio-tile-group .drug-input-container .radio-tile.disabled {
    border: 2px solid #c9c9c9;
}

.radio-tile-group .drug-input-container .radio-tile.green {
    border: 2px solid #2ac544;
}
.radio-title-2-x {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px var(--main-bg-color);
}
.radio-title-2-x.green {
    box-shadow: 1px 1px 0px 1px white, 4px 4px 3px 1px #2ac544;
}

.radio-tile-group .drug-input-container .icon svg {
    fill: var(--main-bg-color);
    width: 3rem;
    height: 3rem;
}

.radio-tile-group .drug-input-container .radio-tile-label {
    text-align: center;
    font-size: 0.925rem !important;
    font-weight: 300 !important;
    /* text-transform: uppercase; */
    /* letter-spacing: 1px; */
    color: var(--main-bg-color);
    margin-bottom: 0 !important;
    /* text-wrap: nowrap; */
}

.radio-tile-group .drug-input-container .radio-tile-label.disabled {
    color: #c9c9c9;
}

.radio-tile-group .drug-input-container .green .radio-tile-label {
    color: #2ac544;
}

.radio-tile-group .drug-input-container .radio-button:checked + .radio-tile {
    background-color: var(--main-bg-color);
    border: 2px solid var(--main-bg-color);
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .drug-input-container
    .radio-button:checked
    + .radio-tile.green {
    background-color: #2ac544;
    border: 1px solid #2ac544;
    color: white;
    /* -webkit-transform: scale(1.1, 1.1); */
    /* transform: scale(1.1, 1.1); */
}

.radio-tile-group
    .drug-input-container
    .radio-button:checked
    + .radio-tile
    .icon
    svg {
    fill: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .drug-input-container
    .radio-button:checked
    + .radio-tile
    .radio-tile-label {
    color: white;
    background-color: var(--main-bg-color);
}

.radio-tile-group
    .drug-input-container
    .radio-button:checked
    + .radio-tile.green
    .radio-tile-label {
    color: white;
    background-color: #2ac544;
}

.radio-tile-group .drug-input-container .radio-tile.fixed-height {
    height: 75px;
}

/* rectangle */
.radio-tile-group .drug-input-container.input-rectangle {
    width: 305px !important;
    height: 4rem;
    margin: 0.5rem !important;
}

.radio-tile-group .drug-input-container .radio-tile.input-rectangle {
    width: unset !important;
    height: 65px;
}

.radio-tile-group
    .drug-input-container
    .radio-button:checked
    + .radio-tile.input-rectangle {
    -webkit-transform: scale(1.05, 1.05);
    transform: scale(1.05, 1.05);
}

/* pos-form */
#pos-form .card-options {
    height: calc(100vh - 155px) !important;
}

#pos-form .wizard > .steps > ul > li {
    width: 22%;
    /* 66/3=22 */
}
#pos-form .wizard > .steps > ul > li:nth-child(4) {
    width: 34%;
    /* 100-66=34 */
}
@media (max-width: 1000px) {
    #pos-form .wizard > .steps > ul > li {
        width: 25% !important;
    }
}
@media (max-width: 767px) {
    #pos-form .wizard > .steps > ul > li {
        width: 50% !important;
    }
}
#pos-form .wizard > .steps a {
    margin: 0 1em 0.5em;
    display: block;
    position: relative;
    padding-left: 2rem;
}
#pos-form .wizard > .steps a svg {
    position: absolute;
    left: 11px;
    width: 36px;
    height: 40px;
    top: 8px;
}
#pos-form .wizard > .content {
    background: unset;
    border: unset;
}
#pos-form .title svg {
    width: 36px;
    height: 36px;
    margin-right: 0px;
    margin-top: -3px;
}
#pos-form .wizard > .content {
    overflow: hidden;
}
.show-services-section {
    height: calc(100vh - 400px) !important;
    max-height: 640px;
    margin-bottom: 1rem;
}
#pos-form .wizard > .content > .body {
    padding: 5px !important;
}

.breadcrumb a {
    font-size: 0.9rem !important;
}

/* แพ็กเกจ */
/* #pos-form .package-group-new-products-group-section {
    position: relative;
    height: 350px;
    overflow-x: hidden;
    overflow-y: scroll;
} */

/* เลือกกลุ่มย่อยแพ็กเกจ */
#pos-form .package-group-new-products-group-name-section,
#pos-form .package-group-new-products-group-section {
    margin-left: 1.5rem !important;
}
#pos-form
    .package-group-new-products-group-name-section
    .radio-tile-group
    .input-container
    .radio-tile {
    width: 350px;
    transform: unset;
}
#pos-form
    .package-group-new-products-group-section
    .radio-tile-group
    .input-container
    .radio-tile {
    width: 162px;
    height: 80px !important;
}
#pos-form
    .package-group-new-products-group-section
    .radio-tile-group
    .input-container
    .radio-tile
    label {
    font-weight: 400 !important;
}

/* เลือกกลุ่มย่อยแพ็กเกจ LV2 */
#pos-form .package-new-products-section {
    margin-left: 0.5rem !important;
}
#pos-form .packages-new-group .radio-tile {
    width: 368px !important;
    transform: unset;
}
#pos-form .packages-new .radio-tile {
    width: 170px !important;
    height: 80px !important;
}
#pos-form .packages-new.radio-tile-group .input-container .radio-tile label {
    font-weight: 400 !important;
}

/* เลือกรายละเอียดของหัตถการ */
#pos-form .package-new-product-top-show,
#pos-form .package-new-product-top2-show {
    margin-left: 0.5rem !important;
}
#pos-form
    .package-new-product-top-show
    .radio-tile-group
    .input-container-article
    .radio-tile {
    width: 550px;
    height: 70px !important;
}
#pos-form
    .package-new-product-top-show
    .radio-tile-group
    .input-container-article
    .radio-tile
    label {
    font-weight: 500 !important;
}
#pos-form
    .package-new-product-top2-show
    .radio-tile-group
    .input-container-article
    .radio-tile {
    width: 267px;
    height: 75px !important;
}

/* product */
#pos-form .article-products-detail .input-container-article .radio-tile {
    width: 295px !important;
    height: 70px !important;
}
#pos-form .article-products-detail .input-container-article .radio-tile label {
    font-size: 1rem !important;
    font-weight: 600 !important;
}
#pos-form .detail-of-product .radio-tile {
    width: 350px !important;
    height: 65px !important;
}
#pos-form .detail-of-medicine_product .radio-tile {
    width: 162px !important;
}
#pos-form .detail-product-of-course .radio-tile {
    width: 162px !important;
}
#pos-form .products .radio-tile {
    width: 131px !important;
}

/* gifts */
#pos-form .gifts .radio-tile {
    width: 350px !important;
    height: 68px !important;
}
#pos-form .gifts .radio-tile label {
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
}
#pos-form .gift-selected-details .input-container-article .radio-tile label {
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0 !important;
}
#pos-form .gift-selected-details .radio-tile {
    width: 465px !important;
    height: 68px !important;
}
#pos-form .gift-products .radio-tile {
    width: 220px !important;
}

/* order */
.services-table th {
    font-size: 0.95rem !important;
    padding: 0.8rem 0.65rem !important;
}
.services-table td {
    padding: 0.8rem 0.65rem !important;
}

/* เลือกยา */
.drug-section {
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    height: 400px;
    width: 100%;
}
.custom-checkbox-box {
    border-radius: 3px;
}
.custom-checkbox-box.lg {
    width: 20px;
    height: 20px;
}
.custom-checkbox-input:checked + .custom-checkbox-box.lg:after {
    top: 0px;
    left: 7px;
    width: 5px;
    height: 14px;
}

/* การจ่ายเงิน */
.payment-section,
.payment-order-section {
    overflow-x: hidden;
    overflow-y: scroll;
    height: calc(100vh - 225px) !important;
}

#pos-form .not-dispense {
    font-size: 1.05rem !important;
}

#pos-form .case-review-content {
    margin-top: -10px !important;
}

/* .form-check .form-check-label input[type="radio"]+.input-helper:after {
    top: 5.5px;
    left: 6.5px;
} */

#edit-services .btn-warning {
    padding: 1rem 0.6rem;
    font-size: 0.975rem !important;
}

/* Samsung Galaxy Tab A9 แนวนอน */
@media only screen and (max-width: 1340px) {
    #pos-form div,
    #pos-form th,
    #pos-form td,
    #pos-form label,
    #pos-form a,
    #pos-form li {
        font-size: 0.875rem !important;
    }

    .table thead th,
    .services-table td,
    .services-table td div a {
        font-size: 0.875rem !important;
    }

    .total-cost-row .total-cost-label {
        font-size: 1rem !important;
    }

    #pos-form .wizard > .steps a svg {
        position: absolute;
        left: 15px;
        width: 25px;
        height: 38px;
        top: 8px;
    }

    /* #pos-form .card-options {
        height: auto !important;
    } */

    #pos-form .title svg {
        width: 30px !important;
        height: 30px;
    }

    #pos-form .title i {
        font-size: 1.4rem !important;
    }

    #pos-form .icon {
        font-size: 1.25rem !important;
    }

    #pos-form .title {
        font-size: 1.15rem !important;
    }

    #pos-form .not-dispense {
        font-size: 1rem !important;
        margin-top: 8px;
    }

    #pos-form .input-group-append button {
        font-size: 0.9rem !important;
    }
    #pos-form .input-group-text {
        font-size: 0.875rem !important;
    }

    .radio-tile-group .input-container .radio-tile {
        width: 122px !important;
        height: 63px !important;
    }

    #pos-form .detail-of-product .radio-tile,
    #pos-form
        .package-new-product-top-show
        .radio-tile-group
        .input-container-article
        .radio-tile,
    #pos-form .gifts .radio-tile,
    #pos-form .gift-selected-details .radio-tile,
    #pos-form .products .radio-tile,
    #pos-form .article-products-detail .input-container-article .radio-tile {
        height: 63px !important;
    }

    .radio-tile-group .input-container .radio-tile-label,
    #pos-form .gifts .radio-tile label,
    #pos-form .gift-selected-details .input-container-article .radio-tile label,
    #pos-form
        .article-products-detail
        .input-container-article
        .radio-tile
        label {
        font-size: 0.875rem !important;
    }

    #edit-services .btn-warning {
        font-size: 0.9rem !important;
        padding: 1rem 0.55rem !important;
    }

    .detail-of-body-position-product .label-text,
    .detail-of-body-position-treatment_by-product .label-text {
        font-size: 0.95rem !important;
    }

    .form-control,
    .asColorPicker-input,
    .dataTables_wrapper select,
    .jsgrid .jsgrid-table .jsgrid-filter-row input[type="text"],
    .jsgrid .jsgrid-table .jsgrid-filter-row select,
    .jsgrid .jsgrid-table .jsgrid-filter-row input[type="number"],
    .select2-container--default .select2-selection--single,
    .select2-container--default
        .select2-selection--single
        .select2-search__field,
    .typeahead,
    .tt-query,
    .tt-hint {
        padding: 0.7rem 0.75rem !important;
    }

    .customer-wallet-balance,
    .customer-balance {
        font-size: 0.875rem !important;
        line-height: 2.25;
    }

    .bath-customer-balance,
    .bath-customer-wallet-balance {
        font-size: 0.85rem !important;
        line-height: 2.25;
    }

    .icon-customer-balance,
    .icon-customer-wallet-balance {
        margin: 4px 4px 0px 0px;
    }

    .save-transaction {
        padding: 0px;
    }

    .save-transaction .btn {
        /* font-size: 0.9rem !important; */
        padding: 0.675rem 0rem !important;
    }

    .custom-pos-row .form-check-label {
        font-size: 0.8rem !important;
        margin-left: 1.5rem !important;
        line-height: 1.5 !important;
    }

    #pos-form .form-check-label {
        font-size: 0.875rem !important;
        margin-left: 1.5rem !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;
    }

    #pos-form .net-price-label {
        font-size: 1.15rem !important;
    }
}

@media only screen and (max-height: 900px) {
    .card-options {
        padding-bottom: 4rem !important;
    }
}

@media only screen and (max-width: 1150px) {
    #pos-form .wizard > .steps a svg {
        display: none;
    }
}

/* iPad Air แนวนอน */
@media only screen and (max-width: 1180px) {
    #pos-form .wizard > .steps a {
        font-size: 0.9rem !important;
        letter-spacing: -0.25px;
    }
    #pos-form .wizard > .steps a svg {
        position: absolute;
        left: 10px;
        width: 25px;
        height: 30px;
        top: 12px;
    }
    .formAllOfProduct {
        height: 200px;
    }

    .table thead th,
    .services-table td,
    .services-table td div a {
        font-size: 0.8rem !important;
    }

    .total-cost-row .total-cost-label {
        font-size: 0.9rem !important;
    }

    .radio-tile-group .input-container .radio-tile {
        width: 120px !important;
        height: 60px !important;
    }

    #pos-form .detail-of-product .radio-tile,
    #pos-form
        .package-new-product-top-show
        .radio-tile-group
        .input-container-article
        .radio-tile,
    #pos-form .gifts .radio-tile,
    #pos-form .gift-selected-details .radio-tile {
        height: 60px !important;
    }
    #pos-form .input-group-text {
        font-size: 0.8rem !important;
    }
}

@media only screen and (max-width: 768px) {
    .formOfProduct {
        margin-bottom: 2rem;
    }
    #pos-form .wizard > .steps a svg {
        display: block;
    }
    #pos-form .gifts .radio-tile {
        width: 300px !important;
    }
    .radio-tile-group .input-container .radio-tile-label,
    #pos-form .gifts .radio-tile label,
    #pos-form .gift-selected-details .input-container-article .radio-tile label,
    #pos-form
        .article-products-detail
        .input-container-article
        .radio-tile
        label {
        font-size: 0.8rem !important;
    }

    .radio-tile-group .drug-input-container .radio-tile {
        width: 150px;
    }

    .radio-tile-group .drug-input-container .radio-tile-label {
        font-size: 0.8rem !important;
    }

    #pos-form .form-check-label {
        font-size: 0.875rem !important;
        margin-left: 1.5rem !important;
        line-height: 1.5 !important;
        white-space: nowrap !important;
    }
}