/* General tag and Font rendering ruleset */
html {
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}
body {
    font-family: 'Roboto', sans-serif;
    position: relative;
    font-size: 15px;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-font-feature-settings: 'liga', 'kern';
    -webkit-font-variant-ligatures: none;
    font-variant-ligatures: none;
    -webkit-overflow-scrolling: touch;
    background-image: url(../img/dirt.png);
    background-size: 100%;
    background-color: #f5f1ee;
}
/* headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
    margin: 0;
	line-height: 1.2em;
}
a.btn.bg-purple, span.btn.bg-purple {
    text-decoration: none;
}
a.btn.bg-purple:hover, span.btn.bg-purple:hover {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.95;
}
a.btn.bg-purple:focus, span.btn.bg-purple:focus {
    text-decoration: none;
    color: #ffffff;
    opacity: 0.9;
}
.search-btn {
    border-radius: 50%;
    padding: 0;
    width: 40px;
    height: 40px;
    display: inline-block;
    transform: translateY(-10px);
}
.search-btn span {
    transform: translateY(9px);
}
.no-float {
    float: none;
}
/* Flex classes  */
.flex {
display: -ms-flexbox;
display: -webkit-box;
display: -webkit-flex;
display: flex;
}
@media screen and (max-width: 992px) {
    .no-flex {
        display: block;
    }
}
.w-full {
    width: 100%;
}
.h-full {
    height: 100%;
}
.flex-item {
flex: 1 1 0;
-webkit-flex: 1 1 0;
/* VERY OLD Safari, iOS  */
-webkit-box-flex: 1;
box-flex: 1;
}
.flex-item-auto {
flex: 1 1 auto;
-webkit-flex: 1 1 auto;
/* VERY OLD Safari, iOS  */
-webkit-box-flex: 1;
box-flex: 1;
}
.flex-content-center {
  -ms-flex-pack: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}
.flex-content-around {
-ms-flex-pack: distribute;
-webkit-justify-content: space-around;
justify-content: space-around;
}
.flex-content-between {
-ms-flex-pack: justify;
-webkit-box-pack: justify;
-webkit-justify-content: space-between;
justify-content: space-between;
}
/* Pack items from the end */
.flex-content-end {
  -ms-flex-pack: end;
  -webkit-box-pack: end;
  -webkit-justify-content: flex-end;
  justify-content: flex-end;
}
.flex-align-items-center {
-ms-flex-align: center;
-webkit-align-items: center;
-webkit-box-align: center;
align-items: center;
}
.flex-align-items-end {
-ms-flex-align: end;
-webkit-align-items: flex-end;
-webkit-box-align: end;
align-items: flex-end;
}
.flex--align-items-stretch {
  -ms-flex-align: stretch;
  -webkit-align-items: stretch;
  -webkit-box-align: stretch;
  align-items: stretch;
}
.flex-align-content-start {
  -ms-flex-line-pack: start;
  -webkit-align-content: flex-start;
  align-content: flex-start;
}
.flex-align-self-end {
    align-self: flex-end;
}
.flex-column {
  -ms-flex-direction: column ;
  -webkit-box-direction: normal;
  -webkit-box-orient: vertical;
  -webkit-flex-direction: column ;
  flex-direction: column ;
}
.flex-row {
  -ms-flex-direction: row;
  -webkit-box-direction: normal;
  -webkit-box-orient: horizontal;
  -webkit-flex-direction: row;
  flex-direction: row;
}
@media screen and (max-width: 787px) {
    #panel-cerca .flex .container {
        width: 100%;
    }
    #panel-cerca #mega-form {
        width: 100%;
    }
}
/* separators */
.separator-black {
    margin: 7.5px 0 15px;
    border-width: 2px;
    border-color: #000000;
}
.b-bottom-5-purple {
    border-bottom: 10px solid #6c4796!important;
}
.b-bottom-5-purple-light {
    border-bottom: 10px solid #876bad;
}
.b-bottom-7-purple-light {
    border-bottom: 7px solid #6c4796;
}
.b-top-5-purple {
    border-top: 5px solid #6c4796;
}
/* quote */
.quote {
    color: #6c4796;
    font-size: 20px;
    line-height: 26px;
}
.quote small {
    display: block;
    margin-top: 15px;
}
/* Text classes  */
.roboto {font-family: 'Roboto', sans-serif;}
.roboto-slab {font-family: 'Roboto Slab', serif;}
.purple {color: #6c4796;}
.yellow {color: #fbc12d;}
.font-light {font-weight: 300;}
.font-medium {font-weight: 500;}
.font-bold {font-weight: 700;}
.font-italic {font-style: italic;}
.subheading {font-size: 40px;}
.heading-1 {font-size: 64px;}
.heading-2 {font-size: 22px;}
.heading-3 {font-size: 40px;}
.heading-4 {font-size: 30px;}
.base {font-size:15px;}
.lead {font-size: 24px;}
.lead-2 {font-size: 14px;}
.leading-lead {line-height: 24px;}
@media screen and (max-width: 992px) { 
    .heading-1 {font-size: 40px;}
    .heading-3 {font-size: 24px;}
    .subheading {font-size: 24px;}
}

/* Header modifier classes   */
.home #masthead {
    position: absolute;
    background: transparent;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
}
@media screen and (max-width: 992px) {
    #masthead .navbar-collapse{
        display: none!important;
        border: 0!important;
        box-shadow: none;
        margin: 0!important;
    }
    #masthead .navbar-collapse.collapse {
        display: none!important;
        border: 0;
        box-shadow: none;
    }
    #masthead .navbar-collapse.collapsing {
        display: block!important;
        width: 100%;
        float: left;
        padding: 0;
        border: 0;
    }
    #masthead .navbar-collapse.collapse.in {
        display: block!important;
        width: 100%;
        float: left;
        padding: 0;
        border: 0;
    }
    #masthead .navbar-collapse ul {
        text-align: left;
        background: #000;
    }
    #masthead .navbar-collapse ul li {
        display: block;
    }
    #masthead .navbar-collapse ul li a {
        padding: 7.5px 15px;
        display: inline-block;
    }
    #masthead .navbar-collapse .header__nav {
        margin-top: 15px;
        float: none;
    }
}

/* logo */
#masthead .logo {max-width: 180px;}
/* Height classes  */
.h-screen {height: 100vh;}
.h-screen-90 {
    height: 90vh;
    max-height:950px;
}
/* Overlay classes */
.overlay-full {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
/* Bg color and gradient */
.bg-gradient-dirt {background-image: linear-gradient(225deg, rgba(26, 26, 26, 0) 31%, rgba(82, 76, 51, 0.6) 51%, rgba(82, 76, 51, 0.92) 70%);}
.bg-gradient-white {background-image: linear-gradient(90deg, rgba(235, 235, 235, 0) 14%, rgba(235, 235, 235, 0.87) 41%, rgb(235, 235, 235) 62%);}
.bg-gradient-black {background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 35%, rgba(0, 0, 0, 0.05) 101%);}
.bg-black {background-color: #000000;}
.bg-white {background-color: #ffffff;}
.bg-purple {background-color: #6c4796;}
.bg-purple-dark {background-color: #4f2c85;}
.bg-purple-05 {background-color:rgba(108,71,150,.8);}
.bg-purple-dark-05 {background-color: rgba(79,44,133,.8);}
.bg-purple-darker {background-color: #210639;}
.bg-yellow {background-color: #fbc12d;}
.bg-left {background-position: -400px!important;}
.no-border {border: none;}
.bg-header {
    background-image: url('../img/bg-header.jpg');
    background-position: center center; 
    background-repeat: no-repeat;
}
@media screen and (max-width: 992px) {
    .bg-left {background-position: center center!important;}
}
.bg-grey-75 {background-color: rgba(238,238,238,.80);}
.bg-bw{filter: grayscale(1);}
.bg-transparent {background-color: transparent;}
/* Subheader Nav */
.subheader {
    background-color: #6c4796;
    padding-top: 10px;
    padding-bottom: 10px;
}
.subheader__nav {color: white;}
.subheader__nav a {
    font-size: 14px;
    color: white;
    font-weight: 700;
}
.subheader__nav ul {display: inline-flex;}
.subheader__nav li {padding: 0;}
.subheader__nav ul li:after {
    content: '|';
    position: relative;
    display: inline-block;
    color: #ffffff;
    padding-left: 5px;
    padding-right: 5px;
    vertical-align: middle;
    margin-top: -3px;
}
.subheader__nav ul li:last-child:after {content: none;}
/* header nav */
.header__nav {float: right;}
.header__nav a {
    font-size: 14px;
    font-weight: 700;
    color: white;
    padding-left: 15px;
    padding-right: 15px;
}
.header__nav a:hover {
    color: white;
    opacity: 0.8;
}
/* Form */
.logo-bg {
    background-image: url(../img/logo-wrapper-bg.svg);
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    overflow: visible;
}
.logo-wrapper {
    width: 30%;
    min-width: 300px;
    height: 85vh;
    min-height: 620px;
    margin: 0 auto;
    background-color: rgba(255,255,255,.8);
}
@media screen and (max-width: 1280px) {
    .logo-wrapper {
        height: 80vh;
        min-height: 500px;
    }
}
.logo-wrapper__info {
    display: block;
    text-align: center;
    padding-bottom: 30px;
}
.logo-wrapper__logo img {
    width:120px;
}

.logo-wrapper__logo h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 14px;
}
.logo-wrapper__claim {
    margin-top: 45px;
    padding: 15px;
}
.logo-wrapper__claim h2 {
    font-size: 24px;
    word-break: break-word;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.logo-wrapper__claim h3 {
    font-size: 22px;
}
.logo-wrapper__logo--notHome {
    background-image: url(../img/logo-wrapper-bg-head.png);
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 30%;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    margin: 0 auto;
}
.logo-wrapper__logo--notHome img {
    width:90px;
}
.logo-wrapper__nav nav ul li a  {
    font-size: 22px;
}
.logo-wrapper__nav nav ul li a:hover  {
    color: #ffffff;
    opacity: .8;
    text-decoration: none;
}
@media screen and (max-width: 1280px) {
    .logo-wrapper__info {
        padding-bottom: 0px;
    }
    .logo-wrapper__logo {
        padding-top: 50px;
    }
    .logo-wrapper__logo img {
        width:100px;
    }
    .logo-wrapper__claim {
        margin-top: 0px;
    }
    .logo-wrapper__claim h2 {
        font-size: 20px;
    }
    .logo-wrapper__claim h3 {
        font-size: 18px;
    }
}
/* Archivi */
.archivi {
    margin-top: 20vh;
    margin-bottom: 20vh;
}
@media screen and (max-width: 992px) {
    .archivi {
        margin-top: 10vh;
        margin-bottom: 10vh;
    }
}
.archivi a {
    font-size: 30px;
    font-weight: 300;
    opacity: 0.8;
}
@media screen and (max-width: 992px) { 
    .archivi a {
        font-size: 20px;
        padding: 7.5px 0;
        display: inline-block;
    }
}
.archivi a:hover {
    opacity: 1;
    color: #003871;
    font-weight: 500;
}
.archivi__img figure {
    max-width: 100%;
    height: 380px;
    text-align: center;
}
.archivi__img figure img {
    width: auto;
    height: 100%;
}
/* Carosello */
#home-carousel figure {
    width: auto;
    height: 480px;
}
#home-carousel figure img {
    width: auto;
    height: 100%;
}
/* Percorso */
#percorsi-carousel a {
    text-decoration: none;
}
#percorsi-carousel a:hover .item-perc .bg-gradient-black {
    background-image: none;
    background-color: rgba(0, 56, 113, 1);
    mix-blend-mode: multiply;
    opacity: .85;
}
#percorsi-carousel .item-perc {
    position: relative;
    height: 80vh;
    max-height: 700px;
    padding: 60px;
}
#percorsi-carousel .item-perc .item-perc__info {
    position: relative;
    color: #fff;
    margin-bottom: 60px;
}
#tab-affix ul li button {
    transform: translateY(9px);
    border: 0;
    background-color: transparent;
    border-bottom: 5px solid transparent!important;
    padding-bottom: 5px;
}
#tab-affix ul li button.active {
    border-bottom: 5px solid #6c4796!important;
}
#tab-affix .nav-tabs {
    border: 0;
    padding-bottom: 10px;
} 
/* Cerca */
.results-transform-y {
    position: absolute;
    width: 100%;
    transform: translateY(-100%);
    z-index: 99;
}
.elenco-filtri .input-group {
    border: 1px solid #444444;
    background-color: #FFFF;
}
/* Menu panel  */
#panel-menu {
    position: absolute;
    width: 100%;
    height: 100vh;
    top:0;
    left: 0;
    z-index: 9999;
    display: none;
}
.panel-menu-nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9;
    border: none;
    background: none;
}
.panel-menu-nav nav ul li a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}
/* Cerca panel  */
#panel-cerca {
    position: absolute;
    width: 100%;
    height: 100vh;
    top:0;
    left: 0;
    z-index: 9999;
    display: none;
}
.panel-cerca-nav-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 9;
    border: none;
    background: none;
}
.panel-cerca-nav nav ul li a {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
}
/* Affix  */
.affix {
    position: fixed;
    top: 0;
    width: 100%;    
    background-color: #ffffff;
    z-index: 9999;
}
.anchor-nav {
    margin: 0 auto;
    float: none;
    padding-top: 85px;
}
.anchor-nav a {
    text-align: center;
    position: relative;
    display: inline-block;
    width: 100%;
}
.anchor-nav a svg {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.anchor-nav a:hover, .anchor-nav a:focus, .anchor-nav a:active {
    color: #ffffff;
    opacity: .8;
    text-decoration: none;
}
@media screen and (max-width: 1280px) {
    .anchor-nav {
        padding-top: 20px;
    }
}
@media screen and (max-width: 992px) {
    .anchor-nav {
        padding-top: 15px;
    }
}
.pdf-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform:translate(-50%,-50%);
}