/* Classi generiche */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

main {
    margin-top: 4rem !important;
}

.descr-font-size {
    font-size: .8rem;
}

.custom-span {
    display: inline-block;
    margin-top: 5px;
}

.custom-a {
    color: black;
}

.custom-a:hover {
    text-decoration: underline;
    color: black;
}

.container-max-width {
    max-width: 1200px;
}

.custom-font {
    font-weight: 235 !important;
    letter-spacing: 0.4px !important;
}

.uppercase {
    text-transform: uppercase;
}

.color-black {
    color: black !important;
}

/* Logo */
.logo {
    width: 108px;
}

/* Icone */
.icons {
    width: 25px;
    filter: grayscale(1);
}

/* Navbar */
.navbar {
    background-color: white !important;
}

#panino {
    width: 20px;
    height: 25px;
    background: transparent;
}

.navbar-toggler:focus {
    outline: none;
}

.navbar-toggler-icon {
    background: transparent !important;
}

.nav-link:hover {
    /* background-color: rgb(243, 243, 243); */
    text-decoration: underline;
}

/* Carousel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 1200px !important;
    max-height: 600px !important;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 16px;
    margin-top: 20px !important;
}

.carousel-inner {
    display: flex;
}

.carousel-item {
    flex: 0 0 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
}

.carousel-nav {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.56);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.carousel-dot.active {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Cards */
.div-ultimi-progetti {
    padding-bottom: 100px;
}

.card,
.card-img-top {
    border: none !important;
    border-radius: 0 !important;
}

.toggle-description {
    cursor: pointer;
    font-size: 1.5rem;
    text-align: right;
}

.titolo-card {
    margin-bottom: 0 !important;
    text-align: left;
}

.card-body {
    padding: 0 !important;
}

.descrizione-card {
    font-size: .8rem;
    text-align: left;
}

.linkProgettoCopertina,
.linkProgetto {
    text-decoration: none;
    color: black !important;
}

a.linkProgetto:hover,
.card-text:hover {
    color: black !important;
}

/* FORM */

.container-hCaptcha {
    width: fit-content;
}

.h-captcha {
    width: fit-content;
}

.form-label {
    width: 100% !important;
    text-align: left !important;
}

/* Textarea */
#validationCustom05 {
    height: 400px;
    max-height: 400px;
    resize: none;
}

@media (max-width: 767px) {
    #validationCustom05 {
        height: 200px;
    }
}

/* Char Counter */
.counter-container {
    width: 100%;
    text-align: right;
    font-size: 0.8rem;
}

.custom-text-color {
    color: #007bff !important;
}

/* Ombre */
/* input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
} */

/* Immagini Categorie */
/* .imgs-4 {
    border-radius: 5px;
    box-shadow: 1px 1px 1px 1px #767676;
} */

/* Lavoro singolo */
.copertina {
    position: relative;
    width: 100%;
    max-width: 1200px !important;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 16px;
    margin-top: 20px !important;
}

/* 
Menù Icona Switch Lingua
*/

.change-lang-container {
    z-index: 999999999 !important;
    cursor: pointer;
    position: fixed;
    bottom: 60px;
    right: 18px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.menu-lang-arrow {
    width: 15px;
    transform: rotate(180deg);
    background-color: #fff;
    border-radius: 50%;
}

.change-lang {
    display: none;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 5px;
    position: fixed;
    bottom: 85px;
    right: 18px;
    border: solid .2rem #c0c0c0;
    background-color: white;
    padding: 5px;
    border-radius: 5px;
}

.lang {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS' !important;
}

#arrow {
    display: flex;
    align-items: center;
    align-items: baseline;
    margin: 0;
    width: auto;
    height: auto;
}

.col1-flags,
.col2-lang {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

#italy,
#england,
#flag {
    width: 20px;
}

.lang {
    font-family: Montserrat;
    font-weight: 600;
    font-size: .6rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}