@media (max-width: 1170px) {
  .wrapper {
    padding: 0 1.5em;
  }

  .navbar-nav>li {
    margin-right: 2rem;
  }

  .single-wines .content-wine {
    float: none;
  }

  .nav-tabs>li>a {
    padding: 10px 10px;
    font-size: 90%;
  }

  /*.single-wines .content-wine .img-wine {
    margin-left: auto;
    margin-right: auto;
    float: none;
  }*/

  .welcome>.flex {
    width: 90%;
  }
}

@media (max-width: 992px) {
  header .logo {
    width: auto;
    padding: 0;
  }
    .logo img{
      width: 13rem;
    }

      .main-menu {
        padding: 0 2rem;
        z-index: 999;
      }
        .main-menu .flex {
          display: block;
          margin: 0;
        }
        .main-menu .logo {
          display: none;
        }
          .navbar-nav {
            width: 100%;
          }
            .navbar-nav>li {
              margin: 0;
            }
          .navbar-form {
            padding: 1.5rem;
          }
        .languages {
          padding: 1.5rem .5rem;
          font-size: 100%;
        }

  /*--Bootstrap hamburguer 992px--*/
  .navbar-toggle {
    cursor: pointer;
    padding-right: 1rem;
    padding-left: 1rem;
    margin-right: 0;
  }

  .main-menu {
    background: rgba(0,0,0,.9);
    box-shadow: none;
    border: none;
  }

  .nav-tabs>li>a {
    padding: 10px 4px;
    font-size: 80%;
  }

  .navbar-header {
      float: none;
  }
  .navbar-left,.navbar-right {
      float: none !important;
  }
  .navbar-toggle {
      display: block;
  }
  .navbar-collapse {
      border-top: 1px solid transparent;
      box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }
  .navbar-fixed-top {
      top: 0;
      border-width: 0 0 1px;
  }
  .navbar-collapse.collapse {
      display: none!important;
  }
  .navbar-nav {
      float: none!important;
      margin-top: 7.5px;
  }
  .navbar-nav>li {
      float: none;
  }
  .navbar-nav>li>a {
      padding-top: 10px;
      padding-bottom: 10px;
  }
  .collapse.in{
      display:block !important;
  }

  .container-fluid>.navbar-collapse,
  .container-fluid>.navbar-header,
  .container>.navbar-collapse,
  .container>.navbar-header {
    margin-left: -15px;
    margin-right: -15px;
    border: none;
    box-shadow: none;
  }

  .navbar-form {
    padding: 10px 15px;
    margin-top: 8px;
    margin-right: -15px;
    margin-bottom: 8px;
    margin-left: -15px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.1);
  }

  .navbar-form .input-group {
    width: 100%;
  }

  .navbar-form .input-group .form-control {
    width: 99%;
  }
  .navbar-form .input-group .input-group-addon,
  .navbar-form .input-group .input-group-btn {
    width: 1%;
  }

  .valleys-winery-tabs .item a {
    flex-direction: column;
  }
  .valleys-winery-tabs .item a::before {
    margin-right: 0;
    margin-bottom: 5px;
  }

  .descorcha{
    float: inherit;
    margin-right: inherit;
  }

}

@media (min-width: 768px) {
  .section-header {
    background-image: none !important;
  }
}


@media (max-width: 768px) {
  .wrapper {
    padding: 0 1.5em;
  }

  .section-home {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .page-title {
    height: 45rem;
  }

  .section-wines-sparklings {
    text-align: center;
  }

  .section-wines-sparklings .tabs::before {
    top: 45%;
  }

  .conosur-vineyards-carousel .item h3 {
    position: relative;
    background: transparent;
    padding-left: 2rem;
    padding-right: 2rem;
    color: #444;
  }

  .section-news .img-container {
    height: 160px;
  }

  .single-wines .content-wine .img-wine {
    margin-top: -40rem;
  }

  .single-wines .content-wine .awards img {
    margin-bottom: 3rem;
  }

  footer {
    padding: 4rem 0;
  }
    footer .logo img {
      margin: 0 auto;
    }

  /*.tabs.wrapper {
    padding: 0;
  }*/

  .wines .item .caption,
  .wines-catalogue-container .item .caption {
    width: 100%;
  }

  .wines .item {
    height: 55rem;
  }

  .page-news .filter ul {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .page-news .filter ul li {
    width: 46%;
    margin-bottom: 1rem;
  }

  .section-header {
    background-size: cover;
    background-position: center;
  }

  .section-header .wrapper {
    position: relative;
    z-index: 1;
  }

  .section-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,.5);
    z-index: 0;
  }

  .section-header .down {
    font-size: 80%;
  }

  .modal-dialog {
    width: auto;
    margin: 10px;
  }

}

@media (max-width: 767px) {
  .wines-catalogue {
    margin-top: 0;
  }

  .wines-catalogue .tabs.wrapper {
    padding: 0;
  }

  .tabs .nav-tabs.nav-tabs-responsive {
    display: block;
    background: #eee;
    padding: 2rem 0;
  }
  .nav-tabs-responsive > li {
    display: none;
    width: 23%;
  }
  .nav-tabs-responsive > li > a {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    word-wrap: normal;
    width: 100%;
    width: 100%;
    text-align: center;
    vertical-align: top;
  }
  .nav-tabs-responsive > li.active {
    width: 54%;
  }
  .nav-tabs-responsive > li.active:first-child {
    margin-left: 23%;
  }
  .nav-tabs-responsive > li.active,
  .nav-tabs-responsive > li.prev,
  .nav-tabs-responsive > li.next {
    display: block;
  }
  .nav-tabs-responsive > li.prev,
  .nav-tabs-responsive > li.next {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
  .nav-tabs-responsive > li.next > a,
  .nav-tabs-responsive > li.prev > a {
    -webkit-transition: none;
    transition: none;
  }
  .nav-tabs-responsive > li.next > a .text,
  .nav-tabs-responsive > li.prev > a .text {
    display: none;
  }
  .nav-tabs-responsive > li.next > a:after,
  .nav-tabs-responsive > li.next > a:after,
  .nav-tabs-responsive > li.prev > a:after,
  .nav-tabs-responsive > li.prev > a:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  .nav-tabs-responsive > li.prev > a:after {
    content: "\e079";
  }
  .nav-tabs-responsive > li.next > a:after {
    content: "\e080";
  }

  .nav-tabs-responsive>li.active>a,
  .nav-tabs-responsive>li.active>a:focus,
  .nav-tabs-responsive>li.active>a:hover {
    border: none;
    font-size: 100%;
    background: transparent;
  }
}



@media (max-width: 560px) {
  h1 {font-size: 2.75rem;}
  h2 {font-size: 2.25rem;}
  h3 {font-size: 1.75rem;}
  h4 {font-size: 1.5rem;}
  h5 {font-size: 1.25rem;}

  p {font-size: 1.25rem;}

  .page-title {
    height: 30rem;
  }

  .content {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .video-container,
  .conosur-winery .content .core-values img,
  .conosur-winery .content .innovative-varieties img {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .section-header .down {
    font-size: 80%;
  }

  .section-sustainbility .container-text {
    width: auto;
    padding: 0 1em;
  }

  .section-news .img-container {
    height: 280px;
  }

  .page-news .filter ul li {
    margin: 0 .25rem;
    font-size: 80%;
  }
  .page-news .filter ul li a {
    padding: .25rem 1rem;
  }

  footer {
    text-align: center;
  }
    footer .logo,
    footer .rrss,
    footer .subscribe,
    footer .contact{
      margin-bottom: 4rem;
    }


  .col-mobile {
    float: none !important;
    display: block !important;
    width: 100% !important;
  }

  .single-wines .content-wine .img-wine {
    margin-top: -8rem;
    float: none;
    margin-left: auto;
    margin-right: auto;
    height: 500px;
    margin-bottom: 5rem;
  }

  .single-wines .page-title {
    text-align: center;
  }

  .single-wines .content-wine .pull-right,
  .single-wines .content-wine .pull-left {
    float: none !important;
  }

  .single-wines .content-wine p {
    margin-top: 3rem;
    text-align: center;
  }

  .page-news .filter ul li {
    width: 100%;
    margin-bottom: 1rem;
  }

  /*--PAGE SEARCH--*/
  .results-list .item h3 {
    margin-top: 2rem;
  }

  .wines .item .caption, .wines-catalogue-container .item .caption {
    width: 90%;
  }

  .wines .owl-nav,
  .wines .owl-buttons {
    top: 38%;
  }

  .page-complaints iframe {
    height: 410px;
  }

  .estado-denuncia .modal-dialog {
    min-height: auto;
    height: 450px;
  }

  /*--Welcome--*/
  .welcome .logo-welcome {
    width: 60%;
    margin: 3rem auto;
  }
  .welcome h1 {
    font-size: 2.5rem;
  }

  .welcome h1,
  .welcome h2 {
    margin-top: 0;
  }

  .welcome>.flex {
    width: 100%;
  }

  .welcome .text {
    margin: 0;
    width: 100%;
  }

  .welcome .flex.languages-welcome {
    flex-direction: column;
  }

  .welcome .text h2 {
    font-size: 1.5em;
  }

  .welcome .logo {
    width: 50%;
    margin: 0 auto;
  }

  .welcome .text-es,
  .welcome .text-en {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
  }

  .welcome .text-es {
    border-bottom: 1px solid rgba(255,255,255,.3);
  }

  .welcome .text p {
    font-size: 1.5rem;
  }

  .gallery-title {
    position: relative;
    padding: 0;
    background: transparent;
    margin-bottom: 15px;
    color: #444;
    font-size: 16px;
  }

  footer .drink-wise img {
    margin: 30px auto;
  }

  footer .complaints .flex {
    justify-content: center;
  }

  footer .complaints .flex .link {
    margin: 0 5px;
  }

  footer .bottom {
    text-align: center;
  }

  .descorcha{
    display: flex;
    align-items: center;
    justify-content: center;
  }

  input.redirect_credentials, .redirect_response{
    width: 100%;
  }
}

@media (max-width: 320px) {
  .section-news .img-container {
    height: 175px;
  }

  .estado-denuncia .modal-dialog {
    min-height: auto;
    height: 480px;
  }
}
