/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
@media (min-width: 992px) {
  #header .header-menu {
    position: relative;
  }

  #header #_desktop_top_menu {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 0;
    padding: 0;
  }

  #header #top-menu.top-menu-level-0 {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
  }

  #header #top-menu.top-menu-level-0 > .menu-item-level-0 {
    position: static;
    float: none;
  }

  #header #top-menu.top-menu-level-0 > .menu-item-level-0 > .menu-link-root {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 12px 20px 7px 18px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .02em;
        text-transform: uppercase;
        color: #111;
        transition: color .2s ease;
  }

  #header #top-menu.top-menu-level-0 > .menu-item-level-0:hover > .menu-link-root,
  #header #top-menu.top-menu-level-0 > .menu-item-level-0.current > .menu-link-root {
    color: #000000;
  }

  #header #top-menu.top-menu-level-0 > .menu-item-level-0 > .sub-menu {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 28px 36px 30px;
    background: #fff;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .06);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
    display: block !important;
    z-index: 50;
  }

  #header #top-menu.top-menu-level-0 > .menu-item-level-0:hover > .sub-menu,
  #header #top-menu.top-menu-level-0 > .menu-item-level-0:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  #header .top-menu .sub-menu .top-menu-level-1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 18px;
    padding: 0;
    margin: 0;
    width: 100%;
  }

  #header .top-menu .sub-menu .top-menu-level-1 > .menu-item-level-1 {
    float: none;
    width: 100%;
    margin: 0;
    list-style: none;
  }

  #header .top-menu .top-menu-level-1 > .menu-item-level-1 > .menu-link {
    display: block;
        padding: 0 0 2px;
        margin: 0;
        font-size: 15px;
        font-weight: 400;
        line-height: 12px;
        color: #000000;
        text-transform: none;
  }

  #header .top-menu .top-menu-level-1 > .menu-item-level-1 > .menu-link:hover {
    color: #6c6b6c;
  }

  #header .top-menu .top-menu-level-1 .sub-menu-inner {
    display: block !important;
    margin: 0;
    padding: 0;
  }

  #header .top-menu .top-menu-level-2,
  #header .top-menu .top-menu-level-3,
  #header .top-menu .top-menu-level-4 {
    margin: 0;
    padding: 0;
  }

  #header .top-menu .top-menu-level-2 > li,
  #header .top-menu .top-menu-level-3 > li,
  #header .top-menu .top-menu-level-4 > li {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  #header .top-menu .top-menu-level-2 > li > a,
  #header .top-menu .top-menu-level-3 > li > a,
  #header .top-menu .top-menu-level-4 > li > a {
    display: block;
    padding: 0 0 8px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
    color: #444;
  }

  #header .top-menu .top-menu-level-2 > li > a:hover,
  #header .top-menu .top-menu-level-3 > li > a:hover,
  #header .top-menu .top-menu-level-4 > li > a:hover {
    color: #d05c96;
  }

  #header .top-menu .ps_mainmenu-img {
    display: none;
  }
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
  #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
    font-size: 15px;
    font-weight: 600;
    padding: 14px 0;
    border-bottom: 1px solid #efefef;
  }

  #mobile_top_menu_wrapper .top-menu .sub-menu {
    padding: 8px 0 8px 14px;
    background: #ffffff;
    border-radius: 8px;
    margin: 8px 0 12px;
  }

  #mobile_top_menu_wrapper .top-menu .sub-menu li > a {
    font-size: 14px;
    line-height: 1.45;
    color: #222;
    padding: 8px 0;
  }

  #mobile_top_menu_wrapper .top-menu .navbar-toggler {
    padding: 6px 0 6px 12px;
  }
}

#header #top-menu.top-menu-level-0,
#header #top-menu.top-menu-level-0 > .menu-item-level-0 {
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-banner { margin-bottom: 12px;}





.product-custom-accordion {
  margin-top: 18px;
}

.product-custom-accordion .pca-item {
  margin-bottom: 8px;
  background: #f6f6f6;
  border-radius: 6px;
}

.product-custom-accordion .pca-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 20px;
    margin: 0;
    list-style: none;
    cursor: pointer;
    background: #ebebeb;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    box-sizing: border-box;
    border-radius: 6px;
}

.product-custom-accordion .pca-summary::-webkit-details-marker {
  display: none !important;
}

.product-custom-accordion .pca-summary::marker {
  display: none !important;
  content: "";
}

.product-custom-accordion .pca-summary::after {
  content: "+";
  position: static;
  transform: none;
  display: inline-block;
  flex: 0 0 auto;
  min-width: 20px;
  margin-left: 16px;
  text-align: center;
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
  color: #111;
}

.product-custom-accordion .pca-item[open] > .pca-summary::after {
  content: "-";
}

.product-custom-accordion .pca-content {
  background: #fff;
}

.product-custom-accordion .pca-inner {
  padding: 18px;
  border-top: 1px solid #ececec;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

#category-description-bottom h2,h3 {
    font-size: 16px;
    font-weight: 600;
	display:block;
}

.an_banner-text h3 {
    font-size: 32px;
    font-weight: 600;
    color: #000000;
}


.boxedtop {
    border: 2px solid #cc4371;
    border-radius: 33px;
    line-height: 46px;
    color: #000;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 12px;
}

.boxfoot {
    padding-top: 12px;
    padding-bottom: 5px;
}

#custom-text > p {
  margin: 0 0 12px;
}

#custom-text > p img {
  display: block;
  width: 100%;
  height: auto;
}

#custom-text > p {
  margin: 0 0 12px;
}

#custom-text > p img {
  display: block;
  width: 100%;
  height: auto;
}

#custom-text .boxfoot {
  margin-left: -15px;
  margin-right: -15px;
}

#custom-text .boxfoot::after {
  content: "";
  display: block;
  clear: both;
}

#custom-text .boxedtop a {
  display: block;
  color: inherit;
  text-decoration: none;
}

@media (max-width: 767.98px) {
	
	#custom-text .boxfoot {
    margin-left: -5px;
    margin-right: -5px;
  }
	
  #custom-text .boxfoot .product_item {
    width: 50%;
    float: left;
    padding-left: 5px;
    padding-right: 5px;
  }

  #custom-text .boxedtop {
    font-size: 12px;
    letter-spacing: 1px;
    line-height: 42px;
  }
  
 #custom-text .boxedtop {
        font-size: 12px;
        letter-spacing: 1px;
        line-height: 25px;
    }
	
	#custom-text .boxedtop a {
    
    font-size: 11px;
    letter-spacing: 0px;
}
  
}

#custom-text .boxfoot::after {
  content: "";
  display: block;
  clear: both;
}

#custom-text .boxedtop a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.rass {
    border: 2px solid #cc4371;
    text-align: center;
    line-height: 36px;
    border-radius: 33px;
    margin-bottom: 8px;
    letter-spacing: -.2px;
    text-transform: uppercase;
    width: 31%;
    display: block;
    font-size: 12.5px;
    float: left;
    margin-right: 2%;
    font-weight: 600;
	line-height: 18px;
}

.footer-wrapper, .block_newsletter {  
    background-image: url(/img/cms/pattern.png); 
    background-repeat: repeat;
    background-size: 18%;
}
.boxedtop a {  
    font-size:13px;
}

.boxedtop {  
    font-size:13px;
}

.whatsapp-float {
    position: fixed;
    bottom: 74px;
    right: 19px;
    width: 58px;
    height: 58px;
    z-index: 9999;
}

.whatsapp-float img {
    width: 88%;
    object-fit: contain;
    background: #25d366;
    padding: 10px;
    border-radius: 50%;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-social {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #cc4371;
  color: #fff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  transition: all .2s ease;
}

.contact-social:hover,
.contact-social:focus {
  background: #6d5986;
  color: #fff !important;
  text-decoration: none !important;
}

.contact-social svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.contact-social.youtube svg {
  width: 24px;
  height: 24px;
}

/*.loghi {
    width: 7.7%;
    float: left;
    border: 1px solid #ffffff;
    margin-right: 0.3%;
    margin-left: 0.3%;
    border-radius: 6px;
    margin-bottom: 12px;
    padding: 0px 12px;
}
*/

.loghi-marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
}

.loghi-track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  will-change: transform;
}

.loghi-marquee .loghi {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-decoration: none;
}

.loghi-marquee .imgloghi {
  display: block;
  width: auto;
  height: auto;
  max-height: 42px;
}

.loghi-marquee:hover .loghi-track {
  cursor: default;
}

@media (max-width: 767.98px) {
  .loghi-track {
    gap: 20px;
  }

  .loghi-marquee .imgloghi {
    max-height: 28px;
  }
}






@media (min-width: 300px) and (max-width: 767px) {
.rass {width: 100%;font-size: 8px;}
}


@media (min-width: 767px) and (max-width: 1024px) {
.rass {width: 48%;}
}

@media (max-width: 991px) {
.rassicurazioni {padding-top:25px;}
.an-sfsl p {
    margin-bottom: 0;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    line-height: 14px;
    padding-left: 22px;
    padding-right: 12px;
}

}

.pagfoot {
    width: 740px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding-bottom: 18px;
}

.titnncon {
    background: #811d2c;
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: 22px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.titcons {
    background: #85a652;
    width: 100%;
    display: block;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    margin-top: 22px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.titnncon2 {
    background: #ae5e6b;
    width: 100%;
    display: block;
    text-align: center;
    color: #fff;
    padding-top: 12px;
    padding-bottom: 12px;
    margin-top: 22px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.group_nb {display: none !important;}
