/*
Theme Name: Argenteria Dabbene - Liste nozze
Theme URI: https://www.argenteriadabbene.com/it/lista-nozze-online/
Description: Custom Theme for Argenteria Dabbene
Author: B42 srls 
Author URI: http://www.b42.it
Version: 0.1
*/
/*GENERAL*/
body {
  min-height: 100vh;
  padding-bottom: 70px;
  background: #EBEBEB;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 15px;
}
/*STYLE TEXT*/
h1,
h2,
h3 {
  font-family: 'Alice', serif;
}
small {
  font-size: 60%;
}
/*COMMON*/
#bg-image {
  height: 400px;
  background-color: #212529;
  position: relative;
  overflow: hidden;
}
#bg-image .background-placeholder,
#bg-image .list_image {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
#bg-image .list_image {
  width: 100%;
  object-fit: cover;
}
#bg-image.bg-default .background-placeholder,
#bg-image.bg-default .list_image {
  top: 50%;
  transform: translate(-50%, -50%);
}
img {
  max-width: 100%;
}
/* menu */
#menu {
  background: #ffffff;
  border: 1px solid #cccccc;
}
#menu li.nav-item {
  font-weight: 600;
}
#menu li.nav-item:hover {
  text-decoration: underline;
}
/* footer */
footer {
  width: 100%;
  background-color: #212529;
  position: fixed;
  bottom: 0;
  left: 0;
  color: #ffffff;
  font-size: 0.8rem;
}
footer a {
  color: #EBEBEB;
}
footer a:hover {
  color: #EBEBEB;
}
.card-icon {
  width: 45px;
}
.icon {
  width: 40px;
}
.status-icon {
  width: 15px;
}
p .status-icon {
  width: 12px;
  margin-right: 10px;
  vertical-align: baseline;
}
.object-img {
  width: 100px;
}
/*BUTTONS*/
a,
.btn-link {
  color: #4c4c4c;
}
a:hover,
.btn-link:hover {
  color: #4c4c4c;
  text-decoration: underline;
}
.btn-link {
  padding: 0;
}
.btn-outline-secondary:hover {
  background-color: transparent;
  color: #6c757d;
}
/* ACCORDIONS & TAB*/
label,
.label-bold,
legend {
  font-weight: 800;
}
.label-bold {
  margin: 20px 0 15px;
  font-size: 20px;
}
label.custom-control-label {
  font-weight: 400;
}
.tab-content {
  padding-top: 1rem;
}
/* TABLE */
.table-responsive {
  margin: 25px 0;
}
table,
.table_custom.dataTable {
  width: 100% !important;
}
table tr,
.table_custom.dataTable tr {
  background-color: transparent;
}
table th,
.table_custom.dataTable th,
table td,
.table_custom.dataTable td {
  text-align: center;
  padding: 10px;
  border-top: 1px solid #ced4da;
}
table th.col_10,
.table_custom.dataTable th.col_10,
table td.col_10,
.table_custom.dataTable td.col_10 {
  width: 10% !important;
}
table th.col_20,
.table_custom.dataTable th.col_20,
table td.col_20,
.table_custom.dataTable td.col_20 {
  width: 20% !important;
}
table th a,
.table_custom.dataTable th a,
table td a,
.table_custom.dataTable td a,
table th .btn-link,
.table_custom.dataTable th .btn-link,
table td .btn-link,
.table_custom.dataTable td .btn-link {
  text-transform: uppercase;
  text-decoration: underline;
}
table th .form-control,
.table_custom.dataTable th .form-control,
table td .form-control,
.table_custom.dataTable td .form-control {
  min-width: 60px;
  text-align: center;
}
table th,
.table_custom.dataTable th,
table.no-footer,
.table_custom.dataTable.no-footer {
  border-bottom: 2px solid #ced4da;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
  background: transparent;
}
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: #979797;
  background: transparent;
  color: #333 !important;
}
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
  background: transparent;
}
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
  width: auto;
  display: inline-block;
}
.table-custom__mobile td strong {
  display: none;
}
/* FORM */
#message_error {
  display: none;
}
.form-group {
  position: relative;
}
.form-group .c-autocomplete__container {
  width: 100%;
  position: absolute;
  background-color: #ffffff;
  z-index: 100;
}
.form-group .c-autocomplete__container .c-autocomplete__item {
  padding: 0.375rem 0.75rem;
  border: 1px solid #ced4da;
  border-top: 0;
  cursor: pointer;
}
.form-group .c-autocomplete__container .c-autocomplete__item:first-child {
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.form-group .c-autocomplete__container .c-autocomplete__item:last-child {
  border-bottom-left-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}
.form-group .c-autocomplete__container .c-autocomplete__item:hover {
  background-color: rgba(206, 212, 218, 0.6);
}
.form_info {
  font-size: 0.8rem;
}
.form-control {
  color: #212529;
}
.form-control:disabled,
.form-control[readonly] {
  padding: 0;
  background-color: #ffffff;
  border: 0;
}
.form-control-price {
  background: #ffffff url(../img/icon-euro.png) calc(100% - 5px) center no-repeat;
  background-size: 10px 13px;
  padding-right: 20px;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
.autocomplete {
  z-index: 10000;
}
textarea {
  resize: none;
}
.custom-control a {
  text-decoration: underline;
}
.input-group-text {
  background: #ffffff;
}
.helper-img,
.last-update {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  color: #6c757d;
}
.container-img {
  position: relative;
  border: 4px dotted #ced4da;
  padding: 0.375rem 0.75rem;
  /*.preview-img {}*/
}
.container-img .custom-img,
.container-img .gallery-img {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  cursor: pointer;
}
.container-img .btn-delete-img {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0;
  display: none;
}
label.error {
  width: 100%;
  color: #ced4da;
  font-size: 0.9rem;
  font-weight: 400;
}
.buttons-group {
  padding: 1rem 0;
  border-top: 1px solid #dee2e6;
}
.buttons-group .btn {
  margin-left: 10px;
}
.delete-form .buttons-group {
  margin-top: 1rem;
}
/* MODAL */
.modal {
  padding-right: 0 !important;
}
#modal-privacy .modal-body,
#modal-term-sale .modal-body {
  height: 80vh;
  overflow-y: scroll;
}
/* ADMIN */
.admin-console #bg-image {
  height: 200px;
}
.admin-console footer {
  display: none;
}
.container-preview-img {
  position: relative;
  margin-bottom: 15px;
}
.container-preview-img .preview-img-border {
  height: 100%;
  width: 100%;
  border: 4px dotted #ced4da;
}
.container-preview-img .preview-img {
  padding: 0.375rem 0.75rem;
}
.container-preview-img .btn-delete-img-gallery {
  position: absolute;
  top: 0;
  right: 15px;
  padding: 0;
}
body#object-list #table-items .col_slug {
  max-width: 125px;
}
body#object-list #table-items .col_slug .object-slug {
  width: 100%;
  overflow-x: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
body#object-list #table-items .col_slug .object-slug::-webkit-scrollbar {
  display: none;
}
body#order-management-view #print-order-message {
  display: none;
}
/**/
/* WEDDING LISTS */
.list-form .list-style {
  background: #ced4da;
  font-family: monospace;
  line-height: 1.5;
  tab-size: 2;
  font-size: 12px;
}
/* USERS */
.user-type-icon {
  height: 40px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.user-type-icon.user-type-2 {
  background-image: url(../img/owner.png);
}
.user-type-icon.user-type-3 {
  background-image: url(../img/user.png);
}
.status-flag-icon {
  height: 15px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}
.status-flag-icon.status-flag-0 {
  background-image: url(../img/pallino-rosso.png);
}
.status-flag-icon.status-flag-1 {
  background-image: url(../img/pallino-verde.png);
}
.status-flag-icon.status-flag-2 {
  background-image: url(../img/pallino-giallo.png);
}
/* PAGES OF ONE LIST */
#list_nav {
  margin-bottom: 1rem;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}
#list_nav ul {
  padding: 0.5rem 0;
}
/* LIST PRODUCTS */
#table-items {
  /*.form-control:disabled,
    .form-control[readonly] {
        background-color: transparent;
    }*/
}
#table-items .table-item-order {
  padding: 0;
}
#table_items_update {
  position: fixed;
  bottom: 75px;
  right: 15px;
}
.offers-group {
  display: none;
}
.offers-group #free-offer-collected {
  max-width: 200px;
  display: inline-block;
}
.item-data {
  min-height: 400px;
  position: relative;
}
.item-data .zoo-item {
  max-height: 100% !important;
  max-width: 100% !important;
  left: 50%;
  transform: translateX(-50%);
}
.item-data .zoo-item .zoo-img {
  cursor: zoom-in !important;
}
.print-item-img {
  display: none;
}
#container-cards #btn-open-cart {
  padding: 7px 40px;
}
#container-cards #cards .card .img-link {
  height: 200px;
  overflow: hidden;
}
#container-cards #cards .card .img-link img {
  max-height: 100%;
  object-fit: contain;
}
#container-cards #cards .card small {
  font-size: 85%;
}
#container-cards #cards .card .card-footer {
  min-height: 57px;
}
#container-cards #cards .card .card-footer .icon {
  width: 30px;
}
/**/
/* ALERT */
.alert-open {
  overflow: hidden;
  padding-right: 15px;
}
.alert-modal {
  height: 100%;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.15);
  display: none;
  z-index: 10000;
}
.alert-modal .alert-content {
  padding: 0;
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border-color: rgba(0, 0, 0, 0.125);
}
.alert-modal .alert-heading {
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}
.alert-modal .alert-body {
  padding: 1rem;
}
/* OWNER VIEW and USERS VIEW */
body.page-home {
  background-color: #ffffff;
}
/* OWNER VIEW */
#modal-card .card-message {
  margin-bottom: 10px;
}
/* USERS VIEW */
.btn-visualization {
  padding: 0;
}
.btn-visualization img {
  width: 30px;
}
.col-price {
  min-width: 150px;
}
#modal-view-img .carousel-control-next,
#modal-view-img .carousel-control-prev {
  width: 49%;
  position: relative;
  color: #000000;
  font-size: 30px;
  display: inline-block;
  opacity: 1;
}
#btn-open-cart {
  position: relative;
}
#btn-open-cart #cart-items-number {
  width: 25px;
  position: absolute;
  top: -15px;
  left: 85%;
  padding: 5px;
  border-radius: 15px;
  background-color: #d40101;
  color: #ffffff;
  font-size: 12px;
}
table#table-cart .btn-delete-item {
  padding: 0;
}
table#table-cart .btn-update-cart {
  width: 100%;
}
.total_price {
  margin-bottom: 1rem;
  text-align: right;
  font-size: 1.5rem;
  font-weight: 700;
}
#create-order-form .invoice-group {
  display: none;
}
#payment-tabs-nav .nav-item {
  max-width: 25%;
}
#payment-tabs-nav .nav-item .nav-link {
  height: 100%;
}
#payment-tabs-nav .nav-item .nav-link.active {
  font-weight: 700;
}
#payment-tabs {
  min-height: 200px;
}
#table-bonifico td {
  text-align: left;
  padding: 0 0 10px 0;
  border: 0;
}
#table-bonifico td.td-strong {
  font-weight: 700;
  width: 150px;
}
body.page-order-payment header,
body.page-order-payment-response header {
  display: none;
}
@media all and (min-width: 768px) {
  /* USER */
  body.modal-open-mobile .modal-backdrop.show {
    display: none;
  }
  body.modal-open-mobile.modal-open {
    overflow: auto;
  }
}
@media all and (max-width: 1080px) {
  body {
    padding-bottom: 0;
  }
  /* FOOTER */
  footer {
    position: relative;
  }
}
@media all and (max-width: 992px) {
  .container {
    max-width: 100%;
  }
  /*COMMON*/
  #bg-image {
    height: 200px;
  }
  /* menu */
  #menu .navbar-toggler {
    width: 35px;
    padding: 0;
  }
  #menu .navbar-collapse li.nav-item {
    width: 100%;
    display: block;
  }
  #menu .navbar-collapse li.nav-item .nav-link {
    padding: 0.7rem 0;
    text-align: center;
  }
  /* TABLE */
  table .col-md-visible {
    display: none;
  }
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    text-align: left;
  }
  .table_custom.dataTable.table-custom__mobile,
  .table-custom__mobile {
    text-align: left;
  }
  .table_custom.dataTable.table-custom__mobile thead,
  .table-custom__mobile thead {
    display: none;
  }
  .table_custom.dataTable.table-custom__mobile tr,
  .table-custom__mobile tr,
  .table_custom.dataTable.table-custom__mobile td,
  .table-custom__mobile td {
    width: 100%;
    display: block;
    padding: 0;
    margin-bottom: 10px;
    text-align: left;
  }
  .table_custom.dataTable.table-custom__mobile tr,
  .table-custom__mobile tr {
    border-bottom: 1px solid #ced4da;
  }
  .table_custom.dataTable.table-custom__mobile td,
  .table-custom__mobile td {
    border: 0;
  }
  .table_custom.dataTable.table-custom__mobile td strong,
  .table-custom__mobile td strong {
    display: inline-block;
    margin-right: 5px;
  }
  /* MODAL */
  .modal .modal-dialog {
    max-width: 98%;
  }
  .modal .modal-dialog.modal-dialog-centered {
    position: relative;
  }
  .modal .modal-dialog .modal-body {
    max-height: 75vh;
    overflow-y: scroll;
  }
  #modal-privacy .modal-body,
  #modal-term-sale .modal-body {
    height: 70vh;
  }
  /* LIST PRODUCTS */
  #sort_items {
    bottom: 90px;
  }
  /* ALERT */
  .alert-modal .alert-content {
    width: 95%;
  }
  /* USER */
  table#table-items {
    font-size: 0.9rem;
  }
  table#table-items th {
    font-size: 0.85rem;
  }
  table#table-items small {
    font-size: 90%;
  }
  table#table-items .btn {
    font-size: 0.9rem;
  }
  table#table-items .btn.btn-link {
    display: block;
    text-align: left;
  }
  table#table-items th,
  table#table-items td {
    padding: 5px;
  }
  table#table-items .icon {
    width: 35px;
  }
  /* CART */
  /*table#table-cart {
        thead {display: none;}
        tr,
        td {
            width: 100%;
            display: block;
            padding: 0;
            margin-bottom: 10px;
            text-align: left;
        }
        tr {border-bottom: 1px solid @borderGrey;}
        td {
            border: 0;
            strong {
                display: inline-block;
                margin-right: 5px;
            }
        }
    }*/
  #payment-tabs-nav .nav-item .nav-link {
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  #payment-tabs-nav .nav-item .nav-link.active {
    font-size: 0.8rem;
  }
  #table-bonifico td {
    display: block;
  }
  #table-bonifico td.td-strong {
    width: 100%;
  }
}
@media (max-width: 992px) and (orientation: landscape) {
  #table-items .col-image-item {
    display: table-cell;
  }
  .modal .modal-dialog {
    max-width: 60%;
  }
  .modal#modal-view-img .modal-dialog {
    height: 96vh;
    min-height: auto;
    max-width: 95%;
    margin: 2vh auto;
  }
  .modal#modal-view-img .modal-dialog .modal-header {
    padding: 0.5rem;
  }
  .modal#modal-view-img .modal-dialog .modal-header .modal-title {
    font-size: 1.1rem;
  }
  .modal#modal-view-img .modal-dialog .modal-body {
    max-height: 69vh;
    padding: 0 10px;
  }
  .modal#modal-view-img .modal-dialog .modal-body .carousel {
    max-width: 50%;
    display: inline-block;
  }
  .modal#modal-view-img .modal-dialog .modal-body .carousel figure img {
    max-height: 57vh;
    max-width: 100%;
  }
  .modal#modal-view-img .modal-dialog .modal-body .modal-carousel_text {
    width: 49%;
    padding-left: 5px;
    display: inline-block;
    vertical-align: top;
    float: right;
  }
  .modal#modal-view-img .modal-dialog .modal-footer {
    padding: 0.5rem;
  }
}
@media all and (max-width: 768px) {
  /* USER */
  .col-price {
    min-width: auto;
  }
}
@media print {
  html,
  body {
    page-break-after: avoid;
    page-break-before: avoid;
    display: contents;
  }
  head {
    display: none;
  }
  #bg-image,
  header,
  footer,
  .body-print #btn-open-cart,
  .body-print #modal-card .modal-header,
  .body-print .modal-header .close,
  .body-print .modal-footer,
  .body-print #mobile-message,
  .body-print #modal-carousel,
  .body-print #mobile-message,
  .body-print .modal-backdrop.show,
  .body-print .mobile-message {
    display: none !important;
  }
  .body-print .dataTables_length,
  .body-print .dataTables_filter,
  .body-print .dataTables_info,
  .body-print .dataTables_paginate {
    display: none;
  }
  .body-print .visualization-col,
  .body-print .filters-row {
    display: none;
  }
  .body-print #cards .col-12 {
    break-inside: avoid;
  }
  .body-print .card {
    border: 2px solid #d8d8d8;
  }
  .body-print .card .card-title + small,
  .body-print .card .card-footer {
    display: none;
  }
  .body-print .card .list-group-flush .list-group-item {
    border: 0;
  }
  .body-print .card .is-sold {
    color: #ff0000;
    font-weight: 700;
  }
  .body-print #table-items {
    border-collapse: collapse;
  }
  .body-print #table-items tr th {
    height: 1.5cm;
    padding: 0;
    border-bottom: 2px solid #212529 !important;
  }
  .body-print #table-items tr td {
    border-bottom: 2px solid #212529 !important;
    padding: 0;
    line-height: 0;
  }
  .body-print #table-items tr td:nth-child(4) * {
    padding: 0 5px;
    font-size: 15pt;
    text-decoration: none;
  }
  .body-print #table-items tr td:nth-child(6) {
    font-size: 15pt;
  }
  .body-print #table-items tr td:nth-child(6).is-sold {
    color: #ff0000;
    font-weight: 700;
  }
  .body-print #table-items tr .col-md-visible {
    display: table-cell;
  }
  .body-print #table-items tr th:last-child,
  .body-print #table-items tr td:last-child {
    display: none;
  }
  .body-print.body-print-modal .container {
    display: none;
  }
  .body-print .modal-dialog-centered {
    max-width: 100%;
    min-height: auto;
  }
  .body-print .modal-dialog-centered::before {
    height: auto;
  }
  .body-print .modal-header {
    border-bottom: 0;
  }
  .body-print .modal-header h5 {
    font-size: 20px;
  }
  .body-print .modal-body {
    font-size: 15px;
  }
  .body-print .print-item-img {
    display: block;
  }
  body#order-management-view #table-order-details_length,
  body#order-management-view #table-order-details_filter,
  body#order-management-view #table-order-details_info,
  body#order-management-view #table-order-details_paginate,
  body#order-management-view #edit-order-submit,
  body#order-management-view #print-order-customer,
  body#order-management-view #send-confirm-order,
  body#order-management-view #send-present-order,
  body#order-management-view hr,
  body#order-management-view label[for="edit-order-notes"],
  body#order-management-view #edit-order-notes {
    display: none;
  }
  body#order-management-view .card {
    border: 2px solid #212529 !important;
  }
  body#order-management-view .card .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  body#order-management-view .text-center.py-5 {
    padding-bottom: 0 !important;
  }
  body#order-management-view h1 {
    font-size: 28px;
  }
  body#order-management-view h1 + p .h4 {
    font-size: 22px;
  }
  body#order-management-view #edit-order-giver {
    border: 0;
    padding: 0;
  }
  body#order-management-view #edit-order-message {
    display: none;
  }
  body#order-management-view #print-order-message {
    display: block;
  }
  #order-management-view.customer-print .personal-data,
  #order-management-view.customer-print .billing-data,
  #order-management-view.customer-print .payment-data {
    display: none;
  }
  #order-management-view.customer-print legend.total {
    display: block !important;
  }
  #order-management-view.customer-print .card {
    font-size: 16px;
  }
  #order-management-view.customer-print .card legend {
    display: none;
  }
  .my-order-print #titolo:before {
    content: url('../img/logo-dark.png');
    width: 7cm;
    display: block;
    margin: 0 auto 1.5cm;
  }
  .my-order-print .card,
  .my-order-print #print-my-order {
    display: none;
  }
  .my-order-print #table-cart {
    border: 2px solid #ced4da;
    border-collapse: collapse;
  }
  .my-order-print #table-cart tr {
    display: table-row;
    border: 2px solid #ced4da;
  }
  .my-order-print #table-cart thead {
    display: table-header-group;
  }
  .my-order-print #table-cart th,
  .my-order-print #table-cart td {
    padding: 0.3cm;
    border: 2px solid #ced4da;
    display: table-cell;
  }
  .my-order-print #table-cart th:not(:first-child),
  .my-order-print #table-cart td:not(:first-child) {
    text-align: center;
  }
  .my-order-print #table-cart th strong,
  .my-order-print #table-cart td strong {
    display: none !important;
  }
  .my-order-print footer {
    display: block;
    position: relative;
    margin-top: 2cm;
  }
  .my-presents-print #table-lists {
    width: 20px;
    border: 2px solid #ced4da;
    border-collapse: collapse;
  }
  .my-presents-print #table-lists tr {
    display: table-row;
    border: 2px solid #ced4da;
  }
  .my-presents-print #table-lists thead {
    display: table-header-group;
  }
  .my-presents-print #table-lists th,
  .my-presents-print #table-lists td {
    width: 12%;
    padding: 0.3cm;
    border: 2px solid #ced4da;
    display: table-cell;
  }
  .my-presents-print #table-lists th:nth-child(1),
  .my-presents-print #table-lists td:nth-child(1) {
    width: 10%;
  }
  .my-presents-print #table-lists th:nth-child(3),
  .my-presents-print #table-lists td:nth-child(3) {
    width: 30%;
  }
  .my-presents-print #table-lists th:nth-child(4),
  .my-presents-print #table-lists td:nth-child(4) {
    width: 15%;
  }
  .my-presents-print #table-lists th:nth-child(8),
  .my-presents-print #table-lists td:nth-child(8) {
    width: 9%;
  }
  .my-presents-print #table-lists th:nth-child(7),
  .my-presents-print #table-lists td:nth-child(7),
  .my-presents-print #table-lists th strong,
  .my-presents-print #table-lists td strong {
    display: none !important;
  }
  .my-presents-print #download-pdf-presents {
    display: none;
  }
  .my-presents-print footer {
    display: block;
    position: relative;
    margin-top: 2cm;
  }
}
