.logo {
  margin: 30px auto;
  width: 200px;
  height: 200px;
}
@media only screen and (max-width: 767px) {
  .logo {
    margin: 0 0 0 20px;
    height: 120px;
  }
  .logo a {
    background-size: auto 100px;
  }
}

#fix-wrapper {
  background: #005792;
}
@media only screen and (min-width: 768px) {
  #fix-wrapper {
    position: absolute;
  }
}

body .mainmenu ul li a:not(.active):not(.trail) {
  color: rgb(245, 245, 245);
}
.mainmenu ul li ul a:not(.active):not(.trail) {
  color: rgb(57, 57, 57);
}
p a,
.ce_text a,
.text-accent,
.widget-explanation a,
.mainmenu ul li a.trail,
.mainmenu ul li a.active,
.mainmenu ul ul li a:hover,
.mainmenu ul ul li a.trail,
.mainmenu ul ul li a.active {
  color: #ffc107 !important;
}
.bgAccent,
.mainmenu ul li:hover:after,
.mainmenu ul li.active:after,
.mainmenu ul li.trail:after {
  background: #ffc107;
}
a.btn {
  color: #ffffff !important;
}
.mainmenu {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  margin-bottom: 18px;
  padding-top: 6px;
  padding-bottom: 10px;
}
.mainmenu ul li,
.mainmenu ul ul li {
  line-height: 38px;
}
.mod_socials h6 {
  color: rgb(245, 245, 245);
  margin-bottom: 10px;
}
.mod_socials p,
.mod_socials p a {
  color: #bdbdbd !important;
  font-size: 13px;
}
#bottom .inside a {
  color: rgb(0, 87, 146);
}

.d-none,
.visible-xs {
  display: none;
}
@media only screen and (max-width: 767px) {
  .visible-xs {
    display: block;
  }
  .hidden-xs {
    display: none;
  }
}

.vbottom .ce_text_imagebox,
.vbottom .ce_text_imagebox_image {
  background-position: center bottom;
}
.widget-explanation {
  margin-bottom: 0 !important;
}
form fieldset {
  padding: 0;
  border: 0;
}

.ce_bgimage {
  padding-top: 50px;
  padding-bottom: 50px;
}

.text-primary,
.ce_accordion .toggler {
  color: #005792;
}
.ce_accordion .toggler:hover {
  color: #ffc107;
}

.newsteaser {
  margin-bottom: 20px;
}

.libretto .mod_login {
  margin: 10px 0 30px 0;
  font-size: 14px;
}
.libretto .mod_login .submit_container {
  margin-top: 10px;
}
.libretto .mod_login,
.libretto .mod_registration {
  float: left;
  width: 40%;
  padding: 20px;
}
.libretto .mod_registration.registrazione_libretto_rivenditore {
  clear: both;
  float: left;
}
.libretto .mod_registration.registrazione_libretto_utente {
  clear: both;
}
.libretto .mod_registration label {
  width: 100%;
}
.libretto .info {
  width: calc(60% - 20px);
  float: left;
  margin: 10px 0 0 20px;
}
.libretto .info {
  max-width: 100%;
}
.libretto .info,
.libretto .mod_login {
  min-height: 195px;
}

.ce_text_imagebox.oversize .ce_text_imagebox_image {
  min-height: 560px;
}

.pdf_link {
  position: absolute;
  right: 40px;
}

.errore,
.error {
  font-weight: bold;
  color: #dd0000;
}

.isNotPrenotazioneFree {
  display: none;
}

.mod_anagrafica {
  clear: both;
  padding: 5%;
  background: #f8f8f8;
  margin: 10px auto;
  padding: 20px;
  box-shadow: 0px 0px 5px 1px rgb(229, 229, 229);
}

.mod_anagrafica .fields .widget {
  float: left;
  width: 50%;
  padding: 0 5px;
}

.lista_libretti {
  margin: 20px 0;
}

.lista_libretti form {
  display: inline;
}

.lista_libretti .submit {
  padding: 5px;
  min-width: auto;
}
.lista_libretti .submit.not-generated {
  background-color: #f3f3f3;
  color: #98a8b3;
}

.fullwidth.boxed-content .contentwrap {
  max-width: 100%;
}

.chrome form select,
.safari form select {
  height: 37px;
}

input.text:read-only {
  background-color: #cacaca;
}

.list-gare .item {
  margin-bottom: 30px;
}

.pay-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgb(0 0 0 / 80%);
  height: 100%;
  z-index: 1000;
}

.pay-overlay > span {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
}

.pay-overlay > span > * {
  color: #ffffff;
  text-align: center;
}

.mod_eventlist .header,
.mod_eventreader .header,
.mod_htc_lettore_eventi .header {
  background: #f8f8f8;
  padding: 10px;
  margin-bottom: 15px;
}
.mod_eventreader .header p,
.mod_htc_lettore_eventi .header p {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) {
  .mod_eventlist .event {
    display: flex;
    gap: 15px;
  }
}

#slider .mod_article .ce_text_imagebox {
  margin-bottom: 40px;
}
