/* MODIFICHE */
.page-block {
  padding-top: 108px;
}
.logo-header {
  max-width: 250px;
  max-height: 80px;
}

a.btn-link-dark {
  color: #000 !important;
}
a.btn-link-dark:hover {
  color: var(--main-color) !important;
}

.top-nav {
  background: #000;
}

.margin-30px {
  margin: 30px;
}

.margin-0 {
  margin: 0px;
}

.margin-b-5px {
  margin-bottom: 5px;
}

.grey_ccc {
  color: #ccc;
}

.grey_666 {
  color: #666;
}

.bg_grey_ccc {
  background-color: #ccc;
}

.font_small {
  font-size: 0.85rem;
}

.button-dark {
  padding: 9px 12px !important;
  color: #0b0c0e;
  background-color: transparent;
  border: 3px solid #0b0c0e;
  margin-bottom: 1.5rem;
}

.powered {
  padding: 5px;
  font-size: 10px;
}

.powered a,
.powered a:hover,
.powered a:visited {
  color: #333;
  font-weight: bold;
}

.button-dark:hover {
  color: var(--main-color);
  background-color: #0b0c0e;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: var(--main-color);
  color: #0b0c0e;
}

#map {
  width: 100%;
  height: 300px;
  display: block;
}

/*
crossfit link
*/

.crossfit-link img {
  display: inline-block;
  max-width: 200px;
}

.events-posts .post .post-block .thumb h5 {
  position: absolute;
  padding: 0 1.5rem;
  bottom: 1.5rem;
  /*color: var(--main-color);*/
  color: #ffffff;
  z-index: 15;
  text-shadow: 0px 0px 3px #333;
}

/*
* News
*/
.news-posts {
  padding-top: 4.5rem;
}

.news-posts p {
  text-align: center;
}

.news-posts .post,
.events-posts .post,
.gallerie-immagini .post,
.corsi-posts .post,
.video-immagini .post {
  overflow: hidden;
  height: 360px;
}

.news-posts .post .post-block {
  position: relative;
  background: #fff;
}

.news-posts .post .post-block .thumb {
  position: relative;
  height: 15rem;
  width: 100%;
}

.news-posts .post .post-block .thumb .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 12, 14, 0.3);
  z-index: 5;
}

.news-posts .post .post-block .thumb .date {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: var(--main-color);
  z-index: 15;
}

.news-posts .post .post-block .thumb .date span {
  display: block;
  font-size: 3.815rem;
  line-height: 3rem;
  font-weight: 700;
}

.news-posts .post .post-block .thumb h5 {
  position: absolute;
  padding: 0 1.5rem;
  bottom: 0.5rem;
  /*color: var(--main-color);*/
  color: #ffffff;
  z-index: 15;
  text-shadow: 0px 0px 3px #333;
}

.news-posts .post .post-block .thumb .time {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  padding: 0 0.375rem;
  background: var(--main-color);
}

.news-posts .data {
  display: block;
  padding: 5px;
  color: #666;
  font-size: 0.85rem;
  padding-bottom: 0px;
}

.news-posts p.testo {
  display: block;
  padding: 5px;
  text-align: left;
  color: #0b0c0e;
}

/*
* Gallerie immagini
*/
.gallerie-immagini {
  padding-top: 4.5rem;
}

.gallerie-immagini p {
  text-align: center;
}

.gallerie-immagini .post .post-block {
  position: relative;
  background: #fff;
}

.gallerie-immagini .post .post-block .thumb {
  position: relative;
  height: 15rem;
  width: 100%;
}

.gallerie-immagini .post .post-block .thumb .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 12, 14, 0.3);
  z-index: 5;
}

.gallerie-immagini .post .post-block .thumb .date {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: var(--main-color);
  z-index: 15;
}

.gallerie-immagini .post .post-block .thumb .date span {
  display: block;
  font-size: 3.815rem;
  line-height: 3rem;
  font-weight: 700;
}

.gallerie-immagini .post .post-block .thumb h5 {
  position: absolute;
  padding: 0 1.5rem;
  bottom: 1.5rem;
  /*color: var(--main-color);*/
  color: #ffffff;
  z-index: 15;
  text-shadow: 0px 0px 3px #333;
}

.gallerie-immagini .post .post-block .thumb .time {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  padding: 0 0.375rem;
  background: var(--main-color);
}

.gallerie-immagini .data {
  display: block;
  padding: 5px;
  color: #666;
  font-size: 0.85rem;
  padding-bottom: 0px;
}

.gallerie-immagini p.testo {
  display: block;
  padding: 5px;
  text-align: left;
  color: #0b0c0e;
}

/*
* Gallerie Video
*/
.gallerie-video {
  padding-top: 4.5rem;
}

.gallerie-video p {
  text-align: center;
}

.gallerie-video .post .post-block {
  position: relative;
  background: #fff;
}

.gallerie-video .post .post-block .thumb {
  position: relative;
  height: 15rem;
  width: 100%;
}

.gallerie-video .post .post-block .thumb .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 12, 14, 0.3);
  z-index: 5;
}

.gallerie-video .post .post-block .thumb .date {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: var(--main-color);
  z-index: 15;
}

.gallerie-video .post .post-block .thumb .date span {
  display: block;
  font-size: 3.815rem;
  line-height: 3rem;
  font-weight: 700;
}

.gallerie-video .post .post-block .thumb h5 {
  position: absolute;
  padding: 0 1.5rem;
  bottom: 1.5rem;
  /*color: var(--main-color);*/
  color: #ffffff;
  z-index: 15;
  text-shadow: 0px 0px 3px #333;
}

.gallerie-video .post .post-block .thumb .time {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  padding: 0 0.375rem;
  background: var(--main-color);
}

.gallerie-video .data {
  display: block;
  padding: 5px;
  color: #666;
  font-size: 0.85rem;
  padding-bottom: 0px;
}

.gallerie-video p.testo {
  display: block;
  padding: 5px;
  text-align: left;
  color: #0b0c0e;
}

/*
* Corsi
*/
.corsi-posts {
  padding-top: 4.5rem;
}

.corsi-posts p {
  text-align: center;
}

.corsi-posts .post,
.events-posts .post,
.gallerie-immagini .post,
.video-immagini .post {
  overflow: hidden;
  height: 360px;
}

.corsi-posts .post .post-block {
  position: relative;
  background: #fff;
}

.corsi-posts .post .post-block .thumb {
  position: relative;
  height: 15rem;
  width: 100%;
}

.corsi-posts .post .post-block .thumb .thumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 12, 14, 0.3);
  z-index: 5;
}

.corsi-posts .post .post-block .thumb .date {
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  color: var(--main-color);
  z-index: 15;
}

.corsi-posts .post .post-block .thumb .date span {
  display: block;
  font-size: 3.815rem;
  line-height: 3rem;
  font-weight: 700;
}

.corsi-posts .post .post-block .thumb h5 {
  position: absolute;
  padding: 0 1.5rem;
  bottom: 1.5rem;
  /*color: var(--main-color);*/
  color: #ffffff;
  z-index: 15;
  text-shadow: 0px 0px 3px #333;
}

.corsi-posts .post .post-block .thumb .time {
  display: inline-block;
  color: #fff;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 700;
  padding: 0 0.375rem;
  background: var(--main-color);
}

.corsi-posts .data {
  display: block;
  padding: 10px;
  color: #666;
  font-size: 0.85rem;
  padding-bottom: 0px;
}

.corsi-posts p.testo {
  display: block;
  padding: 10px;
  text-align: left;
  color: #0b0c0e;
}

/* FULL CALENDAR */

/* CALENDAR */

.fc th {
  border-style: solid;
  border-width: 1px;
  padding: 0;
  vertical-align: top;
  font-size: 16px;
  padding: 10px;
  font-weight: 300;
  background-color: var(--main-color);
  color: #fff;
  border: 1px solid var(--main-color);
}
.fc thead,
.fc-head-container.fc-widget-header,
.fc-head-container.fc-widget-header {
  border: 1px solid var(--main-color);
  border-color: var(--main-color);
}
.fc-toolbar {
  padding: 15px;
  margin-bottom: 0px;
  font-size: 18px;
  border: 1px solid #f0f0f0;
  background-color: #f0f0f0;
}
.fc-widget-header {
  border: 1px solid #f0f0f0;
  background-color: #f0f0f0;
}
.fc-toolbar .fc-center {
  font-size: 36px;
  vertical-align: middle;
}

.fc-state-active,
.fc-state-down {
  background-color: var(--main-color);
  color: #fff;
  background-image: none;
  box-shadow: none;
  text-shadow: none;
}

.fc-state-active,
.fc-state-disabled,
.fc-state-down,
.fc-state-hover {
  color: #fff;
  background-color: var(--main-color);
  background-image: none;
  text-shadow: none;
  font-weight: 300;
}

.fc-event {
  padding: 3px;
}

.fc-time-grid-event .fc-time,
.fc-time-grid-event .fc-title {
  padding: 3px;
}
.fc-time-grid-event .fc-time {
  font-weight: bold;
}

.fc-time-grid-event .fc-title {
  background-color: #fff;
  height: 100%;
  border-radius: 3px;
}

.fc-time-grid-event .fc-content {
  overflow: hidden;
  height: 100%;
}

/* MESSAGES */
.error_message {
  padding: 3px;
  background-color: #ff0000;
  color: #fff;
  text-align: center;
  display: block;
}

#slider {
  padding-top: 50px;
}

/* LVL 2 MENU */

.lvl2 {
  position: relative;
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1.5rem 0.75rem;
}

.active.lvl2,
.lvl2:hover {
  background-color: var(--main-color);
  color: #0b0c0e;
  cursor: pointer;
}

.lvl2 ul {
  position: absolute;
  top: 52px;
  left: 0px;
  background-color: var(--main-color);
  margin: 0px;
  width: 250px;
  display: none;
}

.lvl2 ul li,
.lvl2 ul li a {
  display: block;
  color: #fff;
  padding: 5px;
}

.ticket-block .ticket p {
  font-size: 2.768rem;
}

.ticket-block .ticket p:before {
  content: "€";
  line-height: inherit;
}

.tickets {
  margin-bottom: 20px;
}

.grid-item {
  width: 350px;
  margin: 20px;
}

/* WOD */
.wod-posts {
  text-align: center;
}
.wod-block {
  padding: 20px;
  border: 0.5px solid #ccc;
  border-radius: 5px;
  margin-bottom: 20px;
}
.wod-block h3 {
  font-weight: bold;
  background-color: #333;
  color: #fff;
  border-radius: 3px;
}

.wod-posts input {
  border: none;
  background-color: transparent;
  text-align: center;
  width: auto !important;
  display: inline-block !important;
}

.dataBlock {
  padding: 3px;
  border-bottom: 2px solid #333;
}

.wod-block p {
  font-size: 18px;
}

.sp-colorize-container {
  margin-left: 1rem;
}

@media (min-width: 992px) AND (max-width: 1200px) {
  .logo-header {
    max-width: 100px;
  }
}

@media (max-width: 991px) {
  .news-posts .post,
  .events-posts .post,
  .gallerie-immagini .post,
  .corsi-posts .post {
    height: auto;
  }

  .logo-header {
    max-width: 200px;
    max-height: 50px;
  }

  .navbar-brand {
    padding: 15px 15px;
  }

  .page-block {
    padding-top: 60px;
  }

  .navbar-nav {
    height: calc(100vh - 4.5rem);
    overflow: scroll;
    padding-bottom: 100px;
  }

  .lvl2 ul {
    position: relative;
    top: 0px;
    left: 0px;
    background-color: var(--main-color);
    margin: 0px;
    width: 100%;
    display: none;
  }
}
