@media only screen and (max-width: 1299px) {
  a.slick-prev {
    left: 20px
  }

  a.slick-next {
    right: 20px
  }
}

@media only screen and (max-width: 1199px) {
  input, textarea {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
  }

  input[type=checkbox] {
    -webkit-appearance: checkbox;
  }

  a:hover {
    text-decoration: none;
  }

  #header {
    min-width: 280px;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    margin-top: 0;
  }

  .head {
    height: auto;
  }

  div.top {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
  }

  .logo {
    margin-left: 15px;
  }

  .logo-content {
    width: 100%
  }

  div.main {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-width: 280px;
  }

  #header .menu>ul {
    margin-left: 10px
  }

  #header .menu-bar-content {
    width: 100%
  }

  .page, .page-newsletter {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding: 15px;
  }

  .page-newsletter {
    padding: 90px 15px !important;
  }

  .page-padding {
    padding: 90px 15px !important
  }

  ul.categorie-prodotti li {
    margin: 0 5px
  }

  .page-countries {
    padding: 90px 15px 0 15px !important;
  }

  .page.nosidebar {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
  }

  .page-prodotto img {
    width: 90%
  }

  #dsubscribers_email {
    float: none;
    clear: both;
    display: block;
  }

  table {
    width: 100%;
  }

  .img-content, .single-news img {
    width: 100%;
    height: auto;
  }

  .img-content-news {
    width: 100%;
    height: auto;
  }

  .img-content-news img {
    width: 100%;
    height: auto;
  }

  ul.grid-3 li img {
    width: 100%;
    height: auto;
  }

  #cookie, #privacy, #popup-info {
    width: 100% !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .fancybox-close-small {
    position: fixed !important;
  }

  #sidebar {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 25%;
    margin-top: 32px;
  }

  #sidebar img {
    display: block;
  }

  #sidebar h3 {
    margin-bottom: 0;
    padding-bottom: 8px;
  }

  #sidebar h4 {
    display: block;
    clear: both;
  }

  #footer {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    display: table;
    line-height: normal;
  }

  .footer-top-content {
    width: 100%;
  }

  .footer-content {
    width: 100%;
  }

  #footer a {
    color: #fff !important;
  }
}

@media only screen and (max-width: 1099px) {
  div.main {
    /* margin: 180px auto 0 auto */
  }

  #header .menu>ul>li {
    margin: 0 70px 0 0
  }

  .descrizione {
    position: relative;
    background: rgba(0, 116, 185, 1);
    right: inherit;
    bottom: inherit;
    width: 100%;
    padding: 20px 20px 50px 20px;
    box-sizing: border-box;
  }

  .slick-dots {
    bottom: 20px !important
  }

  #header .menu-bar {
    background: rgba(0, 116, 185, 1);
  }

  .left-home {
    width: 100%;
    float: none
  }

  .left-home h1 {
    text-align: center;
  }

  .right-home {
    width: 100%;
    float: none;
    padding: 15px 0;
    border-top: 3px solid #df2423;
    border-left: none
  }

  .right-home p {
    text-align: center !important;
  }

  .welcome {
    padding: 40px 15px !important;
  }

  .text-newsletter {
    float: none;
    margin-bottom: 40px
  }

  .form-newsletter {
    float: none;
    text-align: center;
  }

  .newsletter h2, .newsletter-info, #dsubscribers_msg {
    text-align: center !important;
  }

  .page-countries {
    padding: 20px 15px 0 15px !important;
  }

  .page-padding {
    padding: 15px !important
  }

  .wpcf7-form {
    width: 100%;
    text-align: center;
  }

  .contatti {
    margin-top: 120px !important
  }

  .campo {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    margin: 5px 0;
  }

  .campo-area {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    clear: both;
  }

  .wpcf7-text, .wpcf7-textarea {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
  }

  .wpcf7-textarea {
    margin: 5px 0
  }

  .wpcf7-submit {
    margin-left: 5px;
  }
}

@media only screen and (max-width: 999px) {
  #header .menu>ul>li {
    margin: 0 55px 0 0
  }

  ul.grid-3 {
    display: table;
    margin: 20px auto;
    text-align: center;
  }

  ul.grid-3 li {
    width: 70%;
    padding: 20px;
    display: inline-block;
  }

  ul.grid-prodotti li {
    width: 50%;
    padding: 20px
  }

  .titolo-news {
    bottom: -35px
  }
}

@media only screen and (max-width: 899px) {
  #header .menu>ul>li {
    margin: 0 40px 0 0
  }

  .page-countries img {
    width: 90%
  }
}

@media only screen and (max-width: 799px) {
  .hamburger {
    padding: 7px 6px;
    display: inline-block;
    cursor: pointer;
    -webkit-transition-property: background;
    -o-transition-property: background;
    transition-property: background;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
    font: inherit;
    color: inherit;
    text-transform: none;
    border: 0;
    margin: 0;
    overflow: visible;
    background: none;
    outline: 0;
  }

  .hamburger:hover {
    background-color: none;
  }

  .hamburger-box {
    width: 30px;
    height: 14px;
    display: inline-block;
    position: relative;
  }

  .hamburger-inner {
    display: block;
    top: 50%;
    margin-top: -1px;
  }

  .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 1px;
    position: absolute;
    -webkit-transition-property: -webkit-transform;
    transition-property: -webkit-transform;
    -o-transition-property: transform;
    transition-property: transform;
    transition-property: transform, -webkit-transform;
    -webkit-transition-duration: 0.15s;
    -o-transition-duration: 0.15s;
    transition-duration: 0.15s;
    -webkit-transition-timing-function: ease;
    -o-transition-timing-function: ease;
    transition-timing-function: ease;
  }

  .hamburger-inner::before, .hamburger-inner::after {
    content: "";
    display: block;
  }

  .hamburger-inner::before {
    top: -8px;
  }

  .hamburger-inner::after {
    bottom: -8px;
  }

  /*
	   * Squeeze
	   */
  .hamburger--squeeze .hamburger-inner {
    -webkit-transition-duration: 0.1s;
    -o-transition-duration: 0.1s;
    transition-duration: 0.1s;
    -webkit-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -o-transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  .hamburger--squeeze .hamburger-inner::before {
    -webkit-transition: top 0.1s 0.14s ease, opacity 0.1s ease;
    -o-transition: top 0.1s 0.14s ease, opacity 0.1s ease;
    transition: top 0.1s 0.14s ease, opacity 0.1s ease;
  }

  .hamburger--squeeze .hamburger-inner::after {
    -webkit-transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    -o-transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition: bottom 0.1s 0.14s ease, transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19), -webkit-transform 0.1s cubic-bezier(0.55, 0.055, 0.675, 0.19);
  }

  #header.open .hamburger--squeeze .hamburger-inner {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition-delay: 0.14s;
    -o-transition-delay: 0.14s;
    transition-delay: 0.14s;
    -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  #header.open .hamburger--squeeze .hamburger-inner::before {
    top: 0;
    opacity: 0;
    -webkit-transition: top 0.1s ease, opacity 0.1s 0.14s ease;
    -o-transition: top 0.1s ease, opacity 0.1s 0.14s ease;
    transition: top 0.1s ease, opacity 0.1s 0.14s ease;
  }

  #header.open .hamburger--squeeze .hamburger-inner::after {
    bottom: 0;
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
    -webkit-transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    -o-transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
    transition: bottom 0.1s ease, transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1), -webkit-transform 0.1s 0.14s cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  #header .menu-toggle {
    display: block;
    position: absolute;
    right: 10px;
    top: 0;
    line-height: 1;
  }

  .top-content {
    height: 60px;
    background: #fff;
  }

  .social-top {
    margin: 14px 5px
  }

  #header .menu-bar-content {
    height: 65px
  }

  #header {
    height: 60px;
    -webkit-box-shadow: 0 2px 5px 0 rgba(50, 50, 50, 0.2);
    box-shadow: 0 2px 5px 0 rgba(50, 50, 50, 0.2);
    z-index: 999;
    -webkit-transition: height .01s linear .6s, -webkit-box-shadow .5s ease .61s;
    -o-transition: height .01s linear .6s, box-shadow .5s ease .61s;
    transition: height .01s linear .6s, -webkit-box-shadow .5s ease .61s;
    transition: height .01s linear .6s, box-shadow .5s ease .61s;
    transition: height .01s linear .6s, box-shadow .5s ease .61s, -webkit-box-shadow .5s ease .61s;
  }

  #header.open {
    height: 100%;
    -webkit-transition: height .01s linear;
    -o-transition: height .01s linear;
    transition: height .01s linear;
    -webkit-box-shadow: 0 0 0 0 rgba(50, 50, 50, 0);
    box-shadow: 0 0 0 0 rgba(50, 50, 50, 0);
  }

  #header>.overlay {
    display: block;
    position: absolute;
    left: 0;
    top: 125px;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
    -webkit-transition: background .6s ease;
    -o-transition: background .6s ease;
    transition: background .6s ease;
  }

  #header.open>.overlay {
    background: rgba(0, 0, 0, .5);
    -webkit-transition: background .6s ease .01s;
    -o-transition: background .6s ease .01s;
    transition: background .6s ease .01s;
  }

  #header .menu-bar {
    position: static;
    background: none;
  }

  .descrizione h1, .descrizione h2 {
    text-align: center;
  }

  .logo-content {
    height: inherit;
  }

  .area-riservata {
    margin: 14px 10px 0 0;
}

  #header .logo {
    width: auto;
    margin: 5px 5px 5px 15px;
    height: 46px;
  }

  #header .logo img {
    height: 46px;
    width: auto;
  }

  .head {
    margin-top: 0;
  }

  #header .menu-bar-content {
    position: static;
    background: #0074b9;
  }

  #header .menu {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    overflow: visible;
    z-index: 2;
    line-height: 1.5;
    float: none;
    margin-right: 0;
  }

  #header .menu>.menu-toggle {
    display: inline-block;
    position: absolute;
    right: 20px;
    top: 78px;
    cursor: pointer;
  }

  #header .menu>.menu-items {
    position: absolute;
    width: 260px;
    right: -260px;
    top: 125px;
    bottom: 0;
    overflow: hidden;
    background: #fff;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: right .6s ease;
    -o-transition: right .6s ease;
    transition: right .6s ease;
  }

  #header.open .menu>.menu-items {
    right: 0;
    -webkit-transition: right .6s ease .01s;
    -o-transition: right .6s ease .01s;
    transition: right .6s ease .01s;
  }

  #header .menu>.menu-items>li {
    display: block;
    float: none;
    margin: 0;
    border-bottom: 1px solid #eee;
  }

  #header .menu>.menu-items>li:first-child {
    border-top: 0
  }

  #header .menu>.menu-items>li:last-child {
    border-bottom: 0
  }

  #header .menu>.menu-items>li>a {
    display: block;
    color: #0074b9;
    padding: 15px 20px;
    text-align: right;
    position: relative;
  }

  #header .menu>ul>li>a:hover, #header .menu>ul>li.current-menu-item>a, #header .menu>ul>li.current-menu-ancestor>a {
    background: none;
    color: #df2423
  }

  #header .menu>.menu-items>li.menu-item-has-children>a>.submenu-toggle {
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    color: #0074b9;
    height: 100%;
    width: 50px;
  }

  #header .menu>.menu-items>li.menu-item-has-children>a>.submenu-toggle>span {
    display: block;
    width: 24px;
    height: 24px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -12px 0 0 -12px;
    text-align: center;
    font-size: 20px;
    line-height: 24px;
    color: #0074b9;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
  }

  #header .menu>.menu-items>li.menu-item-has-children>a>.submenu-toggle:hover>span {
    background: #0074b9;
  }

  #header .menu>.menu-items>li.submenu-open>a>.submenu-toggle>span {
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  #header ul.sub-menu {
    position: relative;
    left: auto;
    top: auto;
    background: #222;
    display: block;
    overflow: hidden;
    margin: 0;
    padding: 0;
    color: #fff;
    width: auto;
    -webkit-transition: max-height 0.6s ease !important;
    -o-transition: max-height 0.6s ease !important;
    transition: max-height 0.6s ease !important;
    -webkit-transform: translateY(0) !important;
    -ms-transform: translateY(0) !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
    height: auto;
    max-height: 0;
  }

  #header ul.sub-menu:after, #header ul.sub-menu:before {
    display: none;
  }

  #header .submenu-open>ul.sub-menu {
    max-height: 200px;
    width: 100% !important;
    -webkit-transition: max-height 1s ease !important;
    -o-transition: max-height 1s ease !important;
    transition: max-height 1s ease !important;
  }

  #header .menu>ul>li.submenu-open>a {
    color: #0074b9;
  }

  #header .menu>ul>li.wpml-ls-item {
    float: left;
    border-bottom: none;
    margin: 0 0 0 15px
  }

  #header .menu>.menu-items>li.wpml-ls-item>a {
    padding: 15px 0
  }

  #header ul.sub-menu>li {
    float: none;
    width: auto;
    text-align: right;
    margin-right: 20px
  }

  #header ul.sub-menu>li>a {
    padding: 5px 10px;
    color: #fff
  }

  #header ul.sub-menu>li>a:hover {
    padding: 5px 10px;
    color: #0074b9
  }

  #header ul.sub-menu>li:first-child {
    padding-top: 0;
  }

  #header ul.sub-menu>li:last-child {
    padding-bottom: 0;
  }

  #googleMap {
    height: 300px;
  }

  div.main {
    margin-top: 124px;
  }

  .head {
    top: 0
  }

  .page-content {
    width: 100%;
  }

  .titolo-pagina {
    top: 20%;
  }

  .sottotitolo {
    font-size: 22px;
  }

  ul.grid-3 li {
    width: 80%;
  }

  ul.grid-4 li {
    width: 50%;
  }

  ul.grid-2 li {
    width: 100%
  }

  .half {
    width: 100%
  }

  .half img {
    margin: 10px auto;
    text-align: center;
    display: table;
  }

  #tabs li {
    width: 100% !important
  }

  #tabs li:first-child a {
    border-radius: 4px 4px 0 0 !important;
  }

  #tabs_container img {
    width: 90%;
    height: auto;
    margin: 0 auto;
    display: table;
    text-align: center;
  }

  #tabs li a {
    border-radius: 0 !important;
  }

  .info {
    width: 100%;
    margin: 20px auto;
    display: table;
    text-align: center;
  }

  .left {
    float: none !important;
    text-align: center !important;
  }

  .social {
    margin-top: 0;
    float: none
  }

  .loghi-footer {
    margin-top: 0;
    text-align: center;
  }

  #sidebar {
    width: 100%;
    float: none;
    padding-bottom: 20px;
    margin: 0;
    clear: both;
    text-align: center;
  }

  #sidebar>img {
    margin: 0 auto 10px auto;
  }

  #sidebar h3, #sidebar h4 {
    width: 100%;
    text-align: center;
    padding: 12px 0;
  }

  #sidebar>p {
    text-align: center;
  }

  #sidebar.contatti {
    width: 100%;
    text-align: center;
    margin-top: 0 !important;
  }

  #sidebar.contatti h4 {
    margin-bottom: 0;
  }

  .sub-footer {
    height: auto;
    line-height: 200%;
    padding: 20px;
    box-sizing: border-box;
  }
}

@media only screen and (max-width: 499px) {
  .logo-desk {
    display: none
  }

  .logo-resp {
    display: block;
    width: 55px !important
  }

  .page-riservata .erf-container {
    width: 100%
  }

  .single-news img {
    width: 99%;
  }

  ul.grid-3 li {
    width: 100%;
  }

  ul.grid-4 li {
    width: 100%;
  }

  input#dsubscribers_email {
    box-sizing: border-box;
    width: 300px;
    margin-right: 0
  }

  .bg {
    height: 240px
  }

  .sottotitolo {
    font-size: 18px;
  }

  .campo {
    width: 100%;
  }

  .info {
    width: 100% !important;
    float: none !important;
    text-align: center;
    margin-bottom: 20px;
  }

  .privacy {
    text-align: center;
  }
}

@media only screen and (max-width: 367px) {
.area-riservata span {
  font-size: 13px;
}
}

@media only screen and (max-width: 321px) {
  ul.grid-4 li, ul.grid-3 li {
    width: 100%;
  }
}
