@media only screen and (min-width: 992px) {
  .filo-diretto {
    margin-top: 56px;
  }
}

@media only screen and(max-width: 992px) {
  .filo-diretto {
    margin-bottom: 36px;
  }
}

@media only screen and (max-width: 1024px) {
  .filo-diretto-container {
    max-width: fit-content !important;
  }
}

@media only screen and (max-width: 768px) {
  [class*="col-"] {
    max-width: 100% !important;
    flex: 0 0 100%;
  }
  .row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: 0;
    margin-left: 0;
  }

  .link-list p,
  .link-list ul {
    margin-top: 0;
    margin-bottom: 0rem;
    margin-left: -10px;
  }
  .hero-card {
    width: 100%;
  }

  .hero-img,
  .hero-text {
    width: 100%;
    margin-bottom: 20px;
  }

  .attivita-lista {
    padding: 50px 0;
  }

  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }

  .mobile-search-input {
    width: 83vw;
    margin: 7px 0 0 0;
    height: 40px;
  }

  .search-link.rounded-icon {
    width: 48px;
    height: 40px;
    border-radius: 0;
    border-bottom: 1px solid #5c6f82;
    display: block;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: unset;
    margin: 7px 0;
    outline: none;
  }

  #wrapper {
    background: #ccc;
    overflow: hidden;
    transition: max-height 300ms;
    max-height: 57px;
  }

  .navbar-search.pull-left {
    background: #0059b3;
    margin: 0;
  }

  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }

  .list-inline.text-right.social {
    display: flex;
    justify-content: center;
  }

  .it-follow-wrapper {
    padding: 14px 0 14px;
    text-align: center !important;
  }

  .list-inline.text-right.social li:first-child {
    display: none;
  }
  .social-bar {
    display: block;
    background: #0059b3;
    display: flex;
    color: #fff;
    font-weight: 600;
    width: 100%;
    padding: 1rem;
    margin-top: -18px;
  }
  .social-bar ul {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  .social-bar .icon {
    fill: #fff;
    width: 29px;
    height: 29px;
  }
  .navbar .navbar-collapsable .navbar-nav li.active {
    border-left: 4px solid #06c;
  }
  .menu ul.a li.dispari {
    float: left;
    clear: left;
    width: 100%;
  }

  .menu ul.a li.pari {
    float: left;
    clear: left;
    width: 100%;
  }

  .box ul li {
    margin: 0 0.4em 0.5em 0;
    padding: 0;
    font-size: 0.9em;
  }
  .it-footer-small-prints ul.it-footer-small-prints-list {
    padding: 1rem 0;
  }

  table.elencoUSP {
    margin: 0;
    padding: 0;
    max-width: 100%;
  }
  .tab-responsive {
    overflow-x: scroll !important;
  }

  .SchedaPratica ul.tabSchedePratiche {
    list-style-type: none;
    display: block;
    font-size: 0.8em;
    margin: 0;
    padding: 0;
  }

  .SchedaPratica ul.tabSchedePratiche li {
    text-align: center;
    width: 100%;
    background: #fff;
  }

  .SchedaPratica ul.tabSchedePratiche li a {
    text-align: center;
    width: 100%;
    color: #06c;
  }

  .SchedaPratica ul.tabSchedePratiche li.selected a {
    text-align: center;
    width: 100%;
    color: #06c;
  }

  .SchedaPratica ul.tabSchedePratiche li.selected {
    margin: 5px 0;
    padding: 0;
    -webkit-box-shadow: -2px 2px 20px -4px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: -2px 2px 20px -4px rgba(0, 0, 0, 0.75);
    box-shadow: -2px 2px 20px -4px rgba(0, 0, 0, 0.75);
  }

  .SchedaPratica ul.tabSchedePratiche li {
    margin: 5px 0;
    padding: 0;
    border: 1px solid #e5e5e5;
    -webkit-box-shadow: -2px -1px 27px -20px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: -2px -1px 27px -20px rgba(0, 0, 0, 0.65);
    box-shadow: -2px -1px 27px -20px rgba(0, 0, 0, 0.65);
  }

  .SchedaPratica ul.tabSchedePratiche {
    background: none;
    border-bottom: none;
  }

  fieldset[class*="box"] {
    width: 100%;
  }
}

@media (min-width: 360px) and (max-width: 992px) {
  .it-socials {
    display: none !important;
  }
  .navbar .navbar-collapsable .navbar-nav li.active {
    border-left: 4px solid #06c;
    border-bottom: 0;
  }
}

@media (max-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 95%;
  }

  .dettaglio-sottosegetari {
    padding: 50px 0px 0;
  }
  .box-2-col {
    padding: 50px 0px 0;
  }
  .articles-list {
    padding: 50px 0;
  }

  .attivita-lista-card {
    width: 100%;
  }

  .hero-news {
    padding: 18px 0;
  }

  .container-giustizia .row.no-gutters {
    padding: 0 !important;
  }

  .row.no-gutters .pr-5 {
    padding: 0 !important;
  }

  .breadcrumb-container {
    padding: 10px 7px 0;
  }

  .attivita-lista {
    padding: 20px 10px;
  }

  #DataMain {
    display: block !important;
  }

  #DataMain_box {
    display: none !important;
  }
}

/* Generale Portrait and Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 240px;
    height: 49px;
    margin-right: 16px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }
  .articles-list {
    padding: 50px 0 0;
  }
  .link-list-card {
    width: 46%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 25px;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 300px;
    height: 58px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 23px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .link-list {
    margin: 25px 25px 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 19px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 25px;
  }

  .line_title {
    border-top: 1px solid #bbb;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 32px 0;
  }

  .it-follow-wrapper {
    padding: 40px 0 0;
  }

  .list-inline.social {
    text-align: center !important;
  }
}

/* Portrait */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 240px;
    height: 49px;
    margin-right: 16px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }

  .articles-list {
    padding: 20px 15px 0;
  }

  .link-list-card {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 282px;
    height: 53px;
    margin-right: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 23px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .link-list {
    margin: 10px 0px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 19px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 0;
  }
  .line_title {
    border-top: 1px solid #bbb;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 18px 0;
  }

  .it-follow-wrapper {
    padding: 14px 0 0;
    text-align: center !important;
  }
  .list-inline.social {
    text-align: center !important;
  }
}

/* Landscape */
@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 240px;
    height: 49px;
    margin-right: 16px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }

  .link-list-card {
    width: 46%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 25px;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 300px;
    height: 58px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 23px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .link-list {
    margin: 25px 25px 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }
  .it-footer-small-prints ul.it-footer-small-prints-list li {
    padding-left: 0;
    border-right: none;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 48px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 25px;
  }
  .line_title {
    border-top: 1px solid #bbb;
    width: 350px;
    margin-bottom: 20px;
    margin-left: 25px;
  }
  .it-footer-main .it-brand-wrapper {
    padding: 32px 0;
  }

  .it-follow-wrapper {
    padding: 40px 0 0;
  }
  .list-inline.social {
    text-align: center !important;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 120px;
    height: 65px;
    margin-right: 16px;
  }

  .it-header-navbar-wrapper {
    background: #036;
  }

  .link-list-card {
    width: 47%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 3px;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 90;
    height: 50px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 9%;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  a.gnews-link {
    padding: 10px 5px;
    background-color: white;
    border-radius: 5px;
  }
  .link-list {
    margin: 25px 25px 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .it-footer-small-prints ul.it-footer-small-prints-list li {
    padding-left: 0;
    border-right: none;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 8px 11px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 48px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 4px;
  }
  .line_title {
    border-top: 1px solid #bbb;
    width: 293px;
    margin-bottom: 20px;
    margin-left: 5px;
  }
  .it-footer-main .it-brand-wrapper {
    padding: 32px 0;
  }

  .it-follow-wrapper {
    padding: 47px 0 0;
  }
  .list-inline.social {
    text-align: center !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 131px;
    height: 62px;
    margin-right: 0;
    margin-left: -25px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }

  #scheda h1,
  h2 {
    margin: 0px;
    margin-bottom: 0px;
    padding: 5px 0;
    text-align: center;
    font-size: 1.2em;
    text-transform: inherit;
  }

  .link-list-card {
    width: 48%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 88px;
    height: 42px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .it-footer-small-prints ul.it-footer-small-prints-list li {
    padding-left: 0;
    border-right: 0px solid #fff;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 23px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .link-list {
    margin: 25px 0 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    /* padding: 0; */
  }

  .navbar .navbar-collapsable .menu-wrapper .navbar-nav {
    padding: 24px 23px 0;
    overflow: hidden;
  }

  .card .head-tags {
    margin-bottom: 48px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 0;
  }
  .line_title {
    border-top: 1px solid #bbb;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 32px 0;
  }

  .it-follow-wrapper {
    padding: 40px 0 0;
  }
  .list-inline.social {
    text-align: center !important;
  }

  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -44px;
  }
  .it-search-wrapper {
    display: none !important;
  }
}

/* 
    Tablets, Ipads (landscape)
    */

@media (min-width: 460px) and (max-width: 1024px) and (orientation: landscape) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 118px;
    height: 62px;
    margin-right: 0;
    margin-left: -35px;
  }
  .it-header-navbar-wrapper {
    background: #06c;
  }

  .link-list-card {
    width: 44%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 25px;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 94px;
    height: 50px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }
  .link-list-card img {
    display: block;
    width: 8%;
  }

  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 23px !important;
  }

  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 12px !important;
  }

  a.gnews-link {
    padding: 10px 4px;
    background-color: white;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  .it-footer-small-prints ul.it-footer-small-prints-list li {
    text-align: center;
    padding-left: 0;
    border-right: 0px solid #fff;
  }
  .link-list {
    margin: 25px 0 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .link-list img {
    padding: 0 0px 0 16px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 14px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 48px;
  }
  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 15px;
  }
  .line_title {
    border-top: 1px solid #bbb;
    margin-bottom: 20px;
    margin-left: 17px;
  }
  .it-footer-main .it-brand-wrapper {
    padding: 32px 0;
  }

  .it-follow-wrapper {
    padding: 40px 0 0;
  }

  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-weight: 400;
    padding: 13px 10px;
    border-bottom: 3px solid transparent;
  }

  .navbar .navbar-collapsable .navbar-nav li:first-child a.nav-link {
    font-weight: 400;
    padding: 13px 10px;
    border-bottom: 3px solid transparent;
  }
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper nav {
    padding-left: 18px;
    padding-right: 0;
  }

  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
    width: 43px;
  }

  .mobile-search-wrapper {
    display: block;
    background: #003366;
  }
}

/* 
       Low Resolution Tablets, Mobiles (Landscape)
    */

@media (min-width: 481px) and (max-width: 767px) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 91px;
    height: 48px;
    margin-right: 0;
    margin-left: -16px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }

  .link-list-card {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .link-list-card a {
    font-size: 18px;
    font-weight: 600;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 110px;
    height: 55px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 8%;
  }

  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 9px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 1px;
    border: 1px solid #ccc;
    display: block;
    text-align: center;
    -webkit-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
  }
  .it-footer-small-prints ul.it-footer-small-prints-list li {
    text-align: center;
    padding-left: 0;
    border-right: 0px solid #fff;
  }
  .link-list {
    margin: 25px 0 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .card .head-tags {
    margin-bottom: 48px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 0;
  }
  .line_title {
    border-top: 1px solid #bbb;
    width: 350px;
    margin-bottom: 20px;
    margin-left: 0;
  }
  .navbar .navbar-collapsable .menu-wrapper .navbar-nav {
    padding: 24px 0 0 12px;
    overflow: hidden;
  }
  .it-footer-main .it-brand-wrapper {
    padding: 13px 0 0;
  }

  .it-follow-wrapper {
    padding: 40px 0 0;
  }

  .articles-list {
    padding: 50px 0 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 10px 0 0;
  }

  .it-follow-wrapper {
    padding: 20px 0 20px;
  }
}

/* 
     Smartphones Mobiles (Portrait)
    */

@media (min-width: 320px) and (max-width: 480px) {
  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 90px;
    height: 49px;
    margin-right: 0;
    margin-left: -9px;
  }

  .it-header-navbar-wrapper {
    background: #06c;
  }

  .articles-list {
    padding: 20px 0;
  }

  .link-list-card {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 87px;
    height: 44px;
    margin-right: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .link-list-card img {
    display: block;
    width: 14%;
  }
  .navbar-expand-lg .navbar-nav.navbar-secondary {
    margin-bottom: 0;
    height: auto;
    padding: 15px 13px !important;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 0;
    border: 1px solid #ccc;
    display: block;
    text-align: center;
    -webkit-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
  }
  .link-list {
    margin: 10px 0px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .card .card-tag {
    color: #06c;
    background: #fff;
    padding: 0 3px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .card .head-tags {
    margin-bottom: 19px;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 0;
  }

  .link-list a,
  .link-list a:visited,
  .link-list a:link {
    padding: 3px 15px 0 46px;
    color: #036;
    text-decoration: none;
  }

  .line_title {
    border-top: 1px solid #bbb;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 18px 0;
  }

  .it-footer-main section {
    padding: 0;
  }

  .it-follow-wrapper {
    padding: 14px 0 14px;
    text-align: center !important;
    /* margin-left: -14px; */
  }
  .list-inline.social {
    text-align: center !important;
  }
  .it-footer-small-prints ul.it-footer-small-prints-list li {
    padding-left: 0;
    border-right: 0px solid #fff;
  }

  .navbar .navbar-collapsable .navbar-nav li a.nav-link {
    font-weight: 400;
    padding: 9px 14px;
    border-bottom: 3px solid transparent;
  }

  .navbar .navbar-collapsable .navbar-nav li:first-child a.nav-link {
    font-weight: 400;
    padding: 9px 14px;
    border-bottom: 3px solid transparent;
  }

  .article-card {
    width: 100%;
  }
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper nav {
    padding-left: 3px;
    padding-right: 0;
  }
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -50px;
    width: 43px;
  }
  .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
    padding-left: 5px;
  }

  .menu-wrapper h2.no_toc {
    margin: 9px;
    margin-bottom: 0px;
    padding: 0;
    font-size: 1.2em;
    text-transform: inherit;
  }

  .mobile-search-wrapper {
    display: block;
    background: #003366;
  }
}

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {
  .dettaglio-sottosegetari,
  .box-2-col,
  .articles-list {
    padding: 50px 0 0;
  }
  .hero-card {
    width: 100%;
  }
  .hero-img,
  .hero-text {
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-news .card.card-big .card-body,
  .hero-card .card.card-big .card-body,
  .articles-list .card.card-big .card-body {
    padding: 0;
  }

  .articles-list h3 {
    color: #036;
    font-weight: 600;
    margin-left: 0;
  }

  .line_title {
    border-top: 1px solid #bbb;
    width: 100%;
    margin-bottom: 20px;
    margin-left: 0;
  }

  .article-card {
    width: 100%;
  }
  .link-list {
    margin: 25px 0 4px;
    box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 8px;
  }

  .link-list-card {
    width: 47%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    margin-bottom: 25px;
    padding: 0.7rem 0;
  }
}

/* IPAD Portrait */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) {
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
  }

  .mobile-search-wrapper {
    display: block;
    background: #003366;
  }

  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 134px;
    height: 68px;
    margin-right: 0;
    margin-left: -25px;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 128px;
    height: 66px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 32px 0 0;
  }
  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }
  .search-link.rounded-icon {
    width: 48px;
    height: 40px;
    border-radius: 0;
    border-bottom: 1px solid #5c6f82;
    display: block;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: unset;
    margin: 7px 0;
    outline: none;
  }

  .navbar .navbar-collapsable .navbar-nav li:first-child a.nav-link {
    font-weight: 400;
    padding: 13px 10px;
    border-bottom: 3px solid transparent;
  }

  a.gnews-link {
    padding: 10px 15px;
    background-color: white;
    border-radius: 0;
    border: 1px solid #ccc;
    display: block;
    text-align: center;
    -webkit-box-shadow: 2px 4px 5px 0px rgb(0 0 0 / 75%);
    -moz-box-shadow: 2px 4px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 4px 5px 0px rgb(0 0 0 / 75%);
  }
  .navbar .navbar-collapsable .menu-wrapper .navbar-nav {
    padding: 24px 0;
    overflow: hidden;
  }
}

/* IPAD Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: landscape) {
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
  }

  .mobile-search-wrapper {
    display: block;
    background: #003366;
  }

  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 146px;
    height: 77px;
    margin-right: 0;
    margin-left: -25px;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 128px;
    height: 66px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 32px 0 0;
  }
  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }
  .search-link.rounded-icon {
    width: 48px;
    height: 40px;
    border-radius: 0;
    border-bottom: 1px solid #5c6f82;
    display: block;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: unset;
    margin: 7px 0;
    outline: none;
  }
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: 0px;
    width: 100%;
    background: #0059b3;
  }

  .navbar-nav.navbar-secondary {
    display: none !important;
  }
}

/* IPAD Landscape */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
  }

  .mobile-search-wrapper {
    display: block;
    background: #003366;
  }

  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 146px;
    height: 77px;
    margin-right: 0;
    margin-left: -25px;
  }
  .it-footer-main .it-brand-wrapper a .icon {
    fill: #fff;
    width: 128px;
    height: 66px;
    margin-right: 8px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .it-footer-main .it-brand-wrapper {
    padding: 32px 0 0;
  }
  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }
  .search-link.rounded-icon {
    width: 48px;
    height: 40px;
    border-radius: 0;
    border-bottom: 1px solid #5c6f82;
    display: block;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: unset;
    margin: 7px 0;
    outline: none;
  }
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: 0px;
    width: 100%;
    background: #0059b3;
  }

  .navbar-nav.navbar-secondary {
    display: none !important;
  }
}

/* iphone x Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait) {
  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }
}

/* iphone x Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-min-device-pixel-ratio: 3) and (orientation: landscape) {
  .mobile-search {
    display: flex;
    justify-content: center;
    width: 100vw;
  }
  .mobile-search-input {
    width: 83vw !important;
    margin: 7px 0 0 0;
    height: 40px !important;
  }
  .search-link.rounded-icon {
    width: 48px;
    height: 40px;
    border-radius: 0;
    border-bottom: 1px solid #5c6f82;
    display: block;
    background: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: unset;
    margin: 7px 0;
    outline: none;
  }
}

/* pixel Portrait and Landscape */
@media screen and (device-width: 360px) and (device-height: 640px) and (-webkit-device-pixel-ratio: 3) {
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
    width: 45px;
  }
}

/* pixel 2xl Portrait and Landscape */
@media screen and (device-width: 823px) and (device-height: 411px) and (-webkit-device-pixel-ratio: 3.5) {
  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: -48px;
    width: 45px;
  }

  .it-header-center-wrapper .it-header-center-content-wrapper .it-brand-wrapper a .icon {
    width: 134px;
    height: 70px;
    margin-right: 0;
    margin-left: -25px;
  }

  .it-header-wrapper .it-nav-wrapper .it-brand-wrapper {
    padding-left: 2px;
  }
}

/* ----------- iPad Pro 12.9" ----------- */

@media only screen and (min-device-width: 1024px) and (max-device-width: 1024px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 2) {
  .navbar-nav.navbar-secondary {
    display: none !important;
  }

  .it-header-wrapper .it-nav-wrapper .it-header-navbar-wrapper {
    margin-top: 0px;
    background: #0066cc;
  }
  .it-footer-main section {
    padding: 0 16px 16px;
  }

  .it-follow-wrapper {
    padding: 55px 0 0;
  }
}
