/* Colori
  OCRA:      #e0aa4e;
  BORDEAUX:  #581e1d;
  VERDINO:   #adc4a0;
  ROSA:      #ac8f8e;
  BIANCO:    #d5c7c6;
  NERO:      #020c0d;
  ROSSO:     #b0221f;
  ARANCIONE: #c8782f;
  VERDE:     #5c6b4c;
  VIOLA:     #6c5768;
--------------------------------------------------------------*/

/* Fonts
--------------------------------------------------------------*/
@font-face {
  font-family: 'Diehld';
  src: url('./Diehld.woff2') format('woff2'), url('./Diehld.ttf') format('truetype'), url('./Diehld.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Futura';
  src: url('./Futura.woff2') format('woff2'), url('./Futura.ttf') format('truetype'), url('./Futura.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

/* General
--------------------------------------------------------------*/
body {
  background: #020c0d;
  color: #020c0d;
  font-family: "Futura";
  margin: 0;
  padding: 0;
}

a {
  color: #581e1d;
  transition: 0.5s;
  text-decoration: none;
}

  a:hover, a:active, a:focus {
    color: #ac8f8e;
    outline: none;
    text-decoration: none;
  }

p {
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Diehld";
  text-transform: uppercase;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  letter-spacing: 2px;
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

h4 {
  text-align: center;
  margin-bottom: 15px;
}

h6 {
  margin-top: 5px;
  margin-bottom: 10px;
}

label {
  font-weight: 600;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: auto;
  }
}

/* Back buttons
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  display: none;
  background-color: #adc4a0;
  color: #581e1d;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 10px;
  bottom: 58px;
  transition: background 0.5s;
  z-index: 11;
}

  .back-to-top:hover {
    background-color: #ac8f8e;
  }

  .back-to-top i {
    padding-top: 12px;
    color: #581e1d;
  }

.back-to-prev {
  position: fixed;
  background-color: #adc4a0;
  color: #581e1d;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 10px;
  bottom: 10px;
  transition: background 0.5s;
  z-index: 11;
}

  .back-to-prev:hover {
    background-color: #ac8f8e;
  }

  .back-to-prev i {
    padding-top: 15px;
    padding-right: 2px;
    color: #581e1d;
  }

@media (max-width: 768px) {
  .back-to-top {
    width: 32px;
    height: 32px;
    font-size: 12px;
    bottom: 46px;
    right: 4px;
  }

    .back-to-top i {
      padding-top: 10px;
    }

  .back-to-prev {
    width: 32px;
    height: 32px;
    font-size: 12px;
    right: 4px;
  }

    .back-to-prev i {
      padding-top: 10px;
    }
}

/* Pre-loader rotating image
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #e0aa4e;
}

  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #581e1d;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
  }

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Header della pagina (quello che contiene il menu)
--------------------------------------------------------------*/
#header {
  transition: all 0.5s;
  z-index: 997;
  padding: 25px 0;
  background: #581e1d;
}

  #header.header-transparent {
    background: transparent;
  }

  #header.header-scrolled {
    background: #581e1d;
    padding: 18px 0;
  }

  #header .logo {
    font-size: 25px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: "Diehld";
    font-weight: 500;
    letter-spacing: 2px;
    white-space: nowrap;
  }

    #header .logo a {
      color: #e0aa4e;
    }

    #header .logo img {
      max-height: 40px;
    }

@media (max-width: 768px) {
  #header {
    padding: 20px 0;
  }

    #header.header-scrolled {
      padding: 15px 0;
    }

    #header .logo {
      font-size: 25px;
    }
}

/* Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
.nav-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu > ul {
  display: flex;
}

  .nav-menu > ul > li {
    position: relative;
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

.nav-menu a {
  display: block;
  position: relative;
  color: #ac8f8e;
  transition: 0.3s;
  font-size: 12px;
  font-family: "Diehld";
  letter-spacing: 2px;
  text-transform: uppercase;
}

  .nav-menu a:hover, .nav-menu li:hover > a {
    color: #d5c7c6;
  }

.nav-menu .drop-down ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #581e1d;
  border: 1px solid #adc4a0;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.nav-menu .drop-down:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.nav-menu .drop-down li {
  min-width: 180px;
  position: relative;
}

.nav-menu .drop-down ul a {
  padding: 10px 20px;
  font-size: 12px;
  text-transform: none;
  color: #adc4a0;
}

  .nav-menu .drop-down ul a:hover, .nav-menu .drop-down ul .active > a, .nav-menu .drop-down ul li:hover > a {
    color: #d5c7c6;
  }

.nav-menu .drop-down > a:after {
  content: "\ea99";
  font-family: IcoFont;
  padding-left: 5px;
}

.nav-menu .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.nav-menu .drop-down .drop-down:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
}

.nav-menu .drop-down .drop-down > a {
  padding-right: 35px;
}

  .nav-menu .drop-down .drop-down > a:after {
    content: "\eaa0";
    font-family: IcoFont;
    position: absolute;
    right: 15px;
  }

@media (max-width: 1366px) {
  .nav-menu .drop-down .drop-down ul {
    left: -90%;
  }

  .nav-menu .drop-down .drop-down:hover > ul {
    left: -100%;
  }

  .nav-menu .drop-down .drop-down > a:after {
    content: "\ea9d";
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 999;
  border: 0;
  background: none;
  font-size: 30px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

  .mobile-nav-toggle i {
    color: #e0aa4e;
  }

.mobile-nav {
  position: fixed;
  top: 55px;
  right: 15px;
  left: 15px;
  z-index: 9999;
  background: #adc4a0;
  transition: ease-in-out 0.2s;
  opacity: 0;
  visibility: hidden;
  border-radius: 10px;
  padding: 10px 0;
  max-height: 500px;
  overflow: auto;
}

  .mobile-nav * {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .mobile-nav a {
    display: block;
    position: relative;
    color: #581e1d;
    padding: 5px 20px;
    font-weight: 500;
    outline: none;
    text-transform: uppercase;
    font-weight: 600;
  }

    .mobile-nav a:hover, .mobile-nav .active > a, .mobile-nav li:hover > a {
      color: #ac8f8e;
      text-decoration: none;
    }

  .mobile-nav .drop-down > a:after {
    content: "\ea99";
    font-family: IcoFont;
    padding-left: 10px;
    position: absolute;
    right: 15px;
  }

  .mobile-nav .active.drop-down > a:after {
    content: "\eaa1";
  }

  .mobile-nav .drop-down > a {
    padding-right: 35px;
  }

  .mobile-nav .drop-down ul {
    display: none;
  }

  .mobile-nav .drop-down li {
    padding-left: 20px;
  }

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(26, 26, 26, 0.6);
  overflow: hidden;
  display: none;
  transition: ease-in-out 0.2s;
}

.mobile-nav-active {
  overflow: hidden;
}

  .mobile-nav-active .mobile-nav {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-active .mobile-nav-toggle i {
    color: #e0aa4e;
  }

/* Frames
--------------------------------------------------------------*/
.frame_details {
  background-image: url(../../img/sm/bgs.png);
  padding: 20px 65px 20px 65px;
}

@media (max-width: 768px) {
  .frame_details {
    padding: 10px 20px 10px 20px;
  }
}

.frame_enrollments {
  background-image: url(../../img/sm/bgs.png);
  padding: 20px 65px 20px 65px;
  min-height: 70vh;
}

@media (max-width: 768px) {
  .frame_enrollments {
    padding: 10px 20px 10px 20px;
  }
}

.frame_content, .frame_disciplines, .frame_staff, .frame_homepage, .frame_levels, .frame_portfolio {
  background-image: url(../../img/sm/bgs.png);
  padding: 20px 25px 20px 25px;
  min-height: 60vh;
}

.frame_management {
  background-image: url(../../img/sm/bgs.png);
  padding: 10px 50px 10px 50px;
  min-height: 60vh;
}

  .frame_management tbody td {
    white-space: nowrap;
  }

@media (max-width: 768px) {
  .frame_content, .frame_disciplines, .frame_staff, .frame_homepage, .frame_levels, .frame_portfolio {
    padding: 10px 20px 10px 20px;
  }

  .frame_management {
    padding: 10px;
  }
}

.separator {
  content: '';
  background-image: url(../../img/sm/separator.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30vw 4vw;
  height: 5vw;
}

@media (max-width: 768px) {
  .separator {
    background-size: 60vw 8vw;
    height: 10vw;
  }
}

/* Titles
--------------------------------------------------------------*/
.frame_content h1, .frame_disciplines h1, .frame_homepage h2, .frame_levels h1, .frame_portfolio h1, .frame_staff h1 {
  margin-top: 15px;
  font-size: 40px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .frame_content h1, .frame_disciplines h1, .frame_homepage h2, .frame_levels h1, .frame_portfolio h1, .frame_staff h1 {
    margin-top: 10px;
    font-size: 30px;
  }
}

.frame_management h1 {
  margin-top: 15px;
  font-size: 34px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .frame_management h1 {
    margin-top: 10px;
    font-size: 25px;
  }
}

/* Sections Header
--------------------------------*/
.section-header {
  text-align: center;
  color: #020c0d;
  margin-top: 40px;
  margin-bottom: 45px;
}

  .section-header p {
    text-align: center;
    color: #020c0d;
  }

@media (max-width:768px) {
  .section-header {
    text-align: center;
    color: #020c0d;
    margin-top: 20px;
    margin-bottom: 30px;
  }
}

/* Intro Section (carosello di immagini e/o video)
--------------------------------------------------------------*/
#intro {
  width: 100%;
  height: 100vh;
  background: #020c0d;
  overflow: hidden;
  position: relative;
}

@media (max-height: 500px) {
  #intro {
    height: 150vh;
  }
}

#intro .carousel, #intro .carousel-inner, #intro .carousel-item, #intro .carousel-item::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

#intro .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

  #intro .carousel-item::before {
    content: '';
    background-color: rgba(0, 0, 0, 0.7);
  }

#intro .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#intro .container {
  text-align: center;
}

#intro h1, #intro h2 {
  color: #d5c7c6;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 500;
}

@media (max-width: 768px) {
  #intro h1, #intro h2 {
    font-size: 28px;
  }
}

#intro p {
  width: 80%;
  margin: 0 auto 30px auto;
  color: #d5c7c6;
}

@media (min-width: 1024px) {
  #intro p {
    width: 60%;
  }
}

#intro .carousel-fade {
  overflow: hidden;
}

  #intro .carousel-fade .carousel-inner .carousel-item {
    transition-property: opacity;
  }

  #intro .carousel-fade .carousel-inner .carousel-item,
  #intro .carousel-fade .carousel-inner .active.carousel-item-start,
  #intro .carousel-fade .carousel-inner .active.carousel-item-end {
    opacity: 0;
  }

  #intro .carousel-fade .carousel-inner .active,
  #intro .carousel-fade .carousel-inner .carousel-item-next.carousel-item-start,
  #intro .carousel-fade .carousel-inner .carousel-item-prev.carousel-item-end {
    opacity: 1;
    transition: 0.5s;
  }

    #intro .carousel-fade .carousel-inner .carousel-item-next,
    #intro .carousel-fade .carousel-inner .carousel-item-prev,
    #intro .carousel-fade .carousel-inner .active.carousel-item-start,
    #intro .carousel-fade .carousel-inner .active.carousel-item-end {
      left: 0;
      transform: translate3d(0, 0, 0);
    }

#intro .carousel-control-prev, #intro .carousel-control-next {
  width: 10%;
}

@media (min-width: 1024px) {
  #intro .carousel-control-prev, #intro .carousel-control-next {
    width: 5%;
  }
}

#intro .carousel-control-next-icon, #intro .carousel-control-prev-icon {
  background: none;
  font-size: 32px;
  line-height: 1;
}

#intro .carousel-indicators li {
  cursor: pointer;
}

#intro .btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #d5c7c6;
  background: #581e1d;
}

  #intro .btn-get-started:hover {
    background: #e0aa4e;
    color: #581e1d;
  }

/*--------------------------------------------------------------
# Offset (sezione per spaziare le pagine senza intro)
--------------------------------------------------------------*/
.offset {
  margin-top: 80px;
}

@media (max-width: 992px) {
  .offset {
    margin-top: 75px;
  }
}

@media (max-width: 768px) {
  .offset {
    margin-top: 65px;
  }
}

/* Content Section (usato per contenuti generici e contenenti elenchi di: discipline, sottopagine/cards, ecc.)
--------------------------------*/
#content {
}

  #content .container {
    position: relative;
    padding: 0;
  }

  #content .content-cols {
    padding: 0;
  }

  #content .content-col {
    border: 3px solid #581e1d;
    padding: 3px;
    margin-bottom: 50px;
    background-color: #e0aa4e;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    z-index: 20;
  }

    #content .content-col:hover {
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
    }

    #content .content-col .img {
      border: 3px solid #581e1d;
      background-size: 0px;
      position: relative;
      height: 200px;
    }

      #content .content-col .img h2 {
        font-family: "Diehld";
        color: #581e1d;
        text-align: center;
        font-weight: 500;
        font-size: 32px;
        transform: translate(-50%, -50%);
        position: relative;
        top: 50%;
        left: 50%;
      }

      #content .content-col .img:hover h2 {
        color: #581e1d;
      }

    #content .content-col .icon {
      width: 64px;
      height: 64px;
      padding-top: 10px;
      position: absolute;
      background-color: #581e1d;
      border-radius: 50%;
      text-align: center;
      border: 3px solid #581e1d;
      left: calc( 50% - 32px);
      bottom: -32px;
      transition: 0.3s;
    }

    #content .content-col i {
      font-size: 36px;
      line-height: 1;
      color: #e0aa4e;
      transition: 0.3s;
    }

    #content .content-col:hover .icon {
      background-color: #e0aa4e;
    }

    #content .content-col:hover i {
      color: #581e1d;
    }

    #content .content-col p {
      font-size: 14px;
      line-height: 24px;
      color: #020c0d;
      margin-bottom: 0;
      padding: 30px 20px 20px 20px;
    }

  #content .counters {
    margin: 10px 0 40px 0px;
  }

    #content .counters img {
      border: 10px double #581e1d;
      border-radius: 20%;
      padding: 3px;
      width: 90%;
      display: block;
      margin: auto;
    }

    #content .counters span {
      font-weight: bold;
      font-size: 48px;
      display: inline;
      color: #581e1d;
    }

    #content .counters .important {
      font-weight: bold;
      font-size: 22px;
      color: #581e1d;
    }

    #content .counters p {
      padding: 0;
      margin: 0 0 20px 0;
      font-size: 14px;
      color: #020c0d;
    }

@media (max-width:768px) {
  #content .content-col .icon {
    width: 50px;
    height: 50px;
    padding-top: 8px;
    left: calc( 50% - 25px);
    bottom: -26px;
  }

  #content .content-col i {
    font-size: 28px;
  }

  #content .counters img {
    width: 80%;
  }

  #content .counters span {
    font-size: 28px;
  }
}

/* Disciplines Section (usato per elenco discipline)
--------------------------------*/
#disciplines {
}

  #disciplines .container {
    position: relative;
    padding: 0;
  }

  #disciplines .content-cols {
    padding: 0;
  }

  #disciplines .content-col {
    border: 3px solid #581e1d;
    padding: 3px 3px 15px 3px;
    margin-bottom: 20px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
    z-index: 20;
  }

    #disciplines .content-col:hover {
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
    }

    #disciplines .content-col .img {
      border: 3px solid #581e1d;
      position: relative;
    }

      #disciplines .content-col .img .link-details {
        position: absolute;
        right: calc(50% - 24px);
        top: calc(50% - 46px);
        display: inline-block;
        opacity: 0;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        background: #e0aa4e;
        border-radius: 50%;
        transition: 0.2s linear;
        padding-top: 10px;
        font-size: 26px;
        color: #020c0d;
      }

      #disciplines .content-col .img:hover .link-details {
        opacity: 1;
        right: calc(50% - 24px);
        top: calc(50% - 24px);
      }

    #disciplines .content-col .icon, #disciplines .content-col .iconleft, #disciplines .content-col .iconright {
      width: 64px;
      height: 64px;
      text-align: center;
      position: absolute;
      background-color: #581e1d;
      border: 3px solid #581e1d;
      border-radius: 50%;
      padding-top: 10px;
      bottom: -30px;
      transition: 0.3s;
    }

    #disciplines .content-col .icon {
      left: calc( 50% - 32px);
    }

    #disciplines .content-col .iconleft {
      left: calc( 50% - 72px);
    }

    #disciplines .content-col .iconright {
      left: calc( 50% + 8px);
    }

    #disciplines .content-col i {
      font-size: 36px;
      line-height: 1;
      color: #e0aa4e;
      transition: 0.3s;
    }

    #disciplines .content-col:hover .icon {
      background-color: #e0aa4e;
    }

    #disciplines .content-col:hover .iconleft {
      background-color: #e0aa4e;
    }

    #disciplines .content-col:hover .iconright {
      background-color: #e0aa4e;
    }

    #disciplines .content-col:hover i {
      color: #581e1d;
    }

    #disciplines .content-col h2 {
      color: #020c0d;
      text-align: center;
      font-weight: 500;
      font-size: 24px;
      overflow: hidden;
      margin: 25px 0 10px 0;
    }

      #disciplines .content-col h2 a {
        color: #020c0d;
      }

        #disciplines .content-col h2 a:hover {
          color: #581e1d;
        }

    #disciplines .content-col p {
      font-size: 14px;
      line-height: 24px;
      color: #020c0d;
      margin-bottom: 0;
      padding: 0 20px 30px 20px;
    }

    #disciplines .content-col input[type="submit"] {
      background: #581e1d;
      border: 0;
      margin: 0 0 0 2px;
      text-align: center;
      text-transform: uppercase;
      color: #d5c7c6;
      transition: 0.3s;
      cursor: pointer;
    }

      #disciplines .content-col input[type="submit"]:hover {
        background: #ac8f8e;
      }

@media (max-width:768px) {
  #disciplines .content-col .icon, #disciplines .content-col .iconleft, #disciplines .content-col .iconright {
    width: 50px;
    height: 50px;
    padding-top: 8px;
    bottom: -26px;
  }

  #disciplines .content-col .icon {
    left: calc( 50% - 25px);
  }

  #disciplines .content-col .iconleft {
    left: calc( 50% - 58px);
  }

  #disciplines .content-col .iconright {
    left: calc( 50% + 8px);
  }

  #disciplines .content-col i {
    font-size: 28px;
  }
}

/* Tools Section (usato per le icone degli strumenti)
--------------------------------*/
#tools {
  padding-top: 25px;
}

@media (max-width:768px) {
  #tools {
    padding-top: 15px;
  }
}

#tools .container {
  padding: 0;
}

#tools .owl-nav, #tools .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#tools .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #581e1d;
}

  #tools .owl-dot.active {
    background-color: #adc4a0;
  }

/* Levels Section (usato per elenco livelli e lezioni)
--------------------------------*/
#levels {
}

  #levels .box {
    background-image: url(../../img/sm/c_tl.png), url(../../img/sm/c_tr.png), url(../../img/sm/c_br.png), url(../../img/sm/c_bl.png), url(../../img/sm/c_l.png), url(../../img/sm/c_t.png), url(../../img/sm/c_r.png), url(../../img/sm/c_b.png);
    background-repeat: no-repeat, no-repeat, no-repeat, no-repeat, repeat-y, repeat-x, repeat-y, repeat-x;
    background-position: top left, top right, bottom right, bottom left, left, top, right, bottom;
    background-size: 22px,22px,22px,22px,22px,0.5px,22px,0.5px;
    padding: 20px;
    margin: 7px;
  }

    #levels .box:hover {
      color: #581e1d;
    }

    #levels .box #levelimage {
      display: none;
    }

  #levels .icon i {
    color: #581e1d;
    font-size: 36px;
    line-height: 1;
    transition: 0.5s;
  }

  #levels h3 {
    font-weight: 500;
    font-size: 30px;
    color: #020c0d;
    position: relative;
  }

  #levels h4 {
    font-weight: 200;
    font-size: 22px;
    color: #c8782f;
    text-align: unset;
    position: relative;
  }

  #levels h5 {
    font-weight: 600;
    font-size: 16px;
    padding-right: 30px;
    color: #020c0d;
    position: relative;
    left: 45px;
    top: -47px;
  }

  #levels h6 {
    font-size: 14px;
    padding-right: 30px;
    color: #020c0d;
    position: relative;
    left: 45px;
    top: -50px;
  }

  #levels .box p {
    position: relative;
    font-size: 15px;
    color: #020c0d;
    margin: 15px 0 15px 0;
  }

  #levels .box span {
    position: relative;
    top: -50px;
    left: 98px;
  }

  #levels #discipline-description {
    display: none;
  }

@media (max-width:768px) {
  #levels .box {
    margin-bottom: 40px;
  }

  #levels h3 {
    margin: 10px 0 0 10px;
    font-size: 24px;
  }

  #levels h4 {
    padding: 0 0 0 10px;
    font-size: 18px;
  }

  #levels h5 {
    top: -34px;
    left: 54px;
  }

  #levels h6 {
    top: -43px;
    left: 55px;
  }

  #levels .box p {
    margin: 10px;
  }

  #levels .box div {
    margin-left: 10px;
  }

  #levels .box span {
    top: -40px;
    left: 10px;
  }
}
/* Portfolio Section (usato per elenchi entità varie: corsi, eventi, prodotti, articoli, ecc.)
--------------------------------*/
#portfolio {
}

  #portfolio #portfolio-flters {
    padding: 0;
    margin: 5px 0 50px 0;
    list-style: none;
    text-align: center;
  }

    #portfolio #portfolio-flters li {
      cursor: pointer;
      margin: 15px 15px 15px 0;
      display: inline-block;
      padding: 10px 20px;
      font-size: 12px;
      line-height: 20px;
      color: #020c0d;
      border-radius: 4px;
      text-transform: uppercase;
      background: #e0aa4e;
      margin-bottom: 5px;
      transition: all 0.3s ease-in-out;
    }

      #portfolio #portfolio-flters li:hover, #portfolio #portfolio-flters li.filter-active {
        background: #581e1d;
        color: #e0aa4e;
      }

      #portfolio #portfolio-flters li:last-child {
        margin-right: 0;
      }

    #portfolio #portfolio-flters #use-products, #portfolio #use-products, #tools #use-products {
      display: none;
    }

  #portfolio #use-noticeboard {
    display: none;
  }

  #portfolio #portfolio-flters #use-products, #portfolio #use-products, #portfolio .filter-products, #tools #use-products {
    display: none;
  }

  #portfolio #portfolio-flters #use-articles, #portfolio #use-articles, #portfolio .filter-articles {
    display: none;
  }

  #portfolio .portfolio-wrap {
    border: 3px solid #581e1d;
    background-color: #e0aa4e;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
  }

    #portfolio .portfolio-wrap:hover {
      box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
    }

  #portfolio .courses figure img {
    opacity: 0.3;
  }

  #portfolio #use-courses figure {
    height: 40vh;
  }

  #portfolio #use-events figure {
    height: 35vh;
  }

  #portfolio .portfolio-item {
    position: relative;
    margin-bottom: 10px;
  }

    #portfolio .portfolio-item figure {
      overflow: hidden;
      width: 100%;
      position: relative;
      margin: 0;
    }

      #portfolio .portfolio-item figure h3 {
        position: absolute;
        color: #581e1d;
        font-size: 25px;
        top: 25px;
        text-align: center !important;
        width: 100%;
      }

      #portfolio .portfolio-item figure h4, #portfolio .portfolio-item figure h2 {
        font-family: "Diehld";
        position: absolute;
        color: #581e1d;
        width: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 40px;
        font-weight: 500;
      }

      #portfolio .portfolio-item figure h5 {
        position: absolute;
        color: #581e1d;
        font-size: 15px;
        bottom: 30px;
        text-align: center !important;
        width: 100%;
        white-space: nowrap;
      }

      #portfolio .portfolio-item figure h6 {
        position: absolute;
        color: #581e1d;
        font-size: 15px;
        bottom: 10px;
        text-align: center !important;
        width: 100%;
        white-space: nowrap;
      }

      #portfolio .portfolio-item figure:hover img {
        opacity: 0.5;
        transition: 0.3s;
      }

      #portfolio .portfolio-item figure .link-details {
        position: absolute;
        right: calc(50% - 24px);
        top: calc(50% - 46px);
        display: inline-block;
        opacity: 0;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        background: #e0aa4e;
        border-radius: 50%;
        transition: 0.2s linear;
        padding-top: 10px;
        font-size: 26px;
        color: #020c0d;
      }

      #portfolio .portfolio-item figure:hover .link-details {
        opacity: 1;
        right: calc(50% - 24px);
        top: calc(50% - 24px);
      }

    #portfolio .portfolio-item .portfolio-info {
      background-color: #e0aa4e;
      border-top: 3px solid #581e1d;
      text-align: center;
      padding: 18px;
      height: 100px;
    }

      #portfolio .portfolio-item .portfolio-info h4 {
        font-size: 16px;
        font-weight: 500;
        margin-bottom: 5px;
      }

        #portfolio .portfolio-item .portfolio-info h4 a {
          color: #020c0d;
        }

      #portfolio .portfolio-item .portfolio-info p {
        color: #020c0d;
        font-weight: 500;
        font-size: 14px;
        margin: 0;
      }

    #portfolio .portfolio-item .courses-info {
      background-color: #581e1d;
      border-top: 3px solid #581e1d;
      text-align: center;
      padding: 30px;
      height: 90px;
    }

      #portfolio .portfolio-item .courses-info input[type="submit"] {
        background: #e0aa4e;
        color: #581e1d;
        font-size: 14px;
        border: 0;
        margin: 0 0 0 2px;
        text-align: center;
        text-transform: uppercase;
        transition: 0.3s;
        cursor: pointer;
      }

        #portfolio .portfolio-item .courses-info input[type="submit"]:hover {
          background: #ac8f8e;
        }

      #portfolio .portfolio-item .courses-info .flag-kind {
        position: absolute;
        left: 30px;
        bottom: 75px;
        z-index: 110;
        display: inline-block;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        background: #581e1d;
        border-radius: 50%;
        padding-top: 5px;
        font-size: 22px;
        color: #e0aa4e;
      }

      #portfolio .portfolio-item .courses-info .flag-kind-text {
        position: absolute;
        left: 30px;
        bottom: 55px;
        z-index: 110;
        display: inline-block;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        padding-top: 10px;
        font-size: 10px;
        color: #e0aa4e;
      }

      #portfolio .portfolio-item .courses-info .flag-state {
        position: absolute;
        right: 30px;
        bottom: 75px;
        z-index: 110;
        display: inline-block;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        background: #581e1d;
        border-radius: 50%;
        padding-top: 5px;
        font-size: 22px;
        color: #e0aa4e;
      }

      #portfolio .portfolio-item .courses-info .flag-state-text {
        position: absolute;
        right: 30px;
        bottom: 55px;
        z-index: 110;
        display: inline-block;
        line-height: 1;
        text-align: center;
        width: 46px;
        height: 46px;
        padding-top: 10px;
        font-size: 10px;
        color: #e0aa4e;
      }

.soldout {
  background: url(../../img/sm/soldout.png) no-repeat;
  background-position: right top;
  background-size: 40px;
}

.blink {
  animation: blinker 1s step-start infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

@media (max-width: 768px) {
  #portfolio #portfolio-flters li {
    margin: 5px 5px 5px 0;
    padding: 5px 7px;
  }
  #portfolio .portfolio-item::before {
    background-size: 40px;
    top: -10px;
    width: 40px;
    height: 20px;
  }
  #portfolio .portfolio-item .portfolio-info {
    padding: 10px;
    height: 70px;
  }
  #portfolio .portfolio-item .courses-info input[type="submit"] {
    padding: 8px 12px;
  }
}

/* Event Details
--------------------------------*/
.event-details {
}

  .event-details .event-details-container {
    position: relative;
  }

  .event-details .event-image {
    position: absolute;
    top: 50px;
    width: 400px;
    height: 400px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 3;
  }

  .event-details .event-title {
    background-color: #adc4a0;
    padding: 20px 20px 20px 60px;
    position: relative;
    top: 20px;
    left: 350px;
    width: 700px;
    z-index: 2;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  }

    .event-details .event-title h1 {
      font-size: 45px;
      font-weight: 500;
      text-align: center;
      padding: 10px;
    }

    .event-details .event-title h2 {
      font-size: 20px;
      text-align: center;
      position: relative;
      margin: 0;
    }

    .event-details .event-title h3 {
      font-size: 20px;
      text-align: center;
    }

    .event-details .event-title h4 {
      font-size: 20px;
      text-align: center;
      position: relative;
    }

  .event-details .event-description .social-links {
  }

    .event-details .event-description .social-links a {
      color: #adc4a0;
      font-size: 35px;
      margin: 10px;
    }

      .event-details .event-description .social-links a:hover {
        color: #d5c7c6;
      }

  .event-details .event-description {
    background-color: #581e1d;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    color: #e0aa4e;
    position: relative;
    top: -20px;
    left: 300px;
    padding: 70px 30px 30px 140px;
    width: 75%;
    min-height: 700px;
    z-index: 1;
  }

    .event-details .event-description a {
      color: #d5c7c6;
    }

  .event-details .place-map {
    width: 100%;
    height: 300px;
    z-index: 3;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  }

    .event-details .place-map iframe {
      width: 100%;
      height: 300px;
    }

  .event-details .event-prices {
    padding: 30px;
    position: absolute;
    left: -60px;
    top: 410px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 2;
    background-color: #adc4a0;
    width: 400px;
    max-height: 500px;
    overflow: auto;
    padding-top: 60px;
  }

  .event-details .event-description .pictures-carousel {
    position: relative;
    z-index: 1;
  }

  .event-details .event-prices ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
  }

    .event-details .event-prices ul li {
      padding-bottom: 22px;
      border-bottom: 1px dotted;
      clear: both;
    }

@media (max-width: 768px) {
  .event-details .container {
    padding: 0;
  }

  .event-details .event-title {
    position: initial;
    padding: 20px;
    width: 100%;
    margin: 0 0 10px 0;
  }

  .event-details .event-image {
    position: initial;
    width: 100%;
    height: unset;
    margin: auto;
    margin-bottom: 10px;
  }

  .event-details .event-title h1 {
    font-size: 25px;
  }

  .event-details .event-title h2 {
    font-size: 14px;
  }

  .event-details .event-title h3 {
    font-size: 13px;
  }

  .event-details .event-title h4 {
    font-size: 13px;
  }

  .event-details .event-description {
    position: initial;
    padding: 10px;
    width: 100%;
    min-height: 150px;
    margin-bottom: 10px;
  }

  .event-details .place-map {
    position: initial;
    width: 100%;
    height: 40vh;
    margin-top: 10px;
  }

    .event-details .place-map iframe {
      width: 100%;
      height: 40vh;
    }

  .event-details .event-prices {
    position: initial;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Course Details
--------------------------------*/
.course-details {
}

  .course-details .course-title {
    background-color: #adc4a0;
    padding: 30px 30px 50px 40px;
    margin: 10px;
    max-width: 700px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 2;
  }

    .course-details .course-title h1 {
      font-weight: 500;
      margin-bottom: 2px;
    }

    .course-details .course-title h2 {
      font-size: 22px;
      text-align: left;
    }

  .course-details .place-map {
    position: relative;
    top: -50px;
    left: 50px;
    width: 85%;
    height: 400px;
    z-index: 3;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  }

    .course-details .place-map iframe, .lesson-details .place-map iframe {
      width: 800px;
      height: 400px;
    }

.lesson-details .place-map {
  position: relative;
  width: 100%;
  height: 400px;
  z-index: 3;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
}

  .course-details .course-prices {
    padding: 30px;
    position: absolute;
    right: 50px;
    top: 350px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 4;
    background-color: #adc4a0;
    width: 350px;
  }

    .course-details .course-prices ul, .course-details .course-description .dates ul {
      list-style: none;
      padding: 0;
      font-size: 15px;
      text-transform: uppercase;
    }

    .course-details .course-prices ul li, .course-details .course-description .dates ul li {
      padding-bottom: 22px;
      border-bottom: 1px dotted;
      clear: both;
    }

  .course-details .course-description {
    background-color: #581e1d;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    color: #d5c7c6;
    position: relative;
    top: -100px;
    padding: 70px 30px 30px 30px;
    width: 80%;
    z-index: 1;
  }

    .course-details .course-description a {
      color: #adc4a0;
    }

    .course-details .course-description h2 {
      font-size: 26px;
      font-weight: 500;
      margin-bottom: 5px;
      text-align: left;
    }

    .course-details .course-description h3 {
      font-size: 18px;
      font-weight: 500;
      margin-bottom: 25px;
    }

    .course-details .course-description .dates {
      border-right: 1px solid #d5c7c6;
      padding-right: 20px;
    }

    .course-details .course-description p {
      padding: 0 0 0 10px;
    }

  .course-details .lessons-list {
    background-color: #581e1d;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    color: #d5c7c6;
    position: relative;
    top: -70px;
    padding: 30px 30px 30px 30px;
    width: 80%;
    z-index: 1;
  }

@media (max-width: 768px) {
  .course-details .container {
    padding: 0;
  }

  .course-details .course-title {
    padding: 10px;
    margin: 0;
    width: 100%;
  }

    .course-details .course-title h1 {
      font-size: 20px;
    }

    .course-details .course-title h2 {
      font-size: 15px;
      margin: 0;
    }

  .course-details .place-map, .lesson-details .place-map {
    position: initial;
    width: 100%;
    height: 40vh;
    margin-top: 10px;
  }

    .course-details .place-map iframe, .lesson-details .place-map iframe {
      width: 100%;
      height: 40vh;
    }

  .course-details .course-prices {
    position: initial;
    width: 100%;
    padding: 15px;
    font-size: 14px;
    margin-top: 10px;
  }

    .course-details .course-prices hr {
      margin: 4px;
    }

    .course-details .course-prices ul, .course-details .course-description .dates ul {
      font-size: 13px;
    }

    .course-details .course-prices ul li, .course-details .course-description .dates ul li {
    }

  .course-details .course-description, .course-details .lessons-list {
    position: initial;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
  }

    .course-details .course-description h2 {
      font-size: 18px;
      letter-spacing: 1px;
    }

    .course-details .course-description h3 {
      font-size: 14px;
      letter-spacing: 1px;
    }

    .course-details .course-description .dates {
      border-right: 0;
    }

    .course-details .course-description p {
      padding: 0;
    }
}

/* Other Entities Details (Staff, Divisions, ecc.)
--------------------------------*/
.entity-details .entity-title {
  background-color: #adc4a0;
  padding: 20px 20px 20px 60px;
  position: relative;
  top: 30px;
  left: 350px;
  width: 700px;
  z-index: 3;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
}

  .entity-details .entity-title h1 {
    font-size: 50px;
    font-weight: 500;
    text-align: center;
  }

  .entity-details .entity-title h2 {
    font-size: 20px;
    text-align: center;
    margin: 0;
  }

.entity-details .entity-image {
  position: absolute;
  top: 200px;
  width: 400px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  z-index: 4;
}

.entity-details .entity-description {
  background-color: #581e1d;
  color: #e0aa4e;
  position: relative;
  top: 0;
  left: 300px;
  width: 75%;
  min-height: 550px;
  z-index: 1;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  padding: 80px 50px 50px 150px;
  margin-bottom: 30px;
}

  .entity-details .entity-description input[type="submit"] {
    background-color: #adc4a0;
    color: #581e1d;
  }

    .entity-details .entity-description input[type="submit"]:hover {
      background-color: #ac8f8e;
    }

.entity-details .entity-form {
  background-color: #fff;
  position: relative;
  top: 0;
  left: 300px;
  width: 75%;
  min-height: 550px;
  z-index: 1;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  padding: 80px 50px 50px 150px;
  margin-bottom: 30px;
}

.entity-details .entity-info {
  padding: 70px 30px 30px 30px;
  position: absolute;
  left: 50px;
  top: 550px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  z-index: 3;
  background-color: #adc4a0;
  width: 400px;
}

@media (max-width: 768px) {
  .entity-details .entity-title {
    padding: 10px;
    position: initial;
    width: 100%;
    margin-bottom: 10px;
  }

    .entity-details .entity-title h1 {
      font-size: 30px;
    }

    .entity-details .entity-title h2 {
      font-size: 16px;
      text-align: center;
    }

  .entity-details .entity-image {
    position: initial;
    width: 100%;
    margin: auto;
    margin-bottom: 10px;
  }

  .entity-details .entity-description {
    position: initial;
    padding: 10px;
    width: 100%;
    min-height: 150px;
    margin-bottom: 10px;
  }

  .entity-details .entity-form {
    position: initial;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
  }

  .entity-details .entity-info {
    position: initial;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Enrollment details
--------------------------------*/
.enrollment-details {
}

  .enrollment-details .enrollment-title {
    background-color: #581e1d;
    padding: 20px 20px 20px 60px;
    position: relative;
    top: 20px;
    left: 350px;
    width: 700px;
    z-index: 3;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  }

    .enrollment-details .enrollment-title h1 {
      color: #e0aa4e;
      font-size: 35px;
      font-weight: 500;
      text-align: center;
      margin-bottom: 15px;
    }

    .enrollment-details .enrollment-title h2 {
      color: #e0aa4e;
      font-size: 20px;
      text-align: center;
    }

  .enrollment-details .enrollment-image {
    position: absolute;
    top: 150px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 3;
    width: 400px;
  }

  .enrollment-details .enrollment-info {
    padding: 30px;
    position: absolute;
    top: 150px;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
    z-index: 3;
    background-color: #adc4a0;
    width: 400px;
    color: #581e1d;
    text-align: center;
  }

  .enrollment-details .enrollment-form {
    background-color: #fff;
    padding: 80px 50px 50px 130px;
    position: relative;
    top: -20px;
    left: 300px;
    width: 75%;
    z-index: 1;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  }

@media (max-width: 768px) {
  .enrollment-details .container {
    padding: 0;
  }

  .enrollment-details .enrollment-title {
    padding: 10px;
    position: initial;
    width: 100%;
    margin-bottom: 10px;
  }

    .enrollment-details .enrollment-title h1 {
      font-size: 30px;
    }

    .enrollment-details .enrollment-title h2 {
      font-size: 15px;
    }

  .enrollment-details .enrollment-image, .enrollment-details .enrollment-image img {
    display: none;
  }

  .enrollment-details .enrollment-info {
    padding: 10px;
    position: initial;
    width: 100%;
    margin-bottom: 10px;
  }

  .enrollment-details .enrollment-form {
    padding: 10px;
    position: initial;
    width: 100%;
  }
}

/* Articles Section (usato per gli articoli del blog in home page)
--------------------------------*/
#articles {
  padding: 40px 0 40px 0;
}

  #articles .article-item {
    padding: 40px 0 0 0;
    text-align: center;
  }

    #articles .article-item .article-img {
      width: 120px;
      border-radius: 50%;
      border: 4px solid #e0aa4e;
      margin: 0 auto;
    }

    #articles .article-item h3 {
      font-size: 20px;
      font-weight: bold;
      margin: 10px 0 5px 0;
      color: #020c0d;
    }

    #articles .article-item h4 {
      font-size: 14px;
      color: #999;
      margin: 0 0 15px 0;
    }

    #articles .article-item p {
      font-style: italic;
      margin: 0 auto 15px auto;
    }

@media (min-width: 992px) {
  #articles .article-item p {
    width: 80%;
  }
}

#articles .owl-nav, #articles .owl-dots {
  margin-top: 5px;
  text-align: center;
}

#articles .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #581e1d;
}

  #articles .owl-dot.active {
    background-color: #adc4a0;
  }

/* Article Details
--------------------------------*/
.article-details .article-title {
  padding: 30px 30px 50px 40px;
  width: 800px;
  background-color: #adc4a0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  margin-top: 20px;
}

  .article-details .article-title h1 {
    font-weight: 500;
  }

  .article-details .article-title h2 {
    font-size: 22px;
    text-align: left;
  }

.article-details .article-description {
  background-color: #581e1d;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  color: #e0aa4e;
  position: relative;
  top: -50px;
  left: 150px;
  padding: 40px 40px 40px 200px;
  width: 85%;
  z-index: 1;
}

  .article-details .article-description a {
    color: #adc4a0;
  }
    .article-details .article-description a:hover {
      color: #ac8f8e;
    }

.article-details .article-description-full {
  background-color: #fff;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  position: relative;
  top: -50px;
  left: 150px;
  padding: 30px;
  width: 90%;
  z-index: 1;
}

.article-details .article-list {
  padding: 20px;
  position: absolute;
  left: 50px;
  top: 380px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.7);
  z-index: 3;
  background-color: #adc4a0;
  width: 340px;
  max-height: 500px;
  overflow: auto;
}

.video-blog {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .article-details .container {
    padding: 0;
  }

  .article-details .article-title {
    padding: 10px;
    width: 100%;
    margin: 0 0 10px 0;
  }

    .article-details .article-title h1 {
      font-size: 26px;
      text-align: center;
    }

    .article-details .article-title h2 {
      font-size: 16px;
      text-align: center;
    }

  .article-details .article-description, .article-details .article-description-full {
    position: initial;
    padding: 10px;
    width: 100%;
    min-height: 150px;
    margin-bottom: 10px;
  }

  .article-details .article-list {
    position: initial;
    padding: 10px;
    width: 100%;
    margin-bottom: 10px;
  }

  .video-blog {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    max-height: 300px;
  }
}

/* Team Section (usato in elenco staff)
--------------------------------*/
#team {
}

  #team .team-container {
    padding: 30px 0 0 0;
  }

  #team .member {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    border: 8px solid #581e1d;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
    transition: 0.3s;
  }

.mbg0 {
}

.mbg1 {
}

.mbg2 {
}

#team .member:hover {
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
}

#team .member .member-info {
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.2s;
}

#team .member .member-info-content {
  margin-top: -50px;
  transition: margin 0.2s;
}

#team .member:hover .member-info {
  background: rgba(173, 196, 160, 0.8);
  opacity: 1;
  transition: 0.4s;
}

#team .member:hover .member-info-content {
  margin-top: 0;
  transition: margin 0.4s;
}

#team .member h4 {
  font-weight: 600;
  margin-bottom: 2px;
  font-size: 18px;
  color: #581e1d;
}

#team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
  color: #581e1d;
}

#team .member .social {
  margin-top: 15px;
}

  #team .member .social a {
    transition: none;
    color: #581e1d;
  }

    #team .member .social a:hover {
      color: #adc4a0;
    }

  #team .member .social i {
    font-size: 40px;
    margin: 0 2px;
  }

/* Footer della pagina
--------------------------------------------------------------*/
#footer {
  background-color: #581e1d;
  padding: 0 0 20px 0;
  color: #d5c7c6;
  font-size: 14px;
  letter-spacing: 1px;
}

  #footer .footer-top {
    padding: 30px 0 0 0;
  }

    #footer .footer-top .footer-info {
      margin-bottom: 30px;
    }

      #footer .footer-top .footer-info p {
        font-size: 14px;
        line-height: 24px;
        margin-bottom: 0;
        color: #d5c7c6;
      }

      #footer .footer-top .footer-info a {
        color: #adc4a0;
      }

    #footer .footer-top .social-links a {
      font-size: 20px;
      display: inline-block;
      color: #ac8f8e;
      line-height: 1;
      padding: 9px 0;
      margin-right: 3px;
      border-radius: 50%;
      text-align: center;
      width: 36px;
      height: 36px;
      transition: 0.3s;
    }

      #footer .footer-top .social-links a:hover {
        color: #d5c7c6;
      }

    #footer .footer-top h4 {
      text-align: left;
      font-size: 16px;
      font-weight: bold;
      color: #adc4a0;
      text-transform: uppercase;
      position: relative;
      padding-bottom: 12px;
      margin-bottom: 12px;
    }

      #footer .footer-top h4::before, #footer .footer-top h4::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        height: 2px;
      }

      #footer .footer-top h4::before {
        right: 0;
        background: #ac8f8e;
      }

      #footer .footer-top h4::after {
        background: #adc4a0;
        width: 60px;
      }

    #footer .footer-top .footer-links {
      margin-bottom: 30px;
    }

      #footer .footer-top .footer-links ul {
        list-style: none;
        padding: 0;
        margin: 0;
        font-size: 15px;
      }

        #footer .footer-top .footer-links ul i {
          padding-right: 8px;
          color: #d5c7c6;
        }

        #footer .footer-top .footer-links ul li {
          border-bottom: 1px solid #ac8f8e;
          padding: 10px 0;
        }

          #footer .footer-top .footer-links ul li:first-child {
            padding-top: 0;
          }

        #footer .footer-top .footer-links ul a {
          color: #d5c7c6;
        }

          #footer .footer-top .footer-links ul a:hover {
            color: #adc4a0;
          }

    #footer .footer-top .footer-contact {
      margin-bottom: 30px;
    }

      #footer .footer-top .footer-contact p {
        line-height: 26px;
      }

    #footer .footer-top .footer-newsletter {
      margin-bottom: 30px;
    }

      #footer .footer-top .footer-newsletter a {
        color: #adc4a0;
      }

      #footer .footer-top .footer-newsletter input[type="email"] {
        border: 0;
        padding: 6px 8px;
        width: 64%;
      }

      #footer .footer-top .footer-newsletter input[type="submit"] {
        background: #adc4a0;
        border: 0;
        width: 34%;
        padding: 6px 0;
        margin: 0 0 0 2px;
        text-align: center;
        text-transform: uppercase;
        color: #581e1d;
        transition: 0.3s;
        cursor: pointer;
      }

        #footer .footer-top .footer-newsletter input[type="submit"]:hover {
          background-color: #ac8f8e;
        }

  #footer .copyright {
    font-size: 11px;
    text-align: center;
    padding-top: 20px;
  }

    #footer .copyright a {
      color: #ac8f8e;
    }

@media (max-width:768px) {
  #footer .copyright {
    font-size: 8px;
  }
}

/* Forms
--------------------------------------------------------------*/
input[type="submit"], input[type="button"], .button {
  background: #581e1d;
  border-radius: 0;
  border: 0;
  padding: 10px 20px;
  color: #d5c7c6;
  text-transform: uppercase;
  margin-top: 10px;
  transition: 0.4s;
  cursor: pointer;
}

  input[type="submit"] .small, input[type="button"] .small {
    font-size: 11px;
    padding: 5px 15px;
  }

  input[type="submit"]:hover, input[type="button"]:hover {
    background: #ac8f8e;
  }

.form-group input[type="submit"] {
  padding: 1px 8px;
  margin-left: 10px;
  margin-bottom: 5px;
}

.form {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 1);
  padding: 30px;
  background-color: #fff;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 30px;
}

@media (max-width:768px) {
  .form {
    width: calc(100% - 20px);
    padding: 8px;
    margin: auto;
  }
}

.form-normal .form-group {
  margin-bottom: 20px;
}

.form-normal .form-control {
  background: none;
}

.form-normal input[type="text"], input[type="password"], .form-normal input[type="url"], .form-normal input[type="number"], .form-normal input[type="date"], .form-normal input[type="time"], .form-normal input[type="email"], .form-normal select, .form-normal textarea {
  border-radius: 0px;
  border-top: hidden;
  border-left: hidden;
  border-right: hidden;
  border-bottom: 1px solid #020c0d;
  box-shadow: none;
  font-size: 15px;
  background-color: transparent;
  padding: 4px;
}

.form-normal input[type="checkbox"] {
  border-radius: 0;
  background: none;
  border: 1px solid #020c0d;
}

.form-check-input:checked[type=checkbox] {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e")
}

.form-normal input:focus, .form-normal select:focus, .form-normal textarea:focus {
  outline: 2px solid #581e1d;
}

.form-normal .radiobuttons {
}

.form-normal .radiobuttonshl {
  border: 2px double #020c0d;
}

.form-normal .radiobuttons input[type="radio"] {
  margin-right: 7px;
}

.form-normal .radiobuttonshl input[type="radio"] {
  margin-right: 7px;
}

.form-normal .checkboxtip {
  font-size: 12px;
  font-weight: normal;
  margin-left: 23px;
  display: block;
}

.form-normal .tip {
  font-size: 13px;
  font-weight: normal;
  font-style: italic;
  display: block;
}

.form-normal .pmcheckbox input[type="checkbox"] {
  -ms-transform: scale(2); /* IE */
  -moz-transform: scale(2); /* FF */
  -webkit-transform: scale(2); /* Safari and Chrome */
  -o-transform: scale(2); /* Opera */
  transform: scale(2);
  margin: 10px;
  vertical-align: middle;
}

.form-normal .pmcheckbox label {
  font-size: 18px;
  vertical-align: middle;
}

.form-normal .payment {
  padding: 0 15%;
}

  .form-normal .payment h6, .form-normal .payment div {
    text-align: center;
  }

@media (max-width:768px) {
  .form-normal .payment {
    padding: 0;
  }
}

/* Enroll page
--------------------------------------------------------------*/
.enroll-container {
  margin-top: 50px;
}

.enroll-entity {
  background-color: #adc4a0;
  color: #020c0d;
  margin: auto;
  padding: 20px;
  font-size: 25px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.8);
}

.enroll-button {
  background: #581e1d;
  color: #d5c7c6;
  height: 80px;
  line-height: 1.5;
  font-size: 18px;
  text-transform: uppercase;
  padding: 20px;
  margin: auto;
  margin-top: 20px;
  text-align: center;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.4);
}

  .enroll-button:hover {
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.8);
  }

  .enroll-button p {
    position: relative;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }

@media (max-width:768px) {
  .enroll-container {
    margin-top: 20px;
  }

  .enroll-entity {
    font-size: 18px;
  }
}

/* Buttons
--------------------------------------------------------------*/
.manage-button {
  background: #adc4a0;
  padding-top: 12px;
  color: #581e1d;
  width: 44px;
  height: 44px;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  font-size: 20px;
  border-radius: 50%;
  margin-bottom: 5px;
}

.num {
  font-family: "Futura";
}

@media (max-width:768px) {
  .manage-button {
    padding-top: 8px;
    width: 30px;
    height: 30px;
    font-size: 14px;
    margin-bottom: 3px;
  }
}

.manage-button:hover {
  color: #020c0d;
}

.small-manage-button {
  background: #581e1d;
  padding-left: 4px;
  padding-top: 8px;
  color: #e0aa4e;
  width: 30px;
  height: 30px;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  font-size: 14px;
  border-radius: 30%;
  margin-left: 2px;
  margin-bottom: 10px;
}

.big-manage-button {
  background: #581e1d;
  padding-left: 2px;
  padding-top: 20px;
  color: #e0aa4e;
  width: 70px;
  height: 70px;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  font-size: 30px;
  border-radius: 30%;
}

  .small-manage-button:hover, .big-manage-button:hover {
    color: #020c0d;
  }

.fixed-buttons {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 11;
}

.green {
  background-color: #5c6b4c;
}

.orange {
  background-color: #c8782f;
}

.red {
  background-color: #b0221f;
}

.red-text {
  color: #b0221f;
}

.violet {
  background-color: #6c5768;
}

.violet-text {
  color: #6c5768;
}

.btn-danger {
  background-color: #581e1d;
  border-radius: 0;
  border: 0;
  padding: 10px 20px;
  color: #e0aa4e;
  text-transform: uppercase;
  transition: 0.4s;
  vertical-align: unset;
  cursor: pointer;
}

/* Year selector
--------------------------------------------------------------*/
.yearlabel {
  transform: rotate(270deg);
  font-size: 30px;
  font-weight: 600;
  color: #4c586f;
  position: fixed;
  left: -46px;
  bottom: 118px;
  opacity: 0.5;
  z-index: 11;
}

@media (max-width:768px) {
  .yearlabel {
    font-size: 20px;
    left: -30px;
    bottom: 83px;
  }
}

.yearselector {
  position: relative;
  left: 50%;
  margin-left: -150px;
  width: 300px;
}

  .yearselector option {
    font-size: 30px;
    font-weight: 600;
  }

/* Text
--------------------------------------------------------------*/
.paragraph {
  padding: 10px 40px 20px 40px;
  text-align: center;
}

  .paragraph h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .paragraph h4 {
    font-size: 16px;
  }

.barred {
  text-decoration: line-through;
}

.info-box {
  background-color: #e0aa4e;
  padding: 40px;
  width: 600px;
  margin: auto;
  margin-top: 15px;
  margin-bottom: 50px;
  position: relative;
  top: -20px;
  left: 150px;
}

  .info-box .info-title {
    font-size: 30px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    display: block;
  }

  .info-box .info-message {
    font-size: 20px;
    display: block;
  }

@media (max-width:768px) {
  .info-box {
    width: 95%;
    padding: 15px;
    position: initial;
  }

    .info-box .info-title {
    }

    .info-box .info-message {
      font-size: 15px;
    }
}

/* Video
--------------------------------------------------------------*/
.video-carousel {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translate(-50%,-50%);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}

  .video-container iframe,
  .video-container object,
  .video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

/* Autocompletion
--------------------------------------------------------------*/
.completionlist {
  font-size: 12px;
  margin-top: -5px;
  margin-left: -5px;
  padding: 5px 5px 5px 5px;
  cursor: pointer;
}

.completionlistitem {
  background-color: #e0aa4e;
  border-left: 1px solid #020c0d;
  border-right: 1px solid #020c0d;
  border-bottom: 1px solid #020c0d;
  list-style: none;
  padding: 5px 5px 5px 5px;
}

.completionlistselecteditem {
  background-color: #adc4a0;
  border-left: 1px solid #020c0d;
  border-right: 1px solid #020c0d;
  border-bottom: 1px solid #020c0d;
  list-style: none;
  padding: 5px 5px 5px 5px;
}

/* Week schedule
--------------------------------------------------------------*/
.weekschedule {
  margin: auto;
  text-align: center;
}

.weekdaysweekschedule {
  text-transform: uppercase;
  text-align: center;
}

.dayschedule {
  padding-left: 5px;
  padding-right: 5px;
  vertical-align: top;
  white-space: nowrap;
  margin-bottom: 3px;
}

.eventlabelweekschedule {
  color: #581e1d;
  display: block;
  white-space: nowrap;
}

/* Tables in management
--------------------------------------------------------------*/
thead.tablehead {
  background-color: #581e1d;
  color: #e0aa4e;
}

thead.tableheadf {
  background-color: #5c6b4c;
  color: #e0aa4e;
}

.img-list {
  width: 100px;
  height: 100px;
}

.b-list {
  font-size: 12px;
}

@media (max-width:768px) {

  tbody td h3 {
    font-size: 18px;
    letter-spacing: 1px;
  }

  .img-list {
    width: 70px;
    height: 70px;
  }

  .b-list {
    font-size: 11px;
  }
}

/* Folder explorer
--------------------------------------------------------------*/
.folderexplorer img {
  height: 25px;
  padding-right: 5px;
}

/* Tables salaries and refunds
--------------------------------------------------------------*/
table.listc {
  margin: 20px 0px;
  width: 100%;
}

th.listc {
  padding: 10px;
  font-size: 15px;
  text-align: right;
  text-transform: uppercase;
  height: 35px;
}

td.listc {
  padding: 3px;
  font-size: 12px;
  height: 16px;
}

td.listc_a {
  background-color: darkseagreen;
  padding: 3px;
  font-size: 12px;
  height: 16px;
}

div.listcv {
  transform: rotate(90deg);
  width: 1em;
  white-space: nowrap;
  margin: 0em 0em 9em 0.5em;
}

div.listrv {
  transform: rotate(90deg);
  width: 1em;
  white-space: nowrap;
  margin: 0em 0em 5em 0.5em;
}

/* The Modal
--------------------------------------------------------------*/
.modal {
  display: none;
  position: fixed;
  padding: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-height: 90%;
}

.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }

.modal-slides {
  display: none;
}

.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

  .prev:hover,
  .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
