@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;1,400&family=Poppins:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap');

body, html {
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  font-size: 16px;
}
h1, h2, h3, h4, h5,
.navbar-nav,
.navbar-brand .site-title,
.navbar-brand .site-slogan {
  font-family: 'Montserrat', sans-serif;
  color: #2e353a;
}
a, a:hover {
  color: #2e353a;
  text-decoration: none;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition:    all 0.15s ease-in-out;
  -o-transition:      all 0.15s ease-in-out;
  -ms-transition:     all 0.15s ease-in-out;
  transition:         all 0.15s ease-in-out;
}
a:hover {
  color: #5487b9;
}
b, strong {
  font-weight: 600;
}
.btn, .node-preview-container .node-preview-backlink, button.link, .button, a.button {
  margin: 0;
}
.btn-primary {
  color: #fff;
  background-color: #2581c4;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color:#1f5074
}
.flex-basis-30 {
  flex-basis: 30%;
}
.flex-basis-50 {
  flex-basis: 50%;
}
.flex-basis-70 {
  flex-basis: 70%;
}
.dialog-off-canvas-main-canvas {
  padding-top: 86px;
}
@media (max-width: 991px) {
  .dialog-off-canvas-main-canvas {
    padding-top: 62px;
  }
}
.path-frontpage .dialog-off-canvas-main-canvas {
  padding-top: 0;
}
.main-content {
  margin-top: 30px;
}
.path-frontpage .main-content {
  margin-top: 0;
}

/* Highlight */
#highlight .blocco-highlight {
  display: flex;
  margin-bottom: 50px;
}
#highlight .blocco-highlight h4 {
  margin-bottom: 20px;
  color: #9c6b49;
}
#highlight .blocco-highlight h4:after {
  content: "";
  display: block;
  height: 1px;
  width: 100px;
  background: #9c6b49;
  margin-top: 10px;
}
#highlight .blocco-highlight a,
#highlight .blocco-highlight a:hover {
  color: #9c6b49;
}
#highlight .blocco-highlight .readmore {
  display: block;
}
#highlight .blocco-highlight .readmore a {
  display: inline-block;
  padding: 5px 10px;
  margin-top: 20px;
  background: #9c6b49;
  color: #FFF;
  border-radius: 0.4rem;
}
#highlight .blocco-highlight .readmore:before {
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  background: #9c6b49;
  margin-top: 20px;
}
#highlight .blocco-highlight > .view-footer,
#highlight .blocco-highlight > .view-header {
  width: 150px;
  background: #16151d;
}
@media (min-width: 768px) {
  #highlight .blocco-highlight > .view-footer,
  #highlight .blocco-highlight > .view-header {
    width: 200px;
  }
}
@media (min-width: 992px) {
  #highlight .blocco-highlight > .view-footer,
  #highlight .blocco-highlight > .view-header {
    width: 220px;
  }
}
@media (min-width: 1200px) {
  #highlight .blocco-highlight > .view-footer,
  #highlight .blocco-highlight > .view-header {
    width: 45%;
  }
}
#highlight .blocco-highlight > .view-footer div,
#highlight .blocco-highlight > .view-header div {
  height: 100%;
}
#highlight .blocco-highlight > .view-footer .cover_2,
#highlight .blocco-highlight > .view-header .cover_3 {
  background-size: cover;
  background-position: center;
}
#highlight .blocco-highlight > .view-content {
  flex: 1;
  min-width: 60%;
  background: #16151d;
  color: #FFF;
  padding: 50px 20px;
}
#highlight-col1 .content-block {
  -webkit-box-shadow: 28px 3px 14px -13px rgba(0,0,0,0.2); 
  box-shadow: 28px 3px 14px -13px rgba(0,0,0,0.2);
}
#highlight-col2 .content-block {
  -webkit-box-shadow: -28px 3px 14px -13px rgba(0,0,0,0.2); 
  box-shadow: -28px 3px 14px -13px rgba(0,0,0,0.2);
}
#highlight .region h2 {
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  color: #000;
  font-weight: 600;
  margin-bottom: 20px;
}
#highlight-col1 h2 {
  text-align: left;
  margin-left: 20px;
}
#highlight-col2 h2 {
  margin-left: 20px;
}
@media (min-width: 768px) {
  #highlight-col2 h2 {
    margin-right: 20px;
    margin-left: 0;
    text-align: right;
  }
}
.blocco-eventi-immagine {
  position: relative;
}
.blocco-data {
  position: absolute;
  top: 20px;
  right: 20px;
  height: auto !important;
  display: inline-block;
  color: #FFF;
  border-radius: 0.4rem;
  text-align: center;
  overflow: hidden;
}
.blocco-data .day {
  display: block;
  font-size: 29px;
  font-weight: 600;
  line-height: 1em;
  padding: 7px 10px 2px 10px;
  background: #9c6b49;
}
.blocco-data .month {
  display: block;
  line-height: 1em;
  text-transform: uppercase;
  font-size: 18px;
  font-weight: 500;
  padding: 5px 10px 0 10px;
  background: #000;
}
.blocco-data .year {
  display: block;
  line-height: 1em;
  font-size: 12px;
  padding: 0px 10px 7px 10px;
  background: #000;
}

/* Classi principali */
.navbar-toggler {
  border: none;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.dialog-off-canvas-main-canvas {
  position: relative;
}
.absolute-top {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 500;
}
#block-cirdm-content {
  padding: 0 0 50px;
}
.ck-widget img {
  width: 100%;
  height: auto;
}

/* EU Cookie banner */
#sliding-popup button {
  background-image: none;
  text-shadow: none;
  box-shadow: none;
  border: none;
}
div#sliding-popup, div#sliding-popup .eu-cookie-withdraw-banner, .eu-cookie-withdraw-tab {
  background: #0779bf;
  background: rgb(0 33 54 / 84%);
}
.eu-cookie-compliance-content {
  padding: 10px 0;
}
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons button,
.eu-cookie-compliance-content .eu-cookie-withdraw-button {
  margin-top: 20px;
}
.eu-cookie-compliance-banner .find-more-button {
  font-size: 12px;
}
.eu-cookie-compliance-content .eu-cookie-withdraw-button {
  color: #FFF;
}
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons .agree-button {
  color: #FFF;
  font-weight: bold;
}
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons .agree-button:hover {
  color: #FFF;
  text-decoration: underline;
}
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons .decline-button {
  color: #CCC;
}
.eu-cookie-compliance-banner .eu-cookie-compliance-buttons .decline-button:hover {
  color: #CCC;
}
#sliding-popup button.eu-cookie-withdraw-tab {
  font-size: 12px;
  padding: 5px 10px;
  transform: translate(-5%, -100%);
  right: 0%;
  left: auto;
}

/* Registrazione utente */
.no-logged #edit-field-sito-web-0-uri--description {
  display: none;
}
.path-user .fieldset-wrapper {
  padding: 0 15px;
  border: 1px solid #dee2e6;
}
.user-form legend {
  margin-bottom: 0;
}
.no-logged.path-user .form-wrapper a {
  text-decoration: underline;
}
.no-logged.path-user  .field--type-list-string .fieldset-wrapper {
  padding: 0;
  border: none;
}
.form-type-radio .description, .form-type-checkbox .description {
  margin-left: 21px;
}
#edit-field-note-ed-esperienze-0-format-help {
  display: none;
}

/* Pagina Utente */
.path-user main {
  padding: 30px 0;
}

/* Banner non associato */
#block-cirdm-nonseiancoraassociato {
  background: rgb(24 75 142 / 57%);
  color: #fff;
  padding: 10px 25px;
  margin-top: 25px;
}
#block-cirdm-nonseiancoraassociato h2 {
  color: #fff;
}

/* Navbar */
#navbar-desktop {
  text-align: center;
  background-color: #ebf0f7;
  font-weight: 600;
  font-size: 1.1em;
  padding: 8px 0;
  border-top: 2px solid #5180be;
  -webkit-box-shadow: inset 0px 7px 6px -5px rgba(0,0,0,0.4);
  box-shadow: inset 0px 7px 6px -5px rgba(0,0,0,0.4)
}
#navbar-desktop .navbar-nav {
  flex-direction: row;
}
#navbar-desktop a {
  color: #CCC;
}
#navbar-desktop a.active {
  color: #5180be;
}
#header .navbar a, #header .navbar  a:hover {
  color: #FFF;
}
.menu.sf-style-none span.nolink.sf-with-ul {
  padding-right: 2.25em;
  cursor: pointer;
}
ul.sf-menu .sf-sub-indicator:after {
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  top: auto;
  bottom: 0.3em;
}
ul.sf-menu.sf-horizontal ul {
  background-color: #222529;
  background-color: rgb(34 37 41 / 84%);
}
@media (max-width: 991px) {
  ul.sf-menu li {
    float: none;
  }
  .menu.sf-style-none span.nolink.sf-with-ul {
    padding-left: 1.5em;
  }
  /* disabilita la chiusura automatica del superfish quando è mobile */
  #header .sf-accordion-toggle {
    display: none;
  }
  #header .sf-hidden {
    height: auto !important;
    overflow: inherit !important;
    width: 100% !important;
    display: block !important;
  }
  #header ul.sf-menu.sf-accordion {
    display: block !important;
    position: relative !important;
    width: 100% !important;
  }
}

/* Home Page ("path-home-page" da cambiare poi con "front" */
.path-home-page #header {
  padding-top: 1px;
}
.path-home-page .navbar {
  background-color: rgb(26 27 28 / 22%) !important;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.path-home-page #banner-top {
  padding-top: 86px;
  background-image: url("../image/bg_banner.jpg");
  background-size: 100vw;
  background-size: cover;
  background-position: center;
  min-height: auto;
  color: #FFF;
}
.path-home-page #banner-top .col-left,
.path-home-page #banner-top .col-right {
  background: #000;
  background: rgb(0 0 0 / 35%);
}
.path-home-page #banner-top a {
  color: #FFF;
}
.path-home-page #banner-top .read-more a {
  color: #FFF;
  font-weight: 400;
  background: #476388;
  background: rgba(71, 99, 136, 0.82);
  padding: 0.375rem 0.75rem;
  line-height: 1.5;
  border-radius: 0.4rem;
  margin-top: 15px;
  display: inline-block;
}
.path-home-page .main-content {
  background: #cfd6e0;
}
@media (min-width: 768px) {
  .path-home-page #banner-top .read-more.left-md {
    text-align: right;
  }
}
#banner-top {
  position: relative;
  min-height: 400px;
}
#banner-top .container-fluid {
  padding-left: 0;
  padding-right: 0;
  position: relative;
  height: 100%;
}
.path-eventi #banner-top .container-fluid > div,
.path-eventi #banner-top .container-fluid > div > div {
  height: 100%; /* per risolvere un roblema con il banner degli eventi */
}
#banner-top .img-bg {
  height: 100vh;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
#banner-top .img-bg-small {
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
@media (max-width: 767px) {
  .path-home-page #banner-top .col-left {
    margin-bottom: 50px;
  }
}
@media (max-width: 991px) {
  .path-home-page .navbar a, .path-home-page .navbar a:hover, .path-home-page .navbar span {
    text-align: center;
  }
  .path-home-page #banner-top .col-left,
  .path-home-page #banner-top .col-right {
    background: #000;
    background: rgb(0 0 0 / 50%);
  }
  .path-home-page #banner-top {
    padding-top: 62px;
  }
  .path-home-page .navbar.expanded {
    background-color: rgba(26, 27, 28, 0.85) !important;
  }
}

/*Block Concorsi*/
.path-home-page #banner-top .block .title {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  font-variant: small-caps;
  font-size: 3rem;
  color: #fff;
}
.path-home-page #banner-top .block .subtitle {
  text-transform: uppercase;
  font-size: 1rem;
  color: #fff;
  margin-bottom: -4px;
}
.path-home-page #banner-top .block {
  padding: 60px 30px;
}
.path-home-page #block-cirdm-tastoassociazione {
  padding: 0px !important;
  margin: 0px !important;
}
.path-home-page #block-cirdm-tastoassociazione .field {
  text-align: center;
}
.path-home-page #block-cirdm-tastoassociazione .field a {
  color: #FFF;
  background: #1f2329;
  font-size: 0.9rem;
  font-weight: 400;
  text-transform: uppercase;
  padding: 0.8rem 3rem;
  line-height: 1.5;
  border-radius: 100rem;
  margin-bottom: -25px;
  display: inline-block;
  -webkit-box-shadow: 0px 8px 13px -3px rgba(0,0,0,0.4); 
  box-shadow: 0px 8px 13px -3px rgba(0,0,0,0.4);
}
/* Pagina Concorso */
.page-node-type-concorso .field--type-webform .field__label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  color: #2581c4;
  font-style: normal;
  text-transform: uppercase;
  font-size: 2rem;
  line-height: 2.5rem;
  position: relative;
  margin-top: 30px;
}
.page-node-type-concorso .field--type-webform .field__label::after {
  content: '';
  display: block;
  height: 1px;
  background-color: #2581c4;
}
.page-node-type-concorso .field--type-webform #edit-submit {
  color: #FFF;
  font-weight: 400;
  text-transform: uppercase;
  background: #2e568c;
  border: none;
  padding: 0.4rem 2rem;
  line-height: 1.5;
  border-radius: 0.4rem;
  margin-top: 15px;
  display: inline-block;
}
.page-node-type-concorso .field--type-webform #edit-submit:hover {
  background: #1c375a;
}
.page-node-type-concorso .form-item label {
  font-size: 1.2rem;
  font-weight: 500;
}
.page-node-type-concorso .webform-access-denied a {
  color: #0779bf;
  text-decoration: underline;
}

/* Blocco PayPal */
#block-cirdm-pagamento {
}

/* Pagina di manutenzine */
body.maintenance-page {
  background-color: #2e353a;
  color: #FFF;
}
body.maintenance-page a {
  color: #5180be;
}

/* Titolo copertina */
#block-cirdm-views-block-copertina-block-1,
.titolo-copertina {
  position: static;
}
.titolo-copertina .title {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  font-variant: small-caps;
  font-size: 3rem;
  text-align: center;
  padding: 50px 20px;
  position: absolute;
  bottom: 0;
  margin: 0;
  background: #222529;
  background: rgb(16 26 39 / 90%);
  color: #FFF;
  left: 0;
  width: 100%;
  z-index: 2;
}

/* Pagina Base */
.field--name-field-titolo {
  font-family: "Crimson Text", serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  font-size: 1.7rem;
  background: #5f99d6;
  color: #FFF;
  padding: 0.3rem 1.3rem 0.3rem 0;
  border-radius: 0 50px 50px 0;
  display: inline-block;
  position: relative;
  margin-bottom: 15px;
  margin-top: 30px;
}
.field--name-field-titolo::after {
  content: '';
  display: block;
  width: 800px;
  left: -800px;
  height: 100%;
  background: #5f99d6;
  position: absolute;
  top: 0;
}

/* Footer */
.footer-dark {
  background: #264f6c !important;
}

/* Eventi */
#block-cirdm-views-block-eventi-block-1 h4 a {
  color: #388ecd;
}
#block-cirdm-views-block-eventi-block-1 .readmore a {
  color: #5487b9;
  text-decoration: underline;
}
.page-node-type-evento .paragraph--type--video {
  margin-bottom: 40px;
}
/*Tutti gli Eventi*/
#block-cirdm-copertinaeventi {
  overflow: hidden;
}
.view-tutti-gli-eventi h3 {
  margin: 15px 0 10px;
}
.view-tutti-gli-eventi h3 a {
  color: #2581c4;
  text-transform: uppercase;
  font-size: 1.3rem;
  font-weight: 500;
}