@import url(http://fonts.googleapis.com/css?family=Oswald:400,700,300);
/*pagina selezionata sul menu*/

#cssmenu,
#cssmenu ul,
#cssmenu ul li,
#cssmenu ul li a,
#cssmenu #menu-button {
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  line-height: 1;
  display: block;
  position: relative;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
#cssmenu:after,
#cssmenu > ul:after {
  content: '.';
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
#cssmenu #menu-button {
  display: none;
}
#cssmenu {
  width: auto;
  font-family: 'Oswald', sans-serif;
  
  /*background: #39b1cc;
  background: -moz-linear-gradient(top, #007bc1 0%, #014d79 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #51bbd2), color-stop(100%, #2d97af));
  background: -webkit-linear-gradient(top, #007bc1 0%, #014d79 100%);
  background: -o-linear-gradient(top, #007bc1 0%, #014d79 100%);
  background: -ms-linear-gradient(top, #007bc1 0%, #014d79 100%);
  background: linear-gradient(to bottom, #007bc1 0%, #014d79 100%);*/
  position:relative;
  text-align: right;
  /*box-shadow: 0 2px 10px #02324f;*/
}

#cssmenu > ul {
  /*background: url('images/bg.png');
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.05);*/
}
#cssmenu > ul > li {
 /*float: left;*/
  /*raf ripristina float se non funziona*/
 display:inline-block;
}
#cssmenu > ul > li > a {
  padding: 18px 25px 21px 25px;
  border-right: 1px solid rgba(80, 80, 80, 0.12);
  text-decoration: none;
  /*font-size: 13px;*/
  font-weight: 400;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#cssmenu > ul > li:hover > a,
#cssmenu > ul > li > a:hover,
#cssmenu > ul > li.active > a {
  color: #ffffff;
  background: #32a9c3;
  background: rgba(0, 0, 0, 0.5);
}
#cssmenu > ul > li.has-sub > a {
  padding-right: 45px;
}
#cssmenu > ul > li.has-sub > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: #d3eced;
  right: 17px;
  top: 22px;
}
#cssmenu > ul > li.has-sub.active > a::after,
#cssmenu > ul > li.has-sub:hover > a {
  border-top-color: #ffffff;
}
#cssmenu ul ul {
  position: absolute;
  left: -9999px;
  top: 60px;
  padding-top: 6px;
  font-size: 13px;
  opacity: 0;
  -webkit-transition: top 0.2s ease, opacity 0.2s ease-in;
  -moz-transition: top 0.2s ease, opacity 0.2s ease-in;
  -ms-transition: top 0.2s ease, opacity 0.2s ease-in;
  -o-transition: top 0.2s ease, opacity 0.2s ease-in;
  transition: top 0.2s ease, opacity 0.2s ease-in;
}
#cssmenu > ul > li > ul::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-bottom-color: #f6d70a;
  top: -4px;
  left: 20px;
}
#cssmenu ul ul ul::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 5px solid transparent;
  border-right-color: #f6d70a;
  top: 13px;
  left: -5px;
}
#cssmenu ul ul li>a{
background-image: url(images/sf_hs.jpg);
background-repeat: repeat-x;
background-position: center center;
}
#cssmenu ul ul li li>a{
background-image: url(images/sf_hs.jpg);
background-repeat: repeat-x;
background-position: center top;
}
#cssmenu > ul > li > ul {
  top: 120px;
}
#cssmenu > ul > li:hover > ul {
  top: 52px;
  left: 0;
  opacity: 1;
}
#cssmenu ul ul ul {
  padding-top: 0;
  padding-left: 6px;
}
#cssmenu ul ul > li:hover > ul {
  left: 180px;
  top: 0;
  opacity: 1;
}
#cssmenu ul ul li a {
  text-decoration: none;
  font-weight: 400;
  font-size: 12px;
  padding: 11px 25px;
  width: 180px;
color: #777777;
text-transform:uppercase;
  /*background: #ffffff;*/
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1), 1px 1px 1px rgba(0, 0, 0, 0.1), -1px 1px 1px rgba(0, 0, 0, 0.1);
z-index: 1;
}
#cssmenu ul ul li:hover > a,
#cssmenu ul ul li.active > a {
  color: #333333;
}
#cssmenu ul ul li.active {background: red;}
#cssmenu ul ul li:hover > a{
  color: #ffffff;background: #32a9c3;
}
#cssmenu ul ul li:first-child > a {
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
}
#cssmenu ul ul li:last-child > a {
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
}
#cssmenu > ul > li > ul::after {
  position: absolute;
  display: block;
}
#cssmenu ul ul li.has-sub > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border: 4px solid transparent;
  border-left-color: #777777;
  right: 5px;
  top: 14px;
}
#cssmenu ul ul li.has-sub.active > a::after,
#cssmenu ul ul li.has-sub:hover > a::after {
  border-left-color: #333333;
}
.current_page_item, .current-menu-item,.current-menu-parent, .current_menu_ancestor, .current_page_ancestor {
color: #0d395c;
  background: #ffffff;
  background: rgba(0, 0, 0, 0.3);
}
/* fissa il menù se la pagina scorre */
.fixed {
left: 0;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 999;background: #1b75bc;box-shadow: 0 1px 6px #02324f;-webkit-box-shadow: 0 0px 6px #02324f;-moz-box-shadow: 0 0px 6px #02324f;
	border-bottom:2px solid #0d395c;background: url(images/prog-footer.jpg) no-repeat -190px -170px #1b75bc;
}
.fixed #cssmenu{max-width:960px;margin:0 auto;}
.fixedcrumb {
background-color: #ffffff;
    padding: 5px 10px;
    position: fixed;
    right: 1%;
    top: 43px;
    width: auto;
    z-index: 998;
	 box-shadow: 0 1px 4px #014d79;-moz-box-shadow: 0 1px 4px #014d79;-webkit-box-shadow: 0 1px 4px #014d79;
}
@media screen and (max-width: 768px) {
  #cssmenu {
	 text-align: left;
  }
  #cssmenu > ul {
    display: block;
  }
  #cssmenu > ul.open {
    display: block;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }
  #cssmenu > ul > li {
    /*float: none;*/
	 /*raf ripristina float se non funziona*/
	 display:block;text-align:left;
  }
  #cssmenu > ul > li > a {
    padding: 18px 25px 18px 25px;
    border-right: 0;
  }
  #cssmenu > ul > li:hover > a,
  #cssmenu > ul > li.active > a {
    background: rgba(0, 0, 0, 0.1);
  }
  #cssmenu #menu-button {
    display: block;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    color: #d3eced;
    padding: 18px 25px 18px 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: url('images/bg.png');
    cursor: pointer;
  }
  #cssmenu ul ul,
  #cssmenu ul li:hover > ul,
  #cssmenu > ul > li > ul,
  #cssmenu ul ul ul,
  #cssmenu ul ul li:hover > ul {
    left: 0;
    top: auto;
    opacity: 1;
    width: 100%;
    padding: 0;
    position: relative;
  }
  #cssmenu ul ul li {
    width: 100%;
  }
  #cssmenu ul ul li a {
    width: 100%;
    box-shadow: none;
    padding-left: 35px;
  }
  #cssmenu ul ul ul li a {
    padding-left: 45px;
  }
  #cssmenu ul ul li:first-child > a,
  #cssmenu ul ul li:last-child > a {
    border-radius: 0;
  }
  #cssmenu #menu-button::after {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #d3eced;
    border-bottom: 2px solid #d3eced;
    right: 25px;
    top: 18px;
  }
  #cssmenu #menu-button::before {
    display: block;
    content: '';
    position: absolute;
    height: 3px;
    width: 22px;
    border-top: 2px solid #d3eced;
    right: 25px;
    top: 28px;
  }
  #cssmenu > ul > li.has-sub > a::after,
  #cssmenu ul ul li.has-sub > a::after {
    display: none;
  }
#cssmenu > ul > li > ul::after {

  border: none;
}
#cssmenu ul ul ul::after {
  border: none;
}
/* fissa il menù se la pagina scorre*/ 
.fixed {
/*top: -5px;*/
	 position:relative;
	 background:none;
	 box-shadow:none;
}
.fixedcrumb {
background:none;
box-shadow:none;
    padding: 5px 10px;
    position:relative;
    right: 0px;
    top: -10px;
    width: auto;
    z-index: 998;
}
}
@media screen and (max-width: 480px) {

}
