@media (max-width: 501px) {
  .kysh-slidehome {
    display: none;
  }
  figure img {
    width: 500px;
    max-width: 100% !important;
    min-width: 100% !important;
  }  
}

@media (min-width: 500px) {
  .kysh-slidehome-mobile {
    display: none;
  }
  .allsx {
    margin-right: 20px;
  }
  .alldx {
    margin-left: 20px;
  }  
    /* Se l'immagine flotta a sinistra: margine solo a destra e sotto */
    .article-body img[style*="float: left"] {
        margin: 0 20px 10px 0;
    }

    /* Se l'immagine flotta a destra: margine solo a sinistra e sotto */
    .article-body img[style*="float: right"] {
        margin: 0 0 10px 20px;
    }   
}


@media (max-width: 1200px) {
  .t4-megamenu .navbar-nav > li {
    padding-left: 0em !important;
    padding-right: 0em !important;
    font-size: 14px;
  }
  .item-101 #t4-header {
    padding-top: 30px;
  }  
}

.ja-masthead::before {
  background-color: #000;
  opacity: 0;
}

.t4-djslider > .container-fluid {
  margin: -120px 0 0 0 !important;
  padding: 0 0 !important;
}

.kysh-slidehome .slide-desc-text-default .slide-title  {
  text-align: center !important;
}

.kysh-slidehome .slide-desc-text-default a.readmore {
  float: none;
}


.kysh-slidehome .slide-desc-text-default {
  text-align: center;
}

@media (max-width: 991.98px) {
    .navbar-brand.logo-image {
        width: 250px;
    }
    #t4-djslider .slide-title {
      font-size: 16px;
    }
    /*
    .item-101 .t4-djslider > .container-fluid {
      margin: -55px 0 0 0 !important;
      padding: 0 0 !important;
    }
    .item-101 #t4-header .container {
        padding-top: 3rem;
        padding-bottom: 1rem;
    }    
    */
}

.btn.btn-secondary {
  background-color: #b091c3 !important;
  border-color: #b091c3 !important; 
}

.t4-offcanvas-toggle i, .navbar-toggler i {
  color: #704595;
}

.t4-offcanvas .t4-off-canvas-header {
  background-color: rgb(248, 249, 232);
}

.t4-offcanvas .t4-off-canvas-header .close span {
  color: #fff;
}

.t4-footnav a, #t4-footnav2 a {
  color: #b091c3 !important;
}

#t4-footnav, #t4-footnav2 {
  color: #f8f9fa;
  background-color: #413a46 !important;
  z-index: 1;
}

.t4-megamenu .mega-col-nav .mega-col-title, .t4-megamenu .mega-col-module .mega-col-title {
  font-weight: 700;
}

.homelink { 
  display: none !important;
}

.kyshpages {
  background-color: #eee !important;
}

.not-at-top .t4-sticky {
  background-color: #eee !important;
}

#t4-header + #t4-hero {
  /* margin-top: -120px; */
}

.t4-masthead {
  padding: 0 !important;
}

.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
  color: #704595;
  /* border-bottom: 1px solid #fff; */
  border-bottom: none !important;
}
.t4-megamenu .navbar-nav > li > a .item-caret::before, .t4-megamenu .navbar-nav > li > .nav-link .item-caret::before {
  border-top-color: #704595;
  margin-top: 3px;
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
  color: #704595;
  padding: 0.9375rem 0;
  border-bottom: none !important;
  margin-bottom: -1px;
}
.t4-megamenu .navbar-nav > li.show > a,
.t4-megamenu .navbar-nav > li.show > .nav-link, .t4-megamenu .navbar-nav > li:hover > a,
.t4-megamenu .navbar-nav > li:hover > .nav-link {
  color: #9140d7 !important;
}

.t4-megamenu .dropdown-menu ul > .active a.nav-link, .t4-megamenu .dropdown-menu ul > .active a.dropdown-item {
  color: #5b2f89 !important;
}

.t4-megamenu .navbar-nav > li > a .item-caret-w::before, .t4-megamenu .navbar-nav > li > .nav-link .item-caret-w::before {
  border-top-color: #fff !important;
}

.nav-item .dropdown .dropdown-item .menu-item-title {
  color: #212529 !important;
}

#t4-masthead .bg-overlay-image {
	background-image: url("/nuovo/images/bgheader2.jpg") !important;
    background-size: cover;
    background-position-y: center;
}

.t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .dropdown-item, .t4-offcanvas .t4-off-canvas-body .navbar .dropdown-menu .nav-link {
  font-size: 14px;
  line-height: 1pt;
}

@media (min-width: 992px) {
  .nav-breakpoint-lg .t4-megamenu .dropdown-menu .mega-nav > li a.nav-link, .nav-breakpoint-lg .t4-megamenu .dropdown-menu .mega-nav > li a.dropdown-item {
    color: #212529 !important;
  }
}

@media (min-width: 992px) {
  .nav-breakpoint-lg .t4-megamenu .navbar-nav > li > a, .nav-breakpoint-lg .t4-megamenu .navbar-nav > li > .nav-link {
    padding: 3em 0.0em;
  }
}

body {
  color: #666;
}

blockquote {
background: #f9f3ff;
  border-left: 2px solid #d7c8e8;
  margin: 1.5em 10px;
  padding: 1em 10px;
  quotes: "\201C"  "\201D";
}
blockquote:before {
  color: #9674bb;
  content: open-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -0.4em;
}
blockquote::after {
  color: #9674bb;
  content: close-quote;
  font-size: 4em;
  line-height: 0.1em;
  margin-right: 0.25em;
  vertical-align: -.6em;  
}
blockquote p {
  display: inline;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: #9674bb;
}

.article-body a {
  color: #61398d;
}

.article-body > ul > li > p {
  line-height: 1;
}

.kysh-clear {
  clear: both;
  line-height: 3;
}

.category-desc {
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  border: none !important;
}

.ve-testimonials button::before {
  content: "\25B6"
}

#t4-vitaeq-bambino {
  background-color: #eee;
}

.contact-inner .contact-title h2, .contact-inner .panel-default .panel-title {
    display: none;
}


/* blur corsi header start */

body.formazione-header #t4-masthead .ja-masthead {
    position: relative;
    overflow: hidden;
}

body.formazione-header #t4-masthead .ja-masthead::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1;
}

body.formazione-header #t4-masthead .ja-masthead .container {
    position: relative;
    z-index: 2;
}

/* blur corsi header end */

.formazione-offcanvas-title {
  color: #57c9a7 !important;
  font-weight: bold;
  font-size: 12px !important;
}