.menu-item-with-icon {
  display: inline-block;
  padding: 10px 0 0 0;
  text-align: center;
}

img.menu-icon {
  display: block;
  height: 30px;
  margin: auto;
}

img.copyright {
  height: 24px;
}

img.contact-icon {
  height: 22px;
  margin-right: 15px;
}

.navbar .navbar-inner .navbar-menu .navbar-menu-list li a {
  display: block;
}

.navbar
  .navbar-inner
  .navbar-menu
  .navbar-menu-list
  .primary-mobile-menu-toggle:after {
  margin-top: -5px;
}

.menu-tarli {
  font-size: 20px;
}

.tarli-bg-green {
  background-color: #9dcf7a;
}

.tarli-bg-orange {
  background-color: #ec9d54;
}

.tarli-bg-red {
  background-color: #ce5c6d;
}

.tarli-bg-darker-red {
  background-color: #bd2234;
}

/* Do an horizontal flip when you move the mouse over the flip box container */
.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

/* Position the front and back side */
.flip-card-front,
.flip-card-back {
  backface-visibility: hidden;
}

/* Style the front side (fallback if image is missing) */
.flip-card-front {
  background-color: #bbb;
  color: black;
}

/* Style the back side */
.flip-card-back {
  background-color: dodgerblue;
  color: white;
  transform: rotateY(180deg);
}

.tarli-bg-games-2 {
  background-image: url("../img/assets/tarli-bg-games-2-light.png");
}

.tarli-bg-games-1 {
  background-image: url("../img/assets/tarli-bg-games.png");
}

.tarli-bg-games-light {
  background-image: url("../img/assets/tarli-bg-games-light.png");
}

.tarli-footer-bg {
  background-image: url("../img/assets/tarli-bg-grigio.png");
}

.tarli-text-color-dark-red {
  color: var(--tarli-darker-red);
}

.tarli-bg-progetto {
  background-image: url("../img/assets/tarli-bg-progetto-2.png");
}

.tarli-text-color-cyan {
  color: var(--tarli-cyan);
}

.tarli-text-color-green {
  color: var(--tarli-green);
}

.tarli-text-color-orange {
  color: var(--tarli-orange);
}

.tarli-font-amber {
  font-family: var(--font-amber);
}

.tarli-font-line-heigth-15 p {
  line-height: 1.5px;
}

.blockquote-section-type-1
  .blockquote-wrapper
  .row
  .blockquote-col
  blockquote
  h4 {
  font-weight: 400;
  text-align: center;
  font-family: var(--font-amber);
  color: white;
  letter-spacing: 1px;
  font-size: 35px;
}

.footer-sidebar .sidebar-widget .sidebar-title {
  font-size: 24px;
  font-weight: 500;
  text-transform: uppercase;
  border-bottom: 1px solid var(--tarli-dark-grey);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.footer-sidebar .sidebar-widget .sidebar-title-left {
  color: var(--tarli-orange);
  letter-spacing: 1px;
}

.footer-sidebar .sidebar-widget .sidebar-title-center {
  color: var(--tarli-darker-cyan);
  letter-spacing: 1px;
}

.footer-sidebar .sidebar-widget .sidebar-title-right {
  color: var(--tarli-darker-red);
  letter-spacing: 1px;
}

.footer-sidebar .sidebar-widget .sidebar-covid-msg {
  text-align: center;
  color: var(--tarli-green);
  letter-spacing: 1px;
}

.tarli-footer-contatti-tana {
  font-family: var(--font-amber);
  font-size: 36px;
  margin-top: -20px;
}

.tarli-footer-contatti-giochi {
  font-size: 14px;
  margin-top: -14px;
  margin-bottom: 20px;
}

.page-header .breadcrumbs-wrapper .breadcrumbs .title {
  text-align: center;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  max-width: 800px;
  margin-bottom: 25px;
  font-size: 80px;
}

.blockquote-cyan {
  background-color: var(--tarli-cyan);
}

.blockquote-green {
  background-color: var(--tarli-green);
}

.blockquote-orange {
  background-color: var(--tarli-orange);
}

.single-post-section {
  padding-top: 20px;
}

.blog-section .single-post-wrapper .post-content {
  margin-bottom: 30px;
  padding-bottom: 0px;
  border-bottom: none;
}

.blog-section .single-post-wrapper {
  padding-bottom: 0px;
}

p {
  font-size: 16px;
  font-family: var(--primary-font);
  color: var(--tarli-dark-grey);
  letter-spacing: 0.3px;
  line-height: 1.5;
}

.blockquote-type-1 p {
  font-size: 16px;
  color: var(--black_default);
  font-weight: 500;
  line-height: 1.5;
}

.copyright-wrapper p {
  font-size: 14px;
}

.contact-info p {
  font-size: 14px;
}

.footer-sidebar .contact-info-widget .contact-info li.mail a:hover {
  color: #9e7208;
}

.footer-sidebar .contact-info-widget .contact-info li.facebook a:hover {
  color: #1d90ae;
}

/* FOOTER TIMELINE */
.timeline-container {
  padding-left: 20px;
}
@media (max-width: 1199px) {
  .timeline-container {
    padding-left: 20px;
  }
}
@media (max-width: 575px) {
  .timeline-container {
    padding-left: 10px;
  }
}

.timeline-item {
  padding: 25px 25px 10px 35px;
  position: relative;
  color: #232323;
  border-left: 2px solid var(--tarli-cyan);
}

.timeline-item p {
  font-size: 1rem;
}

.timeline-item h6 {
  font-family: var(--font-amber);
  font-weight: 400;
  line-height: 1;
  color: #232323;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 0;
  letter-spacing: 1px;
}

.timeline-container ::before {
  content: attr(date-is);
  position: absolute;
  left: 35px;
  font-weight: bold;
  top: 5px;
  display: block;
  font-family: var(--font-cambo);
  font-weight: 500;
  font-size: 12px;
}

.timeline-item ::after {
  width: 20px;
  height: 20px;
  display: block;
  top: 18px;
  position: absolute;
  left: -11px;
  border-radius: 20px;
  content: "";
  border: 2px solid var(--tarli-cyan);
  background: white;
}

.timeline-item :last-child {
  border-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0)
  );
}
/* FINE FOOTER TIMELINE */

.gallery-titles {
  margin-top: 60px;
  margin-bottom: 30px;
}

.gallery-titles img {
  height: 70px;
  margin-right: 25px;
}

.gallery-video {
  padding-bottom: 30px;
}

.tarli-covid-msg {
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
}

.tarli-contatti-asd {
  font-size: 2rem;
}

/* TIMELINE DOVE SAREMO */

.timeline-icon {
  /*display: block;*/
  height: 80px;
  margin: auto;
}

.tarli-timeline-link {
  font-size: 22px;
}

section.timeline-tarli {
  padding: 50px;
}

.blue-bg {
  /*background-color: #4D4545;*/
  color: var(--tarli-green);
  height: 100%;
}

.circle {
  font-weight: bold;
  padding: 5px;
  border-radius: 50%;
  background-color: white;
  border: 3px solid var(--tarli-green);
  color: white;
  /*max-height: 80px;*/
  z-index: 2;
}

.how-it-works.row {
  display: flex;
}

.how-it-works.row .col-2 {
  display: inline-flex;
  align-self: stretch;
  align-items: center;
  justify-content: center;
}

.how-it-works.row .col-2::after {
  content: "";
  position: absolute;
  border-left: 3px solid var(--tarli-green);
  z-index: 1;
}

.how-it-works.row .col-2.bottom::after {
  height: 50%;
  left: 50%;
  top: 50%;
}

.how-it-works.row .col-2.full-right::after {
  height: 100%;
  left: calc(50% - 3px);
}

.how-it-works.row .col-2.full-left::after {
    height: 100%;
    left: 50%;
  }

.how-it-works.row .col-2.top-left::after {
  height: 50%;
  left: 50%;
  top: 0;
}

.how-it-works.row .col-2.top-right::after {
    height: 50%;
    left: calc(50% - 3px);
    top: 0;
  }

.timeline div {
  padding: 0;
  height: 40px;
}

.timeline hr {
  border-top: 3px solid var(--tarli-green);
  margin: 0;
  top: 17px;
  position: relative;
}

.timeline .col-2 {
  display: flex;
  overflow: hidden;
}

.timeline .corner {
  border: 3px solid var(--tarli-green);
  width: 100%;
  position: relative;
  border-radius: 15px;
}

.timeline .top-right {
  left: 50%;
  top: -50%;
}

.timeline .left-bottom {
  left: -50%;
  top: calc(50% - 3px);
}

.timeline .top-left {
  left: -50%;
  top: -50%;
}

.timeline .right-bottom {
  left: 50%;
  top: calc(50% - 3px);
}

/* END TIMELINE DOVE SAREMO */

.collaborazioni-title {
  padding-top: 40px;
}

.collaborazioni-tab {
  border: 2px solid var(--tarli-cyan) !important;
  border-radius: 10px;
}

.collaborazioni-text {
  font-size: 13px;
}

.privacy-discalimer {
  position: fixed;
  bottom: -10px;
  z-index: 2030;
  text-align: center;
  /**
    right: 5px;
    left: 5px;
    */
}

.privacy-disclaimer-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.privacy-disclaimer-text {
  font-size: 12px;
}

.privacy-policy-link {
  font-size: 10px;
}

/* FIXES FOR MOBILE VERSION */

@media all and (max-width: 736px) {
  .tarli-mobile-menu-bg {
    background-image: url("../img/assets/tarli-bg-grigio.png");
  }

  .mobile-menu .navbar-inner .navbar-menu .navbar-menu-list li a {
    color: var(--tarli-footer-darker-grey);
  }

  .timeline-icon {
    /*display: block;*/
    height: 50px;
    margin: auto;
  }

  .how-it-works.row h2 {
    font-size: 1.8rem;
  }

  section.timeline-tarli {
    padding: 10px;
  }
}
