body, html {
  height: 100%;
}

/* IMMAGINE DI COPERTINA */

#home-container {
  width: 100%;
  height: 100%;
}

#photoContainer {
  width: 100%;
  height: 85%;
  cursor: pointer;
}

#photoContainer img {
  width: 100%;
  height: 100%;
}

#photoContainer .carousel-caption {
  top: 0px;
  left: 5%;
  text-align: left;
  white-space: pre-line;
  line-height: normal;
}

#photoContainer .carousel-caption .title {
  font-size: 50px;
  font-weight: bold;
  margin-top: 10%;
  text-align: left;
  text-shadow: none;
  margin-bottom: 10px;
}

#photoContainer .carousel-caption .subtitle {
  font-size: 25px;
  text-shadow: none;
}

#photoContainer .icon {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100px;
  background: url(../ico/site/ico_scroll.png) no-repeat;
  background-size: 50px 50px;
  background-position: center;
  margin-bottom: 50px;
}

.carousel, .item, .active {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

/*PREFERITI*/

#ScrollerPreferiti {
  margin: auto;
  width: 100%;
  /*text-align: left;*/
  margin-top: 20px;
}

#sub-header {
  text-align: left;
  width: 1140px;
  margin: 0 auto;
}

#sub-header-title {
  font-weight: 900;
}

#sub-header-description {
  padding-bottom: 30px;
  font-weight: 100;
  font-size: 14px;
}

#sub-header-description span {
  margin-top: 10px;
}

/** NEW SLICK SLIDE**/

/* 
.slider-home {}

.single-item {
  background: black;
}

.single-item img {
  width: 100%;
  opacity: 0.8;
}

.single-item .contentBottom {
  width: 100%;
  height: 60px;
  font-size: 13px;
  z-index: 150;
  position: absolute;
  top: 50%;
  display: inline-table;
}

.single-item .title {
  font-size: 33px;
  margin-bottom: 15px;
  line-height: 18px;
  font-weight: 300;
  color: #FFF;
  margin-top: 10px;
}

.single-item .date {
  margin-bottom: 10px;
  line-height: 18px;
  font-weight: 600;
  color: #FFF;
  margin-top: 10px;
  font-size: 18px;
}

.single-item li {
  display: block;
}

.slick-prev {
  left: 50px !important;
  color: white !important;
  z-index: 300;
}

.slick-next {
  right: 50px !important;
  color: white !important;
}

.slick-prev:after, .slick-next:after {
  color: white !important;
  font-size: 50px !important;
}

.slick-next:before, .slick-prev:before {
  color: white !important;
  font-size: 50px !important;
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
  color: white !important;
}

*/

.slick-list, .slick-track, .slick-slide {
  height: 100%;
}

/** CATEGORIES */

#div4Category {
  clear: both;
  margin-top: 50px;
  padding: 0px;
  color: black;
}

#div4Category img {
  border: 0 none;
  width: 100%;
  height: auto;
}

#div4Category .title {
  text-transform: uppercase;
  font-size: 19px;
  font-weight: bold;
  text-align: left;
  color: black;
}

#div4Category .title {
  margin-bottom: 15px;
}

#div4Category a {
  text-decoration: none;
}

#div4Category .content {
  color: #3d4c53;
  font-size: 14px;
}

#second-container {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  padding-bottom: 60px;
}

.container-width {
  width: 1140px;
  margin: 0 auto;
  text-align: left;
}

.mobile {
  display: none;
}

.desktop {
  display: flex;
}

.show-desktop {
  display: block;
}

.show-tablet {
  display: block;
}

.desktop-info {
  display: flex !important;
}

#searchNav {
  height: 15%;
}

#sub-header-title>h2 {
  font-size: 26px;
}

.slick-slide>*:focus {
  outline: unset;
}

/* Desktop */

@media screen and (max-width: 1200px) and (min-width: 992px) {
  #sub-header {
    width: 95%;
    margin: 0 auto;
  }
  .container-width {
    width: 95%;
    margin: 0 auto;
  }
  .desktop {
    display: flex;
  }
  .show-desktop {
    display: block;
  }
}

/* Tablet */

@media screen and (max-width: 991px) and (min-width: 768px) {
  #sub-header {
    width: 95%;
    margin: 0 auto;
  }
  .container-width {
    width: 95%;
    margin: 0 auto;
  }
  .mobile {
    display: block;
  }
  .desktop, .show-desktop {
    display: none;
    height: 0%;
  }
  #photoContainer {
    height: 100%;
  }
  #photoContainer .icon {
    display: none;
  }
  #photoContainer .carousel-caption {
    bottom: 25%;
    top: unset;
  }
}

/* Smartphone grandi dimensioni */

@media screen and (max-width:767px) and (min-width: 481px) {
  #sub-header {
    width: 95%;
    margin: 0 auto;
  }
  .container-width {
    width: 95%;
    margin: 0 auto;
  }
  .mobile {
    display: block;
  }
  .desktop, .show-desktop, .show-tablet {
    display: none;
    height: 0%;
  }
  #photoContainer {
    height: 100%;
  }
  #photoContainer .icon {
    display: none;
  }
  #photoContainer .carousel-caption {
    bottom: 25%;
    top: unset;
  }
  #photoContainer .carousel-caption .title {
    font-size: 35px;
    font-weight: bold;
    text-align: left;
    text-shadow: none;
    margin-bottom: 0px;
    margin-top: 75px;
  }
  #photoContainer .carousel-caption .subtitle {
    font-size: 19px;
    text-shadow: none;
  }
}

/* Smartphone piccole dimensioni */

@media screen and (max-width:480px) {
  #sub-header {
    width: 95%;
    margin: 0 auto;
  }
  .container-width {
    width: 100%;
    margin: 0 auto;
  }
  .mobile {
    display: block;
  }
  .desktop, .show-desktop, .show-tablet {
    display: none;
    height: 0%;
  }
  #photoContainer {
    height: 100%;
  }
  #photoContainer .icon {
    display: none;
  }
  #photoContainer .carousel-caption {
    bottom: 25%;
    top: unset;
  }
  #photoContainer .carousel-caption .title {
    font-size: 35px;
    font-weight: bold;
    text-align: left;
    text-shadow: none;
    margin-bottom: 0px;
    margin-top: 75px;
  }
  #photoContainer .carousel-caption .subtitle {
    font-size: 19px;
    text-shadow: none;
  }
}