*:focus, *:active {
  outline: none !important;
  box-shadow: none !important;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/*
$regular: 'QBType';
$italic: 'QBType-Italic';
$medium: 'QBType-Medium';
$bold: 'QBType-Bold';
*/
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: "freight-sans-pro",sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #444;
  line-height: 1.2;
  font-size: 17px;
}

header {
  padding: 0 0 15px;
}
header .trenta {
  width: 110px;
  height: auto;
}
@media (max-width: 767px) {
  header .trenta {
    width: 80px;
    height: auto;
  }
}
header .registro {
  width: 205px;
  height: auto;
}
@media (max-width: 767px) {
  header .registro {
    width: 90px;
    height: auto;
    margin-top: 10px;
  }
}
header .perligua {
  float: left;
  width: 100%;
  margin-bottom: 15px;
  border-bottom: solid 1px #ccc;
}
header .perligua #lang_sel_list {
  height: auto !important;
}
header .perligua a {
  padding: 5px 5px 5px 0 !important;
  background: transparent !important;
}
header .perligua #lang_sel_list a.lang_sel_sel {
  font-weight: bold !important;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 0;
}

*::-webkit-scrollbar-thumb {
  border-radius: 0;
  background: #e10716;
}

.spaceslide {
  border: 1px solid #ddd;
  /*
  	padding: 30px;
  	background: url(../img/slider.jpg) center center no-repeat;
  	background-size: cover;
  	@media (max-width: $sm){
  		padding: 10px;	
  	} 
  */
}
.spaceslide .item img {
  width: 50%;
  position: relative;
  left: 50%;
  height: auto;
  background-color: black;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
@media (max-width: 991px) {
  .spaceslide .item img {
    display: none !important;
  }
}
.spaceslide .item video {
  width: 50%;
  position: relative;
  left: 50%;
  height: auto;
}
@media (max-width: 991px) {
  .spaceslide .item video {
    display: none !important;
  }
}
.spaceslide .item .carousel-caption {
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
  border: auto;
  background: rgba(255, 255, 255, 0.95);
  width: 50%;
  height: 100%;
  overflow-y: auto;
  text-shadow: none;
  text-align: left;
  padding: 30px;
  color: #444;
}
.spaceslide .item .carousel-caption .annata {
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  position: relative;
  top: -14px;
}
.spaceslide .item .carousel-caption .annata span {
  color: #dd001f;
}
@media (max-width: 767px) {
  .spaceslide .item .carousel-caption .annata {
    top: -7px;
  }
}
.spaceslide .item .carousel-caption .titolata {
  font-size: 28px;
  margin-bottom: 10px;
}
@media (max-width: 991px) {
  .spaceslide .item .carousel-caption {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: auto;
    bottom: auto;
    padding: 10px;
    min-height: 400px;
  }
}
@media (max-width: 767px) {
  .spaceslide .item .carousel-caption {
    height: 400px;
  }
}
.spaceslide .carousel-indicators {
  width: 100%;
  left: 0;
  margin: 0;
  bottom: auto;
  position: relative;
  background: #dd001f;
  padding: 10px;
}
.spaceslide .carousel-indicators:after {
  content: "";
  width: 100%;
  height: 2px;
  background: white;
  left: 0;
  top: 50%;
  margin-top: -1px;
  position: absolute;
  z-index: -1;
  opacity: .3;
}
.spaceslide .carousel-indicators li {
  text-indent: 0;
  width: auto;
  height: auto;
  background: none;
  border: 0;
  color: white;
  margin: 0 5px;
  font-weight: 700;
  position: relative;
  top: -3px;
}

section {
  background: #ddd;
  padding: 30px 30px 35px 30px;
  margin: 30px 0 0 0;
}
section h2 {
  margin-top: 0;
  padding-top: 0;
  font-weight: 700;
}
section.iid {
  background: #d57e1c;
  color: white;
}
section.if2016 {
  background: #2eaedc;
  color: white;
  margin-bottom: 30px;
}

footer {
  margin: 30px 0;
}
footer .sociale img {
  width: 28px;
  height: auto;
}
@media (max-width: 767px) {
  footer .sociale {
    text-align: left !important;
    margin-top: 15px;
  }
}
@media (max-width: 500px) {
  footer .sociale {
    text-align: center !important;
  }
}

.link {
  display: inline-block;
  margin-top: 15px;
  padding: 5px 15px;
  border: solid 2px white;
  color: white;
  font-weight: 700;
}
.link:hover {
  color: white;
}
.link.rosso {
  border: solid 2px #dd001f;
  color: #dd001f;
}
.link.rosso:hover {
  color: #dd001f;
}

.menu {
  transition: 0.1s transform linear;
  position: relative;
  background: 0;
  float: none;
  margin: 2rem;
  height: 2.7rem;
  width: 3.5rem;
  z-index: 1;
  outline: 0;
  padding: 0;
  border: 0;
  margin-right: 0;
}
@media (max-width: 767px) {
  .menu {
    margin: 8px;
    margin-right: 0;
  }
}

.bar, .bar::before, .bar::after {
  transition: 0.2s background linear 0.1s, 0.2s top linear 0.2s, 0.2s transform linear;
  position: absolute;
  background: #000;
  margin: auto;
  width: 100%;
  height: 0.3rem;
  content: '';
  top: 50%;
  left: 0;
}
.bar {
  margin-top: -0.2rem;
}
.bar::before {
  top: -1.2rem;
}
.bar::after {
  top: 1.2rem;
}
.bar::before, .bar::after {
  transform: rotate(0deg);
}
.active .bar {
  background: 0;
}
.active .bar::before {
  transform: rotate(45deg);
}
.active .bar::after {
  transform: rotate(-45deg);
}
.active .bar::before, .active .bar::after {
  top: 0;
}
.active .bar, .active .bar::before, .active .bar::after {
  transition: 0.2s background linear 0.1s, 0.2s top linear, 0.2s transform linear 0.2s;
}

nav {
  width: 250px;
  height: 100%;
  background: rgba(68, 68, 68, 0.95);
  position: fixed;
  transform: translateX(-250px);
  transition: transform 0.6s cubic-bezier(0.56, 0.1, 0.34, 0.91);
  padding-top: 0;
  z-index: 9999;
}
.menu-open nav {
  transform: translateX(0);
}
nav ul {
  margin: 0;
  list-style: none;
  padding: 0;
}
nav ul li {
  padding: 10px;
  font-size: 2rem;
}
nav ul li:hover {
  background: #e10716;
}
nav ul a {
  color: white;
}

@media (min-width: 991px) {
  .spaceslide .item video {
    padding: 61px 0;
    margin: auto;
    background-color: #000;
  }
}
@media (min-width: 1199px) {
  .spaceslide .item video {
    padding: 74.5px 0;
    margin: auto;
    background-color: #000;
  }
}
video {
  width: auto;
  height: auto;
  max-width: 100%;
}

.nonenone {
  display: none;
}

#cboxLoadedContent {
  overflow: hidden !important;
}

.loghifooter img {
  margin-right: 15px;
  margin-bottom: 10px;
  height: 36px;
  width: auto;
}
@media (max-width: 500px) {
  .loghifooter img {
    display: block;
    clear: both;
    margin: 0 auto 15px;
  }
}

#cboxTitle {
  font-weight: 700;
}

