@font-face {
    font-family: "Work Sans";
    src: url(../font/WorkSans-Regular.otf);
    font-weight: 400;


}

@font-face {
    font-family: "Work Sans";
    src: url(../font/WorkSans-Medium.otf);
    font-weight: 500;
}


@font-face {
    font-family: "Work Sans";
    src: url(../font/WorkSans-Bold.otf);
    font-weight: 700;
}


@font-face {
    font-family: "Work Sans";
    src: url(../font/WorkSans-ExtraBold.otf);
    font-weight: 800;
}


@font-face {
    font-family: "Work Sans";
    src: url(../font/WorkSans-Italic.otf);
    font-weight: 400;
    font-style: italic;
}

body {
    font-family: 'Work Sans', sans-serif;
    font-weight: normal;
    color: #212121;
}

a:hover {
    text-decoration: none;
}

.weight-400 {
    font-weight: 400;

}

.weight-500 {
    font-weight: 500;

}

.weight-700 {
    font-weight: 700;

}

.weight-800 {
    font-weight: 800;

}

.italic {
    font-style: italic;
}

:focus,
.form-control:focus,
.btn:focus {
    box-shadow: 0 0 0;
    outline: none;
}

button:focus {
    outline: 0px auto -webkit-focus-ring-color;
}

.link-400 {
    font-size: 12px;
    font-weight: 400;
    color: #212121;
}

.link-400:hover {
    color: #212121;
}

.ico-freccia-dx {
    height: 10px;
    margin-left: 5px;
}

.mt-18 {
    margin-top: 18px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-32 {
    margin-top: 32px;
}

.mt-50 {
    margin-top: 50px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

.mt-80 {
    margin-top: 80px;
}

.mt-95 {
    margin-top: 95px;
}


.mt-100 {
    margin-top: 100px;
}

.mt--6 {
    margin-top: -6px;
}

.mr-20 {
    margin-right: 20px;
}

.riga-scheda.mb-44 {
    margin-bottom: 44px;
}

header {
    border-top: 15px solid #CC572C;
    padding-top: 19px;
    margin-bottom: 75px;
    background-color: #fff;
    height: 130px;
}

main {
    margin-top: 190px;
}

.navbar-brand img {
    height: 75px;
}

.navbar-toggler {
    padding-left: 21px;
    padding-right: 51px;
}

.navbar-toggler img {
    height: 28px;
}

.section-progetti-home {
    margin: 80px 0 0;
    padding: 30px 0 60px 0;
    background-color: #d96036;
}

.title-home {
    font-weight: 400;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    padding: 0;
}

.section-progetti-home .form-control {
    height: 50px;
    font-size: 18px;
    border: 0;
    border-radius: 0;
}

.bg-select {
    background-color: #c1562f;
    padding-right: 10px !important;
}

.custom-select {
    padding: 2px 0px 0 20px;
    background-color: #c1562f;
    border: 0;
    background-size: 15px !important;
    height: 50px !important;
    font-size: 18px !important;
    color: #212121 !important;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 100000;
}

.custom-select select {
    display: none;
    /*hide original SELECT element: */
}

.select-selected {
    background-color: #c1562f;
    border: 0;
    padding: 8px 0 10px 0;
    background: url(../img/freccia-bianca-giu.svg) no-repeat center right;
    background-size: 15px;
    line-height: 23px;
    background-position: right 14px;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    display: none;
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,
.select-selected {
    color: #ffffff;
    background-color: #c1562f;
    border: 0;
    cursor: pointer;
    cursor: pointer;
    padding: 10px 0;
}

.select-items div:hover {
    color: #dfb7a9
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: #c1562f;
    top: 100%;
    left: 0px;
    right: 0;
    z-index: 99;
    padding-left: 20px;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: #c1562f;
}


.btn-cerca-home {
    border-radius: 0;
    background-color: #9e4725;
    font-weight: 400;
    color: #fff;
    font-size: 18px;
    line-height: 21px;
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-cerca-home:hover {
    background-color: #5c2a16;
    color: #fff;
}


.link-white-18-u {
    font-weight: 400;
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.link-white-18-u:hover {
    text-decoration: none;
    color: #dfb7a9;
    border-bottom: 1px solid #dfb7a9;
}

.btn.btn-tag-home {
    background-color: #944420;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    padding: 15px 10px;
    height: 50px;
    margin-bottom: 5px;
}

.btn.btn-tag-home span {
    font-size: 12px;
    color: #e0ab8b;
    margin-left: 10px;

}

.btn.btn-tag-home:hover {
    background-color: #5c2a16;
}


.section-portale {
    background-color: #dadada;
    padding: 30px 0;
}

.section-portale .title-home {
    color: #212121;
}

.section-portale img {
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    max-width: 75%;
    height: auto;
}

.section-portale p {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
}

.read-more {
    color: #212121;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-left: 20px;
    line-height: 30px;
}

.read-more:hover {
    color: #212121;
    text-decoration: underline;
}

.section-percorsi {
    background-color: #fff;
    padding: 60px 0;
}

.section-percorsi .title-home {
    color: #d96036;
    margin-bottom: 20px;
}

.section-percorsi .card {
    border: 0;
    border-radius: 0;
    margin: 0;
    flex: auto;
}

.section-percorsi .card-img-top {
    border-radius: 0;

}

.section-percorsi .card-body {
    padding: 24px 30px 24px 0;
    border-top: 5px solid rgba(255, 255, 255, 0.1);
    display: block;
    margin-top: -5px;
    position: relative;
}

.section-percorsi .card-title {
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #d96036;
    margin: 0 0 9px 0;
    padding: 0;
}

.section-percorsi p.card-text {
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    margin: 0;
}

.section-percorsi a {
    display: inline-block;
    position: relative;
}

.section-percorsi a p.card-text {
    color: #212121;
}

.section-percorsi a .card-title {
    color: #d96036;
}

.section-percorsi a:hover .card-title,
.section-percorsi a:hover p.card-text {
    text-decoration: none;
}



.section-percorsi a:hover .card-body {
    border-top: 5px solid #d96036;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}




footer {
    background-color: #dadada;
    padding: 30px 0;
}

.control-pill-timeline .nav-pills .nav-link {
    border-radius: 0;
    padding: 0;
}


.control-pill-timeline .nav-pills .nav-link.active,
.control-pill-timeline .nav-pills .show > .nav-link {
    background-color: transparent;
    color: #d96036;
}


.section-intro-esito-tag {
    background-color: #c1562f;
    padding: 22px 0 35px 0;
}

.section-intro-esito-tag .custom-select {
    padding-left: 0;
    padding-right: 30px;
    height: auto !important;
    width: auto;
    margin-top: -12px;
}

.section-intro-esito-tag .select-items div,
.section-intro-esito-tag .select-selected {
    font-weight: 700;
    font-size: 24px;
}

.section-intro-esito-tag .select-items {
    top: auto;
}

.section-intro-esito-tag p {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    margin: 0;
}

.section-intro-esito-tag .btn {
    font-weight: 700;
    font-size: 12px;
    margin-left: 20px;
    text-transform: uppercase;
    color: #fff;
    padding: 0;
    border: 0;
    border-radius: 0;
    line-height: 30px;
}

.section-intro-esito-tag .btn:hover {
    color: #dfb7a9;
}

.section-riga-top-esito {
    background-color: #D9D9D9;
    height: 40px;
    padding: 13px 0 16px 0;
    margin: 0 0 40px 0;
}

.tot-result-esito {
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
}

.btn-link-freccia {
    padding: 1px 20px 0 0;
    background: url(../img/freccia-nera-giu.svg) no-repeat center right;
    background-size: 12px !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #212121;
}

.btn-link-freccia:hover {
    color: #212121;
    text-decoration: underline;
}

.section-esito {
    margin-bottom: 60px;
}

.section-esito .card.col-md-3 {

    padding: 0;
    border: 0;
    border-radius: 0;
}

.section-esito .card.col-md-3 .card-body {
    margin-top: -1px;
    padding: 15px;
    min-height: 115px;
}

.img-bg-esito {
    width: 100%;
    padding-bottom: 140%;
}

.section-esito .card-deck {
    margin-bottom: 30px;
}

.section-esito a {
    color: #212121;
}

.section-esito .card-body .card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 21px;
    margin-bottom: -3px;
}

.section-esito .card-body .card-title span {
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
}

.section-esito .card-body .card-title span::before {
    content: "/";
    display: table-cell;
    padding-right: 2px;
    padding-left: 5px;
}




.section-esito .card-body .card-text {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 31px;
}


.section-esito a:hover .body-yellow {
    color: #fff;
    text-decoration: none;
    background-color: #212121;
}

.section-esito a:hover .body-blue {
    color: #fff;
    text-decoration: none;
    background-color: #212121;
}


.body-yellow {
    background-color: #F9DC0A;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.body-blue {
    background-color: #84C4F0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.body-gray {
    background-color: #f0f0f0;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.wrap-caret-select {
    position: relative;
}

.title-tag-list {
    font-size: 24px;
    font-weight: 700;

    border: 0;
    color: #fff;

}

.title-tag-list img {
    margin-left: 10px;
}

.caret {
    background-image: url(../img/freccia-bianca-giu.svg);
    position: absolute;
    top: 50%;
    right: 12px;
    margin-top: -2px;
    vertical-align: middle;
    width: 16px;
    height: 16px;
}



.title-tag-list:hover {
    text-decoration: none;
    color: #dfb7a9;
}

#collapseListTag {
    max-height: 140px;
    width: 355px;
    background: #9e4725;
    overflow-y: scroll;
    padding: 10px 10px 0 10px;
    margin-top: 6px;
}

#collapseListTag a {
    display: block;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

#collapseListTag a span {
    font-size: 12px;
    color: #e0ab8b;
    margin-left: 10px;
}

#collapseListTag a:hover {
    text-decoration: none;
    color: #e0ab8b;
}

#collapseListTag a:hover span {
    text-decoration: none;
}

#collapseListTag::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: #a85733;
}

#collapseListTag::-webkit-scrollbar {
    width: 15px;
    background-color: #a85733;
}

#collapseListTag::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #7b381a;
}


.wrap-title-scheda {
    margin-bottom: 100px;
}


.wrap-title-scheda.title-percorsi .bread-scheda li {
    text-transform: uppercase;
}


.title-scheda {
    font-weight: 800;
    font-size: 36px;
    margin-bottom: 1px;
    line-height: 40px;
}

.bread-scheda {
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 16px;
    color: #212121;
}

.bread-scheda li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.bread-scheda li a {
    font-weight: 400;
    font-size: 16px;
    color: #212121;
}

.bread-scheda li a::after {
    content: '/';
    padding: 0 0 0 8px;
}

.bread-scheda li:last-child a::after {
    content: '';
    padding: 0;
}

.bread-scheda li a:hover {
    text-decoration: none;
}

.wrap-carousel-scheda {
    margin-bottom: 60px;
}

.wrap-dati-scheda {
    margin-bottom: 60px;
}

.riga-scheda {
    margin-bottom: 30px;
}

.label-scheda {
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.campo-scheda {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
}

.campo-scheda a {
    color: #212121;
    text-decoration: none;
}

.campo-scheda a:hover {
    color: #D96036;
    text-decoration: none;
}

.sub-title-campo-scheda {
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.list-link-scheda {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}

.list-link-scheda li {
    margin: 0 0 6px 0;
    padding: 0;
    position: relative;
}

.list-link-scheda li a {
    color: #212121;
    text-decoration: none;
}

.thumbnail span {
    /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    visibility: hidden;
    color: black;
    text-decoration: none;
}

.thumbnail span img {
    /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
    max-height: 170px;
}

.thumbnail:hover {
    color: #D96036;
}

.thumbnail:hover span {
    /*CSS for enlarged image*/
    visibility: visible;
    top: -80px;
    left: auto;
    /*position where enlarged image should offset horizontally */
    z-index: 50;
}

.read-more-desc {
    color: #212121;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    display: block;
    margin-left: 20px;
    line-height: 30px;
}

.read-more-desc:hover {
    text-decoration: none;
    color: #212121;
}

/* tutti i carousel */
.carousel {
    background: #fff !important;
}

.carousel.carousel-thumb-type-1 {
    margin-bottom: 0;
}


.carousel-image {
    display: block;
    height: 400px;
    min-width: 150px;
    max-width: 100%;
    margin-right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-image.carousel-thumb-1 {
    display: flex;
    height: 150px;
    min-width: 150px;
    max-width: 150px;
    margin-right: 30px;
    top: 50%;
    transform: none;
    width: 150px !important;
}

.carousel-image.carousel-thumb-2 {
    display: flex;
    height: 150px;
    min-width: 200px;
    max-width: 200px;
    margin-right: 0px;
    top: 50%;
    transform: none;
    width: 200px !important;
}

.caption-thumb-type-1 {
    font-weight: 400;
    font-size: 12px;
    color: #212121;
    margin-top: 12px;
    line-height: 1.2;
    width: 150px;
}

.caption-thumb-type-1 .caption-title {
    margin-right: 5px;
}

.caption-thumb-type-1 .caption-data {}

/**
.single-thumb-type-1 {
    height: auto;
    width: 180px;

}
*/

.label-fluid {
    width: 10%;
    padding-left: 16px;
}


.single-thumb-type-1 {
    padding: 0px 20px 0 0;
    height: auto;
    counter-increment: carousel-cell;

}




.single-thumb-type-2 {
    padding: 0px 45px 0 0;
    height: auto;
    counter-increment: carousel-cell;
}

.nav-arrow img {
    height: 16px;
}

.item-text {
    font-weight: 400;
    font-size: 24px;
    color: #D96036;
    padding: .3rem 1rem;
}

.wrap-timeline-page {
    margin-bottom: 60px;
}

.list-timeline-page {
    list-style: none;
    margin: 0;
    padding: 16px 0 0 0;
    border-top: 1px solid #D96036;
}

.list-timeline-page li {
    border-bottom: 1px solid #D96036;
    margin: 0 0 16px 0;
    padding: 0 0 7px 0;
}

.list-boj-timeline {}

.data-timeline {
    padding-left: 0;
    font-weight: 400;
    font-size: 28px;
    color: #D96036;
    line-height: 32px;
}

.list-boj-timeline a.thumbnail-timeline {
    display: block;
    font-weight: 400;
    font-size: 16px;
    color: #212121;
    margin-bottom: 4px;
    position: relative;
}

.list-boj-timeline a.thumbnail-timeline small {
    font-weight: 400;
    font-size: 12px;
    color: #212121;
    margin-left: 15px;
}

.thumbnail-timeline span {
    /*CSS for enlarged image*/
    position: absolute;
    left: -1000px;
    visibility: hidden;
    color: black;
    text-decoration: none;
}

.thumbnail-timeline span img {
    /*CSS for enlarged image*/
    border-width: 0;
    padding: 2px;
    max-height: 250px;
    max-width: 250px;
}

.list-boj-timeline a.thumbnail-timeline:hover,
.list-boj-timeline a.thumbnail-timeline:hover small {
    color: #D96036;
    text-decoration: none;
}

.list-boj-timeline a.thumbnail-timeline:hover small {
    margin-right: 20px;
}

.thumbnail-timeline:hover span {
    /*CSS for enlarged image*/
    visibility: visible;
    top: -10px;
    left: auto;
    /*position where enlarged image should offset horizontally */
    z-index: 50;
}


.wrap-carousel-scheda .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.fluid-label-thumb {
    max-width: 14%;
    flex: 0 0 13.5%;
    padding-left: 16px;
}

.fluid-carousel-thumb {
    width: 90%;
    flex: 0 0 90%;
    padding-left: 66px;
}

.fluid-carousel-thumb .flickity-slider {
    width: 90%
}

.fluid-carousel-thumb.fluid-type-2 .flickity-slider {
    width: 94%;
}

.card-group {
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.card-group {
    margin-bottom: 30px;
}

/* tutti i carousel */

.container-fluid.container-thumb-gallery {}

.container-fluid.container-big-carousel {
    padding-left: 0 !important;
}




.panel-wrapper {
    position: relative;
}

.campo-scheda a.btn {
    color: #212121;
    background: transparent;
    border-radius: 0;
    left: 0;
    padding: 0;
    text-decoration: none;
    width: auto;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    padding-left: 20px;
    bottom: -2em;
}

.show,
.hide {
    position: absolute;
    bottom: -1em;
    z-index: 100;
    text-align: center;
}

.hide {
    display: none;
}

.show:target {
    display: none;
}

.show:target ~ .hide {
    display: block;
}

.show:target ~ .panel {
    max-height: 2000px;
}

.show:target ~ .fade {
    margin-top: 0;
}

.panel {
    position: relative;
    margin: 0;
    width: 100%;
    max-height: 110px;
    overflow: hidden;
    transition: max-height .5s ease;
}

.fade {
    background: linear-gradient(to bottom, rgba(100, 100, 100, 0) 0%, #646464 75%);
    height: 100px;
    margin-top: -100px;
    position: relative;
}

.wrap-percorso {
    margin: 0 0 100px 0;
}

.wrap-percorso h2 {
    font-weight: normal;
    font-size: 30px;
    margin: 0 0 30px 0;
}

.wrap-percorso p {
    margin: 0;
    font-size: 16px;
    line-height: 22px;
}

.wrap-percorso p a {
    color: #D96036;
    font-weight: bold !important;
    text-decoration: none !important;
    position: relative;
}

.wrap-percorso p a span {
    position: absolute;
    left: -1000px;
    visibility: hidden;
    color: black;
    text-decoration: none;
}

.wrap-percorso p a span img {
    border-width: 0;
    padding: 2px;
    max-height: 170px;
}

.wrap-percorso p a:hover span {
    visibility: visible;
    top: -80px;
    left: auto;
    z-index: 50;
}


.wrap-percorso p.caption-thumb-type-1 {
    font-weight: 400;
    font-size: 12px;
    color: #212121;
    margin-top: 12px;
    line-height: 1.2;
    width: 150px;
}

.wrap-percorso p .caption-title a {
    color: #212121;
    font-weight: normal;
}

html {
    scroll-behavior: smooth;
}

#mobile-navbarToggleExternalContent,
#navbarToggleExternalContent {
    background-color: #dadada;
    height: 100vh !important;
    width: 100%;
    margin-top: -20px;
    position: absolute;
    top: 20px;
    text-align: left;
    padding-top: 19px;
    z-index: 10100;
}

.row-menu-logo {
    margin-bottom: 75px;
}

.col-nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.col-nav-menu ul li a {
    font-family: 'Work Sans', sans-serif;
    color: #212121;
    font-weight: 400;
    font-size: 30px;
    line-height: 52px;
}

.col-nav-menu-2 ul {
    list-style: none;
    margin: 17px 0 0 0;
    padding: 0;
}

.col-nav-menu-2 ul li a {
    font-family: 'Work Sans', sans-serif;
    color: #212121;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
}

.logo-menu img {
    height: 75px;
}

.menu-percorso {
    margin: 55px 0 0 0;
    padding: 0;
    list-style: none;
}

.menu-percorso li {
    margin: 0;
    padding: 0;
}

.menu-percorso li a {
    margin: 0 0 10px 0;
    color: #212121;
    font-size: 14px;
    line-height: 16px;
    display: block;
}

.menu-percorso li span.active {
    opacity: .5;
    margin: 0 0 10px 0;
    color: #212121;
    font-size: 14px;
    line-height: 16px;
    display: block;
}

.img-top-percorso {
    width: 100%;
    padding-bottom: 62.3%;
    display: block;
    margin-bottom: 50px;
}

.wrap-percorso .container-fluid {
    margin-top: 50px;
}

.wrap-percorso .single-thumb-type-1 {}

.wrap-percorso .carousel-image.carousel-thumb-1 {
    height: 150px;
    min-width: 200px;
    max-width: 200px;
    margin-right: 30px;
    top: 50%;
    transform: none;
    width: 200px !important;
    background-color: #f7f7f7 !important;
}



* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.module {
    width: 48%;
    min-height: 200px;
    background: white;
    position: relative;
    float: left;
    padding: 20px;
    margin-right: 4%;
    margin-bottom: 4%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.module:nth-child(even) {
    margin-right: 0;
}


.come-in {
    transform: translateY(150px);
    animation: come-in 0.8s ease forwards;
}

.come-in:nth-child(odd) {
    animation-duration: 0.6s;
}

.already-visible {
    transform: translateY(0);
    animation: none;
}




#collapseListTag.show {
    position: relative !important;
    text-align: left;
    margin-top: 0;
    top: 6px;
}


.wrap-page-content p {
    font-size: 18px;
    line-height: 24px;
}

.wrap-title-page {
    margin-bottom: 80px;
}



/* esito ricerca */


.section-intro-esito-ricerca {
    background-color: #c1562f;
    padding: 22px 0 16px 0;
}

.txt-uppercase {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 12px;
    color: #fff;
    margin-bottom: 0;
}

.termine-cercato {
    font-weight: 800;
    font-size: 24px;
    color: #fff;
    text-transform: lowercase;
    margin-right: 10px;
}

.termine-cercato span {
    font-weight: 800;
    font-size: 14px;
    text-transform: lowercase;
    margin-left: 5px;
}

.esito-filtri-top {
    list-style: none;
    margin: 0 0 0 0px;
    padding: 0;
    display: inline-block;
}


.esito-filtri-top::before {
    content: '/';
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-right: 9px;
}

.esito-filtri-top li {
    display: inline;
    margin: 0;
    padding: 0;
}

.esito-filtri-top li a {
    font-weight: 400;
    color: #fff;
    font-size: 14px;
    text-transform: lowercase;
}

.esito-filtri-top li::after {
    content: '/';
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-left: 9px;
}

.esito-filtri-top li a::after {
    content: 'x';
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    margin-left: 9px;
}

.wrap-btn-collapse-filter {
    margin-bottom: 10px;
}

#collapse-wrap-tool-search {
    position: inherit;
    border: 0;
    text-align: left;
    background-color: #f0f0f0;
    margin-top: -40px;
    margin-bottom: 40px;

}

#collapse-wrap-tool-search .container {
    padding: 30px 0;
}


.btn-open-tool {
    padding: 14px 36px 14px 42px;
    background-size: 12px !important;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #212121;
    background-color: #D9D9D9;
    /*background-position: 95px 14px;*/
}

.btn-open-tool[aria-expanded="true"] {
    background-color: #f0f0f0;
}

.arrow-down {
    height: 12px;
    margin-left: 10px;
}

.arrow-up {
    height: 12px;
    margin-left: 10px;
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
}

.btn-filter-close .arrow-down,
.btn-filter-close .arrow-up {
    float: right;
    margin-top: 3px;
}


.filter-body {
    background-color: #D9D9D9;
    padding: 0 2px 10px 2px;
}

.filter-body .input-group-text {
    background-color: #fff;
    border: 0;
    border-radius: 0;
    height: 35px;

}

.filter-body .input-group-text img {
    height: 18px;
}

.filter-body .form-control {
    border: 0;
    border-radius: 0;
    height: 35px;
    font-weight: 400;
    font-size: 14px;
}

.list-collapse-filter {
    list-style: none;
    margin: 0;
    padding: 0;
}

.list-collapse-filter li {
    height: auto !important;
}

.list-collapse-filter li a {
    font-size: 14px;
    font-weight: 400;
    color: #212121;
    display: block;
    margin: 0 0 12px 8px;
}

.list-collapse-filter li a span {
    font-weight: 700;
    font-size: 10px;
    margin-left: 22px;
}

.list-collapse-filter li:last-child a {
    margin-bottom: 0;
}

.wrap-btn-active-filter {}

.wrap-btn-active-filter a {
    height: 40px;
    background-color: #fff;
    display: block;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    color: #212121;
    padding: 12px 12px;
}

.ml--30 {
    margin-left: -30px;
}

.pl-45 {
    padding-left: 45px;
}


.filter-type-archive {
    margin-left: 15px;
}

.filter-type-archive a {
    font-size: 14px;
    font-weight: 400;
    color: #212121;
    display: block;
}

.filter-type-archive a small {
    font-size: 10px;
    font-weight: 700;
    color: #212121;
    margin-left: 12px;
}

.filter-type-archive a.filter-type-archive-active {
    font-weight: bold;
}


.filter-search .form-control {
    border: 0;
    border-radius: 0;
    height: 40px;
    font-size: 12px;
    font-weight: 400;
    color: #212121;
}

.filter-search .input-group-text {
    background-color: #D9D9D9;
    border: 0;
    border-radius: 0;
    font-size: 12px;
    font-weight: 400;
    color: #212121;
    padding: .375rem 1rem;
}

.wrap-btn-collapse-filter .show {
    position: relative;
    bottom: 0;
    text-align: left;
}

.btn-filter-close {
    height: 40px;
    background-color: #D9D9D9;
    display: block;
    font-weight: 400;
    font-size: 12px;
    text-transform: uppercase;
    color: #212121;
    padding: 12px 12px;
}

.btn-filter-close:hover {
    color: #212121;
}

.wrap-btn-collapse-filter.filter-active a {
    background-color: #fff;
}

.wrap-btn-collapse-filter.filter-active a:hover {
    color: #212121;
}

.close-btn-filter {
    float: right;
    font-size: 12px;
    font-weight: 600;
}

.wrap-btn-collapse-filter.filter-active a::after {
    content: 'x';
    font-size: 10px;
    font-weight: 700;
    color: #212121;
    float: right;
}


.wrap-btn-active-filter .arrow-down,
.wrap-btn-active-filter .arrow-up {
    float: right;
    margin-top: 3px;
}

.filter-occorrenza {
    font-weight: 700;
    font-size: 10px;
    margin-left: 22px;
}

.img-bg-home-percorsi {
    width: 100%;
    padding-bottom: 100%;
}

#navbarToggleExternalContent .form-control {
    height: 50px;
    font-size: 18px;
    border: 0;
    border-radius: 0;
}

#navbarToggleExternalContent .custom-select {
    padding: 2px 0px 0 20px;
    background-color: #b2b2b2;
    border: 0;
    background-size: 15px !important;
    height: 50px !important;
    font-size: 18px !important;
    color: #212121 !important;
    border-radius: 0 !important;
    cursor: pointer;
    z-index: 100000;
}

#navbarToggleExternalContent .select-items div,
#navbarToggleExternalContent .select-selected {
    color: #ffffff;
    background-color: #b2b2b2;
    border: 0;
    cursor: pointer;
    cursor: pointer;
    padding: 10px 0;
}

#navbarToggleExternalContent .bg-select {
    background-color: #b2b2b2;
    padding-right: 10px !important;
}

#navbarToggleExternalContent .select-items {
    position: absolute;
    background-color: #b2b2b2;
    top: 100%;
    left: 0px;
    right: 0;
    z-index: 99;
    padding-left: 20px;
}


#navbarToggleExternalContent .btn-cerca-home {
    border-radius: 0;
    background-color: #878787;
    font-weight: 400;
    color: #fff;
    font-size: 18px;
    line-height: 21px;
    height: 50px;
    padding-left: 25px;
    padding-right: 25px;
}

#navbarToggleExternalContent .link-white-18-u:hover {
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #fff;
}

.marker-cluster div {
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.marker-cluster-small,
.marker-cluster-large {
    background-color: rgba(0, 169, 250, .9) !important;
}

.marker-cluster-large div,
.marker-cluster-small div {
    background-color: transparent !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: rgba(0, 169, 250, .9) !important;
    color: #fff !important;
    font-family: 'Work Sans', sans-serif !important;
    font-weight: 700;
    font-size: 16px;
}

.tipologia-card-esito {
    font-weight: 500;
    font-size: 10px;
    text-transform: uppercase;
}

.wrap-paginazione-item-slide {
    z-index: 1 !important;
}

.section-percorsi .title-home a {
    font-size: 12px;
    text-transform: uppercase;
    color: #d96036;
}

h3 {
    margin-bottom: 20px;
}


#navbarToggleExternalContent .link-white-18-u {
    color: #212121;
    border-bottom: 1px solid #212121;
}

#navbarToggleExternalContent .link-white-18-u:hover {
    color: #212121;
    border-bottom: 1px solid #212121;
}

.logo-ministero {
    margin-top: 13px;
    padding-left: 22px;
}

.sub-title-campo-scheda.cura-scheda {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 500;
}

.sub-title-campo-scheda.cura-scheda span {}

.sub-title-campo-scheda.cura-scheda strong {
    font-weight: 700;
}

.select-language {}

.select-language a {
    color: #000;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.select-language a.select-active {
    font-weight: 700;
}


.show.show-filtri:target {
    display: block;
    position: relative;
}

.show.show-filtri .filter-body {
    position: absolute;
    width: 100%;
    z-index: 1000;

}

.show.show-filtri .filter-body .list-collapse-filter {
    max-height: 200px;
    overflow-y: scroll;
}


.list-collapse-filter::-webkit-scrollbar {
    width: 15px;
    background-color: #f0f0f0;
}

.list-collapse-filter::-webkit-scrollbar-thumb {
    border-radius: 0px;
    background-color: #ccc;
}

.list-collapse-filter::-webkit-scrollbar-track {
    border-radius: 0px;
    background-color: #f0f0f0;
}

.lista-bibliografia p{border-bottom: 1px solid #f0f0f0; padding-bottom: 1rem;}






@keyframes come-in {
    to {
        transform: translateY(0);
    }
}

@media (max-width:769px) {
    /*
    .section-esito .card.col-md-3 {
        max-width: 46%;
        flex: 0 0 46%;
    }
    */

    .wrap-percorso .label-fluid {
        display: none;
    }

    .fluid-carousel-thumb {
        padding-left: 15px !important;
        width: 100%;
        flex: 0 0 100%;
    }

    .wrap-percorso .container-fluid {
        padding-right: 0;
    }

    .menu-percorso {
        margin-bottom: 50px;
    }
}


@media (max-width:420px) {

    .section-riga-top-esito {
        height: auto;
    }

    .wrap-big-carousel {
        display: none;
    }

    .navbar-toggler {
        float: right;
        padding-right: 0;
    }

    .navbar-brand img {
        height: 40px;
    }

    .col-nav-menu-2 ul {
        margin-left: 0;
    }

    main {
        margin-top: 131px;
    }

    header .col-md-6.col-xs-12.text-right.mt-60 {
        display: none;
    }

    .bg-select {
        margin-left: 15px;
        margin-right: 15px;
    }

    .section-progetti-home .col-md-5.col-xs-12.pr-0 {
        padding-right: 15px !important;
    }

    #navbarToggleExternalContent .col-md-5.col-xs-12.pr-0 {
        padding-right: 15px !important;
    }

    .btn-cerca-home {
        margin-left: 126px;
        margin-top: 20px;
    }

    .logo-magistretti .img-fluid {
        height: 50px;
    }

    .logo-cariplo .img-fluid {
        height: 50px;
    }

    .section-riga-top-esito .btn-open-tool {
        padding: 10px 0;
        float: left;
        margin-left: 31px;
        background-color: transparent;
    }

    .section-riga-top-esito .btn-link-freccia {
        float: right;
        margin-top: -22px;
    }

    #collapse-wrap-tool-search .container {
        padding: 10px 0 30px 0;
    }

    .row-menu-logo {
        margin-bottom: 25px;
    }

    .col-md-4.col-xs-12.offset-2.col-nav-menu {
        margin-left: 0;
    }

    .section-progetti-home .row.mt-100 {
        margin-top: 20px;
    }

    .section-portale img {
        margin-bottom: 20px;
    }

    .nav-link {
        padding: .5rem 0rem;
    }

    .wrap-title-scheda {
        margin-bottom: 50px;
    }

    .list-timeline-page li {
        display: block !important;
    }

    .thumbnail-timeline:hover span {
        display: none;
        visibility: hidden;
    }

    .logo-ministero {
        margin-top: 50px;
        padding-left: 0;
    }

    #collapse-wrap-tool-search .row {
        margin-left: 0;
        margin-right: 0;
    }

    .section-riga-top-esito .btn-open-tool {
        display: none;
    }

    .section-riga-top-esito .btn-link-freccia {
        display: none;
    }

    .filter-type-archive {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .tot-result-esito {
        margin-bottom: 0;
    }
}

@media (min-width: 576px) {
    .card-group .card {
        margin-right: 15px;
        margin-bottom: 0;
        margin-left: 15px;
    }

    .card-group > .card + .card {
        margin-left: 15px;
    }

    .section-esito .card.col-md-3 {
        max-width: 255px;
    }

    .col-nav-menu-2 ul li a.link-fondazione-menu {
        display: none;
    }
}

@media (min-width:576px) and (max-width:769px) {
    .section-esito .card.col-md-3 {
        max-width: 100%;
        flex: 45% 0 0;
        margin-bottom: 30px;
    }

    .section-esito .card-deck {
        margin-bottom: 0;
    }
}



/* ------------  modifiche css agosto 2021 --------------   */


@media (max-width: 767.98px) {

    header {
        height: 172px;
    }

    main {
        margin-top: 190px;
    }

    .wrap-big-carousel {
        display: block;
    }

    header .col-md-6.col-xs-12.text-right.mt-40 {
        margin-top: 0;
    }

    .section-percorsi .card {
        margin-bottom: 50px;
    }

    .wrap-page-content iframe {
        max-width: 100%;
    }

    .img-bg-esito {
        padding-bottom: 50%;
    }

    .logo-magistretti .img-fluid {
        height: 50px;
    }

    .logo-cariplo .img-fluid {
        height: 50px;
    }

    .logo-ministero .img-fluid {
        height: 50px;
    }

    .list-timeline-page li {
        display: block !important;
    }

    .data-timeline {
        margin-bottom: 20px;
    }

    .list-boj-timeline a.thumbnail-timeline {
        margin-bottom: 10px;
    }

    .label-fluid {
        width: 70%;
        margin-bottom: 10px;
    }
}