/*
 * Theme Name: Elma Theme
 * Description: Starter Theme to use with Timber
 * Author: UMS3
*/

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito Sans', system-ui;
  font-size: 16px;
  font-weight: 400;
  color: #3c3c3b;
}

.absolute {
  position: absolute;
}
.fixed {
  position: fixed;
}
.relative {
  position: relative;
}

p {
  margin-bottom: 0;
}

h1 {
  font-size: 40px;
  font-weight: 700;
}
h2 {
  font-size: 32px;
}
h3 {
  font-size: 26px;
}
h4 {
  font-size: 22px;
}

a,
a:hover,
a:visited {
  text-decoration: none;
  color: #0b8148;
}

.testo_bianco {
  color: #ffffff !important;
}
.testo_azzurro {
  color: #3f82a3 !important;
}
.testo_verde {
  color: #0b8148 !important;
}
.testo_grigio {
  color: #3c3c3b !important;
}

.mini_text {
  font-size: 10px;
}
.footer_text {
  font-size: 12px;
  line-height: 13px;
}

.bg {
  background-position: center;
  background-size: cover;
}

.bg_bianco {
  background-color: #fff;
  color: #0b8148;
}
.bg_azzurro {
  background-color: #3f82a3;
  color: #fff;
}
.bg_verde {
  background-color: #0b8148;
  color: #fff;
}
.bg_grigio {
  background-color: #3c3c3b;
  color: #fff;
}
.bg_grigio_chiaro {
  background-color: #f0f0f0;
}

.circle {
  border-radius: 50%;
}
.bordered {
  border: 5px solid #fff;
}

.btn {
  border-radius: 10px;
  border: 1px;
  border-style: solid;
  border-color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 16px;
  padding: 8px 30px;
}
.btn:hover {
  background-color: #0b8148;
  color: #fff;
}
.btn:active,
.btn:focus {
  outline: none;
  box-shadow: none;
}
.btn-bianco {
  background-color: #ffffff;
  color: #0b8148;
  border-color: #0b8148;
}
.btn-azzurro {
  background-color: #3f82a3;
  color: #ffffff;
}
.btn-verde {
  background-color: #0b8148;
  color: #ffffff;
}
.btn-grigio {
  background-color: #3c3c3b;
  color: #ffffff;
}
.btn-azzurro a,
.btn-verde a {
  color: #ffffff;
}
.btn-verde:hover {
  opacity: 0.7;
}
.uppercase {
  text-transform: uppercase;
}
.italic {
  font-style: italic;
}

.light {
  font-weight: 300;
}
.regular {
  font-weight: 400;
}
.medium {
  font-weight: 500;
}
.semibold {
  font-weight: 600;
}
.bold {
  font-weight: 700;
}
.extrabold {
  font-weight: 800;
}
.black {
  font-weight: 900;
}

.bordo_verticale {
  width: 1px;
  height: 50px;
  display: inline-block;
}

.overflow-h {
  overflow: hidden;
}

.mega-menu ul {
  list-style: none;
  font-size: 1.8rem;
}
.mega-menu .menu a {
  color: #fff;
}
.mega-menu nav {
  margin-top: 100px;
}

header {
  position: relative;
  width: 100%;
  top: 0;
  background-color: #fff;
  z-index: 101;
  border-bottom-width: 10px;
  border-left-width: 0;
  border-right-width: 0;
  border-style: solid;
  border-image: linear-gradient(to right, #0b8148, #3f82a3) 0 0 100%;
}
header.sticky {
  transition: max-height 0.3s ease-out;
}
header.sticky .logo {
  transition: width 0.3s ease-out;
}
header ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
header li {
  display: inline-block;
  margin-right: 15px;
}
header li:last-child {
  margin-right: 0;
}
header a {
  color: #3d3d3d;
}

.footer {
  border-top-width: 10px;
  border-left-width: 0;
  border-right-width: 0;
  border-style: solid;
  border-image: linear-gradient(to right, #0b8148, #3f82a3) 100% 0 0 0;
}

.social_footer {
  margin-left: 0;
  list-style: none;
}
.social_footer li {
  display: inline-block;
  margin-right: 2px;
}
.social_footer li:last-child {
  margin-right: 0;
}

.icone_menu img {
  height: 24px;
  cursor: pointer;
}

.bg_menu {
  height: 100vh;
  width: 100%;
  right: 0;
  z-index: -1;
}

.mega-menu ul {
  list-style: none;
  font-size: 1.3rem;
  line-height: 2.3rem;
}
.mega-menu a {
  color: #fff;
}
.mega-menu nav {
  margin-top: 100px;
}

.mega-menu {
  transition: 0.3s ease-in-out;
  position: fixed;
  padding-bottom: 78px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  opacity: 0;
  display: none;
  overflow-y: auto;
  text-align: center;
}
.mega-menu nav {
  padding-top: 70px;
}
.mega-menu.reveal {
  opacity: 1;
  background: #3f82a3;
}

.board_foto img {
  border-radius: 50%;
  width: 50%;
  border: 4px solid #0b8148;
}
.board_nome {
  font-size: 20px;
  line-height: 22px;
}
.board_descrizione {
  font-size: 14px;
  line-height: 16px;
}

.titolo_sezione {
  color: #0b8148;
}

.ico_pro img {
  max-width: 75px;
}

.bg_image {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.size_titolo {
  word-wrap: break-word;
  hyphens: auto;
  line-height: 1.2;
  font-size: 3rem;
}

.opacity-50 {
  opacity: 50%;
}

input {
  width: 100%;
  height: 35px;
  border-radius: 5px;
  border: 1px solid #0b8148;
  padding: 0 10px;
}

select {
  width: 100%;
  height: 35px;
  border-radius: 5px;
  border: 1px solid #0b8148;
  padding: 0 10px;
  background-color: #fff;
  cursor: pointer;
}

label {
  font-weight: bold;
}

input[type='checkbox'] {
  appearance: none;
  width: 15px !important;
  height: 15px;
  border: 1px solid #0b8148;
  border-radius: 3px;
  position: relative;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin-left: -15px;
}

input[type='checkbox']:checked {
  background-color: #3f82a3;
  border-color: #3f82a3;
  color: white;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 75% 75%;
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="white"%3E%3Cpath fill-rule="evenodd" d="M13.854 4.646a.5.5 0 00-.708 0l-6 6a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 10-.708.708l2.5 2.5a1.5 1.5 0 002.121 0l6-6a.5.5 0 000-.708z"%3E%3C/path%3E%3C/svg%3E');
}

input:focus {
  outline: none;
  border-color: #3f82a3;
  box-shadow: none;
}

#nome_registrazione,
#cognome_registrazione,
#email_registrazione,
#regione_registrazione,
#professione_registrazione {
  opacity: 50%;
}

.button_registrati {
  background-color: #0b8148;
  color: #fff;
}

.descrizione_prog {
  font-size: 26px;
  line-height: 30px;
}

.separatore {
  border-top-width: 10px;
  border-left-width: 0;
  border-right-width: 0;
  border-style: solid;
  border-image: linear-gradient(to right, #0b8148, #3f82a3) 100% 0 0 0;
}

.desc_evento {
  font-size: 15px;
}
.titolo_single_event {
  hyphens: none;
  word-wrap: normal;
  overflow-wrap: normal;
  font-size: 2rem;
}

.video_progetto_hp {
  margin-top: 0 !important;
}

.registrazione_evento .bg_image {
  background-position: bottom right;
}
.container_mcr .row {
  position: relative;
  z-index: 2;
}
.row_img_banner {
  position: absolute;
  bottom: -20px;
  right: 0;
}

.iscrizioni_chiuse {
  display: none;
  line-height: 30px;
}
.disabilita_si .evento_link_registrazione {
  display: none;
}
.disabilita_si .iscrizioni_chiuse {
  display: block;
}

/* header dropdown items */

li.menu-item-has-children {
  position: relative;
}

li.menu-item-has-children > a::after {
  content: '▼';
  color: #0b8148;
  scale: 0.6;
  display: inline-block;
}

li.menu-item-has-children > ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  color: #3d3d3d !important;
  padding: 0.5rem;
  border-radius: 0 0 5px 5px;
  /*border: 1px solid #0b8148;*/
}
header li.menu-item-has-children > ul {
  display: none;
  position: absolute;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: max-content;
  left: 50%;
}

li.menu-item-has-children > ul a {
  color: #3d3d3d !important;
}
li.menu-item-has-children > ul a:hover {
  color: #0b8148 !important;
}
li.menu-item-has-children:hover > ul {
  display: flex;
  z-index: 100;
}
header li.menu-item-has-children:hover > a::after {
  content: '▲';
}

li.menu-item-has-children ul li {
  margin: 0 0 5px !important;
}
li.menu-item-has-children ul li:last-child {
  margin:0 !important;
}

.wpf-thread-users-avatars a, .wpf-thread-last-user a, .wpf-thread-author-name a{color:#3F82A3 !important;}

.wpfl-4.wpforo-section .post-wrap.wpfp-first{background-color: #C0F2E1;}




@media screen and (min-width: 1024px) {
  .board_descrizione {
    min-height: 70px;
  }
}

@media screen and (max-width: 991px) {
  .container_mcr {
    padding-bottom: 100px;
  }
}

@media screen and (max-width: 767px) {
  .row_img_banner {
    bottom: 20px;
  }
  li.menu-item-has-children > a::after {
    color: white;
    content: '▲';
  }
  li.menu-item-has-children > ul {
    padding: 0.2rem;
  }
}

@media screen and (max-width: 480px) {
  h2 {
    font-size: 20px;
    line-height: 22px;
  }
  .titolo_single_event {
    font-size: 1.4rem;
  }
}
