/* CSS Document */
/* ------------------------------------------------------ Responsive Styles ------------------------------------------------------ */
@media (min-width: 1200px) and (max-width: 1439px) {
  .box-element-generico {
    width: 46%;
    margin: 2%;
  }
  .navbar-collapse.top-shadow {
    width: 100%;
  }
  .nav > li {
    padding: 16px 0;
  }
  .navbar-header {
    padding: 0;
  }
  .navbar-default .navbar-right > li {
    padding: 9px 0;
  }
  .box-wrap.root .box-element {
    margin: 10px 1%;
    height: 400px;
    box-sizing: border-box;
    width: 20%;
  }
  .box-wrap.root .box-element span {
    font-size: 21px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .navbar-default .navbar-nav > li > a {
    letter-spacing: -1px;
    font-size: 16px;
  }
  .navbar-default .navbar-right {
    padding-right: 10px !important;
  }
  .navbar-default .navbar-right > li {
    padding: 41px 0;
  }
  .navbar-default .navbar-nav > li > a.login {
    padding: 0px 15px;
  }
  #footer {
    padding-top: 20px;
  }
  .box-element-generico {
    width: 46%;
    margin: 2%;
  }
  #header-sezione .titolo-header {
    font-size: 42px;
    padding: 0 3% 0 0;
    letter-spacing: -1px;
  }
  .navbar-collapse.top-shadow {
    width: 100%;
  }
  .nav > li {
    padding: 16px 0;
  }
  .navbar-header {
    padding: 0;
  }
  .navbar-default .navbar-right > li {
    padding: 16px 0;
  }
  .box-wrap.root .box-element {
    font-size: 34px;
    margin: 11px 2%;
    height: 400px;
    /* min-width: 25%;
      */
    box-sizing: border-box;
    /* max-width: 45%;
      */
    width: 29.3%;
  }
}
@media (min-width: 992px) {
  .navbar-brand {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0 !important;
  }
  .navbar-brand > img {
    display: block;
    height: auto;
    max-height: 100px;
  }
  .navbar-default .navbar-right {
    padding: 0;
    position: absolute;
    top: 10px;
    right: 10px;
  }
  .navbar-default .navbar-right > li {
    transform: skewX(0deg) !important;
  }
  .voucher-odisseias .article-content .container .nocciolo img {
    display: none;
  }
  .btn-odisseias {
    max-width: 414px;
    margin: 0 auto;
  }
  .voucher-odisseias .titolo {
    text-align: center;
  }
  .voucher-odisseias .testo {
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
  }
}
@media only screen and (max-width: 991px) {
  .box-wrap.root {
    flex-direction: column;
  }
  /* == BOX SEZIONE HOME == */
  .box-wrap.root .box-element {
    font-size: 34px;
    margin: 10px 0;
    height: 200px;
    box-sizing: border-box;
    width: 100% !important;
  }
  .link-home {
    display: none !important;
  }
  .navbar-header {
    padding: 14px 0;
    margin: 0 !important;
  }
  .navbar-brand {
    padding: 0;
  }
  .navbar-brand img {
    padding-right: 0;
    padding-left: 0;
    margin-top: 12px;
  }
  .navbar-default .navbar-right {
    padding: 33px 0 32px 0;
  }
  .navbar-right {
    margin-right: 0px !important;
  }
  #header-sezione .container .titolo-header {
    font-size: 60px;
    padding-top: 0.16em;
    padding-bottom: 0.16em;
  }
  /* ---- SLIDESHOW ---- */
  /* TITOLi */
  .canale-page .titolo {
    font-size: 32px;
    letter-spacing: -1px;
  }
  .articolo-page .titolo {
    font-size: 44px;
  }
  /* BOX CANALI */
  .box-element-generico {
    float: left;
    margin-left: auto;
    margin-right: auto;
    width: 46%;
    margin: 15px 2%;
  }
  /* IMMAGINI ARTICOLO TEST */
  .immagine-articolo.sopra {
    display: none;
  }
  .immagine-articolo.sotto {
    display: block;
  }
  .bg-img {
    right: -30%;
  }
}
@media only screen and (min-width: 768px) {
  .nocciolo .testo img {
    width: 50%;
    min-width: 600px;
  }
}
@media only screen and (max-width: 767px) {
  .box-wrap.root {
    padding: 40px 0;
  }
  /* == BOX SEZIONE HOME == */
  .box-wrap.root .box-element {
    font-size: 28px;
    margin: 10px 0;
    height: 150px;
    box-sizing: border-box;
  }
  .container {
    max-width: 640px;
  }
  .navbar-brand img {
    margin-top: 5px;
    max-height: 80px;
  }
  .navbar-collapse.top-shadow {
    width: 100%;
    margin: 0;
  }
  .navbar-default .navbar-toggle {
    border: none;
    float: left;
    left: 0;
    position: absolute;
    width: 50px;
    height: 50px;
    color: #fff;
    top: 30px;
    padding: 0;
    z-index: 1000;
  }
  .navbar-default .navbar-toggle:before {
    content: "MENU";
    position: absolute;
    right: 15px;
    top: 13px;
    display: none;
  }
  .navbar-toggle:hover,
  .navbar-toggle:focus {
    background-color: transparent !important;
  }
  .navbar-collapse {
    box-shadow: none;
  }
  .navbar-default .navbar-nav {
    margin-left: 0px !important;
    margin-right: 0 !important;
    margin-bottom: 0;
    padding: 0 !important;
    display: block !important;
  }
  .navbar-default .navbar-nav > li {
    display: block !important;
    font-size: 16px;
    margin-bottom: 10px;
    padding: 0;
  }
  .navbar-default .navbar-nav > li > a {
    line-height: 25px !important;
    width: 100%;
    margin: 0 auto !important;
    border-bottom: 1px solid #fff;
    background: none;
    color: #fff;
    z-index: 10000;
    text-align: center;
  }
  .navbar-default .navbar-nav > li > a.login {
    background-image: none !important;
    text-align: center;
    border: 2px solid #7b33d6;
    width: 100px;
  }
  .navbar-default .navbar-nav.centrale > li > a:before {
    display: none;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a.selected {
    border-radius: 0px !important;
    color: #353738;
    border-right: 0;
  }
  .navbar-default .navbar-right {
    margin-bottom: 0;
    margin-top: 0;
    width: 50%;
    margin: 0 25% !important;
    float: right;
  }
  .navbar-right li {
    height: 40px !important;
  }
  .navbar-collapse {
    border: none !important;
  }
  .navbar-default .navbar-toggle .icon-bar {
    height: 4px;
    border-radius: 0;
    width: 20px;
    background-color: #d70056;
    border-radius: 10px;
    left: 15px;
    position: absolute;
  }
  .navbar-default .navbar-toggle span:nth-child(1) {
    top: 0;
  }
  .navbar-default .navbar-toggle span:nth-child(2) {
    top: 9px;
  }
  .navbar-default .navbar-toggle span:nth-child(3) {
    top: 15px;
  }
  .navbar-default .navbar-toggle span:nth-child(4) {
    top: 25px;
  }
  .box-wrap.articoli .box-element table.titolo span {
    font-size: 16px;
    line-height: 18px;
  }
  /* TITOLI */
  #header-sezione {
    margin-bottom: 15px;
  }
  #header-sezione .border-oblique:before {
    display: none;
  }
  #header-sezione .container .titolo-header {
    text-align: center;
    font-size: 46px;
  }
  .articolo-page .titolo {
    font-size: 27px !important;
    text-align: left;
    margin: 15px 0;
  }
  /* ---- SLIDESHOW ---- */
  #intro h2 {
    font-size: 28px !important;
  }
  /* IMMAGINE ARTICOLO */
  .articolo-page .nocciolo .immagine-articolo {
    background-position: center center;
  }
  /* IMMAGINI ARTICOLO TEST */
  .immagine-articolo.sopra {
    display: none;
  }
  .immagine-articolo.sotto {
    display: block;
  }
  .testo {
    padding: 0;
  }
  .title-section {
    margin-top: unset;
  }
  .box-wrap.root .immagine-wrap {
    background-size: 100% auto !important;
    background-position: center !important;
    background-attachment: scroll !important;
    background-color: rgba(0, 0, 0, 1) !important;
  }
  .bg-img {
    right: -40%;
  }
  .login-page .titolo {
    font-size: 18px;
  }
  .sezione-smussata {
    height: 40px;
  }
  .canale-page .titolo {
    font-size: 22px !important;
  }
  #content.category-list h2 {
    font-size: 18px !important;
  }
  .title-section {
    font-size: 18px !important;
    margin-top: -10px !important;
    text-shadow: 0 0px 9px rgba(0, 0, 0, 1) !important;
  }
  .box-wrap.root .box-element a::before,
  .box-wrap a.sfondo-immagine-box:before {
    display: none;
  }
  #header-sezione .titolo-header {
    font-size: 40px;
    padding: 25px 0;
  }
  .box-element-generico {
    height: unset !important;
    width: 100%;
  }
  .immagine-box span {
    padding: 10px 0 10px 0;
  }
  #content.category-list .container,
  .sezione-page .article-list .container,
  .archivio-page .article-list .container,
  #footer .container {
    max-width: unset;
  }
  #navigazione-pagine #next a,
  #navigazione-pagine #prev a {
    margin-top: 5px;
  }
  .login-page #content.login {
    padding: 20px 0 50px;
  }
  #footer {
    padding-top: 20px !important;
  }
  .sezione-page .article-list .container,
  .archivio-page .article-list .container,
  .articolo-page .article-content .container {
    width: 100%;
    padding: 0% 10% 15% 10%;
  }
  #header-sezione,
  #header-sezione .titolo-header {
    height: auto !important;
    line-height: normal !important;
    font-size: 42px;
    vertical-align: middle;
    padding: 0;
  }
}
@media only screen and (max-width: 640px) {
  /* == BOX SEZIONE HOME == */
  .box-wrap.root .box-element {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .box-wrap.root .immagine-wrap {
    background-size: 100% auto;
  }
  /* ---- SLIDESHOW ---- */
  #intro h2 {
    font-size: 28px !important;
  }
  /* TITOLI */
  #header-sezione .container .titolo-header {
    font-size: 46px;
  }
  .canale-page .titolo {
    font-size: 24px;
    text-align: center;
    padding: 20px 0;
  }
  .articolo-page .titolo {
    font-size: 28px;
    text-align: center;
  }
  /* IMMAGINI ARTICOLO TEST */
  .immagine-articolo.sopra {
    display: none;
  }
  .immagine-articolo.sotto {
    display: block;
  }
}
@media (max-width: 480px) {
  .box-wrap .box-element {
    background-size: 130% auto;
  }
  /* == BOX SEZIONE HOME == */
  .box-wrap.root .box-element {
    line-height: 1em;
  }
  .box-wrap.root .immagine-wrap {
    background-size: auto 100%;
  }
  /* ---- SLIDESHOW ---- */
  #intro h2 {
    font-size: 22px !important;
  }
  .intro-content p {
    font-size: 18px !important;
  }
  #header-sezione {
    margin-bottom: 10px;
  }
  #header-sezione .container .titolo-header {
    font-size: 36px;
    letter-spacing: -1px;
  }
  /* TITOLI */
  .nocciolo h1.titolo {
    margin: 10px 0;
  }
  .canale-page .titolo {
    font-size: 18px;
    letter-spacing: -1px;
  }
  .articolo-page .titolo {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .immagine-box img {
    max-width: 144% !important;
    width: 100% !important;
  }
  /*------------------------------------------*/
  /* FOOTER 
 /*------------------------------------------*/
  #footer_copyright {
    text-align: left;
  }
  #footer_copyright p {
    padding-left: 0;
  }
  /* IMMAGINE ARTICOLO */
  .articolo-page .nocciolo .immagine-articolo {
    background: none;
    height: auto;
  }
  .articolo-page .nocciolo .main.img-responsive {
    display: block !important;
  }
  /* IMMAGINI ARTICOLO TEST */
  .immagine-articolo.sopra {
    display: none;
  }
  .immagine-articolo.sotto {
    display: block;
  }
}
@media (max-width: 320px) {
  .box-element-generico {
    padding: 0 !important;
  }
  .box-wrap .positioner::before {
    width: calc(100% - 0px);
  }
  .box-wrap .sfondo-immagine-box {
    min-height: 200px !important;
  }
  .box-articolo-wrap {
    width: 100%;
  }
  .ultime-news .box-articolo-wrap {
    padding-bottom: 150px;
  }
  .ultime-news,
  #ultimiInseriti {
    max-height: 55vh;
  }
  #ultimiInseritiCarousel {
    max-height: 40vh;
    overflow: hidden;
  }
  .ultime-news h3 {
    margin: 10px 0 0 0;
  }
  #content.category-list .container,
  .sezione-page .article-list .container,
  .archivio-page .article-list .container {
    padding-top: 20px;
  }
  .title-section {
    font-size: 16px !important;
    margin-top: -10px !important;
    text-shadow: 0 0px 9px rgba(0, 0, 0, 1) !important;
    font-size: 14px !important;
    top: 50%;
    line-height: normal;
  }
  #content.category-list h2 {
    padding-bottom: 0px;
    margin: 10px 0;
  }
  .box-wrap .sfondo-immagine-box {
    min-height: 200px;
  }
  #header-sezione,
  #header-sezione .titolo-header {
    height: auto !important;
    line-height: normal !important;
    font-size: 26px;
    vertical-align: middle;
    padding: 0;
  }
}
@media only screen and (min-width: 321px) and (max-width: 414px) {
  .box-element-generico {
    padding: 15px !important;
  }
  .box-articolo-wrap {
    width: 100%;
  }
  .box-wrap .sfondo-immagine-box {
    min-height: 200px !important;
  }
  .ultime-news .box-articolo-wrap {
    padding-bottom: 150px;
  }
  .ultime-news,
  #ultimiInseriti {
    max-height: 47vh;
  }
  #ultimiInseritiCarousel {
    max-height: 40vh;
  }
  .ultime-news h3 {
    margin: 10px 0 0 0;
  }
  #content.category-list .container,
  .sezione-page .article-list .container,
  .archivio-page .article-list .container {
    padding-top: 20px;
  }
  .title-section {
    font-size: 36px;
    margin-top: -10px !important;
    text-shadow: 0 0px 9px rgba(0, 0, 0, 1) !important;
    font-size: 22px !important;
    top: 50%;
    line-height: 28px;
  }
  #content.category-list h2 {
    padding-bottom: 0px;
    margin: 10px 0;
  }
  #header-sezione,
  #header-sezione .titolo-header {
    height: auto !important;
    line-height: normal !important;
    font-size: 26px;
    vertical-align: middle;
    padding: 0;
  }
}
@media only screen and (min-width: 415px) and (max-width: 991px) {
  .box-articolo-wrap {
    padding-bottom: 150px;
  }
  .ultime-news,
  #ultimiInseriti {
    max-height: 47vh;
  }
  #ultimiInseritiCarousel {
    max-height: 42vh;
  }
  .title-section {
    margin-top: -10px !important;
    text-shadow: 0 0px 9px rgba(0, 0, 0, 1) !important;
    font-size: 22px;
    top: 50%;
    line-height: 28px;
  }
  .btn-odisseias {
    max-width: 414px;
    margin: 0 auto;
  }
}
@media only screen and (min-width: 768px) and (max-width: 991px) {
  .navbar-collapse.collapse {
    display: none !important;
  }
  .navbar-collapse.in {
    display: block !important;
  }
  .box-element-generico {
    padding: 0 !important;
  }
  .navbar-brand {
    margin: 0 !important;
  }
  .nav > li {
    padding: 40px 0;
    border-right: 2px solid #fff;
    transform: skew(-7deg);
  }
  .navbar-brand img {
    padding-right: 0;
    padding-left: 0;
    height: auto;
    margin-top: -23px;
  }
  .navbar-default .navbar-nav {
    padding: 0 !important;
  }
  .navbar-default .navbar-nav > li > a {
    padding: 0 6px !important;
    margin: -6px 0px !important;
    font-size: 14px;
  }
  .navbar-default .navbar-nav {
    margin-left: 0px !important;
    margin-right: 0 !important;
    margin-bottom: 0;
    padding: 10px 0 !important;
    float: none;
  }
  .navbar-default .navbar-toggle {
    border: none;
    float: left;
    left: 0;
    position: absolute;
    width: 40px;
    color: #fff;
    top: 15px;
    padding: 0;
    display: block;
  }
  .navbar-default .navbar-nav > li {
    border-right: none !important;
    display: block !important;
    font-size: 16px;
    height: 35px;
    margin-bottom: 10px;
    padding: 0;
    transform: skewX(0deg) !important;
    float: none;
  }
  .navbar-default .navbar-nav > li > a {
    line-height: 39px !important;
    width: 100%;
    margin: 0 auto !important;
    border-right: 2px dotted #fff;
    border-radius: 0;
    background: none;
    color: #fff;
    z-index: 10000;
    text-align: right;
  }
  .navbar-default .navbar-nav > li > a:hover,
  .navbar-default .navbar-nav > li > a.selected {
    border-radius: 0px !important;
    color: #353738;
    border-right: 5px solid #353738;
  }
  .navbar-default .navbar-right {
    margin-bottom: 0;
    margin-top: 0;
    width: 50%;
    margin: 0 25% !important;
  }
  .navbar-default .navbar-nav > li > a.login {
    background-image: none !important;
    text-align: center;
    border: 2px solid #7b33d6;
    line-height: 25px !important;
    width: 100px;
    margin: 0 auto !important;
    z-index: 10000;
    text-align: center;
  }
  .navbar-default .navbar-nav.centrale > li > a:before {
    display: none;
  }
  .navbar-collapse.top-shadow {
    width: 100%;
  }
  .navbar-default .navbar-toggle .icon-bar {
    height: 4px;
    border-radius: 0;
    width: 20px;
    background-color: #d70056;
    border-radius: 10px;
    right: 0;
    position: absolute;
  }
  .navbar-default .navbar-toggle span:nth-child(1) {
    top: 0;
  }
  .navbar-default .navbar-toggle span:nth-child(2) {
    top: 9px;
  }
  .navbar-default .navbar-toggle span:nth-child(3) {
    top: 15px;
  }
  .navbar-default .navbar-toggle span:nth-child(4) {
    top: 25px;
  }
  #header-sezione {
    margin-bottom: 15px;
    height: 105px !important;
    background-size: 100%;
  }
  #header-sezione .titolo-header {
    font-size: 40px;
    width: 100%;
    text-align: center;
    height: auto !important;
    line-height: unset !important;
    bottom: 0;
    position: absolute;
    padding: 13px 0 20px 0;
  }
  #header-sezione .titolo-header {
    padding: 25px 0;
  }
  #header-sezione .border-oblique:before {
    display: none;
  }
}
@media only screen and (min-width: 320px) and (max-width: 991px) {
  .voucher-odisseias .article-content .container {
    background-image: url(bg_pagine_odisseias.jpg);
    background-position: top center;
    background-repeat: no-repeat;
    color: #fff;
    max-width: unset;
    background-size: cover;
  }
  .voucher-odisseias .article-content .container .nocciolo h1.titolo {
    color: #fff;
    text-align: center;
  }
  .voucher-odisseias .article-content .container .testo {
    text-align: center;
  }
  .odisseias-code {
    border: 2px solid #fff;
    margin: 20px auto 0 auto;
    max-width: unset;
    font-size: 30px;
    padding: 20px 0;
  }
  #footer {
    padding-top: 0 !important;
  }
  .voucher-odisseias .article-content .container .nocciolo img {
    width: 100%;
  }
}
