:root {
  --nav-utility-admin-height: 45px;
}

hr.custom {
  margin: 1em 0;
  border: none;
  height: 1px;
  background-color: #e4e5e4;
}
.display-1 {
  font-size: 12em;
  height: 1em;
  margin-top: 1em
}
.display-4 {
  font-size: 3em
}

.category_with_slider.logo-carousel img {
  height: 100% !important;
  max-height: 100% !important;
}
.product-carousel .logo-carousel li,
.category_with_slider.logo-carousel li {
  text-align: center;
}
.product-carousel .logo-carousel li,
.category_with_slider.logo-carousel li {
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  opacity: 1;
}
.product-carousel .logo-carousel li:hover,
.category_with_slider.logo-carousel li:hover {
  opacity: 1;
}
.product-carousel .logo-carousel img,
.category_with_slider.logo-carousel img {
  width: 100%;
  padding: 1px 15px;
  max-height: 100%;
  object-fit: cover;
}
.category_with_slider.logo-carousel {
  height: 280px;
  overflow: hidden;
}
.category_with_slider.product_name {
  overflow: hidden;
  text-overflow: ellipsis;
  height: 2em;
}
.category_with_slider_head {
  height: 280px;
  position: relative;
}

@media all and (max-width: 767px) {
  .product-carousel .logo-carousel .slides li,
  .category_with_slider.logo-carousel .slides li {
    width: 100%;
  }

  .hover-tile .hover-state {
    opacity: 1;
  }

  .hover-tile img,
  .inner-title img {
    opacity: .7;
  }
  .inner-title {
    background-color: black;
  }

  .inner-title .title {
    opacity: 1 !important;
  }
  .inner-title.hover-reveal .title {
    transform: translate3d(0, 0px, 0);
    -webkit-transform: translate3d(0, 0px, 0);
    -moz-transform: translate3d(0, 0px, 0);
  }
}

.font-1 {
  font-family: 'Special Elite', cursive !important;
}
.font-2 {
  font-family: 'Vujahday Script', cursive !important;
}
.fs-1,
.fs-1 p {
  font-size: 1.1em !important;
}

.fs-1-3,
.fs-1-3 p {
  font-size: 1.3em !important;
}
.fs-2,
.fs-2 p {
  font-size: 1.5em !important;
}
.fs-3,
.fs-3 p {
  font-size: 2em !important;
}
.fs-4,
fs-4 p{
  font-size: 3em !important;
}
.fs-5,
.fs-5 p {
  font-size: 5em !important;
}

.category_with_slider_title {
  position: absolute;
  bottom: 1em;
  left: 0;
  right: 0;
  text-align: center;
  color: white !important;
  font-size: 2.5em;
  z-index: 9999 !important;
}

.variability {
  display: inline-block;
  padding: 1em;
  margin-right: 7px;
  margin-bottom: 15px;
  border: solid 1px;
  cursor: pointer;
}
.variability:hover {
  background-color: var(--primary);
  opacity: .5;
  color: white;
}
.variability.selected {
  background-color: var(--primary);
  color: white;
  font-weight: bolder;
  cursor: default;
}
.variability.selected:hover{
  opacity:1;
}

#quantity::-webkit-outer-spin-button,
#quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: textfield;
  margin: 0;
}

.border-color-1 {
  border-color: #e4e5e4 !important;
}

.display-none {display:none}
.mh-100vh {min-height: 100vh}

.cover {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.pointer {
  cursor: pointer;
}

.edit-btn {
  width: 40px; 
  height: 40px; 
  line-height: 40px; 
  border-radius: 50%; 
  background: rgba(0,0,0,.7); 
  position: absolute; 
  top:15px; 
  right:15px; 
  text-align: center; 
  z-index: 9;
  cursor: pointer;
}

.modal-close-btn {
  position: absolute !important; 
  top: 15px; 
  right: 15px;
  cursor: pointer;
}

.input-error {
  border: solid 1px var(--danger) !important;
}

.input-success {
  border: solid 1px var(--success) !important;
}

.search-thumbnail {
  margin-right: 1em; 
  width: 70px; 
  height: 70px; 
  border-radius: 5px;
  border: solid 1px #ddd;
}
.search-container {
  display:flex; 
  margin-bottom: 16px
}
.blog-default-image {
  width: 100%;
  max-height: 33.33vh;
  object-fit: contain;
}
.sm-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  line-height: 24px;
  padding:0;
  margin:0;
  height: 24px;
  width: 24px;
  border-radius: 50%;
}

.bg-dark a {
  color: #fff;
  opacity: .7;
}
.bg-dark a:hover {
  color: #fff;
  opacity: 1;
}

input[type="submit"]{
  transition:  0.3s; 
  -webkit-transition:  0.3s; 
}
input[type="submit"]:hover{
  /*background-color: var(--primary-highlighted);*/
  opacity: .8;
}

.btn.highlight {
  transition: 0.3s;
  -webkit-transition:  0.3s; 
}
.btn.highlight:hover {
  opacity: .8;
}
.text-underline {text-decoration: underline !important}


.pricing-table .btn:hover {
  color: var(--yellow);
}
.pricing-table.emphasis .btn {
  color: #fff;
  border-color: #fff;
}
.pricing-table.emphasis .btn:hover {
  color: black;
  border-color: black;
}

.bg-secondary .pricing-table.boxed {
  background-color: white !important;
}
.bg-dark .pricing-table.boxed h5,
.bg-dark .pricing-table.boxed span,
.bg-dark .pricing-table.boxed p,
.bg-dark .pricing-table.boxed li,
.bg-primary .pricing-table.boxed h5,
.bg-primary .pricing-table.boxed span,
.bg-primary .pricing-table.boxed p,
.bg-primary .pricing-table.boxed li {
  color: var(--primary) !important;
}

.bg-primary .pricing-table .price {
  color: white;
}

.bg-primary .pricing-table.emphasis {
  background-color: black;
}

#popup-wa {
  position: fixed;
  right: 15px;
  bottom: -150px;
  padding: 15px;
  z-index: 99999999;
  transition: bottom 1s;
}

.nav-utility {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: var(--nav-utility-admin-height);
  z-index: 99999;
}

/* 
 * Specifico per DataRoom 
 */
.edit-mode *,
.running * {
    opacity: .9;
    color: var(--yellow) !important
}
.edit-mode:hover *,
.running:hover * {
  opacity: 1;
  color: white !important;
}

.table ul li {
  list-style-type: disc;
}
.table ul li ul li {
  list-style-type: circle;
}
.table ul li ul li ul li {
  list-style-type: square;
}

.border-radius-15 {border-radius: 15px}
.bg-dark-translucent {background-color: rgba(0,0,0,.3)}
.mb1 {margin-bottom: 1px !important}

.success {
  border: solid 1px var(--green) !important;
}
.error {
  border: solid 1px var(--red) !important;
}

.avatar {
  object-fit: cover;
  object-position: center center;
  border-radius: 50%;
  width: auto;
  height: 100%;
  aspect-ratio: 1; 
}

.message-date {
  color: var(--gray);
  font-size: .85em;
  text-align: right;
  margin-bottom: 0;
  padding-bottom: 0;
}
.message-time {
  font-weight: bold;
  text-align: right;
  margin-top: -.9em;
  padding-top:0;
}


.message .received {
  padding: 16px;
  width: 60%;
  background-color: var(--green);
  color: white;
}
.message .sent {
  float: right;
  padding: 16px;
  width: 60%;
  background-color: var(--blue);
  color: white;
  text-align: right;
}

.message-sep {
  clear: both;
  height: 8px;
}

.btn.btn-outline {
  background: transparent;
}
.btn.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--primary);
}


.btn.btn-outline.btn-green {
  border-color: var(--green);
  color: var(--green);
}
.btn.btn-outline.btn-green:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

.btn.btn-outline.btn-red {
  border-color: var(--red);
  color: var(--red);
}
.btn.btn-outline.btn-red:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}