/*
Theme Name: tredicitheme
Author: Massimo
Author URI: #
Description: Tema sviluppato per Tredici Architettura
Version: 1.0.2
*/

:root {
    --font-family: 'Haas Grot Disp', Arial, sans-serif;
    --primary-color: #000;
    --secondary-color: #f7f7f7;
    --white: #fff;
    --f14: 14px;
    --f16: 16px;
    --f18: 18px;
    --f24: 24px;
    --py-24: 24px;
    --bs-gutter-x: 1.5rem;
}

#wpadminbar {
    display: none !important;
}

html,
body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--white);
    color: var(--primary-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 0.8em;
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: clamp(32px, 5vw, 56px);
}

h2 {
    font-size: clamp(28px, 4vw, 40px);
}

h3 {
    font-size: clamp(22px, 3vw, 32px);
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 16px;
}

p {
    margin: 0 0 1.2em;
    font-size: var(--f16);
    letter-spacing: .1rem;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.py-24 {
    padding: var(--py-24) 0;
}

/* Header */
header {
    flex: 0 0 auto;
}

.header-content {
    position: relative;
    z-index: 1;
}

.custom-logo {
    width: 100%;
    max-width: 180px;
    height: auto;
}

@media (max-width: 991.98px) {
    .custom-logo {
        max-width: 140px;
    }
}

.burger_menu,
.close-menu {
    cursor: pointer;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-color);
    color: var(--white);
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.header-menu-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-overlay .menu-menu-principale-container {
    height: calc(100% - 93.34px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-overlay ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.menu-overlay ul li a {
    color: var(--white);
    font-size: 38px;
    line-height: 114px;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: .2rem;
    text-transform: uppercase;
}

@media (max-width: 767.98px) {
    .menu-overlay ul li a {
        font-size: 24px;
        line-height: 64px;
    }
}

.menu-overlay ul li a:hover {
    color: var(--secondary-color);
}


/* Blocco Intro */
.hero_intro {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    height: calc(100vh - 93.31px);
}

@media (max-width: 767.98px) {
    .hero_intro {
        gap: 80px;
        height: 100%;
        flex-direction: column;
    }
}

.intro_image {
    min-width: 50%;
    height: 100%;
}

.intro_image img {
    object-fit: contain;
}

.intro_text {
    display: flex;
    justify-content: center;
    flex-direction: column;
    min-width: 40%;
    margin-left: 10%;
    height: 100%;
}

@media (max-width: 767.98px) {
    .intro_text {
        margin-left: unset;
        min-width: 100%;
        text-align: center;
    }
}

.intro_text h1 {
    line-height: clamp(32px, 5vw, 45px);
    margin-bottom: 24px;
}

.intro_text h1 .color-dark {
	color:#0b0b0c;
}

.intro_text h1 .color-gray {
	color:#545454;
}

.intro_text h1 .color-off {
	color:#adadad;
}

/* Progetti Archivio */
.project-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.project-image {
    position: relative;
    display: block;
}

.project-image > img{
    width: 100%;
	height: auto;
}

.project-info {
    position: static;
    background: none;
    color: var(--primary-color);
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-info .project-meta {
    font-size: 1rem;
    margin: 0;
}

.project-title {
    text-transform: uppercase;
    letter-spacing: .2rem;
    font-weight: 500;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .project-info {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 0.5rem 1rem;
        opacity: 0;
        transition: opacity 0.3s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .project-image:hover .project-info {
        opacity: .8;
    }

    .project-title {
        margin: 0;
    }

    .project-meta {
        margin: 0 0 0 1rem;
        font-size: 0.9rem;
        color: #333;
    }
}


/* Filtri Progetti */
#progetti-list .preloader {
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  margin: 2rem auto;
  animation: pulse 1s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.3); opacity: 1; }
}

.progetti-filtro {
    padding-top: 65px;
    padding-bottom: 35px;
}

@media (max-width: 991.98px) {
    .progetti-filtro {
        overflow-x: scroll;
        text-wrap: nowrap;
    }

    .progetti-filtro::-webkit-scrollbar {
        display: none;
    }
}

.progetti-filtro .filtro {
    color: var(--primary-color);
    font-size: 21px;
    margin-right: 18px;
    text-transform: uppercase;
    opacity: .3;
    transition: opacity 0.3s ease;
    letter-spacing: .2rem;
}

.progetti-filtro .filtro::after {
    opacity: .3;
}

.progetti-filtro .filtro:not(:last-child)::after {
    content: '//';
    margin-left: 18px;
}

.progetti-filtro .filtro:hover {
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
}

.progetti-filtro .filtro.active {
    color: var(--primary-color);
    font-size: 21px;
    margin-right: 18px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 1;
    letter-spacing: .2rem;
}


/* Paginazione Progetti */
.progetti-pagination {
    margin-top: 105px;
    text-align: center;
}

.progetti-pagination .progetti-page {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 12px;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: all .3s ease;
}

.progetti-pagination .progetti-page:hover {
    background-color: var(--primary-color);
    cursor: pointer;
}

.progetti-pagination .progetti-page.active {
    background-color: var(--primary-color);
}

.progetti-nav {
    display: flex;
    justify-content: center;
    margin-top: 180px;
}

@media (max-width: 991.98px) {
    .progetti-nav {
        margin-top: 90px;
    }
    
}

.progetti-nav a,
.progetti-nav span {
    padding: 5px 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.progetti-nav a {
    color: var(--primary-color);
    font-size: 21px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
}

.progetti-nav a:hover {
    opacity: 1;
}

.progetti-nav .progetto-prev.disabled,
.progetti-nav .progetto-next.disabled {
    font-size: 21px;
    font-weight: 500;
    color: var(--primary-color);
    opacity: .3;
}

/* Progetto Singolo */
.project-single-gallery {
    padding-top: 65px;
	cursor: move;
	overflow-anchor: none;
}

@media (max-width: 991.98px) {
    .project-single-gallery {
        padding-top: 0px;
        padding-bottom: 90px;
    }
}

.project-single-info {
	margin-top: 180px;
}

@media (max-width: 991.98px) {
	.project-single-info {
		margin-top: 90px;
	}
}

.project-single-info h1 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 0px;
    letter-spacing: .3rem;
}

.project-single-info p {
    font-size: 21px;
    letter-spacing: .3rem;
    margin-bottom: 55px;
}

.info-project-right p {
    color: #333;
    font-size: 16px;
}

.description-project {
    text-align: justify;
    margin-top: 55px;
}

.myGallerySingleProject {
  position: relative;
  z-index: 0;
}

.myGallerySingleProject .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.myGallerySingleProject .swiper-button-prev,
.myGallerySingleProject .swiper-button-next {
  position: absolute;
  bottom: 60px;
  top: auto;
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 1;
  color: var(--primary-color);
}

@media (max-width: 991.98px) {
    .myGallerySingleProject .swiper-button-prev,
    .myGallerySingleProject .swiper-button-next {
        bottom: 30px;
    }
}

.myGallerySingleProject .swiper-button-prev {
    left: 35%;
}

.myGallerySingleProject .swiper-button-next {
    right: 35%;
}

.project-featured-image {
    padding-top: 120px;
}

@media (max-width: 991.98px) {
    .project-featured-image {
        padding-top: 60px;
    }
}

.project-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* PAGINAZIONE DOTS GALLERIA */
.swiper-pagination {
  position: absolute;
  bottom: 5%!important;
  left: 50%;
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: end;
}

/* tutti nascosti */
.swiper-pagination-bullet {
  position: absolute;
  opacity: 0;
  transition: all .3s ease;
  width: 18px;
  height: 18px;
  background-color: var(--secondary-color);
  border-radius: 0;
  cursor: pointer;
}

/* CENTRO */
.swiper-pagination-bullet.is-center {
  position: relative;
  opacity: 1;
  width: 21px;
  height: 21px;
  background-color: var(--primary-color);
}

@media (max-width: 767.98px) {
	.swiper-pagination-bullet.is-center {
	  width: 14px;
	  height: 14px;
	}
}
/* 1 a sinistra */
.swiper-pagination-bullet.is-left-1 {
  transform: translateX(-35px);
  opacity: 1;
  width: 16px;
  height:16px;
  background-color: gray;
}

@media (max-width: 767.98px) {
	.swiper-pagination-bullet.is-left-1 {
	  transform: translateX(-25px);
	  width: 12px;
	  height:12px;
	}
}
/* 2 a sinistra */
/* .swiper-pagination-bullet.is-left-2 {
  transform: translateX(-65px);
  opacity: 1;
} */

/* 1 a destra */
.swiper-pagination-bullet.is-right-1 {
  transform: translateX(35px);
  opacity: 1;
  width: 16px;
  height:16px;
  background-color: gray;
}

@media (max-width: 767.98px) {
	.swiper-pagination-bullet.is-right-1 {
	  transform: translateX(25px);
	  width: 12px;
	  height:12px;
	}
}

/* 2 a destra */
/* .swiper-pagination-bullet.is-right-2 {
  transform: translateX(65px);
  opacity: 1;
} */

/* Pubblicazioni */
.pubblicazioni-filtro {
    padding-top: 65px;
    padding-bottom: 35px;
}

.pubblicazioni-filtro .filtro {
    color: var(--primary-color);
    font-size: 21px;
    margin-right: 18px;
    text-transform: uppercase;
    opacity: .3;
    transition: opacity 0.3s ease;
    letter-spacing: .2rem;
    text-decoration: none;
}

.pubblicazioni-filtro .filtro.active {
    color: var(--primary-color);
    font-size: 21px;
    margin-right: 18px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 1;
    letter-spacing: .2rem;
}

/* Pubblicazioni Archivio */
.pubblicazioni-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

.pubblicazioni-image {
    position: relative;
    display: block;
}

.pubblicazioni-image img {
    width: 100%;
    height: 100%;
}

.pubblicazioni-info {
    position: static;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 63.17px;
    height: 100%;
}

.pubblicazioni-info .pubblicazioni-meta {
    font-size: 1rem;
    margin: 0;
}

.pubblicazioni-title {
    text-transform: uppercase;
    letter-spacing: .2rem;
    font-weight: 500;
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .pubblicazioni-info {
        position: relative;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        padding: 0.5rem 1rem; 
        opacity: 1;
        transition: opacity 0.3s ease;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .pubblicazioni-title {
        margin: 0;
    }

    .pubblicazioni-meta {
        margin: 0 0 0 1rem;
        font-size: 0.9rem;
        color: #333;
    }
}

/* Paginazione Pubblicazioni */
.pubblicazioni-pagination {
    margin-top: 105px;
    text-align: center;
}

.pubblicazioni-pagination .pubblicazioni-page {
    display: inline-block;
    width: 28px;
    height: 28px;
    margin: 0 12px;
    background-color: var(--secondary-color);
    cursor: pointer;
    transition: all .3s ease;
}

.pubblicazioni-pagination .pubblicazioni-page:hover {
    background-color: var(--primary-color);
    cursor: pointer;
}

.pubblicazioni-pagination .pubblicazioni-page.active {
    background-color: var(--primary-color);
}

.pubblicazioni-nav {
    display: flex;
    justify-content: center;
    margin-top: 180px;
}

@media (max-width: 991.98px) {
    .pubblicazioni-nav {
        margin-top: 90px;
    }
    
}

.pubblicazioni-nav a,
.pubblicazioni-nav span {
    padding: 5px 20px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.pubblicazioni-nav a {
    color: var(--primary-color);
    font-size: 21px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s ease;
}

.pubblicazioni-nav a:hover {
    opacity: 1;
}

.pubblicazioni-nav span.disabled {
    font-size: 21px;
    font-weight: 500;
    color: var(--primary-color);
    opacity: .3;
}


/* About Block */
.image_top {
    padding-top: 65px;
    padding-bottom: 110px;
}

@media (max-width: 991.98px) {
    .image_top {
        padding-top: 0px;
        padding-bottom: 90px;
    }
}

.about_content h1 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 36px;
    letter-spacing: .3rem;
}

.about_content p {
    text-align: justify;
    max-width: 100%;
}

@media (max-width: 991.98px) {
    .image_bottom {
        max-width: 100%;
        height: auto;
        padding-top: 60px;
        margin-left: auto;
    }
}

/* Page Contact */
.contact_info h1,
.contact_social h2 {
    font-size: 30px;
    font-weight: 500;
    margin-bottom: 36px;
    letter-spacing: .3rem;
}

.contact_social {
    padding-top: 210px;
}

@media (max-width: 991.98px) {
    .contact_social {
        padding-top: 90px;
    }
}

.widget_info {
    margin-bottom: 16px;
    text-align: justify;
}

/* .widget_social:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    margin: 2px 10px;
} */

.contact_form .wpcf7-form > p:last-of-type {
    margin-bottom: 0;
}


.wpcf7-spinner {
    display: none!important;
}

@media (max-width: 991.98px) {
    .contact_form {
        padding-top: 60px;
    }
}

.form-control {
    padding: 0.75rem .75rem;
    border-radius: 0px;
    border-color: var(--primary-color);
    text-align: center;
    color: var(--primary-color);
}

.form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: inherit;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: .3rem;
    border: none;
    height: 100px;
    transition: all .3s ease;
}

@media (max-width: 991.98px) {
    input.wpcf7-form-control.wpcf7-submit.has-spinner {
        height: 60px;
    }
}

input.wpcf7-form-control.wpcf7-submit.has-spinner:hover {
    background-color: var(--white);
    border-color: var(--primary-color);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}


/* Footer */
footer {
    margin-top: 220px;
    background-color: var(--secondary-color);
}

.home footer {
    margin-top: 0px;
}

@media (max-width: 991.98px) {
    footer {
        margin-top: 110px;
        -color: var(--secondary-color);
    }

    .home footer {
        margin-top: 0px;
    }
}

.footer-top {
    padding-top: 160px;
    padding-bottom: 120px;
}

@media (max-width: 991.98px) {
    .footer-top {
        padding-top: 80px;
        padding-bottom: 60px;
        margin-top: 80px;
    }
}

/* .footer-top .content-widget .social_icon:not(:last-child)::after {
    content: '';
    display: inline-block;
    width: 5px;
    height: 5px;
    background-color: var(--primary-color);
    margin: 2px 10px;
} */

.footer-top .content-widget h5 {
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .footer-top .content-widget:not(:last-child) {
        margin-bottom: 28px;
    }
}

.footer-bottom {
    padding-top: 120px;
    padding-bottom: 60px;
}

@media (max-width: 991.98px) {
    .footer-bottom {
        padding-top: 60px;
        padding-bottom: 30px;
    }
}


/* Form Contact */
.contact_form form p > span > input {
    min-height: 100px;
}

@media (max-width: 991.98px) {
    .contact_form form p > span > input {
        min-height: 60px;
    }
}


/* Nascondo il footer top nella pagina contatti */
.page-id-37 .footer-top {
    display: none;
}