﻿.d-contents {
    display: contents !important;
}
.border-solid{
    border-style:solid !important;
}

.row-divider{
    border-bottom:solid 1px #ccc;
}

.rounded-1{
    border-radius:3px !important;
}

.btn > i {
    color: inherit;
}


.max-w-200px{
    max-width:200px !important;
}


div.divider {
    display:block;
    border-bottom:solid 1px #000;
}


/* Forza le dialog TinyMCE in cima a tutto */
.tox-dialog-wrap,
.tox.tox-silver-sink.tox-tinymce-aux {
    z-index: 2147483647 !important;
    position: fixed !important;
}

/* Forza overlay della dialog */
.tox-dialog__wrp,
.tox-dialog__backdrop {
    z-index: 2147483646 !important;
}

/* Anche il contenitore principale dell’editor */
.tox {
    z-index: 2147483645 !important;
}


/*.tox .tox-dialog-wrap {
    z-index: 2000000 !important;
}
.tox .tox-dialog-wrap__backdrop {
    z-index: 2000000 !important;
}
.tox .tox-dialog {
    z-index: 2000001 !important;
}*/

.table-striped > tbody > tr:nth-of-type(2n) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: #f2f6fc;
}
.table-striped > tbody > tr:nth-of-type(2n+1) > * {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: transparent;
}

.modal.custom-modal div.waiter-overlay {
    width: calc(100vw - 16px);
    background-color: black;
    height: 100%;
    opacity: 0.6;
    cursor: wait;
    position: fixed;
    bottom: 0px;
}




td p.explain, p.blue-notes {
    background-color: #f0f7ff;
    font-size: 12px;
    color: #0042a6;
    border: solid 1px #cbe4ff;
}

.bootstrap-tagsinput {
    padding: 8px 6px !important;
}


.form-label {
    font-size: 1.05rem;
    margin-bottom: 0.1rem;
    color: var(--bs-gray-800);
    font-weight: 600;
    height: 18px;
    overflow: hidden;
}

.form-control {
    border-radius: 0.30rem;
    /*    appearance: auto !important;    
    padding: .425rem .425rem;
    height: unset;
    line-height:normal !important;
    font-size:1.1rem !important;*/
    appearance:auto;
}

/*div.row .form-check {
    display: block;
    margin-top: -31px !important;
}
*/

.text-end{
    text-align:right !important;
}
.text-left{
    text-align:left !important;
}
.text-center{
    text-align:center !important;
}

.v-middle{
    vertical-align:middle !important;
}
.v-top{
    vertical-align:top !important;
}

.form-control.auto{
    width:auto !important;
}


.form-control.required:not(.no-strong) {
    background-color: #f2f6fc !important;
    border-color: #3b5998 !important;
}

.form-control.error, .form-control.required.error {
	border: solid 1px #e91e63 !important;
	background-color: rgb(241, 224, 227) !important;
	/* border-left: solid 2px #e91e63 !important; */
}

.form-control.number {
	text-align: right;
	width: 90px;
    max-width:90px;
}


.form-group > label:only-child:first-of-type:only-of-type {
    margin-top: 24px;
}

.form-group > label.pointer:only-child:first-of-type:only-of-type {
    margin-top: 24px;
}

.hidden{
    display:none;
}

.text-end{
    text-align:right !important;
}


.text-end > input.number{
    float:right;
}

.text-left{
    text-align:left !important;
}
.text-center{
    text-align:center !important;
}


.striped-row > * {
    --bs-table-color-type: var(--bs-table-striped-color) !important;
    --bs-table-bg-type: var(--bs-table-striped-bg) !important;
}


.table-row-solid tbody td {
    border-top: solid 1px #ddd !important;
    border-bottom: solid 1px #ddd !important;
}


td.text-end, th.text-end {
    text-align: right;
    max-width: 150px;
}
td.text-end .btn:not(.btn-sm) {
    padding:0px !important;
    background-color:transparent !important;
}

td.text-end .btn.btn-danger:hover,td.text-end .btn.btn-warning:hover,td.text-end .btn.btn-info:hover {
    padding:0px !important;
    background-color:transparent !important;
}

td.text-end .btn.btn-danger i {
    color: var(--bs-danger) !important;
    font-size: 16px !important;
}

td.text-end .btn.btn-warning i {
    color: var(--bs-warning) !important;
    font-size: 16px !important;
}
td.text-end .btn.btn-info i {
    color: var(--bs-info) !important;
    font-size: 16px !important;
}

div.main-loading-element {
    position: fixed;
    width: calc(100vw);
    height: calc(100vh);
    text-align: center;
    z-index: 2147483647;
    left: 0;
    top: 0;
}

div.main-loading-element > .overlay{
    position: fixed;
    width: calc(100vw);
    height: calc(100vh);
    background-color: #000;
    text-align: center;
    opacity: 0.4;    
    left: 0;
    top: 0;
}
div.main-loading-element .loading-inner {
    position:absolute;
    top: calc(50vh - 25px);
    z-index: 100001;    
    width: 100%;
    text-align:center;
}

div.main-loading-element .loading-inner i{
    font-size:50px;
    display:inline-block;
    /*color:#fff;*/
    margin-right:10px;
}
div.main-loading-element .loading-inner p{
    font-size:38px;
    display:inline-block;
    /*color:#fff;*/
}




.form-control.w-auto, .form-select.w-auto {
    width: auto !important;
    max-width: 100% !important;
}

ul.simple li{
    list-style-type:none;
}


ul.inline li{
    list-style-type:none;
    display:inline-block;
}

p.explain {
    background-color: #e7f1ff;
    border:solid 1px #ddd;
    border-radius:5px;
}

.tooltip-inner{
    text-align:left;
}

.pointer{
    cursor:pointer !important;
}


.v-top {
    vertical-align: top !important;
}

table.v-top td, table.v-top th{
    vertical-align:top !important;
}
table.v-middle td, table.v-middle th {
    vertical-align: middle !important;
}

.orange {
    color: orange !important;
}

.red{
    color:red !important;
}

.green{
    color:green !important;
}

.gray{
    color:lightgray !important;
}


.w-10px {
    width: 10px !important;
}

.w-20px {
    width: 20px !important;
}

.w-30px {
    width: 30px !important;
}

.w-32px {
    width: 32px !important;
}

.w-40px {
    width: 40px !important;
}

.w-50px {
    width: 50px !important;
}

.w-100px {
    width: 100px !important;
}

.w-110px {
    width: 110px !important;
}

.w-120px {
    width: 120px !important;
}

.w-130px {
    width: 130px !important;
}

.w-140px {
    width: 140px !important;
}

.w-150px {
    width: 150px !important;
}

.w-160px {
    width: 160px !important;
}

.w-170px {
    width: 170px !important;
}

.w-180px {
    width: 180px !important;
}

.w-200px {
    width: 200px !important;
}

.w-250px {
    width: 250px !important;
}

.w-300px {
    width: 300px !important;
}





.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-40 {
    width: 40% !important;
}

.w-50 {
    width: 50% !important;
}

.w-60 {
    width: 60% !important;
}

.w-70 {
    width: 70% !important;
}

.w-80 {
    width: 80% !important;
}

.w-90 {
    width: 90% !important;
}


.h-10 {
    height: 10% !important;
}

.h-20 {
    height: 20% !important;
}

.h-30 {
    height: 30% !important;
}

.h-40 {
    height: 40% !important;
}

.h-50 {
    height: 50% !important;
}

.h-60 {
    height: 60% !important;
}

.h-70 {
    height: 70% !important;
}

.h-80 {
    height: 80% !important;
}

.h-90 {
    height: 90% !important;
}



.h-10px {
    height: 10px !important;
}

.h-20px {
    height: 20px !important;
}

.h-30px {
    height: 30px !important;
}

.h-40px {
    height: 40px !important;
}

.h-50px {
    height: 50px !important;
}

.h-100px {
    height: 100px !important;
}

.h-110px {
    height: 110px !important;
}

.h-120px {
    height: 120px !important;
}

.h-130px {
    height: 130px !important;
}

.h-140px {
    height: 140px !important;
}

.h-150px {
    height: 150px !important;
}

.h-200px {
    height: 200px !important;
}

.h-250px {
    height: 250px !important;
}

.h-300px {
    height: 300px !important;
}


.fs-10 {
    font-size: 10px !important;
}

.fs-11 {
    font-size: 11px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-24 {
    font-size: 24px !important;
}

.fs-26 {
    font-size: 26px !important;
}

.fs-28 {
    font-size: 28px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-30 {
    font-size: 30px !important;
}

.fs-32 {
    font-size: 32px !important;
}

.fs-34 {
    font-size: 34px !important;
}

.fs-40 {
    font-size: 40px !important;
}

.fs-100p {
    font-size: 100% !important;
}



label.btn-actions a {
    cursor: pointer !important;
    text-decoration: underline !important;
    font-weight: normal;
    margin-left:3px;
}

.menu-item .menu-link {
    padding: .15rem 1rem;
}

table.orders-table td{
    border:none !important;
    border-top:solid 1px #ccc !important;
}


.order-status-list li {
    list-style-type: none;
    display: inline-block;
    margin-right: 5px;
    cursor:pointer;
}
.order-status-list li i{
    color:inherit !important;
    font-size:24px;
}

.operator-hint {
    display: block;
    text-align: left;
    font-size: 12px;
    padding: 1px 2px;
    border-radius: 2px;
    border: solid 1px #ddd;
}

.operator-hint i{
    background-color:inherit !important;
    color:inherit !important;
}

@media (min-width: 992px) {
    .content {
        padding: 10px 0;
        border-radius: 1.5rem;
    }
    .toolbar-enabled .content .toolbar {
        padding-bottom: 10px;
    }
}


@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 100%;
    }
}




.form-group {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.form-group > label:not(.pointer):not(.form-check):first-child {
	font-size: 1.05rem;
	margin-bottom: 0.2rem;
	color: var(--bs-gray-800);
	font-weight: 600;
	height: 20px;
	overflow: hidden;
}
/*EXPERIMENT ON LAYOUT*/

/*.form-group:has(> label:first-child):not(:has(input, select)) {
    non si applica ai div che hanno un input o una select
}*/

/*

.form-group:has(> label:first-child) {
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 25px 0px 0px 10px;
    position: relative;
    font-size: 14px;
    padding: 2px 15px 2px 22px;
}

.form-group.text-end:has(> label:first-child) {
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 25px 0px 0px 10px;
    position: relative;
    font-size: 14px;
    padding: 2px 15px 2px 22px;
}

.form-group:has(> label:first-child)::before {
	content: "";
	position: absolute;
	top: 2px;
	left: 7px;
	right: 5px;
	bottom: 2px;
	border: 1px solid #ccc;
	border-radius: 4px;
	pointer-events: none;
	box-sizing: border-box;
}

.form-group:has(> label:first-child) > label:not(.pointer):first-child {
	font-size: 15px;
	margin-bottom: 1px;
	font-weight: bold;
    margin-left:-10px;
    min-height:25px;
}

.form-group:has(> label:first-child) > :not(:first-child):last-child {
  margin-bottom:10px !important;
}

.form-group:has(> label:first-child) > :not(:first-child).bootstrap-tagsinput{
  margin-bottom:10px !important;
}

.form-group:has(> label:first-child) > :not(:first-child):last-child {
	vertical-align: top;
}

*/


/*END OF EXPERIMENT*/





.form-group > label:first-child {
	display: block;
}

.btn {
    line-height: 1;
    border-radius: 0.20rem !important;
}

.form-group a.btn {
    padding: 10px 13px !important;
}

.w-100{
    width:100% !important;
}


.bg-light {
    background-color: #f2f6fc !important;
}

a.bg-light:hover, a.bg-light:focus, button.bg-light:hover, button.bg-light:focus {
    background-color: #c9d9f2 !important;
}

.bg-danger-soft {
    background-color: #f1e0e3 !important;
}

a.bg-danger-soft:hover, a.bg-danger-soft:focus, button.bg-danger-soft:hover, button.bg-danger-soft:focus {
    background-color: #e1bdc3 !important;
}


.bg-darkorange{
    background-color:darkorange !important;
}


/*.btn.btn-sm {
    padding: 1px 3px !important;
    font-size: 12px !important;
}*/

.channel-block{
    border:solid 1px #888;
}
.channel-block.bg-light-primary:hover {
    background-color:#f2f6fc !important;
}




/*EDITOR VUE*/

.nav-item > button.text-muted.active{
    color:#000 !important;
    font-weight:bold !important;
}

.btn-primary-soft {
    color: #212832;
    background-color: #dae7fb;
    border-color: #dae7fb;
}

.btn-primary-soft:hover {
    color: #212832;
    background-color: #b7d1f7;
    border-color: #acc9f6;
}


.btn-warning-soft {
    color: #212832;
    background-color: #f2eee3;
    border-color: #f2eee3;
}

.btn-warning-soft:hover {
	color: #212832;
	background-color: #e6dec9;
	border-color: #e2d9c0;
}


th.actions, td.actions {
    width: 100px !important;
    text-align:right !important;
}

th.actions a.btn {
	padding: 2px 5px !important;
	text-align: center;
}

th.actions a.btn i {
	margin: 0px;
    padding:0px;
}


.table td.actions a.btn.btn-danger:hover i, a.btn.in-row.btn-danger:hover i {
    color: #f44336 !important;
}


table td.actions a.btn, a.btn.in-row {
    padding: 0px !important;
    border-radius: 0px;
    background: none;
    border: none;
    box-shadow: none !important;
    text-align:center !important;
}

table td.actions a.btn > i,a.btn.in-row > i {
	width: 19px;
	height: 19px;
	font-size: 14px !important;
	margin: 0.1em;
    padding:0px;
}

em.flag-control img {
    width: 20px;
    /* height: 14px; */
    vertical-align: middle;
    margin-top: -2px;
    right: 0px;
}

fieldset.fs-standard {
    border: solid 1px #ccc;
    padding: 10px;
}

fieldset.fs-standard legend {
	font-size: 16px;
	display: inline-block;
	padding: 0px 10px;
	font-weight: 500;
	width: auto;
	float: none !important;
    color:#8e237e;
	/* color: darkblue; */
}

fieldset.fs-standard legend a.btn {
    padding: 3px 10px !important;
    font-size: 12px !important;
}


.vueeditor .card-header{
    min-height: unset;
}

#item-sheets {
    background: none;
}

#item-sheets li {
	margin-right: 10px;
}
#item-sheets li a {
	background-color: #f2f6fc !important;
	color: black;
	background: no-repeat;
	/* text-decoration: underline !important; */
	font-weight: bold;
	border-radius: 3px;
	padding: 4px 20px;
}

#item-sheets li a.active{
    background-color:#c9d9f2 !important;
}

div.editor-spacer {
    display: block;
    width: 100%;
    border: solid 1px #999;
}

div.editor-spacer .spacer-icon {
    position: absolute;
    right: 3px;
    top: -2px;
    cursor:help;
    color:#3b5998 !important;
    z-index:10;
}
/*div.editor-spacer .spacer-icon i, div.editor-spacer .spacer-icon i:hover {
    color: #3b5998 !important;
}*/


a.btn.formula {
    padding: 4px 5px;
    text-align: center;
    width: auto;
}
a.btn.formula i:first-child{
    margin:0px;
}

td.w-150px .bootstrap-tagsinput{
    width:150px !important;
}

.form-group .bootstrap-tagsinput {
    width: 100% !important;
    margin-top: .5rem !important;
    height: 30px !important;
    padding: 0px 5px !important;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
}

.form-group .bootstrap-tagsinput .tag.label {
    height: 24px;
    margin-top: 2px;
}


#image_overlap_container #image-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

#image_overlap_container #draggable-div {
    position: absolute;
    width: 150px;
    height: 100px;
    background-color: #ddd;
    opacity: 0.5;
    border: dotted 1px #000;
    cursor: move;
    left: 0px;
    top: 0px;
    vertical-align: middle;
}

#image_overlap_container .resize-handle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: #333;
}

#image_overlap_container .resize-handle.br {
    bottom: 0;
    right: 0;
    cursor: nwse-resize;
}

i.editor-error-badge {
    font-size: 18px;
    margin-top: -2px;
    margin-right: -12px;
}
.form-group span.field-has-error {
    margin: 3px 0px 0px 0px;
}



.in-text{
    position:relative;
    display:block;
}
.in-text .floating-label::after{
    content:":";
}
.in-text .floating-label {
	position: absolute;
	top: 1%;
	left: 5px;
	/* transform: translateY(-50%); */
	color: #000;
	transition: all 0.2s ease;
	pointer-events: none;
	font-weight: 500 !important;
	margin: 0px !important;
	font-size: .9rem;
	text-transform: lowercase;
}

.in-text .floating-label.link-style {
    color: #3b5998;
    text-decoration: underline;
}

/*.in-text .label-active {
    top: -10px;
    left: 10px;
    font-size: 12px;
    color: #333;
}*/


.in-text .form-control[type="text"], .in-text .form-control[type="tel"] {
	padding-top: 18px !important;
	padding-bottom: 1px !important;
	color: #333;
	font-size: 12px;
}

.in-text span.label {
	display: block;
	padding-top: 18px !important;
	padding-left: .425rem;
	padding-right: .425rem;
	color: #777;
	font-size: 12px;
	font-weight: 400;
	border-radius: 0.15rem;
	border: 1px solid #c5ccd6;
	min-height: 42px;
}


.badge.badge-tag {
    background-color: #717dd9;
    color:#fff;
}

element {
    width: 50px;
    float: right;
    text-align: right;
    font-size: 22px;
}


.vueeditor.overlay-area {
    position: absolute;
    width: calc(100% + 15px);
    height: calc(100% + 47px);
    opacity: 0.5;
    /*z-index: 10;*/
    background: #000;
    margin-left: -17px;
    margin-top: -56px;
    user-select: none;
}

.vueeditor.overlay-unlock {
    z-index: 20;
    display: block;
    font-weight: bold;
    text-align: center;
    width:100%;
    user-select: none;
}

.ul-simple.editor-buttons a.btn{
    border-radius:3px;
}

.ul-simple.editor-buttons a.btn.active {
    border: solid 1px #666 !important;
    font-weight: bold;
    color: #000;
    text-align:right !important;
}

.ul-simple.editor-buttons a.btn.active > i {
    float:right !important;
    margin-left:10px !important;
}

.ul-inline {
    padding: 0px;
    margin: 0px;
    display: inline-block;
}

.ul-inline li {
	list-style-type:none;
	display:inline-block;
}

ul.ul-simple {
    padding: 0px;
    margin: 0px;
}


ul.ul-simple > li {
	list-style-type: none;
}


.img-product-main {
	width:100%;
	max-width:350px;
}


.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group input[type="password"], .form-group select, .form-group textarea /*, .form-group .bootstrap-tagsinput*/ {
    padding: .425rem .425rem !important;
    /* padding-top: 17px; */
    padding-bottom: 3px;
    border: 1px solid #dae1e7;
    height: unset;
}
.bootstrap-tagsinput {
    box-shadow: none !important;
    border-radius: 0.15rem !important;
}

.bootstrap-tagsinput input[type="text"] {
    border: none !important;
}

.bootstrap-tagsinput .tag {
    margin-right: 2px;
    color: white;
    background-color: #717dd9;
    padding: 0px;
    font-size: 13px;
    padding: 0px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 2px;
    padding-right: 12px;
    padding-right: 12px;
}

input.datepicker, input.vue_datepicker {
    width: 120px;
    cursor:pointer;
}

a.btn.formula {
    padding: 4px 5px;
    text-align: center;
    width: auto;
}
a.btn.formula i{
    padding:0px !important;
}



.newitem-badge{
    cursor:pointer;
    border-radius:3px;
}

.CodeMirror {
    border: 1px solid #eee !important;
    /*min-height: 300px !important;*/
    min-height: calc(100vh - 250px);
    height: auto !important;
    font-size: 14px !important;
}


.CodeMirror .CodeMirror-scroll{
    /*min-height:300px !important;*/
    min-height:calc(100vh - 250px);

}
.CodeMirror-hints.default {
    z-index: 2147483647 !important;
}



.CodeMirror .cm-variable {
    font-weight: bold;
    padding: 2px 6px;
    background-color: cornflowerblue;
    color: #fff;
    border-radius: 4px;
}



.CodeMirror .cm-variable.f-extvariable {
    background-color: darkorange;
}

.CodeMirror .cm-keyword, .CodeMirror .cm-builtin {
    color: blue !important;
    background:transparent !important;
    font-weight:normal !important;
}


.CodeMirror .cm-bracketed-var {
    background-color:orange !important;
    color:#fff !important;
    font-weight: bold !important;    
}









/*CATEGORY EDITOR*/
/*.ztree li a.curSelectedNode {
    margin-top: -3px;
}
*/




/*ZTREE*/
