body{
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
}
h1,.h1,h2,.h2,h3,.h3,h4,.h4,h5,.h5,h6,.h6{
    font-family: 'Space Grotesk', sans-serif;
}
img{
    max-width: 100%;
    height: auto
}
.text-blue{
    color: #004b8d;
}
.btn-primary, #edit-submit-prodotti {
    background-color: #3b5998;
    border-color: #3b5998;
    padding: 0.5rem 2rem;
    border-radius: 0;
}
.btn-primary:hover,
.btn-primary:focus,
#edit-submit-prodotti:hover,
#edit-submit-prodotti:focus {
    background-color: #004b8d;
    border-color: #004b8d;
}
#edit-submit-prodotti {
    color: #ffffff;
}
.nav-pills .nav-link, .nav-pills .show>.nav-link {
    color: #3b5998;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #fff;
    background-color: #3b5998;
}
.bg-light-blue{
    background-color: rgba(0, 75, 141, 0.185);
}
.bg-verylight-blue{
    background-color: rgba(0, 75, 141, 0.1);
}
.path-frontpage header#header {
    position: absolute;
    /* top: 80px; fix da online */
    z-index: 999;
    width: 100%;
    background: transparent;
}
.path-frontpage #navbar-main {
    background: transparent!important;
}
#navbar-main a, #navbar-main li {
    color: #ffffff!important;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Space Grotesk';
    letter-spacing: 0.5px;

}
.dropdown-menu.show {
    display: block;
    background: rgb(51 51 51 / 45%);
    border-radius: 0;
    border: none;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: rgb(51 51 51 / 65%);
}
.filter-white{
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(297deg) brightness(110%) contrast(110%);
}
.carousel-item:before{
    content: '';
    background-color: rgb(0 0 0 / 30%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.view-display-id-slide_home .view-content.row{
    display: block;
    padding: 0;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
.carousel-control-next, .carousel-control-prev {
    z-index: 2;
}
.carousel-caption {
    top: 40%;
    z-index: 3;
}
.carousel-item img{
    width: 100%;
}
.carousel-caption h3{
    font-size: calc(1.575rem + 3.9vw);
    font-weight: 600;
    line-height: 1.2;
}
.content-service{
    overflow: hidden;
    transition: transform .2s ease-in;
}
.content-service img{
    transition: 0.5s cubic-bezier(0.6, 0.03, 0.28, 0.98);  
    transform: scale(1);
}
.content-service:hover img{
    transform: scale(1.2);
    transition: 0.5s cubic-bezier(0.6, 0.03, 0.28, 0.98);
}
.content-service:before {
    content: '';
    background: rgb(0 0 0 / 30%);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.content-service .caption{
    bottom: 1rem;
    left: 2rem;
    z-index: 2;
}

.btn-arrow{
    font-size: 15px;
    line-height: 1.05em;
    position: relative;
    display: inline-flex;
    vertical-align: middle;
    min-width: 120px;
    margin: 0;
    text-decoration: none;
    border-radius: 0;
    outline: 0;
    transition: color .3s ease-out,background-color .3s ease-out,border-color .3s ease-out;
}
.btn-arrow .text{
    display: inline-flex;
}
.btn-arrow.text-dark .icon{
    display: inline-flex;
    margin-left: 9px;
    color: #333;
}
.qodef-svg--button-arrow {
    fill: currentColor;
    stroke: none;
}
.btn-arrow:hover .qodef-svg--button-arrow path:nth-of-type(1) {
    transform: translateX(18px);
    transition: transform .2s ease-in;
}
.btn-arrow .qodef-svg--button-arrow {
    width: 18px;
}
.btn-arrow.text-dark svg path {
    fill: #333;
}
.btn-arrow svg path {
    fill: #fff;
}
.btn-arrow .qodef-svg--button-arrow path:nth-of-type(1) {
    transform: translateX(0);
    transition: transform .2s ease-out .2s;
}
.btn-arrow:hover .qodef-svg--button-arrow path:nth-of-type(2) {
    transform: translateX(0);
    transition: transform .2s ease-out .2s;
}
.btn-arrow .qodef-svg--button-arrow path:nth-of-type(2) {
    transform: translateX(-18px);
    transition: transform .2s ease-in;
}

@media (min-width:992px) {
    .even .image, .even .text, .odd .text{
      margin-left: 8.33333333%;
    } 
    .even .image{
      order: 2!important;
    }  
    .even .text{
      order: 1!important;
    }
    
  }

#search-form label{
    font-weight: 500;
    margin-bottom: 1rem;
}
#search-form #edit-actions {
    margin-bottom: 0!important;
}
/* GALLERY*/
.photo .overlay-pic {
    cursor: crosshair;
}
.photo .overlay-pic {
    background-color: rgb(0 140 186 / 55%);
}
.photo .card{
    position:relative;
}
.card:hover .overlay-pic {
  opacity: 1;
}
.photo .title {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-align: center;
}
/* REGION*/
.featured-top {
    margin-bottom: 2rem;
}
/* MATERIAL ICON*/
.material-icons.md-18,
.material-icons.md-18  { font-size: 18px; }
.material-icons.md-24,
.material-icons.m-24 { font-size: 24px; }
.material-icons.md-36,
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48,
.material-icons.md-48 { font-size: 48px; }
/* SPINNER */
.spinner .path {
    stroke: #93bfec;
    stroke-linecap: round;
    -webkit-animation: dash 1.5s ease-in-out infinite;
    animation: dash 1.5s ease-in-out infinite;
  }
  @-webkit-keyframes rotate {
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @keyframes rotate {
    100% {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  @-webkit-keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }
  @keyframes dash {
    0% {
      stroke-dasharray: 1, 150;
      stroke-dashoffset: 0;
    }
    50% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -35;
    }
    100% {
      stroke-dasharray: 90, 150;
      stroke-dashoffset: -124;
    }
  }
  .spinner {
    -webkit-animation: rotate 2s linear infinite;
    animation: rotate 2s linear infinite;
    z-index: 100;
    position: absolute;
    top: 70%;
    left: 50%;
    margin: -25px 0 0 -25px;
    width: 50px;
    height: 50px;
  }
/* MISC */
html, body {
    height: 100%;
}
.overlay-pic {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background-color: #008CBA;
}
.featured-top__inner.section {
    padding: 0;
}
#go_dashboard {
    position: fixed;
    left: 50px;
    bottom: 100px;
    border: 2px solid #fff;
    z-index: 9999999;
    color: #fff;
}
.w24{
    width: 24px;
}
.mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-attachment: fixed;
}
main#content {
    padding: 0;
    margin: 0;
}
a {
    text-decoration: none;
}
.material-icons,
.material-icons {
    vertical-align: middle;
}
#gotop {
    display: none;
    position: fixed;
    bottom: 70px;
    right: 10px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: #212121;
    color: white;
    border:1px solid lightgrey;
    cursor: pointer;
    padding: 5px;
    border-radius: 6px;
}
#gotop:hover {
    background-color: #555;
}
/* BUTTONS */
.btn-floating {
    width: 40px;
    height: 40px;
}
.btn-floating,
[class*=btn-outline-].btn-floating {
    border-radius: 50%;
    padding: 0;
    position: relative;
}
.ripple-surface {
    position: relative;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle;
}
/* BREADCRUMBS*/
#block-bootstrap-barrio-subtheme-breadcrumbs a {
    color: #fff;
    font-weight: 600;
}
#block-bootstrap-barrio-subtheme-breadcrumbs li {
    color: wheat;
    font-weight: 600;
}
.breadcrumb-item+.breadcrumb-item::before{
    color:wheat;
}
/* FOOTER */
footer .copy .material-icons {
    font-size: 20px;
}
footer .copy a {
    color: #ffffff;
}
.social-link img {
    width: 24px;
    padding-top: 6px;
}
/* NEWSLETTER */
.ui-dialog .ui-dialog-titlebar {
    background: #607d8b;
    color: #fff;
}
button.ui-dialog-titlebar-close {
    border: none;
    background:powderblue;
}
.form-item-privacy {
    margin-bottom: 1rem;
    border-bottom: 1px solid lightgray;
    padding-bottom: 1rem;
}
.webform-button--submit {
    float: right;
}
.webform-submission-newsletter-form input {
    border-radius: 25px;
    padding: 10px 20px
}
.topbar-dark .topbar-text, .topbar-dark .topbar-link {
    color: rgba(255,255,255,.65);
}
.topbar .topbar-text, .topbar .topbar-link {
    display: inline-block;
    margin-bottom: 0;
    text-decoration: none !important;
}
button.ui-dialog-titlebar-close {
    /* IMPOSTARE X*/
}
/* NAV */
.navbar-brand{
    padding-top: .3rem;
    padding-bottom: .3rem;
}
/* TOP BAR*/
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0px  10px;
    font-size: .875rem;
}
/* GRANSLATE*/
nav#navbar-main a.gtflag, .topbar a.gtflag {
    border-radius: 50%;
    margin-right: 5px;
}
nav#navbar-main #block-gtranslate {
    padding-top: 1rem;
}
.topbar #block-gtranslate {
    padding: 0;
    margin: 0;
}
/* PAGE NODE */
.page .field.field--name-body p {
    text-align: justify;
}
/* MAP*/
.gmap {
    position: relative;
    overflow: hidden;
}
/* CONTATTI*/
.contact li >a {
    font-size: 1.1rem;
    font-weight: 450;
    color: #757575;
}
/* RESPONSIVE*/
@media screen and (max-width: 768px) {
    .site-footer {
        padding-bottom: 80px;
    }
    /* PARALLAX*/
    img.parallax-img.img-responsive {

    }
    .hero .bg-image {
        height: auto!important;
    }
}
@media screen and (prefers-reduced-motion: no-preference) {
    html {
      scroll-behavior: smooth;
    }
}

.content-product {
    border: 1px solid #dedede;
    overflow: hidden;
    position: relative;
    transition: all .5s;
}
.content-product:before {
    content: '';
    background: rgb(196 196 196 / 35%);
    width: 100%;
    height: 1000%;
    position: absolute;
    inset: 0;
}
.content-product:hover::before {
    background: rgb(196 196 196 / 15%);
}
.content-product .list-inline-item a{
    background: #00498a;
    padding: 0.2rem;
    color: #fff;
    font-size: 0.7rem;
}
.caption-product h2 > a{
    color: #00498a;
}
ul#customize-controls {
    position: absolute;
    top: 40%;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    width: 100%;
}
.content-khia ol{
    padding-left: 1rem;
    margin-bottom: 0;
}
.images img {
    width: 49%;
    padding: 0.1rem;
}
.content-khia h2 a{
    color: #004b8d;
}
.content-khia .badge a{
    color: #ffffff;
}

div#block-views-block-formazioni-block-formazioni {
    background-color: rgba(0, 75, 141, 0.185);
}
.caption-product h3 a{
    padding: 0.5rem;
}

.best-product img{
    border-radius: 50%;
}
.best-product div:first-of-type{
    text-align: center;
}
.best-product a{
    color: #004b8d;
}
/* COLOR SERIES */
.red-series, .red-series .caption-product h3 a{
    background-color: #E4002B;
    color: #ffffff;
}
/* .product_sub_series .red-series{
    background-color: transparent;
    color: #E4002B;
} */
.blue-series, .blue-series .caption-product h3 a{
    background-color: #00376D;
    color: #ffffff;
}
/* .product_sub_series .blue-series{
    background-color: transparent;
    color: #00376D;
} */
.green-series, .green-series .caption-product h3 a{
    background-color: #009739DD;
    color: #ffffff;
}
/* .product_sub_series .green-series{
    background-color: transparent;
    color: #009739DD;
} */
.yellow-series, .yellow-series .caption-product h3 a{
    background-color: #FFA400;
    color: #ffffff;
}
/* .product_sub_series .yellow-series{
    background-color: transparent;
    color: #FFA400;
} */
.lightblue-series, .lightblue-series .caption-product h3 a{
    background-color: #0088CC;
    color: #ffffff;
}
/* .product_sub_series .lightblue-series{
    background-color: transparent;
    color: #0088CC;
} */
.orange-series, .orange-series .caption-product h3 a{
    background-color: #FF5454;
    color: #ffffff;
}
/* .product_sub_series .orange-series{
    background-color: transparent;
    color: #FF5454;
} */
.product_sub_series{
    background-color: transparent;
    color: inherit;
}