/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
.pb-27 {
    padding-bottom: 27px;
}
.ptb-15 {
    padding: 15px 0;
}
.mt-27 {
    margin-top: 27px;
}
.mt-10 {
    margin-top: 10px;
}
.xera-cp {
    cursor: pointer;
}
.xera-col-full {
    width: 100%;
}
.xera-d-none {
    display: none;
}
.show-detail-product {
    margin-top: 10px;
}
.button-link {
    padding: 10px;
    display: inline-block;
    background: #109bce;
    color: #fff !important;
    margin-bottom: 15px;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}
.button-link:hover {
    opacity: 0.8;
    color: #fff !important;
}
.xera-loader {
    display: none;
}
.xera-loader > div {
    width: 18px;
    height: 18px;
    background-color: #333;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.xera-loader .bounce1 {
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}
.xera-loader-list {
    display: none;
    position: relative;
}
.xera-loader-list-content {
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.xera-loader .bounce2 {
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
    0%, 80%, 100% { -webkit-transform: scale(0) }
    40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
    0%, 80%, 100% { 
        -webkit-transform: scale(0);
        transform: scale(0);
    } 40% { 
        -webkit-transform: scale(1.0);
        transform: scale(1.0);
    }
}
.p-20 {
    padding: 20px !important;
}
.mb-10 {
    margin-bottom: 10px !important;
}
.mb-20 {
    margin-bottom: 20px !important;
}
.max-height-100 {
    max-height: 100px;
}
.max-height-150 {
    max-height: 150px;
}
.max-height-160 {
    max-height: 160px;
}
.max-height-180 {
    max-height: 180px;
}
.max-height-200 {
    max-height: 200px;
}
.max-height-250 {
    max-height: 250px;
}
.xera-border {
    border: 1px solid #ccc;
    border-bottom: 0;
}
#insert-product-preventivo .xera-border:last-child {
    border-bottom: 1px solid #ccc;
}
.delete-row {
    cursor: pointer;
    margin-right: 8px;
}
i[class*="icss-"] {
    position: relative;
    display: inline-block;
    font-style: normal;
    background-color: currentColor;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    vertical-align: middle;
}
i[class*="icss-"]:before, i[class*="icss-"]:after {
    content: "";
    border-width: 0;
    position: absolute;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
i.icss-x {
    width: 0em;
    height: .18em;
    background-color: transparent;
    margin: .41em 0.5em;
}
i.icss-x:before,
i.icss-x:after {
    width: 1em;
    height: .18em;
    top: 50%;
    left: 50%;
    border-radius: .06em;
    background-color: currentColor;
}
i.icss-x:before {
    transform: translate(-50%, -50%) rotate(-225deg)
}
i.icss-x:after{
    transform: translate(-50%, -50%) rotate(225deg)
}
i.icss-file-pdf {
    width: .8em;
    height: 1em;
    background-color: transparent;
    border-width: .065em;
    border-style: solid;
    border-radius: .05em .34em .05em .05em;
    margin: 0 .1em;
}
i.icss-file-pdf:before {
    border-style: solid;
    border-width: .2em;
    left: .275em;
    border-radius: .1em;
    border-color: transparent;
    border-right-color: currentColor;
    transform: rotate(-45deg);
    top: .02em;
}
i.icss-file-pdf:after {
    top: 50%;
    left: 50%;
    content: "PDF";
    font-size: .35em;
    font-weight: bold;
    transform: translate(-50%,-40%) scale(0.8,1.5);
    font-family: sans-serif;
}
i.icss-info-circle {
    width: 1em;
    height: 1em;
    border-radius: 50%;
    border: .1em solid currentColor;
    background-color: transparent;
}
i.icss-info-circle:before {
    width: .15em;
    height: .38em;
    background-color: currentColor;
    border-radius: .03em;
    top: .3em;
    left: 50%;
    transform: translateX(-50%); 
}
i.icss-info-circle:after {
    width: .15em;
    height: .13em;
    background-color: currentColor;
    border-radius: .03em;
    box-shadow: -.06em .19em, -.06em .44em, .06em .44em;
    top: .11em;
    left: 50%;
    transform: translateX(-50%); 
}
i.icss-trash {
    width: .68em;
    height: .9em;
    background-color: transparent;
    border-width: .1em .1em;
    border-style: solid;
    border-radius: .05em;
    margin: .1em .15em 0;
}
i.icss-trash:before {
    border-style: solid;
    border-width: .1em;
    top: -.23em;
    left: 50%;
    border-radius: .1em;
    width: .275em;
    height: 1.03em;
    transform: translateX(-50%);
}
i.icss-trash:after {
    border-width: .1em .43em;
    border-style: solid;
    left: 50%;
    top: -.05em;
    border-radius: .07em;
    transform: translateX(-50%);
}
i.icss-pencil-b {
    width: .14em;
    height: .22em;
    border-radius: 50%;
    margin: 0.47em .85em .25em 0;
    transform: rotate(-45deg);
    transform-origin: .4em .07em;
}
.icss-stack i.icss-pencil-b {
    transform: translate(-.5em, -.5em) rotate(-45deg);
}
i.icss-pencil-b:before {
    width: .69em;
    height: .6em;
    top: -.2em;
    left: .1em;
    border-radius: .08em; 
    border: .1em solid currentColor;
    border-width: .1em 0 0 .1em;
    border-color: currentColor transparent transparent currentColor;
    transform: rotate(-30deg) skewX(30deg);
}
i.icss-pencil-b:after {
    width: .8em;
    height: .18em;
    top: -.08em;
    left: .41em;
    border-radius: .1em;
    box-shadow: inset 1em 0, 0 .2em, 0 .4em, 0 -.2em;
    clip: rect(-.14em .53em .5em 0);
}
i.icss-files {
    width: .75em;
    height: .95em;
    background-color: transparent;
    border: .05em solid transparent;
    border-width: 0 .05em .05em 0;
    -webkit-box-shadow: inset 0 0 0 0.065em, 0.13em 0.11em 0 -0.05em;
    box-shadow: inset 0 0 0 0.065em, 0.13em 0.11em 0 -0.05em;
    border-radius: 0 .3em 0 0;
    margin: 0 .17em .05em .1em;
}
i.icss-files:before {
    border-style: solid;
    border-width: .2em;
    top: .037em;
    left: .25em;
    border-radius: .1em;
    border-color: transparent;
    border-right-color: currentColor;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
i.icss-undo {
    width: 1em;
    height: 1em;
    background-color: transparent;
    margin: 0;
    font-size: 1rem;
}
i.icss-undo:before {
    width: .8em;
    height: .8em;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: .1em solid currentColor;
    border-bottom-color: transparent;
    -webkit-transform: translate(-50%, -50%) rotate(45deg);
    -ms-transform: translate(-50%, -50%) rotate(45deg);
    transform: translate(-50%, -50%) rotate(45deg);
}
i.icss-undo:after {
    top: .43em;
    left: -.02em;
    border: .17em solid transparent;
    border-top: .24em solid currentColor;
}
i.icss-search {
    margin: 0 .3em .37em 0;
    width: .73em;
    height: .73em;
    background-color: transparent;
    border-width: .12em;
    border-style: solid;
    border-radius: 100%;
}
i.icss-search:before {
    top: .635em;
    left: .485em;
    border-width: .08em .23em;
    border-style: solid;
    border-radius: .03em;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-box-shadow: -0.18em 0 0 -0.03em;
    box-shadow: -0.18em 0 0 -0.03em;
}
.preventivo-show td {
    vertical-align: top !important;
}
.preventivo-show thead th {
    background: #efefef;
    font-weight: bold;
}
.preventivo-show tbody tr td {
    border-bottom: 1px solid #e1e1e1;
    background: #fff;
    font-weight: normal;
}
.preventivo-show tfoot td {
    text-align: right;
    background: #efefef;
    font-weight: bold;
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}
.font-24 {
    font-size: 24px;
}
.font-20 {
    font-size: 20px;
}
.body[data-form-submit="regular"] .container-wrap button[type=submit].link {
    cursor: pointer !important;
    color: #109bce !important;
    transition: color 0.2s !important;
    -moz-transition: color 0.2s !important;
    -webkit-transition: color 0.2s !important;
}
body[data-form-submit="regular"] .container-wrap button[type=submit].link-button {
    background-color: transparent !important;
    padding: 0 !important;
    color: #109bce !important;
}
body[data-form-submit="regular"] .container-wrap button[type=submit].link:hover {
    color: #676767 !important;
}
.pagination {
    display: inline-block;
}
.pagination span {
    color: black;
    float: left;
    padding: 4px 12px;
    text-decoration: none;
    cursor: pointer;
}
.pagination span.active {
    background-color: #109bce;
    color: #fff;
}
.pagination span:not(.active):hover {
    background-color: #efefef
}
.success-message {
    background: green;
    color: #fff;
    margin-bottom: 20px;
    padding: 10px;
}
.img-preventivi {
    height: 256px !important;
    padding: 0 !important;
}
.xera-row:after {
    content: "";
    display: table;
    clear: both;
}
.xera-col-half {
    float: left;
    width: 50%;
}
.xera-col-fourth {
    float: left;
    width: 25%;
}
.lista-prodotti-ul {
    display: -webkit-flex;
    -webkit-flex-wrap: wrap;
    display: flex;
    flex-wrap: wrap;
}
.lista-prodotti-li {
    padding: 10px;
    text-align: center;
    border: 1px solid #ccc;
    border-right: 0;
    margin-bottom: 20px;
    cursor: pointer;
}
.lista-prodotti-ul .lista-prodotti-li:last-child {
    border-right: 1px solid #ccc;
}
.lista-prodotti-li img {
    max-width: 100%;
}
.overlay-xera {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    position: fixed;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 10000;
    pointer-events: auto;
}
.modal-xera {
    display: block;
    top: 20px;
    bottom: 20px;
    right: 20px;
    left: 20px;
    position: fixed;
    z-index: 10000;
    background: #fff;
    padding: 40px;
    overflow: hidden;
}
.modal-xera-content {
    height: 100%;
}
.modal-xera-header {
    position: relative;
}
.modal-xera-header h3 {
    margin-top: 0;
    margin-bottom: 20px;
}
.modal-xera-body {
    overflow-y: scroll; 
    height: 95%;
}
.modal-xera-body.create-product {
    overflow-y: auto;
}
.modal-xera-body.create-product input.text {
    border: 1px solid #ccc;
    box-shadow: none;
}
.close-modal {
    cursor: pointer;
    font-size: 50px;
    position: absolute;
    right: 0;
    top: -18px;
}
.button-as-input {
    background: #109bce;
    color: #fff;
    padding: 15px 20px !important;
    border: 0;
    cursor: pointer;
}
.button-as-input:hover {
    opacity: 0.8;
}
.d-inline-lg-none {
    display: none;
}
#row-filter-table input {
    width: 100%;
}
@media (max-width: 991px) {
    .d-inline-lg-none {
        display: inline-block;
    }
    .no-more-tables,
    .no-more-tables thead,
    .no-more-tables tbody,
    .no-more-tables tfoot,
    .no-more-tables th,
    .no-more-tables td,
    .no-more-tables tr { 
        display: block; 
    }
    .no-more-tables {
        border: 0 !important;
    }
    .no-more-tables tbody {
        border: 1px solid #ececec;
    }
    .no-more-tables td { 
        position: relative;
        padding-left: 50% !important; 
        white-space: normal;
        text-align: left;
        min-height: 35px;
        border: 0 !important;
    }
    .no-more-tables tbody tr td:last-child {
        border-bottom: 1px solid #ececec !important;
    }
    .no-more-tables tbody tr:last-child td:last-child {
        border-bottom: 0 !important;
    }
    .no-more-tables td:before { 
        position: absolute;
        top: 6px;
        left: 6px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: bold;
    }
    .no-more-tables td:before { 
        content: attr(data-title); 
    }
    .no-more-tables tfoot tr:first-child {
        display: block;
    }
    .no-more-tables tfoot {
        margin-bottom: 20px;
        overflow: hidden;
    }
    .no-more-tables > tfoot > tr > td {
        border-top: 0;
        text-align: left;
    }
    .no-more-tables > tfoot > tr > td:first-child {
        border-right: 0;
    }
    .no-more-tables > tfoot > tr > td:last-child {
        border-left: 0;
    }
    .no-more-tables tfoot tr > td {
        float: left;
        width: 50%;
        padding-left: 4px !important;
    }
    .no-more-tables tfoot tr th:last-child,
    .no-more-tables tfoot tr td:last-child {
        margin-bottom: 0;
    }
    .hide-mobile {
        display: none !important;
    }
    .xera-col-half {
        width: 100%;
    }
    .xera-row .xera-col-half:first-child {
        margin-bottom: 10px;
    }
    .xera-row .lista-prodotti-li {
        width: 50%;
    }
}
@media (max-width: 767px) {
    .xera-row .lista-prodotti-li {
        width: 100%;
    }
}
.button-secondary {
    padding: 10px;
    border-radius: 2px;
    border: 1px solid #333;
}
.preventivo-show button {
    background: none !important;
    padding: 0 !important;
}
#download-pdf-1 button {
    padding: 10px;
    border-radius: 2px;
    border: 1px solid #333;
}
#download-pdf-1 .link-button {
    border: 0;
}
#crea-prodotto-form .form-fluid,
#filtra-prod-cat .form-fluid {
    border-color: #eaeaea;
}
#filtra-prod-cat .form-fluid {
    margin-top: 0;
}
#filtra-prod-cat .btn {
    padding: 10px 20px !important;
}
.xera-image-cropper {
    width: 200px;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 50%;
}
.xera-image-cropper img {
    display: inline;
    margin: 0 auto;
    height: 100%;
    width: auto;
    max-width: inherit;
}
.xera-single-media-link {
    display: block;
}
.xera-lock-icon {
    font-size: 70px;
    color: #cc0c0c;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.d-block {
    display: block;
}
.duplicate-row {
    text-align: right;
    cursor: pointer;   
}
#preventivi-list .pagination {
    margin-top: 10px;
    width: auto;
    float: right;
}
#bulk-action-select {
    padding: 4px 12px;
    height: 30px;
    width: 150px;
    min-width: 150px;
    margin-right: 6px;
    display: inline-block;
}
#submit-bulk-action {
    display: inline-block;
    font-size: 13px;
    line-height: 26px;
    height: 28px;
    padding: 0 10px 1px;
    margin: 0;
}
.filter-ajax {
    height: 28px;
    margin: 0;
}
.mb-5 {
    margin-bottom: 5px;
}
#row-filter-table {
    vertical-align: top;
}
/*#preventivi-list i.icss-info-circle {
    margin-top: 6px;
}
#preventivi-list i.icss-pencil-b {
    margin-top: 16px;
}*/
.pr-8 {
    padding-right: 8px;
}
#lista-prodotti-archivio h2 {
    margin-bottom: 10px;
}
.bg-gray {
    background: #efefef !important;
}
.action-button-table {
    background: #fff;
    color: #000;
    padding: 5px 10px;
    cursor: pointer;
}
i.icss-arrow-up {
    width: 1em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    margin: .41em 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
i.icss-arrow-up:before {
    width: .6em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    top: -.15em;
    left: -.06em;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
i.icss-arrow-up:after {
    width: .6em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    top: .15em;
    left: -.06em;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
i.icss-arrow-down {
    width: 1em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    margin: .41em 0;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
i.icss-arrow-down:before {
    width: .6em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    top: -.15em;
    left: .46em;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
i.icss-arrow-down:after {
    width: .6em;
    height: .18em;
    border-radius: .1em;
    background-color: currentColor;
    top: .15em;
    left: .46em;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.move-up-row {
    margin-left: 15px;
    margin-right: 5px;
}
.move-up-row,
.move-down-row {
    cursor: pointer;
}
/*Style aggiunto da Andrea Colangelo*/

/*Colore Struttura*/
.ral-box, .ral-box-cassonetto, .ral-box-zanzariera, .ral-box-oscurante {
  width: 50px;
  height: 25px;
  border: 1px solid #ebebeb;
  cursor: pointer;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}
.ral-box.selected, .ral-box-cassonetto.selected, .ral-box-zanzariera.selected, .ral-box-oscurante.selected {
  border: 2px solid #333;
}
.wood-box, .wood-box-cassonetto {
  width: 50px;
  height: 25px;
  border: 2px solid transparent;
  cursor: pointer;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease-in-out;
}
.wood-box:hover, .wood-box-cassonetto:hover {
transform: scale(1.6);
z-index: 10;
}
.wood-box.selected, .wood-box-cassonetto.selected {
  border: 1px solid #333;
}

/*Colore Accessori*/
.ral-box-accessori, .ral-box-accessori-oscurante {
  width: 50px;
  height: 25px;
  border: 1px solid #ebebeb;
  cursor: pointer;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
}
.ral-box-accessori.selected, .ral-box-accessori-oscurante.selected {
  border: 2px solid #333;
}

/*css per barra max upload immagini Crea prodotto*/
.xera-progress-bar-container {
    background: #eee;
    border-radius: 15px;
    height: 18px;
    width: 100%;
    margin-top: 6px;
    overflow: hidden;
    border: 1px solid #ccc;
}
.xera-progress-bar {
    height: 100%;
    transition: width 0.5s;
    background: #4caf50;
    border-radius: 15px 0 0 15px;
}
.xera-progress-bar.yellow {
    background: #ff9800;
}
.xera-progress-bar.red {
    background: #f44336;
}

.select-product-row {
  cursor: pointer;
}

/* Accessori correlati al serramento*/
.hidden {
  display: none !important;
}

/* Verifica Congruità per riga */
.vc-row-attestazione { margin-top:8px; font-size:13px; }
.vc-attestazione-badge { display:inline-block; padding:4px 8px; border-radius:4px; font-weight:700; margin-left:6px; }
.vc-unknown { color:#666; background:#f3f3f3; }
.vc-congruo { color:#0a6; background:rgba(45,200,80,0.06); border:1px solid rgba(45,200,80,0.12); }
.vc-noncongruo { color:#c00; background:rgba(255,80,80,0.06); border:1px solid rgba(255,80,80,0.12); }
