/*
Theme Name: Opiquad theme
Theme URI: https://www.opiquad.it/
Author: Opiquad
Author URI: https://www.opiquad.it/
Template: hub
Description: Smart, Powerful and Unlimited Customizable WordPress Theme.
Version: 1.0
License: GNU General Public License
License URI: license.txt
Text Domain: hub-child
Tags: responsive, retina, rtl-language-support, blog, portfolio, custom-colors, live-editor
*/

.balanced,
.balanced * {
  text-wrap: balance;
}

.font18{
    font-size:18px;
    line-height: 30px;
}

.svg-100 img {
    width: 100px;
}

/** carousel home **/

.business-carousel h2 {
    font-size: 24px;
    font-weight: 100;
}

.business-carousel h2 a{
    color: #ffffff;
}

.lqd-custom-menu>ul>li {
    margin-bottom: 10px;
}

div.ld-fancy-heading ul li:after {
    position: absolute;
    top: 10px;
    left: 0;
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    background: #123460;
  }

.ld-fancy-heading>ul, .ld-fancy-heading>ol {
    font-size: 16px;
}

.titlebar.text-center .titlebar-inner, .titlebar.text-start .titlebar-inner {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.titlebar.text-center .breadcrumbs, .titlebar.text-start .breadcrumbs {
    margin-top: 0;
    margin-bottom: 80px;
    font-size: 14px;
}

.titlebar-inner h1, .titlebar-inner p, .titlebar-inner .breadcrumbs {
    position: relative;
    z-index: 1;
}


.submit-text.visible-xs {
    display: none!important;
}

div.err {
    display: none;
}


/* OPI */

.btn-icon-semi-round.btn-icon-solid .btn-icon {
    transform: rotate(45deg);
}

.btn-icon-semi-round.btn-icon-solid .btn-icon i {
    transform: rotate(-45deg);
}

.title-with-num small {
  color: inherit !important;
  font-size: 16px;
  margin-right: 50px;
  font-weight: 500;
}

.carousel-service-item .carousel-service-text:after,
.carousel-service-item .carousel-service-text:before {
  display: none !important;
}

.article-opi {
  border-radius: 4px;
  border: 1px solid rgba(18, 52, 96, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  color: var(--color-primary);
}

article > .article-opi {
  height: 100%;
}

.article-opi:hover,
.article-opi:hover h3 {
  color: var(--color-link);
}

.article-opi .lqd-lp-img-wrap {
  display: block;
  position: relative;
  aspect-ratio: 2.4/1;
  width: 100%;
  background: var(--color-primary);
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .lqd-lp-column.articoli {
    width: 100%;
  }
}

.article-opi .lqd-lp-img-wrap .article-opi-overlay {
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(180deg, rgba(242, 128, 148, 0.60) 0%, rgba(18, 52, 96, 0.60) 100%);
}

.article-opi .lqd-lp-img-wrap img {
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  transition: all 3s linear;
}

.article-opi:hover img {
  transform: scale(1.1);
}

.article-opi .lqd-lp-img-wrap .lqd-lp-cat {
  position: absolute;
  display: block;
  top: 16px;
  right: 20px;
  z-index: 3;
  background-color: #fff;
  border-radius: 20px;
  font-size: 12px;
  line-height: 15px;
  padding: 10px 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-primary);
}

.article-opi .lqd-lp-content-wrap {
  padding: 22px 18px 75px 18px;
}

.article-opi h3 {
  font-size: 25px;
  line-height: 34px;
  color: var(--color-primary);
  margin-top: 18px;
}

.article-opi .lqd-lp-date {
  color: var(--color-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

.article-opi .lqd-lp-content-btn {
  position: absolute;
  bottom: 25px;
  left: 0;
  padding: 0 18px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
