body.locked {
  height: 100vh;
  overflow-y: hidden;
}

.cta--secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.cta--secondary i {
  display: inline-block;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e2f2ff;
  color: #1e5ad7;
  margin-right: 0.5rem;
  transition: 0.3s ease;
}
.cta--secondary span {
  display: none;
}
@media screen and (min-width: 640px) {
  .cta--secondary span {
    display: inline-block;
  }
}
.cta--secondary:hover i {
  background-color: #1e5ad7;
  color: #e2f2ff;
}

.footer {
  border-top: 1px solid #f0f0f0;
}

.footer-main-content {
  margin-bottom: 2rem;
}
.footer-main-content p {
  max-width: 250px;
}

input::-moz-placeholder {
  color: #808080;
}

input::placeholder {
  color: #808080;
}

.top-bar-title {
  margin: 0;
  padding: 0.5rem 1rem 0.5rem;
  border-bottom: 1px solid #f0f0f0;
}

.bg-danger {
  background-color: #ffdad1;
}

.tem-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow-y: scroll;
  background-color: rgba(20, 20, 20, 0.6);
}
.tem-modal__dialog {
  position: absolute;
  left: 50vw;
  bottom: 0;
  transform: translateX(-50%);
  width: 40rem;
  max-width: 100%;
  background-color: white;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  padding: 2rem 2rem 1rem;
}
.tem-modal__dialog header h3 {
  font-weight: bold;
}
.tem-modal__dialog main {
  padding: 2rem 0;
}
.tem-modal__dialog main h4 {
  font-size: 1.1em;
  font-weight: bold;
}
.tem-modal__dialog footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: right;
}
.tem-modal__dialog footer .button {
  font-size: 1rem;
}
@media screen and (min-width: 640px) {
  .tem-modal__dialog {
    border-radius: 10px;
    padding: 2rem 2.5rem;
    position: relative;
    margin: auto;
    margin: 20vh 0 2rem;
  }
}

.form--filters {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
@media screen and (min-width: 1024px) {
  .form--filters {
    flex-wrap: nowrap;
  }
}
.form--filters .field {
  margin-bottom: 1rem;
  flex-basis: 100%;
  display: flex;
  align-items: center;
}
@media screen and (min-width: 1024px) {
  .form--filters .field {
    display: block;
    flex-basis: calc(33.3% - 0.5rem);
    margin-bottom: 0;
    margin-left: 0.8rem;
  }
}
.form--filters .field label {
  font-size: 0.8rem;
  padding-bottom: 0;
  font-weight: bold;
  flex-basis: 40%;
}
@media screen and (min-width: 1024px) {
  .form--filters .field label {
    padding-bottom: 0.5rem;
  }
}
.form--filters .field .input {
  font-size: 1rem;
  margin-bottom: 0;
  flex-grow: 1;
  border-radius: 3px;
}
.form--filters .form__actions {
  display: flex;
  margin-left: 1rem;
  margin-top: 1rem;
  flex-grow: 1;
  justify-content: flex-end;
}
@media screen and (min-width: 1024px) {
  .form--filters .form__actions {
    margin-top: 0;
  }
}
.form--filters .button {
  margin-bottom: 0;
}
.form--filters .button + .button {
  margin-left: 0.5rem;
}
.form--filters .button[type=submit] {
  height: 2.4375rem;
  font-size: 1rem;
  padding: 0 1.5rem;
}
.form--filters [type=reset] {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
  height: 2.4375rem;
  width: 2.4375rem;
}

.thumb--responsive {
  position: relative;
  height: 0;
  width: 100%;
  padding-top: 50%;
  margin: 0;
  overflow: hidden;
}
.thumb--responsive.aspect--panorama {
  padding-top: 35%;
}
.thumb--responsive img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.thumb--fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
}
.thumb--fixed:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to top, white, rgba(255, 255, 255, 0.85));
}

.icon--to-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
}
.icon--to-detail:after {
  content: "";
  display: block;
  width: 20%;
  height: 20%;
  border: 1px solid #141414;
  border-bottom: none;
  border-left: none;
  transform: translateX(-10%) rotate(45deg);
}

.login-register,
.login-form {
  margin-top: 4rem;
}

.login-form-footer a {
  color: #808080;
}
.login-form-footer a:hover {
  text-decoration: underline;
}

.grid-container--subscription {
  padding-top: 4rem;
}

.subscription__form,
.login__form,
.password-reset__form {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.subscription__form label,
.subscription__form legend,
.login__form label,
.login__form legend,
.password-reset__form label,
.password-reset__form legend {
  font-size: 1rem;
  font-weight: bold;
}
.subscription__form .form-group.full-width,
.subscription__form .form-group .full-width,
.login__form .form-group.full-width,
.login__form .form-group .full-width,
.password-reset__form .form-group.full-width,
.password-reset__form .form-group .full-width {
  grid-column: 1/-1;
}
.subscription__form .form-group.full-width.centered,
.subscription__form .form-group .full-width.centered,
.login__form .form-group.full-width.centered,
.login__form .form-group .full-width.centered,
.password-reset__form .form-group.full-width.centered,
.password-reset__form .form-group .full-width.centered {
  display: flex;
  justify-content: center;
  align-items: center;
}
.subscription__form .form-group.full-width.centered > *,
.subscription__form .form-group .full-width.centered > *,
.login__form .form-group.full-width.centered > *,
.login__form .form-group .full-width.centered > *,
.password-reset__form .form-group.full-width.centered > *,
.password-reset__form .form-group .full-width.centered > * {
  margin: 0 auto;
}
@media (max-width: 768px) {
  .subscription__form,
  .login__form,
  .password-reset__form {
    grid-template-columns: 1fr;
  }
  .subscription__form .form-group:nth-child(odd), .subscription__form .form-group:nth-child(even),
  .login__form .form-group:nth-child(odd),
  .login__form .form-group:nth-child(even),
  .password-reset__form .form-group:nth-child(odd),
  .password-reset__form .form-group:nth-child(even) {
    justify-self: stretch;
  }
}

form > div:last-child {
  margin-top: 20px;
}

.tem-pagination {
  margin-top: 2rem;
}
.tem-pagination nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.tem-pagination nav .navitem {
  display: inline-block;
  font-size: 0.8rem;
  width: 2.8rem;
  height: 2.8rem;
  line-height: 2.8rem;
  border-radius: 50%;
  color: inherit;
}
.tem-pagination nav .navitem:hover {
  background-color: #f0f0f0;
}
.tem-pagination nav .navitem--current {
  pointer-events: none;
  background-color: #e2f2ff;
  color: #1e5ad7;
  font-weight: bold;
  margin: 0 0.5rem;
}
.tem-pagination nav .navitem--more {
  pointer-events: none;
}

.c4t__tags {
  display: flex;
}
.c4t__tag-wrapper {
  display: inline-block;
}
.c4t__tag-wrapper .c4t__tag {
  display: block;
}
.c4t__tag-wrapper .c4t__tag + .c4t__tag {
  margin-top: 0.5rem;
}
.c4t__tag-wrapper + .c4t__tag-wrapper {
  margin-left: 0.5rem;
}
.c4t__tag-label {
  display: block;
  width: auto;
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}
.c4t__status, .c4t__tag {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  font-size: 0.8rem;
}
.c4t__status {
  color: white;
}
.c4t__status.status--0 {
  background-color: #69bd51;
}
.c4t__status.status--1 {
  background-color: #ff3805;
}
.c4t__tag {
  color: inherit;
  background-color: #f0f0f0;
}
.c4t__tag--branch {
  color: #1e5ad7;
  background-color: #e2f2ff;
}
.c4t__tag--market {
  color: #ff7b00;
  background-color: #fff0e2;
}
.c4t__tag--type {
  color: #df11ff;
  background-color: #fbe2ff;
}
.c4t__tag--skill {
  color: #20c997;
  background-color: #c3f9e9;
}

/* List & cards */
.card--c4t {
  position: relative;
}
.card--c4t a {
  font-size: inherit;
}
.card--c4t main {
  flex-grow: 1;
}
.card--c4t footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
}
@media screen and (min-width: 1024px) {
  .card--c4t footer {
    margin-top: 0;
  }
}
.card--c4t .card-section {
  position: relative;
  font-size: 1rem;
  color: inherit;
  padding: 2rem 1.5rem 1rem;
}
@media screen and (min-width: 1024px) {
  .card--c4t .card-section {
    display: flex;
    align-items: center;
    padding-bottom: 2rem;
  }
}
.card--c4t .card__thumb {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  width: 35%;
  height: 100%;
  background-color: rgba(30, 90, 215, 0.3);
  background-size: cover;
  background-position: center;
}
.card--c4t .card__thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.card--c4t .card__title {
  font-size: 1.2rem;
  margin-bottom: 0;
}
.card--c4t .card__tags {
  display: flex;
  margin-top: 1rem;
}
@media screen and (min-width: 1024px) {
  .card--c4t .card__tags {
    margin-right: 2rem;
  }
}
.card--c4t .card__tags .c4t__tag-wrapper {
  width: 33.33%;
}
@media screen and (min-width: 640px) {
  .card--c4t .card__tags .c4t__tag-wrapper {
    width: auto;
  }
}
.card--c4t .card__tags .c4t__tag {
  font-size: 0.7rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 8rem;
}
.card--c4t .card__status {
  margin-right: 0.5rem;
}
.card--c4t .card__status .c4t__status {
  font-size: 0.7rem;
}

/* Detail page header */
.c4t__availability--title .c4t__status, .c4t__availability--title .c4t__tag {
  padding: 1rem;
}

/* Detail page */
.single--c4t .thumb--responsive:not(.thumb--fixed) {
  border-radius: 10px;
}
.single--c4t .c4t__availability {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #d4f1cc;
  color: #529f3c;
  padding: 0.8rem;
  border-radius: 3px;
}
.single--c4t .c4t__availability .c4t__status {
  padding: 0;
  font-weight: bold;
  color: inherit;
  background-color: transparent;
}
.single--c4t .c4t__availability .c4t__tag {
  background-color: transparent;
  border: 1px solid #529f3c;
  font-weight: bold;
}
.single--c4t .c4t__tags {
  flex-direction: column;
}
.single--c4t .c4t__tags .c4t__tag + .c4t__tag {
  margin-top: 0;
  margin-left: 0.5rem;
}
.single--c4t .c4t__tags .c4t__tag-wrapper {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid #f0f0f0;
}
@media screen and (min-width: 1024px) {
  .single--c4t .c4t__tags .c4t__tag-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.single--c4t .c4t__tags .c4t__tag-label {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0;
  margin-right: 2rem;
}
.single--c4t .c4t__tags .c4t__tag-data {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
@media screen and (min-width: 1024px) {
  .single--c4t .c4t__tags .c4t__tag-data {
    justify-content: flex-end;
  }
}
.single--c4t .c4t__tags .c4t__tag-data .c4t__tag {
  margin: 0.3rem;
  margin-left: 0;
  font-size: 0.7rem;
}
.single--c4t .c4t__content {
  margin-top: 3rem;
}
.single--c4t .c4t__content h2,
.single--c4t .c4t__content h3 {
  font-weight: bold;
  margin-top: 3rem;
}
.single--c4t .c4t__content ul {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.single--c4t .c4t__content ul li + li {
  margin-top: 0.6rem;
}
.single--c4t footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4rem;
}
.single--c4t footer .button {
  border-radius: 3rem;
  margin-bottom: 0;
}
@media screen and (min-width: 640px) {
  .single--c4t footer .button {
    font-size: 1.5rem;
  }
}

/* List & cards */
.grid--affiliations {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media screen and (min-width: 640px) {
  .grid--affiliations {
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.grid--affiliations > .cell {
  display: flex;
}

.card--affiliation.card-status--1 .card__thumb img {
  filter: grayscale(1);
  opacity: 0.5;
}
.card--affiliation a {
  font-size: inherit;
}
.card--affiliation .affiliation__tags {
  margin-bottom: 2rem;
}
.card--affiliation .c4t__tags {
  margin-bottom: 0.5rem;
}
.card--affiliation .card__title {
  font-size: 1.3rem;
}
.card--affiliation .card-section {
  display: flex;
  flex-direction: column;
}
.card--affiliation .card__content {
  flex-grow: 1;
}
.card--affiliation .card__content p {
  font-size: 1.2rem !important;
}
.card--affiliation .c4t__status {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
}
.card--affiliation .card__footer {
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
}
.card--affiliation .card__footer .button {
  margin-bottom: 0;
}

.affiliation__thumbnail {
  border-radius: 9999px;
  width: 4.6875rem;
  height: 4.6875rem;
  -o-object-fit: fill;
     object-fit: fill;
  overflow: hidden;
}
.affiliation__thumbnail img {
  aspect-ratio: 1/1;
  image-rendering: optimizequality;
  -o-object-position: center;
     object-position: center;
  -o-object-fit: cover;
     object-fit: cover;
  height: auto;
  width: 100%;
}

[id^=convenzione].reveal {
  padding-top: 0;
  padding-bottom: 0;
}

.affiliation__tags .affiliations__colorize .c4t__tag--blue {
  color: #1e5ad7;
  background-color: #e2f2ff;
}
.affiliation__tags .affiliations__colorize .c4t__tag--violet {
  color: #df11ff;
  background-color: #fbe2ff;
}
.affiliation__tags .affiliations__colorize .c4t__tag--green {
  color: #69bd51;
  background-color: #d4f1cc;
}
.affiliation__tags .affiliations__colorize .c4t__tag--yellow {
  color: #ff7b00;
  background-color: #fff0e2;
}

.detail--affiliation .content-wrapper {
  padding: 2rem 1rem;
}
@media screen and (min-width: 640px) {
  .detail--affiliation .content-wrapper {
    padding: 4rem;
  }
}
.detail--affiliation p,
.detail--affiliation ul,
.detail--affiliation a {
  font-size: 1rem;
}
.detail--affiliation .bg-light-blue {
  background-color: #e2f2ff;
}
.detail--affiliation .close-button {
  background-color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
}

.affiliation--detail-form {
  overflow-y: clip;
}
.affiliation--detail-form .content-wrapper {
  margin-top: 4rem;
}
.affiliation--detail-form .content-wrapper p + div {
  margin-top: 4rem;
}
.affiliation--detail-form .content-wrapper label {
  font-size: 0.875rem;
  font-weight: bold;
}
.affiliation--detail-form .content-wrapper input,
.affiliation--detail-form .content-wrapper textarea {
  margin-top: 0.5rem;
  border-radius: 0.25rem;
}

@media screen and (min-width: 1024px) {
  .card--tem .card-section {
    display: block;
  }
}
.card--tem main > .card__text-wrapper:first-child {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.card--tem main > .card__text-wrapper:first-child .affiliation__thumbnail {
  flex: 0 0 auto;
  width: 9.375rem;
  height: 9.375rem;
  margin-right: 2rem;
}
.card--tem main > .card__text-wrapper:first-child .card__title-wrapper {
  flex: 0 0 40%;
}
.card--tem main > .card__text-wrapper:first-child .card__text-wrapper:last-child {
  flex: 0 1 auto;
  margin-right: 2rem;
}
.card--tem main > .card__text-wrapper:first-child .card__text-wrapper:last-child p {
  text-wrap: pretty;
}
.card--tem .c4t__tag-wrapper li {
  display: inline-block;
}
.card--tem footer {
  display: block;
}
.card--tem .cta__wrapper {
  align-items: center;
  justify-content: flex-end;
  display: flex;
}

.single--tem header {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  align-items: center;
}
.single--tem .single-tem__profile-image {
  width: 12rem;
  height: auto;
}
.single--tem main {
  margin-bottom: 2rem;
}
.single--tem .c4t__tag-wrapper li {
  display: inline-block;
}
