.main-content iframe {
    width: 100%;
    height: 100vh;
    border: none;
    padding: 0;
    margin: 0;
}

.main-content .page-content .info button {
    margin-right: 15px;
}

.cms-info-box {
    cursor: default;
    padding-top: 10px;
    padding-left: 30px;
}

.cms-info-box ._tab {
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
}

.cms-info-box .btn-details {
    margin: 20px 0 10px;
}

.cms-info-box ._form {
    margin-bottom: 10px;
}

.cms-info-box ._form ._field {
    display: flex;
    align-items: center;
}

.cms-info-box ._form ._label {
    display: inline-block;
    min-width: 250px;
    font-weight: bold;
    text-transform: capitalize;
}

form ._label {
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
    text-transform: capitalize;
}

form ._input label {
    font-weight: 500;
}

form ._input label span.frm_radio {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

form ._field {
   padding-bottom: 1rem;
}

.purlbeDialog .cms_button_box {
    padding-top: 20px;
}

form .purl_imageset {
    padding: 0;
}

form .has-preview {
    display: inline-block;
    margin: 0 5px 5px 0;
    width: 120px;
    height: 80px;
    border: 2px solid #e9ecef;
}

._purlMultiRecordListForm .has-preview {
    scale: 0.5;
}

._purlMultiRecordListForm .custom-file {
    display: flex;
    align-items: center;
}

form .dropify-clear {
    top: 50% !important;
    transform: translate(50%, -50%);
    margin-right: 0 !important;
    right: 50% !important;
    padding: 2px 4px !important;
    transition: transform 0.3s ease-in-out !important;
    pointer-events: none;
}

form .dropify-wrapper .dropify-close {
    position: absolute;
    opacity: 0;
    z-index: 7;
    right: 4%;
    top: 4%;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    transform: translate(4%, -4%);
    transition: transform 0.3s ease-in-out;
    pointer-events: none;
}

.swal2-container .swal2-popup {
    width: auto;
    position: fixed;
    max-width: 1440px;
    max-height: 720px;
}

.swal2-container .swal2-popup .swal2-image {
    max-height: 540px;
}

.swal2-container img {
    width: auto;
    height: auto;
    object-fit: contain;
}

form .purl-container.ui-tabs-panel {
    padding-left: 20px;
    padding-top: 20px;
    border-left: 1px solid #dee2e6;
    min-height: 350px;
}

form ._input input[type="radio"]:active {
    background-color: #a9cff5;
}

form ._input input[type="radio"]:checked:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free', sans-serif;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    position: absolute;
    border: 5px solid #007bff;
}

.cms-info-box ._form ._input {
    display: inline-block;
}

.main-content .page-content .footer {
    position: unset;
    margin-top: 10px;
    padding: 20px 0 0;
}

.icon-dir {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: transparent url('/images/admin/sprite.png') no-repeat scroll 0 0
}

.icon-file {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    background: transparent url('/images/admin/sprite.png') no-repeat scroll -25px 0
}

table .sorting-title {
    padding-left: 30px;
    cursor: pointer;
    position: relative;
}

table .sorting-title:after,
table .sorting-title:before {
    position: absolute;
    bottom: 0.9em;
    display: block;
    opacity: 0.3;
}

table .sorting-title:before {
    left: 1em;
    content: "\2191";
}

table .sorting-title:after {
    left: 0.5em;
    content: "\2193";
}

table tbody tr td .sort_handle {
    cursor: row-resize;
    display: inline-block;
    width: 25px;
    height: 25px;
}

.ui-sortable-handle {
    -ms-touch-action: none;
    touch-action: none
}

.dataTables_filter label {
    padding-left: 10px;
}

.dataTables_wrapper select {
    width: auto;
    margin-left: 0.5em;
}

.purlAdministratorAcl tbody .title,
table:not(.ui-datepicker-calendar,.purlAdministratorAcl) tbody tr:not(.selected):nth-of-type(odd) {
    background-color: #f8f9fa;
}

table tbody tr.info.has-icon td:first-child {
    padding-top: 4px !important;
}

.purl-container {
    margin-bottom: 1rem;
}

form ._menu button {
    margin-top: 15px;
    margin-right: 15px;
}

.hide-content {
    display: none;
}

table tbody ._action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: all;
    margin-top: -1px;
}

table thead th {
    /*border-bottom: 1px solid #dee2e6 !important;*/
}

table tr.selected {
    border-top: 1px solid #1976d2;
}

table tr.selected td {
    border-color: transparent !important;
}

.child-info-old .cms-info-box,
.child-info .cms-info-box {
    height: 0;
    overflow: hidden;
    transition: height 0.35s ease;
}

.child-info-old .cms-info-box.show,
.child-info .cms-info-box.show {
    height: auto;
}

table .cms-info-box .buttons {
    margin: 10px 0;
}

table tbody ._action button {
    margin-bottom: 5px;
    margin-right: 0 !important;
    width: 68px;
}

table tr._del {
    opacity: 0.5;
    pointer-events: none;
    border-bottom: 1px solid transparent;
}

table tr button._undo,
table tr._del button._del {
    display: none;
}

table tr._del button._undo {
    display: block;
}

table .child-info-old ._product_models ._input,
table .child-info ._product_models ._input {
    white-space: normal;
}

table tbody tr td .purlPopupButton {
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 3px;
    transition: all 0.3s ease;
    cursor: text;
    overflow: hidden;
}

table tbody tr td .purlPopupButton ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.filter input,
.filter select {
    min-width: 100px;
}

.filter input,
table tbody tr td .custom-file-label,
table tbody tr td .custom-file-label:after,
._purlMultiRecordListForm td input,
table tbody tr td .purlPopupButton,
table tbody tr.info td input {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 0 0.25rem 0.4rem;
    font-size: .76562rem;
}

.filter select,
._purlMultiRecordListForm td select,
table tbody tr.info td select {
    height: calc(1.5em + 0.5rem + 2px);
    padding: 0.25rem 1.25rem 0.25rem 0.5rem;
    font-size: .76562rem;
}

form table tbody {
    cursor: unset;
}

table tbody tr td .custom-file-label:after {
    height: auto !important;
    padding: 0.375rem 0.75rem !important;
}

table tbody tr td .custom-file label {
    font-weight: 400;
}

table tbody tr td .custom-file li {
    margin: 0;
}

table tbody {
    cursor: pointer;
}

.table-responsive {
    overflow-y: hidden;
}

table .child-info td {
    border-top: 0;
}

table .child-info {
    transition: all 0.3s ease;
}

table .sort_hide {
    display: inline-block;
    width: 25px;
    height: 25px;
}

table .sort_hide i {
    display: none;
}

table .file_id {
    margin-left: 5px;
}

table td {
    vertical-align: middle !important;
}

table .stock {
    display: flex;
    align-items: center;
}

table .stock span:first-child {
    margin-right: 5px;
    width: 50px;
}

.navbar-header .badge-pill {
    margin-left: -6px;
}

.navbar-header .badge {
    font-size: 70%;
}

.navbar-header .dropdown .dropdown-menu .menu-item {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.navbar-header .dropdown .dropdown-menu .menu-item img {
    width: 20px;
    height: 20px;
}

.navbar-header .dropdown .dropdown-menu .menu-item a {
    padding-left: 10px;
}

.nav-tabs .nav-item .nav-link {
    transition: all 0.3s ease;
}

.nav-tabs .nav-item.sel .nav-link,
.nav-tabs .nav-item.ui-tabs-active .nav-link {
    border-color: #dee2e6 #dee2e6 #fff;
    cursor: default;
}

.nav-tabs.move_breadcrumb .nav-item:not(.sel) .nav-link:hover,
.nav-tabs:not(.move_breadcrumb) .nav-item:not(.ui-tabs-active) .nav-link:hover {
    color: #1976d2;
    border: 1px solid transparent;
}

div.mce-fullscreen {
    position: absolute !important;
    border: 1px solid #ced4da;
}

.purlbeDialog:not(.purlAdmin) .mce-widget[aria-label="Fullscreen"],
.purlbeDialog:not(.purlAdmin) .mce-widget .mce-i-fullscreen {
    display: none;
}

textarea {
    resize: none;
}

ul.message-stack {
    list-style: none;
    padding: 0;
}

ul.message-stack li {
    padding: 0.375rem 0.75rem;
    border-radius: 3px;
}

ul.message-stack li.error {
    background: #ffecec;
    border: 1px solid #f5aca6;
}

.custom-file {
    list-style-type: none;
    padding: 0;
}

.custom-file li {
    cursor: col-resize;
    position: relative;
    margin: 0 5px 5px 0;
    overflow: hidden;
}

._purlMultiRecordListForm .custom-file li {
    overflow: unset;
}

.custom-file[data-single="1"] li {
    cursor: default;
}

form ._date input,
.custom-file li._add {
    width: 273px;
}

.custom-control-label,
.custom-control-label:after {
    cursor: pointer;
}

.custom-file .dropify-wrapper .dropify-preview {
    display: flex;
    justify-content: center;
}

.custom-file.purl_fileset .dropify-wrapper .dropify-preview {
    align-items: center;
    justify-content: center;
    font-size: 11px;
    word-break: break-word;
}

.custom-file .dropify-wrapper .dropify-message {
    display: flex;
    font-size: 11px;
    flex-wrap: wrap;
    line-height: 13px;
    align-items: center;
    justify-content: center;
}

.custom-file .dropify-wrapper .file-icon {
    font-size: 20px !important;
    padding-bottom: 4px;
}

.custom-file.readonly li button, .custom-file.readonly li._add {
    display: none;
}

.purlbeDialog ._form ._field._optionset {
    position: relative;
}

.purlbeDialog ._form ._field._optionset ._input {
    display: block;
    position: static;
    clear: both;
    white-space: normal;
    width: auto;
    max-height: 515px;
    overflow: auto;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    background: #f8f8f8;
    border: 1px solid #e5e5e5;
}

.purlbeDialog ._form ._field._optionset ._input .custom-control {
    padding-bottom: 0.5rem;
}

.purlbeDialog ._form ._field._optionset ul.optionset-control {
    display: block;
    list-style: none;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.purlbeDialog ._form ._field._optionset ul.optionset-control li {
    display: inline-block;
    margin-right: 10px;
    font-size: 14px;
    /*font-weight: 600;*/
    transition: all 0.3s ease;
}

.purlbeDialog ._form ._field._optionset ul.optionset-control li:hover {
    color: #1976d2;
}

.purlbeDialog ._form ._field._optionset ul.optionset-control li a {
    cursor: pointer;
}

.purlbeDialog ._form ._field label .info {
    margin-left: 8px;
    font-size: 10px;
    position: absolute;
    color: #fff;
    top: 28px;
    z-index: 1;
    left: -16px;
    background: rgba(0,0,0,.7);
    padding: 5px;
    min-width: 100px;
    width: 100%;
    display: none;
    border: 1px solid #e9ecef;
    align-items: center;
    justify-content: center;
}

.purlbeDialog ._form ._field label .arrow {
    position: absolute;
    top: -8px;
    left: 50%;
    margin-left: -8px;
    border-right: 8px solid transparent;
    border-bottom: 8px solid rgba(0,0,0,.7);
    border-left: 8px solid transparent;
    border-top: 0;
}

form ._field ._info,
table ._field ._info {
    font-size: 80%;
    font-weight: 400;
}

.purlbeDialog ._form ._field .custom-control:hover label.has-info .info {
    display: flex;
}

.custom-file-input {
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: .875rem;
    cursor: pointer;
}

.custom-file-label {
    font-weight: 400 !important;
    cursor: pointer;
    font-size: .875rem;
}

.custom-file-label:after {
    font-weight: 500;
}

.ui-datepicker {
    max-width: 100vw;
    box-shadow: 0 2px 4px -1px #0003, 0 4px 5px #00000024, 0 1px 10px #0000001f;
    background-color: #fff;
    padding: 10px;
    z-index: 99 !important;
    color: #495057;
}

.ui-datepicker a {
    color: #2f2f2f;
    cursor: pointer;
}

.ui-datepicker .ui-datepicker-header {
    display: flex;
    align-items: flex-start;
    padding: 5px 5px 5px 16px;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title {
    font-size: 16px;
    margin-right: auto;
    order: -1;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-title .ui-datepicker-year {
    padding: 5px !important;
    margin: 0 5px 7px !important;
    border: 0 !important;
    cursor: pointer;
    color: #495057;
}

.ui-datepicker .ui-datepicker-header .ui-icon {
    display: inline-block;
    padding: 3px;
    font-size: 0;
    border: solid #747a80;
    border-width: 0 2px 2px 0;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-next .ui-icon {
    transform: rotate(-45deg);
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev {
    margin-right: 10px;
}

form .input-view {
    height: auto !important;
    min-height: 35px;
}

.purlInputEditableMenu,
.purlInputEditableMenu input {
    max-width: 200px;
    min-width: 200px;
}

.ui-widget-content.ui-menu {
    background: #fff;
    color: #495057;
    border: 1px solid #ced4da;
    padding: 0.375rem 1rem 0.375rem 0.25rem;
    max-height: 390px;
    overflow-y: auto;
    position: absolute;
    list-style-type: none;
    max-width: 200px;
}

.ui-widget-content.ui-menu .ui-menu-item {
    padding: 3px 1em 3px 0.4em;
    cursor: pointer;
    font-weight: normal;
    display: block;
    white-space: nowrap;
    min-height: 1.2em;
    list-style-type: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ui-widget-content.ui-menu .ui-menu-item:hover {
    background: #f7f7f7;
}

.ui-datepicker .ui-datepicker-header .ui-datepicker-prev .ui-icon {
    transform: rotate(135deg);
}

form ._date span.frm_field {
    position: relative;
}

form ._date input {
    display: inline;
}

form ._date button {
    background: transparent;
    border-width: 0;
    position: absolute;
    padding: 5px;
    right: 0;
    transition: all 0.3s ease;
}

.frm_select {
    float: unset !important;
}

form .purlOrderHistoryDetail {
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    cursor: default;
    padding-top: 10px;
    padding-left: 11px;
    padding-right: 20px;
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-title .logo-bg {
    height: 30px;
    width: 30px;
    margin-right: 5px;
    background-image: url(/purl/backend/assets/images/logo.png);
    background-size: cover;
}

.logo span {
    display: unset;
}

.page-link {
    line-height: 1;
}

form ._date button:hover {
    background: #2a3f50;
    color: #fff;
}

form ._date button:hover img {
    filter: brightness(0) invert(1);
}

form ._date img {
    width: 25px;
    height: 25px;
}

.ui-datepicker .ui-datepicker-header .ui-icon:before {
    left: 50%;
    transform: translate(-50%, -50%);
}

.ui-datepicker .ui-datepicker-header .ui-icon:hover {
    background: #f7f7f7;
}

.ui-datepicker .ui-datepicker-calendar {
    font-size: 14px;
    font-weight: 400;
    border-collapse: collapse;
}

.ui-datepicker .ui-datepicker-calendar thead {
    border-bottom: 1px solid #e0e0e0;
}

.ui-datepicker .ui-datepicker-calendar thead th {
    color: rgba(0,0,0,0.541);
    font-size: 11px;
    font-weight: 400;
    text-align: center;
    padding: 0 0 8px 0;
}

.ui-datepicker .ui-datepicker-calendar tbody td {
    padding: 2px 0;
}

.ui-datepicker .ui-datepicker-calendar tbody tr:first-child td {
    padding-top: 7px;
}

.ui-datepicker .ui-datepicker-calendar span,
.ui-datepicker .ui-datepicker-calendar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    text-align: center;
    border-radius: 50%;
    color: #434343;
    font-weight: 400;
}

.ui-datepicker .ui-datepicker-calendar a.ui-state-active {
    color: #fff !important;
    background: #c5cae9;
}

.ui-datepicker .ui-datepicker-calendar a:hover {
    background: #c5cae9;
}

.ui-datepicker .ui-datepicker-calendar .ui-datepicker-today a {
    border: 1px solid #4c4646;
}

.ui-datepicker .ui-datepicker-calendar .ui-datepicker-today a:hover {
    background: #c5cae9;
}

table td button {
    margin-right: 15px;
}

#sidebar-menu .mm-active > a {
    color: #1976d2 !important;
}

.product-button-box,
.cms_button_box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.dataTables_paginate ul {
    display: flex;
}

.popup-image-footer .arrow.hide {
    opacity: 0;
    pointer-events: none;
}

.popup-image-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.popup-image-footer .arrow {
    font-size: 24px;
    color: #000;
    cursor: pointer;
}

.rider-photos img {
    transition: all 0.3s ease;
}

.rider-photos img:hover {
    scale: 1.05;
}

table tbody tr td .purlPopupButton,
._purlMultiRecordListForm td select,
.purlRecordListForm td select,
.purlRecordListForm td input[type="text"],
._purlMultiRecordListForm td input[type="text"] {
    min-width: 150px;
}

.purlRecordListForm td input[type="number"],
._purlMultiRecordListForm td input[type="number"] {
    min-width: 100px;
}

.popup-image-delete {
    color: #fff;
    background-color: #000;
    border-color: #000;
}

form .purl_fileset .dropify-wrapper.active .dropify-clear,
form .purl_fileset .dropify-wrapper.active .dropify-preview .dropify-infos,
form .purl_fileset .dropify-wrapper:hover .dropify-close:hover {
    opacity: 1;
}

form .dropify-wrapper.active.new .dropify-clear,
form .purl_fileset .dropify-wrapper.active .dropify-clear,
form .purl_fileset .dropify-wrapper:hover .dropify-close {
    pointer-events: all;
}

@media only screen and (min-width: 1025px) {
    form .dropify-wrapper.active .dropify-clear,
    form .dropify-wrapper:hover .dropify-close {
        pointer-events: all;
    }

    form .dropify-wrapper:hover .dropify-close {
        opacity: 0.8;
    }

    form .dropify-wrapper:hover .dropify-close:hover {
        opacity: 1;
    }

    button.popup-image-delete {
        /*display: none;*/
    }

    .popup-image-footer .arrow:hover {
        opacity: 0.6;
        transition: all 0.3s ease;
    }

    form .dropify-wrapper:hover .dropify-clear {
        pointer-events: all;
    }
}


@media only screen and (max-width: 768px) {
    form[name="riderapp"] ._form {
        width: 100%;
        padding-right: 0;
    }

    li.paginate_button {
        display: unset;
    }

    table .child-info-old .cms-info-box,
    table .child-info .cms-info-box {
        padding-left: 10px;
        font-size: 12px;
    }

    .cms-info-box ._form ._label {
        min-width: 200px;
    }
}

@media only screen and (max-width: 600px) {
    .purlInputEditableMenu input {
        padding-right: 25px !important;
        text-overflow: ellipsis !important;
    }

    .input-view-photos {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .input-view-photos img {
        padding: 2px;
    }

    table .info .info-title:first-child,
    .purlInputEditableMenu .form-control,
    .card-content table .form-control {
        min-width: 200px !important;
    }

    .purlbeDialog form:not(.purlOrderHistoryForm) table td {
        padding: 0.25rem 0.65rem !important;
    }

    .card-content table td {
        padding: 0.55rem 0.65rem !important;
    }

    table tbody tr.info.has-icon td:first-child {
        padding-top: 2px !important;
    }

    .nav-tabs {
        padding-bottom: 10px;
    }

    .nav-tabs .ui-tabs-active a {
        color: #fff;
        background-color: #1976d2;
    }
}

@media only screen and (max-width: 450px) {
    form ._date input,
    .custom-file li._add,
    .product-button-box button,
    form ._menu button,
    .cms_button_box button {
        width: 100%;
    }

    .ui-datepicker {
        padding: 10px 7px 10px;
    }

    body a,
    body {
        font-size: 12px !important;
    }
}