@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

@keyframes slide-down {
    0% {
        top: -5rem;
    }
    25% {
        top: 2rem;
    }
    75% {
        top: 2rem;
    }
    100% {
        top: -5rem;
    }
}
@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
html {
    font-size: 10px;
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 1.5rem;
    color: #2B4A83;
}
*.hidden {
    display: none;
}
.material-icons {
    -webkit-user-select: none;
    user-select: none;
}
.label {
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
    cursor: pointer;
}
.input {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 0.2rem solid #a5a5a5;
    border-radius: 0;
    outline: none;
    color: black;
    background-color: #ededed;
    font-family: inherit;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
    appearance: none;
}
.input:focus {
    border-bottom: 0.2rem solid black;
}
.input:not(textarea, input[type="file"]) {
    height: 5rem;
}
.input::file-selector-button {
    padding: 1rem;
    margin-right: 1rem;
    border: none;
    color: white;
    background-color: black;
}
.input-disabled {
    background-color: #dbdbdb;
    cursor: not-allowed;
}
.anchor {
    color: black;
}
.error {
    color: red;
    font-weight: 700;
}
.success {
    color: green;
    font-weight: 700;
}
.button {
    display: flex;
    align-items: center;
    padding: 1rem 2.5rem;
    margin: 1rem 1rem 1rem 0;
    width: max-content;
    height: max-content;
    border: none;
    color: white;
    background-color: #2B4A83;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    border-radius: 5px;
}
.button:hover {
    background-color: #dbdbdb;
}
.button .material-icons {
    margin-right: 0.5rem;
}
.row {
    display: flex;
    align-items: center;
    height: max-content;
}
.row-top {
    display: flex;
    align-items: flex-start;
    height: max-content;
}
.column {
    flex: 1;
}
.column:not(.column:last-child) {
    padding-right: 1rem;
}
.container {
    box-sizing: border-box;
    width: 100rem;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto auto auto;
}
.container-fluid {
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    margin: 0 auto;
}
.navbar {
    position: relative;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #ffffff;
}
.navbar .row {
    justify-content: right;
}
.navbar-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1rem;
    color: #2B4A83;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}
.navbar-item:not(.navbar-item:last-child) {
    margin-right: 1.5rem;
}
.navbar-item:hover {
    background-color: #dbdbdb;    
    border-radius: 5px;
}
.navbar-item-active {
    border-bottom: 2px solid;
    border-radius: 0;
}
.navbar-item:hover .navbar-item-dropdown {
    display: block;
}
.navbar-item:hover .navbar-item-heading .material-icons {
    transform: rotate(180deg);
}
.navbar-item-heading {
    display: flex;
    align-items: center;
}
.navbar-item-heading .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}
.navbar-item-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    display: none;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 1rem #c9c9c9;
}
.navbar-item-dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}
.navbar-item-dropdown .dropdown-item:hover {
    background-color: #ededed;
}
.navbar .navbar-progetti {
    background: #2B4A83;
    color: #fff;
    border-radius: 5px;
}
.navbar-logo {
    display: flex;
    align-items: center;
    height: max-content;
    margin-right: auto;
    color: white;
    text-decoration: none;
}
.navbar-logo img {
    width: 80%;
}
.checkbox-container:not(.checkbox-container:last-child) {
    margin-right: 2.5rem;
}
.checkbox {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    margin-right: 1rem;
    border: 0.2rem solid #a5a5a5;
    background-color: #ededed;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}
.checkbox.active {
    border-color: black;
}
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}
.checkbox .material-icons {
    margin: auto;
    color: #ededed;
    transition-property: color;
    transition-duration: 0.25s;
}
.checkbox.active .material-icons {
    color: black;
}
.break {
    width: 75rem;
    max-width: 100%;
    margin: 2.5rem auto;
    border: none;
    border-bottom: 0.2rem solid #2B4A83;
    color: #2B4A83;
}
.tab {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: black;
    text-decoration: none;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}
.tab:not(.tab-active):hover {
    background-color: #ededed;
}
.tab-active {
    background-color: #dbdbdb;
    font-weight: 700;
}
.table-container {
    overflow: auto;
}
.table {
    width: 98rem;
    margin: 2.5rem 0;
    border-collapse: collapse;
    text-align: center;
}
.table caption {
    margin-bottom: 1rem;
    text-align: left;
}
.table th, .table td {
    padding: 1rem;
}
.table thead tr {
    background-color: #dbdbdb;
}
.table tbody tr:nth-child(even) {
    background-color: #ededed;
}
.table tbody tr:nth-child(odd) {
    background-color: white;
}
.table a {
    display: flex;
    justify-content: center;
    color: black;
    text-decoration: none;
}
.menu-item {
    box-sizing: border-box;
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 1rem;
    margin-left: auto;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
}
.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}
.menu-item-active {
    text-decoration: underline;
}
.menu-item-heading {
    display: flex;
    align-items: center;
    justify-content: right;
}
.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition-property: max-height;
    transition-duration: 0.5s;
}
.menu-item.active .menu-item-dropdown {
    max-height: 25rem;
}
.menu-item.active .material-icons {
    transform: rotate(180deg);
}
.menu-item-dropdown .dropdown-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
}
#login {
    box-sizing: border-box;
    width: 50rem;
    max-width: 100%;
    padding: 1rem;
    margin: 2.5rem auto;
}
#toolbar {
    color: white;
    background-color: #d02f29;
}
#user {
    margin-left: 0.5rem;
}
#logout {
    display: flex;
    align-items: center;
    height: max-content;
    margin-left: auto;
    color: white;
    text-decoration: none;
}
#logout span {
    margin-left: 0.5rem;
}
#mobile-navbar {
    display: none;
}
#open-menu {
    display: block;
}
#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: #2B4A83;
    transition-property: right;
    transition-duration: 0.5s;
}
#menu.active {
    right: 0;
}
#close-menu {
    display: block;
    margin: 2.5rem 0;
    color: white;
    font-size: 48px;
    text-align: right;
}
#snackbar-container {
    position: relative;
    width: 30rem;
    margin: 0 auto;
}
#snackbar {
    position: fixed;
    top: -5rem;
    z-index: 2;
    box-sizing: border-box;
    width: inherit;
    padding: 1rem;
    box-shadow: 0 0 1rem black;
    color: white;
    background-color: green;
    text-align: center;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}
#consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}
#consent {
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100rem;
    max-width: 100%;
    padding: 2.5rem;
    margin: auto;
    box-shadow: 0 0 1rem black;
    background-color: white;
}
#header {
    object-fit: cover;
    display: block;
    width: 100%;
    /* height: 30rem; */
    margin-bottom: 2.5rem;
}
.banner-home{
    background-image: url('../img/banner-home.jpg');
    background-position: top center;
    background-size: cover;
    padding: 7rem 0 3.5rem 0;
}
.banner-home h1{
    font-size: 5rem;
    font-weight: 700;
    color: #ffffff;
}
.banner-home .bt-link, .banner-home .bt-link-neg{
    font-size: 1.7rem;
}
.bt-link{
    background-color: #2B4A83;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    padding: 1rem 1rem;
}
.bt-link-neg{
    background-color: #ffffff;
    color: #2B4A83;
    text-decoration: none;
    display: inline-block;
    padding: 1rem 1rem;
}
.bg-blu{
    background-color: #2B4A83;
    color: #ffffff;
}
.bg-grey{
    background-color: #f7f7f7;
}
.footer{
    background-color: #2B4A83;
    padding: 1rem 0;
    font-size: 1.6rem;
    font-weight: 300;
    color: #ffffff;
}
.footer strong{
    font-weight: 400;
}
.row-mission-home{
    padding: 4rem 0;
    background-color: #f7f7f7;
}
.row-mission-home h2{
    font-size: 3rem;
    font-weight: 700;
}
.row-mission-home p{
    font-size: 2.2rem;
}
.w-100{
    width: 100%;
}
.pad-6{
    padding: 6rem !important;
}
.bread{
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 300;
}
.bread a{
    color: #ffffff;
    text-decoration: none;
}
.top-container{
    background-color: #2B4A83;
    font-size: 1.9rem;
    color: #ffffff;
}
.top-container h1 {
    font-size: 4rem;
    font-weight: 700;
}
.top-container p{
    font-weight: 300;
}
h2{
    font-size: 3rem;
    font-weight: 700;
}
.text-center{
    text-align: center;
}
.box-valori{
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    padding-top: 2rem;
}
.page{
    padding: 2rem 1rem;
}
.page p, .page ul{
    font-size: 1.8rem;
}
.flex-2{
    flex: 2;
}
.box-contatti{
    padding: 1.5rem;
    background-color: #2B4A83;
    color: #ffffff;
    line-height: 2.2rem;
}
.box-contatti a {
    color: #ffffff;
    text-decoration: none;
}
.contatti-col-form p{
    font-size: 1.8rem;
}
.div-img {
    width: 209px;
    height: 120px;
    margin: 10px;
    background-position: center;
    background-size: cover;
    display: inline-block;
}
.div-img a {
    width: 209px;
    height: 120px;
    display: block;
}
.lightboxOverlay {
    background-color: #2B4A83 !important;
}
.thanks{
    font-size: 2.5rem !important;
    font-weight: 300 !important;
}
.col-txt-mission{
    padding: 6rem;
}
.bt-planimetrie{
    text-align: center;
}
.col-gallery{
    padding-bottom: 1rem;
}
.col-progetto{
    padding: 15rem 0 0 0 !important;
}
.col-progetto:not(.column:last-child) {
    margin-right: 1rem;
}
.col-progetto h2{
    background-color: #2B4A83;
    color: #ffffff;
    padding: 1.5rem;
    font-weight: 700;
    font-size: 2rem;
    margin: 0;
}
.col-progetto a{
    text-decoration: none;
    color: white;
}
.bg-palazzina-silvio-pellico-marnate{
    background:
        linear-gradient(
            rgba(26,54,110, 0.6),
            rgba(26,54,110, 0.6)
        ),
        url('../img/progetti-in-lavorazione/palazzina.jpg') center / cover no-repeat;
}
.bg-villette-silvio-pellico-marnate{
    /* background: url('../img/progetti-in-lavorazione/villette.jpg');
    background-size: cover;
    background-position: center center; */

    background:
        linear-gradient(
            rgba(26,54,110, 0.6),
            rgba(26,54,110, 0.6)
        ),
        url('../img/progetti-in-lavorazione/villette.jpg') center / cover no-repeat;


}
.scopri-link{
    font-size: .75em;
    font-style: italic;
}
.smaller-80{
    font-size: .8em;
}