/*DEFAULTS*/
@media (min-width: 768px) {
    .sidebar {
        width: 20rem !important;
    }
}
@media (min-width: 768px) {
    .sidebar .nav-item .nav-link {
        width: auto !important;
    }
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
input[type='file'] {
    cursor: pointer;
}
.card.bodyless .card-header{
    border-radius: calc(0.35rem - 1px);
    border-bottom: 0;
}
.btn-idle {
    border: 1px solid #d8d8d8;
}
.btn-idle:not(:disabled):hover {
    background-color: #f5f5f5;
}
html.modal-active {
    overflow: hidden !important;
    margin-right: 15px;
}
.fade-enter-active, .fade-leave-active {
    transition: opacity .25s;
}
.fade-enter, .fade-leave-to {
    opacity: 0;
}
.fa.fa-glass:before {
    content: "\f000";
}
.fa.fa-cutlery:before {
    content: "\f2e7";
}
.switch-border {
    display: flex;
    border: 1px solid #cbcbcb;
    border-radius: .35rem;
    align-items: center;
    height: 100%;
    padding-left: 1rem;
}
.custom-switch .custom-control-label::before, .custom-switch .custom-control-label::after {
    cursor: pointer;
}
.custom-checkbox .custom-control-label::before, .custom-checkbox .custom-control-label::after {
    cursor: pointer;
}
.input-no-focus {
    box-shadow: none !important;
    border-color: #d1d3e2 !important;
}
.custom-input-label {
    margin-bottom: .3rem;
}
/*END DEFAULTS*/

/*LISTING WIDGET*/
.listing-widget .listing-category .category-title {
    padding: .65rem 1.5rem;
    border-bottom: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
}
.listing-widget .listing-category .category-title:not(.leaf-category) {
    #cursor: pointer;
}
.listing-widget .listing-category .category-title:not(.subcategory) {
    border-top: 1px solid #e3e3e3;
}
.listing-widget .listing-category .category-title.subcategory {
    padding: .35rem 1.5rem .3rem 1.5rem;
}
.listing-widget .listing-category .category-title a[data-toggle='collapse']:hover, .listing-widget .listing-category .category-title[data-toggle='collapse']:hover {
    cursor: pointer;
    text-decoration: underline;
}
.listing-widget .listing-category .category-title a.collapsed i.fa-angle-down:before, .listing-widget .listing-category .category-title.collapsed i.fa-angle-down:before {
    content: "\f105";
}
.listing-widget .listing-category .category-content .product-table {
    margin-bottom: 0;
    border-bottom: 2px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    padding-top: .5rem;
    padding-bottom: .5rem;
    background-color: white;
}
.listing-widget .listing-category .category-content .product-table thead {
    background-color: #f6f6f6;
}
.listing-widget .listing-category .category-content .product-table tbody tr:not(.table-action-row):hover {
    background-color: rgba(246, 246, 246, 0.61);
    cursor: move;
}
.listing-widget .listing-category .category-content .product-table tbody tr td {
    vertical-align: middle;
    border-right: 1px solid #e3e3e3;
}
.listing-widget .listing-category .category-content .product-table tbody tr td.checkbox-td:hover {
    cursor: default;
}
.listing-widget .listing-category .category-content .product-table tbody tr.table-action-row {
    border-top: 3px solid rgb(227, 227, 227);
    background-color: #f6f6f6;
}
.listing-widget .listing-category .category-content .product-table tbody tr td .visibility-toggle {
    min-width: 75px;
}
.table.table-custom {
    font-size: .8rem;
    overflow: hidden;
}
.table.table-custom thead th {
    border-right: 1px solid #e3e3e3;
}
.table.table-custom .dropdown-menu {
    border-radius: 0;
}
.table.table-custom .dropdown-menu .dropdown-item {

}
.listing-widget .listing-category .category-content .category-empty {
    padding: .75rem 1.5rem .8rem 1.5rem;
    background-color: #f6f6f6;
    text-align: center;
    border-bottom: 1px solid #e3e3e3;
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    font-size: .9rem;
}
/*END LISTING WIDGET*/

/*CREATE PRODUCT*/
.form-lang-group {
    display: block;
    width: 100%;
    position: relative;
}
.form-lang-group .lang-input {
    padding-right: 45px;
}
.form-lang-group .lang-label {
    display: block;
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    width: 40px;
    border-top-right-radius: .35rem;
    border-bottom-right-radius: .35rem;
    border-left: 1px solid #d1d3e2;
    background-color: #f8f9fc;
}
.form-lang-group .lang-label .flag-icon-background {
    position: relative;
    width: 50%;
    height: 100%;
    margin: auto;
    border-radius: .35rem;
}
/*END CREATE PRODUCT*/
/*CARD STACK*/
.card-stack {
    position: relative;
    display: block;
}
.card-stack .card {
    width: 100%;
    float: left;
    border-radius: 0;
}
.card-stack .card .card-header {
    text-align: center;
}
.card-stack .card:first-child {
    #border-right: none;
}
.card-stack .card .card-body .form-group {
    margin-bottom: 0;
}
.card-stack .card .card-body .form-group label, .form-group.filter-price-group.price-single label {
    margin-bottom: 0;
}
.card-header.with-button .header-title {
    float: left;
    padding: 0.25rem 0.5rem;
}
.card-header.with-button .header-button {
    float: right;
}



/*END CARD STACK*/
/*FILTER PRICE INPUT*/
.filter-price-group {
    position: relative;
    display: block;
}
.filter-price-group .filter-label {
    position: absolute;
    left: 1px;
    top: 1px;
    bottom: 1px;
    min-width: 120px;
    margin-left: 1px;
    background-color: #f8f9fc;
    border-top-left-radius: .35rem;
    border-bottom-left-radius: .35rem;
    line-height: 1.5;
    padding: 0.375rem 0.75rem;
    border-right: 1px solid #d1d3e2;
    margin-bottom: 0;
}
.filter-price-group .price-input {
    position: relative;
    text-align: right;
    padding-right: 50px;
}
.filter-price-group .price-label {
    position: absolute;
    right: 1px;
    top: 1px;
    bottom: 1px;
    width: 40px;
    background-color: #f8f9fc;
    border-left: 1px solid #d1d3e2;
    border-top-right-radius: .35rem;
    border-bottom-right-radius: .35rem;
    text-align: center;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    margin-bottom: 0;
}
/*END FILTER PRICE INPUT*/
/*ERROR LABELS*/
.error-label {
    position: relative;
    display: block;
    background-color: #e37267;
    color: white;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: .35rem;
    font-size: .9rem;
}
.warning-label {
    position: relative;
    display: block;
    background-color: #e3b667;
    color: white;
    padding: 0.375rem 0.75rem;
    line-height: 1.5;
    border-radius: .35rem;
    font-size: .9rem;
}
.error-label.right-input {
    display: inline-block;
}
/*END ERROR LABELS*/
/*CUSTOM DIALOG*/
.dialog-wrapper {
    z-index: 100;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(64, 64, 64, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;

}
.dialog-wrapper.block {
    display: block !important;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.dialog-wrapper.visible {
    display: flex;
}
.dialog-wrapper.block .dialog {
    margin-left: auto;
    margin-right: auto;
}
.dialog-wrapper .dialog {
    display: block;
    position: relative;
    min-width: 500px;
    max-width: 700px;
    background-color: #fdfdfd;
    border-radius: 0.35rem;
    margin-left: 1rem;
    margin-right: 1rem;
}
.dialog-wrapper .dialog.lg {
    min-width: 620px;
    max-width: 700px;
}

.dialog-wrapper .dialog.wide {
    min-width: 900px;
    max-width: 100%;
}

.dialog-wrapper .dialog.wide-fixed {
    width: 1200px;
    max-width: unset;
    min-width: unset;
}
.dialog-wrapper .dialog.shadow {
    -webkit-box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}
.dialog-wrapper .dialog .dialog-header {
    padding: 1rem;
    background-color: white;
    border-top-left-radius: 0.35rem;
    border-top-right-radius: 0.35rem;
    border-bottom: 1px solid #e3e8ee;
    color: #676767;
    font-size: 1.1rem;
}
.dialog-wrapper .dialog .dialog-footer {
    padding: 1rem;
    background-color: white;
    border-bottom-left-radius: 0.35rem;
    border-bottom-right-radius: 0.35rem;
    border-top: 1px solid #e3e8ee;
}
.dialog-wrapper .dialog .dialog-body {
    padding: 1.2rem;
    line-height: 1.3;
}
.dialog-wrapper .dialog .dialog-footer {
    padding: 1rem;
}
.dialog-message {
    line-height: 1.2;
    padding: .35rem 1.2rem .35rem 1.2rem;
    color: white;
}
.message-error {
    border-top: 1px solid #e3e8ee;
    border-left: 1px solid #e3e8ee;
    border-right: 1px solid #e3e8ee;
    background-color: #e74a3bc7;
}
.message-success {
    background-color: #1cc88a;
}
.dialog-result-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.dialog-result-wrapper .result-description {
    margin-top: 0.6rem;
    text-align: center;
    padding-left: .8rem;
    padding-right: .8rem;
}
/*END CUSTOM DIALOG*/
/*THUMB PREVIEW WRAPPER*/
.thumb-preview-wrapper {
    position: relative;
    display: block;
    height: 300px;
    overflow: hidden;
    border: 1px dashed #d1d3e2;
    border-radius: .35rem;
}
.thumb-preview-wrapper .thumb-preview {
    display: block;
    width: auto;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
}
/*END THUMB PREVIEW WRAPPER*/

/*FILTER CREATE WIDGET*/
.filter-form {

}
.filter-form .text-tab {
    display: flex;
    align-items: center;
    background: #eaecf4;
    height: 40px;
    border-radius: .35rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 1px solid #d1d3e2;
}
.filter-form .add-filter-tab {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: .35rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border: 1px solid #d1d3e2;
    background-color: #f2f2f2;
    cursor: pointer;
}
.filter-form .add-filter-tab:hover {
    background-color: #f6f6f6;
}
.filter-form .btn-add-filter {
    font-size: .9rem;
}
.filter-form .filter-remove-input.disabled span {
    cursor: default;
    color: #fff;
    opacity: 0.65;

}
.filter-form .filter-remove-input span {
    background-color: #e37267;
    border-color: #e37267;
    color: white;
    cursor: pointer;
    font-size: .9rem;
}
.filter-form .filter-remove-input:not(.disabled) span:hover {
    background-color: #cd594f;
}
.tooltip-column {
    padding-left: 0 !important;
}
.tooltip-column .info-tooltip {
    padding: 0.375rem 0 0.375rem 0;
}
.tooltip-column .info-tooltip .tooltip-icon {
    cursor: pointer;
    font-size: 1.4rem;
}
/*END FILTER CREATE WIDGET*/
/*USER LISTING*/
.user-listing .table-custom {
    text-align: center;
}
.badge-icon {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    overflow: hidden;
}
.badge-table-row {
    line-height: 28px;
}
/*END USER LISTING*/
/*USER CREATE*/
.thumb-preview-container {
    position: relative;
    display: block;
    max-height: 130px;
    height: 130px;
    overflow: hidden;
    border: 1px solid #d1d3e2;
    border-radius: .35rem;
    padding: 1rem;
}
.thumb-preview-container.lg {
    max-height: 200px;
    height: 200px;
}
.thumb-preview-container img {
    display: block;
    position: relative;
    height: 100%;
    max-height: 100%;
    margin: auto;
}
.thumb-preview-container img.circle {
    border-radius: 50%;
}
/*END USER CREATE*/
.delivery-link-legend {
    border: 1px solid #d1d3e2;
    border-radius: 0.35rem;
    padding-top: .1rem;
    padding-bottom: .1rem;
}
/*CATEGORY VISIBILITY TOGGLER*/
.category-title .visibility-toggle {
    min-width: 75px;
    line-height: 1;
}
/*END CATEGORY VISIBILITY TOGGLER*/
/*MANUALE D'UTILIZZO NAV ITEM*/
.nav-item .nav-item-manual {
    background: white;
    border-radius: 2rem;
    color: #355ece;
    padding: 0.5rem 1.3rem 0.5rem 1.1rem;
    display: inline-block;
    font-weight: 700;
}
.nav-item .nav-item-manual i {
    color: #3761d1 !important;
}
.nav-item .nav-link.link-manual:hover .nav-item-manual, .nav-item .nav-link.link-manual:hover .nav-item-manual i {
    color: #284cb8 !important;
}
/*END MANUALE D'UTILIZZO NAV ITEM*/
/*LOGIN PAGE STYLING*/
.login-logo {
    width: 90%;
    max-width: 90%;
    display: block;
    margin: auto;
}
.login-title {
    text-align: center;
    font-size: 1.3rem;
    margin-top: .6rem;
    margin-bottom: 2rem;
}
.login-form .login-form-icon {
    display: block;
    height: 32px;
    float: right;
}
.login-form .form-control {
    border-radius: 5rem;
    height: calc(1.5em + 1.25rem + 2px);
    padding: 0.375rem 1.8rem 0.375rem 1.25rem;
}
.login-form .was-validated .form-control:invalid, .form-control.is-invalid {
    background-position: center right calc(0.475em + 0.1875rem);
}
.submit-login {
    border-radius: 5rem;
}
.submit-login .button-logo-icon {
    height: 32px;
}
/*END LOGIN PAGE STYLING*/

