/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
    font-family: 'Open Sans', sans-serif;
    color: #3d3d3d;
}

a {
    color: #777;
    text-decoration: none;
}

a:hover {
    text-decoration: #777;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Oswald', sans-serif;
    color: #3d3d3d;
}

section {
    padding: 60px 0;
}

.filters a {
    text-decoration: none;
    color: #000;
    display: inline-block;
    padding-left: 10px;
    padding-right: 10px;
    position: relative;
}

.filters a:hover,
.filters a:focus,
.filters a:active {
    text-decoration: none;
}

.filters a:hover:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background-color: #000;
}

.filters a.active {
    color: #000;
}

.filters a.active:before {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 1px;
    background-color: #000;
}

.item {
    border: none;
    margin-bottom: 30px;
}

.item .item-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

.item .item-wrap:after {
    z-index: 2;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    visibility: hidden;
    opacity: 0;
    transition: 0.3s all ease-in-out;
}

.item .item-wrap img {
    transition: 0.3s transform ease;
    transform: scale(1);
}

.item .item-wrap>.work-info {
    position: absolute;
    top: 50%;
    width: 100%;
    text-align: center;
    z-index: 3;
    transform: translateY(-50%);
    color: #fff;
    opacity: 0;
    visibility: hidden;
    margin-top: 20px;
    transition: 0.3s all ease;
}

.item .item-wrap>.work-info h3 {
    font-size: 20px;
    margin-bottom: 0;
}

.item .item-wrap>.work-info span {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
}

.item .item-wrap:hover {
    text-decoration: none;
}

.item .item-wrap:hover img {
    transform: scale(1.05);
}

.item .item-wrap:hover:after {
    opacity: 1;
    visibility: visible;
}

.item .item-wrap:hover .work-info {
    margin-top: 0px;
    opacity: 1;
    visibility: visible;
}

.testimonial-wrap {
    padding: 50px 50px 80px 50px;
    background: #eceff2;
}

.testimonial-wrap .testimonial {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.testimonial-wrap .testimonial img {
    border-radius: 50%;
    width: 120px;
    margin: 0 auto 30px auto;
}

.testimonial-wrap .testimonial blockquote p {
    font-size: 20px;
}

.h3 {
    font-size: 20px;
}

.h4 {
    font-size: 16px;
}

.heading {
    font-size: 28px;
}

.readmore {
    display: inline-block;
    border: 1px solid #000;
    padding: 10px 15px;
    font-size: 12px;
    text-transform: uppercase;
    color: #000;
    transition: 0.2s all ease;
    font-weight: 700;
}

.readmore:active,
.readmore:focus,
.readmore:hover {
    outline: none;
}

.readmore:hover {
    color: #fff;
    text-decoration: none;
    background: #000;
}

.testimonials-slider .swiper-pagination {
    margin-top: -60px;
    position: relative;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(13, 30, 45, 0.3);
    opacity: 1;
}

.testimonials-slider .swiper-pagination .swiper-pagination-bullet-active {
    background-color: rgba(13, 30, 45, 0.6);
}

.sticky-content {
    position: sticky;
    position: -webkit-sticky;
    top: 0;
    /* required */
}

.list-line li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 30px;
}

.list-line li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 10px;
    height: 2px;
    background: #000;
}

.form-control {
    border-radius: 0;
    background: #f8f9fa;
    border: 1px solid transparent;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.form-control:active,
.form-control:focus {
    background: #eff1f4;
    outline: none;
    box-shadow: none;
    border: 1px solid transparent;
}

.custom-progress {
    height: 7px;
    border-radius: 0;
}

.custom-progress .progress-bar {
    background: #000;
}

/* Services */
.services i {
    font-size: 40px;
}

.services h4 {
    padding-top: 10px;
}

/* Contact Form */
.php-email-form .error-message {
    display: none;
    color: #fff;
    background: #ed3c0d;
    text-align: left;
    padding: 15px;
    font-weight: 600;
}

.php-email-form .error-message br+br {
    margin-top: 25px;
}

.php-email-form .sent-message {
    display: none;
    color: #fff;
    background: #18d26e;
    text-align: center;
    padding: 15px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: #fff;
    text-align: center;
    padding: 15px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid #18d26e;
    border-top-color: #eee;
    animation: animate-loading 1s linear infinite;
}

@keyframes animate-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
/* Custom Navmenu */
.custom-navmenu {
    background: #f5f5f5;
}

.custom-navmenu .custom-menu,
.custom-navmenu .custom-menu li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.custom-navmenu .custom-menu li {
    margin-bottom: 0;
    font-size: 20px;
}

.custom-navmenu .custom-menu li a {
    color: #3d3d3d;
    font-weight: 400;
    font-size: 20px;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 1px;
}

.custom-navmenu .custom-menu li a:hover {
    text-decoration: underline;
    color: #c8ca34;
}

.custom-navmenu .custom-menu li.active a {
    text-decoration: underline;
    font-family: 'Oswald', sans-serif;
}

.custom-navmenu h3 {
    font-size: 20px;
    color: #fff;
}

.custom-navmenu p {
    color: rgba(255, 255, 255, 0.6);
}

.custom-navmenu a {
    color: rgba(255, 255, 255, 0.7);
}

.custom-navmenu a:hover {
    color: #fff;
}

/* Custom Navbar */
.custom-navbar {
    padding: 40px 20px;
    width: 100%;
}

@media (max-width: 780px) {
    .custom-navbar>.container {
        padding-right: 0;
        padding-left: 0;
    }
}

@media (max-width: 992px) {
    .custom-navmenu .custom-menu li{
        margin: 10px 0;
        border: 2px solid #c8ca34;
        padding: 10px;
    }
    .custom-navmenu .custom-menu li a {
        font-size: 16px;
    }
}

.custom-navbar .navbar-brand {
    font-size: 1.7rem;
}

/* Burger */
.burger {
    width: 28px;
    height: 32px;
    cursor: pointer;
    position: relative;
}

.burger:before,
.burger span,
.burger:after {
    width: 100%;
    height: 2px;
    display: block;
    background: #000;
    border-radius: 2px;
    position: absolute;
    opacity: 1;
}

.burger:before,
.burger:after {
    transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
    -webkit-transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1), -webkit-transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s cubic-bezier(0.23, 1, 0.32, 1), background-color 1.15s cubic-bezier(0.86, 0, 0.07, 1);
    content: "";
}

.burger:before {
    top: 4px;
}

.burger span {
    top: 15px;
}

.burger:after {
    top: 26px;
}

/* Hover */
.burger:hover:before {
    top: 7px;
}

.burger:hover:after {
    top: 23px;
}

/* Click */
.burger.active span {
    opacity: 0;
}

.burger.active:before,
.burger.active:after {
    top: 40%;
}

.burger.active:before {
    transform: rotate(45deg);
}

.burger.active:after {
    transform: rotate(-45deg);
}

.burger:focus {
    outline: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
    padding: 30px 0;
    font-family: 'Oswald', sans-serif;
    background: #f5f5f5;
}

.footer a {
    color: #000;
}

.social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    position: relative;
    text-align: center;
    color: #3d3d3d;
}

.social a span {
    display: inline-block;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.social a:hover {
    color: #000;
}

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

.navbar .logo img{
    height: 60px;
}

.hero-slider .patina{
    height: 500px;
}

.hero-slider img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.hero-slider .patina:before {
    content: "";
    background: #00000021;
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    transition: .5s;
    z-index: 1;
}

.hero-slider .patina a {
    position: absolute;
    z-index: 2;
    left: 0;
    padding: 12px 32px;
    bottom: 80px;
    background: #c8ca34;
    color: white;
    border: 1px solid #c8ca34;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    transition: .3s;
}

.hero-slider .patina a:hover{
    background: #c8ca349e;
}

.hero-slider .swiper-pagination-bullet{
    background: white;
    opacity: .8;
}

.hero-slider .swiper-pagination-bullet-active{
    background: #c8ca34;
}

.bg-grigio{
    background: #f5f5f5;
}

.evento .img-evento img{
    height: 250px;
    width: 100%;
    object-fit: cover;
}


.evento .testo-evento{
    padding: 30px;
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    background: #fff;
}

.evento .testo-evento h3{
    font-size: 24px;
}

.evento .testo-evento p{
    font-size: 16px;
}

.evento .testo-evento a{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    color: #3d3d3d;
}

.evento .testo-evento a:hover{
    color: #c8ca34;
    text-decoration: underline;
}

.swiper-pagination-bullet-active{
    background: #c8ca34;
}

.pagina-interna{
    min-height: 700px;
}

.pagina-interna h4{
    font-size: 18px;
}

.pagina-interna p{
    text-align: justify;
}

.pagina-interna iframe{
    height: 350px;
    width: 100%;
}

.pagina-interna .accordion-button:after{
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233d3d3d'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e")
}

.pagina-interna .accordion-button{
    box-shadow: 0px 2px 15px rgb(0 0 0 / 10%);
    background-color: #f5f5f5;
    color: #3d3d3d;
    text-transform: uppercase;
    font-size: 18px;
}

.pagina-interna .page-gallery-slider img{
    /*height: 400px;*/
    height: auto;
    object-fit: contain;
    width: 100%;
}

.pagina-interna .box-evento-pagina-interna h3{
    font-size: 16px !important;
}

.pagina-interna .box-evento-pagina-interna p{
    font-size: 14px !important;
}

.pagina-interna .box-evento-pagina-interna img{
    height: auto !important;
}

.pagina-interna .btn-archivio{
    padding: 12px 32px;
    background: #c8ca34;
    color: white;
    border: 1px solid #c8ca34;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    transition: .3s;
}

.pagina-interna .btn-archivio:hover{
    background: #c8ca349e;
}

.back-to-top{
    background: #f5f5f5;
}

.musei-home .box{
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    position: relative;
}
.musei-home .box img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.musei-home .box .padding{
    padding: 10px;
    z-index: 2;
    position: relative;
    background-color: #00000075;
    height: 150px;
}

.musei-home .box .padding .bordo{
    border: 2px solid #c8ca34;
    padding: 15px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.musei-home .box .padding .bordo h4{
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    margin-bottom: .5rem;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 0;
}

.musei-home .box .padding .bordo p{
    display: flex;
    justify-content: center;
}

.musei-home .box .padding .bordo p a {
    color: #c8ca34;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    transition: .3s;
    display: block;
    width: fit-content;
}

.musei-home .box .padding .bordo p a:hover{
    text-decoration: underline;
}

.pagina-interna .link{
    color: #c8ca34;
    text-transform: uppercase;
}

.pagina-interna .link:hover{
    text-decoration: underline;
}

.pagina-interna .img-eventi{
    max-width: 60%;
}

.accedi-archivio{
    text-align: right;
}

.accedi-archivio a{
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    color: #3d3d3d;
}

.accedi-archivio a:hover{
    color: #c8ca34;
    text-decoration: underline;
}

.pagina-interna .luogo-cultura{
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    position: relative;
}
.pagina-interna .luogo-cultura img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.pagina-interna .luogo-cultura .padding{
    padding: 10px;
    z-index: 2;
    position: relative;
    height: 80px;
    background-color: #00000075;
}

.pagina-interna .luogo-cultura .padding .bordo{
    border: 2px solid #c8ca34;
    padding: 15px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagina-interna .luogo-cultura .padding .bordo h4{
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    margin-bottom: .5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0;
}

.pagina-interna .luogo-cultura .padding .bordo p{
    display: flex;
    justify-content: center;
}

.pagina-interna .luogo-cultura .padding .bordo p a {
    color: #c8ca34;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    transition: .3s;
    display: block;
    width: fit-content;
}

.pagina-interna .luogo-cultura .padding .bordo p a:hover{
    text-decoration: underline;
}

.pagina-interna .luogo-cultura-2 {
    box-shadow: 0 3px 20px -2px rgba(20, 45, 100, 0.1);
    position: relative;
    background-color: #c8ca34;
}

.pagina-interna .luogo-cultura-2  img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.pagina-interna .luogo-cultura-2  .padding{
    padding: 10px;
    z-index: 2;
    position: relative;
    height: 80px;
    background-color: #00000075;
}

.pagina-interna .luogo-cultura-2  .padding .bordo{
    border: 2px solid #c8ca34;
    padding: 15px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagina-interna .luogo-cultura-2  .padding .bordo h4{
    font-family: 'Oswald', sans-serif;
    font-size: 17px;
    margin-bottom: .5rem;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0;
}

.pagina-interna .luogo-cultura-2  .padding .bordo p{
    display: flex;
    justify-content: center;
}

.pagina-interna .luogo-cultura-2  .padding .bordo p a {
    color: #c8ca34;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    transition: .3s;
    display: block;
    width: fit-content;
}

.pagina-interna .luogo-cultura-2  .padding .bordo p a:hover{
    text-decoration: underline;
}

.pagina-interna .link-archivi{
    color: #c8ca34;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 400;
    font-size: 14px;
}

.pagina-interna .link-archivi:hover{
    text-decoration: underline;
}

@media (max-width: 992px) {
    .navbar .logo img{
        height: 40px;
    }
    .pagina-interna .img-eventi{
        max-width: 100%;
    }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0;
  background: #f5f5f5;
  min-height: 40px;
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }
}

.breadcrumbs h2 {
  font-size: 26px;
  font-weight: 600;    
  margin-bottom: 0;
}

.breadcrumbs a:hover {
  color: inherit;
  text-decoration: underline;  
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #4668a2;
  content: "/";
}

.breadcrumbs .btn-back{
    padding: 8px 16px;
    background: #3d3d3d;
    color: white;
    border: 2px solid #3d3d3d;
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    transition: .5s;
    cursor: pointer;
}

.breadcrumbs .btn-back:hover{
    color: #3d3d3d;
    background: #f5f5f5;
}

.youtube-header i{
    display: block;
    font-size: 24px;
    margin-right: 1rem;
    color: black;
}