
:root {
  --color1: #dc911b;
  --color1l: #dc911b50;
  --color2: #b92028;
  --color2l: #b9202850;
}

img {
  height: auto;
}
/* ------------------------------------------------ typo */
h1,
h2,
h3 {
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-font-smoothing: subpixel-antialiased;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  margin: 0 0 0.3em 0;
  letter-spacing: -0.03em;
  font-weight: bold !important;
}

h1,
h2 {
  font-weight: 900;
}

h3 {
  font-weight: 700;
}

h1 {
  font-size: 3em;
}

h2 {
  line-height: 1em;
  margin: 0 0 10px 0;
  font-size: 2.2em;
}

h1 a,
h2 a,
h3 a {
  text-decoration: none;
}

h3 {
  font-size: 1.5em;
}

.modulo h3 {
}

.foot-mod h3 {
  line-height: 1.1em;
  margin: 0 0 5px 0;
  text-transform: uppercase;
}

#content p {
}

#footer a {
  color: #fff;
}

@media screen and (min-width: 800px) {
  #menu-icon {
    display: none;
  }
}

@media screen and (max-width: 800px) {
  .item {
    width: 100% !important;
  }

  .dancarousel span.backg {
    background-attachment: scroll !important;
  }

  #pathway {
    left: 0;
  }
}

/* ------------------------------------------------ typo END */

/* ------------------------------------------- structure */
body {
  font-family: Roboto, sans-serif;
  font-size: 1em;
}

#top {
  width: 100%;
  height: 30px;
  position: relative;
  margin: 0 auto;
}

#header {
  margin: 0 0 5px 0;
  position: relative;
  overflow: hidden;
}

#header #social {
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 999;
}

.headline {
  color: #fff;
  font-family: "Cinzel", serif;
  font-size: 2.5em;
  font-weight: normal;
}

#logo {
  width: 100%;
  height: 200px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
}

#logo a {
  text-align: center;
  margin: 0 auto;
  width: 30%;
  max-width: 450px;
  min-width: 200px;
  position: relative;
  padding-top: 40px;
  display: block;
}

#logo img {
  width: 100%;
  height: auto;
}

#pathway {
  font-style: italic;
  font-size: 0.9em;
  top: 100px;
  left: 70px;
  z-index: 9;
  color: rgba(106, 106, 106, 0.6);
  padding: 10px;
}

#pathway .breadcrumb li {
  text-shadow: none;
}

#pathway a,
#pathway .breadcrumb > .active {
  text-decoration: none;
  color: var(--color1);
}

#pathway .icon-location:before {
  content: "c";
}

/* ------------------------------------------- NAVMENU STYLE */
nav#menu #logo {
  width: 20vw;
}

nav#menu #logo svg {
  color: #fff;
}

nav#menu #logo img {
  width: 100%;
  height: auto;
}

nav#menu #logo a {
  padding: 10px;
  display: block;
  width: 13vw;
  height: auto;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  margin-left: 5vw;
  position: absolute;
  top: 0;
  left: 0;
}

#topbar.sticky nav#menu #logo a {
  width: 10vw !important;
  height: auto !important;
}

nav#menu {
  padding-top: 30px;
  margin: 0;
  width: 100%;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background: #fff;
  width: 100%;

  align-items: center;
  max-height: 20vh;
  margin-bottom: 5px;
}

nav#menu a {
  color: #333;
}

.retino::before,
.retino2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  z-index: -1;
}

nav#menu > div.menu {
  /*flex-grow: 0; */
}

nav ul.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  display: -webkit-flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  text-align: center;
  justify-content: center;
  align-items: center;
}

nav ul.menu ul {
  display: none;
  flex-direction: column;
  -webkit-flex-direction: column;
  z-index: 999;
  background: #ccc;
  font-size: 0.9em;
}

/* --------------------------------------- menu mobile */
@media only screen and (max-width: 992px) {
  nav#menu {
    position: fixed;
    width: 50% !important;
    height: 100%;
    max-height: 100%;
    top: 0;
    left: -50%;
    z-index: 9999;
    -webkit-box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 20px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
  }

  nav#menu.open {
    width: 50%;
    height: 100%;
    top: 0;
    left: 0 !important;
  }

  nav#menu ul ul {
    position: relative;
    float: left;
    width: 100%;
    background: none;
    text-align: left !important;
  }

  nav#menu ul li {
    width: 100%;
  }

  nav#menu ul li a {
    width: 100%;
    padding: 0 10px 0 15%;
    text-align: left;
  }

  nav#menu ul li ul li a {
    padding: 0 10px 0 25%;
  }

  nav#menu ul li > a {
    line-height: 2em;
  }

  nav#menu ul li > a.home {
    padding: 0 10px;
  }

  nav#menu ul .current ul {
    display: block !important;
  }

  nav#menu ul.nav img,
  nav#menu ul.nav svg {
    width: 100% !important;
  }

  nav {
    padding: 20px;
  }


  nav ul.menu li {
    border-bottom: solid rgba(255, 255, 255, 0.3) 2px;
  }
  nav#menu.mobile #logo {
    width: 100% !important;
  }

  nav#menu.mobile #logo a {
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    position: inherit;
  }
}
/* --------------------------------------- menu mobile END  */

ul.nav.menu,
ul.nav.menu ul {
  margin: 0 auto;
  list-style: none;
}

ul.nav.menu ul {
  display: none;
  position: absolute;
  z-index: 999;
  left: -1px;
  top: 98%;
  padding: 3vh 0 5px 0;
  background: #fff;
}

ul.nav.menu ul ul ul {
  position: absolute;
  left: 98%;
  top: -2px;
}

ul.nav.menu li {
  zoom: 1;
  white-space: nowrap;
  position: relative;
  -webkit-border-radius: 0;
  border-radius: 0;
  padding: 5px 0;
}

#foot ul.nav.menu li {
  width: 100%;
  border-bottom: dotted #868686 1px;
}

ul.nav.menu li a {
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: normal;
  transition-duration: 0.3s;
  transition-property: color, background-color;
  letter-spacing: 0.05em;
  line-height: 3em;
  padding: 0 1vw;
  border-bottom: solid rgba(255, 255, 255, 0) 2px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-border-radius: 0 !important;
  border-radius: 0 !important;
  color: var(--color1) !important;
  opacity: 0.9;
}

ul.nav.menu li > a:hover,
ul.nav.menu li.active > a {
  color: var(--color1) !important;
  background: rgba(255, 255, 255, 0.5);
  font-weight: bold;
}

ul.nav.menu li > a.home:hover,
ul.nav.menu li.active > a.home {
  background: none;
}

.modulo ul.nav.menu li:hover a,
.modulo ul.nav.menu li.active a {
  background: rgba(200, 200, 200, 0.2);
}

ul.nav.menu ul li a {
  text-align: left;
  text-decoration: none;
  text-transform: lowercase;
  padding: 3px 20px;
  color: var(--color1) !important;
  line-height: 2em;
}

ul.nav.menu ul li:hover > a {
  /*background-color:inherit !important;*/
}

ul.nav.menu ul ul li:hover > a {
  /*background-color:inherit !important;*/
}

ul.nav.menu li:hover > a img.def {
  display: none;
}

ul.nav.menu li:hover > a img.over {
  display: inline;
}

ul.nav.menu span {
  text-indent: -99999px;
  position: absolute;
}

ul.nav.menu ul li:hover > a {
  text-decoration: none;
  color: #fff;
}

ul.nav.menu a.active {
  color: #fff !important;
  background: none !important;
  border-bottom: solid rgba(200, 200, 200, 0.5) 2px;
}

ul.nav.menu a .nav-link.active {
}

ul.nav.menu ul li.deeper {
  /*background: url(../images/arr-down.png) no-repeat 3px center;*/
  padding-left: 10px;
}

ul.nav ul li ul li.deeper {
  /*background: url(../images/arr-right.png) no-repeat 3px center;*/
  padding-left: 0;
}

ul.nav.menu a.active {
  background: none;
}

ul.nav.menu img,
ul.nav svg {
  margin: 0;
  width: 20vh;
  height: auto;
  max-height: 8vh;
  transition-duration: 0.6s;
}

/* --------------------------------- menu sticky (see .js) */
@media only screen and (min-width: 992px) {
  .quad-box.active::after {
    /* il tuo stile quando è attivo */
    opacity: 0 !important;
  }
  nav#menu.sticky {
    position: fixed;
    left: 0;
    top: 0;
    box-shadow: 0 30px 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  nav#menu.sticky a {
    font-size: 0.9em;
  }

  nav#menu.sticky svg.logo {
    width: 15vh;
  }

  nav#menu.sticky svg path {
  }
}

/* --------------------------------- menu sticky (see .js) END */

/*  MENU ICON MOBILE */
nav #menu-sandwich {
  box-sizing: border-box;
  width: 80px;
  height: 80px;
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 2;
  background: #333;
  transform: scale(0.7);
}

nav #menu-sandwich span,
#menu-sandwich:after,
#menu-sandwich:before {
  background: #fff;
  content: "";
  display: block;
  width: 60px;
  height: 10px;
  position: absolute;
  left: 10px;
}

nav #menu-sandwich:before {
  top: 15px;
}

nav #menu-sandwich span {
  top: 35px;
}

nav #menu-sandwich:after {
  top: 55px;
}

nav #menu-sandwich span,
#menu-sandwich:after,
#menu-sandwich:before {
  -webkit-transition: none 0.5s ease 0.5s;
  transition: none 0.5s ease 0.5s;
  -webkit-transition-property: transform, top, bottom, left, opacity;
  transition-property: transform, top, bottom, left, opacity;
}

/*menu sandwich animation */
nav.open #menu-sandwich:after,
nav.open #menu-sandwich:before {
  top: 35px;
}

nav.open #menu-sandwich span {
  left: -50px;
  opacity: 0;
}

nav.open #menu-sandwich:before {
  transform: rotate(45deg);
}

nav.open #menu-sandwich:after {
  transform: rotate(-45deg);
}

/*menu sandwich animation END */

@media (min-width: 993px) {
  #menu-sandwich {
    display: none;
  }

  #navigation.sticky {
    border-top: 0 none;
    bottom: inherit;
    left: 0;
    width: 100% !important;
    position: fixed;
    top: 0;
    z-index: 9999;
    display: block;
  }
}

/* ------------------------------------------- NAVMENU STYLE END */

#head {
  width: 100%;
  float: left;
  margin: 0 0 5px 0;
  padding: 0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

#main {
  background: #fff;
}

#banner {
  width: 100%;
  float: left;
  margin: 0 0 5px 0;
  position: relative;
}

#banner2 {
  width: 100%;
  float: left;
  margin: 0 0 5px 0;
}

#bottom {
  width: 100%;
  margin: 5px 0 0 0;
  float: left;
  position: relative;
  box-sizing: border-box;
  padding: 10px;
}

#foot h3,
#foot h4,
#foot h4 a {
  color: #fff !important;
}

#foot {
  background: #666;
  float: left;
  width: 100%;
  padding: 20px 10px 10px 10px;
  display: flex;
  flex-wrap: wrap;
}

#foot > * {
  width: 33.3%;
  min-height: 100px;
  float: left;
  color: #ccc;
  flex: 1 1 20em;
}

#foot a {
  color: #ccc;
  display: block;
}

#foot a:hover {
  color: #fff;
}

#foot ul li {
  padding-left: 10px;
  list-style: none;
}

#foot ul li a {
  text-decoration: none;
  line-height: 2em;
}

.foot-mod.num1 > .pad {
  border-right: dotted #fff 2px;
}

.foot-mod.num2 > .pad {
  border-right: dotted #fff 2px;
}

.foot-mod.num3 {
}

.foot-mod > .pad {
  padding: 5px;
  margin: 0 3px;
}

.footbase {
  width: 100%;
}

.footbase .pad {
  padding: 5px;
  margin: 0 3px;
}

#footer {
  height: auto;
  width: 100%;
  margin: 0 auto;
  background: #2d2d2d;
  color: #ccc;
  float: left;
  z-index: 999;
  padding: 20px;
  text-align: center;
}

#footer .pad {
  padding: 10px;
}

.item-head {
  height: 400px;
  background-attachment: fixed;
  background-color: #666 !important;
  background-repeat: no-repeat;
  background-size: cover;
  display: block;
}

.item-head-mask {
  background: url(../images/bg_315164.png) fixed;
  width: 100%;
  height: 100%;
}

/* ------------------------------------------- structure END */

/* ------------------------------------------- modules  */
.modulo {
  margin: 0;
  padding: 10px;
  position: relative;
}

.modulo.black {
  background: #333;
  color: #ccc;
}

.modulo.nopad {
  padding: 0;
  background: none;
}

.mod-top,
.mod-bot {
  padding: 0;
  margin: 0;
  line-height: 0;
}

.mod-content {
  margin: 0;
  padding: 0;
  height: auto;
}

.modulo.transparent {
  background: none;
}

/* ------------------------------------------- modules END  */
/* ------------------------------------------- menu sidebar */
#sidebar1 ul.menu,
#sidebar2 ul.menu {
  list-style-position: outside;
  list-style-type: none;
  font-size: 14px;
  text-align: left;
}

#sidebar1 ul.menu li,
#sidebar2 ul.menu li {
  line-height: 1.3em;
  margin: 1px 0;
  background: #86d0f0;
  width: 100%;
  -moz-border-radius: 4px;
  /* Firefox */
  -webkit-border-radius: 4px;
  /* Safari, Chrome */
  border-radius: 4px;
  /* CSS3 */
}

#sidebar1 ul.menu li a,
#sidebar2 ul.menu li a {
  padding: 2px 10px;
  text-decoration: none;
  display: block;
  -moz-border-radius: 4px;
  /* Firefox */
  -webkit-border-radius: 4px;
  /* Safari, Chrome */
  border-radius: 4px;
  /* CSS3 */
}

#sidebar1 ul.menu li a:hover,
#sidebar2 ul.menu li a:hover {
  color: #fff;
  background: #4881b9;
  -moz-border-radius: 4px;
  /* Firefox */
  -webkit-border-radius: 4px;
  /* Safari, Chrome */
  border-radius: 4px;
  /* CSS3 */
}

#sidebar1 ul.menu li.current a,
#sidebar2 ul.menu li.current a {
  background: #ff9727;
  -moz-border-radius: 4px;
  /* Firefox */
  -webkit-border-radius: 4px;
  /* Safari, Chrome */
  border-radius: 4px;
  /* CSS3 */
}

#sidebar1 ul.menu ul,
#sidebar2 ul.menu ul {
  font-size: 12px;
  padding: 2px 5px;
}

#sidebar1 ul.menu li ul li a,
#sidebar2 ul.menu li ul li a {
  padding: 2px 10px 2px 20px;
  text-decoration: none;
  display: block;
  -moz-border-radius: 4px;
  /* Firefox */
  -webkit-border-radius: 4px;
  /* Safari, Chrome */
  border-radius: 4px;
  /* CSS3 */
}

/* ------------------------------------------- menu sidebar END */
/* ------------------------------------------- bottoni */
.arrow-bot {
  background: url(../images/arrow-bot.png) no-repeat !important;
  width: 120px;
  height: 70px;
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 99;
  cursor: pointer;
}

.arrow-top {
  background: url(../images/arrow-top.png) no-repeat !important;
  width: 120px;
  height: 70px;
  position: absolute;
  top: 30px;
  left: 0;
  z-index: 99;
  cursor: pointer;
}

/* ------------------------------------------- bottoni END */

/* ----------------------------------- dan custom banner */
a .caption {
  color: #fff !important;
}

/* ----------------------------------- module paddings */
.feed {
  font-size: 0.9em;
}

/* ------------------------------------------- user interface */

.fa_icons {
  color: #fff;
  color: rgba(255, 255, 255, 0.5);
  background-color: rgba(125, 125, 125, 0.5);
  -webkit-box-shadow: 0 7px 34px rgba(0, 0, 0, 0.43);
  -moz-box-shadow: 0 7px 34px rgba(0, 0, 0, 0.43);
  box-shadow: 0 7px 34px rgba(0, 0, 0, 0.43);
  cursor: pointer;
}

.fa_icons:hover {
  color: rgba(255, 255, 255, 0.8);
}

/*  scroll top button */
#back-to-top {
  font-size: 4em;
  position: fixed;
  bottom: 0;
  right: 0;
  color: #fff;
  color: rgba(255, 255, 255, 0.5);
  z-index: 999;
}

/* ------------------------------------------- user interface END */
/* ------------------------------------------- forms */

fieldset {
  background: #fff;
  color: #333;
  border: none;
  padding: 10px;
}

.form {
  position: relative;
}

input,
textarea,
select {
  /*border: solid #ccc 1px;*/
  margin: 0 !important;
  padding: 8px 15px !important;
  border: solid #ccc 1px;
  background: #ebebeb;
  /* Old browsers */
  background: -moz-linear-gradient(
    top,
    #ebebeb 0%,
    #ebebeb 0%,
    #fcfcfc 21%,
    #fcfcfc 100%
  );
  /* FF3.6+ */
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    color-stop(0%, #ebebeb),
    color-stop(0%, #ebebeb),
    color-stop(21%, #fcfcfc),
    color-stop(100%, #fcfcfc)
  );
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(
    top,
    #ebebeb 0%,
    #ebebeb 0%,
    #fcfcfc 21%,
    #fcfcfc 100%
  );
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(
    top,
    #ebebeb 0%,
    #ebebeb 0%,
    #fcfcfc 21%,
    #fcfcfc 100%
  );
  /* Opera 11.10+ */
  background: -ms-linear-gradient(
    top,
    #ebebeb 0%,
    #ebebeb 0%,
    #fcfcfc 21%,
    #fcfcfc 100%
  );
  /* IE10+ */
  background: linear-gradient(
    to bottom,
    #ebebeb 0%,
    #ebebeb 0%,
    #fcfcfc 21%,
    #fcfcfc 100%
  );
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#fcfcfc', GradientType=0);
  /* IE6-9 */
  -webkit-box-sizing: border-box !important;
  /* Safari/Chrome, other WebKit */
  -moz-box-sizing: border-box !important;
  /* Firefox, other Gecko */
  box-sizing: border-box !important;
  /* Opera/IE 8+ */
  border-radius: none !important;
  height: auto !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

input:focus,
textarea:focus,
select:focus {
  border: solid #55aaff 1px;
}

.form-error {
  font-size: 13px;
  font-weight: bold;
  color: red;
}

.button,
.btn,
button {
  display: inline-block;
  position: relative;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  color: #fff !important;
  background: var(--color1);
  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 1px 2px rgba(0, 0, 0, 0.05);
  padding: 8px 30px;
  opacity: 1;
  width: auto;
  border: none;
  -webkit-border-radius: 0;
  border-radius: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.button a,
.btn a,
button a {
  color: #fff !important;
}

.button svg {
  fill: #fff !important;
  width: 20px;
  height: 1em;
}

.button svg path {
  fill: #fff !important;
}

.button:hover,
button {
  color: #fff !important;
  opacity: 0.8;
}

.button:active,
button:active,
.btn:active,
button.active {
  color: #666 !important;
  background: #ccc !important;
}

input .full {
  width: 100%;
}

/* ------------------------------------------- forms END */

/* ------------------------------------------- social links */
.social-actions {
  width: 100%;
  font-size: 2em;
}

.item .social-actions {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
}

.item-page .social-actions {
  width: 100%;
  box-sizing: border-box;
}

.social-actions ul {
  list-style: insidebar none;
  margin: 0 auto !important;
  padding: 0;
  text-align: center;
}

.social-actions ul li {
  display: inline-block;
}

.social-actions ul li a {
  opacity: 0.5;
}

.social-actions ul li a:hover {
  opacity: 1;
}

/* ------------------------------------------- social links END */

.wf_caption span {
  font-size: 0.9rem;
}
