/*
Theme Name: Theme for Studio Agosti
Theme URI: http://hub.liquid-themes.com/
Author: Greis
Author URI: studioagosti.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
*/

::-moz-selection { 
  color: #fff;
  background: var(--color-primary);
}

::selection {
  color: #fff;
  background: var(--color-primary);
}

img {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

textarea {
  resize: none;
}

body.admin-bar {
  margin-bottom: 32px;
}

#wpadminbar {
  bottom: 0;
  top: auto;
}

#wpadminbar .ab-sub-wrapper {
  bottom: 100%;
}

.admin-bar .is-stuck {
  top: 0;
}


.ld-fancy-heading h6 {
  position: relative;
  padding-left: 20px;
  padding-top: 2px;
}

.ld-fancy-heading h6:after {
  display: block;
  content: '';
  width: 14px;
  height: 19px;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url('images/icon-title.png');
  background-size: contain;
  background-repeat: no-repeat;
}

.megamenu-columns ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
  width: 100%;
}

.megamenu-columns li {
  width: 45%;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  margin-right: 5%;
  border-bottom: 1px solid rgba(0,0,0,.1);
  padding-bottom: 12px;
  padding-top: 12px;
  margin-bottom: 0;
}

.megamenu-columns li.current-menu-item a {
  color: var(--color-primary);
}

.megamenu-columns li:nth-of-type(2n){
  margin-right: 0;
}

.megamenu-columns li a {
  min-height: 30px;
}

.row-cta--image,
.row-cta--content {
  display: inline-block;
  position: relative;
  max-width: 100%;
}

.row-cta--image {
  min-height: 300px;
  background-size: cover;
  background-position: center center;
}

.row-cta--content {
  background-color: rgba(0,0,0,.1);
}

/* .megamenu-columns li:after {
  display: block;
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(0,-50%);
  background-color: black;
} */

.breadcrumbs span, 
.breadcrumb span {
  color: #fff;
  font-size: 13px;
  line-break: 22px;
}

.titlebar .breadcrumbs {
  margin-top: 0;
  margin-bottom: 16px;
}

.breadcrumbs>li:not(:last-child):after, .breadcrumb>li:not(:last-child):after {
  color: #143969;
}

.lity-content,
.lqd-modal.cta-form {
  background: #143969;
}

.lity[data-modal-type=fullscreen] .lity-close {
  color: #fff;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  line-height: 18px;
}

.wpcf7-acceptance .wpcf7-list-item-label {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  display: inline-block;
}

.wpcf7-acceptance .wpcf7-list-item-label a {
  text-decoration: underline;
  color: rgba(255,255,255,0.7);
}
.wpcf7-acceptance .wpcf7-list-item-label a:hover {
  color: rgba(255,255,255,1);
}

.lqd-modal.cta-form .ld-fh-element a{
  opacity: 1;
  color: #fff;
}

.wpcf7 .wpcf7-submit:disabled {
  opacity: 0.3;
}

.widget_nav_menu li a {
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
}

.widget_nav_menu li.current-menu-item a,
li.current-page-ancestor > a {
  color: var(--color-primary) !important;
}

.lqd-mobile-sec .navbar-brand {
  min-width: 200px;
}

.titlebar {
  margin-bottom: 30px;
}

.lqd-slsh,
.lqd-slsh .carousel-items,
.lqd-slsh-img-container,
.lqd-slsh-item,
.lqd-slsh .lqd-overlay {
  max-height: 520px !important;
  overflow: hidden;
}

.lqd-slsh .carousel-nav {
  display: none;
}

.max-height-70 img {
  max-height: 70px;
  width: auto;
}

.c-area-box {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 30px 30px 87px;
  margin-bottom: 30px;
  position: relative;
  transition: all .3s ease;
}

.c-area-box:hover {
  box-shadow: 0px 20px 50px 0px rgba(65, 94, 148, 0.09);
  background: #fff;
}

.c-area-box h3 {
  font-size: 24px;
  line-height: 32px;
  margin-top: 0;
  margin-bottom: 16px;
}

.c-area-box p {
  color: #323232;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
  max-width: 100%;
}

.c-area-box span {
  display: inline-block;
  width: 100%;
  position: absolute;
  padding-top: 20px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 20px;
  left: 0;
  bottom: 0;
  content: '';
  border-top: 1px solid #e6e6e6;
}

.c-area-box span i {
  -webkit-transform: translate(0,3px);
      -ms-transform: translate(0,3px);
          transform: translate(0,3px);
}


@media screen and (max-width: 767px) {
  .titlebar-inner h1 {
    font-size: 28px !important;
    line-height: 36px !important;
  }
  .no-stretch-left {
    padding-left: calc((100vw - 100%) / 2) !important;
  }

  .no-stretch-right {
    padding-right: calc((100vw - 100%) / 2) !important;
  }
  .megamenu-columns li {
    width: 100%;
  }

  .row-cta--content {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
  }
}

@media screen and (min-width: 768px) {
  .no-stretch-left {
    padding-left: calc((100vw - 750px) / 2) !important;
  }

  .no-stretch-right {
    padding-right: calc((100vw - 750px) / 2) !important;
  }
}
@media screen and (min-width: 992px) {
  .no-stretch-left {
    padding-left: calc((100vw - 970px) / 2) !important;
  }

  .no-stretch-right {
    padding-right: calc((100vw - 970px) / 2) !important;
  }
}
@media screen and (min-width: 1200px) {
  .no-stretch-left {
    padding-left: calc((100vw - 1170px) / 2) !important;
  }

  .no-stretch-right {
    padding-right: calc((100vw - 1170px) / 2) !important;
  }
}
@media screen and (min-width: 1430px) {
  .no-stretch-left {
    padding-left: calc((100vw - 1400px) / 2) !important;
  }

  .no-stretch-right {
    padding-right: calc((100vw - 1400px) / 2) !important;
  }
  .megamenu-columns li {
    width: 30%;
    margin-right: 3%;
  }
  .megamenu-columns li:nth-of-type(2n) {
    margin-right: 3%;
  }
  .megamenu-columns li:nth-of-type(3n) {
    margin-right: 0;
  }
}